diff --git a/shared/node_modules/prettier/plugins/markdown.mjs b/shared/node_modules/prettier/plugins/markdown.mjs new file mode 100644 index 0000000000000000000000000000000000000000..6f8ed5bac99f26087a2995dc9fde1710037bace1 --- /dev/null +++ b/shared/node_modules/prettier/plugins/markdown.mjs @@ -0,0 +1,62 @@ +var El=Object.create;var Ft=Object.defineProperty;var Cl=Object.getOwnPropertyDescriptor;var vl=Object.getOwnPropertyNames;var Al=Object.getPrototypeOf,bl=Object.prototype.hasOwnProperty;var x=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Vn=(e,r)=>{for(var t in r)Ft(e,t,{get:r[t],enumerable:!0})},xl=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of vl(r))!bl.call(e,i)&&i!==t&&Ft(e,i,{get:()=>r[i],enumerable:!(n=Cl(r,i))||n.enumerable});return e};var Re=(e,r,t)=>(t=e!=null?El(Al(e)):{},xl(r||!e||!e.__esModule?Ft(t,"default",{value:e,enumerable:!0}):t,e));var Tr=x((gF,jn)=>{"use strict";jn.exports=Bl;function Bl(e){return String(e).replace(/\s+/g," ")}});var Qi=x((KC,Ji)=>{"use strict";Ji.exports=Qf;var pr=9,Wr=10,Ve=32,Hf=33,Kf=58,je=91,Xf=92,St=93,hr=94,Vr=96,jr=4,Jf=1024;function Qf(e){var r=this.Parser,t=this.Compiler;Zf(r)&&rD(r,e),eD(t)&&tD(t)}function Zf(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function eD(e){return!!(e&&e.prototype&&e.prototype.visitors)}function rD(e,r){for(var t=r||{},n=e.prototype,i=n.blockTokenizers,u=n.inlineTokenizers,a=n.blockMethods,o=n.inlineMethods,s=i.definition,l=u.reference,c=[],f=-1,D=a.length,m;++fjr&&(Z=void 0,ve=B);else{if(Z0&&(G=Ae[T-1],G.contentStart===G.contentEnd);)T--;for(le=b(d.slice(0,G.contentEnd));++B{Rt.isRemarkParser=iD;Rt.isRemarkCompiler=uD;function iD(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function uD(e){return!!(e&&e.prototype&&e.prototype.visitors)}});var uu=x((JC,iu)=>{var Zi=Mt();iu.exports=cD;var eu=9,ru=32,$r=36,aD=48,oD=57,tu=92,sD=["math","math-inline"],nu="math-display";function cD(e){let r=this.Parser,t=this.Compiler;Zi.isRemarkParser(r)&&lD(r,e),Zi.isRemarkCompiler(t)&&fD(t,e)}function lD(e,r){let t=e.prototype,n=t.inlineMethods;u.locator=i,t.inlineTokenizers.math=u,n.splice(n.indexOf("text"),0,"math");function i(a,o){return a.indexOf("$",o)}function u(a,o,s){let l=o.length,c=!1,f=!1,D=0,m,p,h,F,g,E,v;if(o.charCodeAt(D)===tu&&(f=!0,D++),o.charCodeAt(D)===$r){if(D++,f)return s?!0:a(o.slice(0,D))({type:"text",value:"$"});if(o.charCodeAt(D)===$r&&(c=!0,D++),h=o.charCodeAt(D),!(h===ru||h===eu)){for(F=D;DoD)&&(!c||h===$r)){g=D-1,D++,c&&D++,E=D;break}}else p===tu&&(D++,h=o.charCodeAt(D+1));D++}if(E!==void 0)return s?!0:(v=o.slice(F,g+1),a(o.slice(0,E))({type:"inlineMath",value:v,data:{hName:"span",hProperties:{className:sD.concat(c&&r.inlineMathDouble?[nu]:[])},hChildren:[{type:"text",value:v}]}}))}}}}function fD(e){let r=e.prototype;r.visitors.inlineMath=t;function t(n){let i="$";return(n.data&&n.data.hProperties&&n.data.hProperties.className||[]).includes(nu)&&(i="$$"),i+n.value+i}}});var lu=x((QC,cu)=>{var au=Mt();cu.exports=dD;var ou=10,dr=32,Ut=36,su=` +`,DD="$",pD=2,hD=["math","math-display"];function dD(){let e=this.Parser,r=this.Compiler;au.isRemarkParser(e)&&mD(e),au.isRemarkCompiler(r)&&FD(r)}function mD(e){let r=e.prototype,t=r.blockMethods,n=r.interruptParagraph,i=r.interruptList,u=r.interruptBlockquote;r.blockTokenizers.math=a,t.splice(t.indexOf("fencedCode")+1,0,"math"),n.splice(n.indexOf("fencedCode")+1,0,["math"]),i.splice(i.indexOf("fencedCode")+1,0,["math"]),u.splice(u.indexOf("fencedCode")+1,0,["math"]);function a(o,s,l){var c=s.length,f=0;let D,m,p,h,F,g,E,v,A,b,d;for(;fb&&s.charCodeAt(h-1)===dr;)h--;for(;h>b&&s.charCodeAt(h-1)===Ut;)A++,h--;for(g<=A&&s.indexOf(DD,b)===h&&(v=!0,d=h);b<=d&&b-fb&&s.charCodeAt(d-1)===dr;)d--;if((!v||b!==d)&&m.push(s.slice(b,d)),v)break;f=p+1,p=s.indexOf(su,f+1),p=p===-1?c:p}return m=m.join(` +`),o(s.slice(0,p))({type:"math",value:m,data:{hName:"div",hProperties:{className:hD.concat()},hChildren:[{type:"text",value:m}]}})}}}}function FD(e){let r=e.prototype;r.visitors.math=t;function t(n){return`$$ +`+n.value+` +$$`}}});var Du=x((ZC,fu)=>{var gD=uu(),ED=lu();fu.exports=CD;function CD(e){var r=e||{};ED.call(this,r),gD.call(this,r)}});var Ie=x((ev,pu)=>{pu.exports=AD;var vD=Object.prototype.hasOwnProperty;function AD(){for(var e={},r=0;r{typeof Object.create=="function"?Yt.exports=function(r,t){t&&(r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:Yt.exports=function(r,t){if(t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r}}});var Fu=x((tv,mu)=>{"use strict";var bD=Ie(),du=hu();mu.exports=xD;function xD(e){var r,t,n;du(u,e),du(i,u),r=u.prototype;for(t in r)n=r[t],n&&typeof n=="object"&&(r[t]="concat"in n?n.concat():bD(n));return u;function i(a){return e.apply(this,a)}function u(){return this instanceof u?e.apply(this,arguments):new i(arguments)}}});var Eu=x((nv,gu)=>{"use strict";gu.exports=yD;function yD(e,r,t){return n;function n(){var i=t||this,u=i[e];return i[e]=!r,a;function a(){i[e]=u}}}});var vu=x((iv,Cu)=>{"use strict";Cu.exports=wD;function wD(e){for(var r=String(e),t=[],n=/\r?\n|\r/g;n.exec(r);)t.push(n.lastIndex);return t.push(r.length+1),{toPoint:i,toPosition:i,toOffset:u};function i(a){var o=-1;if(a>-1&&aa)return{line:o+1,column:a-(t[o-1]||0)+1,offset:a}}return{}}function u(a){var o=a&&a.line,s=a&&a.column,l;return!isNaN(o)&&!isNaN(s)&&o-1 in t&&(l=(t[o-2]||0)+s-1||0),l>-1&&l{"use strict";Au.exports=kD;var Gt="\\";function kD(e,r){return t;function t(n){for(var i=0,u=n.indexOf(Gt),a=e[r],o=[],s;u!==-1;)o.push(n.slice(i,u)),i=u+1,s=n.charAt(i),(!s||a.indexOf(s)===-1)&&o.push(Gt),u=n.indexOf(Gt,i+1);return o.push(n.slice(i)),o.join("")}}});var xu=x((av,TD)=>{TD.exports={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Acirc:"\xC2",Agrave:"\xC0",Aring:"\xC5",Atilde:"\xC3",Auml:"\xC4",COPY:"\xA9",Ccedil:"\xC7",ETH:"\xD0",Eacute:"\xC9",Ecirc:"\xCA",Egrave:"\xC8",Euml:"\xCB",GT:">",Iacute:"\xCD",Icirc:"\xCE",Igrave:"\xCC",Iuml:"\xCF",LT:"<",Ntilde:"\xD1",Oacute:"\xD3",Ocirc:"\xD4",Ograve:"\xD2",Oslash:"\xD8",Otilde:"\xD5",Ouml:"\xD6",QUOT:'"',REG:"\xAE",THORN:"\xDE",Uacute:"\xDA",Ucirc:"\xDB",Ugrave:"\xD9",Uuml:"\xDC",Yacute:"\xDD",aacute:"\xE1",acirc:"\xE2",acute:"\xB4",aelig:"\xE6",agrave:"\xE0",amp:"&",aring:"\xE5",atilde:"\xE3",auml:"\xE4",brvbar:"\xA6",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",ecirc:"\xEA",egrave:"\xE8",eth:"\xF0",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",iacute:"\xED",icirc:"\xEE",iexcl:"\xA1",igrave:"\xEC",iquest:"\xBF",iuml:"\xEF",laquo:"\xAB",lt:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",oacute:"\xF3",ocirc:"\xF4",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",otilde:"\xF5",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',raquo:"\xBB",reg:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",times:"\xD7",uacute:"\xFA",ucirc:"\xFB",ugrave:"\xF9",uml:"\xA8",uuml:"\xFC",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}});var yu=x((ov,BD)=>{BD.exports={"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}});var Se=x((sv,wu)=>{"use strict";wu.exports=_D;function _D(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=48&&r<=57}});var Tu=x((cv,ku)=>{"use strict";ku.exports=OD;function OD(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}});var $e=x((lv,Bu)=>{"use strict";Bu.exports=qD;function qD(e){var r=typeof e=="string"?e.charCodeAt(0):e;return r>=97&&r<=122||r>=65&&r<=90}});var Ou=x((fv,_u)=>{"use strict";var ND=$e(),PD=Se();_u.exports=ID;function ID(e){return ND(e)||PD(e)}});var qu=x((Dv,SD)=>{SD.exports={AEli:"\xC6",AElig:"\xC6",AM:"&",AMP:"&",Aacut:"\xC1",Aacute:"\xC1",Abreve:"\u0102",Acir:"\xC2",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrav:"\xC0",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Arin:"\xC5",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atild:"\xC3",Atilde:"\xC3",Aum:"\xC4",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COP:"\xA9",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedi:"\xC7",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ET:"\xD0",ETH:"\xD0",Eacut:"\xC9",Eacute:"\xC9",Ecaron:"\u011A",Ecir:"\xCA",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrav:"\xC8",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Eum:"\xCB",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xCD",Iacute:"\xCD",Icir:"\xCE",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xCC",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xCF",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntild:"\xD1",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacut:"\xD3",Oacute:"\xD3",Ocir:"\xD4",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograv:"\xD2",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslas:"\xD8",Oslash:"\xD8",Otild:"\xD5",Otilde:"\xD5",Otimes:"\u2A37",Oum:"\xD6",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUO:'"',QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",RE:"\xAE",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THOR:"\xDE",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacut:"\xDA",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucir:"\xDB",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrav:"\xD9",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uum:"\xDC",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacut:"\xDD",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacut:"\xE1",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acir:"\xE2",acirc:"\xE2",acut:"\xB4",acute:"\xB4",acy:"\u0430",aeli:"\xE6",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrav:"\xE0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",am:"&",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",arin:"\xE5",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atild:"\xE3",atilde:"\xE3",aum:"\xE4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvba:"\xA6",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedi:"\xE7",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedi:"\xB8",cedil:"\xB8",cemptyv:"\u29B2",cen:"\xA2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",cop:"\xA9",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curre:"\xA4",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",de:"\xB0",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divid:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacut:"\xE9",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\xEA",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrav:"\xE8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",et:"\xF0",eth:"\xF0",eum:"\xEB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac1:"\xBC",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac3:"\xBE",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",g:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xED",iacute:"\xED",ic:"\u2063",icir:"\xEE",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexc:"\xA1",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrav:"\xEC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iques:"\xBF",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xEF",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laqu:"\xAB",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",mac:"\xAF",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micr:"\xB5",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middo:"\xB7",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbs:"\xA0",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",no:"\xAC",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntild:"\xF1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacut:"\xF3",oacute:"\xF3",oast:"\u229B",ocir:"\xF4",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograv:"\xF2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\xBA",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslas:"\xF8",oslash:"\xF8",osol:"\u2298",otild:"\xF5",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",oum:"\xF6",ouml:"\xF6",ovbar:"\u233D",par:"\xB6",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusm:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",poun:"\xA3",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quo:'"',quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raqu:"\xBB",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",re:"\xAE",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xA7",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xAD",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szli:"\xDF",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thor:"\xFE",thorn:"\xFE",tilde:"\u02DC",time:"\xD7",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacut:"\xFA",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucir:"\xFB",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrav:"\xF9",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",um:"\xA8",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uum:"\xFC",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacut:"\xFD",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",ye:"\xA5",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yum:"\xFF",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}});var Iu=x((pv,Pu)=>{"use strict";var Nu=qu();Pu.exports=RD;var LD={}.hasOwnProperty;function RD(e){return LD.call(Nu,e)?Nu[e]:!1}});var mr=x((hv,Hu)=>{"use strict";var Su=xu(),Lu=yu(),MD=Se(),UD=Tu(),Yu=Ou(),YD=Iu();Hu.exports=ep;var GD={}.hasOwnProperty,He=String.fromCharCode,zD=Function.prototype,Ru={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},WD=9,Mu=10,VD=12,jD=32,Uu=38,$D=59,HD=60,KD=61,XD=35,JD=88,QD=120,ZD=65533,Ke="named",Wt="hexadecimal",Vt="decimal",jt={};jt[Wt]=16;jt[Vt]=10;var Hr={};Hr[Ke]=Yu;Hr[Vt]=MD;Hr[Wt]=UD;var Gu=1,zu=2,Wu=3,Vu=4,ju=5,zt=6,$u=7,we={};we[Gu]="Named character references must be terminated by a semicolon";we[zu]="Numeric character references must be terminated by a semicolon";we[Wu]="Named character references cannot be empty";we[Vu]="Numeric character references cannot be empty";we[ju]="Named character references must be known";we[zt]="Numeric character references cannot be disallowed";we[$u]="Numeric character references cannot be outside the permissible Unicode range";function ep(e,r){var t={},n,i;r||(r={});for(i in Ru)n=r[i],t[i]=n??Ru[i];return(t.position.indent||t.position.start)&&(t.indent=t.position.indent||[],t.position=t.position.start),rp(e,t)}function rp(e,r){var t=r.additional,n=r.nonTerminated,i=r.text,u=r.reference,a=r.warning,o=r.textContext,s=r.referenceContext,l=r.warningContext,c=r.position,f=r.indent||[],D=e.length,m=0,p=-1,h=c.column||1,F=c.line||1,g="",E=[],v,A,b,d,y,w,C,k,T,B,_,S,P,N,O,I,le,K,L;for(typeof t=="string"&&(t=t.charCodeAt(0)),I=ie(),k=a?Z:zD,m--,D++;++m65535&&(w-=65536,B+=He(w>>>10|55296),w=56320|w&1023),w=B+He(w))):N!==Ke&&k(Vu,K)),w?(ve(),I=ie(),m=L-1,h+=L-P+1,E.push(w),le=ie(),le.offset++,u&&u.call(s,w,{start:I,end:le},e.slice(P-1,L)),I=le):(d=e.slice(P-1,L),g+=d,h+=d.length,m=L-1)}else y===10&&(F++,p++,h=0),y===y?(g+=He(y),h++):ve();return E.join("");function ie(){return{line:F,column:h,offset:m+(c.offset||0)}}function Z(Ae,G){var mt=ie();mt.column+=G,mt.offset+=G,a.call(l,we[Ae],mt,Ae)}function ve(){g&&(E.push(g),i&&i.call(o,g,{start:I,end:ie()}),g="")}}function tp(e){return e>=55296&&e<=57343||e>1114111}function np(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}});var Ju=x((dv,Xu)=>{"use strict";var ip=Ie(),Ku=mr();Xu.exports=up;function up(e){return t.raw=n,t;function r(u){for(var a=e.offset,o=u.line,s=[];++o&&o in a;)s.push((a[o]||0)+1);return{start:u,indent:s}}function t(u,a,o){Ku(u,{position:r(a),warning:i,text:o,reference:o,textContext:e,referenceContext:e})}function n(u,a,o){return Ku(u,ip(o,{position:r(a),warning:i}))}function i(u,a,o){o!==3&&e.file.message(u,a)}}});var ea=x((mv,Zu)=>{"use strict";Zu.exports=ap;function ap(e){return r;function r(t,n){var i=this,u=i.offset,a=[],o=i[e+"Methods"],s=i[e+"Tokenizers"],l=n.line,c=n.column,f,D,m,p,h,F;if(!t)return a;for(w.now=v,w.file=i.file,g("");t;){for(f=-1,D=o.length,h=!1;++f{"use strict";ta.exports=Kr;var $t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Ht=$t.concat(["~","|"]),ra=Ht.concat([` +`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Kr.default=$t;Kr.gfm=Ht;Kr.commonmark=ra;function Kr(e){var r=e||{};return r.commonmark?ra:r.gfm?Ht:$t}});var ua=x((gv,ia)=>{"use strict";ia.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var Kt=x((Ev,aa)=>{"use strict";aa.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:ua()}});var sa=x((Cv,oa)=>{"use strict";var cp=Ie(),lp=na(),fp=Kt();oa.exports=Dp;function Dp(e){var r=this,t=r.options,n,i;if(e==null)e={};else if(typeof e=="object")e=cp(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(n in fp){if(i=e[n],i==null&&(i=t[n]),n!=="blocks"&&typeof i!="boolean"||n==="blocks"&&typeof i!="object")throw new Error("Invalid value `"+i+"` for setting `options."+n+"`");e[n]=i}return r.options=e,r.escape=lp(e),r}});var fa=x((vv,la)=>{"use strict";la.exports=ca;function ca(e){if(e==null)return mp;if(typeof e=="string")return dp(e);if(typeof e=="object")return"length"in e?hp(e):pp(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function pp(e){return r;function r(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function hp(e){for(var r=[],t=-1;++t{Da.exports=Fp;function Fp(e){return e}});var Fa=x((bv,ma)=>{"use strict";ma.exports=Xr;var gp=fa(),Ep=pa(),ha=!0,da="skip",Xt=!1;Xr.CONTINUE=ha;Xr.SKIP=da;Xr.EXIT=Xt;function Xr(e,r,t,n){var i,u;typeof r=="function"&&typeof t!="function"&&(n=t,t=r,r=null),u=gp(r),i=n?-1:1,a(e,null,[])();function a(o,s,l){var c=typeof o=="object"&&o!==null?o:{},f;return typeof c.type=="string"&&(f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,D.displayName="node ("+Ep(c.type+(f?"<"+f+">":""))+")"),D;function D(){var m=l.concat(o),p=[],h,F;if((!r||u(o,s,l[l.length-1]||null))&&(p=Cp(t(o,l)),p[0]===Xt))return p;if(o.children&&p[0]!==da)for(F=(n?o.children.length:-1)+i;F>-1&&F{"use strict";ga.exports=Qr;var Jr=Fa(),vp=Jr.CONTINUE,Ap=Jr.SKIP,bp=Jr.EXIT;Qr.CONTINUE=vp;Qr.SKIP=Ap;Qr.EXIT=bp;function Qr(e,r,t,n){typeof r=="function"&&typeof t!="function"&&(n=t,t=r,r=null),Jr(e,r,i,n);function i(u,a){var o=a[a.length-1],s=o?o.children.indexOf(u):null;return t(u,s,o)}}});var va=x((yv,Ca)=>{"use strict";var xp=Ea();Ca.exports=yp;function yp(e,r){return xp(e,r?wp:kp),e}function wp(e){delete e.position}function kp(e){e.position=void 0}});var xa=x((wv,ba)=>{"use strict";var Aa=Ie(),Tp=va();ba.exports=Op;var Bp=` +`,_p=/\r\n|\r/g;function Op(){var e=this,r=String(e.file),t={line:1,column:1,offset:0},n=Aa(t),i;return r=r.replace(_p,Bp),r.charCodeAt(0)===65279&&(r=r.slice(1),n.column++,n.offset++),i={type:"root",children:e.tokenizeBlock(r,n),position:{start:t,end:e.eof||Aa(t)}},e.options.position||Tp(i,!0),i}});var wa=x((kv,ya)=>{"use strict";var qp=/^[ \t]*(\n|$)/;ya.exports=Np;function Np(e,r,t){for(var n,i="",u=0,a=r.length;u{"use strict";var ge="",Jt;ka.exports=Pp;function Pp(e,r){if(typeof e!="string")throw new TypeError("expected a string");if(r===1)return e;if(r===2)return e+e;var t=e.length*r;if(Jt!==e||typeof Jt>"u")Jt=e,ge="";else if(ge.length>=t)return ge.substr(0,t);for(;t>ge.length&&r>1;)r&1&&(ge+=e),r>>=1,e+=e;return ge+=e,ge=ge.substr(0,t),ge}});var Qt=x((Bv,Ta)=>{"use strict";Ta.exports=Ip;function Ip(e){return String(e).replace(/\n+$/,"")}});var Oa=x((_v,_a)=>{"use strict";var Sp=Zr(),Lp=Qt();_a.exports=Up;var Zt=` +`,Ba=" ",en=" ",Rp=4,Mp=Sp(en,Rp);function Up(e,r,t){for(var n=-1,i=r.length,u="",a="",o="",s="",l,c,f;++n{"use strict";Na.exports=Wp;var et=` +`,Fr=" ",Xe=" ",Yp="~",qa="`",Gp=3,zp=4;function Wp(e,r,t){var n=this,i=n.options.gfm,u=r.length+1,a=0,o="",s,l,c,f,D,m,p,h,F,g,E,v,A;if(i){for(;a=zp)){for(p="";a{Je=Ia.exports=Vp;function Vp(e){return e.trim?e.trim():Je.right(Je.left(e))}Je.left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")};Je.right=function(e){if(e.trimRight)return e.trimRight();for(var r=/\s/,t=e.length;r.test(e.charAt(--t)););return e.slice(0,t+1)}});var rt=x((qv,Sa)=>{"use strict";Sa.exports=jp;function jp(e,r,t,n){for(var i=e.length,u=-1,a,o;++u{"use strict";var $p=Le(),Hp=rt();Ma.exports=Kp;var rn=` +`,La=" ",tn=" ",Ra=">";function Kp(e,r,t){for(var n=this,i=n.offset,u=n.blockTokenizers,a=n.interruptBlockquote,o=e.now(),s=o.line,l=r.length,c=[],f=[],D=[],m,p=0,h,F,g,E,v,A,b,d;p{"use strict";Ga.exports=Jp;var Ya=` +`,gr=" ",Er=" ",Cr="#",Xp=6;function Jp(e,r,t){for(var n=this,i=n.options.pedantic,u=r.length+1,a=-1,o=e.now(),s="",l="",c,f,D;++aXp)&&!(!D||!i&&r.charAt(a+1)===Cr)){for(u=r.length+1,f="";++a{"use strict";Va.exports=ih;var Qp=" ",Zp=` +`,Wa=" ",eh="*",rh="-",th="_",nh=3;function ih(e,r,t){for(var n=-1,i=r.length+1,u="",a,o,s,l;++n=nh&&(!a||a===Zp)?(u+=l,t?!0:e(u)({type:"thematicBreak"})):void 0}});var nn=x((Sv,Ha)=>{"use strict";Ha.exports=sh;var $a=" ",uh=" ",ah=1,oh=4;function sh(e){for(var r=0,t=0,n=e.charAt(r),i={},u,a=0;n===$a||n===uh;){for(u=n===$a?oh:ah,t+=u,u>1&&(t=Math.floor(t/u)*u);a{"use strict";var ch=Le(),lh=Zr(),fh=nn();Xa.exports=hh;var Ka=` +`,Dh=" ",ph="!";function hh(e,r){var t=e.split(Ka),n=t.length+1,i=1/0,u=[],a,o,s;for(t.unshift(lh(Dh,r)+ph);n--;)if(o=fh(t[n]),u[n]=o.stops,ch(t[n]).length!==0)if(o.indent)o.indent>0&&o.indent{"use strict";var dh=Le(),mh=Zr(),Qa=Se(),Fh=nn(),gh=Ja(),Eh=rt();to.exports=kh;var un="*",Ch="_",Za="+",an="-",eo=".",Ee=" ",oe=` +`,tt=" ",ro=")",vh="x",ke=4,Ah=/\n\n(?!\s*$)/,bh=/^\[([ X\tx])][ \t]/,xh=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,yh=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,wh=/^( {1,4}|\t)?/gm;function kh(e,r,t){for(var n=this,i=n.options.commonmark,u=n.options.pedantic,a=n.blockTokenizers,o=n.interruptList,s=0,l=r.length,c=null,f,D,m,p,h,F,g,E,v,A,b,d,y,w,C,k,T,B,_,S=!1,P,N,O,I;s=T.indent&&(I=!0),p=r.charAt(s),v=null,!I){if(p===un||p===Za||p===an)v=p,s++,f++;else{for(D="";s=T.indent||f>ke),E=!1,s=g;if(b=r.slice(g,F),A=g===s?b:r.slice(s,F),(v===un||v===Ch||v===an)&&a.thematicBreak.call(n,e,b,!0))break;if(d=y,y=!E&&!dh(A).length,I&&T)T.value=T.value.concat(k,b),C=C.concat(k,b),k=[];else if(E)k.length!==0&&(S=!0,T.value.push(""),T.trail=k.concat()),T={value:[b],indent:f,trail:[]},w.push(T),C=C.concat(k,b),k=[];else if(y){if(d&&!i)break;k.push(b)}else{if(d||Eh(o,a,n,[e,b,!0]))break;T.value=T.value.concat(k,b),C=C.concat(k,b),k=[]}s=F+1}for(P=e(C.join(oe)).reset({type:"list",ordered:m,start:c,spread:S,children:[]}),B=n.enterList(),_=n.enterBlock(),s=-1,l=w.length;++s{"use strict";ao.exports=Sh;var on=` +`,Oh=" ",io=" ",uo="=",qh="-",Nh=3,Ph=1,Ih=2;function Sh(e,r,t){for(var n=this,i=e.now(),u=r.length,a=-1,o="",s,l,c,f,D;++a=Nh){a--;break}o+=c}for(s="",l="";++a{"use strict";var Lh="[a-zA-Z_:][a-zA-Z0-9:._-]*",Rh="[^\"'=<>`\\u0000-\\u0020]+",Mh="'[^']*'",Uh='"[^"]*"',Yh="(?:"+Rh+"|"+Mh+"|"+Uh+")",Gh="(?:\\s+"+Lh+"(?:\\s*=\\s*"+Yh+")?)",so="<[A-Za-z][A-Za-z0-9\\-]*"+Gh+"*\\s*\\/?>",co="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",zh="|",Wh="<[?].*?[?]>",Vh="]*>",jh="";sn.openCloseTag=new RegExp("^(?:"+so+"|"+co+")");sn.tag=new RegExp("^(?:"+so+"|"+co+"|"+zh+"|"+Wh+"|"+Vh+"|"+jh+")")});var po=x((Yv,Do)=>{"use strict";var $h=cn().openCloseTag;Do.exports=sd;var Hh=" ",Kh=" ",lo=` +`,Xh="<",Jh=/^<(script|pre|style)(?=(\s|>|$))/i,Qh=/<\/(script|pre|style)>/i,Zh=/^/,rd=/^<\?/,td=/\?>/,nd=/^/,ud=/^/,fo=/^$/,od=new RegExp($h.source+"\\s*$");function sd(e,r,t){for(var n=this,i=n.options.blocks.join("|"),u=new RegExp("^|$))","i"),a=r.length,o=0,s,l,c,f,D,m,p,h=[[Jh,Qh,!0],[Zh,ed,!0],[rd,td,!0],[nd,id,!0],[ud,ad,!0],[u,fo,!0],[od,fo,!1]];o{"use strict";ho.exports=fd;var cd=String.fromCharCode,ld=/\s/;function fd(e){return ld.test(typeof e=="number"?cd(e):e.charAt(0))}});var ln=x((zv,mo)=>{"use strict";var Dd=Tr();mo.exports=pd;function pd(e){return Dd(e).toLowerCase()}});var bo=x((Wv,Ao)=>{"use strict";var hd=se(),dd=ln();Ao.exports=Ed;var Fo='"',go="'",md="\\",Qe=` +`,nt=" ",it=" ",Dn="[",vr="]",Fd="(",gd=")",Eo=":",Co="<",vo=">";function Ed(e,r,t){for(var n=this,i=n.options.commonmark,u=0,a=r.length,o="",s,l,c,f,D,m,p,h;u{"use strict";var vd=se();yo.exports=Od;var Ad=" ",ut=` +`,bd=" ",xd="-",yd=":",wd="\\",pn="|",kd=1,Td=2,xo="left",Bd="center",_d="right";function Od(e,r,t){var n=this,i,u,a,o,s,l,c,f,D,m,p,h,F,g,E,v,A,b,d,y,w,C;if(n.options.gfm){for(i=0,v=0,l=r.length+1,c=[];iy){if(v1&&(D?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),g=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(h,g)},s)),e(f+D),f="",h=""):(f&&(h+=f,f=""),h+=D,D===wd&&i!==l-2&&(h+=A.charAt(i+1),i++)),F=!1,i++}E||e(ut+u)}return d}}}});var Bo=x((jv,To)=>{"use strict";var qd=Le(),Nd=Qt(),Pd=rt();To.exports=Ld;var Id=" ",Ar=` +`,Sd=" ",ko=4;function Ld(e,r,t){for(var n=this,i=n.options,u=i.commonmark,a=n.blockTokenizers,o=n.interruptParagraph,s=r.indexOf(Ar),l=r.length,c,f,D,m,p;s=ko&&D!==Ar){s=r.indexOf(Ar,s+1);continue}}if(f=r.slice(s+1),Pd(o,a,n,[e,f,!0]))break;if(c=s,s=r.indexOf(Ar,s+1),s!==-1&&qd(r.slice(c,s))===""){s=c;break}}return f=r.slice(0,s),t?!0:(p=e.now(),f=Nd(f),e(f)({type:"paragraph",children:n.tokenizeInline(f,p)}))}});var Oo=x(($v,_o)=>{"use strict";_o.exports=Rd;function Rd(e,r){return e.indexOf("\\",r)}});var Io=x((Hv,Po)=>{"use strict";var Md=Oo();Po.exports=No;No.locator=Md;var Ud=` +`,qo="\\";function No(e,r,t){var n=this,i,u;if(r.charAt(0)===qo&&(i=r.charAt(1),n.escape.indexOf(i)!==-1))return t?!0:(i===Ud?u={type:"break"}:u={type:"text",value:i},e(qo+i)(u))}});var hn=x((Kv,So)=>{"use strict";So.exports=Yd;function Yd(e,r){return e.indexOf("<",r)}});var Yo=x((Xv,Uo)=>{"use strict";var Lo=se(),Gd=mr(),zd=hn();Uo.exports=gn;gn.locator=zd;gn.notInLink=!0;var Ro="<",dn=">",Mo="@",mn="/",Fn="mailto:",at=Fn.length;function gn(e,r,t){var n=this,i="",u=r.length,a=0,o="",s=!1,l="",c,f,D,m,p;if(r.charAt(0)===Ro){for(a++,i=Ro;a{"use strict";Go.exports=Wd;function Wd(e,r){var t=String(e),n=0,i;if(typeof r!="string")throw new Error("Expected character");for(i=t.indexOf(r);i!==-1;)n++,i=t.indexOf(r,i+r.length);return n}});var jo=x((Qv,Vo)=>{"use strict";Vo.exports=Vd;var Wo=["www.","http://","https://"];function Vd(e,r){var t=-1,n,i,u;if(!this.options.gfm)return t;for(i=Wo.length,n=-1;++n{"use strict";var $o=zo(),jd=mr(),$d=Se(),En=$e(),Hd=se(),Kd=jo();Xo.exports=vn;vn.locator=Kd;vn.notInLink=!0;var Xd=33,Jd=38,Qd=41,Zd=42,e0=44,r0=45,Cn=46,t0=58,n0=59,i0=63,u0=60,Ho=95,a0=126,o0="(",Ko=")";function vn(e,r,t){var n=this,i=n.options.gfm,u=n.inlineTokenizers,a=r.length,o=-1,s=!1,l,c,f,D,m,p,h,F,g,E,v,A,b,d;if(i){if(r.slice(0,4)==="www.")s=!0,D=4;else if(r.slice(0,7).toLowerCase()==="http://")D=7;else if(r.slice(0,8).toLowerCase()==="https://")D=8;else return;for(o=D-1,f=D,l=[];Dg;)D=m+p.lastIndexOf(Ko),p=r.slice(m,D),E--;if(r.charCodeAt(D-1)===n0&&(D--,En(r.charCodeAt(D-1)))){for(F=D-2;En(r.charCodeAt(F));)F--;r.charCodeAt(F)===Jd&&(D=F)}return v=r.slice(0,D),b=jd(v,{nonTerminated:!1}),s&&(b="http://"+b),d=n.enterLink(),n.inlineTokenizers={text:u.text},A=n.tokenizeInline(v,e.now()),n.inlineTokenizers=u,d(),e(v)({type:"link",title:null,url:b,children:A})}}}});var rs=x((e2,es)=>{"use strict";var s0=Se(),c0=$e(),l0=43,f0=45,D0=46,p0=95;es.exports=Zo;function Zo(e,r){var t=this,n,i;if(!this.options.gfm||(n=e.indexOf("@",r),n===-1))return-1;if(i=n,i===r||!Qo(e.charCodeAt(i-1)))return Zo.call(t,e,n+1);for(;i>r&&Qo(e.charCodeAt(i-1));)i--;return i}function Qo(e){return s0(e)||c0(e)||e===l0||e===f0||e===D0||e===p0}});var us=x((r2,is)=>{"use strict";var h0=mr(),ts=Se(),ns=$e(),d0=rs();is.exports=xn;xn.locator=d0;xn.notInLink=!0;var m0=43,An=45,ot=46,F0=64,bn=95;function xn(e,r,t){var n=this,i=n.options.gfm,u=n.inlineTokenizers,a=0,o=r.length,s=-1,l,c,f,D;if(i){for(l=r.charCodeAt(a);ts(l)||ns(l)||l===m0||l===An||l===ot||l===bn;)l=r.charCodeAt(++a);if(a!==0&&l===F0){for(a++;a{"use strict";var g0=$e(),E0=hn(),C0=cn().tag;os.exports=as;as.locator=E0;var v0="<",A0="?",b0="!",x0="/",y0=/^/i;function as(e,r,t){var n=this,i=r.length,u,a;if(!(r.charAt(0)!==v0||i<3)&&(u=r.charAt(1),!(!g0(u)&&u!==A0&&u!==b0&&u!==x0)&&(a=r.match(C0),!!a)))return t?!0:(a=a[0],!n.inLink&&y0.test(a)?n.inLink=!0:n.inLink&&w0.test(a)&&(n.inLink=!1),e(a)({type:"html",value:a}))}});var yn=x((n2,cs)=>{"use strict";cs.exports=k0;function k0(e,r){var t=e.indexOf("[",r),n=e.indexOf("![",r);return n===-1||t{"use strict";var br=se(),T0=yn();ds.exports=hs;hs.locator=T0;var B0=` +`,_0="!",ls='"',fs="'",Ze="(",xr=")",wn="<",kn=">",Ds="[",yr="\\",O0="]",ps="`";function hs(e,r,t){var n=this,i="",u=0,a=r.charAt(0),o=n.options.pedantic,s=n.options.commonmark,l=n.options.gfm,c,f,D,m,p,h,F,g,E,v,A,b,d,y,w,C,k,T;if(a===_0&&(g=!0,i=a,a=r.charAt(++u)),a===Ds&&!(!g&&n.inLink)){for(i+=a,y="",u++,A=r.length,C=e.now(),d=0,C.column+=u,C.offset+=u;u=D&&(D=0):D=f}else if(a===yr)u++,h+=r.charAt(u);else if((!D||l)&&a===Ds)d++;else if((!D||l)&&a===O0)if(d)d--;else{if(r.charAt(u+1)!==Ze)return;h+=Ze,c=!0,u++;break}y+=h,h="",u++}if(c){for(E=y,i+=y+h,u++;u{"use strict";var q0=se(),N0=yn(),P0=ln();gs.exports=Fs;Fs.locator=N0;var Tn="link",I0="image",S0="shortcut",L0="collapsed",Bn="full",R0="!",st="[",ct="\\",lt="]";function Fs(e,r,t){var n=this,i=n.options.commonmark,u=r.charAt(0),a=0,o=r.length,s="",l="",c=Tn,f=S0,D,m,p,h,F,g,E,v;if(u===R0&&(c=I0,l=u,u=r.charAt(++a)),u===st){for(a++,l+=u,g="",v=0;a{"use strict";Cs.exports=M0;function M0(e,r){var t=e.indexOf("**",r),n=e.indexOf("__",r);return n===-1?t:t===-1||n{"use strict";var U0=Le(),As=se(),Y0=vs();xs.exports=bs;bs.locator=Y0;var G0="\\",z0="*",W0="_";function bs(e,r,t){var n=this,i=0,u=r.charAt(i),a,o,s,l,c,f,D;if(!(u!==z0&&u!==W0||r.charAt(++i)!==u)&&(o=n.options.pedantic,s=u,c=s+s,f=r.length,i++,l="",u="",!(o&&As(r.charAt(i)))))for(;i{"use strict";ws.exports=$0;var V0=String.fromCharCode,j0=/\w/;function $0(e){return j0.test(typeof e=="number"?V0(e):e.charAt(0))}});var Bs=x((c2,Ts)=>{"use strict";Ts.exports=H0;function H0(e,r){var t=e.indexOf("*",r),n=e.indexOf("_",r);return n===-1?t:t===-1||n{"use strict";var K0=Le(),X0=ks(),_s=se(),J0=Bs();Ns.exports=qs;qs.locator=J0;var Q0="*",Os="_",Z0="\\";function qs(e,r,t){var n=this,i=0,u=r.charAt(i),a,o,s,l,c,f,D;if(!(u!==Q0&&u!==Os)&&(o=n.options.pedantic,c=u,s=u,f=r.length,i++,l="",u="",!(o&&_s(r.charAt(i)))))for(;i{"use strict";Is.exports=em;function em(e,r){return e.indexOf("~~",r)}});var Ys=x((D2,Us)=>{"use strict";var Ls=se(),rm=Ss();Us.exports=Ms;Ms.locator=rm;var ft="~",Rs="~~";function Ms(e,r,t){var n=this,i="",u="",a="",o="",s,l,c;if(!(!n.options.gfm||r.charAt(0)!==ft||r.charAt(1)!==ft||Ls(r.charAt(2))))for(s=1,l=r.length,c=e.now(),c.column+=2,c.offset+=2;++s{"use strict";Gs.exports=tm;function tm(e,r){return e.indexOf("`",r)}});var js=x((h2,Vs)=>{"use strict";var nm=zs();Vs.exports=Ws;Ws.locator=nm;var _n=10,On=32,qn=96;function Ws(e,r,t){for(var n=r.length,i=0,u,a,o,s,l,c;i2&&(s===On||s===_n)&&(l===On||l===_n)){for(i++,n--;i{"use strict";$s.exports=im;function im(e,r){for(var t=e.indexOf(` +`,r);t>r&&e.charAt(t-1)===" ";)t--;return t}});var Js=x((m2,Xs)=>{"use strict";var um=Hs();Xs.exports=Ks;Ks.locator=um;var am=" ",om=` +`,sm=2;function Ks(e,r,t){for(var n=r.length,i=-1,u="",a;++i{"use strict";Qs.exports=cm;function cm(e,r,t){var n=this,i,u,a,o,s,l,c,f,D,m;if(t)return!0;for(i=n.inlineMethods,o=i.length,u=n.inlineTokenizers,a=-1,D=r.length;++a{"use strict";var lm=Ie(),Dt=Eu(),fm=vu(),Dm=bu(),pm=Ju(),Nn=ea();tc.exports=ec;function ec(e,r){this.file=r,this.offset={},this.options=lm(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=fm(r).toOffset,this.unescape=Dm(this,"escape"),this.decode=pm(this)}var Y=ec.prototype;Y.setOptions=sa();Y.parse=xa();Y.options=Kt();Y.exitStart=Dt("atStart",!0);Y.enterList=Dt("inList",!1);Y.enterLink=Dt("inLink",!1);Y.enterBlock=Dt("inBlock",!1);Y.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]];Y.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]];Y.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]];Y.blockTokenizers={blankLine:wa(),indentedCode:Oa(),fencedCode:Pa(),blockquote:Ua(),atxHeading:za(),thematicBreak:ja(),list:no(),setextHeading:oo(),html:po(),definition:bo(),table:wo(),paragraph:Bo()};Y.inlineTokenizers={escape:Io(),autoLink:Yo(),url:Jo(),email:us(),html:ss(),link:ms(),reference:Es(),strong:ys(),emphasis:Ps(),deletion:Ys(),code:js(),break:Js(),text:Zs()};Y.blockMethods=rc(Y.blockTokenizers);Y.inlineMethods=rc(Y.inlineTokenizers);Y.tokenizeBlock=Nn("block");Y.tokenizeInline=Nn("inline");Y.tokenizeFactory=Nn;function rc(e){var r=[],t;for(t in e)r.push(t);return r}});var oc=x((E2,ac)=>{"use strict";var hm=Fu(),dm=Ie(),ic=nc();ac.exports=uc;uc.Parser=ic;function uc(e){var r=this.data("settings"),t=hm(ic);t.prototype.options=dm(t.prototype.options,r,e),this.Parser=t}});var cc=x((C2,sc)=>{"use strict";sc.exports=mm;function mm(e){if(e)throw e}});var Pn=x((v2,lc)=>{lc.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Ec=x((A2,gc)=>{"use strict";var pt=Object.prototype.hasOwnProperty,Fc=Object.prototype.toString,fc=Object.defineProperty,Dc=Object.getOwnPropertyDescriptor,pc=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Fc.call(r)==="[object Array]"},hc=function(r){if(!r||Fc.call(r)!=="[object Object]")return!1;var t=pt.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&pt.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!t&&!n)return!1;var i;for(i in r);return typeof i>"u"||pt.call(r,i)},dc=function(r,t){fc&&t.name==="__proto__"?fc(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},mc=function(r,t){if(t==="__proto__")if(pt.call(r,t)){if(Dc)return Dc(r,t).value}else return;return r[t]};gc.exports=function e(){var r,t,n,i,u,a,o=arguments[0],s=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},s=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});s{"use strict";Cc.exports=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}});var bc=x((x2,Ac)=>{"use strict";var Fm=[].slice;Ac.exports=gm;function gm(e,r){var t;return n;function n(){var a=Fm.call(arguments,0),o=e.length>a.length,s;o&&a.push(i);try{s=e.apply(null,a)}catch(l){if(o&&t)throw l;return i(l)}o||(s&&typeof s.then=="function"?s.then(u,i):s instanceof Error?i(s):u(s))}function i(){t||(t=!0,r.apply(null,arguments))}function u(a){i(null,a)}}});var Tc=x((y2,kc)=>{"use strict";var yc=bc();kc.exports=wc;wc.wrap=yc;var xc=[].slice;function wc(){var e=[],r={};return r.run=t,r.use=n,r;function t(){var i=-1,u=xc.call(arguments,0,-1),a=arguments[arguments.length-1];if(typeof a!="function")throw new Error("Expected function as last argument, not "+a);o.apply(null,[null].concat(u));function o(s){var l=e[++i],c=xc.call(arguments,0),f=c.slice(1),D=u.length,m=-1;if(s){a(s);return}for(;++m{"use strict";var er={}.hasOwnProperty;Oc.exports=Em;function Em(e){return!e||typeof e!="object"?"":er.call(e,"position")||er.call(e,"type")?Bc(e.position):er.call(e,"start")||er.call(e,"end")?Bc(e):er.call(e,"line")||er.call(e,"column")?In(e):""}function In(e){return(!e||typeof e!="object")&&(e={}),_c(e.line)+":"+_c(e.column)}function Bc(e){return(!e||typeof e!="object")&&(e={}),In(e.start)+"-"+In(e.end)}function _c(e){return e&&typeof e=="number"?e:1}});var Ic=x((k2,Pc)=>{"use strict";var Cm=qc();Pc.exports=Sn;function Nc(){}Nc.prototype=Error.prototype;Sn.prototype=new Nc;var Te=Sn.prototype;Te.file="";Te.name="";Te.reason="";Te.message="";Te.stack="";Te.fatal=null;Te.column=null;Te.line=null;function Sn(e,r,t){var n,i,u;typeof r=="string"&&(t=r,r=null),n=vm(t),i=Cm(r)||"1:1",u={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(u=r,r=r.start):u.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=u,this.source=n[0],this.ruleId=n[1]}function vm(e){var r=[null,null],t;return typeof e=="string"&&(t=e.indexOf(":"),t===-1?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}});var Sc=x(rr=>{"use strict";rr.basename=Am;rr.dirname=bm;rr.extname=xm;rr.join=ym;rr.sep="/";function Am(e,r){var t=0,n=-1,i,u,a,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(wr(e),i=e.length,r===void 0||!r.length||r.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){t=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(t,n)}if(r===e)return"";for(u=-1,o=r.length-1;i--;)if(e.charCodeAt(i)===47){if(a){t=i+1;break}}else u<0&&(a=!0,u=i+1),o>-1&&(e.charCodeAt(i)===r.charCodeAt(o--)?o<0&&(n=i):(o=-1,n=u));return t===n?n=u:n<0&&(n=e.length),e.slice(t,n)}function bm(e){var r,t,n;if(wr(e),!e.length)return".";for(r=-1,n=e.length;--n;)if(e.charCodeAt(n)===47){if(t){r=n;break}}else t||(t=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function xm(e){var r=-1,t=0,n=-1,i=0,u,a,o;for(wr(e),o=e.length;o--;){if(a=e.charCodeAt(o),a===47){if(u){t=o+1;break}continue}n<0&&(u=!0,n=o+1),a===46?r<0?r=o:i!==1&&(i=1):r>-1&&(i=-1)}return r<0||n<0||i===0||i===1&&r===n-1&&r===t+1?"":e.slice(r,n)}function ym(){for(var e=-1,r;++e2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",n=0):(t=t.slice(0,s),n=t.length-1-t.lastIndexOf("/")),i=a,u=0;continue}}else if(t.length){t="",n=0,i=a,u=0;continue}}r&&(t=t.length?t+"/..":"..",n=2)}else t.length?t+="/"+e.slice(i+1,a):t=e.slice(i+1,a),n=a-i-1;i=a,u=0}else o===46&&u>-1?u++:u=-1}return t}function wr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}});var Rc=x(Lc=>{"use strict";Lc.cwd=Tm;function Tm(){return"/"}});var Yc=x((_2,Uc)=>{"use strict";var ce=Sc(),Bm=Rc(),_m=Pn();Uc.exports=Ce;var Om={}.hasOwnProperty,Ln=["history","path","basename","stem","extname","dirname"];Ce.prototype.toString=Gm;Object.defineProperty(Ce.prototype,"path",{get:qm,set:Nm});Object.defineProperty(Ce.prototype,"dirname",{get:Pm,set:Im});Object.defineProperty(Ce.prototype,"basename",{get:Sm,set:Lm});Object.defineProperty(Ce.prototype,"extname",{get:Rm,set:Mm});Object.defineProperty(Ce.prototype,"stem",{get:Um,set:Ym});function Ce(e){var r,t;if(!e)e={};else if(typeof e=="string"||_m(e))e={contents:e};else if("message"in e&&"messages"in e)return e;if(!(this instanceof Ce))return new Ce(e);for(this.data={},this.messages=[],this.history=[],this.cwd=Bm.cwd(),t=-1;++t-1)throw new Error("`extname` cannot contain multiple dots")}this.path=ce.join(this.dirname,this.stem+(e||""))}function Um(){return typeof this.path=="string"?ce.basename(this.path,this.extname):void 0}function Ym(e){Mn(e,"stem"),Rn(e,"stem"),this.path=ce.join(this.dirname||"",e+(this.extname||""))}function Gm(e){return(this.contents||"").toString(e)}function Rn(e,r){if(e&&e.indexOf(ce.sep)>-1)throw new Error("`"+r+"` cannot be a path: did not expect `"+ce.sep+"`")}function Mn(e,r){if(!e)throw new Error("`"+r+"` cannot be empty")}function Mc(e,r){if(!e)throw new Error("Setting `"+r+"` requires `path` to be set too")}});var zc=x((O2,Gc)=>{"use strict";var zm=Ic(),ht=Yc();Gc.exports=ht;ht.prototype.message=Wm;ht.prototype.info=jm;ht.prototype.fail=Vm;function Wm(e,r,t){var n=new zm(e,r,t);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}function Vm(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function jm(){var e=this.message.apply(this,arguments);return e.fatal=null,e}});var Vc=x((q2,Wc)=>{"use strict";Wc.exports=zc()});var el=x((N2,Zc)=>{"use strict";var jc=cc(),$m=Pn(),dt=Ec(),$c=vc(),Jc=Tc(),kr=Vc();Zc.exports=Qc().freeze();var Hm=[].slice,Km={}.hasOwnProperty,Xm=Jc().use(Jm).use(Qm).use(Zm);function Jm(e,r){r.tree=e.parse(r.file)}function Qm(e,r,t){e.run(r.tree,r.file,n);function n(i,u,a){i?t(i):(r.tree=u,r.file=a,t())}}function Zm(e,r){var t=e.stringify(r.tree,r.file);t==null||(typeof t=="string"||$m(t)?("value"in r.file&&(r.file.value=t),r.file.contents=t):r.file.result=t)}function Qc(){var e=[],r=Jc(),t={},n=-1,i;return u.data=o,u.freeze=a,u.attachers=e,u.use=s,u.parse=c,u.stringify=m,u.run=f,u.runSync=D,u.process=p,u.processSync=h,u;function u(){for(var F=Qc(),g=-1;++gKi,options:()=>Xi,parsers:()=>Wn,printers:()=>fF});var Me=(e,r)=>(t,n,...i)=>t|1&&n==null?void 0:(r.call(n)??n[e]).apply(n,i);function yl(e){return this[e<0?this.length+e:e]}var wl=Me("at",function(){if(Array.isArray(this)||typeof this=="string")return yl}),U=wl;var kl=String.prototype.replaceAll??function(e,r){return e.global?this.replace(e,r):this.split(e).join(r)},Tl=Me("replaceAll",function(){if(typeof this=="string")return kl}),R=Tl;var $i=Re(Tr(),1);function fe(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _l=()=>{},tr=_l;var V="string",j="array",be="cursor",ee="indent",re="align",De="trim",X="group",J="fill",Q="if-break",pe="indent-if-break",he="line-suffix",de="line-suffix-boundary",$="line",me="label",te="break-parent",Br=new Set([be,ee,re,De,X,J,Q,pe,he,de,$,me,te]);function Ol(e){if(typeof e=="string")return V;if(Array.isArray(e))return j;if(!e)return;let{type:r}=e;if(Br.has(r))return r}var W=Ol;var ql=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Nl(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', +Expected it to be 'string' or 'object'.`;if(W(e))throw new Error("doc is valid.");let t=Object.prototype.toString.call(e);if(t!=="[object Object]")return`Unexpected doc '${t}'.`;let n=ql([...Br].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var gt=class extends Error{name="InvalidDocError";constructor(r){super(Nl(r)),this.doc=r}},Be=gt;var $n={};function Pl(e,r,t,n){let i=[e];for(;i.length>0;){let u=i.pop();if(u===$n){t(i.pop());continue}t&&i.push(u,$n);let a=W(u);if(!a)throw new Be(u);if(r?.(u)!==!1)switch(a){case j:case J:{let o=a===j?u:u.parts;for(let s=o.length,l=s-1;l>=0;--l)i.push(o[l]);break}case Q:i.push(u.flatContents,u.breakContents);break;case X:if(n&&u.expandedStates)for(let o=u.expandedStates.length,s=o-1;s>=0;--s)i.push(u.expandedStates[s]);else i.push(u.contents);break;case re:case ee:case pe:case me:case he:i.push(u.contents);break;case V:case be:case De:case de:case $:case te:break;default:throw new Be(u)}}}var Hn=Pl;function Il(e,r){if(typeof e=="string")return r(e);let t=new Map;return n(e);function n(u){if(t.has(u))return t.get(u);let a=i(u);return t.set(u,a),a}function i(u){switch(W(u)){case j:return r(u.map(n));case J:return r({...u,parts:u.parts.map(n)});case Q:return r({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case X:{let{expandedStates:a,contents:o}=u;return a?(a=a.map(n),o=a[0]):o=n(o),r({...u,contents:o,expandedStates:a})}case re:case ee:case pe:case me:case he:return r({...u,contents:n(u.contents)});case V:case be:case De:case de:case $:case te:return r(u);default:throw new Be(u)}}}function Kn(e){if(e.length>0){let r=U(0,e,-1);!r.expandedStates&&!r.break&&(r.break="propagated")}return null}function Xn(e){let r=new Set,t=[];function n(u){if(u.type===te&&Kn(t),u.type===X){if(t.push(u),r.has(u))return!1;r.add(u)}}function i(u){u.type===X&&t.pop().break&&Kn(t)}Hn(e,n,i,!0)}function xe(e,r=nr){return Il(e,t=>typeof t=="string"?_r(r,t.split(` +`)):t)}var ne=tr,Or=tr,Jn=tr,Qn=tr;function ir(e){return ne(e),{type:ee,contents:e}}function Fe(e,r){return Qn(e),ne(r),{type:re,contents:r,n:e}}function ur(e){return Fe({type:"root"},e)}var Ue={type:te};function Ye(e){return Jn(e),{type:J,parts:e}}function Ge(e,r={}){return ne(e),Or(r.expandedStates,!0),{type:X,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function Zn(e,r="",t={}){return ne(e),r!==""&&ne(r),{type:Q,breakContents:e,flatContents:r,groupId:t.groupId}}function _r(e,r){ne(e),Or(r);let t=[];for(let n=0;n/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Et(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Ct(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var ti="\xA9\xAE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23F1\u23F2\u23F8\u23F9\u23FA\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600\u2601\u2602\u2603\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694\u2695\u2696\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F1\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05\u2B06\u2B07";var zl=/[^\x20-\x7F]/u,Wl=new Set(ti);function Vl(e){if(!e)return 0;if(!zl.test(e))return e.length;e=e.replace(ri(),t=>Wl.has(t)?" ":" ");let r=0;for(let t of e){let n=t.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(r+=Et(n)||Ct(n)?2:1)}return r}var or=Vl;var jl={type:0},$l={type:1},vt={value:"",length:0,queue:[],get root(){return vt}};function ni(e,r,t){let n=r.type===1?e.queue.slice(0,-1):[...e.queue,r],i="",u=0,a=0,o=0;for(let p of n)switch(p.type){case 0:c(),t.useTabs?s(1):l(t.tabWidth);break;case 3:{let{string:h}=p;c(),i+=h,u+=h.length;break}case 2:{let{width:h}=p;a+=1,o+=h;break}default:throw new Error(`Unexpected indent comment '${p.type}'.`)}return D(),{...e,value:i,length:u,queue:n};function s(p){i+=" ".repeat(p),u+=t.tabWidth*p}function l(p){i+=" ".repeat(p),u+=p}function c(){t.useTabs?f():D()}function f(){a>0&&s(a),m()}function D(){o>0&&l(o),m()}function m(){a=0,o=0}}function ii(e,r,t){if(!r)return e;if(r.type==="root")return{...e,root:e};if(r===Number.NEGATIVE_INFINITY)return e.root;let n;return typeof r=="number"?r<0?n=$l:n={type:2,width:r}:n={type:3,string:r},ni(e,n,t)}function ui(e,r){return ni(e,jl,r)}function Hl(e){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];if(n===" "||n===" ")r++;else break}return r}function At(e){let r=Hl(e);return{text:r===0?e:e.slice(0,e.length-r),count:r}}var H=Symbol("MODE_BREAK"),ue=Symbol("MODE_FLAT"),bt=Symbol("DOC_FILL_PRINTED_LENGTH");function Pr(e,r,t,n,i,u){if(t===Number.POSITIVE_INFINITY)return!0;let a=r.length,o=!1,s=[e],l="";for(;t>=0;){if(s.length===0){if(a===0)return!0;s.push(r[--a]);continue}let{mode:c,doc:f}=s.pop(),D=W(f);switch(D){case V:f&&(o&&(l+=" ",t-=1,o=!1),l+=f,t-=or(f));break;case j:case J:{let m=D===j?f:f.parts,p=f[bt]??0;for(let h=m.length-1;h>=p;h--)s.push({mode:c,doc:m[h]});break}case ee:case re:case pe:case me:s.push({mode:c,doc:f.contents});break;case De:{let{text:m,count:p}=At(l);l=m,t+=p;break}case X:{if(u&&f.break)return!1;let m=f.break?H:c,p=f.expandedStates&&m===H?U(0,f.expandedStates,-1):f.contents;s.push({mode:m,doc:p});break}case Q:{let p=(f.groupId?i[f.groupId]||ue:c)===H?f.breakContents:f.flatContents;p&&s.push({mode:c,doc:p});break}case $:if(c===H||f.hard)return!0;f.soft||(o=!0);break;case he:n=!0;break;case de:if(n)return!1;break}}return!1}function ai(e,r){let t=Object.create(null),n=r.printWidth,i=ei(r.endOfLine),u=0,a=[{indent:vt,mode:H,doc:e}],o="",s=!1,l=[],c=[],f=[],D=[],m=0;for(Xn(e);a.length>0;){let{indent:E,mode:v,doc:A}=a.pop();switch(W(A)){case V:{let b=i!==` +`?R(0,A,` +`,i):A;b&&(o+=b,a.length>0&&(u+=or(b)));break}case j:for(let b=A.length-1;b>=0;b--)a.push({indent:E,mode:v,doc:A[b]});break;case be:if(c.length>=2)throw new Error("There are too many 'cursor' in doc.");c.push(m+o.length);break;case ee:a.push({indent:ui(E,r),mode:v,doc:A.contents});break;case re:a.push({indent:ii(E,A.n,r),mode:v,doc:A.contents});break;case De:g();break;case X:switch(v){case ue:if(!s){a.push({indent:E,mode:A.break?H:ue,doc:A.contents});break}case H:{s=!1;let b={indent:E,mode:ue,doc:A.contents},d=n-u,y=l.length>0;if(!A.break&&Pr(b,a,d,y,t))a.push(b);else if(A.expandedStates){let w=U(0,A.expandedStates,-1);if(A.break){a.push({indent:E,mode:H,doc:w});break}else for(let C=1;C=A.expandedStates.length){a.push({indent:E,mode:H,doc:w});break}else{let k=A.expandedStates[C],T={indent:E,mode:ue,doc:k};if(Pr(T,a,d,y,t)){a.push(T);break}}}else a.push({indent:E,mode:H,doc:A.contents});break}}A.id&&(t[A.id]=U(0,a,-1).mode);break;case J:{let b=n-u,d=A[bt]??0,{parts:y}=A,w=y.length-d;if(w===0)break;let C=y[d+0],k=y[d+1],T={indent:E,mode:ue,doc:C},B={indent:E,mode:H,doc:C},_=Pr(T,[],b,l.length>0,t,!0);if(w===1){_?a.push(T):a.push(B);break}let S={indent:E,mode:ue,doc:k},P={indent:E,mode:H,doc:k};if(w===2){_?a.push(S,T):a.push(P,B);break}let N=y[d+2],O={indent:E,mode:v,doc:{...A,[bt]:d+2}},le=Pr({indent:E,mode:ue,doc:[C,k,N]},[],b,l.length>0,t,!0);a.push(O),le?a.push(S,T):_?a.push(P,T):a.push(P,B);break}case Q:case pe:{let b=A.groupId?t[A.groupId]:v;if(b===H){let d=A.type===Q?A.breakContents:A.negate?A.contents:ir(A.contents);d&&a.push({indent:E,mode:v,doc:d})}if(b===ue){let d=A.type===Q?A.flatContents:A.negate?ir(A.contents):A.contents;d&&a.push({indent:E,mode:v,doc:d})}break}case he:l.push({indent:E,mode:v,doc:A.contents});break;case de:l.length>0&&a.push({indent:E,mode:v,doc:ar});break;case $:switch(v){case ue:if(A.hard)s=!0;else{A.soft||(o+=" ",u+=1);break}case H:if(l.length>0){a.push({indent:E,mode:v,doc:A},...l.reverse()),l.length=0;break}A.literal?(o+=i,u=0,E.root&&(E.root.value&&(o+=E.root.value),u=E.root.length)):(g(),o+=i+E.value,u=E.length);break}break;case me:a.push({indent:E,mode:v,doc:A.contents});break;case te:break;default:throw new Be(A)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let p=f.join("")+o,h=[...D,...c];if(h.length!==2)return{formatted:p};let F=h[0];return{formatted:p,cursorNodeStart:F,cursorNodeText:p.slice(F,U(0,h,-1))};function g(){let{text:E,count:v}=At(o);E&&(f.push(E),m+=E.length),o="",u-=v,c.length>0&&(D.push(...c.map(A=>Math.min(A,m))),c.length=0)}}function Kl(e,r){let t=e.matchAll(new RegExp(`(?:${fe(r)})+`,"gu"));return t.reduce||(t=[...t]),t.reduce((n,[i])=>Math.max(n,i.length),0)/r.length}var Ir=Kl;function Xl(e,r){let t=e.match(new RegExp(`(${fe(r)})+`,"gu"));if(t===null)return 1;let n=new Map,i=0;for(let u of t){let a=u.length/r.length;n.set(a,!0),a>i&&(i=a)}for(let u=1;ua?n:t).character}var li=Zl;var xt=class extends Error{name="UnexpectedNodeError";constructor(r,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(r[n])}.`),this.node=r}},fi=xt;var bi=Re(Tr(),1);var ef=Array.prototype.toReversed??function(){return[...this].reverse()},rf=Me("toReversed",function(){if(Array.isArray(this))return ef}),Di=rf;function tf(){let e=globalThis,r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??e.process?.platform?.startsWith("win")??!1}var nf=tf();function pi(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function uf(e){return e=pi(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function af(e){e=pi(e);let r=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(r=`\\\\${e.hostname}${r}`),r}function yt(e){return nf?af(e):uf(e)}var hi=e=>String(e).split(/[/\\]/u).pop(),di=e=>String(e).startsWith("file:");function mi(e,r){if(!r)return;let t=hi(r).toLowerCase();return e.find(({filenames:n})=>n?.some(i=>i.toLowerCase()===t))??e.find(({extensions:n})=>n?.some(i=>t.endsWith(i)))}function of(e,r){if(r)return e.find(({name:t})=>t.toLowerCase()===r)??e.find(({aliases:t})=>t?.includes(r))??e.find(({extensions:t})=>t?.includes(`.${r}`))}var sf=void 0;function Fi(e,r){if(r){if(di(r))try{r=yt(r)}catch{return}if(typeof r=="string")return e.find(({isSupported:t})=>t?.({filepath:r}))}}function cf(e,r){let t=Di(0,e.plugins).flatMap(i=>i.languages??[]);return(of(t,r.language)??mi(t,r.physicalFile)??mi(t,r.file)??Fi(t,r.physicalFile)??Fi(t,r.file)??sf?.(t,r.physicalFile))?.parsers[0]}var wt=cf;var Sr=Symbol.for("PRETTIER_IS_FRONT_MATTER");function lf(e){return!!e?.[Sr]}var kt=lf;var sr=3;function ff(e){let r=e.slice(0,sr);if(r!=="---"&&r!=="+++")return;let t=e.indexOf(` +`,sr);if(t===-1)return;let n=e.slice(sr,t).trim(),i=e.indexOf(` +${r}`,t),u=n;if(u||(u=r==="+++"?"toml":"yaml"),i===-1&&r==="---"&&u==="yaml"&&(i=e.indexOf(` +...`,t)),i===-1)return;let a=i+1+sr,o=e.charAt(a+1);if(!/\s?/u.test(o))return;let s=e.slice(0,a),l;return{language:u,explicitLanguage:n||null,value:e.slice(t+1,i),startDelimiter:r,endDelimiter:s.slice(-sr),raw:s,start:{line:1,column:0,index:0},end:{index:s.length,get line(){return l??(l=s.split(` +`)),l.length},get column(){return l??(l=s.split(` +`)),U(0,l,-1).length}},[Sr]:!0}}function Df(e){let r=ff(e);return r?{frontMatter:r,get content(){let{raw:t}=r;return R(0,t,/[^\n]/gu," ")+e.slice(t.length)}}:{content:e}}var _e=Df;var gi="format";var Ei=/|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|/mu,Ci=/|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|/mu;var Lr=e=>_e(e).content.trimStart().match(Ci)?.index===0,vi=e=>_e(e).content.trimStart().match(Ei)?.index===0,Ai=e=>{let{frontMatter:r}=_e(e),t=``;return r?`${r.raw} + +${t} + +${e.slice(r.end.index)}`:`${t} + +${e}`};var pf=new Set(["position","raw"]);function xi(e,r,t){if((e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete r.value,e.type==="list"&&delete r.isAligned,(e.type==="list"||e.type==="listItem")&&delete r.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(r.value=R(0,e.value,` +`," ")),e.type==="wikiLink"&&(r.value=R(0,e.value.trim(),/[\t\n]+/gu," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(r.label=(0,bi.default)(e.label)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")r.url=R(0,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(r.title=R(0,e.title,/\\(?=["')])/gu,"")),t?.type==="root"&&t.children.length>0&&(t.children[0]===e||kt(t.children[0])&&t.children[1]===e)&&e.type==="html"&&Lr(e.value))return null}xi.ignoredProperties=pf;var yi=xi;var wi=/(?:[\u{2c7}\u{2c9}-\u{2cb}\u{2d9}\u{2ea}-\u{2eb}\u{305}\u{323}\u{1100}-\u{11ff}\u{2e80}-\u{2e99}\u{2e9b}-\u{2ef3}\u{2f00}-\u{2fd5}\u{2ff0}-\u{303f}\u{3041}-\u{3096}\u{3099}-\u{30ff}\u{3105}-\u{312f}\u{3131}-\u{318e}\u{3190}-\u{4dbf}\u{4e00}-\u{9fff}\u{a700}-\u{a707}\u{a960}-\u{a97c}\u{ac00}-\u{d7a3}\u{d7b0}-\u{d7c6}\u{d7cb}-\u{d7fb}\u{f900}-\u{fa6d}\u{fa70}-\u{fad9}\u{fe10}-\u{fe1f}\u{fe30}-\u{fe6f}\u{ff00}-\u{ffef}\u{16fe3}\u{16ff2}-\u{16ff6}\u{1aff0}-\u{1aff3}\u{1aff5}-\u{1affb}\u{1affd}-\u{1affe}\u{1b000}-\u{1b122}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b167}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81d}\u{2b820}-\u{2cead}\u{2ceb0}-\u{2ebe0}\u{2ebf0}-\u{2ee5d}\u{2f800}-\u{2fa1d}\u{30000}-\u{3134a}\u{31350}-\u{33479}])(?:[\u{fe00}-\u{fe0f}\u{e0100}-\u{e01ef}])?/u,Oe=/(?:[\u{21}-\u{2f}\u{3a}-\u{40}\u{5b}-\u{60}\u{7b}-\u{7e}]|\p{General_Category=Connector_Punctuation}|\p{General_Category=Dash_Punctuation}|\p{General_Category=Close_Punctuation}|\p{General_Category=Final_Punctuation}|\p{General_Category=Initial_Punctuation}|\p{General_Category=Other_Punctuation}|\p{General_Category=Open_Punctuation})/u;var qe=e=>e.position.start.offset,Ne=e=>e.position.end.offset;var Tt=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Rr=new Set([...Tt,"tableCell","paragraph","heading"]),We="non-cjk",ae="cj-letter",Pe="k-letter",cr="cjk-punctuation",hf=/\p{Script_Extensions=Hangul}/u;function Mr(e){let r=[],t=e.split(/([\t\n ]+)/u);for(let[i,u]of t.entries()){if(i%2===1){r.push({type:"whitespace",value:/\n/u.test(u)?` +`:" "});continue}if((i===0||i===t.length-1)&&u==="")continue;let a=u.split(new RegExp(`(${wi.source})`,"u"));for(let[o,s]of a.entries())if(!((o===0||o===a.length-1)&&s==="")){if(o%2===0){s!==""&&n({type:"word",value:s,kind:We,isCJ:!1,hasLeadingPunctuation:Oe.test(s[0]),hasTrailingPunctuation:Oe.test(U(0,s,-1))});continue}if(Oe.test(s)){n({type:"word",value:s,kind:cr,isCJ:!0,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0});continue}if(hf.test(s)){n({type:"word",value:s,kind:Pe,isCJ:!1,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1});continue}n({type:"word",value:s,kind:ae,isCJ:!0,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return r;function n(i){let u=U(0,r,-1);u?.type==="word"&&!a(We,cr)&&![u.value,i.value].some(o=>/\u3000/u.test(o))&&r.push({type:"whitespace",value:""}),r.push(i);function a(o,s){return u.kind===o&&i.kind===s||u.kind===s&&i.kind===o}}}function ze(e,r){let t=r.originalText.slice(e.position.start.offset,e.position.end.offset),{numberText:n,leadingSpaces:i}=t.match(/^\s*(?\d+)(\.|\))(?\s*)/u).groups;return{number:Number(n),leadingSpaces:i}}function ki(e,r){return!e.ordered||e.children.length<2||ze(e.children[1],r).number!==1?!1:ze(e.children[0],r).number!==0?!0:e.children.length>2&&ze(e.children[2],r).number===1}function Ur(e,r){let{value:t}=e;return e.position.end.offset===r.length&&t.endsWith(` +`)&&r.endsWith(` +`)?t.slice(0,-1):t}function ye(e,r){return(function t(n,i,u){let a={...r(n,i,u)};return a.children&&(a.children=a.children.map((o,s)=>t(o,s,[a,...u]))),a})(e,null,[])}function Yr(e){if(e?.type!=="link"||e.children.length!==1)return!1;let[r]=e.children;return qe(e)===qe(r)&&Ne(e)===Ne(r)}function lr(e){let r;if(e.type==="html")r=e.value.match(/^$/u);else{let t;e.type==="esComment"?t=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(t=e.children[0]),t&&(r=t.value.match(/^prettier-ignore(?:-(start|end))?$/u))}return r?r[1]||"next":!1}function Gr(e,r){return t(e,r,n=>n.ordered===e.ordered);function t(n,i,u){let a=-1;for(let o of i.children)if(o.type===n.type&&u(o)?a++:a=-1,o===n)return a}}function df(e,r){let{node:t}=e;switch(t.type){case"code":{let{lang:n}=t;if(!n)return;let i;return n==="angular-ts"?i=wt(r,{language:"typescript"}):n==="angular-html"?i="angular":i=wt(r,{language:n}),i?async u=>{let a={parser:i};n==="ts"||n==="typescript"?a.filepath="dummy.ts":n==="tsx"&&(a.filepath="dummy.tsx");let o=await u(Ur(t,r.originalText),a),s=r.__inJsTemplate?"~":"`",l=s.repeat(Math.max(3,Ir(t.value,s)+1));return ur([l,t.lang,t.meta?" "+t.meta:"",M,xe(o),M,l])}:void 0}case"import":case"export":return n=>n(t.value,{__onHtmlBindingRoot:i=>mf(i,t.type),parser:"babel"});case"jsx":return n=>n(`<$>${t.value}`,{parser:"__js_expression",rootMarker:"mdx"})}return null}function mf(e,r){let{program:{body:t}}=e;if(!t.every(n=>n.type==="ImportDeclaration"||n.type==="ExportDefaultDeclaration"||n.type==="ExportNamedDeclaration"))throw new Error(`Unexpected '${r}' in MDX.`)}var Ti=df;var fr=null;function Dr(e){if(fr!==null&&typeof fr.property){let r=fr;return fr=Dr.prototype=null,r}return fr=Dr.prototype=e??Object.create(null),new Dr}var Ff=10;for(let e=0;e<=Ff;e++)Dr();function Bt(e){return Dr(e)}function gf(e,r="type"){Bt(e);function t(n){let i=n[r],u=e[i];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return u}return t}var Bi=gf;var q=[["children"],[]],_i={root:q[0],paragraph:q[0],sentence:q[0],word:q[1],whitespace:q[1],emphasis:q[0],strong:q[0],delete:q[0],inlineCode:q[1],wikiLink:q[1],link:q[0],image:q[1],blockquote:q[0],heading:q[0],code:q[1],html:q[1],list:q[0],thematicBreak:q[1],linkReference:q[0],imageReference:q[1],definition:q[1],footnote:q[0],footnoteReference:q[1],footnoteDefinition:q[0],table:q[0],tableCell:q[0],break:q[1],liquidNode:q[1],import:q[1],export:q[1],esComment:q[1],jsx:q[1],math:q[1],inlineMath:q[1],tableRow:q[0],listItem:q[0],text:q[1]};var Ef=Bi(_i),Oi=Ef;function z(e,r,t,n={}){let{processor:i=t}=n,u=[];return e.each(()=>{let a=i(e);a!==!1&&(u.length>0&&Cf(e)&&(u.push(M),(Af(e,r)||qi(e))&&u.push(M),qi(e)&&u.push(M)),u.push(a))},"children"),u}function Cf({node:e,parent:r}){let t=Tt.has(e.type),n=e.type==="html"&&Rr.has(r.type);return!t&&!n}var vf=new Set(["listItem","definition"]);function Af({node:e,previous:r,parent:t},n){if(Ni(r,n)||e.type==="list"&&t.type==="listItem"&&r.type==="code")return!0;let u=r.type===e.type&&vf.has(e.type),a=t.type==="listItem"&&(e.type==="list"||!Ni(t,n)),o=lr(r)==="next",s=e.type==="html"&&r.type==="html"&&r.position.end.line+1===e.position.start.line,l=e.type==="html"&&t.type==="listItem"&&r.type==="paragraph"&&r.position.end.line+1===e.position.start.line;return!(u||a||o||s||l)}function qi({node:e,previous:r}){let t=r.type==="list",n=e.type==="code"&&e.isIndented;return t&&n}function Ni(e,r){return e.type==="listItem"&&(e.spread||r.originalText.charAt(e.position.end.offset-1)===` +`)}function Ii(e,r,t){let{node:n}=e,i=Gr(n,e.parent),u=ki(n,r);return z(e,r,t,{processor(){let a=s(),{node:o}=e;if(o.children.length===2&&o.children[1].type==="html"&&o.children[0].position.start.column!==o.children[1].position.start.column)return[a,Pi(e,r,t,a)];return[a,Fe(" ".repeat(a.length),Pi(e,r,t,a))];function s(){let l=n.ordered?(e.isFirst?n.start:u?1:n.start+e.index)+(i%2===0?". ":") "):i%2===0?"- ":"* ";return(n.isAligned||n.hasIndentedCodeblock)&&n.ordered?bf(l,r):l}}})}function Pi(e,r,t,n){let{node:i}=e,u=i.checked===null?"":i.checked?"[x] ":"[ ] ";return[u,z(e,r,t,{processor({node:a,isFirst:o}){if(o&&a.type!=="list")return Fe(" ".repeat(u.length),t());let s=" ".repeat(xf(r.tabWidth-n.length,0,3));return[s,Fe(s,t())]}})]}function bf(e,r){let t=n();return e+" ".repeat(t>=4?0:t);function n(){let i=e.length%r.tabWidth;return i===0?0:r.tabWidth-i}}function xf(e,r,t){return Math.max(r,Math.min(e,t))}function Si(e,r,t){let{node:n}=e,i=[],u=e.map(()=>e.map(({index:f})=>{let D=ai(t(),r).formatted,m=or(D);return i[f]=Math.max(i[f]??3,m),{text:D,width:m}},"children"),"children"),a=s(!1);if(r.proseWrap!=="never")return[Ue,a];let o=s(!0);return[Ue,Ge(Zn(o,a))];function s(f){return _r(ar,[c(u[0],f),l(f),...u.slice(1).map(D=>c(D,f))].map(D=>`| ${D.join(" | ")} |`))}function l(f){return i.map((D,m)=>{let p=n.align[m],h=p==="center"||p==="left"?":":"-",F=p==="center"||p==="right"?":":"-",g=f?"-":"-".repeat(D-2);return`${h}${g}${F}`})}function c(f,D){return f.map(({text:m,width:p},h)=>{if(D)return m;let F=i[h]-p,g=n.align[h],E=0;g==="right"?E=F:g==="center"&&(E=Math.floor(F/2));let v=F-E;return`${" ".repeat(E)}${m}${" ".repeat(v)}`})}}function Li(e){let{node:r}=e,t=R(0,R(0,r.value,"*","\\*"),new RegExp([`(^|${Oe.source})(_+)`,`(_+)(${Oe.source}|$)`].join("|"),"gu"),(u,a,o,s,l)=>R(0,o?`${a}${o}`:`${s}${l}`,"_","\\_")),n=(u,a,o)=>u.type==="sentence"&&o===0,i=(u,a,o)=>Yr(u.children[o-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(u,a,o)=>u.type==="emphasis"&&o===0,i))&&(t=t.replace(/^(\\?[*_])+/u,u=>R(0,u,"\\",""))),t}function Ri(e,r,t){let n=e.map(t,"children");return yf(n)}function yf(e){let r=[""];return(function t(n){for(let i of n){let u=W(i);if(u===j){t(i);continue}let a=i,o=[];u===J&&([a,...o]=i.parts),r.push([r.pop(),a],...o)}})(e),Ye(r)}var _t=class{#e;constructor(r){this.#e=new Set(r)}getLeadingWhitespaceCount(r){let t=this.#e,n=0;for(let i=0;i=0&&t.has(r.charAt(i));i--)n++;return n}getLeadingWhitespace(r){let t=this.getLeadingWhitespaceCount(r);return r.slice(0,t)}getTrailingWhitespace(r){let t=this.getTrailingWhitespaceCount(r);return r.slice(r.length-t)}hasLeadingWhitespace(r){return this.#e.has(r.charAt(0))}hasTrailingWhitespace(r){return this.#e.has(U(0,r,-1))}trimStart(r){let t=this.getLeadingWhitespaceCount(r);return r.slice(t)}trimEnd(r){let t=this.getTrailingWhitespaceCount(r);return r.slice(0,r.length-t)}trim(r){return this.trimEnd(this.trimStart(r))}split(r,t=!1){let n=`[${fe([...this.#e].join(""))}]+`,i=new RegExp(t?`(${n})`:n,"u");return r.split(i)}hasWhitespaceCharacter(r){let t=this.#e;return Array.prototype.some.call(r,n=>t.has(n))}hasNonWhitespaceCharacter(r){let t=this.#e;return Array.prototype.some.call(r,n=>!t.has(n))}isWhitespaceOnly(r){let t=this.#e;return Array.prototype.every.call(r,n=>t.has(n))}#r(r){let t=Number.POSITIVE_INFINITY;for(let n of r.split(` +`)){if(n.length===0)continue;let i=this.getLeadingWhitespaceCount(n);if(i===0)return 0;n.length!==i&&in.slice(t)).join(` +`)}},Mi=_t;var wf=[" ",` +`,"\f","\r"," "],kf=new Mi(wf),Ot=kf;var Tf=/^\\?.$/su,Bf=/^\n *>[ >]*$/u;function _f(e,r){return e=Of(e,r),e=Nf(e),e=If(e,r),e=Sf(e,r),e=Pf(e),e}function Of(e,r){return ye(e,t=>{if(t.type!=="text")return t;let{value:n}=t;if(n==="*"||n==="_"||!Tf.test(n)||t.position.end.offset-t.position.start.offset===n.length)return t;let i=r.originalText.slice(t.position.start.offset,t.position.end.offset);return Bf.test(i)?t:{...t,value:i}})}function qf(e,r,t){return ye(e,n=>{if(!n.children)return n;let i=[],u,a;for(let o of n.children)u&&r(u,o)?(o=t(u,o),i.splice(-1,1,o),a||(a=!0)):i.push(o),u=o;return a?{...n,children:i}:n})}function Nf(e){return qf(e,(r,t)=>r.type==="text"&&t.type==="text",(r,t)=>({type:"text",value:r.value+t.value,position:{start:r.position.start,end:t.position.end}}))}function Pf(e){return ye(e,(r,t,[n])=>{if(r.type!=="text")return r;let{value:i}=r;return n.type==="paragraph"&&(t===0&&(i=Ot.trimStart(i)),t===n.children.length-1&&(i=Ot.trimEnd(i))),{type:"sentence",position:r.position,children:Mr(i)}})}function If(e,r){return ye(e,(t,n,i)=>{if(t.type==="code"){let u=/^\n?(?: {4,}|\t)/u.test(r.originalText.slice(t.position.start.offset,t.position.end.offset));if(t.isIndented=u,u)for(let a=0;a{if(i.type==="list"&&i.children.length>0){for(let o=0;o1)return!0;let s=t(u);if(s===-1)return!1;if(i.children.length===1)return s%r.tabWidth===0;let l=t(a);return s!==l?!1:s%r.tabWidth===0?!0:ze(a,r).leadingSpaces.length>1}}var Ui=_f;function Yi(e,r){let t=[""];return e.each(()=>{let{node:n}=e,i=r();switch(n.type){case"whitespace":if(W(i)!==V){t.push(i,"");break}default:t.push([t.pop(),i])}},"children"),Ye(t)}var Lf=new Set(["heading","tableCell","link","wikiLink"]),Gi=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Rf({parent:e}){if(e.usesCJSpaces===void 0){let r={" ":0,"":0},{children:t}=e;for(let n=1;nr[""]}return e.usesCJSpaces}function Mf(e,r){if(r)return!0;let{previous:t,next:n}=e;if(!t||!n)return!0;let i=t.kind,u=n.kind;return zi(i)&&zi(u)||i===Pe&&u===ae||u===Pe&&i===ae?!0:i===cr||u===cr||i===ae&&u===ae?!1:Gi.has(n.value[0])||Gi.has(U(0,t.value,-1))?!0:t.hasTrailingPunctuation||n.hasLeadingPunctuation?!1:Rf(e)}function zi(e){return e===We||e===Pe}function Uf(e,r,t,n){if(t!=="always"||e.hasAncestor(a=>Lf.has(a.type)))return!1;if(n)return r!=="";let{previous:i,next:u}=e;return!i||!u?!0:r===""?!1:i.kind===Pe&&u.kind===ae||u.kind===Pe&&i.kind===ae?!0:!(i.isCJ||u.isCJ)}function qt(e,r,t,n){if(t==="preserve"&&r===` +`)return M;let i=r===" "||r===` +`&&Mf(e,n);return Uf(e,r,t,n)?i?qr:Nr:i?" ":""}function Wi(e){let{previous:r,next:t}=e;return r?.type==="sentence"&&U(0,r.children,-1)?.type==="word"&&!U(0,r.children,-1).hasTrailingPunctuation||t?.type==="sentence"&&t.children[0]?.type==="word"&&!t.children[0].hasLeadingPunctuation}function Yf(e,r,t){let{node:n}=e;if(zf(e)){let i=[""],u=Mr(r.originalText.slice(n.position.start.offset,n.position.end.offset));for(let a of u){if(a.type==="word"){i.push([i.pop(),a.value]);continue}let o=qt(e,a.value,r.proseWrap,!0);if(W(o)===V){i.push([i.pop(),o]);continue}i.push(o,"")}return Ye(i)}switch(n.type){case"root":return n.children.length===0?"":[Gf(e,r,t),M];case"paragraph":return Ri(e,r,t);case"sentence":return Yi(e,t);case"word":return Li(e);case"whitespace":{let{next:i}=e,u=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(i.value)?"never":r.proseWrap;return qt(e,n.value,u)}case"emphasis":{let i;if(Yr(n.children[0]))i=r.originalText[n.position.start.offset];else{let u=Wi(e),a=e.callParent(({node:o})=>o.type==="strong"&&Wi(e));i=u||a||e.hasAncestor(o=>o.type==="emphasis")?"*":"_"}return[i,z(e,r,t),i]}case"strong":return["**",z(e,r,t),"**"];case"delete":return["~~",z(e,r,t),"~~"];case"inlineCode":{let i=r.proseWrap==="preserve"?n.value:R(0,n.value,` +`," "),u=oi(i,"`"),a="`".repeat(u),o=i.startsWith("`")||i.endsWith("`")||/^[\n ]/u.test(i)&&/[\n ]$/u.test(i)&&/[^\n ]/u.test(i)?" ":"";return[a,o,i,o,a]}case"wikiLink":{let i="";return r.proseWrap==="preserve"?i=n.value:i=R(0,n.value,/[\t\n]+/gu," "),["[[",i,"]]"]}case"link":switch(r.originalText[n.position.start.offset]){case"<":{let i="mailto:";return["<",n.url.startsWith(i)&&r.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+i.length)!==i?n.url.slice(i.length):n.url,">"]}case"[":return["[",z(e,r,t),"](",Nt(n.url,")"),zr(n.title,r),")"];default:return r.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",n.alt||"","](",Nt(n.url,")"),zr(n.title,r),")"];case"blockquote":return["> ",Fe("> ",z(e,r,t))];case"heading":return["#".repeat(n.depth)+" ",z(e,r,t)];case"code":{if(n.isIndented){let a=" ".repeat(4);return Fe(a,[a,xe(n.value,M)])}let i=r.__inJsTemplate?"~":"`",u=i.repeat(Math.max(3,Ir(n.value,i)+1));return[u,n.lang||"",n.meta?" "+n.meta:"",M,xe(Ur(n,r.originalText),M),M,u]}case"html":{let{parent:i,isLast:u}=e,a=i.type==="root"&&u?n.value.trimEnd():n.value,o=/^$/su.test(a);return xe(a,o?M:ur(nr))}case"list":return Ii(e,r,t);case"thematicBreak":{let{ancestors:i}=e,u=i.findIndex(o=>o.type==="list");return u===-1?"---":Gr(i[u],i[u+1])%2===0?"***":"---"}case"linkReference":return["[",z(e,r,t),"]",n.referenceType==="full"?Pt(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":switch(n.referenceType){case"full":return["![",n.alt||"","]",Pt(n)];default:return["![",n.alt,"]",n.referenceType==="collapsed"?"[]":""]}case"definition":{let i=r.proseWrap==="always"?qr:" ";return Ge([Pt(n),":",ir([i,Nt(n.url),n.title===null?"":[i,zr(n.title,r,!1)]])])}case"footnote":return["[^",z(e,r,t),"]"];case"footnoteReference":return ji(n);case"footnoteDefinition":{let i=n.children.length===1&&n.children[0].type==="paragraph"&&(r.proseWrap==="never"||r.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[ji(n),": ",i?z(e,r,t):Ge([Fe(" ".repeat(4),z(e,r,t,{processor:({isFirst:u})=>u?Ge([Nr,t()]):t()}))])]}case"table":return Si(e,r,t);case"tableCell":return z(e,r,t);case"break":return/\s/u.test(r.originalText[n.position.start.offset])?[" ",ur(nr)]:["\\",M];case"liquidNode":return xe(n.value,M);case"import":case"export":case"jsx":return n.value.trimEnd();case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",M,n.value?[xe(n.value,M),M]:"","$$"];case"inlineMath":return r.originalText.slice(qe(n),Ne(n));case"frontMatter":case"tableRow":case"listItem":case"text":default:throw new fi(n,"Markdown")}}function Gf(e,r,t){let n=[],i=null,{children:u}=e.node;for(let[a,o]of u.entries())switch(lr(o)){case"start":i===null&&(i={index:a,offset:o.position.end.offset});break;case"end":i!==null&&(n.push({start:i,end:{index:a,offset:o.position.start.offset}}),i=null);break;default:break}return z(e,r,t,{processor({index:a}){if(n.length>0){let o=n[0];if(a===o.start.index)return[Vi(u[o.start.index]),r.originalText.slice(o.start.offset,o.end.offset),Vi(u[o.end.index])];if(o.start.indext.type==="linkReference"||t.type==="imageReference");return r&&(r.type!=="linkReference"||r.referenceType!=="full")}var Wf=(e,r)=>{for(let t of r)e=R(0,e,t,encodeURIComponent(t));return e};function Nt(e,r=[]){let t=[" ",...Array.isArray(r)?r:[r]];return new RegExp(t.map(n=>fe(n)).join("|"),"u").test(e)?`<${Wf(e,"<>")}>`:e}function zr(e,r,t=!0){if(!e)return"";if(t)return" "+zr(e,r,!1);if(e=R(0,e,/\\(?=["')])/gu,""),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=li(e,r.singleQuote);return e=R(0,e,"\\","\\\\"),e=R(0,e,n,`\\${n}`),`${n}${e}${n}`}function Vf(e){return e.index>0&&lr(e.previous)==="next"}function Pt(e){return`[${(0,$i.default)(e.label)}]`}function ji(e){return`[^${e.label}]`}var jf={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:Ui,print:Yf,embed:Ti,massageAstNode:yi,hasPrettierIgnore:Vf,insertPragma:Ai,getVisitorKeys:Oi},Hi=jf;var Ki=[{name:"Markdown",type:"prose",aceMode:"markdown",extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["markdown"],vscodeLanguageIds:["markdown"],linguistLanguageId:222},{name:"MDX",type:"prose",aceMode:"markdown",extensions:[".mdx"],filenames:[],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["mdx"],vscodeLanguageIds:["mdx"],linguistLanguageId:222}];var It={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var $f={proseWrap:It.proseWrap,singleQuote:It.singleQuote},Xi=$f;var Wn={};Vn(Wn,{markdown:()=>cF,mdx:()=>lF,remark:()=>cF});var Dl=Re(Qi(),1),pl=Re(Du(),1),hl=Re(oc(),1),dl=Re(el(),1);var rF=/^import\s/u,tF=/^export\s/u,rl="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",tl=/|/u,nF=/^\{\s*\/\*(.*)\*\/\s*\}/u;var iF=e=>rF.test(e),nl=e=>tF.test(e),il=e=>iF(e)||nl(e),zn=(e,r)=>{let t=r.indexOf(` + +`),n=t===-1?r:r.slice(0,t);if(il(n))return e(n)({type:nl(n)?"export":"import",value:n})};zn.notInBlock=!0;zn.locator=e=>il(e)?-1:1;var ul=(e,r)=>{let t=nF.exec(r);if(t)return e(t[0])({type:"esComment",value:t[1].trim()})};ul.locator=(e,r)=>e.indexOf("{",r);var al=function(){let{Parser:e}=this,{blockTokenizers:r,blockMethods:t,inlineTokenizers:n,inlineMethods:i}=e.prototype;r.esSyntax=zn,n.esComment=ul,t.splice(t.indexOf("paragraph"),0,"esSyntax"),i.splice(i.indexOf("text"),0,"esComment")};var uF=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=r;function r(t,n){let{frontMatter:i}=_e(n);if(i)return t(i.raw)({...i,type:"frontMatter"})}r.onlyAtStart=!0},ol=uF;function aF(){return e=>ye(e,(r,t,[n])=>r.type!=="html"||tl.test(r.value)||Rr.has(n.type)?r:{...r,type:"jsx"})}var sl=aF;var oF=function(){let e=this.Parser.prototype,r=e.inlineMethods;r.splice(r.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=t;function t(n,i){let u=i.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);if(u)return n(u[0])({type:"liquidNode",value:u[0]})}t.locator=function(n,i){return n.indexOf("{",i)}},cl=oF;var sF=function(){let e="wikiLink",r=/^\[\[(?.+?)\]\]/su,t=this.Parser.prototype,n=t.inlineMethods;n.splice(n.indexOf("link"),0,e),t.inlineTokenizers.wikiLink=i;function i(u,a){let o=r.exec(a);if(o){let s=o.groups.linkContents.trim();return u(o[0])({type:e,value:s})}}i.locator=function(u,a){return u.indexOf("[",a)}},ll=sF;function ml({isMDX:e}){return r=>{let t=(0,dl.default)().use(hl.default,{commonmark:!0,...e&&{blocks:[rl]}}).use(Dl.default).use(ol).use(pl.default).use(e?al:fl).use(cl).use(e?sl:fl).use(ll);return t.run(t.parse(r))}}function fl(){}var Fl={astFormat:"mdast",hasPragma:Lr,hasIgnorePragma:vi,locStart:qe,locEnd:Ne},cF={...Fl,parse:ml({isMDX:!1})},lF={...Fl,parse:ml({isMDX:!0})};var fF={mdast:Hi};export{gl as default,Ki as languages,Xi as options,Wn as parsers,fF as printers}; diff --git a/shared/node_modules/prettier/plugins/meriyah.d.ts b/shared/node_modules/prettier/plugins/meriyah.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6541de52a0cb4e3ed56f8d75d63e7b55ea8542c4 --- /dev/null +++ b/shared/node_modules/prettier/plugins/meriyah.d.ts @@ -0,0 +1,5 @@ +import { Parser } from "../index.js"; + +export declare const parsers: { + meriyah: Parser; +}; diff --git a/shared/node_modules/prettier/plugins/meriyah.js b/shared/node_modules/prettier/plugins/meriyah.js new file mode 100644 index 0000000000000000000000000000000000000000..2ffa2b89a4fe841481ebfb8a392c49b24003d745 --- /dev/null +++ b/shared/node_modules/prettier/plugins/meriyah.js @@ -0,0 +1,5 @@ +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.meriyah=e()}})(function(){"use strict";var Ue=Object.defineProperty;var q2=Object.getOwnPropertyDescriptor;var P2=Object.getOwnPropertyNames;var O2=Object.prototype.hasOwnProperty;var mt=(e,t)=>{for(var n in t)Ue(e,n,{get:t[n],enumerable:!0})},V2=(e,t,n,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of P2(t))!O2.call(e,o)&&o!==n&&Ue(e,o,{get:()=>t[o],enumerable:!(u=q2(t,o))||u.enumerable});return e};var R2=e=>V2(Ue({},"__esModule",{value:!0}),e);var Gu={};mt(Gu,{parsers:()=>gt});var gt={};mt(gt,{meriyah:()=>Zu});var Q=(e,t)=>(n,u,...o)=>n|1&&u==null?void 0:(t.call(u)??u[e]).apply(u,o);var M2=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},v2=Q("replaceAll",function(){if(typeof this=="string")return M2}),p=v2;var U2=55296,J2=56319,_2=56320,X2=String.prototype.isWellFormed??function(){let{length:e}=this;for(let t=0;tJ2||++t>=e||(this.charCodeAt(t)&64512)!==_2))return!1}return!0},j2=Q("isWellFormed",function(){if(typeof this=="string")return X2}),rt=j2;var Ct=((e,t)=>{let n=new Uint32Array(69632),u=0,o=0;for(;u<2597;){let i=e[u++];if(i<0)o-=i;else{let l=e[u++];i&2&&(l=t[l]),i&1?n.fill(l,o,o+=e[u++]):n[o++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,61,2,62,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,63,2,0,0,4294836735,0,3221225471,0,4294901942,2,64,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,58,2,7,2,6,0,4286643967,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,929054175,0,65487,0,4294828015,0,4092591615,0,1885355487,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,69,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,70,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,9,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2151677951,2,29,2,10,0,909311,3,0,2,0,814743551,2,48,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,108,2,51,2,0,2,79,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,9,2,18,3,0,2,2,53,0,1046528,3,0,3,2,10,2,0,2,127,0,4294960127,2,9,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,0,12288,2,54,0,1048577,2,84,2,14,-1,2,14,0,131042,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,88,2,2,0,-16,2,89,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,2,18,2,0,0,3220242431,3,0,3,2,19,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,2,0,0,4351,2,0,2,10,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,10,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,99,2,100,2,22,2,23,3,0,3,0,67057663,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,2,25,0,1638399,0,57344,2,107,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,65,2,6,2,12,2,9,2,0,2,113,-1,3,0,4,2,9,2,23,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,125,0,4227858432,2,20,2,43,2,36,2,17,2,37,2,17,2,124,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,145,2,0,2,56,2,55,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,59,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,133,0,4190109695,2,52,-2,2,134,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,66,2,17,2,0,2,42,-3,2,31,-2,2,0,2,45,2,57,2,44,2,45,2,135,2,46,0,8388351,-2,2,136,0,3028287487,2,47,2,138,0,33259519,2,23,2,7,2,48,-7,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,8323099,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,0,4294954999,2,0,-16,2,0,2,90,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,155,-6,0,4194303871,0,4294903771,2,0,2,58,2,98,-3,2,0,0,1073684479,0,17407,-9,2,17,2,49,2,0,2,32,-14,2,17,2,32,-6,2,17,2,12,-6,2,8,0,3225419775,-7,2,156,3,0,6,0,8323103,-1,3,0,2,2,59,-37,2,60,2,157,2,158,2,159,2,160,2,161,-105,2,26,-32,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-22116,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,61,2,62,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,63,2,0,2,34,-1,2,17,2,64,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,65,3,0,2,0,131135,2,96,0,70256639,0,71303167,0,272,2,42,2,6,0,65279,2,0,2,48,-1,2,97,2,66,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,68,2,67,0,33554435,2,131,2,68,0,2952790016,0,131075,0,3594373096,0,67094296,2,67,-1,0,4294828e3,0,603979263,0,922746880,0,3,0,4294828001,0,602930687,0,1879048192,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,69,2,38,-1,2,4,0,917503,2,38,-1,2,70,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,71,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2147745791,3,19,2,0,122879,2,0,2,10,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,17,2,51,2,0,2,79,2,48,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,10,0,8160,-1,2,126,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,9,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,-3,2,84,2,14,-3,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,88,2,-17,2,89,0,524157950,2,4,2,0,2,90,2,4,2,0,2,22,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,0,3072,2,0,0,2147516415,2,9,3,0,2,2,25,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,0,4294965179,0,7,2,0,2,10,2,93,2,10,-1,0,1761345536,2,96,0,4294901823,2,38,2,20,2,97,2,35,2,98,0,2080440287,2,0,2,34,2,154,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,99,2,100,2,22,2,23,3,0,3,0,7,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,-3,2,107,3,0,3,2,20,-1,3,5,2,2,108,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,65,2,6,2,30,2,9,2,0,2,113,-1,3,0,4,2,9,2,17,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,124,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,96,0,4294934591,2,37,-7,2,0,0,197631,2,125,-1,2,20,2,43,2,37,2,17,0,3,2,17,2,124,2,21,2,126,2,127,-1,0,2490368,2,126,2,25,2,17,2,34,2,126,2,38,0,4294901904,0,4718591,2,126,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,68,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,49,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,18,-3,3,0,2,2,54,2,133,0,2147549183,0,2,-2,2,134,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,17,2,0,2,42,-6,2,0,0,1,2,57,2,49,0,1,2,135,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,2,17,2,7,-8,2,35,0,4294836212,2,10,-3,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,9,-55,3,0,17,2,42,2,8,2,17,2,0,2,8,2,17,2,58,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,71,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,67583,-1,2,105,-2,0,8126475,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,2,145,-187,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,2,154,-57,2,8,2,155,-7,2,17,2,0,2,58,-4,2,0,0,1065361407,0,16384,-9,2,17,2,58,2,0,2,18,-14,2,17,2,18,-6,2,17,0,81919,-6,2,8,0,3223273399,-7,2,156,3,0,6,2,124,-1,3,0,2,0,2063,-37,2,60,2,157,2,158,2,159,2,160,2,161,-138,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-28252],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1073741823,1048575,3892314111,134217727,1061158911,536805376,4294910143,4294901759,4294901760,4095,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294770687,67043583,1023,32767,15,2047999,67043343,67051519,2147483648,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,4294836224,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,252,4294967288,16777215,4294705151,3221208447,4294902271,4294549472,4294921215,4285526655,4294966527,4294705152,4294966143,64,4294966719,3774873592,4194303999,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901761]),H2=e=>(Ct[(e>>>5)+0]>>>e&31&1)!==0,Et=e=>(Ct[(e>>>5)+34816]>>>e&31&1)!==0,S=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],z2=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function Se(e){return e<=127?z2[e]>0:Et(e)}function De(e){return e<=127?wt[e]>0:H2(e)||e===8204||e===8205}function m(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function $e(e){let t=e.currentChar;if((t&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:65536+((t&1023)<<10)+(n&1023)}function We(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,(t&4)===0&&(e.column=0,e.line++)}function te(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function K2(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function v(e){return e<65?e-48:e-65+10&15}function $2(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var St=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function W2(e){let{source:t}=e;e.currentChar===35&&t.charCodeAt(e.index+1)===33&&(m(e),m(e),Ye(e,t,0,4,e.tokenStart))}function ht(e,t,n,u,o,i){return u&2&&e.report(0),Ye(e,t,n,o,i)}function Ye(e,t,n,u,o){let{index:i}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'},q=class extends SyntaxError{start;end;range;loc;description;constructor(t,n,u,...o){let i=Q2[u].replace(/%(\d+)/g,(f,c)=>o[c]),l="["+t.line+":"+t.column+"-"+n.line+":"+n.column+"]: "+i;super(l),this.start=t.index,this.end=n.index,this.range=[t.index,n.index],this.loc={start:{line:t.line,column:t.column},end:{line:n.line,column:n.column}},this.description=i}};function Bt(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}var B=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Ft={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};function kt(e,t,n){for(;wt[m(e)];);return e.tokenValue=e.source.slice(e.tokenIndex,e.index),e.currentChar!==92&&e.currentChar<=126?Bt(Ft,e.tokenValue)??208897:Qe(e,t,0,n)}function Z2(e,t){let n=Nt(e);return Se(n)||e.report(5),e.tokenValue=String.fromCodePoint(n),Qe(e,t,1,S[n]&4)}function Qe(e,t,n,u){let o=e.index;for(;e.index0)De(l)||e.report(20,String.fromCodePoint(l)),e.currentChar=l,e.index++,e.column++;else if(!De(e.currentChar))break;m(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(o,e.index));let{length:i}=e.tokenValue;if(u&&i>=2&&i<=11){let l=Bt(Ft,e.tokenValue);return l===void 0?208897|(n?-2147483648:0):n?l===209006?(t&2050)===0?l|-2147483648:-2147483528:t&1?l===36970||(l&36864)===36864?-2147483527:(l&20480)===20480?t&262144&&(t&8)===0?l|-2147483648:-2147483528:-2147274630:t&262144&&(t&8)===0&&(l&20480)===20480?l|-2147483648:l===241771?t&262144?-2147274630:t&1024?-2147483528:l|-2147483648:l===209005?-2147274630:(l&36864)===36864?l|12288|-2147483648:-2147483528:l}return 208897|(n?-2147483648:0)}function G2(e){let t=m(e);if(t===92)return 130;let n=$e(e);return n&&(t=n),Se(t)||e.report(96),130}function Nt(e){return e.source.charCodeAt(e.index+1)!==117&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,x2(e)}function x2(e){let t=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;S[m(e)]&64;)if(t=t<<4|v(e.currentChar),t>1114111)throw new q({index:l,line:e.line,column:e.column},e.currentLocation,104);if(e.currentChar!==125)throw new q({index:l,line:e.line,column:e.column},e.currentLocation,7);return m(e),t}(S[n]&64)===0&&e.report(7);let u=e.source.charCodeAt(e.index+1);(S[u]&64)===0&&e.report(7);let o=e.source.charCodeAt(e.index+2);(S[o]&64)===0&&e.report(7);let i=e.source.charCodeAt(e.index+3);return(S[i]&64)===0&&e.report(7),t=v(n)<<12|v(u)<<8|v(o)<<4|v(i),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,t}function yt(e,t,n){let u=e.currentChar,o=0,i=9,l=n&64?0:1,f=0,c=0;if(n&64)o="."+Te(e,u),u=e.currentChar,u===110&&e.report(12);else{if(u===48)if(u=m(e),(u|32)===120){for(n=136,u=m(e);S[u]&4160;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*16+v(u),f++,u=m(e)}(f===0||!c)&&e.report(f===0?21:153)}else if((u|32)===111){for(n=132,u=m(e);S[u]&4128;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*8+(u-48),f++,u=m(e)}(f===0||!c)&&e.report(f===0?0:153)}else if((u|32)===98){for(n=130,u=m(e);S[u]&4224;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*2+(u-48),f++,u=m(e)}(f===0||!c)&&e.report(f===0?0:153)}else if(S[u]&32)for(t&1&&e.report(1),n=1;S[u]&16;){if(S[u]&512){n=32,l=0;break}o=o*8+(u-48),u=m(e)}else S[u]&512?(t&1&&e.report(1),e.flags|=64,n=32):u===95&&e.report(0);if(n&48){if(l){for(;i>=0&&S[u]&4112;){if(u===95){if(u=m(e),u===95||n&32)throw new q(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);c=1;continue}c=0,o=10*o+(u-48),u=m(e),--i}if(c)throw new q(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(i>=0&&!Se(u)&&u!==46)return e.tokenValue=o,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266}o+=Te(e,u),u=e.currentChar,u===46&&(m(e)===95&&e.report(0),n=64,o+="."+Te(e,e.currentChar),u=e.currentChar)}}let g=e.index,d=0;if(u===110&&n&128)d=1,u=m(e);else if((u|32)===101){u=m(e),S[u]&256&&(u=m(e));let{index:a}=e;(S[u]&16)===0&&e.report(11),o+=e.source.substring(g,a)+Te(e,u),u=e.currentChar}return(e.index=e.source.length)return e.report(34)}let u=e.index-1,o=P.Empty,i=e.currentChar,{index:l}=e;for(;De(i);){switch(i){case 103:o&P.Global&&e.report(36,"g"),o|=P.Global;break;case 105:o&P.IgnoreCase&&e.report(36,"i"),o|=P.IgnoreCase;break;case 109:o&P.Multiline&&e.report(36,"m"),o|=P.Multiline;break;case 117:o&P.Unicode&&e.report(36,"u"),o&P.UnicodeSets&&e.report(36,"vu"),o|=P.Unicode;break;case 118:o&P.Unicode&&e.report(36,"uv"),o&P.UnicodeSets&&e.report(36,"v"),o|=P.UnicodeSets;break;case 121:o&P.Sticky&&e.report(36,"y"),o|=P.Sticky;break;case 115:o&P.DotAll&&e.report(36,"s"),o|=P.DotAll;break;case 100:o&P.Indices&&e.report(36,"d"),o|=P.Indices;break;default:e.report(35)}i=m(e)}let f=e.source.slice(l,e.index),c=e.source.slice(t,u);return e.tokenRegExp={pattern:c,flags:f},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=en(e,c,f),65540}function en(e,t,n){try{return new RegExp(t,n)}catch{if(!e.options.validateRegex)return null;e.report(34)}}function tn(e,t,n){let{index:u}=e,o="",i=m(e),l=e.index;for(;(S[i]&8)===0;){if(i===n)return o+=e.source.slice(l,e.index),m(e),e.options.raw&&(e.tokenRaw=e.source.slice(u,e.index)),e.tokenValue=o,134283267;if((i&8)===8&&i===92){if(o+=e.source.slice(l,e.index),i=m(e),i<127||i===8232||i===8233){let f=Lt(e,t,i);f>=0?o+=String.fromCodePoint(f):It(e,f,0)}else o+=String.fromCodePoint(i);l=e.index+1}else(i===8232||i===8233)&&(e.column=-1,e.line++);e.index>=e.end&&e.report(16),i=m(e)}e.report(16)}function Lt(e,t,n,u=0){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:i}else{if((S[o]&64)===0)return-4;let i=e.source.charCodeAt(e.index+1);if((S[i]&64)===0)return-4;let l=e.source.charCodeAt(e.index+2);if((S[l]&64)===0)return-4;let f=e.source.charCodeAt(e.index+3);return(S[f]&64)===0?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),v(o)<<12|v(i)<<8|v(l)<<4|v(f))}}case 56:case 57:if(u||!e.options.webcompat||t&1)return-3;e.flags|=4096;default:return n}}function It(e,t,n){switch(t){case-1:return;case-2:e.report(n?2:1);case-3:e.report(n?3:14);case-4:e.report(7);case-5:e.report(104)}}function qt(e,t){let{index:n}=e,u=67174409,o="",i=m(e);for(;i!==96;){if(i===36&&e.source.charCodeAt(e.index+1)===123){m(e),u=67174408;break}else if(i===92)if(i=m(e),i>126)o+=String.fromCodePoint(i);else{let{index:l,line:f,column:c}=e,g=Lt(e,t|1,i,1);if(g>=0)o+=String.fromCodePoint(g);else if(g!==-1&&t&64){e.index=l,e.line=f,e.column=c,o=null,i=nn(e,i),i<0&&(u=67174408);break}else It(e,g,1)}else e.index=e.end&&e.report(17),i=m(e)}return m(e),e.tokenValue=o,e.tokenRaw=e.source.slice(n+1,e.index-(u===67174409?1:2)),u}function nn(e,t){for(;t!==96;){switch(t){case 36:{let n=e.index+1;if(n=e.end&&e.report(17),t=m(e)}return t}function un(e,t){return e.index>=e.end&&e.report(0),e.index--,e.column--,qt(e,t)}var on=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];function r(e,t){e.flags=(e.flags|1)^1,e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(Pt(e,t,0))}function Pt(e,t,n){let u=e.index===0,{source:o}=e;for(;e.index=e.end)return 8391476;let f=e.currentChar;return f===61?(m(e),4194338):f!==42?8391476:m(e)!==61?8391735:(m(e),4194335)}case 8389959:return m(e)!==61?8389959:(m(e),4194341);case 25233968:{m(e);let f=e.currentChar;return f===43?(m(e),33619993):f===61?(m(e),4194336):25233968}case 25233969:{m(e);let f=e.currentChar;if(f===45){if(m(e),(n&1||u)&&e.currentChar===62){e.options.webcompat||e.report(112),m(e),n=ht(e,o,n,t,3,e.tokenStart);continue}return 33619994}return f===61?(m(e),4194337):25233969}case 8457014:{if(m(e),e.index=48&&f<=57)return yt(e,t,80);if(f===46){let c=e.index+1;if(c=48&&f<=57)))return m(e),67108990}return 22}}}else{if((i^8232)<=1){n=n&-5|1,te(e);continue}let l=$e(e);if(l>0&&(i=l),Et(i))return e.tokenValue="",Qe(e,t,0,0);if(K2(i)){m(e);continue}e.report(20,String.fromCodePoint(i))}}return 1048576}function M(e,t){(e.flags&1)===0&&(e.getToken()&1048576)!==1048576&&e.report(30,B[e.getToken()&255]),C(e,t,1074790417)||e.options.onInsertedSemicolon?.(e.startIndex)}function Ot(e,t,n,u){return t-n<13&&u==="use strict"&&((e.getToken()&1048576)===1048576||e.flags&1)?1:0}function Ze(e,t,n){return e.getToken()!==n?0:(r(e,t),1)}function C(e,t,n){return e.getToken()!==n?!1:(r(e,t),!0)}function y(e,t,n){e.getToken()!==n&&e.report(25,B[n&255]),r(e,t)}function K(e,t){switch(t.type){case"ArrayExpression":{t.type="ArrayPattern";let{elements:n}=t;for(let u=0,o=n.length;u=e.end&&e.report(16),n=m(e);return n!==t&&e.report(16),e.tokenValue=e.source.slice(u,e.index),m(e),e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283267}function me(e){if(e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.index>=e.end){e.setToken(1048576);return}if(e.currentChar===60){m(e),e.setToken(8456256);return}if(e.currentChar===123){m(e),e.setToken(2162700);return}let t=0;for(;e.index1&&i&32&&e.getToken()&262144&&e.report(61,B[e.getToken()&255]),f}function Tt(e,t,n,u,o,i){let{tokenStart:l}=e,f=e.getToken(),c=null,g=Gt(e,t,n,u,o,i);if(e.getToken()===1077936155){if(r(e,t|32),c=L(e,t,u,1,0,e.tokenStart),(i&32||(f&2097152)===0)&&(e.getToken()===471156||e.getToken()===8673330&&(f&2097152||(o&4)===0||t&1)))throw new q(l,e.currentLocation,60,e.getToken()===471156?"of":"in")}else(o&16||(f&2097152)>0)&&(e.getToken()&262144)!==262144&&e.report(59,o&16?"const":"destructuring");return e.finishNode({type:"VariableDeclarator",id:g,init:c},l)}function On(e,t,n,u,o){let i=e.tokenStart;r(e,t);let l=((t&2048)>0||(t&2)>0&&(t&8)>0)&&C(e,t,209006);y(e,t|32,67174411),n=n?.createChildScope(1);let f=null,c=null,g=0,d=null,a=e.getToken()===86088||e.getToken()===241737||e.getToken()===86090,h,{tokenStart:A}=e,b=e.getToken();if(a)b===241737?(d=N(e,t),e.getToken()&2240512?(e.getToken()===8673330?t&1&&e.report(67):d=e.finishNode({type:"VariableDeclaration",kind:"let",declarations:ue(e,t|131072,n,u,8,32)},A),e.assignable=1):t&1?e.report(67):(a=!1,e.assignable=1,d=F(e,t,u,d,0,0,A),e.getToken()===471156&&e.report(115))):(r(e,t),d=e.finishNode(b===86088?{type:"VariableDeclaration",kind:"var",declarations:ue(e,t|131072,n,u,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:ue(e,t|131072,n,u,16,32)},A),e.assignable=1);else if(b===1074790417)l&&e.report(82);else if((b&2097152)===2097152){let T=e.tokenStart;d=b===2162700?j(e,t,void 0,u,1,0,0,2,32):X(e,t,void 0,u,1,0,0,2,32),g=e.destructible,g&64&&e.report(63),e.assignable=g&16?2:1,d=F(e,t|131072,u,d,0,0,T)}else d=_(e,t|131072,u,1,0,1);if((e.getToken()&262144)===262144){if(e.getToken()===471156){e.assignable&2&&e.report(80,l?"await":"of"),K(e,d),r(e,t|32),h=L(e,t,u,1,0,e.tokenStart),y(e,t|32,16);let D=de(e,t,n,u,o);return e.finishNode({type:"ForOfStatement",left:d,right:h,body:D,await:l},i)}e.assignable&2&&e.report(80,"in"),K(e,d),r(e,t|32),l&&e.report(82),h=V(e,t,u,0,1,e.tokenStart),y(e,t|32,16);let T=de(e,t,n,u,o);return e.finishNode({type:"ForInStatement",body:T,left:d,right:h},i)}l&&e.report(82),a||(g&8&&e.getToken()!==1077936155&&e.report(80,"loop"),d=I(e,t|131072,u,0,0,A,d)),e.getToken()===18&&(d=W(e,t,u,0,A,d)),y(e,t|32,1074790417),e.getToken()!==1074790417&&(f=V(e,t,u,0,1,e.tokenStart)),y(e,t|32,1074790417),e.getToken()!==16&&(c=V(e,t,u,0,1,e.tokenStart)),y(e,t|32,16);let w=de(e,t,n,u,o);return e.finishNode({type:"ForStatement",init:d,test:f,update:c,body:w},i)}function Jt(e,t,n){return ge(t,e.getToken())||e.report(118),(e.getToken()&537079808)===537079808&&e.report(119),n?.addBlockName(t,e.tokenValue,8,0),N(e,t)}function Vn(e,t,n){let u=e.tokenStart;r(e,t);let o=null,{tokenStart:i}=e,l=[];if(e.getToken()===134283267)o=O(e,t);else{if(e.getToken()&143360){let g=Jt(e,t,n);if(l=[e.finishNode({type:"ImportDefaultSpecifier",local:g},i)],C(e,t,18))switch(e.getToken()){case 8391476:l.push(bt(e,t,n));break;case 2162700:Dt(e,t,n,l);break;default:e.report(107)}}else switch(e.getToken()){case 8391476:l=[bt(e,t,n)];break;case 2162700:Dt(e,t,n,l);break;case 67174411:return Xt(e,t,void 0,u);case 67108877:return _t(e,t,u);default:e.report(30,B[e.getToken()&255])}o=Rn(e,t)}let f=ze(e,t),c={type:"ImportDeclaration",specifiers:l,source:o,attributes:f};return M(e,t|32),e.finishNode(c,u)}function bt(e,t,n){let{tokenStart:u}=e;if(r(e,t),y(e,t,77932),(e.getToken()&134217728)===134217728)throw new q(u,e.currentLocation,30,B[e.getToken()&255]);return e.finishNode({type:"ImportNamespaceSpecifier",local:Jt(e,t,n)},u)}function Rn(e,t){return y(e,t,209011),e.getToken()!==134283267&&e.report(105,"Import"),O(e,t)}function Dt(e,t,n,u){for(r(e,t);e.getToken()&143360||e.getToken()===134283267;){let{tokenValue:o,tokenStart:i}=e,l=e.getToken(),f=Ce(e,t),c;C(e,t,77932)?((e.getToken()&134217728)===134217728||e.getToken()===18?e.report(106):Be(e,t,16,e.getToken(),0),o=e.tokenValue,c=N(e,t)):f.type==="Identifier"?(Be(e,t,16,l,0),c=e.cloneIdentifier(f)):e.report(25,B[108]),n?.addBlockName(t,o,8,0),u.push(e.finishNode({type:"ImportSpecifier",local:c,imported:f},i)),e.getToken()!==1074790415&&y(e,t,18)}return y(e,t,1074790415),u}function _t(e,t,n){let u=jt(e,t,e.finishNode({type:"Identifier",name:"import"},n),n);return u=F(e,t,void 0,u,0,0,n),u=I(e,t,void 0,0,0,n,u),e.getToken()===18&&(u=W(e,t,void 0,0,n,u)),ie(e,t,u,n)}function Xt(e,t,n,u){let o=Ht(e,t,n,0,u);return o=F(e,t,n,o,0,0,u),e.getToken()===18&&(o=W(e,t,n,0,u,o)),ie(e,t,o,u)}function Mn(e,t,n){let u=e.leadingDecorators.decorators.length?e.leadingDecorators.start:e.tokenStart;r(e,t|32);let o=[],i=null,l=null,f=[];if(C(e,t|32,20561)){switch(e.getToken()){case 86104:{i=x(e,t,n,void 0,4,1,1,0,e.tokenStart);break}case 132:case 86094:i=Ke(e,t,n,void 0,1);break;case 209005:{let{tokenStart:g}=e;i=N(e,t);let{flags:d}=e;(d&1)===0&&(e.getToken()===86104?i=x(e,t,n,void 0,4,1,1,1,g):e.getToken()===67174411?(i=it(e,t,void 0,i,1,1,0,d,g),i=F(e,t,void 0,i,0,0,g),i=I(e,t,void 0,0,0,g,i)):e.getToken()&143360&&(n&&(n=qe(e,t,e.tokenValue)),i=N(e,t),i=ke(e,t,n,void 0,[i],1,g)));break}default:i=L(e,t,void 0,1,0,e.tokenStart),M(e,t|32)}return n&&e.declareUnboundVariable("default"),e.finishNode({type:"ExportDefaultDeclaration",declaration:i},u)}switch(e.getToken()){case 8391476:{r(e,t);let g=null;C(e,t,77932)&&(n&&e.declareUnboundVariable(e.tokenValue),g=Ce(e,t)),y(e,t,209011),e.getToken()!==134283267&&e.report(105,"Export"),l=O(e,t);let a=ze(e,t),h={type:"ExportAllDeclaration",source:l,exported:g,attributes:a};return M(e,t|32),e.finishNode(h,u)}case 2162700:{r(e,t);let g=[],d=[],a=0;for(;e.getToken()&143360||e.getToken()===134283267;){let{tokenStart:h,tokenValue:A}=e,b=Ce(e,t);b.type==="Literal"&&(a=1);let w;e.getToken()===77932?(r(e,t),(e.getToken()&143360)===0&&e.getToken()!==134283267&&e.report(106),n&&(g.push(e.tokenValue),d.push(A)),w=Ce(e,t)):(n&&(g.push(e.tokenValue),d.push(e.tokenValue)),w=b.type==="Literal"?e.cloneStringLiteral(b):e.cloneIdentifier(b)),o.push(e.finishNode({type:"ExportSpecifier",local:b,exported:w},h)),e.getToken()!==1074790415&&y(e,t,18)}y(e,t,1074790415),C(e,t,209011)?(e.getToken()!==134283267&&e.report(105,"Export"),l=O(e,t),f=ze(e,t),n&&g.forEach(h=>e.declareUnboundVariable(h))):(a&&e.report(172),n&&(g.forEach(h=>e.declareUnboundVariable(h)),d.forEach(h=>e.addBindingToExports(h)))),M(e,t|32);break}case 132:case 86094:i=Ke(e,t,n,void 0,2);break;case 86104:i=x(e,t,n,void 0,4,1,2,0,e.tokenStart);break;case 241737:i=He(e,t,n,void 0,8,64);break;case 86090:i=He(e,t,n,void 0,16,64);break;case 86088:i=Ut(e,t,n,void 0,64);break;case 209005:{let{tokenStart:g}=e;if(r(e,t),(e.flags&1)===0&&e.getToken()===86104){i=x(e,t,n,void 0,4,1,2,1,g);break}}default:e.report(30,B[e.getToken()&255])}let c={type:"ExportNamedDeclaration",declaration:i,specifiers:o,source:l,attributes:f};return e.finishNode(c,u)}function L(e,t,n,u,o,i){let l=U(e,t,n,2,0,u,o,1,i);return l=F(e,t,n,l,o,0,i),I(e,t,n,o,0,i,l)}function W(e,t,n,u,o,i){let l=[i];for(;C(e,t|32,18);)l.push(L(e,t,n,1,u,e.tokenStart));return e.finishNode({type:"SequenceExpression",expressions:l},o)}function V(e,t,n,u,o,i){let l=L(e,t,n,o,u,i);return e.getToken()===18?W(e,t,n,u,i,l):l}function I(e,t,n,u,o,i,l){let f=e.getToken();if((f&4194304)===4194304){e.assignable&2&&e.report(26),(!o&&f===1077936155&&l.type==="ArrayExpression"||l.type==="ObjectExpression")&&K(e,l),r(e,t|32);let c=L(e,t,n,1,u,e.tokenStart);return e.assignable=2,e.finishNode(o?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},i)}return(f&8388608)===8388608&&(l=G(e,t,n,u,i,4,f,l)),C(e,t|32,22)&&(l=ee(e,t,n,l,i)),l}function be(e,t,n,u,o,i,l){let f=e.getToken();r(e,t|32);let c=L(e,t,n,1,u,e.tokenStart);return l=e.finishNode(o?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},i),e.assignable=2,l}function ee(e,t,n,u,o){let i=L(e,(t|131072)^131072,n,1,0,e.tokenStart);y(e,t|32,21),e.assignable=1;let l=L(e,t,n,1,0,e.tokenStart);return e.assignable=2,e.finishNode({type:"ConditionalExpression",test:u,consequent:i,alternate:l},o)}function G(e,t,n,u,o,i,l,f){let c=-((t&131072)>0)&8673330,g,d;for(e.assignable=2;e.getToken()&8388608&&(g=e.getToken(),d=g&3840,(g&524288&&l&268435456||l&524288&&g&268435456)&&e.report(165),!(d+((g===8391735)<<8)-((c===g)<<12)<=i));)r(e,t|32),f=e.finishNode({type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:f,right:G(e,t,n,u,e.tokenStart,d,g,_(e,t,n,0,u,1)),operator:B[g&255]},o);return e.getToken()===1077936155&&e.report(26),f}function vn(e,t,n,u,o){u||e.report(0);let{tokenStart:i}=e,l=e.getToken();r(e,t|32);let f=_(e,t,n,0,o,1);return e.getToken()===8391735&&e.report(33),t&1&&l===16863276&&(f.type==="Identifier"?e.report(121):ln(f)&&e.report(127)),e.assignable=2,e.finishNode({type:"UnaryExpression",operator:B[l&255],argument:f,prefix:!0},i)}function Un(e,t,n,u,o,i,l,f){let c=e.getToken(),g=N(e,t),{flags:d}=e;if((d&1)===0){if(e.getToken()===86104)return Kt(e,t,n,1,u,f);if(ge(t,e.getToken()))return o||e.report(0),(e.getToken()&36864)===36864&&(e.flags|=256),Yt(e,t,n,i,f)}return!l&&e.getToken()===67174411?it(e,t,n,g,i,1,0,d,f):e.getToken()===10?(Ie(e,t,c),l&&e.report(51),(c&36864)===36864&&(e.flags|=256),Oe(e,t,n,e.tokenValue,g,l,i,0,f)):(e.assignable=1,g)}function Jn(e,t,n,u,o,i){if(u&&(e.destructible|=256),t&1024){r(e,t|32),t&8192&&e.report(32),o||e.report(26),e.getToken()===22&&e.report(124);let l=null,f=!1;return(e.flags&1)===0?(f=C(e,t|32,8391476),(e.getToken()&77824||f)&&(l=L(e,t,n,1,0,e.tokenStart))):e.getToken()===8391476&&e.report(30,B[e.getToken()&255]),e.assignable=2,e.finishNode({type:"YieldExpression",argument:l,delegate:f},i)}return t&1&&e.report(97,"yield"),ut(e,t,n)}function _n(e,t,n,u,o,i){o&&(e.destructible|=128),t&524288&&e.report(177);let l=ut(e,t,n);if(l.type==="ArrowFunctionExpression"||(e.getToken()&65536)===0){if(t&2048)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},176);if(t&2)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);if(t&8192&&t&2048)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);return l}if(t&8192)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},31);if(t&2048||t&2&&t&8){if(u)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},0);let c=_(e,t,n,0,0,1);return e.getToken()===8391735&&e.report(33),e.assignable=2,e.finishNode({type:"AwaitExpression",argument:c},i)}if(t&2)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},98);return l}function Pe(e,t,n,u,o,i,l){let{tokenStart:f}=e;y(e,t|32,2162700);let c=[];if(e.getToken()!==1074790415){for(;e.getToken()===134283267;){let{index:g,tokenStart:d,tokenIndex:a,tokenValue:h}=e,A=e.getToken(),b=O(e,t);if(Ot(e,g,a,h)){if(t|=1,e.flags&128)throw new q(d,e.currentLocation,66);if(e.flags&64)throw new q(d,e.currentLocation,9);if(e.flags&4096)throw new q(d,e.currentLocation,15);l?.reportScopeError()}c.push(xe(e,t,b,A,d))}t&1&&(i&&((i&537079808)===537079808&&e.report(119),(i&36864)===36864&&e.report(40)),e.flags&512&&e.report(119),e.flags&256&&e.report(118))}for(e.flags=(e.flags|512|256|64|4096)^4928,e.destructible=(e.destructible|256)^256;e.getToken()!==1074790415;)c.push(re(e,t,n,u,4,{}));return y(e,o&24?t|32:t,1074790415),e.flags&=-4289,e.getToken()===1077936155&&e.report(26),e.finishNode({type:"BlockStatement",body:c},f)}function Xn(e,t){let{tokenStart:n}=e;switch(r(e,t),e.getToken()){case 67108990:e.report(167);case 67174411:{(t&512)===0&&e.report(28),e.assignable=2;break}case 69271571:case 67108877:{(t&256)===0&&e.report(29),e.assignable=1;break}default:e.report(30,"super")}return e.finishNode({type:"Super"},n)}function _(e,t,n,u,o,i){let l=e.tokenStart,f=U(e,t,n,2,0,u,o,i,l);return F(e,t,n,f,o,0,l)}function jn(e,t,n,u){e.assignable&2&&e.report(55);let o=e.getToken();return r(e,t),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:n,operator:B[o&255],prefix:!1},u)}function F(e,t,n,u,o,i,l){if((e.getToken()&33619968)===33619968&&(e.flags&1)===0)u=jn(e,t,u,l);else if((e.getToken()&67108864)===67108864){switch(t=(t|131072)^131072,e.getToken()){case 67108877:{r(e,(t|262144|8)^8),t&16&&e.getToken()===130&&e.tokenValue==="super"&&e.report(173),e.assignable=1;let f=pe(e,t|64,n);u=e.finishNode({type:"MemberExpression",object:u,computed:!1,property:f,optional:!1},l);break}case 69271571:{let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048),r(e,t|32);let{tokenStart:c}=e,g=V(e,t,n,o,1,c);y(e,t,20),e.assignable=1,u=e.finishNode({type:"MemberExpression",object:u,computed:!0,property:g,optional:!1},l),f&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,u;let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048);let c=nt(e,t,n,o);e.assignable=2,u=e.finishNode({type:"CallExpression",callee:u,arguments:c,optional:!1},l),f&&(e.flags|=2048);break}case 67108990:{r(e,(t|262144|8)^8),e.flags|=2048,e.assignable=2,u=Hn(e,t,n,u,l);break}default:(e.flags&2048)===2048&&e.report(166),e.assignable=2,u=e.finishNode({type:"TaggedTemplateExpression",tag:u,quasi:e.getToken()===67174408?tt(e,t|64,n):et(e,t)},l)}u=F(e,t,n,u,0,1,l)}return i===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,u=e.finishNode({type:"ChainExpression",expression:u},l)),u}function Hn(e,t,n,u,o){let i=!1,l;if((e.getToken()===69271571||e.getToken()===67174411)&&(e.flags&2048)===2048&&(i=!0,e.flags=(e.flags|2048)^2048),e.getToken()===69271571){r(e,t|32);let{tokenStart:f}=e,c=V(e,t,n,0,1,f);y(e,t,20),e.assignable=2,l=e.finishNode({type:"MemberExpression",object:u,computed:!0,optional:!0,property:c},o)}else if(e.getToken()===67174411){let f=nt(e,t,n,0);e.assignable=2,l=e.finishNode({type:"CallExpression",callee:u,arguments:f,optional:!0},o)}else{let f=pe(e,t,n);e.assignable=2,l=e.finishNode({type:"MemberExpression",object:u,computed:!1,optional:!0,property:f},o)}return i&&(e.flags|=2048),l}function pe(e,t,n){return(e.getToken()&143360)===0&&e.getToken()!==-2147483528&&e.getToken()!==-2147483527&&e.getToken()!==130&&e.report(160),e.getToken()===130?Le(e,t,n,0):N(e,t)}function zn(e,t,n,u,o,i){u&&e.report(56),o||e.report(0);let l=e.getToken();r(e,t|32);let f=_(e,t,n,0,0,1);return e.assignable&2&&e.report(55),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:f,operator:B[l&255],prefix:!0},i)}function U(e,t,n,u,o,i,l,f,c){if((e.getToken()&143360)===143360){switch(e.getToken()){case 209006:return _n(e,t,n,o,l,c);case 241771:return Jn(e,t,n,l,i,c);case 209005:return Un(e,t,n,l,f,i,o,c)}let{tokenValue:g}=e,d=e.getToken(),a=N(e,t|64);return e.getToken()===10?(f||e.report(0),Ie(e,t,d),(d&36864)===36864&&(e.flags|=256),Oe(e,t,n,g,a,o,i,0,c)):(t&16&&!(t&32768)&&!(t&8192)&&e.tokenValue==="arguments"&&e.report(130),(d&255)===73&&(t&1&&e.report(113),u&24&&e.report(100)),e.assignable=t&1&&(d&537079808)===537079808?2:1,a)}if((e.getToken()&134217728)===134217728)return O(e,t);switch(e.getToken()){case 33619993:case 33619994:return zn(e,t,n,o,f,c);case 16863276:case 16842798:case 16842799:case 25233968:case 25233969:case 16863275:case 16863277:return vn(e,t,n,f,l);case 86104:return Kt(e,t,n,0,l,c);case 2162700:return xn(e,t,n,i?0:1,l);case 69271571:return Gn(e,t,n,i?0:1,l);case 67174411:return eu(e,t|64,n,i,1,0,c);case 86021:case 86022:case 86023:return Qn(e,t);case 86111:return Zn(e,t);case 65540:return uu(e,t);case 132:case 86094:return iu(e,t,n,l,c);case 86109:return Xn(e,t);case 67174409:return et(e,t);case 67174408:return tt(e,t,n);case 86107:return tu(e,t,n,l);case 134283388:return zt(e,t);case 130:return Le(e,t,n,0);case 86106:return Kn(e,t,n,o,l,c);case 8456256:if(e.options.jsx)return Re(e,t,n,0,e.tokenStart);default:if(ge(t,e.getToken()))return ut(e,t,n);e.report(30,B[e.getToken()&255])}}function Kn(e,t,n,u,o,i){let l=N(e,t);return e.getToken()===67108877?jt(e,t,l,i):(u&&e.report(142),l=Ht(e,t,n,o,i),e.assignable=2,F(e,t,n,l,o,0,i))}function jt(e,t,n,u){(t&2)===0&&e.report(169),r(e,t);let o=e.getToken();return o!==209030&&e.tokenValue!=="meta"?e.report(174):o&-2147483648&&e.report(175),e.assignable=2,e.finishNode({type:"MetaProperty",meta:n,property:N(e,t)},u)}function Ht(e,t,n,u,o){y(e,t|32,67174411),e.getToken()===14&&e.report(143);let i=L(e,t,n,1,u,e.tokenStart),l=null;if(e.getToken()===18){if(y(e,t,18),e.getToken()!==16){let c=(t|131072)^131072;l=L(e,c,n,1,u,e.tokenStart)}C(e,t,18)}let f={type:"ImportExpression",source:i,options:l};return y(e,t,16),e.finishNode(f,o)}function ze(e,t){if(!C(e,t,20579))return[];y(e,t,2162700);let n=[],u=new Set;for(;e.getToken()!==1074790415;){let o=e.tokenStart,i=Wn(e,t);y(e,t,21);let l=$n(e,t),f=i.type==="Literal"?i.value:i.name;u.has(f)&&e.report(145,`${f}`),u.add(f),n.push(e.finishNode({type:"ImportAttribute",key:i,value:l},o)),e.getToken()!==1074790415&&y(e,t,18)}return y(e,t,1074790415),n}function $n(e,t){if(e.getToken()===134283267)return O(e,t);e.report(30,B[e.getToken()&255])}function Wn(e,t){if(e.getToken()===134283267)return O(e,t);if(e.getToken()&143360)return N(e,t);e.report(30,B[e.getToken()&255])}function Ce(e,t){if(e.getToken()===134283267){let n=e.tokenValue;return rt(0,n)||e.report(171),O(e,t)}else{if(e.getToken()&143360)return N(e,t);e.report(30,B[e.getToken()&255])}}function zt(e,t){let{tokenRaw:n,tokenValue:u,tokenStart:o}=e;r(e,t),e.assignable=2;let i={type:"Literal",value:u,bigint:String(u)};return e.options.raw&&(i.raw=n),e.finishNode(i,o)}function et(e,t){e.assignable=2;let{tokenValue:n,tokenRaw:u,tokenStart:o}=e;y(e,t,67174409);let i=[Ee(e,n,u,o,!0)];return e.finishNode({type:"TemplateLiteral",expressions:[],quasis:i},o)}function tt(e,t,n){t=(t|131072)^131072;let{tokenValue:u,tokenRaw:o,tokenStart:i}=e;y(e,t&-65|32,67174408);let l=[Ee(e,u,o,i,!1)],f=[V(e,t&-65,n,0,1,e.tokenStart)];for(e.getToken()!==1074790415&&e.report(83);e.setToken(un(e,t),!0)!==67174409;){let{tokenValue:c,tokenRaw:g,tokenStart:d}=e;y(e,t&-65|32,67174408),l.push(Ee(e,c,g,d,!1)),f.push(V(e,t,n,0,1,e.tokenStart)),e.getToken()!==1074790415&&e.report(83)}{let{tokenValue:c,tokenRaw:g,tokenStart:d}=e;y(e,t,67174409),l.push(Ee(e,c,g,d,!0))}return e.finishNode({type:"TemplateLiteral",expressions:f,quasis:l},i)}function Ee(e,t,n,u,o){let i=e.finishNode({type:"TemplateElement",value:{cooked:t,raw:n},tail:o},u),l=o?1:2;return e.options.ranges&&(i.start+=1,i.range[0]+=1,i.end-=l,i.range[1]-=l),e.options.loc&&(i.loc.start.column+=1,i.loc.end.column-=l),i}function Yn(e,t,n){let u=e.tokenStart;t=(t|131072)^131072,y(e,t|32,14);let o=L(e,t,n,1,0,e.tokenStart);return e.assignable=1,e.finishNode({type:"SpreadElement",argument:o},u)}function nt(e,t,n,u){r(e,t|32);let o=[];if(e.getToken()===16)return r(e,t|64),o;for(;e.getToken()!==16&&(e.getToken()===14?o.push(Yn(e,t,n)):o.push(L(e,t,n,1,u,e.tokenStart)),!(e.getToken()!==18||(r(e,t|32),e.getToken()===16))););return y(e,t|64,16),o}function N(e,t){let{tokenValue:n,tokenStart:u}=e,o=n==="await"&&(e.getToken()&-2147483648)===0;return r(e,t|(o?32:0)),e.finishNode({type:"Identifier",name:n},u)}function O(e,t){let{tokenValue:n,tokenRaw:u,tokenStart:o}=e;if(e.getToken()===134283388)return zt(e,t);let i={type:"Literal",value:n};return e.options.raw&&(i.raw=u),r(e,t),e.assignable=2,e.finishNode(i,o)}function Qn(e,t){let n=e.tokenStart,u=B[e.getToken()&255],i={type:"Literal",value:e.getToken()===86023?null:u==="true"};return e.options.raw&&(i.raw=u),r(e,t),e.assignable=2,e.finishNode(i,n)}function Zn(e,t){let{tokenStart:n}=e;return r(e,t),e.assignable=2,e.finishNode({type:"ThisExpression"},n)}function x(e,t,n,u,o,i,l,f,c){r(e,t|32);let g=i?Ze(e,t,8391476):0,d=null,a,h=n?e.createScope():void 0;if(e.getToken()===67174411)(l&1)===0&&e.report(39,"Function");else{let T=o&4&&((t&8)===0||(t&2)===0)?4:64|(f?1024:0)|(g?1024:0);Vt(e,t,e.getToken()),n&&(T&4?n.addVarName(t,e.tokenValue,T):n.addBlockName(t,e.tokenValue,T,o),h=h?.createChildScope(128),l&&l&2&&e.declareUnboundVariable(e.tokenValue)),a=e.getToken(),e.getToken()&143360?d=N(e,t):e.report(30,B[e.getToken()&255])}t=(t|28416)^28416|65536|(f?2048:0)|(g?1024:0)|(g?0:262144),h=h?.createChildScope(256);let A=Wt(e,(t|8192)&-524289,h,u,0,1),b=524428,w=Pe(e,(t|b)^b|32768|4096,h?.createChildScope(64),u,8,a,h);return e.finishNode({type:"FunctionDeclaration",id:d,params:A,body:w,async:f===1,generator:g===1},c)}function Kt(e,t,n,u,o,i){r(e,t|32);let l=Ze(e,t,8391476),f=(u?2048:0)|(l?1024:0),c=null,g,d=e.createScopeIfLexical(),a=552704;e.getToken()&143360&&(Vt(e,(t|a)^a|f,e.getToken()),d=d?.createChildScope(128),g=e.getToken(),c=N(e,t)),t=(t|a)^a|65536|f|(l?0:262144),d=d?.createChildScope(256);let h=Wt(e,(t|8192)&-524289,d,n,o,1),A=Pe(e,t&-131229|32768|4096,d?.createChildScope(64),n,0,g,d);return e.assignable=2,e.finishNode({type:"FunctionExpression",id:c,params:h,body:A,async:u===1,generator:l===1},i)}function Gn(e,t,n,u,o){let i=X(e,t,void 0,n,u,o,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),i}function X(e,t,n,u,o,i,l,f,c){let{tokenStart:g}=e;r(e,t|32);let d=[],a=0;for(t=(t|131072)^131072;e.getToken()!==20;)if(C(e,t|32,18))d.push(null);else{let A,{tokenStart:b,tokenValue:w}=e,T=e.getToken();if(T&143360)if(A=U(e,t,u,f,0,1,i,1,b),e.getToken()===1077936155){e.assignable&2&&e.report(26),r(e,t|32),n?.addVarOrBlock(t,w,f,c);let D=L(e,t,u,1,i,e.tokenStart);A=e.finishNode(l?{type:"AssignmentPattern",left:A,right:D}:{type:"AssignmentExpression",operator:"=",left:A,right:D},b),a|=e.destructible&256?256:0|e.destructible&128?128:0}else e.getToken()===18||e.getToken()===20?(e.assignable&2?a|=16:n?.addVarOrBlock(t,w,f,c),a|=e.destructible&256?256:0|e.destructible&128?128:0):(a|=f&1?32:(f&2)===0?16:0,A=F(e,t,u,A,i,0,b),e.getToken()!==18&&e.getToken()!==20?(e.getToken()!==1077936155&&(a|=16),A=I(e,t,u,i,l,b,A)):e.getToken()!==1077936155&&(a|=e.assignable&2?16:32));else T&2097152?(A=e.getToken()===2162700?j(e,t,n,u,0,i,l,f,c):X(e,t,n,u,0,i,l,f,c),a|=e.destructible,e.assignable=e.destructible&16?2:1,e.getToken()===18||e.getToken()===20?e.assignable&2&&(a|=16):e.destructible&8?e.report(71):(A=F(e,t,u,A,i,0,b),a=e.assignable&2?16:0,e.getToken()!==18&&e.getToken()!==20?A=I(e,t,u,i,l,b,A):e.getToken()!==1077936155&&(a|=e.assignable&2?16:32))):T===14?(A=oe(e,t,n,u,20,f,c,0,i,l),a|=e.destructible,e.getToken()!==18&&e.getToken()!==20&&e.report(30,B[e.getToken()&255])):(A=_(e,t,u,1,0,1),e.getToken()!==18&&e.getToken()!==20?(A=I(e,t,u,i,l,b,A),(f&3)===0&&T===67174411&&(a|=16)):e.assignable&2?a|=16:T===67174411&&(a|=e.assignable&1&&f&3?32:16));if(d.push(A),C(e,t|32,18)){if(e.getToken()===20)break}else break}y(e,t,20);let h=e.finishNode({type:l?"ArrayPattern":"ArrayExpression",elements:d},g);return!o&&e.getToken()&4194304?$t(e,t,u,a,i,l,g,h):(e.destructible=a,h)}function $t(e,t,n,u,o,i,l,f){e.getToken()!==1077936155&&e.report(26),r(e,t|32),u&16&&e.report(26),i||K(e,f);let{tokenStart:c}=e,g=L(e,t,n,1,o,c);return e.destructible=(u|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),e.finishNode(i?{type:"AssignmentPattern",left:f,right:g}:{type:"AssignmentExpression",left:f,operator:"=",right:g},l)}function oe(e,t,n,u,o,i,l,f,c,g){let{tokenStart:d}=e;r(e,t|32);let a=null,h=0,{tokenValue:A,tokenStart:b}=e,w=e.getToken();if(w&143360)e.assignable=1,a=U(e,t,u,i,0,1,c,1,b),w=e.getToken(),a=F(e,t,u,a,c,0,b),e.getToken()!==18&&e.getToken()!==o&&(e.assignable&2&&e.getToken()===1077936155&&e.report(71),h|=16,a=I(e,t,u,c,g,b,a)),e.assignable&2?h|=16:w===o||w===18?n?.addVarOrBlock(t,A,i,l):h|=32,h|=e.destructible&128?128:0;else if(w===o)e.report(41);else if(w&2097152)a=e.getToken()===2162700?j(e,t,n,u,1,c,g,i,l):X(e,t,n,u,1,c,g,i,l),w=e.getToken(),w!==1077936155&&w!==o&&w!==18?(e.destructible&8&&e.report(71),a=F(e,t,u,a,c,0,b),h|=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(h|=16),a=I(e,t,u,c,g,b,a)):((e.getToken()&8388608)===8388608&&(a=G(e,t,u,1,b,4,w,a)),C(e,t|32,22)&&(a=ee(e,t,u,a,b)),h|=e.assignable&2?16:32)):h|=o===1074790415&&w!==1077936155?16:e.destructible;else{h|=32,a=_(e,t,u,1,c,1);let{tokenStart:T}=e,D=e.getToken();return D===1077936155?(e.assignable&2&&e.report(26),a=I(e,t,u,c,g,T,a),h|=16):(D===18?h|=16:D!==o&&(a=I(e,t,u,c,g,T,a)),h|=e.assignable&1?32:16),e.destructible=h,e.getToken()!==o&&e.getToken()!==18&&e.report(161),e.finishNode({type:g?"RestElement":"SpreadElement",argument:a},d)}if(e.getToken()!==o)if(i&1&&(h|=f?16:32),C(e,t|32,1077936155)){h&16&&e.report(26),K(e,a);let T=L(e,t,u,1,c,e.tokenStart);a=e.finishNode(g?{type:"AssignmentPattern",left:a,right:T}:{type:"AssignmentExpression",left:a,operator:"=",right:T},b),h=16}else h|=16;return e.destructible=h,e.finishNode({type:g?"RestElement":"SpreadElement",argument:a},d)}function z(e,t,n,u,o,i){let l=11264|((u&64)===0?16896:0);t=(t|l)^l|(u&8?1024:0)|(u&16?2048:0)|(u&64?16384:0)|256|32768|65536;let f=e.createScopeIfLexical(256),c=pn(e,(t|8192)&-524289,f,n,u,1,o);f=f?.createChildScope(64);let g=Pe(e,t&-655373|32768|4096,f,n,0,void 0,f?.parent);return e.finishNode({type:"FunctionExpression",params:c,body:g,async:(u&16)>0,generator:(u&8)>0,id:null},i)}function xn(e,t,n,u,o){let i=j(e,t,void 0,n,u,o,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),i}function j(e,t,n,u,o,i,l,f,c){let{tokenStart:g}=e;r(e,t);let d=[],a=0,h=0;for(t=(t|131072)^131072;e.getToken()!==1074790415;){let{tokenValue:b,tokenStart:w}=e,T=e.getToken();if(T===14)d.push(oe(e,t,n,u,1074790415,f,c,0,i,l));else{let D=0,R=null,k;if(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527)if(e.getToken()===-2147483527&&(a|=16),R=N(e,t),e.getToken()===18||e.getToken()===1074790415||e.getToken()===1077936155)if(D|=4,t&1&&(T&537079808)===537079808?a|=16:Be(e,t,f,T,0),n?.addVarOrBlock(t,b,f,c),C(e,t|32,1077936155)){a|=8;let E=L(e,t,u,1,i,e.tokenStart);a|=e.destructible&256?256:0|e.destructible&128?128:0,k=e.finishNode({type:"AssignmentPattern",left:e.cloneIdentifier(R),right:E},w)}else a|=(T===209006?128:0)|(T===-2147483528?16:0),k=e.cloneIdentifier(R);else if(C(e,t|32,21)){let{tokenStart:E}=e;if(b==="__proto__"&&h++,e.getToken()&143360){let ce=e.getToken(),Y=e.tokenValue;k=U(e,t,u,f,0,1,i,1,E);let $=e.getToken();k=F(e,t,u,k,i,0,E),e.getToken()===18||e.getToken()===1074790415?$===1077936155||$===1074790415||$===18?(a|=e.destructible&128?128:0,e.assignable&2?a|=16:(ce&143360)===143360&&n?.addVarOrBlock(t,Y,f,c)):a|=e.assignable&1?32:16:(e.getToken()&4194304)===4194304?(e.assignable&2?a|=16:$!==1077936155?a|=32:n?.addVarOrBlock(t,Y,f,c),k=I(e,t,u,i,l,E,k)):(a|=16,(e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,$,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):e.destructible&8?e.report(71):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?k=be(e,t,u,i,l,E,k):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,i,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,e.getToken()!==18&&T!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===69271571?(a|=16,T===209005&&(D|=16),D|=(T===209008?256:T===209009?512:1)|2,R=ne(e,t,u,i),a|=e.assignable,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()&143360?(a|=16,T===-2147483528&&e.report(95),T===209005?(e.flags&1&&e.report(132),D|=17):T===209008?D|=256:T===209009?D|=512:e.report(0),R=N(e,t),k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===67174411?(a|=16,D|=1,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===8391476?(a|=16,T===209008?e.report(42):T===209009?e.report(43):T!==209005&&e.report(30,B[52]),r(e,t),D|=9|(T===209005?16:0),e.getToken()&143360?R=N(e,t):(e.getToken()&134217728)===134217728?R=O(e,t):e.getToken()===69271571?(D|=2,R=ne(e,t,u,i),a|=e.assignable):e.report(30,B[e.getToken()&255]),k=z(e,t,u,D,i,e.tokenStart)):(e.getToken()&134217728)===134217728?(T===209005&&(D|=16),D|=T===209008?256:T===209009?512:1,a|=16,R=O(e,t),k=z(e,t,u,D,i,e.tokenStart)):e.report(133);else if((e.getToken()&134217728)===134217728)if(R=O(e,t),e.getToken()===21){y(e,t|32,21);let{tokenStart:E}=e;if(b==="__proto__"&&h++,e.getToken()&143360){k=U(e,t,u,f,0,1,i,1,E);let{tokenValue:ce}=e,Y=e.getToken();k=F(e,t,u,k,i,0,E),e.getToken()===18||e.getToken()===1074790415?Y===1077936155||Y===1074790415||Y===18?e.assignable&2?a|=16:n?.addVarOrBlock(t,ce,f,c):a|=e.assignable&1?32:16:e.getToken()===1077936155?(e.assignable&2&&(a|=16),k=I(e,t,u,i,l,E,k)):(a|=16,k=I(e,t,u,i,l,E,k))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(e.destructible&8)!==8&&(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?k=be(e,t,u,i,l,E,k):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,0,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===67174411?(D|=1,k=z(e,t,u,D,i,e.tokenStart),a=e.assignable|16):e.report(134);else if(e.getToken()===69271571)if(R=ne(e,t,u,i),a|=e.destructible&256?256:0,D|=2,e.getToken()===21){r(e,t|32);let{tokenStart:E,tokenValue:ce}=e,Y=e.getToken();if(e.getToken()&143360){k=U(e,t,u,f,0,1,i,1,E);let $=e.getToken();k=F(e,t,u,k,i,0,E),(e.getToken()&4194304)===4194304?(a|=e.assignable&2?16:$===1077936155?0:32,k=be(e,t,u,i,l,E,k)):e.getToken()===18||e.getToken()===1074790415?$===1077936155||$===1074790415||$===18?e.assignable&2?a|=16:(Y&143360)===143360&&n?.addVarOrBlock(t,ce,f,c):a|=e.assignable&1?32:16:(a|=16,k=I(e,t,u,i,l,E,k))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):a&8?e.report(62):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?a|16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(a|=16),k=be(e,t,u,i,l,E,k)):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,0,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===67174411?(D|=1,k=z(e,t,u,D,i,e.tokenStart),a=16):e.report(44);else if(T===8391476)if(y(e,t|32,8391476),D|=8,e.getToken()&143360){let E=e.getToken();if(R=N(e,t),D|=1,e.getToken()===67174411)a|=16,k=z(e,t,u,D,i,e.tokenStart);else throw new q(e.tokenStart,e.currentLocation,E===209005?46:E===209008||e.getToken()===209009?45:47,B[E&255])}else(e.getToken()&134217728)===134217728?(a|=16,R=O(e,t),D|=1,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===69271571?(a|=16,D|=3,R=ne(e,t,u,i),k=z(e,t,u,D,i,e.tokenStart)):e.report(126);else e.report(30,B[T&255]);a|=e.destructible&128?128:0,e.destructible=a,d.push(e.finishNode({type:"Property",key:R,value:k,kind:D&768?D&512?"set":"get":"init",computed:(D&2)>0,method:(D&1)>0,shorthand:(D&4)>0},w))}if(a|=e.destructible,e.getToken()!==18)break;r(e,t)}y(e,t,1074790415),h>1&&(a|=64);let A=e.finishNode({type:l?"ObjectPattern":"ObjectExpression",properties:d},g);return!o&&e.getToken()&4194304?$t(e,t,u,a,i,l,g,A):(e.destructible=a,A)}function pn(e,t,n,u,o,i,l){y(e,t,67174411);let f=[];if(e.flags=(e.flags|128)^128,e.getToken()===16)return o&512&&e.report(37,"Setter","one",""),r(e,t),f;o&256&&e.report(37,"Getter","no","s"),o&512&&e.getToken()===14&&e.report(38),t=(t|131072)^131072;let c=0,g=0;for(;e.getToken()!==18;){let d=null,{tokenStart:a}=e;if(e.getToken()&143360?((t&1)===0&&((e.getToken()&36864)===36864&&(e.flags|=256),(e.getToken()&537079808)===537079808&&(e.flags|=512)),d=ot(e,t,n,o|1,0)):(e.getToken()===2162700?d=j(e,t,n,u,1,l,1,i,0):e.getToken()===69271571?d=X(e,t,n,u,1,l,1,i,0):e.getToken()===14&&(d=oe(e,t,n,u,16,i,0,0,l,1)),g=1,e.destructible&48&&e.report(50)),e.getToken()===1077936155){r(e,t|32),g=1;let h=L(e,t,u,1,0,e.tokenStart);d=e.finishNode({type:"AssignmentPattern",left:d,right:h},a)}if(c++,f.push(d),!C(e,t,18)||e.getToken()===16)break}return o&512&&c!==1&&e.report(37,"Setter","one",""),n?.reportScopeError(),g&&(e.flags|=128),y(e,t,16),f}function ne(e,t,n,u){r(e,t|32);let o=L(e,(t|131072)^131072,n,1,u,e.tokenStart);return y(e,t,20),o}function eu(e,t,n,u,o,i,l){e.flags=(e.flags|128)^128;let f=e.tokenStart;r(e,t|32|262144);let c=e.createScopeIfLexical()?.createChildScope(512);if(t=(t|131072)^131072,C(e,t,16))return Ne(e,t,c,n,[],u,0,l);let g=0;e.destructible&=-385;let d,a=[],h=0,A=0,b=0,w=e.tokenStart;for(e.assignable=1;e.getToken()!==16;){let{tokenStart:T}=e,D=e.getToken();if(D&143360)c?.addBlockName(t,e.tokenValue,1,0),(D&537079808)===537079808?A=1:(D&36864)===36864&&(b=1),d=U(e,t,n,o,0,1,1,1,T),e.getToken()===16||e.getToken()===18?e.assignable&2&&(g|=16,A=1):(e.getToken()===1077936155?A=1:g|=16,d=F(e,t,n,d,1,0,T),e.getToken()!==16&&e.getToken()!==18&&(d=I(e,t,n,1,0,T,d)));else if((D&2097152)===2097152)d=D===2162700?j(e,t|262144,c,n,0,1,0,o,i):X(e,t|262144,c,n,0,1,0,o,i),g|=e.destructible,A=1,e.assignable=2,e.getToken()!==16&&e.getToken()!==18&&(g&8&&e.report(122),d=F(e,t,n,d,0,0,T),g|=16,e.getToken()!==16&&e.getToken()!==18&&(d=I(e,t,n,0,0,T,d)));else if(D===14){d=oe(e,t,c,n,16,o,i,0,1,0),e.destructible&16&&e.report(74),A=1,h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),g|=8;break}else{if(g|=16,d=L(e,t,n,1,1,T),h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),e.getToken()===18&&(h||(h=1,a=[d])),h){for(;C(e,t|32,18);)a.push(L(e,t,n,1,1,e.tokenStart));e.assignable=2,d=e.finishNode({type:"SequenceExpression",expressions:a},w)}return y(e,t,16),e.destructible=g,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:d},f):d}if(h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),!C(e,t|32,18))break;if(h||(h=1,a=[d]),e.getToken()===16){g|=8;break}}return h&&(e.assignable=2,d=e.finishNode({type:"SequenceExpression",expressions:a},w)),y(e,t,16),g&16&&g&8&&e.report(151),g|=e.destructible&256?256:0|e.destructible&128?128:0,e.getToken()===10?(g&48&&e.report(49),t&2050&&g&128&&e.report(31),t&1025&&g&256&&e.report(32),A&&(e.flags|=128),b&&(e.flags|=256),Ne(e,t,c,n,h?a:[d],u,0,l)):(g&64&&e.report(63),g&8&&e.report(144),e.destructible=(e.destructible|256)^256|g,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:d},f):d)}function ut(e,t,n){let{tokenStart:u}=e,{tokenValue:o}=e,i=0,l=0;(e.getToken()&537079808)===537079808?i=1:(e.getToken()&36864)===36864&&(l=1);let f=N(e,t);if(e.assignable=1,e.getToken()===10){let c=e.options.lexical?qe(e,t,o):void 0;return i&&(e.flags|=128),l&&(e.flags|=256),ke(e,t,c,n,[f],0,u)}return f}function Oe(e,t,n,u,o,i,l,f,c){l||e.report(57),i&&e.report(51),e.flags&=-129;let g=e.options.lexical?qe(e,t,u):void 0;return ke(e,t,g,n,[o],f,c)}function Ne(e,t,n,u,o,i,l,f){i||e.report(57);for(let c=0;c0&&e.tokenValue==="constructor"&&e.report(109),e.getToken()===1074790415&&e.report(108),C(e,t,1074790417)){b.length>0&&e.report(120);continue}h.push(Zt(e,t,u,g,n,i,b,0,f,b.length>0?A:e.tokenStart))}return y(e,l&8?t|32:t,1074790415),g?.validatePrivateIdentifierRefs(),e.flags=e.flags&-33|a,e.finishNode({type:"ClassBody",body:h},c)}function Zt(e,t,n,u,o,i,l,f,c,g){let d=f?32:0,a=null,h=e.getToken();if(h&176128||h===-2147483528)switch(a=N(e,t),h){case 36970:if(!f&&e.getToken()!==67174411&&(e.getToken()&1048576)!==1048576&&e.getToken()!==1077936155)return Zt(e,t,n,u,o,i,l,1,c,g);break;case 209005:if(e.getToken()!==67174411&&(e.flags&1)===0){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=16|(Ze(e,t,8391476)?8:0)}break;case 209008:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=256}break;case 209009:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=512}break;case 12402:if(e.getToken()!==67174411&&(e.flags&1)===0){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);e.options.next&&(d|=1024)}break}else if(h===69271571)d|=2,a=ne(e,o,u,c);else if((h&134217728)===134217728)a=O(e,t);else if(h===8391476)d|=8,r(e,t);else if(e.getToken()===130)d|=8192,a=Le(e,t|16,u,768);else if((e.getToken()&1073741824)===1073741824)d|=128;else{if(f&&h===2162700)return In(e,t|16,n,u,g);h===-2147483527?(a=N(e,t),e.getToken()!==67174411&&e.report(30,B[e.getToken()&255])):e.report(30,B[e.getToken()&255])}if(d&1816&&(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527?a=N(e,t):(e.getToken()&134217728)===134217728?a=O(e,t):e.getToken()===69271571?(d|=2,a=ne(e,t,u,0)):e.getToken()===130?(d|=8192,a=Le(e,t,u,d)):e.report(135)),(d&2)===0&&(e.tokenValue==="constructor"?((e.getToken()&1073741824)===1073741824?e.report(129):(d&32)===0&&e.getToken()===67174411&&(d&920?e.report(53,"accessor"):(t&512)===0&&(e.flags&32?e.report(54):e.flags|=32)),d|=64):(d&8192)===0&&d&32&&e.tokenValue==="prototype"&&e.report(52)),d&1024||e.getToken()!==67174411&&(d&768)===0)return se(e,t,u,a,d,l,g);let A=z(e,t|16,u,d,c,e.tokenStart);return e.finishNode({type:"MethodDefinition",kind:(d&32)===0&&d&64?"constructor":d&256?"get":d&512?"set":"method",static:(d&32)>0,computed:(d&2)>0,key:a,value:A,...e.options.next?{decorators:l}:null},g)}function Le(e,t,n,u){let{tokenStart:o}=e;r(e,t);let{tokenValue:i}=e;return i==="constructor"&&e.report(128),e.options.lexical&&(n||e.report(4,i),u?n.addPrivateIdentifier(i,u):n.addPrivateIdentifierRef(i)),r(e,t),e.finishNode({type:"PrivateIdentifier",name:i},o)}function se(e,t,n,u,o,i,l){let f=null;if(o&8&&e.report(0),e.getToken()===1077936155){r(e,t|32);let{tokenStart:c}=e;e.getToken()===537079927&&e.report(119);let g=11264|((o&64)===0?16896:0);t=(t|g)^g|(o&8?1024:0)|(o&16?2048:0)|(o&64?16384:0)|256|65536,f=U(e,t|16,n,2,0,1,0,1,c),((e.getToken()&1073741824)!==1073741824||(e.getToken()&4194304)===4194304)&&(f=F(e,t|16,n,f,0,0,c),f=I(e,t|16,n,0,0,c,f))}return M(e,t),e.finishNode({type:o&1024?"AccessorProperty":"PropertyDefinition",key:u,value:f,static:(o&32)>0,computed:(o&2)>0,...e.options.next?{decorators:i}:null},l)}function Gt(e,t,n,u,o,i){if(e.getToken()&143360||(t&1)===0&&e.getToken()===-2147483527)return ot(e,t,n,o,i);(e.getToken()&2097152)!==2097152&&e.report(30,B[e.getToken()&255]);let l=e.getToken()===69271571?X(e,t,n,u,1,0,1,o,i):j(e,t,n,u,1,0,1,o,i);return e.destructible&16&&e.report(50),e.destructible&32&&e.report(50),l}function ot(e,t,n,u,o){let i=e.getToken();t&1&&((i&537079808)===537079808?e.report(119):((i&36864)===36864||i===-2147483527)&&e.report(118)),(i&20480)===20480&&e.report(102),i===241771&&(t&1024&&e.report(32),t&2&&e.report(111)),(i&255)===73&&u&24&&e.report(100),i===209006&&(t&2048&&e.report(176),t&2&&e.report(110));let{tokenValue:l,tokenStart:f}=e;return r(e,t),n?.addVarOrBlock(t,l,u,o),e.finishNode({type:"Identifier",name:l},f)}function Re(e,t,n,u,o){if(u||y(e,t,8456256),e.getToken()===8390721){let c=lu(e,o),[g,d]=du(e,t,n,u);return e.finishNode({type:"JSXFragment",openingFragment:c,children:g,closingFragment:d},o)}e.getToken()===8457014&&e.report(30,B[e.getToken()&255]);let i=null,l=[],f=mu(e,t,n,u,o);if(!f.selfClosing){[l,i]=su(e,t,n,u);let c=Fe(i.name);Fe(f.name)!==c&&e.report(155,c)}return e.finishNode({type:"JSXElement",children:l,openingElement:f,closingElement:i},o)}function lu(e,t){return me(e),e.finishNode({type:"JSXOpeningFragment"},t)}function fu(e,t,n,u){y(e,t,8457014);let o=pt(e,t);return e.getToken()!==8390721&&e.report(25,B[65]),n?me(e):r(e,t),e.finishNode({type:"JSXClosingElement",name:o},u)}function cu(e,t,n,u){return y(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),n?me(e):r(e,t),e.finishNode({type:"JSXClosingFragment"},u)}function su(e,t,n,u){let o=[];for(;;){let i=au(e,t,n,u);if(i.type==="JSXClosingElement")return[o,i];o.push(i)}}function du(e,t,n,u){let o=[];for(;;){let i=gu(e,t,n,u);if(i.type==="JSXClosingFragment")return[o,i];o.push(i)}}function au(e,t,n,u){if(e.getToken()===137)return xt(e,t);if(e.getToken()===2162700)return lt(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:o}=e;return r(e,t),e.getToken()===8457014?fu(e,t,u,o):Re(e,t,n,1,o)}e.report(0)}function gu(e,t,n,u){if(e.getToken()===137)return xt(e,t);if(e.getToken()===2162700)return lt(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:o}=e;return r(e,t),e.getToken()===8457014?cu(e,t,u,o):Re(e,t,n,1,o)}e.report(0)}function xt(e,t){let n=e.tokenStart;r(e,t);let u={type:"JSXText",value:e.tokenValue};return e.options.raw&&(u.raw=e.tokenRaw),e.finishNode(u,n)}function mu(e,t,n,u,o){(e.getToken()&143360)!==143360&&(e.getToken()&4096)!==4096&&e.report(0);let i=pt(e,t),l=hu(e,t,n),f=e.getToken()===8457014;return f&&y(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),u||!f?me(e):r(e,t),e.finishNode({type:"JSXOpeningElement",name:i,attributes:l,selfClosing:f},o)}function pt(e,t){let{tokenStart:n}=e;Je(e);let u=Me(e,t);if(e.getToken()===21)return e2(e,t,u,n);for(;C(e,t,67108877);)Je(e),u=ru(e,t,u,n);return u}function ru(e,t,n,u){let o=Me(e,t);return e.finishNode({type:"JSXMemberExpression",object:n,property:o},u)}function hu(e,t,n){let u=[];for(;e.getToken()!==8457014&&e.getToken()!==8390721&&e.getToken()!==1048576;)u.push(yu(e,t,n));return u}function ku(e,t,n){let u=e.tokenStart;r(e,t),y(e,t,14);let o=L(e,t,n,1,0,e.tokenStart);return y(e,t,1074790415),e.finishNode({type:"JSXSpreadAttribute",argument:o},u)}function yu(e,t,n){let{tokenStart:u}=e;if(e.getToken()===2162700)return ku(e,t,n);Je(e);let o=null,i=Me(e,t);if(e.getToken()===21&&(i=e2(e,t,i,u)),e.getToken()===1077936155)switch(cn(e,t)){case 134283267:o=O(e,t);break;case 8456256:o=Re(e,t,n,0,e.tokenStart);break;case 2162700:o=lt(e,t,n,0,1);break;default:e.report(154)}return e.finishNode({type:"JSXAttribute",value:o,name:i},u)}function e2(e,t,n,u){y(e,t,21);let o=Me(e,t);return e.finishNode({type:"JSXNamespacedName",namespace:n,name:o},u)}function lt(e,t,n,u,o){let{tokenStart:i}=e;r(e,t|32);let{tokenStart:l}=e;if(e.getToken()===14)return Au(e,t,n,i);let f=null;return e.getToken()===1074790415?(o&&e.report(157),f=Tu(e,{index:e.startIndex,line:e.startLine,column:e.startColumn})):f=L(e,t,n,1,0,l),e.getToken()!==1074790415&&e.report(25,B[15]),u?me(e):r(e,t),e.finishNode({type:"JSXExpressionContainer",expression:f},i)}function Au(e,t,n,u){y(e,t,14);let o=L(e,t,n,1,0,e.tokenStart);return y(e,t,1074790415),e.finishNode({type:"JSXSpreadChild",expression:o},u)}function Tu(e,t){return e.finishNode({type:"JSXEmptyExpression"},t,e.tokenStart)}function Me(e,t){let n=e.tokenStart;e.getToken()&143360||e.report(30,B[e.getToken()&255]);let{tokenValue:u}=e;return r(e,t),e.finishNode({type:"JSXIdentifier",name:u},n)}function t2(e,t){return mn(e,t)}function bu(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var n2=bu;function u2(e){let t=[];for(let n of e)try{return n()}catch(u){t.push(u)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var Du=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let n=this[t];if(e(n,t,this))return n}},Cu=Q("findLast",function(){if(Array.isArray(this))return Du}),i2=Cu;function Eu(e){return this[e<0?this.length+e:e]}var wu=Q("at",function(){if(Array.isArray(this)||typeof this=="string")return Eu}),o2=wu;function H(e){let t=e.range?.[0]??e.start,n=(e.declaration?.decorators??e.decorators)?.[0];return n?Math.min(H(n),t):t}function J(e){return e.range?.[1]??e.end}function Su(e){let t=new Set(e);return n=>t.has(n?.type)}var le=Su;var Bu=le(["Block","CommentBlock","MultiLine"]),fe=Bu;var Fu=le(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),l2=Fu;var ft=new WeakMap;function Nu(e){return ft.has(e)||ft.set(e,fe(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)),ft.get(e)}var f2=Nu;function Lu(e){if(!fe(e))return!1;let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(n=>n.trimStart()[0]==="*")}var ct=new WeakMap;function Iu(e){return ct.has(e)||ct.set(e,Lu(e)),ct.get(e)}var st=Iu;function qu(e){if(e.length<2)return;let t;for(let n=e.length-1;n>=0;n--){let u=e[n];if(t&&J(u)===H(t)&&st(u)&&st(t)&&(e.splice(n+1,1),u.value+="*//*"+t.value,u.range=[H(u),J(t)]),!l2(u)&&!fe(u))throw new TypeError(`Unknown comment type: "${u.type}".`);t=u}}var c2=qu;function Pu(e){return e!==null&&typeof e=="object"}var s2=Pu;var ye=null;function Ae(e){if(ye!==null&&typeof ye.property){let t=ye;return ye=Ae.prototype=null,t}return ye=Ae.prototype=e??Object.create(null),new Ae}var Ou=10;for(let e=0;e<=Ou;e++)Ae();function dt(e){return Ae(e)}function Vu(e,t="type"){dt(e);function n(u){let o=u[t],i=e[o];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:u});return i}return n}var d2=Vu;var s=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],a2={AccessorProperty:s[0],AnyTypeAnnotation:s[1],ArgumentPlaceholder:s[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:s[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:s[3],AsExpression:s[4],AssignmentExpression:s[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:s[6],BigIntLiteral:s[1],BigIntLiteralTypeAnnotation:s[1],BigIntTypeAnnotation:s[1],BinaryExpression:s[5],BindExpression:["object","callee"],BlockStatement:s[7],BooleanLiteral:s[1],BooleanLiteralTypeAnnotation:s[1],BooleanTypeAnnotation:s[1],BreakStatement:s[8],CallExpression:s[9],CatchClause:["param","body"],ChainExpression:s[3],ClassAccessorProperty:s[0],ClassBody:s[10],ClassDeclaration:s[11],ClassExpression:s[11],ClassImplements:s[12],ClassMethod:s[13],ClassPrivateMethod:s[13],ClassPrivateProperty:s[14],ClassProperty:s[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:s[15],ConditionalExpression:s[16],ConditionalTypeAnnotation:s[17],ContinueStatement:s[8],DebuggerStatement:s[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:s[18],DeclareEnum:s[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:s[20],DeclareFunction:["id","predicate"],DeclareHook:s[21],DeclareInterface:s[22],DeclareModule:s[19],DeclareModuleExports:s[23],DeclareNamespace:s[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:s[24],DeclareVariable:s[21],Decorator:s[3],Directive:s[18],DirectiveLiteral:s[1],DoExpression:s[10],DoWhileStatement:s[25],EmptyStatement:s[1],EmptyTypeAnnotation:s[1],EnumBigIntBody:s[26],EnumBigIntMember:s[27],EnumBooleanBody:s[26],EnumBooleanMember:s[27],EnumDeclaration:s[19],EnumDefaultedMember:s[21],EnumNumberBody:s[26],EnumNumberMember:s[27],EnumStringBody:s[26],EnumStringMember:s[27],EnumSymbolBody:s[26],ExistsTypeAnnotation:s[1],ExperimentalRestProperty:s[6],ExperimentalSpreadProperty:s[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:s[28],ExportNamedDeclaration:s[20],ExportNamespaceSpecifier:s[28],ExportSpecifier:["local","exported"],ExpressionStatement:s[3],File:["program"],ForInStatement:s[29],ForOfStatement:s[29],ForStatement:["init","test","update","body"],FunctionDeclaration:s[30],FunctionExpression:s[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:s[15],GenericTypeAnnotation:s[12],HookDeclaration:s[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:s[16],ImportAttribute:s[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:s[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:s[33],ImportSpecifier:["imported","local"],IndexedAccessType:s[34],InferredPredicate:s[1],InferTypeAnnotation:s[35],InterfaceDeclaration:s[22],InterfaceExtends:s[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:s[1],IntersectionTypeAnnotation:s[36],JsExpressionRoot:s[37],JsonRoot:s[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:s[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:s[1],JSXExpressionContainer:s[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:s[1],JSXMemberExpression:s[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:s[1],JSXSpreadAttribute:s[6],JSXSpreadChild:s[3],JSXText:s[1],KeyofTypeAnnotation:s[6],LabeledStatement:["label","body"],Literal:s[1],LogicalExpression:s[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:s[21],MatchExpression:s[39],MatchExpressionCase:s[40],MatchIdentifierPattern:s[21],MatchLiteralPattern:s[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:s[6],MatchStatement:s[39],MatchStatementCase:s[40],MatchUnaryPattern:s[6],MatchWildcardPattern:s[1],MemberExpression:s[38],MetaProperty:["meta","property"],MethodDefinition:s[42],MixedTypeAnnotation:s[1],ModuleExpression:s[10],NeverTypeAnnotation:s[1],NewExpression:s[9],NGChainedExpression:s[43],NGEmptyExpression:s[1],NGMicrosyntax:s[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:s[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:s[32],NGPipeExpression:["left","right","arguments"],NGRoot:s[37],NullableTypeAnnotation:s[23],NullLiteral:s[1],NullLiteralTypeAnnotation:s[1],NumberLiteralTypeAnnotation:s[1],NumberTypeAnnotation:s[1],NumericLiteral:s[1],ObjectExpression:["properties"],ObjectMethod:s[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:s[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:s[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:s[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:s[9],OptionalIndexedAccessType:s[34],OptionalMemberExpression:s[38],ParenthesizedExpression:s[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:s[1],PipelineTopicExpression:s[3],Placeholder:s[1],PrivateIdentifier:s[1],PrivateName:s[21],Program:s[7],Property:s[32],PropertyDefinition:s[14],QualifiedTypeIdentifier:s[44],QualifiedTypeofIdentifier:s[44],RegExpLiteral:s[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:s[6],SatisfiesExpression:s[4],SequenceExpression:s[43],SpreadElement:s[6],StaticBlock:s[10],StringLiteral:s[1],StringLiteralTypeAnnotation:s[1],StringTypeAnnotation:s[1],Super:s[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:s[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:s[1],TemplateLiteral:["quasis","expressions"],ThisExpression:s[1],ThisTypeAnnotation:s[1],ThrowStatement:s[6],TopicReference:s[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:s[45],TSAbstractKeyword:s[1],TSAbstractMethodDefinition:s[32],TSAbstractPropertyDefinition:s[45],TSAnyKeyword:s[1],TSArrayType:s[2],TSAsExpression:s[4],TSAsyncKeyword:s[1],TSBigIntKeyword:s[1],TSBooleanKeyword:s[1],TSCallSignatureDeclaration:s[46],TSClassImplements:s[47],TSConditionalType:s[17],TSConstructorType:s[46],TSConstructSignatureDeclaration:s[46],TSDeclareFunction:s[31],TSDeclareKeyword:s[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:s[26],TSEnumDeclaration:s[19],TSEnumMember:["id","initializer"],TSExportAssignment:s[3],TSExportKeyword:s[1],TSExternalModuleReference:s[3],TSFunctionType:s[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:s[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:s[35],TSInstantiationExpression:s[47],TSInterfaceBody:s[10],TSInterfaceDeclaration:s[22],TSInterfaceHeritage:s[47],TSIntersectionType:s[36],TSIntrinsicKeyword:s[1],TSJSDocAllType:s[1],TSJSDocNonNullableType:s[23],TSJSDocNullableType:s[23],TSJSDocUnknownType:s[1],TSLiteralType:s[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:s[10],TSModuleDeclaration:s[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:s[21],TSNeverKeyword:s[1],TSNonNullExpression:s[3],TSNullKeyword:s[1],TSNumberKeyword:s[1],TSObjectKeyword:s[1],TSOptionalType:s[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:s[23],TSPrivateKeyword:s[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:s[1],TSPublicKeyword:s[1],TSQualifiedName:s[5],TSReadonlyKeyword:s[1],TSRestType:s[23],TSSatisfiesExpression:s[4],TSStaticKeyword:s[1],TSStringKeyword:s[1],TSSymbolKeyword:s[1],TSTemplateLiteralType:["quasis","types"],TSThisType:s[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:s[23],TSTypeAssertion:s[4],TSTypeLiteral:s[26],TSTypeOperator:s[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:s[48],TSTypeParameterInstantiation:s[48],TSTypePredicate:s[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:s[1],TSUnionType:s[36],TSUnknownKeyword:s[1],TSVoidKeyword:s[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:s[24],TypeAnnotation:s[23],TypeCastExpression:s[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:s[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:s[48],TypeParameterInstantiation:s[48],TypePredicate:s[49],UnaryExpression:s[6],UndefinedTypeAnnotation:s[1],UnionTypeAnnotation:s[36],UnknownTypeAnnotation:s[1],UpdateExpression:s[6],V8IntrinsicIdentifier:s[1],VariableDeclaration:["declarations"],VariableDeclarator:s[27],Variance:s[1],VoidPattern:s[1],VoidTypeAnnotation:s[1],WhileStatement:s[25],WithStatement:["object","body"],YieldExpression:s[6]};var Ru=d2(a2),g2=Ru;function ve(e,t){if(!s2(e))return e;if(Array.isArray(e)){for(let u=0;uA<=d);a=h&&u.slice(h,d).trim().length===0}return a?void 0:(g.extra={...g.extra,parenthesized:!0},g)}case"TemplateLiteral":if(c.expressions.length!==c.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(n==="flow"||n==="hermes"||n==="espree"||n==="typescript"||i){let g=H(c)+1,d=J(c)-(c.tail?1:2);c.range=[g,d]}break;case"VariableDeclaration":{let g=o2(0,c.declarations,-1);g?.init&&u[J(g)]!==";"&&(c.range=[H(c),J(g)]);break}case"TSParenthesizedType":return c.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(c.types.length===1)return c.types[0];break;case"ImportExpression":n==="hermes"&&c.attributes&&!c.options&&(c.options=c.attributes);break}},onLeave(c){switch(c.type){case"LogicalExpression":if(r2(c))return at(c);break;case"TSImportType":!c.source&&c.argument.type==="TSLiteralType"&&(c.source=c.argument.literal,delete c.argument);break}}}),e}function r2(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function at(e){return r2(e)?at({type:"LogicalExpression",operator:e.operator,left:at({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[H(e.left),J(e.right.left)]}),right:e.right.right,range:[H(e),J(e)]}):e}var h2=Mu;var vu=/\*\/$/,Uu=/^\/\*\*?/,Ju=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,_u=/(^|\s+)\/\/([^\n\r]*)/g,k2=/^(\r?\n)+/,Xu=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,y2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,ju=/(\r?\n|^) *\* ?/g,Hu=[];function A2(e){let t=e.match(Ju);return t?t[0].trimStart():""}function T2(e){e=p(0,e.replace(Uu,"").replace(vu,""),ju,"$1");let n="";for(;n!==e;)n=e,e=p(0,e,Xu,` +$1 $2 +`);e=e.replace(k2,"").trimEnd();let u=Object.create(null),o=p(0,e,y2,"").replace(k2,"").trimEnd(),i;for(;i=y2.exec(e);){let l=p(0,i[2],_u,"");if(typeof u[i[1]]=="string"||Array.isArray(u[i[1]])){let f=u[i[1]];u[i[1]]=[...Hu,...Array.isArray(f)?f:[f],l]}else u[i[1]]=l}return{comments:o,pragmas:u}}var b2=["noformat","noprettier"],D2=["format","prettier"];function zu(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var C2=zu;function E2(e){let t=C2(e);t&&(e=e.slice(t.length+1));let n=A2(e),{pragmas:u,comments:o}=T2(n);return{shebang:t,text:e,pragmas:u,comments:o}}function w2(e){let{pragmas:t}=E2(e);return D2.some(n=>Object.prototype.hasOwnProperty.call(t,n))}function S2(e){let{pragmas:t}=E2(e);return b2.some(n=>Object.prototype.hasOwnProperty.call(t,n))}function Ku(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:w2,hasIgnorePragma:S2,locStart:H,locEnd:J,...e}}var B2=Ku;var F2="module";var N2="commonjs",L2=[F2,N2];function I2(e){if(typeof e=="string"){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/iu.test(e))return F2;if(/\.(?:cjs|cts)$/iu.test(e))return N2}}var $u={next:!0,ranges:!0,webcompat:!0,loc:!1,raw:!0,directives:!0,impliedStrict:!1,preserveParens:!0,lexical:!1,jsx:!0,validateRegex:!1};function Wu(e,t){let n=[],u=t2(e,{...$u,sourceType:t,onComment:n});return u.comments=n,u}function Yu(e){let{description:t,loc:n}=e;return n?n2(t,{loc:{start:{line:n.start.line,column:n.start.column+1},end:{line:n.end.line,column:n.end.column+1}},cause:e}):e}function Qu(e,t){let n=I2(t?.filepath),u=(n?[n]:L2).map(i=>()=>Wu(e,i)),o;try{o=u2(u)}catch({errors:[i]}){throw Yu(i)}return h2(o,{parser:"meriyah",text:e})}var Zu=B2(Qu);return R2(Gu);}); \ No newline at end of file diff --git a/shared/node_modules/prettier/plugins/meriyah.mjs b/shared/node_modules/prettier/plugins/meriyah.mjs new file mode 100644 index 0000000000000000000000000000000000000000..11c501bdce774f53328dd5f23a234dd243a1ee87 --- /dev/null +++ b/shared/node_modules/prettier/plugins/meriyah.mjs @@ -0,0 +1,5 @@ +var q2=Object.defineProperty;var gt=(e,t)=>{for(var n in t)q2(e,n,{get:t[n],enumerable:!0})};var I2={};gt(I2,{parsers:()=>at});var at={};gt(at,{meriyah:()=>$u});var Q=(e,t)=>(n,u,...o)=>n|1&&u==null?void 0:(t.call(u)??u[e]).apply(u,o);var P2=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},O2=Q("replaceAll",function(){if(typeof this=="string")return P2}),p=O2;var V2=55296,R2=56319,M2=56320,v2=String.prototype.isWellFormed??function(){let{length:e}=this;for(let t=0;tR2||++t>=e||(this.charCodeAt(t)&64512)!==M2))return!1}return!0},U2=Q("isWellFormed",function(){if(typeof this=="string")return v2}),mt=U2;var Dt=((e,t)=>{let n=new Uint32Array(69632),u=0,o=0;for(;u<2597;){let i=e[u++];if(i<0)o-=i;else{let l=e[u++];i&2&&(l=t[l]),i&1?n.fill(l,o,o+=e[u++]):n[o++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,61,2,62,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,63,2,0,0,4294836735,0,3221225471,0,4294901942,2,64,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,58,2,7,2,6,0,4286643967,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,929054175,0,65487,0,4294828015,0,4092591615,0,1885355487,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,69,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,70,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,9,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2151677951,2,29,2,10,0,909311,3,0,2,0,814743551,2,48,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,108,2,51,2,0,2,79,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,9,2,18,3,0,2,2,53,0,1046528,3,0,3,2,10,2,0,2,127,0,4294960127,2,9,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,0,12288,2,54,0,1048577,2,84,2,14,-1,2,14,0,131042,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,88,2,2,0,-16,2,89,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,2,18,2,0,0,3220242431,3,0,3,2,19,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,2,0,0,4351,2,0,2,10,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,10,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,99,2,100,2,22,2,23,3,0,3,0,67057663,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,2,25,0,1638399,0,57344,2,107,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,65,2,6,2,12,2,9,2,0,2,113,-1,3,0,4,2,9,2,23,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,125,0,4227858432,2,20,2,43,2,36,2,17,2,37,2,17,2,124,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,145,2,0,2,56,2,55,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,59,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,133,0,4190109695,2,52,-2,2,134,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,66,2,17,2,0,2,42,-3,2,31,-2,2,0,2,45,2,57,2,44,2,45,2,135,2,46,0,8388351,-2,2,136,0,3028287487,2,47,2,138,0,33259519,2,23,2,7,2,48,-7,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,8323099,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,0,4294954999,2,0,-16,2,0,2,90,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,155,-6,0,4194303871,0,4294903771,2,0,2,58,2,98,-3,2,0,0,1073684479,0,17407,-9,2,17,2,49,2,0,2,32,-14,2,17,2,32,-6,2,17,2,12,-6,2,8,0,3225419775,-7,2,156,3,0,6,0,8323103,-1,3,0,2,2,59,-37,2,60,2,157,2,158,2,159,2,160,2,161,-105,2,26,-32,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-22116,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,61,2,62,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,63,2,0,2,34,-1,2,17,2,64,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,65,3,0,2,0,131135,2,96,0,70256639,0,71303167,0,272,2,42,2,6,0,65279,2,0,2,48,-1,2,97,2,66,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,68,2,67,0,33554435,2,131,2,68,0,2952790016,0,131075,0,3594373096,0,67094296,2,67,-1,0,4294828e3,0,603979263,0,922746880,0,3,0,4294828001,0,602930687,0,1879048192,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,69,2,38,-1,2,4,0,917503,2,38,-1,2,70,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,71,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2147745791,3,19,2,0,122879,2,0,2,10,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,17,2,51,2,0,2,79,2,48,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,10,0,8160,-1,2,126,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,9,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,-3,2,84,2,14,-3,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,88,2,-17,2,89,0,524157950,2,4,2,0,2,90,2,4,2,0,2,22,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,0,3072,2,0,0,2147516415,2,9,3,0,2,2,25,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,0,4294965179,0,7,2,0,2,10,2,93,2,10,-1,0,1761345536,2,96,0,4294901823,2,38,2,20,2,97,2,35,2,98,0,2080440287,2,0,2,34,2,154,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,99,2,100,2,22,2,23,3,0,3,0,7,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,-3,2,107,3,0,3,2,20,-1,3,5,2,2,108,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,65,2,6,2,30,2,9,2,0,2,113,-1,3,0,4,2,9,2,17,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,124,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,96,0,4294934591,2,37,-7,2,0,0,197631,2,125,-1,2,20,2,43,2,37,2,17,0,3,2,17,2,124,2,21,2,126,2,127,-1,0,2490368,2,126,2,25,2,17,2,34,2,126,2,38,0,4294901904,0,4718591,2,126,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,68,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,49,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,18,-3,3,0,2,2,54,2,133,0,2147549183,0,2,-2,2,134,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,17,2,0,2,42,-6,2,0,0,1,2,57,2,49,0,1,2,135,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,2,17,2,7,-8,2,35,0,4294836212,2,10,-3,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,9,-55,3,0,17,2,42,2,8,2,17,2,0,2,8,2,17,2,58,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,71,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,67583,-1,2,105,-2,0,8126475,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,2,145,-187,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,2,154,-57,2,8,2,155,-7,2,17,2,0,2,58,-4,2,0,0,1065361407,0,16384,-9,2,17,2,58,2,0,2,18,-14,2,17,2,18,-6,2,17,0,81919,-6,2,8,0,3223273399,-7,2,156,3,0,6,2,124,-1,3,0,2,0,2063,-37,2,60,2,157,2,158,2,159,2,160,2,161,-138,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-28252],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1073741823,1048575,3892314111,134217727,1061158911,536805376,4294910143,4294901759,4294901760,4095,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294770687,67043583,1023,32767,15,2047999,67043343,67051519,2147483648,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,4294836224,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,252,4294967288,16777215,4294705151,3221208447,4294902271,4294549472,4294921215,4285526655,4294966527,4294705152,4294966143,64,4294966719,3774873592,4194303999,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901761]),J2=e=>(Dt[(e>>>5)+0]>>>e&31&1)!==0,Ct=e=>(Dt[(e>>>5)+34816]>>>e&31&1)!==0,S=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],_2=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Et=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function Se(e){return e<=127?_2[e]>0:Ct(e)}function De(e){return e<=127?Et[e]>0:J2(e)||e===8204||e===8205}function m(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function Ke(e){let t=e.currentChar;if((t&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:65536+((t&1023)<<10)+(n&1023)}function $e(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,(t&4)===0&&(e.column=0,e.line++)}function te(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function X2(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function v(e){return e<65?e-48:e-65+10&15}function j2(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var wt=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function H2(e){let{source:t}=e;e.currentChar===35&&t.charCodeAt(e.index+1)===33&&(m(e),m(e),We(e,t,0,4,e.tokenStart))}function rt(e,t,n,u,o,i){return u&2&&e.report(0),We(e,t,n,o,i)}function We(e,t,n,u,o){let{index:i}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'},q=class extends SyntaxError{start;end;range;loc;description;constructor(t,n,u,...o){let i=K2[u].replace(/%(\d+)/g,(f,c)=>o[c]),l="["+t.line+":"+t.column+"-"+n.line+":"+n.column+"]: "+i;super(l),this.start=t.index,this.end=n.index,this.range=[t.index,n.index],this.loc={start:{line:t.line,column:t.column},end:{line:n.line,column:n.column}},this.description=i}};function St(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}var B=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Bt={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};function ht(e,t,n){for(;Et[m(e)];);return e.tokenValue=e.source.slice(e.tokenIndex,e.index),e.currentChar!==92&&e.currentChar<=126?St(Bt,e.tokenValue)??208897:Ye(e,t,0,n)}function $2(e,t){let n=Ft(e);return Se(n)||e.report(5),e.tokenValue=String.fromCodePoint(n),Ye(e,t,1,S[n]&4)}function Ye(e,t,n,u){let o=e.index;for(;e.index0)De(l)||e.report(20,String.fromCodePoint(l)),e.currentChar=l,e.index++,e.column++;else if(!De(e.currentChar))break;m(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(o,e.index));let{length:i}=e.tokenValue;if(u&&i>=2&&i<=11){let l=St(Bt,e.tokenValue);return l===void 0?208897|(n?-2147483648:0):n?l===209006?(t&2050)===0?l|-2147483648:-2147483528:t&1?l===36970||(l&36864)===36864?-2147483527:(l&20480)===20480?t&262144&&(t&8)===0?l|-2147483648:-2147483528:-2147274630:t&262144&&(t&8)===0&&(l&20480)===20480?l|-2147483648:l===241771?t&262144?-2147274630:t&1024?-2147483528:l|-2147483648:l===209005?-2147274630:(l&36864)===36864?l|12288|-2147483648:-2147483528:l}return 208897|(n?-2147483648:0)}function W2(e){let t=m(e);if(t===92)return 130;let n=Ke(e);return n&&(t=n),Se(t)||e.report(96),130}function Ft(e){return e.source.charCodeAt(e.index+1)!==117&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,Y2(e)}function Y2(e){let t=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;S[m(e)]&64;)if(t=t<<4|v(e.currentChar),t>1114111)throw new q({index:l,line:e.line,column:e.column},e.currentLocation,104);if(e.currentChar!==125)throw new q({index:l,line:e.line,column:e.column},e.currentLocation,7);return m(e),t}(S[n]&64)===0&&e.report(7);let u=e.source.charCodeAt(e.index+1);(S[u]&64)===0&&e.report(7);let o=e.source.charCodeAt(e.index+2);(S[o]&64)===0&&e.report(7);let i=e.source.charCodeAt(e.index+3);return(S[i]&64)===0&&e.report(7),t=v(n)<<12|v(u)<<8|v(o)<<4|v(i),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,t}function kt(e,t,n){let u=e.currentChar,o=0,i=9,l=n&64?0:1,f=0,c=0;if(n&64)o="."+Te(e,u),u=e.currentChar,u===110&&e.report(12);else{if(u===48)if(u=m(e),(u|32)===120){for(n=136,u=m(e);S[u]&4160;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*16+v(u),f++,u=m(e)}(f===0||!c)&&e.report(f===0?21:153)}else if((u|32)===111){for(n=132,u=m(e);S[u]&4128;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*8+(u-48),f++,u=m(e)}(f===0||!c)&&e.report(f===0?0:153)}else if((u|32)===98){for(n=130,u=m(e);S[u]&4224;){if(u===95){c||e.report(152),c=0,u=m(e);continue}c=1,o=o*2+(u-48),f++,u=m(e)}(f===0||!c)&&e.report(f===0?0:153)}else if(S[u]&32)for(t&1&&e.report(1),n=1;S[u]&16;){if(S[u]&512){n=32,l=0;break}o=o*8+(u-48),u=m(e)}else S[u]&512?(t&1&&e.report(1),e.flags|=64,n=32):u===95&&e.report(0);if(n&48){if(l){for(;i>=0&&S[u]&4112;){if(u===95){if(u=m(e),u===95||n&32)throw new q(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);c=1;continue}c=0,o=10*o+(u-48),u=m(e),--i}if(c)throw new q(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(i>=0&&!Se(u)&&u!==46)return e.tokenValue=o,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266}o+=Te(e,u),u=e.currentChar,u===46&&(m(e)===95&&e.report(0),n=64,o+="."+Te(e,e.currentChar),u=e.currentChar)}}let g=e.index,d=0;if(u===110&&n&128)d=1,u=m(e);else if((u|32)===101){u=m(e),S[u]&256&&(u=m(e));let{index:a}=e;(S[u]&16)===0&&e.report(11),o+=e.source.substring(g,a)+Te(e,u),u=e.currentChar}return(e.index=e.source.length)return e.report(34)}let u=e.index-1,o=P.Empty,i=e.currentChar,{index:l}=e;for(;De(i);){switch(i){case 103:o&P.Global&&e.report(36,"g"),o|=P.Global;break;case 105:o&P.IgnoreCase&&e.report(36,"i"),o|=P.IgnoreCase;break;case 109:o&P.Multiline&&e.report(36,"m"),o|=P.Multiline;break;case 117:o&P.Unicode&&e.report(36,"u"),o&P.UnicodeSets&&e.report(36,"vu"),o|=P.Unicode;break;case 118:o&P.Unicode&&e.report(36,"uv"),o&P.UnicodeSets&&e.report(36,"v"),o|=P.UnicodeSets;break;case 121:o&P.Sticky&&e.report(36,"y"),o|=P.Sticky;break;case 115:o&P.DotAll&&e.report(36,"s"),o|=P.DotAll;break;case 100:o&P.Indices&&e.report(36,"d"),o|=P.Indices;break;default:e.report(35)}i=m(e)}let f=e.source.slice(l,e.index),c=e.source.slice(t,u);return e.tokenRegExp={pattern:c,flags:f},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=Z2(e,c,f),65540}function Z2(e,t,n){try{return new RegExp(t,n)}catch{if(!e.options.validateRegex)return null;e.report(34)}}function G2(e,t,n){let{index:u}=e,o="",i=m(e),l=e.index;for(;(S[i]&8)===0;){if(i===n)return o+=e.source.slice(l,e.index),m(e),e.options.raw&&(e.tokenRaw=e.source.slice(u,e.index)),e.tokenValue=o,134283267;if((i&8)===8&&i===92){if(o+=e.source.slice(l,e.index),i=m(e),i<127||i===8232||i===8233){let f=Nt(e,t,i);f>=0?o+=String.fromCodePoint(f):Lt(e,f,0)}else o+=String.fromCodePoint(i);l=e.index+1}else(i===8232||i===8233)&&(e.column=-1,e.line++);e.index>=e.end&&e.report(16),i=m(e)}e.report(16)}function Nt(e,t,n,u=0){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:i}else{if((S[o]&64)===0)return-4;let i=e.source.charCodeAt(e.index+1);if((S[i]&64)===0)return-4;let l=e.source.charCodeAt(e.index+2);if((S[l]&64)===0)return-4;let f=e.source.charCodeAt(e.index+3);return(S[f]&64)===0?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),v(o)<<12|v(i)<<8|v(l)<<4|v(f))}}case 56:case 57:if(u||!e.options.webcompat||t&1)return-3;e.flags|=4096;default:return n}}function Lt(e,t,n){switch(t){case-1:return;case-2:e.report(n?2:1);case-3:e.report(n?3:14);case-4:e.report(7);case-5:e.report(104)}}function It(e,t){let{index:n}=e,u=67174409,o="",i=m(e);for(;i!==96;){if(i===36&&e.source.charCodeAt(e.index+1)===123){m(e),u=67174408;break}else if(i===92)if(i=m(e),i>126)o+=String.fromCodePoint(i);else{let{index:l,line:f,column:c}=e,g=Nt(e,t|1,i,1);if(g>=0)o+=String.fromCodePoint(g);else if(g!==-1&&t&64){e.index=l,e.line=f,e.column=c,o=null,i=x2(e,i),i<0&&(u=67174408);break}else Lt(e,g,1)}else e.index=e.end&&e.report(17),i=m(e)}return m(e),e.tokenValue=o,e.tokenRaw=e.source.slice(n+1,e.index-(u===67174409?1:2)),u}function x2(e,t){for(;t!==96;){switch(t){case 36:{let n=e.index+1;if(n=e.end&&e.report(17),t=m(e)}return t}function p2(e,t){return e.index>=e.end&&e.report(0),e.index--,e.column--,It(e,t)}var en=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];function r(e,t){e.flags=(e.flags|1)^1,e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(qt(e,t,0))}function qt(e,t,n){let u=e.index===0,{source:o}=e;for(;e.index=e.end)return 8391476;let f=e.currentChar;return f===61?(m(e),4194338):f!==42?8391476:m(e)!==61?8391735:(m(e),4194335)}case 8389959:return m(e)!==61?8389959:(m(e),4194341);case 25233968:{m(e);let f=e.currentChar;return f===43?(m(e),33619993):f===61?(m(e),4194336):25233968}case 25233969:{m(e);let f=e.currentChar;if(f===45){if(m(e),(n&1||u)&&e.currentChar===62){e.options.webcompat||e.report(112),m(e),n=rt(e,o,n,t,3,e.tokenStart);continue}return 33619994}return f===61?(m(e),4194337):25233969}case 8457014:{if(m(e),e.index=48&&f<=57)return kt(e,t,80);if(f===46){let c=e.index+1;if(c=48&&f<=57)))return m(e),67108990}return 22}}}else{if((i^8232)<=1){n=n&-5|1,te(e);continue}let l=Ke(e);if(l>0&&(i=l),Ct(i))return e.tokenValue="",Ye(e,t,0,0);if(X2(i)){m(e);continue}e.report(20,String.fromCodePoint(i))}}return 1048576}function M(e,t){(e.flags&1)===0&&(e.getToken()&1048576)!==1048576&&e.report(30,B[e.getToken()&255]),C(e,t,1074790417)||e.options.onInsertedSemicolon?.(e.startIndex)}function Pt(e,t,n,u){return t-n<13&&u==="use strict"&&((e.getToken()&1048576)===1048576||e.flags&1)?1:0}function Qe(e,t,n){return e.getToken()!==n?0:(r(e,t),1)}function C(e,t,n){return e.getToken()!==n?!1:(r(e,t),!0)}function y(e,t,n){e.getToken()!==n&&e.report(25,B[n&255]),r(e,t)}function K(e,t){switch(t.type){case"ArrayExpression":{t.type="ArrayPattern";let{elements:n}=t;for(let u=0,o=n.length;u=e.end&&e.report(16),n=m(e);return n!==t&&e.report(16),e.tokenValue=e.source.slice(u,e.index),m(e),e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283267}function me(e){if(e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.index>=e.end){e.setToken(1048576);return}if(e.currentChar===60){m(e),e.setToken(8456256);return}if(e.currentChar===123){m(e),e.setToken(2162700);return}let t=0;for(;e.index1&&i&32&&e.getToken()&262144&&e.report(61,B[e.getToken()&255]),f}function At(e,t,n,u,o,i){let{tokenStart:l}=e,f=e.getToken(),c=null,g=Zt(e,t,n,u,o,i);if(e.getToken()===1077936155){if(r(e,t|32),c=L(e,t,u,1,0,e.tokenStart),(i&32||(f&2097152)===0)&&(e.getToken()===471156||e.getToken()===8673330&&(f&2097152||(o&4)===0||t&1)))throw new q(l,e.currentLocation,60,e.getToken()===471156?"of":"in")}else(o&16||(f&2097152)>0)&&(e.getToken()&262144)!==262144&&e.report(59,o&16?"const":"destructuring");return e.finishNode({type:"VariableDeclarator",id:g,init:c},l)}function Ln(e,t,n,u,o){let i=e.tokenStart;r(e,t);let l=((t&2048)>0||(t&2)>0&&(t&8)>0)&&C(e,t,209006);y(e,t|32,67174411),n=n?.createChildScope(1);let f=null,c=null,g=0,d=null,a=e.getToken()===86088||e.getToken()===241737||e.getToken()===86090,h,{tokenStart:A}=e,b=e.getToken();if(a)b===241737?(d=N(e,t),e.getToken()&2240512?(e.getToken()===8673330?t&1&&e.report(67):d=e.finishNode({type:"VariableDeclaration",kind:"let",declarations:ue(e,t|131072,n,u,8,32)},A),e.assignable=1):t&1?e.report(67):(a=!1,e.assignable=1,d=F(e,t,u,d,0,0,A),e.getToken()===471156&&e.report(115))):(r(e,t),d=e.finishNode(b===86088?{type:"VariableDeclaration",kind:"var",declarations:ue(e,t|131072,n,u,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:ue(e,t|131072,n,u,16,32)},A),e.assignable=1);else if(b===1074790417)l&&e.report(82);else if((b&2097152)===2097152){let T=e.tokenStart;d=b===2162700?j(e,t,void 0,u,1,0,0,2,32):X(e,t,void 0,u,1,0,0,2,32),g=e.destructible,g&64&&e.report(63),e.assignable=g&16?2:1,d=F(e,t|131072,u,d,0,0,T)}else d=_(e,t|131072,u,1,0,1);if((e.getToken()&262144)===262144){if(e.getToken()===471156){e.assignable&2&&e.report(80,l?"await":"of"),K(e,d),r(e,t|32),h=L(e,t,u,1,0,e.tokenStart),y(e,t|32,16);let D=de(e,t,n,u,o);return e.finishNode({type:"ForOfStatement",left:d,right:h,body:D,await:l},i)}e.assignable&2&&e.report(80,"in"),K(e,d),r(e,t|32),l&&e.report(82),h=V(e,t,u,0,1,e.tokenStart),y(e,t|32,16);let T=de(e,t,n,u,o);return e.finishNode({type:"ForInStatement",body:T,left:d,right:h},i)}l&&e.report(82),a||(g&8&&e.getToken()!==1077936155&&e.report(80,"loop"),d=I(e,t|131072,u,0,0,A,d)),e.getToken()===18&&(d=W(e,t,u,0,A,d)),y(e,t|32,1074790417),e.getToken()!==1074790417&&(f=V(e,t,u,0,1,e.tokenStart)),y(e,t|32,1074790417),e.getToken()!==16&&(c=V(e,t,u,0,1,e.tokenStart)),y(e,t|32,16);let w=de(e,t,n,u,o);return e.finishNode({type:"ForStatement",init:d,test:f,update:c,body:w},i)}function Ut(e,t,n){return ge(t,e.getToken())||e.report(118),(e.getToken()&537079808)===537079808&&e.report(119),n?.addBlockName(t,e.tokenValue,8,0),N(e,t)}function In(e,t,n){let u=e.tokenStart;r(e,t);let o=null,{tokenStart:i}=e,l=[];if(e.getToken()===134283267)o=O(e,t);else{if(e.getToken()&143360){let g=Ut(e,t,n);if(l=[e.finishNode({type:"ImportDefaultSpecifier",local:g},i)],C(e,t,18))switch(e.getToken()){case 8391476:l.push(Tt(e,t,n));break;case 2162700:bt(e,t,n,l);break;default:e.report(107)}}else switch(e.getToken()){case 8391476:l=[Tt(e,t,n)];break;case 2162700:bt(e,t,n,l);break;case 67174411:return _t(e,t,void 0,u);case 67108877:return Jt(e,t,u);default:e.report(30,B[e.getToken()&255])}o=qn(e,t)}let f=He(e,t),c={type:"ImportDeclaration",specifiers:l,source:o,attributes:f};return M(e,t|32),e.finishNode(c,u)}function Tt(e,t,n){let{tokenStart:u}=e;if(r(e,t),y(e,t,77932),(e.getToken()&134217728)===134217728)throw new q(u,e.currentLocation,30,B[e.getToken()&255]);return e.finishNode({type:"ImportNamespaceSpecifier",local:Ut(e,t,n)},u)}function qn(e,t){return y(e,t,209011),e.getToken()!==134283267&&e.report(105,"Import"),O(e,t)}function bt(e,t,n,u){for(r(e,t);e.getToken()&143360||e.getToken()===134283267;){let{tokenValue:o,tokenStart:i}=e,l=e.getToken(),f=Ce(e,t),c;C(e,t,77932)?((e.getToken()&134217728)===134217728||e.getToken()===18?e.report(106):Be(e,t,16,e.getToken(),0),o=e.tokenValue,c=N(e,t)):f.type==="Identifier"?(Be(e,t,16,l,0),c=e.cloneIdentifier(f)):e.report(25,B[108]),n?.addBlockName(t,o,8,0),u.push(e.finishNode({type:"ImportSpecifier",local:c,imported:f},i)),e.getToken()!==1074790415&&y(e,t,18)}return y(e,t,1074790415),u}function Jt(e,t,n){let u=Xt(e,t,e.finishNode({type:"Identifier",name:"import"},n),n);return u=F(e,t,void 0,u,0,0,n),u=I(e,t,void 0,0,0,n,u),e.getToken()===18&&(u=W(e,t,void 0,0,n,u)),ie(e,t,u,n)}function _t(e,t,n,u){let o=jt(e,t,n,0,u);return o=F(e,t,n,o,0,0,u),e.getToken()===18&&(o=W(e,t,n,0,u,o)),ie(e,t,o,u)}function Pn(e,t,n){let u=e.leadingDecorators.decorators.length?e.leadingDecorators.start:e.tokenStart;r(e,t|32);let o=[],i=null,l=null,f=[];if(C(e,t|32,20561)){switch(e.getToken()){case 86104:{i=x(e,t,n,void 0,4,1,1,0,e.tokenStart);break}case 132:case 86094:i=ze(e,t,n,void 0,1);break;case 209005:{let{tokenStart:g}=e;i=N(e,t);let{flags:d}=e;(d&1)===0&&(e.getToken()===86104?i=x(e,t,n,void 0,4,1,1,1,g):e.getToken()===67174411?(i=ut(e,t,void 0,i,1,1,0,d,g),i=F(e,t,void 0,i,0,0,g),i=I(e,t,void 0,0,0,g,i)):e.getToken()&143360&&(n&&(n=qe(e,t,e.tokenValue)),i=N(e,t),i=ke(e,t,n,void 0,[i],1,g)));break}default:i=L(e,t,void 0,1,0,e.tokenStart),M(e,t|32)}return n&&e.declareUnboundVariable("default"),e.finishNode({type:"ExportDefaultDeclaration",declaration:i},u)}switch(e.getToken()){case 8391476:{r(e,t);let g=null;C(e,t,77932)&&(n&&e.declareUnboundVariable(e.tokenValue),g=Ce(e,t)),y(e,t,209011),e.getToken()!==134283267&&e.report(105,"Export"),l=O(e,t);let a=He(e,t),h={type:"ExportAllDeclaration",source:l,exported:g,attributes:a};return M(e,t|32),e.finishNode(h,u)}case 2162700:{r(e,t);let g=[],d=[],a=0;for(;e.getToken()&143360||e.getToken()===134283267;){let{tokenStart:h,tokenValue:A}=e,b=Ce(e,t);b.type==="Literal"&&(a=1);let w;e.getToken()===77932?(r(e,t),(e.getToken()&143360)===0&&e.getToken()!==134283267&&e.report(106),n&&(g.push(e.tokenValue),d.push(A)),w=Ce(e,t)):(n&&(g.push(e.tokenValue),d.push(e.tokenValue)),w=b.type==="Literal"?e.cloneStringLiteral(b):e.cloneIdentifier(b)),o.push(e.finishNode({type:"ExportSpecifier",local:b,exported:w},h)),e.getToken()!==1074790415&&y(e,t,18)}y(e,t,1074790415),C(e,t,209011)?(e.getToken()!==134283267&&e.report(105,"Export"),l=O(e,t),f=He(e,t),n&&g.forEach(h=>e.declareUnboundVariable(h))):(a&&e.report(172),n&&(g.forEach(h=>e.declareUnboundVariable(h)),d.forEach(h=>e.addBindingToExports(h)))),M(e,t|32);break}case 132:case 86094:i=ze(e,t,n,void 0,2);break;case 86104:i=x(e,t,n,void 0,4,1,2,0,e.tokenStart);break;case 241737:i=je(e,t,n,void 0,8,64);break;case 86090:i=je(e,t,n,void 0,16,64);break;case 86088:i=vt(e,t,n,void 0,64);break;case 209005:{let{tokenStart:g}=e;if(r(e,t),(e.flags&1)===0&&e.getToken()===86104){i=x(e,t,n,void 0,4,1,2,1,g);break}}default:e.report(30,B[e.getToken()&255])}let c={type:"ExportNamedDeclaration",declaration:i,specifiers:o,source:l,attributes:f};return e.finishNode(c,u)}function L(e,t,n,u,o,i){let l=U(e,t,n,2,0,u,o,1,i);return l=F(e,t,n,l,o,0,i),I(e,t,n,o,0,i,l)}function W(e,t,n,u,o,i){let l=[i];for(;C(e,t|32,18);)l.push(L(e,t,n,1,u,e.tokenStart));return e.finishNode({type:"SequenceExpression",expressions:l},o)}function V(e,t,n,u,o,i){let l=L(e,t,n,o,u,i);return e.getToken()===18?W(e,t,n,u,i,l):l}function I(e,t,n,u,o,i,l){let f=e.getToken();if((f&4194304)===4194304){e.assignable&2&&e.report(26),(!o&&f===1077936155&&l.type==="ArrayExpression"||l.type==="ObjectExpression")&&K(e,l),r(e,t|32);let c=L(e,t,n,1,u,e.tokenStart);return e.assignable=2,e.finishNode(o?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},i)}return(f&8388608)===8388608&&(l=G(e,t,n,u,i,4,f,l)),C(e,t|32,22)&&(l=ee(e,t,n,l,i)),l}function be(e,t,n,u,o,i,l){let f=e.getToken();r(e,t|32);let c=L(e,t,n,1,u,e.tokenStart);return l=e.finishNode(o?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},i),e.assignable=2,l}function ee(e,t,n,u,o){let i=L(e,(t|131072)^131072,n,1,0,e.tokenStart);y(e,t|32,21),e.assignable=1;let l=L(e,t,n,1,0,e.tokenStart);return e.assignable=2,e.finishNode({type:"ConditionalExpression",test:u,consequent:i,alternate:l},o)}function G(e,t,n,u,o,i,l,f){let c=-((t&131072)>0)&8673330,g,d;for(e.assignable=2;e.getToken()&8388608&&(g=e.getToken(),d=g&3840,(g&524288&&l&268435456||l&524288&&g&268435456)&&e.report(165),!(d+((g===8391735)<<8)-((c===g)<<12)<=i));)r(e,t|32),f=e.finishNode({type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:f,right:G(e,t,n,u,e.tokenStart,d,g,_(e,t,n,0,u,1)),operator:B[g&255]},o);return e.getToken()===1077936155&&e.report(26),f}function On(e,t,n,u,o){u||e.report(0);let{tokenStart:i}=e,l=e.getToken();r(e,t|32);let f=_(e,t,n,0,o,1);return e.getToken()===8391735&&e.report(33),t&1&&l===16863276&&(f.type==="Identifier"?e.report(121):tn(f)&&e.report(127)),e.assignable=2,e.finishNode({type:"UnaryExpression",operator:B[l&255],argument:f,prefix:!0},i)}function Vn(e,t,n,u,o,i,l,f){let c=e.getToken(),g=N(e,t),{flags:d}=e;if((d&1)===0){if(e.getToken()===86104)return zt(e,t,n,1,u,f);if(ge(t,e.getToken()))return o||e.report(0),(e.getToken()&36864)===36864&&(e.flags|=256),Wt(e,t,n,i,f)}return!l&&e.getToken()===67174411?ut(e,t,n,g,i,1,0,d,f):e.getToken()===10?(Ie(e,t,c),l&&e.report(51),(c&36864)===36864&&(e.flags|=256),Oe(e,t,n,e.tokenValue,g,l,i,0,f)):(e.assignable=1,g)}function Rn(e,t,n,u,o,i){if(u&&(e.destructible|=256),t&1024){r(e,t|32),t&8192&&e.report(32),o||e.report(26),e.getToken()===22&&e.report(124);let l=null,f=!1;return(e.flags&1)===0?(f=C(e,t|32,8391476),(e.getToken()&77824||f)&&(l=L(e,t,n,1,0,e.tokenStart))):e.getToken()===8391476&&e.report(30,B[e.getToken()&255]),e.assignable=2,e.finishNode({type:"YieldExpression",argument:l,delegate:f},i)}return t&1&&e.report(97,"yield"),nt(e,t,n)}function Mn(e,t,n,u,o,i){o&&(e.destructible|=128),t&524288&&e.report(177);let l=nt(e,t,n);if(l.type==="ArrowFunctionExpression"||(e.getToken()&65536)===0){if(t&2048)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},176);if(t&2)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);if(t&8192&&t&2048)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);return l}if(t&8192)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},31);if(t&2048||t&2&&t&8){if(u)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},0);let c=_(e,t,n,0,0,1);return e.getToken()===8391735&&e.report(33),e.assignable=2,e.finishNode({type:"AwaitExpression",argument:c},i)}if(t&2)throw new q(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},98);return l}function Pe(e,t,n,u,o,i,l){let{tokenStart:f}=e;y(e,t|32,2162700);let c=[];if(e.getToken()!==1074790415){for(;e.getToken()===134283267;){let{index:g,tokenStart:d,tokenIndex:a,tokenValue:h}=e,A=e.getToken(),b=O(e,t);if(Pt(e,g,a,h)){if(t|=1,e.flags&128)throw new q(d,e.currentLocation,66);if(e.flags&64)throw new q(d,e.currentLocation,9);if(e.flags&4096)throw new q(d,e.currentLocation,15);l?.reportScopeError()}c.push(Ge(e,t,b,A,d))}t&1&&(i&&((i&537079808)===537079808&&e.report(119),(i&36864)===36864&&e.report(40)),e.flags&512&&e.report(119),e.flags&256&&e.report(118))}for(e.flags=(e.flags|512|256|64|4096)^4928,e.destructible=(e.destructible|256)^256;e.getToken()!==1074790415;)c.push(re(e,t,n,u,4,{}));return y(e,o&24?t|32:t,1074790415),e.flags&=-4289,e.getToken()===1077936155&&e.report(26),e.finishNode({type:"BlockStatement",body:c},f)}function vn(e,t){let{tokenStart:n}=e;switch(r(e,t),e.getToken()){case 67108990:e.report(167);case 67174411:{(t&512)===0&&e.report(28),e.assignable=2;break}case 69271571:case 67108877:{(t&256)===0&&e.report(29),e.assignable=1;break}default:e.report(30,"super")}return e.finishNode({type:"Super"},n)}function _(e,t,n,u,o,i){let l=e.tokenStart,f=U(e,t,n,2,0,u,o,i,l);return F(e,t,n,f,o,0,l)}function Un(e,t,n,u){e.assignable&2&&e.report(55);let o=e.getToken();return r(e,t),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:n,operator:B[o&255],prefix:!1},u)}function F(e,t,n,u,o,i,l){if((e.getToken()&33619968)===33619968&&(e.flags&1)===0)u=Un(e,t,u,l);else if((e.getToken()&67108864)===67108864){switch(t=(t|131072)^131072,e.getToken()){case 67108877:{r(e,(t|262144|8)^8),t&16&&e.getToken()===130&&e.tokenValue==="super"&&e.report(173),e.assignable=1;let f=xe(e,t|64,n);u=e.finishNode({type:"MemberExpression",object:u,computed:!1,property:f,optional:!1},l);break}case 69271571:{let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048),r(e,t|32);let{tokenStart:c}=e,g=V(e,t,n,o,1,c);y(e,t,20),e.assignable=1,u=e.finishNode({type:"MemberExpression",object:u,computed:!0,property:g,optional:!1},l),f&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,u;let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048);let c=tt(e,t,n,o);e.assignable=2,u=e.finishNode({type:"CallExpression",callee:u,arguments:c,optional:!1},l),f&&(e.flags|=2048);break}case 67108990:{r(e,(t|262144|8)^8),e.flags|=2048,e.assignable=2,u=Jn(e,t,n,u,l);break}default:(e.flags&2048)===2048&&e.report(166),e.assignable=2,u=e.finishNode({type:"TaggedTemplateExpression",tag:u,quasi:e.getToken()===67174408?et(e,t|64,n):pe(e,t)},l)}u=F(e,t,n,u,0,1,l)}return i===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,u=e.finishNode({type:"ChainExpression",expression:u},l)),u}function Jn(e,t,n,u,o){let i=!1,l;if((e.getToken()===69271571||e.getToken()===67174411)&&(e.flags&2048)===2048&&(i=!0,e.flags=(e.flags|2048)^2048),e.getToken()===69271571){r(e,t|32);let{tokenStart:f}=e,c=V(e,t,n,0,1,f);y(e,t,20),e.assignable=2,l=e.finishNode({type:"MemberExpression",object:u,computed:!0,optional:!0,property:c},o)}else if(e.getToken()===67174411){let f=tt(e,t,n,0);e.assignable=2,l=e.finishNode({type:"CallExpression",callee:u,arguments:f,optional:!0},o)}else{let f=xe(e,t,n);e.assignable=2,l=e.finishNode({type:"MemberExpression",object:u,computed:!1,optional:!0,property:f},o)}return i&&(e.flags|=2048),l}function xe(e,t,n){return(e.getToken()&143360)===0&&e.getToken()!==-2147483528&&e.getToken()!==-2147483527&&e.getToken()!==130&&e.report(160),e.getToken()===130?Le(e,t,n,0):N(e,t)}function _n(e,t,n,u,o,i){u&&e.report(56),o||e.report(0);let l=e.getToken();r(e,t|32);let f=_(e,t,n,0,0,1);return e.assignable&2&&e.report(55),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:f,operator:B[l&255],prefix:!0},i)}function U(e,t,n,u,o,i,l,f,c){if((e.getToken()&143360)===143360){switch(e.getToken()){case 209006:return Mn(e,t,n,o,l,c);case 241771:return Rn(e,t,n,l,i,c);case 209005:return Vn(e,t,n,l,f,i,o,c)}let{tokenValue:g}=e,d=e.getToken(),a=N(e,t|64);return e.getToken()===10?(f||e.report(0),Ie(e,t,d),(d&36864)===36864&&(e.flags|=256),Oe(e,t,n,g,a,o,i,0,c)):(t&16&&!(t&32768)&&!(t&8192)&&e.tokenValue==="arguments"&&e.report(130),(d&255)===73&&(t&1&&e.report(113),u&24&&e.report(100)),e.assignable=t&1&&(d&537079808)===537079808?2:1,a)}if((e.getToken()&134217728)===134217728)return O(e,t);switch(e.getToken()){case 33619993:case 33619994:return _n(e,t,n,o,f,c);case 16863276:case 16842798:case 16842799:case 25233968:case 25233969:case 16863275:case 16863277:return On(e,t,n,f,l);case 86104:return zt(e,t,n,0,l,c);case 2162700:return Yn(e,t,n,i?0:1,l);case 69271571:return Wn(e,t,n,i?0:1,l);case 67174411:return Zn(e,t|64,n,i,1,0,c);case 86021:case 86022:case 86023:return Kn(e,t);case 86111:return $n(e,t);case 65540:return pn(e,t);case 132:case 86094:return eu(e,t,n,l,c);case 86109:return vn(e,t);case 67174409:return pe(e,t);case 67174408:return et(e,t,n);case 86107:return Gn(e,t,n,l);case 134283388:return Ht(e,t);case 130:return Le(e,t,n,0);case 86106:return Xn(e,t,n,o,l,c);case 8456256:if(e.options.jsx)return Re(e,t,n,0,e.tokenStart);default:if(ge(t,e.getToken()))return nt(e,t,n);e.report(30,B[e.getToken()&255])}}function Xn(e,t,n,u,o,i){let l=N(e,t);return e.getToken()===67108877?Xt(e,t,l,i):(u&&e.report(142),l=jt(e,t,n,o,i),e.assignable=2,F(e,t,n,l,o,0,i))}function Xt(e,t,n,u){(t&2)===0&&e.report(169),r(e,t);let o=e.getToken();return o!==209030&&e.tokenValue!=="meta"?e.report(174):o&-2147483648&&e.report(175),e.assignable=2,e.finishNode({type:"MetaProperty",meta:n,property:N(e,t)},u)}function jt(e,t,n,u,o){y(e,t|32,67174411),e.getToken()===14&&e.report(143);let i=L(e,t,n,1,u,e.tokenStart),l=null;if(e.getToken()===18){if(y(e,t,18),e.getToken()!==16){let c=(t|131072)^131072;l=L(e,c,n,1,u,e.tokenStart)}C(e,t,18)}let f={type:"ImportExpression",source:i,options:l};return y(e,t,16),e.finishNode(f,o)}function He(e,t){if(!C(e,t,20579))return[];y(e,t,2162700);let n=[],u=new Set;for(;e.getToken()!==1074790415;){let o=e.tokenStart,i=Hn(e,t);y(e,t,21);let l=jn(e,t),f=i.type==="Literal"?i.value:i.name;u.has(f)&&e.report(145,`${f}`),u.add(f),n.push(e.finishNode({type:"ImportAttribute",key:i,value:l},o)),e.getToken()!==1074790415&&y(e,t,18)}return y(e,t,1074790415),n}function jn(e,t){if(e.getToken()===134283267)return O(e,t);e.report(30,B[e.getToken()&255])}function Hn(e,t){if(e.getToken()===134283267)return O(e,t);if(e.getToken()&143360)return N(e,t);e.report(30,B[e.getToken()&255])}function Ce(e,t){if(e.getToken()===134283267){let n=e.tokenValue;return mt(0,n)||e.report(171),O(e,t)}else{if(e.getToken()&143360)return N(e,t);e.report(30,B[e.getToken()&255])}}function Ht(e,t){let{tokenRaw:n,tokenValue:u,tokenStart:o}=e;r(e,t),e.assignable=2;let i={type:"Literal",value:u,bigint:String(u)};return e.options.raw&&(i.raw=n),e.finishNode(i,o)}function pe(e,t){e.assignable=2;let{tokenValue:n,tokenRaw:u,tokenStart:o}=e;y(e,t,67174409);let i=[Ee(e,n,u,o,!0)];return e.finishNode({type:"TemplateLiteral",expressions:[],quasis:i},o)}function et(e,t,n){t=(t|131072)^131072;let{tokenValue:u,tokenRaw:o,tokenStart:i}=e;y(e,t&-65|32,67174408);let l=[Ee(e,u,o,i,!1)],f=[V(e,t&-65,n,0,1,e.tokenStart)];for(e.getToken()!==1074790415&&e.report(83);e.setToken(p2(e,t),!0)!==67174409;){let{tokenValue:c,tokenRaw:g,tokenStart:d}=e;y(e,t&-65|32,67174408),l.push(Ee(e,c,g,d,!1)),f.push(V(e,t,n,0,1,e.tokenStart)),e.getToken()!==1074790415&&e.report(83)}{let{tokenValue:c,tokenRaw:g,tokenStart:d}=e;y(e,t,67174409),l.push(Ee(e,c,g,d,!0))}return e.finishNode({type:"TemplateLiteral",expressions:f,quasis:l},i)}function Ee(e,t,n,u,o){let i=e.finishNode({type:"TemplateElement",value:{cooked:t,raw:n},tail:o},u),l=o?1:2;return e.options.ranges&&(i.start+=1,i.range[0]+=1,i.end-=l,i.range[1]-=l),e.options.loc&&(i.loc.start.column+=1,i.loc.end.column-=l),i}function zn(e,t,n){let u=e.tokenStart;t=(t|131072)^131072,y(e,t|32,14);let o=L(e,t,n,1,0,e.tokenStart);return e.assignable=1,e.finishNode({type:"SpreadElement",argument:o},u)}function tt(e,t,n,u){r(e,t|32);let o=[];if(e.getToken()===16)return r(e,t|64),o;for(;e.getToken()!==16&&(e.getToken()===14?o.push(zn(e,t,n)):o.push(L(e,t,n,1,u,e.tokenStart)),!(e.getToken()!==18||(r(e,t|32),e.getToken()===16))););return y(e,t|64,16),o}function N(e,t){let{tokenValue:n,tokenStart:u}=e,o=n==="await"&&(e.getToken()&-2147483648)===0;return r(e,t|(o?32:0)),e.finishNode({type:"Identifier",name:n},u)}function O(e,t){let{tokenValue:n,tokenRaw:u,tokenStart:o}=e;if(e.getToken()===134283388)return Ht(e,t);let i={type:"Literal",value:n};return e.options.raw&&(i.raw=u),r(e,t),e.assignable=2,e.finishNode(i,o)}function Kn(e,t){let n=e.tokenStart,u=B[e.getToken()&255],i={type:"Literal",value:e.getToken()===86023?null:u==="true"};return e.options.raw&&(i.raw=u),r(e,t),e.assignable=2,e.finishNode(i,n)}function $n(e,t){let{tokenStart:n}=e;return r(e,t),e.assignable=2,e.finishNode({type:"ThisExpression"},n)}function x(e,t,n,u,o,i,l,f,c){r(e,t|32);let g=i?Qe(e,t,8391476):0,d=null,a,h=n?e.createScope():void 0;if(e.getToken()===67174411)(l&1)===0&&e.report(39,"Function");else{let T=o&4&&((t&8)===0||(t&2)===0)?4:64|(f?1024:0)|(g?1024:0);Ot(e,t,e.getToken()),n&&(T&4?n.addVarName(t,e.tokenValue,T):n.addBlockName(t,e.tokenValue,T,o),h=h?.createChildScope(128),l&&l&2&&e.declareUnboundVariable(e.tokenValue)),a=e.getToken(),e.getToken()&143360?d=N(e,t):e.report(30,B[e.getToken()&255])}t=(t|28416)^28416|65536|(f?2048:0)|(g?1024:0)|(g?0:262144),h=h?.createChildScope(256);let A=$t(e,(t|8192)&-524289,h,u,0,1),b=524428,w=Pe(e,(t|b)^b|32768|4096,h?.createChildScope(64),u,8,a,h);return e.finishNode({type:"FunctionDeclaration",id:d,params:A,body:w,async:f===1,generator:g===1},c)}function zt(e,t,n,u,o,i){r(e,t|32);let l=Qe(e,t,8391476),f=(u?2048:0)|(l?1024:0),c=null,g,d=e.createScopeIfLexical(),a=552704;e.getToken()&143360&&(Ot(e,(t|a)^a|f,e.getToken()),d=d?.createChildScope(128),g=e.getToken(),c=N(e,t)),t=(t|a)^a|65536|f|(l?0:262144),d=d?.createChildScope(256);let h=$t(e,(t|8192)&-524289,d,n,o,1),A=Pe(e,t&-131229|32768|4096,d?.createChildScope(64),n,0,g,d);return e.assignable=2,e.finishNode({type:"FunctionExpression",id:c,params:h,body:A,async:u===1,generator:l===1},i)}function Wn(e,t,n,u,o){let i=X(e,t,void 0,n,u,o,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),i}function X(e,t,n,u,o,i,l,f,c){let{tokenStart:g}=e;r(e,t|32);let d=[],a=0;for(t=(t|131072)^131072;e.getToken()!==20;)if(C(e,t|32,18))d.push(null);else{let A,{tokenStart:b,tokenValue:w}=e,T=e.getToken();if(T&143360)if(A=U(e,t,u,f,0,1,i,1,b),e.getToken()===1077936155){e.assignable&2&&e.report(26),r(e,t|32),n?.addVarOrBlock(t,w,f,c);let D=L(e,t,u,1,i,e.tokenStart);A=e.finishNode(l?{type:"AssignmentPattern",left:A,right:D}:{type:"AssignmentExpression",operator:"=",left:A,right:D},b),a|=e.destructible&256?256:0|e.destructible&128?128:0}else e.getToken()===18||e.getToken()===20?(e.assignable&2?a|=16:n?.addVarOrBlock(t,w,f,c),a|=e.destructible&256?256:0|e.destructible&128?128:0):(a|=f&1?32:(f&2)===0?16:0,A=F(e,t,u,A,i,0,b),e.getToken()!==18&&e.getToken()!==20?(e.getToken()!==1077936155&&(a|=16),A=I(e,t,u,i,l,b,A)):e.getToken()!==1077936155&&(a|=e.assignable&2?16:32));else T&2097152?(A=e.getToken()===2162700?j(e,t,n,u,0,i,l,f,c):X(e,t,n,u,0,i,l,f,c),a|=e.destructible,e.assignable=e.destructible&16?2:1,e.getToken()===18||e.getToken()===20?e.assignable&2&&(a|=16):e.destructible&8?e.report(71):(A=F(e,t,u,A,i,0,b),a=e.assignable&2?16:0,e.getToken()!==18&&e.getToken()!==20?A=I(e,t,u,i,l,b,A):e.getToken()!==1077936155&&(a|=e.assignable&2?16:32))):T===14?(A=oe(e,t,n,u,20,f,c,0,i,l),a|=e.destructible,e.getToken()!==18&&e.getToken()!==20&&e.report(30,B[e.getToken()&255])):(A=_(e,t,u,1,0,1),e.getToken()!==18&&e.getToken()!==20?(A=I(e,t,u,i,l,b,A),(f&3)===0&&T===67174411&&(a|=16)):e.assignable&2?a|=16:T===67174411&&(a|=e.assignable&1&&f&3?32:16));if(d.push(A),C(e,t|32,18)){if(e.getToken()===20)break}else break}y(e,t,20);let h=e.finishNode({type:l?"ArrayPattern":"ArrayExpression",elements:d},g);return!o&&e.getToken()&4194304?Kt(e,t,u,a,i,l,g,h):(e.destructible=a,h)}function Kt(e,t,n,u,o,i,l,f){e.getToken()!==1077936155&&e.report(26),r(e,t|32),u&16&&e.report(26),i||K(e,f);let{tokenStart:c}=e,g=L(e,t,n,1,o,c);return e.destructible=(u|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),e.finishNode(i?{type:"AssignmentPattern",left:f,right:g}:{type:"AssignmentExpression",left:f,operator:"=",right:g},l)}function oe(e,t,n,u,o,i,l,f,c,g){let{tokenStart:d}=e;r(e,t|32);let a=null,h=0,{tokenValue:A,tokenStart:b}=e,w=e.getToken();if(w&143360)e.assignable=1,a=U(e,t,u,i,0,1,c,1,b),w=e.getToken(),a=F(e,t,u,a,c,0,b),e.getToken()!==18&&e.getToken()!==o&&(e.assignable&2&&e.getToken()===1077936155&&e.report(71),h|=16,a=I(e,t,u,c,g,b,a)),e.assignable&2?h|=16:w===o||w===18?n?.addVarOrBlock(t,A,i,l):h|=32,h|=e.destructible&128?128:0;else if(w===o)e.report(41);else if(w&2097152)a=e.getToken()===2162700?j(e,t,n,u,1,c,g,i,l):X(e,t,n,u,1,c,g,i,l),w=e.getToken(),w!==1077936155&&w!==o&&w!==18?(e.destructible&8&&e.report(71),a=F(e,t,u,a,c,0,b),h|=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(h|=16),a=I(e,t,u,c,g,b,a)):((e.getToken()&8388608)===8388608&&(a=G(e,t,u,1,b,4,w,a)),C(e,t|32,22)&&(a=ee(e,t,u,a,b)),h|=e.assignable&2?16:32)):h|=o===1074790415&&w!==1077936155?16:e.destructible;else{h|=32,a=_(e,t,u,1,c,1);let{tokenStart:T}=e,D=e.getToken();return D===1077936155?(e.assignable&2&&e.report(26),a=I(e,t,u,c,g,T,a),h|=16):(D===18?h|=16:D!==o&&(a=I(e,t,u,c,g,T,a)),h|=e.assignable&1?32:16),e.destructible=h,e.getToken()!==o&&e.getToken()!==18&&e.report(161),e.finishNode({type:g?"RestElement":"SpreadElement",argument:a},d)}if(e.getToken()!==o)if(i&1&&(h|=f?16:32),C(e,t|32,1077936155)){h&16&&e.report(26),K(e,a);let T=L(e,t,u,1,c,e.tokenStart);a=e.finishNode(g?{type:"AssignmentPattern",left:a,right:T}:{type:"AssignmentExpression",left:a,operator:"=",right:T},b),h=16}else h|=16;return e.destructible=h,e.finishNode({type:g?"RestElement":"SpreadElement",argument:a},d)}function z(e,t,n,u,o,i){let l=11264|((u&64)===0?16896:0);t=(t|l)^l|(u&8?1024:0)|(u&16?2048:0)|(u&64?16384:0)|256|32768|65536;let f=e.createScopeIfLexical(256),c=Qn(e,(t|8192)&-524289,f,n,u,1,o);f=f?.createChildScope(64);let g=Pe(e,t&-655373|32768|4096,f,n,0,void 0,f?.parent);return e.finishNode({type:"FunctionExpression",params:c,body:g,async:(u&16)>0,generator:(u&8)>0,id:null},i)}function Yn(e,t,n,u,o){let i=j(e,t,void 0,n,u,o,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),i}function j(e,t,n,u,o,i,l,f,c){let{tokenStart:g}=e;r(e,t);let d=[],a=0,h=0;for(t=(t|131072)^131072;e.getToken()!==1074790415;){let{tokenValue:b,tokenStart:w}=e,T=e.getToken();if(T===14)d.push(oe(e,t,n,u,1074790415,f,c,0,i,l));else{let D=0,R=null,k;if(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527)if(e.getToken()===-2147483527&&(a|=16),R=N(e,t),e.getToken()===18||e.getToken()===1074790415||e.getToken()===1077936155)if(D|=4,t&1&&(T&537079808)===537079808?a|=16:Be(e,t,f,T,0),n?.addVarOrBlock(t,b,f,c),C(e,t|32,1077936155)){a|=8;let E=L(e,t,u,1,i,e.tokenStart);a|=e.destructible&256?256:0|e.destructible&128?128:0,k=e.finishNode({type:"AssignmentPattern",left:e.cloneIdentifier(R),right:E},w)}else a|=(T===209006?128:0)|(T===-2147483528?16:0),k=e.cloneIdentifier(R);else if(C(e,t|32,21)){let{tokenStart:E}=e;if(b==="__proto__"&&h++,e.getToken()&143360){let ce=e.getToken(),Y=e.tokenValue;k=U(e,t,u,f,0,1,i,1,E);let $=e.getToken();k=F(e,t,u,k,i,0,E),e.getToken()===18||e.getToken()===1074790415?$===1077936155||$===1074790415||$===18?(a|=e.destructible&128?128:0,e.assignable&2?a|=16:(ce&143360)===143360&&n?.addVarOrBlock(t,Y,f,c)):a|=e.assignable&1?32:16:(e.getToken()&4194304)===4194304?(e.assignable&2?a|=16:$!==1077936155?a|=32:n?.addVarOrBlock(t,Y,f,c),k=I(e,t,u,i,l,E,k)):(a|=16,(e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,$,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):e.destructible&8?e.report(71):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?k=be(e,t,u,i,l,E,k):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,i,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,e.getToken()!==18&&T!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===69271571?(a|=16,T===209005&&(D|=16),D|=(T===209008?256:T===209009?512:1)|2,R=ne(e,t,u,i),a|=e.assignable,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()&143360?(a|=16,T===-2147483528&&e.report(95),T===209005?(e.flags&1&&e.report(132),D|=17):T===209008?D|=256:T===209009?D|=512:e.report(0),R=N(e,t),k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===67174411?(a|=16,D|=1,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===8391476?(a|=16,T===209008?e.report(42):T===209009?e.report(43):T!==209005&&e.report(30,B[52]),r(e,t),D|=9|(T===209005?16:0),e.getToken()&143360?R=N(e,t):(e.getToken()&134217728)===134217728?R=O(e,t):e.getToken()===69271571?(D|=2,R=ne(e,t,u,i),a|=e.assignable):e.report(30,B[e.getToken()&255]),k=z(e,t,u,D,i,e.tokenStart)):(e.getToken()&134217728)===134217728?(T===209005&&(D|=16),D|=T===209008?256:T===209009?512:1,a|=16,R=O(e,t),k=z(e,t,u,D,i,e.tokenStart)):e.report(133);else if((e.getToken()&134217728)===134217728)if(R=O(e,t),e.getToken()===21){y(e,t|32,21);let{tokenStart:E}=e;if(b==="__proto__"&&h++,e.getToken()&143360){k=U(e,t,u,f,0,1,i,1,E);let{tokenValue:ce}=e,Y=e.getToken();k=F(e,t,u,k,i,0,E),e.getToken()===18||e.getToken()===1074790415?Y===1077936155||Y===1074790415||Y===18?e.assignable&2?a|=16:n?.addVarOrBlock(t,ce,f,c):a|=e.assignable&1?32:16:e.getToken()===1077936155?(e.assignable&2&&(a|=16),k=I(e,t,u,i,l,E,k)):(a|=16,k=I(e,t,u,i,l,E,k))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(e.destructible&8)!==8&&(k=F(e,t,u,k,i,0,E),a=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?k=be(e,t,u,i,l,E,k):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,0,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===67174411?(D|=1,k=z(e,t,u,D,i,e.tokenStart),a=e.assignable|16):e.report(134);else if(e.getToken()===69271571)if(R=ne(e,t,u,i),a|=e.destructible&256?256:0,D|=2,e.getToken()===21){r(e,t|32);let{tokenStart:E,tokenValue:ce}=e,Y=e.getToken();if(e.getToken()&143360){k=U(e,t,u,f,0,1,i,1,E);let $=e.getToken();k=F(e,t,u,k,i,0,E),(e.getToken()&4194304)===4194304?(a|=e.assignable&2?16:$===1077936155?0:32,k=be(e,t,u,i,l,E,k)):e.getToken()===18||e.getToken()===1074790415?$===1077936155||$===1074790415||$===18?e.assignable&2?a|=16:(Y&143360)===143360&&n?.addVarOrBlock(t,ce,f,c):a|=e.assignable&1?32:16:(a|=16,k=I(e,t,u,i,l,E,k))}else(e.getToken()&2097152)===2097152?(k=e.getToken()===69271571?X(e,t,n,u,0,i,l,f,c):j(e,t,n,u,0,i,l,f,c),a=e.destructible,e.assignable=a&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):a&8?e.report(62):(k=F(e,t,u,k,i,0,E),a=e.assignable&2?a|16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(a|=16),k=be(e,t,u,i,l,E,k)):((e.getToken()&8388608)===8388608&&(k=G(e,t,u,1,E,4,T,k)),C(e,t|32,22)&&(k=ee(e,t,u,k,E)),a|=e.assignable&2?16:32))):(k=_(e,t,u,1,0,1),a|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(a|=16):(k=F(e,t,u,k,i,0,E),a=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(a|=16),k=I(e,t,u,i,l,E,k))))}else e.getToken()===67174411?(D|=1,k=z(e,t,u,D,i,e.tokenStart),a=16):e.report(44);else if(T===8391476)if(y(e,t|32,8391476),D|=8,e.getToken()&143360){let E=e.getToken();if(R=N(e,t),D|=1,e.getToken()===67174411)a|=16,k=z(e,t,u,D,i,e.tokenStart);else throw new q(e.tokenStart,e.currentLocation,E===209005?46:E===209008||e.getToken()===209009?45:47,B[E&255])}else(e.getToken()&134217728)===134217728?(a|=16,R=O(e,t),D|=1,k=z(e,t,u,D,i,e.tokenStart)):e.getToken()===69271571?(a|=16,D|=3,R=ne(e,t,u,i),k=z(e,t,u,D,i,e.tokenStart)):e.report(126);else e.report(30,B[T&255]);a|=e.destructible&128?128:0,e.destructible=a,d.push(e.finishNode({type:"Property",key:R,value:k,kind:D&768?D&512?"set":"get":"init",computed:(D&2)>0,method:(D&1)>0,shorthand:(D&4)>0},w))}if(a|=e.destructible,e.getToken()!==18)break;r(e,t)}y(e,t,1074790415),h>1&&(a|=64);let A=e.finishNode({type:l?"ObjectPattern":"ObjectExpression",properties:d},g);return!o&&e.getToken()&4194304?Kt(e,t,u,a,i,l,g,A):(e.destructible=a,A)}function Qn(e,t,n,u,o,i,l){y(e,t,67174411);let f=[];if(e.flags=(e.flags|128)^128,e.getToken()===16)return o&512&&e.report(37,"Setter","one",""),r(e,t),f;o&256&&e.report(37,"Getter","no","s"),o&512&&e.getToken()===14&&e.report(38),t=(t|131072)^131072;let c=0,g=0;for(;e.getToken()!==18;){let d=null,{tokenStart:a}=e;if(e.getToken()&143360?((t&1)===0&&((e.getToken()&36864)===36864&&(e.flags|=256),(e.getToken()&537079808)===537079808&&(e.flags|=512)),d=it(e,t,n,o|1,0)):(e.getToken()===2162700?d=j(e,t,n,u,1,l,1,i,0):e.getToken()===69271571?d=X(e,t,n,u,1,l,1,i,0):e.getToken()===14&&(d=oe(e,t,n,u,16,i,0,0,l,1)),g=1,e.destructible&48&&e.report(50)),e.getToken()===1077936155){r(e,t|32),g=1;let h=L(e,t,u,1,0,e.tokenStart);d=e.finishNode({type:"AssignmentPattern",left:d,right:h},a)}if(c++,f.push(d),!C(e,t,18)||e.getToken()===16)break}return o&512&&c!==1&&e.report(37,"Setter","one",""),n?.reportScopeError(),g&&(e.flags|=128),y(e,t,16),f}function ne(e,t,n,u){r(e,t|32);let o=L(e,(t|131072)^131072,n,1,u,e.tokenStart);return y(e,t,20),o}function Zn(e,t,n,u,o,i,l){e.flags=(e.flags|128)^128;let f=e.tokenStart;r(e,t|32|262144);let c=e.createScopeIfLexical()?.createChildScope(512);if(t=(t|131072)^131072,C(e,t,16))return Ne(e,t,c,n,[],u,0,l);let g=0;e.destructible&=-385;let d,a=[],h=0,A=0,b=0,w=e.tokenStart;for(e.assignable=1;e.getToken()!==16;){let{tokenStart:T}=e,D=e.getToken();if(D&143360)c?.addBlockName(t,e.tokenValue,1,0),(D&537079808)===537079808?A=1:(D&36864)===36864&&(b=1),d=U(e,t,n,o,0,1,1,1,T),e.getToken()===16||e.getToken()===18?e.assignable&2&&(g|=16,A=1):(e.getToken()===1077936155?A=1:g|=16,d=F(e,t,n,d,1,0,T),e.getToken()!==16&&e.getToken()!==18&&(d=I(e,t,n,1,0,T,d)));else if((D&2097152)===2097152)d=D===2162700?j(e,t|262144,c,n,0,1,0,o,i):X(e,t|262144,c,n,0,1,0,o,i),g|=e.destructible,A=1,e.assignable=2,e.getToken()!==16&&e.getToken()!==18&&(g&8&&e.report(122),d=F(e,t,n,d,0,0,T),g|=16,e.getToken()!==16&&e.getToken()!==18&&(d=I(e,t,n,0,0,T,d)));else if(D===14){d=oe(e,t,c,n,16,o,i,0,1,0),e.destructible&16&&e.report(74),A=1,h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),g|=8;break}else{if(g|=16,d=L(e,t,n,1,1,T),h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),e.getToken()===18&&(h||(h=1,a=[d])),h){for(;C(e,t|32,18);)a.push(L(e,t,n,1,1,e.tokenStart));e.assignable=2,d=e.finishNode({type:"SequenceExpression",expressions:a},w)}return y(e,t,16),e.destructible=g,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:d},f):d}if(h&&(e.getToken()===16||e.getToken()===18)&&a.push(d),!C(e,t|32,18))break;if(h||(h=1,a=[d]),e.getToken()===16){g|=8;break}}return h&&(e.assignable=2,d=e.finishNode({type:"SequenceExpression",expressions:a},w)),y(e,t,16),g&16&&g&8&&e.report(151),g|=e.destructible&256?256:0|e.destructible&128?128:0,e.getToken()===10?(g&48&&e.report(49),t&2050&&g&128&&e.report(31),t&1025&&g&256&&e.report(32),A&&(e.flags|=128),b&&(e.flags|=256),Ne(e,t,c,n,h?a:[d],u,0,l)):(g&64&&e.report(63),g&8&&e.report(144),e.destructible=(e.destructible|256)^256|g,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:d},f):d)}function nt(e,t,n){let{tokenStart:u}=e,{tokenValue:o}=e,i=0,l=0;(e.getToken()&537079808)===537079808?i=1:(e.getToken()&36864)===36864&&(l=1);let f=N(e,t);if(e.assignable=1,e.getToken()===10){let c=e.options.lexical?qe(e,t,o):void 0;return i&&(e.flags|=128),l&&(e.flags|=256),ke(e,t,c,n,[f],0,u)}return f}function Oe(e,t,n,u,o,i,l,f,c){l||e.report(57),i&&e.report(51),e.flags&=-129;let g=e.options.lexical?qe(e,t,u):void 0;return ke(e,t,g,n,[o],f,c)}function Ne(e,t,n,u,o,i,l,f){i||e.report(57);for(let c=0;c0&&e.tokenValue==="constructor"&&e.report(109),e.getToken()===1074790415&&e.report(108),C(e,t,1074790417)){b.length>0&&e.report(120);continue}h.push(Qt(e,t,u,g,n,i,b,0,f,b.length>0?A:e.tokenStart))}return y(e,l&8?t|32:t,1074790415),g?.validatePrivateIdentifierRefs(),e.flags=e.flags&-33|a,e.finishNode({type:"ClassBody",body:h},c)}function Qt(e,t,n,u,o,i,l,f,c,g){let d=f?32:0,a=null,h=e.getToken();if(h&176128||h===-2147483528)switch(a=N(e,t),h){case 36970:if(!f&&e.getToken()!==67174411&&(e.getToken()&1048576)!==1048576&&e.getToken()!==1077936155)return Qt(e,t,n,u,o,i,l,1,c,g);break;case 209005:if(e.getToken()!==67174411&&(e.flags&1)===0){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=16|(Qe(e,t,8391476)?8:0)}break;case 209008:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=256}break;case 209009:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);d|=512}break;case 12402:if(e.getToken()!==67174411&&(e.flags&1)===0){if((e.getToken()&1073741824)===1073741824)return se(e,t,u,a,d,l,g);e.options.next&&(d|=1024)}break}else if(h===69271571)d|=2,a=ne(e,o,u,c);else if((h&134217728)===134217728)a=O(e,t);else if(h===8391476)d|=8,r(e,t);else if(e.getToken()===130)d|=8192,a=Le(e,t|16,u,768);else if((e.getToken()&1073741824)===1073741824)d|=128;else{if(f&&h===2162700)return Bn(e,t|16,n,u,g);h===-2147483527?(a=N(e,t),e.getToken()!==67174411&&e.report(30,B[e.getToken()&255])):e.report(30,B[e.getToken()&255])}if(d&1816&&(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527?a=N(e,t):(e.getToken()&134217728)===134217728?a=O(e,t):e.getToken()===69271571?(d|=2,a=ne(e,t,u,0)):e.getToken()===130?(d|=8192,a=Le(e,t,u,d)):e.report(135)),(d&2)===0&&(e.tokenValue==="constructor"?((e.getToken()&1073741824)===1073741824?e.report(129):(d&32)===0&&e.getToken()===67174411&&(d&920?e.report(53,"accessor"):(t&512)===0&&(e.flags&32?e.report(54):e.flags|=32)),d|=64):(d&8192)===0&&d&32&&e.tokenValue==="prototype"&&e.report(52)),d&1024||e.getToken()!==67174411&&(d&768)===0)return se(e,t,u,a,d,l,g);let A=z(e,t|16,u,d,c,e.tokenStart);return e.finishNode({type:"MethodDefinition",kind:(d&32)===0&&d&64?"constructor":d&256?"get":d&512?"set":"method",static:(d&32)>0,computed:(d&2)>0,key:a,value:A,...e.options.next?{decorators:l}:null},g)}function Le(e,t,n,u){let{tokenStart:o}=e;r(e,t);let{tokenValue:i}=e;return i==="constructor"&&e.report(128),e.options.lexical&&(n||e.report(4,i),u?n.addPrivateIdentifier(i,u):n.addPrivateIdentifierRef(i)),r(e,t),e.finishNode({type:"PrivateIdentifier",name:i},o)}function se(e,t,n,u,o,i,l){let f=null;if(o&8&&e.report(0),e.getToken()===1077936155){r(e,t|32);let{tokenStart:c}=e;e.getToken()===537079927&&e.report(119);let g=11264|((o&64)===0?16896:0);t=(t|g)^g|(o&8?1024:0)|(o&16?2048:0)|(o&64?16384:0)|256|65536,f=U(e,t|16,n,2,0,1,0,1,c),((e.getToken()&1073741824)!==1073741824||(e.getToken()&4194304)===4194304)&&(f=F(e,t|16,n,f,0,0,c),f=I(e,t|16,n,0,0,c,f))}return M(e,t),e.finishNode({type:o&1024?"AccessorProperty":"PropertyDefinition",key:u,value:f,static:(o&32)>0,computed:(o&2)>0,...e.options.next?{decorators:i}:null},l)}function Zt(e,t,n,u,o,i){if(e.getToken()&143360||(t&1)===0&&e.getToken()===-2147483527)return it(e,t,n,o,i);(e.getToken()&2097152)!==2097152&&e.report(30,B[e.getToken()&255]);let l=e.getToken()===69271571?X(e,t,n,u,1,0,1,o,i):j(e,t,n,u,1,0,1,o,i);return e.destructible&16&&e.report(50),e.destructible&32&&e.report(50),l}function it(e,t,n,u,o){let i=e.getToken();t&1&&((i&537079808)===537079808?e.report(119):((i&36864)===36864||i===-2147483527)&&e.report(118)),(i&20480)===20480&&e.report(102),i===241771&&(t&1024&&e.report(32),t&2&&e.report(111)),(i&255)===73&&u&24&&e.report(100),i===209006&&(t&2048&&e.report(176),t&2&&e.report(110));let{tokenValue:l,tokenStart:f}=e;return r(e,t),n?.addVarOrBlock(t,l,u,o),e.finishNode({type:"Identifier",name:l},f)}function Re(e,t,n,u,o){if(u||y(e,t,8456256),e.getToken()===8390721){let c=nu(e,o),[g,d]=lu(e,t,n,u);return e.finishNode({type:"JSXFragment",openingFragment:c,children:g,closingFragment:d},o)}e.getToken()===8457014&&e.report(30,B[e.getToken()&255]);let i=null,l=[],f=su(e,t,n,u,o);if(!f.selfClosing){[l,i]=ou(e,t,n,u);let c=Fe(i.name);Fe(f.name)!==c&&e.report(155,c)}return e.finishNode({type:"JSXElement",children:l,openingElement:f,closingElement:i},o)}function nu(e,t){return me(e),e.finishNode({type:"JSXOpeningFragment"},t)}function uu(e,t,n,u){y(e,t,8457014);let o=xt(e,t);return e.getToken()!==8390721&&e.report(25,B[65]),n?me(e):r(e,t),e.finishNode({type:"JSXClosingElement",name:o},u)}function iu(e,t,n,u){return y(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),n?me(e):r(e,t),e.finishNode({type:"JSXClosingFragment"},u)}function ou(e,t,n,u){let o=[];for(;;){let i=fu(e,t,n,u);if(i.type==="JSXClosingElement")return[o,i];o.push(i)}}function lu(e,t,n,u){let o=[];for(;;){let i=cu(e,t,n,u);if(i.type==="JSXClosingFragment")return[o,i];o.push(i)}}function fu(e,t,n,u){if(e.getToken()===137)return Gt(e,t);if(e.getToken()===2162700)return ot(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:o}=e;return r(e,t),e.getToken()===8457014?uu(e,t,u,o):Re(e,t,n,1,o)}e.report(0)}function cu(e,t,n,u){if(e.getToken()===137)return Gt(e,t);if(e.getToken()===2162700)return ot(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:o}=e;return r(e,t),e.getToken()===8457014?iu(e,t,u,o):Re(e,t,n,1,o)}e.report(0)}function Gt(e,t){let n=e.tokenStart;r(e,t);let u={type:"JSXText",value:e.tokenValue};return e.options.raw&&(u.raw=e.tokenRaw),e.finishNode(u,n)}function su(e,t,n,u,o){(e.getToken()&143360)!==143360&&(e.getToken()&4096)!==4096&&e.report(0);let i=xt(e,t),l=au(e,t,n),f=e.getToken()===8457014;return f&&y(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),u||!f?me(e):r(e,t),e.finishNode({type:"JSXOpeningElement",name:i,attributes:l,selfClosing:f},o)}function xt(e,t){let{tokenStart:n}=e;Ue(e);let u=Me(e,t);if(e.getToken()===21)return pt(e,t,u,n);for(;C(e,t,67108877);)Ue(e),u=du(e,t,u,n);return u}function du(e,t,n,u){let o=Me(e,t);return e.finishNode({type:"JSXMemberExpression",object:n,property:o},u)}function au(e,t,n){let u=[];for(;e.getToken()!==8457014&&e.getToken()!==8390721&&e.getToken()!==1048576;)u.push(mu(e,t,n));return u}function gu(e,t,n){let u=e.tokenStart;r(e,t),y(e,t,14);let o=L(e,t,n,1,0,e.tokenStart);return y(e,t,1074790415),e.finishNode({type:"JSXSpreadAttribute",argument:o},u)}function mu(e,t,n){let{tokenStart:u}=e;if(e.getToken()===2162700)return gu(e,t,n);Ue(e);let o=null,i=Me(e,t);if(e.getToken()===21&&(i=pt(e,t,i,u)),e.getToken()===1077936155)switch(un(e,t)){case 134283267:o=O(e,t);break;case 8456256:o=Re(e,t,n,0,e.tokenStart);break;case 2162700:o=ot(e,t,n,0,1);break;default:e.report(154)}return e.finishNode({type:"JSXAttribute",value:o,name:i},u)}function pt(e,t,n,u){y(e,t,21);let o=Me(e,t);return e.finishNode({type:"JSXNamespacedName",namespace:n,name:o},u)}function ot(e,t,n,u,o){let{tokenStart:i}=e;r(e,t|32);let{tokenStart:l}=e;if(e.getToken()===14)return ru(e,t,n,i);let f=null;return e.getToken()===1074790415?(o&&e.report(157),f=hu(e,{index:e.startIndex,line:e.startLine,column:e.startColumn})):f=L(e,t,n,1,0,l),e.getToken()!==1074790415&&e.report(25,B[15]),u?me(e):r(e,t),e.finishNode({type:"JSXExpressionContainer",expression:f},i)}function ru(e,t,n,u){y(e,t,14);let o=L(e,t,n,1,0,e.tokenStart);return y(e,t,1074790415),e.finishNode({type:"JSXSpreadChild",expression:o},u)}function hu(e,t){return e.finishNode({type:"JSXEmptyExpression"},t,e.tokenStart)}function Me(e,t){let n=e.tokenStart;e.getToken()&143360||e.report(30,B[e.getToken()&255]);let{tokenValue:u}=e;return r(e,t),e.finishNode({type:"JSXIdentifier",name:u},n)}function e2(e,t){return sn(e,t)}function ku(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var t2=ku;function n2(e){let t=[];for(let n of e)try{return n()}catch(u){t.push(u)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var yu=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let n=this[t];if(e(n,t,this))return n}},Au=Q("findLast",function(){if(Array.isArray(this))return yu}),u2=Au;function Tu(e){return this[e<0?this.length+e:e]}var bu=Q("at",function(){if(Array.isArray(this)||typeof this=="string")return Tu}),i2=bu;function H(e){let t=e.range?.[0]??e.start,n=(e.declaration?.decorators??e.decorators)?.[0];return n?Math.min(H(n),t):t}function J(e){return e.range?.[1]??e.end}function Du(e){let t=new Set(e);return n=>t.has(n?.type)}var le=Du;var Cu=le(["Block","CommentBlock","MultiLine"]),fe=Cu;var Eu=le(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),o2=Eu;var lt=new WeakMap;function wu(e){return lt.has(e)||lt.set(e,fe(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)),lt.get(e)}var l2=wu;function Su(e){if(!fe(e))return!1;let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(n=>n.trimStart()[0]==="*")}var ft=new WeakMap;function Bu(e){return ft.has(e)||ft.set(e,Su(e)),ft.get(e)}var ct=Bu;function Fu(e){if(e.length<2)return;let t;for(let n=e.length-1;n>=0;n--){let u=e[n];if(t&&J(u)===H(t)&&ct(u)&&ct(t)&&(e.splice(n+1,1),u.value+="*//*"+t.value,u.range=[H(u),J(t)]),!o2(u)&&!fe(u))throw new TypeError(`Unknown comment type: "${u.type}".`);t=u}}var f2=Fu;function Nu(e){return e!==null&&typeof e=="object"}var c2=Nu;var ye=null;function Ae(e){if(ye!==null&&typeof ye.property){let t=ye;return ye=Ae.prototype=null,t}return ye=Ae.prototype=e??Object.create(null),new Ae}var Lu=10;for(let e=0;e<=Lu;e++)Ae();function st(e){return Ae(e)}function Iu(e,t="type"){st(e);function n(u){let o=u[t],i=e[o];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:u});return i}return n}var s2=Iu;var s=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],d2={AccessorProperty:s[0],AnyTypeAnnotation:s[1],ArgumentPlaceholder:s[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:s[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:s[3],AsExpression:s[4],AssignmentExpression:s[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:s[6],BigIntLiteral:s[1],BigIntLiteralTypeAnnotation:s[1],BigIntTypeAnnotation:s[1],BinaryExpression:s[5],BindExpression:["object","callee"],BlockStatement:s[7],BooleanLiteral:s[1],BooleanLiteralTypeAnnotation:s[1],BooleanTypeAnnotation:s[1],BreakStatement:s[8],CallExpression:s[9],CatchClause:["param","body"],ChainExpression:s[3],ClassAccessorProperty:s[0],ClassBody:s[10],ClassDeclaration:s[11],ClassExpression:s[11],ClassImplements:s[12],ClassMethod:s[13],ClassPrivateMethod:s[13],ClassPrivateProperty:s[14],ClassProperty:s[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:s[15],ConditionalExpression:s[16],ConditionalTypeAnnotation:s[17],ContinueStatement:s[8],DebuggerStatement:s[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:s[18],DeclareEnum:s[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:s[20],DeclareFunction:["id","predicate"],DeclareHook:s[21],DeclareInterface:s[22],DeclareModule:s[19],DeclareModuleExports:s[23],DeclareNamespace:s[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:s[24],DeclareVariable:s[21],Decorator:s[3],Directive:s[18],DirectiveLiteral:s[1],DoExpression:s[10],DoWhileStatement:s[25],EmptyStatement:s[1],EmptyTypeAnnotation:s[1],EnumBigIntBody:s[26],EnumBigIntMember:s[27],EnumBooleanBody:s[26],EnumBooleanMember:s[27],EnumDeclaration:s[19],EnumDefaultedMember:s[21],EnumNumberBody:s[26],EnumNumberMember:s[27],EnumStringBody:s[26],EnumStringMember:s[27],EnumSymbolBody:s[26],ExistsTypeAnnotation:s[1],ExperimentalRestProperty:s[6],ExperimentalSpreadProperty:s[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:s[28],ExportNamedDeclaration:s[20],ExportNamespaceSpecifier:s[28],ExportSpecifier:["local","exported"],ExpressionStatement:s[3],File:["program"],ForInStatement:s[29],ForOfStatement:s[29],ForStatement:["init","test","update","body"],FunctionDeclaration:s[30],FunctionExpression:s[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:s[15],GenericTypeAnnotation:s[12],HookDeclaration:s[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:s[16],ImportAttribute:s[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:s[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:s[33],ImportSpecifier:["imported","local"],IndexedAccessType:s[34],InferredPredicate:s[1],InferTypeAnnotation:s[35],InterfaceDeclaration:s[22],InterfaceExtends:s[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:s[1],IntersectionTypeAnnotation:s[36],JsExpressionRoot:s[37],JsonRoot:s[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:s[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:s[1],JSXExpressionContainer:s[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:s[1],JSXMemberExpression:s[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:s[1],JSXSpreadAttribute:s[6],JSXSpreadChild:s[3],JSXText:s[1],KeyofTypeAnnotation:s[6],LabeledStatement:["label","body"],Literal:s[1],LogicalExpression:s[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:s[21],MatchExpression:s[39],MatchExpressionCase:s[40],MatchIdentifierPattern:s[21],MatchLiteralPattern:s[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:s[6],MatchStatement:s[39],MatchStatementCase:s[40],MatchUnaryPattern:s[6],MatchWildcardPattern:s[1],MemberExpression:s[38],MetaProperty:["meta","property"],MethodDefinition:s[42],MixedTypeAnnotation:s[1],ModuleExpression:s[10],NeverTypeAnnotation:s[1],NewExpression:s[9],NGChainedExpression:s[43],NGEmptyExpression:s[1],NGMicrosyntax:s[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:s[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:s[32],NGPipeExpression:["left","right","arguments"],NGRoot:s[37],NullableTypeAnnotation:s[23],NullLiteral:s[1],NullLiteralTypeAnnotation:s[1],NumberLiteralTypeAnnotation:s[1],NumberTypeAnnotation:s[1],NumericLiteral:s[1],ObjectExpression:["properties"],ObjectMethod:s[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:s[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:s[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:s[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:s[9],OptionalIndexedAccessType:s[34],OptionalMemberExpression:s[38],ParenthesizedExpression:s[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:s[1],PipelineTopicExpression:s[3],Placeholder:s[1],PrivateIdentifier:s[1],PrivateName:s[21],Program:s[7],Property:s[32],PropertyDefinition:s[14],QualifiedTypeIdentifier:s[44],QualifiedTypeofIdentifier:s[44],RegExpLiteral:s[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:s[6],SatisfiesExpression:s[4],SequenceExpression:s[43],SpreadElement:s[6],StaticBlock:s[10],StringLiteral:s[1],StringLiteralTypeAnnotation:s[1],StringTypeAnnotation:s[1],Super:s[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:s[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:s[1],TemplateLiteral:["quasis","expressions"],ThisExpression:s[1],ThisTypeAnnotation:s[1],ThrowStatement:s[6],TopicReference:s[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:s[45],TSAbstractKeyword:s[1],TSAbstractMethodDefinition:s[32],TSAbstractPropertyDefinition:s[45],TSAnyKeyword:s[1],TSArrayType:s[2],TSAsExpression:s[4],TSAsyncKeyword:s[1],TSBigIntKeyword:s[1],TSBooleanKeyword:s[1],TSCallSignatureDeclaration:s[46],TSClassImplements:s[47],TSConditionalType:s[17],TSConstructorType:s[46],TSConstructSignatureDeclaration:s[46],TSDeclareFunction:s[31],TSDeclareKeyword:s[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:s[26],TSEnumDeclaration:s[19],TSEnumMember:["id","initializer"],TSExportAssignment:s[3],TSExportKeyword:s[1],TSExternalModuleReference:s[3],TSFunctionType:s[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:s[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:s[35],TSInstantiationExpression:s[47],TSInterfaceBody:s[10],TSInterfaceDeclaration:s[22],TSInterfaceHeritage:s[47],TSIntersectionType:s[36],TSIntrinsicKeyword:s[1],TSJSDocAllType:s[1],TSJSDocNonNullableType:s[23],TSJSDocNullableType:s[23],TSJSDocUnknownType:s[1],TSLiteralType:s[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:s[10],TSModuleDeclaration:s[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:s[21],TSNeverKeyword:s[1],TSNonNullExpression:s[3],TSNullKeyword:s[1],TSNumberKeyword:s[1],TSObjectKeyword:s[1],TSOptionalType:s[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:s[23],TSPrivateKeyword:s[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:s[1],TSPublicKeyword:s[1],TSQualifiedName:s[5],TSReadonlyKeyword:s[1],TSRestType:s[23],TSSatisfiesExpression:s[4],TSStaticKeyword:s[1],TSStringKeyword:s[1],TSSymbolKeyword:s[1],TSTemplateLiteralType:["quasis","types"],TSThisType:s[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:s[23],TSTypeAssertion:s[4],TSTypeLiteral:s[26],TSTypeOperator:s[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:s[48],TSTypeParameterInstantiation:s[48],TSTypePredicate:s[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:s[1],TSUnionType:s[36],TSUnknownKeyword:s[1],TSVoidKeyword:s[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:s[24],TypeAnnotation:s[23],TypeCastExpression:s[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:s[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:s[48],TypeParameterInstantiation:s[48],TypePredicate:s[49],UnaryExpression:s[6],UndefinedTypeAnnotation:s[1],UnionTypeAnnotation:s[36],UnknownTypeAnnotation:s[1],UpdateExpression:s[6],V8IntrinsicIdentifier:s[1],VariableDeclaration:["declarations"],VariableDeclarator:s[27],Variance:s[1],VoidPattern:s[1],VoidTypeAnnotation:s[1],WhileStatement:s[25],WithStatement:["object","body"],YieldExpression:s[6]};var qu=s2(d2),a2=qu;function ve(e,t){if(!c2(e))return e;if(Array.isArray(e)){for(let u=0;uA<=d);a=h&&u.slice(h,d).trim().length===0}return a?void 0:(g.extra={...g.extra,parenthesized:!0},g)}case"TemplateLiteral":if(c.expressions.length!==c.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(n==="flow"||n==="hermes"||n==="espree"||n==="typescript"||i){let g=H(c)+1,d=J(c)-(c.tail?1:2);c.range=[g,d]}break;case"VariableDeclaration":{let g=i2(0,c.declarations,-1);g?.init&&u[J(g)]!==";"&&(c.range=[H(c),J(g)]);break}case"TSParenthesizedType":return c.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(c.types.length===1)return c.types[0];break;case"ImportExpression":n==="hermes"&&c.attributes&&!c.options&&(c.options=c.attributes);break}},onLeave(c){switch(c.type){case"LogicalExpression":if(m2(c))return dt(c);break;case"TSImportType":!c.source&&c.argument.type==="TSLiteralType"&&(c.source=c.argument.literal,delete c.argument);break}}}),e}function m2(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function dt(e){return m2(e)?dt({type:"LogicalExpression",operator:e.operator,left:dt({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[H(e.left),J(e.right.left)]}),right:e.right.right,range:[H(e),J(e)]}):e}var r2=Pu;var Ou=/\*\/$/,Vu=/^\/\*\*?/,Ru=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Mu=/(^|\s+)\/\/([^\n\r]*)/g,h2=/^(\r?\n)+/,vu=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,k2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Uu=/(\r?\n|^) *\* ?/g,Ju=[];function y2(e){let t=e.match(Ru);return t?t[0].trimStart():""}function A2(e){e=p(0,e.replace(Vu,"").replace(Ou,""),Uu,"$1");let n="";for(;n!==e;)n=e,e=p(0,e,vu,` +$1 $2 +`);e=e.replace(h2,"").trimEnd();let u=Object.create(null),o=p(0,e,k2,"").replace(h2,"").trimEnd(),i;for(;i=k2.exec(e);){let l=p(0,i[2],Mu,"");if(typeof u[i[1]]=="string"||Array.isArray(u[i[1]])){let f=u[i[1]];u[i[1]]=[...Ju,...Array.isArray(f)?f:[f],l]}else u[i[1]]=l}return{comments:o,pragmas:u}}var T2=["noformat","noprettier"],b2=["format","prettier"];function _u(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var D2=_u;function C2(e){let t=D2(e);t&&(e=e.slice(t.length+1));let n=y2(e),{pragmas:u,comments:o}=A2(n);return{shebang:t,text:e,pragmas:u,comments:o}}function E2(e){let{pragmas:t}=C2(e);return b2.some(n=>Object.prototype.hasOwnProperty.call(t,n))}function w2(e){let{pragmas:t}=C2(e);return T2.some(n=>Object.prototype.hasOwnProperty.call(t,n))}function Xu(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:E2,hasIgnorePragma:w2,locStart:H,locEnd:J,...e}}var S2=Xu;var B2="module";var F2="commonjs",N2=[B2,F2];function L2(e){if(typeof e=="string"){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/iu.test(e))return B2;if(/\.(?:cjs|cts)$/iu.test(e))return F2}}var ju={next:!0,ranges:!0,webcompat:!0,loc:!1,raw:!0,directives:!0,impliedStrict:!1,preserveParens:!0,lexical:!1,jsx:!0,validateRegex:!1};function Hu(e,t){let n=[],u=e2(e,{...ju,sourceType:t,onComment:n});return u.comments=n,u}function zu(e){let{description:t,loc:n}=e;return n?t2(t,{loc:{start:{line:n.start.line,column:n.start.column+1},end:{line:n.end.line,column:n.end.column+1}},cause:e}):e}function Ku(e,t){let n=L2(t?.filepath),u=(n?[n]:N2).map(i=>()=>Hu(e,i)),o;try{o=n2(u)}catch({errors:[i]}){throw zu(i)}return r2(o,{parser:"meriyah",text:e})}var $u=S2(Ku);export{I2 as default,at as parsers}; diff --git a/shared/node_modules/prettier/plugins/postcss.d.ts b/shared/node_modules/prettier/plugins/postcss.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9580f31223f272a73a2fab18cccb7695b2a35c43 --- /dev/null +++ b/shared/node_modules/prettier/plugins/postcss.d.ts @@ -0,0 +1,11 @@ +import { Parser, Printer } from "../index.js"; + +export declare const parsers: { + css: Parser; + less: Parser; + scss: Parser; +}; + +export declare const printers: { + postcss: Printer; +}; diff --git a/shared/node_modules/prettier/plugins/postcss.js b/shared/node_modules/prettier/plugins/postcss.js new file mode 100644 index 0000000000000000000000000000000000000000..b6094220f14879ebdc206b9980d689c3227bbbef --- /dev/null +++ b/shared/node_modules/prettier/plugins/postcss.js @@ -0,0 +1,61 @@ +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var bl=Object.create;var bt=Object.defineProperty;var El=Object.getOwnPropertyDescriptor;var Sl=Object.getOwnPropertyNames;var kl=Object.getPrototypeOf,Tl=Object.prototype.hasOwnProperty;var w=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),sn=(t,e)=>{for(var s in e)bt(t,s,{get:e[s],enumerable:!0})},nn=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sl(e))!Tl.call(t,n)&&n!==s&&bt(t,n,{get:()=>e[n],enumerable:!(r=El(e,n))||r.enumerable});return t};var Te=(t,e,s)=>(s=t!=null?bl(kl(t)):{},nn(e||!t||!t.__esModule?bt(s,"default",{value:t,enumerable:!0}):s,t)),Al=t=>nn(bt({},"__esModule",{value:!0}),t);var Ci=w((lx,os)=>{var x=String,Oi=function(){return{isColorSupported:!1,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x,blackBright:x,redBright:x,greenBright:x,yellowBright:x,blueBright:x,magentaBright:x,cyanBright:x,whiteBright:x,bgBlackBright:x,bgRedBright:x,bgGreenBright:x,bgYellowBright:x,bgBlueBright:x,bgMagentaBright:x,bgCyanBright:x,bgWhiteBright:x}};os.exports=Oi();os.exports.createColors=Oi});var as=w(()=>{});var jt=w((px,Ri)=>{"use strict";var Ni=Ci(),Pi=as(),st=class t extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=Ni.isColorSupported);let r=f=>f,n=f=>f,i=f=>f;if(e){let{bold:f,gray:h,red:c}=Ni.createColors(!0);n=g=>f(c(g)),r=g=>h(g),Pi&&(i=g=>Pi(g))}let o=s.split(/\r?\n/),u=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),l=String(a).length;return o.slice(u,a).map((f,h)=>{let c=u+1+h,g=" "+(" "+c).slice(-l)+" | ";if(c===this.line){if(f.length>160){let d=20,p=Math.max(0,this.column-d),m=Math.max(this.column+d,this.endColumn+d),y=f.slice(p,m),v=r(g.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,d-1)).replace(/[^\t]/g," ");return n(">")+r(g)+i(y)+` + `+v+n("^")}let b=r(g.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+r(g)+i(f)+` + `+b+n("^")}return" "+r(g)+i(f)}).join(` +`)}toString(){let e=this.showSourceCode();return e&&(e=` + +`+e+` +`),this.name+": "+this.message+e}};Ri.exports=st;st.default=st});var Ht=w((hx,qi)=>{"use strict";var Ii={after:` +`,beforeClose:` +`,beforeComment:` +`,beforeDecl:` +`,beforeOpen:" ",beforeRule:` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Rc(t){return t[0].toUpperCase()+t.slice(1)}var nt=class{constructor(e){this.builder=e}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let o=this.raw(e,null,"indent");if(o.length)for(let u=0;u0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(n=a.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=Ii[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` +`);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}};qi.exports=nt;nt.default=nt});var it=w((dx,Li)=>{"use strict";var Ic=Ht();function us(t,e){new Ic(e).stringify(t)}Li.exports=us;us.default=us});var Kt=w((mx,ls)=>{"use strict";ls.exports.isClean=Symbol("isClean");ls.exports.my=Symbol("my")});var ut=w((yx,Di)=>{"use strict";var qc=jt(),Lc=Ht(),Dc=it(),{isClean:ot,my:Mc}=Kt();function cs(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>cs(o,s)):(i==="object"&&n!==null&&(n=cs(n)),s[r]=n)}return s}function ee(t,e){if(e&&typeof e.offset<"u")return e.offset;let s=1,r=1,n=0;for(let i=0;ie.root().toProxy():e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0}}}markClean(){this[ot]=!0}markDirty(){if(this[ot]){this[ot]=!1;let e=this;for(;e=e.parent;)e[ot]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let s=this.source.start;if(e.index)s=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,i=r.slice(ee(r,this.source.start),ee(r,this.source.end)).indexOf(e.word);i!==-1&&(s=this.positionInside(i))}return s}positionInside(e){let s=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=ee(n,this.source.start),o=i+e;for(let u=i;utypeof a=="object"&&a.toJSON?a.toJSON(null,s):a);else if(typeof u=="object"&&u.toJSON)r[o]=u.toJSON(null,s);else if(o==="source"){if(u==null)continue;let a=s.get(u.input);a==null&&(a=i,s.set(u.input,i),i++),r[o]={end:u.end,inputId:a,start:u.start}}else r[o]=u}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Dc){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}warn(e,s,r={}){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}};Di.exports=at;at.default=at});var Me=w((gx,Mi)=>{"use strict";var Bc=ut(),lt=class extends Bc{constructor(e){super(e),this.type="comment"}};Mi.exports=lt;lt.default=lt});var ft=w((wx,Bi)=>{"use strict";var Uc=ut(),ct=class extends Uc{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};Bi.exports=ct;ct.default=ct});var fe=w((vx,ji)=>{"use strict";var Ui=Me(),Fi=ft(),Fc=ut(),{isClean:$i,my:Wi}=Kt(),fs,Gi,Yi,ps;function Vi(t){return t.map(e=>(e.nodes&&(e.nodes=Vi(e.nodes)),delete e.source,e))}function zi(t){if(t[$i]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)zi(e)}var z=class t extends Fc{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Fi(e)]}else if(e.selector||e.selectors)e=[new ps(e)];else if(e.name)e=[new fs(e)];else if(e.text)e=[new Ui(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[Wi]||t.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[$i]&&zi(n),n.raws||(n.raws={}),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this.markDirty(),this}replaceValues(e,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}};z.registerParse=t=>{Gi=t};z.registerRule=t=>{ps=t};z.registerAtRule=t=>{fs=t};z.registerRoot=t=>{Yi=t};ji.exports=z;z.default=z;z.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,fs.prototype):t.type==="rule"?Object.setPrototypeOf(t,ps.prototype):t.type==="decl"?Object.setPrototypeOf(t,Fi.prototype):t.type==="comment"?Object.setPrototypeOf(t,Ui.prototype):t.type==="root"&&Object.setPrototypeOf(t,Yi.prototype),t[Wi]=!0,t.nodes&&t.nodes.forEach(e=>{z.rebuild(e)})}});var Ki=w((xx,Hi)=>{var $c="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Wc=(t,e=21)=>(s=e)=>{let r="",n=s|0;for(;n--;)r+=t[Math.random()*t.length|0];return r},Gc=(t=21)=>{let e="",s=t|0;for(;s--;)e+=$c[Math.random()*64|0];return e};Hi.exports={nanoid:Gc,customAlphabet:Wc}});var Qi=w(()=>{});var hs=w((Ex,Xi)=>{Xi.exports=class{}});var Ue=w((kx,ro)=>{"use strict";var{nanoid:Yc}=Ki(),{isAbsolute:ys,resolve:gs}={},{SourceMapConsumer:Vc,SourceMapGenerator:zc}=Qi(),{fileURLToPath:Ji,pathToFileURL:Qt}={},Zi=jt(),jc=hs(),ds=as(),ms=Symbol("lineToIndexCache"),Hc=!!(Vc&&zc),eo=!!(gs&&ys);function to(t){if(t[ms])return t[ms];let e=t.css.split(` +`),s=new Array(e.length),r=0;for(let n=0,i=e.length;n"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,s.document&&(this.document=s.document.toString()),s.from&&(!eo||/^\w+:\/\//.test(s.from)||ys(s.from)?this.file=s.from:this.file=gs(s.from)),eo&&Hc){let r=new jc(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,s,r,n={}){let i,o,u,a,l;if(s&&typeof s=="object"){let h=s,c=r;if(typeof h.offset=="number"){a=h.offset;let g=this.fromOffset(a);s=g.line,r=g.col}else s=h.line,r=h.column,a=this.fromLineAndColumn(s,r);if(typeof c.offset=="number"){u=c.offset;let g=this.fromOffset(u);o=g.line,i=g.col}else o=c.line,i=c.column,u=this.fromLineAndColumn(c.line,c.column)}else if(r)a=this.fromLineAndColumn(s,r);else{a=s;let h=this.fromOffset(a);s=h.line,r=h.col}let f=this.origin(s,r,o,i);return f?l=new Zi(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):l=new Zi(e,o===void 0?s:{column:r,line:s},o===void 0?r:{column:i,line:o},this.css,this.file,n.plugin),l.input={column:r,endColumn:i,endLine:o,endOffset:u,line:s,offset:a,source:this.css},this.file&&(Qt&&(l.input.url=Qt(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,s){return to(this)[e-1]+s-1}fromOffset(e){let s=to(this),r=s[s.length-1],n=0;if(e>=r)n=s.length-1;else{let i=s.length-2,o;for(;n>1),e=s[o+1])n=o+1;else{n=o;break}}return{col:e-s[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:gs(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({column:s,line:e});if(!o.source)return!1;let u;typeof r=="number"&&(u=i.originalPositionFor({column:n,line:r}));let a;ys(o.source)?a=Qt(o.source):a=new URL(o.source,this.map.consumer().sourceRoot||Qt(this.map.mapFile));let l={column:o.column,endColumn:u&&u.column,endLine:u&&u.line,line:o.line,url:a.toString()};if(a.protocol==="file:")if(Ji)l.file=Ji(a);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(l.source=f),l}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};ro.exports=Be;Be.default=Be;ds&&ds.registerInput&&ds.registerInput(Be)});var Xt=w((Tx,no)=>{"use strict";var so=fe(),Fe=class extends so{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};no.exports=Fe;Fe.default=Fe;so.registerAtRule(Fe)});var $e=w((Ax,uo)=>{"use strict";var io=fe(),oo,ao,pe=class extends io{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new oo(new ao,this,e).stringify()}};pe.registerLazyResult=t=>{oo=t};pe.registerProcessor=t=>{ao=t};uo.exports=pe;pe.default=pe;io.registerRoot(pe)});var ws=w((Ox,lo)=>{"use strict";var pt={comma(t){return pt.split(t,[","],!0)},space(t){let e=[" ",` +`," "];return pt.split(t,e)},split(t,e,s){let r=[],n="",i=!1,o=0,u=!1,a="",l=!1;for(let f of t)l?l=!1:f==="\\"?l=!0:u?f===a&&(u=!1):f==='"'||f==="'"?(u=!0,a=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r}};lo.exports=pt;pt.default=pt});var Jt=w((Cx,fo)=>{"use strict";var co=fe(),Kc=ws(),We=class extends co{get selectors(){return Kc.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}};fo.exports=We;We.default=We;co.registerRule(We)});var tr=w((Nx,ho)=>{"use strict";var Zt=/[\t\n\f\r "#'()/;[\\\]{}]/g,er=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Qc=/.[\r\n"'(/\\]/,po=/[\da-f]/i;ho.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,u,a,l,f,h,c,g,b,d=r.length,p=0,m=[],y=[];function v(){return p}function O(W){throw e.error("Unclosed "+W,p)}function q(){return y.length===0&&p>=d}function H(W){if(y.length)return y.pop();if(p>=d)return;let A=W?W.ignoreUnclosed:!1;switch(i=r.charCodeAt(p),i){case 10:case 32:case 9:case 13:case 12:{a=p;do a+=1,i=r.charCodeAt(a);while(i===32||i===10||i===9||i===13||i===12);f=["space",r.slice(p,a)],p=a-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let k=String.fromCharCode(i);f=[k,k,p];break}case 40:{if(b=m.length?m.pop()[1]:"",g=r.charCodeAt(p+1),b==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){a=p;do{if(h=!1,a=r.indexOf(")",a+1),a===-1)if(n||A){a=p;break}else O("bracket");for(c=a;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["brackets",r.slice(p,a+1),p,a],p=a}else a=r.indexOf(")",p+1),o=r.slice(p,a+1),a===-1||Qc.test(o)?f=["(","(",p]:(f=["brackets",o,p,a],p=a);break}case 39:case 34:{l=i===39?"'":'"',a=p;do{if(h=!1,a=r.indexOf(l,a+1),a===-1)if(n||A){a=p+1;break}else O("string");for(c=a;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["string",r.slice(p,a+1),p,a],p=a;break}case 64:{Zt.lastIndex=p+1,Zt.test(r),Zt.lastIndex===0?a=r.length-1:a=Zt.lastIndex-2,f=["at-word",r.slice(p,a+1),p,a],p=a;break}case 92:{for(a=p,u=!0;r.charCodeAt(a+1)===92;)a+=1,u=!u;if(i=r.charCodeAt(a+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(a+=1,po.test(r.charAt(a)))){for(;po.test(r.charAt(a+1));)a+=1;r.charCodeAt(a+1)===32&&(a+=1)}f=["word",r.slice(p,a+1),p,a],p=a;break}default:{i===47&&r.charCodeAt(p+1)===42?(a=r.indexOf("*/",p+2)+1,a===0&&(n||A?a=r.length:O("comment")),f=["comment",r.slice(p,a+1),p,a],p=a):(er.lastIndex=p+1,er.test(r),er.lastIndex===0?a=r.length-1:a=er.lastIndex-2,f=["word",r.slice(p,a+1),p,a],m.push(f),p=a);break}}return p++,f}function ne(W){y.push(W)}return{back:ne,endOfFile:q,nextToken:H,position:v}}});var rr=w((Px,go)=>{"use strict";var Xc=Xt(),Jc=Me(),Zc=ft(),ef=$e(),mo=Jt(),tf=tr(),yo={empty:!0,space:!0};function rf(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var vs=class{constructor(e){this.input=e,this.root=new ef,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let s=new Xc;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,u=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){u=!0;break}else if(r==="}"){if(a.length>0){for(i=a.length-1,n=a[i];n&&n[0]==="space";)n=a[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]),s.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),o&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),u&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let s=0,r,n,i;for(let[o,u]of e.entries()){if(n=u,i=n[0],i==="("&&(s+=1),i===")"&&(s-=1),s===0&&i===":")if(!r)this.doubleColon(n);else{if(r[0]==="word"&&r[1]==="progid")continue;return o}r=n}return!1}comment(e){let s=new Jc;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}createTokenizer(){this.tokenizer=tf(this.input)}decl(e,s){let r=new Zc;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||rf(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(i=e[l],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,l);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),h="";for(let c=l;c>0;c--){let g=f[c][0];if(h.trim().startsWith("!")&&g!=="space")break;h=f.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=o.map(l=>l[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let s=new mo;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="",s.source.end=this.getPosition(e[2]),s.source.end.offset+=s.raws.ownSemicolon.length)}}getPosition(e){let s=this.input.fromOffset(e);return{column:s.col,line:s.line,offset:e}}init(e,s){this.current.push(e),e.source={input:this.input,start:this.getPosition(s)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let s=!1,r=null,n=!1,i=null,o=[],u=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),r==="("||r==="[")i||(i=l),o.push(r==="("?")":"]");else if(u&&n&&r==="{")i||(i=l),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(a,u);return}else break;else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!u)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,u)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,s,r,n){let i,o,u=r.length,a="",l=!0,f,h;for(let c=0;cg+b[1],"");e.raws[s]={raw:c,value:a}}e[s]=a}rule(e){e.pop();let s=new mo;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n{"use strict";var sf=fe(),nf=Ue(),of=rr();function sr(t,e){let s=new nf(t,e),r=new of(s);try{r.parse()}catch(n){throw n}return r.root}wo.exports=sr;sr.default=sr;sf.registerParse(sr)});var vo=w((Ix,xs)=>{var af=tr(),uf=Ue();xs.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(` +`))),n=t[1].substring(t[1].indexOf(` +`));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new uf(n),this.tokenizer=af(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),xs.exports.isInlineComment.bind(this)(t)}return!1}}});var _o=w((qx,xo)=>{xo.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(u=>u[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var Eo=w((Lx,bo)=>{var lf=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,cf=/\.[0-9]/,ff=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&lf.test(e)===!1&&cf.test(e)===!1};bo.exports={isMixinToken:ff}});var ko=w((Dx,So)=>{var pf=tr(),hf=/^url\((.+)\)/;So.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=pf({css:s});for(t.filename=s.replace(hf,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var Co=w((Mx,Oo)=>{var To=/:$/,Ao=/^:(\s+)?/;Oo.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(To.test(e)){let[r]=e.match(To);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(Ao.test(s)){let[r]=s.match(Ao);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var Ro=w((Ux,Po)=>{var df=Me(),mf=rr(),{isInlineComment:yf}=vo(),{interpolation:No}=_o(),{isMixinToken:gf}=Eo(),wf=ko(),vf=Co(),xf=/(!\s*important)$/i;Po.exports=class extends mf{constructor(...e){super(...e),this.lastNode=null}atrule(e){No.bind(this)(e)||(super.atrule(e),wf(this.lastNode),vf(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(u=>u[0]==="("),r=e.reverse().find(u=>u[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(u=>u[1]).join("");for(let u of e.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new df,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(l=>l[0]==="brackets"),i=e.findIndex(l=>l[0]==="("),o="";if((n<0||n>3)&&i>0){let l=e.reduce((v,O,q)=>O[0]===")"?q:v),h=e.slice(i,l+i).map(v=>v[1]).join(""),[c]=e.slice(i),g=[c[2],c[3]],[b]=e.slice(l,l+1),d=[b[2],b[3]],p=["brackets",h].concat(g,d),m=e.slice(0,i),y=e.slice(l+1);e=m,e.push(p),e=e.concat(y)}let u=[];for(let l of e)if((l[1]==="!"||u.length)&&u.push(l),l[1]==="important")break;if(u.length){let[l]=u,f=e.indexOf(l),h=u[u.length-1],c=[l[2],l[3]],g=[h[4],h[5]],d=["word",u.map(p=>p[1]).join("")].concat(c,g);e.splice(f,u.length,d)}let a=e.findIndex(l=>xf.test(l[1]));a>0&&([,o]=e[a],e.splice(a,1));for(let l of e.reverse())this.tokenizer.back(l);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){yf.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),No.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(gf(s)){this.mixin(e);return}super.unknownWord(e)}}});var qo=w(($x,Io)=>{var _f=Ht();Io.exports=class extends _f{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let u=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+u,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var Lo=w((Wx,_s)=>{var bf=Ue(),Ef=Ro(),Sf=qo();_s.exports={parse(t,e){let s=new bf(t,e),r=new Ef(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,u=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:u.line,column:u.col},n.source.end){let a=i+n.source.end.offset,l=s.fromOffset(i+n.source.end.offset);n.source.end={offset:a,line:l.line,column:l.col}}}),r.root},stringify(t,e){new Sf(e).stringify(t)},nodeToString(t){let e="";return _s.exports.stringify(t,s=>{e+=s}),e}}});var nr=w((Gx,Bo)=>{"use strict";var kf=fe(),Do,Mo,be=class extends kf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Do(new Mo,this,e).stringify()}};be.registerLazyResult=t=>{Do=t};be.registerProcessor=t=>{Mo=t};Bo.exports=be;be.default=be});var Fo=w((Yx,Uo)=>{"use strict";var Tf=Xt(),Af=Me(),Of=ft(),Cf=Ue(),Nf=hs(),Pf=$e(),Rf=Jt();function dt(t,e){if(Array.isArray(t))return t.map(n=>dt(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Cf.prototype};i.map&&(i.map={...i.map,__proto__:Nf.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>dt(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new Pf(r);if(r.type==="decl")return new Of(r);if(r.type==="rule")return new Rf(r);if(r.type==="comment")return new Af(r);if(r.type==="atrule")return new Tf(r);throw new Error("Unknown node type: "+t.type)}Uo.exports=dt;dt.default=dt});var bs=w((Vx,$o)=>{$o.exports=class{generate(){}}});var Es=w((jx,Wo)=>{"use strict";var mt=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Wo.exports=mt;mt.default=mt});var ir=w((Hx,Go)=>{"use strict";var If=Es(),yt=class{get content(){return this.css}constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new If(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}};Go.exports=yt;yt.default=yt});var Ss=w((Kx,Vo)=>{"use strict";var Yo={};Vo.exports=function(e){Yo[e]||(Yo[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var As=w((Xx,Ko)=>{"use strict";var qf=fe(),Lf=nr(),Df=bs(),Mf=ht(),zo=ir(),Bf=$e(),Uf=it(),{isClean:Q,my:Ff}=Kt(),Qx=Ss(),$f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Wf={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Gf={Once:!0,postcssPlugin:!0,prepare:!0},Ge=0;function gt(t){return typeof t=="object"&&typeof t.then=="function"}function Ho(t){let e=!1,s=$f[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,Ge,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,Ge,s+"Exit"]:[s,s+"Exit"]}function jo(t){let e;return t.type==="document"?e=["Document",Ge,"DocumentExit"]:t.type==="root"?e=["Root",Ge,"RootExit"]:e=Ho(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function ks(t){return t[Q]=!1,t.nodes&&t.nodes.forEach(e=>ks(e)),t}var Ts={},he=class t{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=ks(s);else if(s instanceof t||s instanceof zo)n=ks(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=Mf;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[Ff]&&qf.rebuild(n)}this.result=new zo(e,n,r),this.helpers={...Ts,postcss:Ts,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!Wf[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Gf[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(s);if(gt(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return gt(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,s=Uf;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new Df(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let s=this.runOnRoot(e);if(gt(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Q];)e[Q]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,s){return this.async().then(e,s)}toString(){return this.css}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(gt(i))throw this.getAsyncError()}}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex{n[Q]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}};he.registerPostcss=t=>{Ts=t};Ko.exports=he;he.default=he;Bf.registerLazyResult(he);Lf.registerLazyResult(he)});var Xo=w((Zx,Qo)=>{"use strict";var Yf=bs(),Vf=ht(),zf=ir(),jf=it(),Jx=Ss(),wt=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,s=Vf;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=jf;this.result=new zf(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let u=new Yf(i,n,this._opts,s);if(u.isMap()){let[a,l]=u.generate();a&&(this.result.css=a),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,s){return this.async().then(e,s)}toString(){return this._css}warnings(){return[]}};Qo.exports=wt;wt.default=wt});var Zo=w((e_,Jo)=>{"use strict";var Hf=nr(),Kf=As(),Qf=Xo(),Xf=$e(),Ee=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}process(e,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new Qf(this,e,s):new Kf(this,e,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Jo.exports=Ee;Ee.default=Ee;Xf.registerProcessor(Ee);Hf.registerProcessor(Ee)});var or=w((t_,oa)=>{"use strict";var ea=Xt(),ta=Me(),Jf=fe(),Zf=jt(),ra=ft(),sa=nr(),ep=Fo(),tp=Ue(),rp=As(),sp=ws(),np=ut(),ip=ht(),Os=Zo(),op=ir(),na=$e(),ia=Jt(),ap=it(),up=Es();function S(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Os(t)}S.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let u=s(...o);return u.postcssPlugin=e,u.postcssVersion=new Os().version,u}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,u,a){return S([n(a)]).process(o,u)},n};S.stringify=ap;S.parse=ip;S.fromJSON=ep;S.list=sp;S.comment=t=>new ta(t);S.atRule=t=>new ea(t);S.decl=t=>new ra(t);S.rule=t=>new ia(t);S.root=t=>new na(t);S.document=t=>new sa(t);S.CssSyntaxError=Zf;S.Declaration=ra;S.Container=Jf;S.Processor=Os;S.Document=sa;S.Comment=ta;S.Warning=up;S.AtRule=ea;S.Result=op;S.Input=tp;S.Rule=ia;S.Root=na;S.Node=np;rp.registerPostcss(S);oa.exports=S;S.default=S});var ua=w((r_,aa)=>{var{Container:lp}=or(),Cs=class extends lp{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};aa.exports=Cs});var fa=w((s_,ca)=>{"use strict";var ar=/[\t\n\f\r "#'()/;[\\\]{}]/g,ur=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,cp=/.[\r\n"'(/\\]/,la=/[\da-f]/i,lr=/[\n\f\r]/g;ca.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,u,a,l,f,h,c,g,b=r.length,d=0,p=[],m=[],y;function v(){return d}function O(A){throw e.error("Unclosed "+A,d)}function q(){return m.length===0&&d>=b}function H(){let A=1,k=!1,N=!1;for(;A>0;)o+=1,r.length<=o&&O("interpolation"),i=r.charCodeAt(o),c=r.charCodeAt(o+1),k?!N&&i===k?(k=!1,N=!1):i===92?N=!N:N&&(N=!1):i===39||i===34?k=i:i===125?A-=1:i===35&&c===123&&(A+=1)}function ne(A){if(m.length)return m.pop();if(d>=b)return;let k=A?A.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case 10:case 32:case 9:case 13:case 12:{o=d;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);g=["space",r.slice(d,o)],d=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let N=String.fromCharCode(i);g=[N,N,d];break}case 44:{g=["word",",",d,d+1];break}case 40:{if(h=p.length?p.pop()[1]:"",c=r.charCodeAt(d+1),h==="url"&&c!==39&&c!==34){for(y=1,f=!1,o=d+1;o<=r.length-1;){if(c=r.charCodeAt(o),c===92)f=!f;else if(c===40)y+=1;else if(c===41&&(y-=1,y===0))break;o+=1}a=r.slice(d,o+1),g=["brackets",a,d,o],d=o}else o=r.indexOf(")",d+1),a=r.slice(d,o+1),o===-1||cp.test(a)?g=["(","(",d]:(g=["brackets",a,d,o],d=o);break}case 39:case 34:{for(u=i,o=d,f=!1;o{var{Comment:fp}=or(),pp=rr(),hp=ua(),dp=fa(),Ns=class extends pp{atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}comment(e){if(e[4]==="inline"){let s=new fp;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={column:r.col,line:r.line,offset:e[3]+1};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}createTokenizer(){this.tokenizer=dp(this.input)}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,u)=>{if(u[0]==="comment"&&u[4]==="inline"){let a=u[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+a+"*/"}else return o+u[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(` +`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new hp;this.init(i,e[0][2]);let o;for(let a=e.length-1;a>=0;a--)if(e[a][0]!=="space"){o=e[a];break}if(o[3]){let a=this.input.fromOffset(o[3]);i.source.end={column:a.col,line:a.line,offset:o[3]+1}}else{let a=this.input.fromOffset(o[2]);i.source.end={column:a.col,line:a.line,offset:o[2]+1}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let a=this.input.fromOffset(e[0][2]);i.source.start={column:a.col,line:a.line,offset:e[0][2]}}for(i.prop="";e.length;){let a=e[0][0];if(a===":"||a==="space"||a==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let u;for(;e.length;)if(u=e.shift(),u[0]===":"){i.raws.between+=u[1];break}else i.raws.between+=u[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let a=e.length-1;a>0;a--){if(u=e[a],u[1]==="!important"){i.important=!0;let l=this.stringFrom(e,a);l=this.spacesFromEnd(e)+l,l!==" !important"&&(i.raws.important=l);break}else if(u[1]==="important"){let l=e.slice(0),f="";for(let h=a;h>0;h--){let c=l[h][0];if(f.trim().indexOf("!")===0&&c!=="space")break;f=l.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=l)}if(u[0]!=="space"&&u[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}};pa.exports=Ns});var ma=w((i_,da)=>{var{Input:mp}=or(),yp=ha();da.exports=function(e,s){let r=new mp(e,s),n=new yp(r);return n.parse(),n.root}});var Rs=w(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});function vp(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Ps.default=vp});var qs=w(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var xp=Rs(),ga=_p(xp);function _p(t){return t&&t.__esModule?t:{default:t}}function vt(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(s){s.parent=e})}vt.prototype=Object.create(ga.default.prototype);vt.constructor=ga.default;vt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.parseMediaFeature=xa;xt.parseMediaQuery=Ds;xt.parseMediaList=Sp;var bp=Rs(),wa=va(bp),Ep=qs(),Ls=va(Ep);function va(t){return t&&t.__esModule?t:{default:t}}function xa(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,u=null,a=e,l=t;t[0]==="("&&t[t.length-1]===")"&&(l=t.substring(1,t.length-1),a++);for(var f=0;f0&&(s[l-1].after=i.before),i.type===void 0){if(l>0){if(s[l-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[l-1].value==="not"||s[l-1].value==="only"){i.type="media-type";continue}if(s[l-1].value==="and"){i.type="media-feature-expression";continue}s[l-1].type==="media-type"&&(s[l+1]?i.type=s[l+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(l===0){if(!s[l+1]){i.type="media-type";continue}if(s[l+1]&&(s[l+1].type==="media-feature-expression"||s[l+1].type==="keyword")){i.type="media-type";continue}if(s[l+2]){if(s[l+2].type==="media-feature-expression"){i.type="media-type",s[l+1].type="keyword";continue}if(s[l+2].type==="keyword"){i.type="keyword",s[l+1].type="media-type";continue}}if(s[l+3]&&s[l+3].type==="media-feature-expression"){i.type="keyword",s[l+1].type="media-type",s[l+2].type="keyword";continue}}}return s}function Sp(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var u=t[i];u==="("&&o++,u===")"&&o--,i++}e.unshift(new wa.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var a=s;a{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default=Cp;var kp=qs(),Tp=Op(kp),Ap=_a();function Op(t){return t&&t.__esModule?t:{default:t}}function Cp(t){return new Tp.default({nodes:(0,Ap.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Us=w((y_,ka)=>{ka.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,u){return Array.isArray(u)&&i{Ta.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var $s=w((w_,Aa)=>{"use strict";function Rp(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o{"use strict";cr.__esModule=!0;var Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Lp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Dp=function t(e,s){if((typeof e>"u"?"undefined":Oa(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":Oa(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(u){return t(u,r)}):r[n]=t(i,r)}return r},Mp=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Lp(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,u=o===void 0?"":o;this.spaces={before:i,after:u}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Dp(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t})();cr.default=Mp;Ca.exports=cr.default});var B=w(U=>{"use strict";U.__esModule=!0;var v_=U.TAG="tag",x_=U.STRING="string",__=U.SELECTOR="selector",b_=U.ROOT="root",E_=U.PSEUDO="pseudo",S_=U.NESTING="nesting",k_=U.ID="id",T_=U.COMMENT="comment",A_=U.COMBINATOR="combinator",O_=U.CLASS="class",C_=U.ATTRIBUTE="attribute",N_=U.UNIVERSAL="universal"});var pr=w((fr,Na)=>{"use strict";fr.__esModule=!0;var Bp=(function(){function t(e,s){for(var r=0;r=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var u=o;u.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var u in this.indexes)o=this.indexes[u],i<=o&&(this.indexes[u]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var u in this.indexes)o=this.indexes[u],i<=o&&(this.indexes[u]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]{"use strict";hr.__esModule=!0;var Hp=pr(),Kp=Xp(Hp),Qp=B();function Xp(t){return t&&t.__esModule?t:{default:t}}function Jp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var th=(function(t){eh(e,t);function e(s){Jp(this,e);var r=Zp(this,t.call(this,s));return r.type=Qp.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e})(Kp.default);hr.default=th;Pa.exports=hr.default});var qa=w((dr,Ia)=>{"use strict";dr.__esModule=!0;var rh=pr(),sh=ih(rh),nh=B();function ih(t){return t&&t.__esModule?t:{default:t}}function oh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var lh=(function(t){uh(e,t);function e(s){oh(this,e);var r=ah(this,t.call(this,s));return r.type=nh.SELECTOR,r}return e})(sh.default);dr.default=lh;Ia.exports=dr.default});var Ye=w((mr,La)=>{"use strict";mr.__esModule=!0;var ch=(function(){function t(e,s){for(var r=0;r{"use strict";yr.__esModule=!0;var wh=Ye(),vh=_h(wh),xh=B();function _h(t){return t&&t.__esModule?t:{default:t}}function bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Sh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var kh=(function(t){Sh(e,t);function e(s){bh(this,e);var r=Eh(this,t.call(this,s));return r.type=xh.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e})(vh.default);yr.default=kh;Da.exports=yr.default});var Ua=w((gr,Ba)=>{"use strict";gr.__esModule=!0;var Th=ke(),Ah=Ch(Th),Oh=B();function Ch(t){return t&&t.__esModule?t:{default:t}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ih=(function(t){Rh(e,t);function e(s){Nh(this,e);var r=Ph(this,t.call(this,s));return r.type=Oh.COMMENT,r}return e})(Ah.default);gr.default=Ih;Ba.exports=gr.default});var $a=w((wr,Fa)=>{"use strict";wr.__esModule=!0;var qh=Ye(),Lh=Mh(qh),Dh=B();function Mh(t){return t&&t.__esModule?t:{default:t}}function Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $h=(function(t){Fh(e,t);function e(s){Bh(this,e);var r=Uh(this,t.call(this,s));return r.type=Dh.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e})(Lh.default);wr.default=$h;Fa.exports=wr.default});var Ga=w((vr,Wa)=>{"use strict";vr.__esModule=!0;var Wh=Ye(),Gh=Vh(Wh),Yh=B();function Vh(t){return t&&t.__esModule?t:{default:t}}function zh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kh=(function(t){Hh(e,t);function e(s){zh(this,e);var r=jh(this,t.call(this,s));return r.type=Yh.TAG,r}return e})(Gh.default);vr.default=Kh;Wa.exports=vr.default});var Va=w((xr,Ya)=>{"use strict";xr.__esModule=!0;var Qh=ke(),Xh=Zh(Qh),Jh=B();function Zh(t){return t&&t.__esModule?t:{default:t}}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function td(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var sd=(function(t){rd(e,t);function e(s){ed(this,e);var r=td(this,t.call(this,s));return r.type=Jh.STRING,r}return e})(Xh.default);xr.default=sd;Ya.exports=xr.default});var ja=w((_r,za)=>{"use strict";_r.__esModule=!0;var nd=pr(),id=ad(nd),od=B();function ad(t){return t&&t.__esModule?t:{default:t}}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fd=(function(t){cd(e,t);function e(s){ud(this,e);var r=ld(this,t.call(this,s));return r.type=od.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e})(id.default);_r.default=fd;za.exports=_r.default});var Ka=w((br,Ha)=>{"use strict";br.__esModule=!0;var pd=Ye(),hd=md(pd),dd=B();function md(t){return t&&t.__esModule?t:{default:t}}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function wd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var vd=(function(t){wd(e,t);function e(s){yd(this,e);var r=gd(this,t.call(this,s));return r.type=dd.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e})(hd.default);br.default=vd;Ha.exports=br.default});var Xa=w((Er,Qa)=>{"use strict";Er.__esModule=!0;var xd=Ye(),_d=Ed(xd),bd=B();function Ed(t){return t&&t.__esModule?t:{default:t}}function Sd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ad=(function(t){Td(e,t);function e(s){Sd(this,e);var r=kd(this,t.call(this,s));return r.type=bd.UNIVERSAL,r.value="*",r}return e})(_d.default);Er.default=Ad;Qa.exports=Er.default});var Za=w((Sr,Ja)=>{"use strict";Sr.__esModule=!0;var Od=ke(),Cd=Pd(Od),Nd=B();function Pd(t){return t&&t.__esModule?t:{default:t}}function Rd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Id(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function qd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ld=(function(t){qd(e,t);function e(s){Rd(this,e);var r=Id(this,t.call(this,s));return r.type=Nd.COMBINATOR,r}return e})(Cd.default);Sr.default=Ld;Ja.exports=Sr.default});var tu=w((kr,eu)=>{"use strict";kr.__esModule=!0;var Dd=ke(),Md=Ud(Dd),Bd=B();function Ud(t){return t&&t.__esModule?t:{default:t}}function Fd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Wd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Gd=(function(t){Wd(e,t);function e(s){Fd(this,e);var r=$d(this,t.call(this,s));return r.type=Bd.NESTING,r.value="&",r}return e})(Md.default);kr.default=Gd;eu.exports=kr.default});var su=w((Tr,ru)=>{"use strict";Tr.__esModule=!0;Tr.default=Yd;function Yd(t){return t.sort(function(e,s){return e-s})}ru.exports=Tr.default});var pu=w((Cr,fu)=>{"use strict";Cr.__esModule=!0;Cr.default=tm;var nu=39,Vd=34,Ws=92,iu=47,_t=10,Gs=32,Ys=12,Vs=9,zs=13,ou=43,au=62,uu=126,lu=124,zd=44,jd=40,Hd=41,Kd=91,Qd=93,Xd=59,cu=42,Jd=58,Zd=38,em=64,Ar=/[ \n\t\r\{\(\)'"\\;/]/g,Or=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function tm(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,u=void 0,a=void 0,l=void 0,f=void 0,h=void 0,c=void 0,g=void 0,b=s.length,d=-1,p=1,m=0,y=function(O,q){if(t.safe)s+=q,n=s.length-1;else throw t.error("Unclosed "+O,p,m-d,m)};m0?(f=p+u,h=n-o[u].length):(f=p,h=d),e.push(["comment",a,p,m-d,f,n-h,m]),d=h,p=f,m=n):(Or.lastIndex=m+1,Or.test(s),Or.lastIndex===0?n=s.length-1:n=Or.lastIndex-2,e.push(["word",s.slice(m,n+1),p,m-d,p,n-d,m]),m=n);break}m++}return e}fu.exports=Cr.default});var mu=w((Nr,du)=>{"use strict";Nr.__esModule=!0;var rm=(function(){function t(e,s){for(var r=0;r1?(o[0]===""&&(o[0]=!0),u.attribute=this.parseValue(o[2]),u.namespace=this.parseNamespace(o[0])):u.attribute=this.parseValue(i[0]),r=new Sm.default(u),i[2]){var a=i[2].split(/(\s+i\s*?)$/),l=a[0].trim();r.value=this.lossy?l:a[0],a[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=a[1])),r.quoted=l[0]==="'"||l[0]==='"',r.raws.unquoted=r.quoted?l.slice(1,-1):l}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new Om.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new xm.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new Tm.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var u=this.currToken[1];if(o+=u,u.lastIndexOf("\\")===u.length-1){var a=this.nextToken;a&&a[0]==="space"&&(o+=this.parseSpace(a[1]," "),this.position++)}i=this.nextToken}var l=(0,js.default)(o,"."),f=(0,js.default)(o,"#"),h=(0,js.default)(o,"#{");h.length&&(f=f.filter(function(g){return!~h.indexOf(g)}));var c=(0,Rm.default)((0,am.default)((0,nm.default)([[0],l,f])));c.forEach(function(g,b){var d=c[b+1]||o.length,p=o.slice(g,d);if(b===0&&r)return r.call(n,p,c.length);var m=void 0;~l.indexOf(g)?m=new pm.default({value:p.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}):~f.indexOf(g)?m=new ym.default({value:p.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}):m=new wm.default({value:p,source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position{"use strict";Pr.__esModule=!0;var Um=(function(){function t(e,s){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=new $m.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},Um(t,[{key:"result",get:function(){return String(this.res)}}]),t})();Pr.default=Ym;yu.exports=Pr.default});var j=w((D_,vu)=>{"use strict";var Ks=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>Ks(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=Ks(n)),s[r]=n)}return s};vu.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let s=Ks(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";var zm=j(),Ve=class extends zm{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Ve.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Ve.prototype[e]&&(Ve.prototype[e]=function(s){return this.walkType(t,s)})};xu.exports=Ve});var bu=w((U_,_u)=>{"use strict";var jm=F();_u.exports=class extends jm{constructor(e){super(e),this.type="root"}}});var Su=w(($_,Eu)=>{"use strict";var Hm=F();Eu.exports=class extends Hm{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var Au=w((W_,Tu)=>{"use strict";var ku=F(),Rr=class extends ku{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};ku.registerWalker(Rr);Tu.exports=Rr});var Cu=w((G_,Ou)=>{"use strict";var Km=F(),Qm=j(),Ir=class extends Qm{constructor(e){super(e),this.type="colon"}};Km.registerWalker(Ir);Ou.exports=Ir});var Pu=w((Y_,Nu)=>{"use strict";var Xm=F(),Jm=j(),qr=class extends Jm{constructor(e){super(e),this.type="comma"}};Xm.registerWalker(qr);Nu.exports=qr});var Iu=w((V_,Ru)=>{"use strict";var Zm=F(),ey=j(),Lr=class extends ey{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Zm.registerWalker(Lr);Ru.exports=Lr});var Du=w((z_,Lu)=>{"use strict";var qu=F(),Dr=class extends qu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};qu.registerWalker(Dr);Lu.exports=Dr});var Bu=w((j_,Mu)=>{"use strict";var ty=F(),ry=j(),Mr=class extends ry{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};ty.registerWalker(Mr);Mu.exports=Mr});var Fu=w((H_,Uu)=>{"use strict";var sy=F(),ny=j(),Br=class extends ny{constructor(e){super(e),this.type="operator"}};sy.registerWalker(Br);Uu.exports=Br});var Wu=w((K_,$u)=>{"use strict";var iy=F(),oy=j(),Ur=class extends oy{constructor(e){super(e),this.type="paren",this.parenType=""}};iy.registerWalker(Ur);$u.exports=Ur});var Yu=w((Q_,Gu)=>{"use strict";var ay=F(),uy=j(),Fr=class extends uy{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};ay.registerWalker(Fr);Gu.exports=Fr});var zu=w((X_,Vu)=>{"use strict";var ly=F(),cy=j(),$r=class extends cy{constructor(e){super(e),this.type="word"}};ly.registerWalker($r);Vu.exports=$r});var Hu=w((J_,ju)=>{"use strict";var fy=F(),py=j(),Wr=class extends py{constructor(e){super(e),this.type="unicode-range"}};fy.registerWalker(Wr);ju.exports=Wr});var Qu=w((Z_,Ku)=>{"use strict";var Qs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Ku.exports=Qs});var Zu=w((eb,Ju)=>{"use strict";var Gr=/[ \n\t\r\{\(\)'"\\;,/]/g,hy=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ze=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,dy=/^[a-z0-9]/i,my=/^[a-f0-9?\-]/i,Xu=Qu();Ju.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,u=1,a=0,l=0,f=null,h,c,g,b,d,p,m,y,v,O,q,H;function ne(A){let k=`Unclosed ${A} at line: ${u}, column: ${a-o}, token: ${a}`;throw new Xu(k)}function W(){let A=`Syntax error at line: ${u}, column: ${a-o}, token: ${a}`;throw new Xu(A)}for(;a0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",u,a-o,u,c-o,a]);break;case 41:l--,f=f&&l>0,r.push([")",")",u,a-o,u,c-o,a]);break;case 39:case 34:g=h===39?"'":'"',c=a;do for(O=!1,c=n.indexOf(g,c+1),c===-1&&ne("quote",g),q=c;n.charCodeAt(q-1)===92;)q-=1,O=!O;while(O);r.push(["string",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 64:Gr.lastIndex=a+1,Gr.test(n),Gr.lastIndex===0?c=n.length-1:c=Gr.lastIndex-2,r.push(["atword",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 92:c=a,h=n.charCodeAt(c+1),m&&h!==47&&h!==32&&h!==10&&h!==9&&h!==13&&h!==12&&(c+=1),r.push(["word",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 43:case 45:case 42:c=a+1,H=n.slice(a+1,c+1);let A=n.slice(a-1,a);if(h===45&&H.charCodeAt(0)===45){c++,r.push(["word",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;break}r.push(["operator",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;break;default:if(h===47&&(n.charCodeAt(a+1)===42||s.loose&&!f&&n.charCodeAt(a+1)===47)){if(n.charCodeAt(a+1)===42)c=n.indexOf("*/",a+2)+1,c===0&&ne("comment","*/");else{let N=n.indexOf(` +`,a+2);c=N!==-1?N-1:i}p=n.slice(a,c+1),b=p.split(` +`),d=b.length-1,d>0?(y=u+d,v=c-b[d].length):(y=u,v=o),r.push(["comment",p,u,a-o,y,c-v,a]),o=v,u=y,a=c}else if(h===35&&!dy.test(n.slice(a+1,a+2)))c=a+1,r.push(["#",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;else if((h===117||h===85)&&n.charCodeAt(a+1)===43){c=a+2;do c+=1,h=n.charCodeAt(c);while(c=48&&h<=57&&(k=ze),k.lastIndex=a+1,k.test(n),k.lastIndex===0?c=n.length-1:c=k.lastIndex-2,k===ze||h===46){let N=n.charCodeAt(c),tn=n.charCodeAt(c+1),rn=n.charCodeAt(c+2);(N===101||N===69)&&(tn===45||tn===43)&&rn>=48&&rn<=57&&(ze.lastIndex=c+2,ze.test(n),ze.lastIndex===0?c=n.length-1:c=ze.lastIndex-2)}r.push(["word",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c}break}a++}return r}});var tl=w((tb,el)=>{"use strict";var Xs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};el.exports=Xs});var il=w((sb,nl)=>{"use strict";var yy=bu(),gy=Su(),wy=Au(),vy=Cu(),xy=Pu(),_y=Iu(),by=Du(),Ey=Bu(),Sy=Fu(),rl=Wu(),ky=Yu(),sl=zu(),Ty=Hu(),Ay=Zu(),Oy=Us(),Cy=Fs(),Ny=$s(),Py=tl();function Ry(t){return t.sort((e,s)=>e-s)}nl.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new yy;let n=new gy;this.root.append(n),this.current=n,this.tokens=Ay(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new vy({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new xy({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new _y({value:s,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(r),this.position++}error(e,s){throw new Py(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return s=new Sy({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(s)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,s=this.position+1,r=this.currToken,n;for(;s=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Ty({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let u=this.currToken[1];s+=u,e=this.nextToken}i=Cy(s,"@"),o=Ry(Ny(Oy([[0],i]))),o.forEach((u,a)=>{let l=o[a+1]||s.length,f=s.slice(u,l),h;if(~i.indexOf(u))h=new wy({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a]});else if(r.test(this.currToken[1])){let c=f.replace(r,"");h=new Ey({value:f.replace(c,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a],unit:c})}else h=new(e&&e[0]==="("?by:sl)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a]}),h.type==="word"?(h.isHex=/^#(.+)/.test(f),h.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(h)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new ky({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var Ky={};sn(Ky,{languages:()=>ki,options:()=>Ai,parsers:()=>en,printers:()=>Hy});var Et=(t,e)=>(s,r,...n)=>s|1&&r==null?void 0:(e.call(r)??r[t]).apply(r,n);var Ol=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},Cl=Et("replaceAll",function(){if(typeof this=="string")return Ol}),E=Cl;function Nl(t){return this[t<0?this.length+t:t]}var Pl=Et("at",function(){if(Array.isArray(this)||typeof this=="string")return Nl}),G=Pl;var Rl=()=>{},K=Rl;var je="string",He="array",St="cursor",ie="indent",Ae="align",kt="trim",oe="group",ae="fill",me="if-break",Tt="indent-if-break",Oe="line-suffix",At="line-suffix-boundary",X="line",Ot="label",Ce="break-parent",Ct=new Set([St,ie,Ae,kt,oe,ae,me,Tt,Oe,At,X,Ot,Ce]);function Il(t){if(typeof t=="string")return je;if(Array.isArray(t))return He;if(!t)return;let{type:e}=t;if(Ct.has(e))return e}var ue=Il;var ql=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ll(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(ue(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=ql([...Ct].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var zr=class extends Error{name="InvalidDocError";constructor(e){super(Ll(e)),this.doc=e}},on=zr;function Dl(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(ue(i)){case He:return e(i.map(r));case ae:return e({...i,parts:i.parts.map(r)});case me:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case oe:{let{expandedStates:o,contents:u}=i;return o?(o=o.map(r),u=o[0]):u=r(u),e({...i,contents:u,expandedStates:o})}case Ae:case ie:case Tt:case Ot:case Oe:return e({...i,contents:r(i.contents)});case je:case St:case kt:case At:case X:case Ce:return e(i);default:throw new on(i)}}}function Ml(t){return t.type===X&&!t.hard?t.soft?"":" ":t.type===me?t.flatContents:t}function an(t){return Dl(t,Ml)}var $=K,ye=K,un=K,ln=K;function L(t){return $(t),{type:ie,contents:t}}function Bl(t,e){return ln(t),$(e),{type:Ae,contents:e,n:t}}function le(t){return Bl(-1,t)}var Ne={type:Ce};function Pe(t){return un(t),{type:ae,parts:t}}function D(t,e={}){return $(t),ye(e.expandedStates,!0),{type:oe,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Nt(t,e="",s={}){return $(t),e!==""&&$(e),{type:me,breakContents:t,flatContents:e,groupId:s.groupId}}function Y(t,e){$(t),ye(e);let s=[];for(let r=0;r0}var ce=$l;var fn=Object.freeze({character:"'",codePoint:39}),pn=Object.freeze({character:'"',codePoint:34}),Wl=Object.freeze({preferred:fn,alternate:pn}),Gl=Object.freeze({preferred:pn,alternate:fn});function Yl(t,e){let{preferred:s,alternate:r}=e===!0||e==="'"?Wl:Gl,{length:n}=t,i=0,o=0;for(let u=0;uo?r:s).character}var hn=Yl;var Vl=/\\(["'\\])|(["'])/gu;function zl(t,e){let s=e==='"'?"'":'"',r=E(0,t,Vl,(n,i,o)=>i?i===s?s:n:o===e?"\\"+o:o);return e+r+e}var dn=zl;function jl(t,e){K(/^(?["']).*\k$/su.test(t));let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="jsonc"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":hn(s,e.singleQuote);return t.charAt(0)===r?t:dn(s,r)}var Pt=jl;var jr=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},mn=jr;var Rt=Symbol.for("PRETTIER_IS_FRONT_MATTER");function Hl(t){return!!t?.[Rt]}var Re=Hl;var Ke=3;function Kl(t){let e=t.slice(0,Ke);if(e!=="---"&&e!=="+++")return;let s=t.indexOf(` +`,Ke);if(s===-1)return;let r=t.slice(Ke,s).trim(),n=t.indexOf(` +${e}`,s),i=r;if(i||(i=e==="+++"?"toml":"yaml"),n===-1&&e==="---"&&i==="yaml"&&(n=t.indexOf(` +...`,s)),n===-1)return;let o=n+1+Ke,u=t.charAt(o+1);if(!/\s?/u.test(u))return;let a=t.slice(0,o),l;return{language:i,explicitLanguage:r||null,value:t.slice(s+1,n),startDelimiter:e,endDelimiter:a.slice(-Ke),raw:a,start:{line:1,column:0,index:0},end:{index:a.length,get line(){return l??(l=a.split(` +`)),l.length},get column(){return l??(l=a.split(` +`)),G(0,l,-1).length}},[Rt]:!0}}function Ql(t){let e=Kl(t);return e?{frontMatter:e,get content(){let{raw:s}=e;return E(0,s,/[^\n]/gu," ")+t.slice(s.length)}}:{content:t}}var ge=Ql;var Xl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function yn(t,e,s){if(t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||Re(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/u.test(t.text))||s.type==="css-root"&&G(0,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&t.value&&(e.value=Jl(t.value)),t.type==="selector-combinator"&&(e.value=E(0,e.value,/\s+/gu," ")),t.type==="media-feature"&&(e.value=E(0,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(t.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=t.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=t.name.toLowerCase()),t.type==="value-number"&&(e.unit=t.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=E(0,e.value,/;$/gu,"")),t.type==="selector-attribute"&&(e.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(e.namespace=t.namespace.trim()||!0),t.value)){let{value:r}=e;/\s[a-zA-Z]$/u.test(r)&&(e.__prettier_attribute_selector_flag=G(0,r,-1),r=r.slice(0,-1)),r=r.trim(),r=r.replace(/^(?["'])(?.*?)\k$/u,"$"),e.value=r,delete e.quoted}if((t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&t.value&&(e.value=E(0,e.value,/([\d+.e-]+)([a-z]*)/giu,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=e.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&(r.value.endsWith("[")||r.value.endsWith("]"))||r.type==="value-word"&&(r.value.startsWith("]")||r.value.startsWith("["))))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}yn.ignoredProperties=Xl;function Jl(t){return E(0,E(0,t,"'",'"'),/\\([^\da-f])/giu,"$1")}var gn=yn;function wn(){}wn.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var vn=wn;var Qe=null;function Xe(t){if(Qe!==null&&typeof Qe.property){let e=Qe;return Qe=Xe.prototype=null,e}return Qe=Xe.prototype=t??Object.create(null),new Xe}var Zl=10;for(let t=0;t<=Zl;t++)Xe();function Hr(t){return Xe(t)}function ec(t,e="type"){Hr(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var xn=ec;var _=[[],["nodes"],["group"]],_n={"css-root":["frontMatter","nodes"],"css-comment":_[0],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":_[1],"media-query":_[1],"media-type":_[0],"media-feature-expression":_[1],"media-feature":_[0],"media-colon":_[0],"media-value":_[0],"media-keyword":_[0],"media-url":_[0],"media-unknown":_[0],"selector-root":_[1],"selector-selector":_[1],"selector-comment":_[0],"selector-string":_[0],"selector-tag":_[0],"selector-id":_[0],"selector-class":_[0],"selector-attribute":_[0],"selector-combinator":_[1],"selector-universal":_[0],"selector-pseudo":_[1],"selector-nesting":_[0],"selector-unknown":_[0],"value-value":_[2],"value-root":_[2],"value-comment":_[0],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":_[2],"value-paren":_[0],"value-number":_[0],"value-operator":_[0],"value-word":_[0],"value-colon":_[0],"value-comma":_[0],"value-string":_[0],"value-atword":_[0],"value-unicode-range":_[0],"value-unknown":_[0]};var tc=xn(_n),bn=tc;function rc(t,e){let s=0;for(let r=0;r{let n=!!r?.backwards;if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&ot.source?.startOffset,R=t=>t.source?.endOffset;var nc=/\*\/$/,ic=/^\/\*\*?/,Pn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,oc=/(^|\s+)\/\/([^\n\r]*)/g,On=/^(\r?\n)+/,ac=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,Cn=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,uc=/(\r?\n|^) *\* ?/g,Rn=[];function In(t){let e=t.match(Pn);return e?e[0].trimStart():""}function qn(t){let s=t.match(Pn)?.[0];return s==null?t:t.slice(s.length)}function Ln(t){t=E(0,t.replace(ic,"").replace(nc,""),uc,"$1");let s="";for(;s!==t;)s=t,t=E(0,t,ac,` +$1 $2 +`);t=t.replace(On,"").trimEnd();let r=Object.create(null),n=E(0,t,Cn,"").replace(On,"").trimEnd(),i;for(;i=Cn.exec(t);){let o=E(0,i[2],oc,"");if(typeof r[i[1]]=="string"||Array.isArray(r[i[1]])){let u=r[i[1]];r[i[1]]=[...Rn,...Array.isArray(u)?u:[u],o]}else r[i[1]]=o}return{comments:n,pragmas:r}}function Dn({comments:t="",pragmas:e={}}){let o=Object.keys(e),u=o.flatMap(l=>Nn(l,e[l])).map(l=>` * ${l} +`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let l=e[o[0]];return`/** ${Nn(o[0],l)[0]} */`}}let a=t.split(` +`).map(l=>` * ${l}`).join(` +`)+` +`;return`/** +`+(t?a:"")+(t&&o.length>0?` * +`:"")+u+" */"}function Nn(t,e){return[...Rn,...Array.isArray(e)?e:[e]].map(s=>`@${t} ${s}`.trim())}var Mn=["noformat","noprettier"],Bn=["format","prettier"],Un="format";function lc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` +`);return e===-1?t:t.slice(0,e)}var Fn=lc;function Jr(t){let e=Fn(t);e&&(t=t.slice(e.length+1));let s=In(t),{pragmas:r,comments:n}=Ln(s);return{shebang:e,text:t,pragmas:r,comments:n}}function $n(t){let{pragmas:e}=Jr(t);return Bn.some(s=>Object.prototype.hasOwnProperty.call(e,s))}function Wn(t){let{pragmas:e}=Jr(t);return Mn.some(s=>Object.prototype.hasOwnProperty.call(e,s))}function Gn(t){let{shebang:e,text:s,pragmas:r,comments:n}=Jr(t),i=qn(s),o=Dn({pragmas:{[Un]:"",...r},comments:n.trimStart()});return(e?`${e} +`:"")+o+(i.startsWith(` +`)?` +`:` + +`)+i}var Yn=t=>$n(ge(t).content),Vn=t=>Wn(ge(t).content),zn=t=>{let{frontMatter:e,content:s}=ge(t);return(e?e.raw+` + +`:"")+Gn(s)};var cc=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function jn(t){return t.findAncestor(e=>e.type==="css-decl")?.prop?.toLowerCase()}var fc=new Set(["initial","inherit","unset","revert"]);function Hn(t){return fc.has(t.toLowerCase())}function Kn(t,e){return t.findAncestor(r=>r.type==="css-atrule")?.name?.toLowerCase().endsWith("keyframes")&&["from","to"].includes(e.toLowerCase())}function Ie(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function qe(t,e){return t.findAncestor(r=>r.type==="value-func")?.value?.toLowerCase()===e}function Qn(t){return t.hasAncestor(e=>{if(e.type!=="css-rule")return!1;let s=e.raws?.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))})}function we(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Xn(t){let{node:e}=t;return e.groups[0]?.value==="url"&&e.groups.length===2&&t.findAncestor(s=>s.type==="css-atrule")?.name==="import"}function Jn(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function Zn(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function ei(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/u.test(e)||e.value&&/^@.+:.*$/u.test(e.value):!1}function ti(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function ri(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function si(t){return t.type==="value-word"&&t.value==="in"}function Dt(t){return t.type==="value-operator"&&t.value==="*"}function ve(t){return t?.type==="value-operator"&&t.value==="/"}function J(t){return t.type==="value-operator"&&t.value==="+"}function xe(t){return t.type==="value-operator"&&t.value==="-"}function pc(t){return t.type==="value-operator"&&t.value==="%"}function Mt(t){return Dt(t)||ve(t)||J(t)||xe(t)||pc(t)}function ni(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function ii(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function Je(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function es(t){return t.raws?.params&&/^\(\s*\)$/u.test(t.raws.params)}function Bt(t){return t.name.startsWith("prettier-placeholder")}function oi(t){return t.prop.startsWith("@prettier-placeholder")}function ai(t,e){return t.value==="$$"&&t.type==="value-func"&&e?.type==="value-word"&&!e.raws.before}function ui(t){return t.value?.type==="value-root"&&t.value.group?.type==="value-value"&&t.prop.toLowerCase()==="composes"}function li(t){return t.value?.group?.group?.type==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function Z(t){return t?.raws?.before===""}function Ut(t){return t.type==="value-comma_group"&&t.groups?.[1]?.type==="value-colon"}function Zr(t){return t.type==="value-paren_group"&&t.groups?.[0]&&Ut(t.groups[0])}function ts(t,e){if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.parent;if(r&&r.type==="value-func"&&r.value==="if")return!1;let n=t.grandparent;return!Zr(s)&&!(n&&Zr(n))?!1:!!(t.findAncestor(o=>o.type==="css-decl")?.prop?.startsWith("$")||Zr(n)||n.type==="value-func")}function Ze(t){return t.type==="value-comment"&&t.inline}function Ft(t){return t.type==="value-word"&&t.value==="#"}function rs(t){return t.type==="value-word"&&t.value==="{"}function $t(t){return t.type==="value-word"&&t.value==="}"}function et(t){return["value-word","value-atword"].includes(t.type)}function Wt(t){return t?.type==="value-colon"}function ci(t,e){if(!Ut(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:Wt(s[r+1])}function fi(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function pi(t){return t.type!=="value-func"?!1:cc.has(t.value.toLowerCase())}function Le(t){return/\/\//u.test(t.split(/[\n\r]/u).pop())}function tt(t){return t?.type==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function hi(t,e){if(t.open?.value!=="("||t.close?.value!==")"||t.groups.some(s=>s.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let s=e.groups.indexOf(t)-1,r=e.groups[s];if(r?.type==="value-word"&&r.value==="with")return!0}return!1}function rt(t){return t.type==="value-paren_group"&&t.open?.value==="("&&t.close?.value===")"}function hc(t,e,s){let{node:r}=t,n=t.parent,i=t.grandparent,o=jn(t),u=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),a=t.findAncestor(p=>p.type==="css-atrule"),l=a&&Je(a,e),f=r.groups.some(p=>Ze(p)),h=t.map(s,"groups"),c=[""],g=qe(t,"url"),b=!1,d=!1;for(let p=0;pN:k!==-1?b=!0:N!==-1&&(b=!1)}if(b||Wt(y)||Wt(v)||y.type==="value-atword"&&(y.value===""||y.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||y.value==="~"||e.parser==="less"&&(v?.type==="value-word"&&v.value==="["||y.type==="value-word"&&y.value==="["&&(v?.type==="value-atword"||v?.type==="value-word")||y.type==="value-word"&&y.value==="]["&&v?.type==="value-word")||y.type!=="value-string"&&y.value&&y.value.includes("\\")&&v&&v.type!=="value-comment"||m?.value&&m.value.indexOf("\\")===m.value.length-1&&y.type==="value-operator"&&y.value==="/"||y.value==="\\"||ai(y,v)||Ft(y)||rs(y)||$t(v)||rs(v)&&Z(v)||$t(y)&&Z(v)||y.value==="--"&&Ft(v))continue;let q=Mt(y),H=Mt(v);if((q&&Ft(v)||H&&$t(y))&&Z(v)||!m&&ve(y)||qe(t,"calc")&&(J(y)||J(v)||xe(y)||xe(v))&&Z(v))continue;let ne=(J(y)||xe(y))&&p===0&&(v.type==="value-number"||v.isHex)&&i&&pi(i)&&!Z(v);if(e.parser==="scss"&&q&&y.value==="-"&&v.type==="value-func"&&R(y)!==P(v)){c.push([c.pop()," "]);continue}let W=O?.type==="value-func"||O&&et(O)||y.type==="value-func"||et(y),A=v.type==="value-func"||et(v)||m?.type==="value-func"||m&&et(m);if(!(!(Dt(v)||Dt(y))&&!qe(t,"calc")&&!ne&&(ve(v)&&!W||ve(y)&&!A||J(v)&&!W||J(y)&&!A||xe(v)||xe(y))&&(Z(v)||q&&(!m||m&&Mt(m))))&&!((e.parser==="scss"||e.parser==="less")&&q&&y.value==="-"&&rt(v)&&R(y)===P(v.open)&&v.open.value==="(")){if(Ze(y)){if(n.type==="value-paren_group"){c.push(le(T),"");continue}c.push(T,"");continue}if(l&&(ni(v)||ii(v)||ri(v)||si(y)||ti(y))){c.push([c.pop()," "]);continue}if(a&&a.name.toLowerCase()==="namespace"){c.push([c.pop()," "]);continue}if(u){y.source&&v.source&&y.source.start.line!==v.source.start.line?(c.push(T,""),d=!0):c.push([c.pop()," "]);continue}if(!(o&&(o==="font"||o.startsWith("--"))&&(ve(v)&&Z(v)&&di(y)||ve(y)&&Z(y)&&di(m)))){if(H){c.push([c.pop()," "]);continue}if(v?.value!=="..."&&!(tt(y)&&tt(v)&&R(y)===P(v))){if(tt(y)&&rt(v)&&R(y)===P(v.open)){c.push(M,"");continue}if(y.value==="with"&&rt(v)){c=[[Pe(c)," "]];continue}if(!(y.value?.endsWith("#")&&v.value==="{"&&rt(v.group))&&!(Ze(v)&&!O)){if(!a&&y.type==="value-comment"&&!y.inline&&r.groups.slice(0,p).every(k=>k.type==="value-comment")){c.push(le(C),"");continue}c.push(C,"")}}}}}return f&&c.push([c.pop(),Ne]),d&&c.unshift("",T),l?D(L(c)):Xn(t)?D(Pe(c)):D(L(Pe(c)))}function di(t){if(t?.type==="value-number")return!0;if(t?.type!=="value-func")return!1;let e=t.value.toLowerCase();return e==="var"||e==="calc"||e==="min"||e==="max"||e==="clamp"||e.startsWith("--")}var mi=hc;function dc(t){return t.length===1?t:t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var yi=dc;var Gt=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"],["fr","fr"]]);function ss(t){let e=t.toLowerCase();return Gt.has(e)?Gt.get(e):t}var gi=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,mc=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,yc=/[a-z]+/giu,gc=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,wc=new RegExp(gi.source+`|(${gc.source})?(${mc.source})(${yc.source})?`,"giu");function V(t,e){return E(0,t,gi,s=>Pt(s,e))}function wi(t,e){let s=e.singleQuote?"'":'"',r="",n=t.match(/^(?.+?)\s+(?[a-zA-Z])$/u);return n&&({value:t,flag:r}=n.groups),(t.includes('"')||t.includes("'")?t:s+t+s)+(r?` ${r}`:"")}function _e(t){return E(0,t,wc,(e,s,r,n,i)=>!r&&n&&(i??(i=""),i=i.toLowerCase(),!i||i==="n"||Gt.has(i))?ns(n)+(i?ss(i):""):e)}function ns(t){return yi(t).replace(/\.0(?=$|e)/u,"")}function vi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}var xi=t=>t===` +`||t==="\r"||t==="\u2028"||t==="\u2029";function vc(t,e,s){let r=!!s?.backwards;if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===` +`)return e-2;if(xi(n))return e-1}else{if(n==="\r"&&t.charAt(e+1)===` +`)return e+2;if(xi(n))return e+1}return e}var Yt=vc;function xc(t,e,s={}){let r=qt(t,s.backwards?e-1:e,s),n=Yt(t,r,s);return r!==n}var Vt=xc;function _c(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;ss.type==="value-comment"))&&vi(e)&&t.callParent(()=>ts(t,e))?Nt(","):""}function Ei(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:g})=>typeof g=="string"?g:s(),"groups");if(n&&Jn(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",Y(",",i),r.close?s("close"):""];if(!r.open){let g=is(t);ye(i);let b=Ac(Y(",",i),2),d=Y(g?T:C,b);return L(g?[T,d]:D([Tc(t)?M:"",Pe(d)]))}let o=t.map(({node:g,isLast:b,index:d})=>{let p=i[d];Ut(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&g.groups[2]?.type==="value-paren_group"&&ue(p)===oe&&ue(p.contents)===ie&&ue(p.contents.contents)===ae&&(p=D(le(p)));let m=[p,b?kc(t,e):","];if(!b&&g.type==="value-comma_group"&&ce(g.groups)){let y=G(0,g.groups,-1);!y.source&&y.close&&(y=y.close),y.source&&zt(e.originalText,R(y))&&m.push(T)}return m},"groups"),u=ci(r,n),a=hi(r,n),l=ts(t,e),f=a||l&&!u,h=a||u,c=D([r.open?s("open"):"",L([M,Y(C,o)]),M,r.close?s("close"):""],{shouldBreak:f});return h?le(c):c}function is(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function Tc(t){return t.match(e=>e.type==="value-paren_group"&&!e.open,(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&e.type==="css-decl")}function Ac(t,e){let s=[];for(let r=0;r{let{node:n,previous:i}=t;if(i?.type==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(P(n),R(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Vt(e.originalText,P(o),{backwards:!0})&&!Re(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?C:T),zt(e.originalText,R(n))&&!Re(n)&&r.push(T))},"nodes"),r}var De=Oc;function Cc(t,e,s){let{node:r}=t;switch(r.type){case"css-root":{let n=De(t,e,s),i=r.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r.frontMatter?[s("frontMatter"),T,r.nodes.length>0?T:""]:"",n,i?` ${i}`:"",r.nodes.length>0?T:""]}case"css-comment":{let n=r.inline||r.raws.inline,i=e.originalText.slice(P(r),R(r));return n?i.trimEnd():i}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[r.selector?.type==="selector-unknown"&&Le(r.selector.value)?C:r.selector?" ":"","{",r.nodes.length>0?L([T,De(t,e,s)]):"",T,"}",ei(r)?";":""]:";"];case"css-decl":{let n=t.parent,{between:i}=r.raws,o=i.trim(),u=o===":",a=typeof r.value=="string"&&/^ *$/u.test(r.value),l=typeof r.value=="string"?r.value:s("value");return l=ui(r)?an(l):l,!u&&Le(o)&&!t.call(()=>is(t),"value","group","group")&&(l=L([T,le(l)])),[E(0,r.raws.before,/[\s;]/gu,""),n.type==="css-atrule"&&n.variable||Qn(t)?r.prop:Ie(r.prop),o.startsWith("//")?" ":"",o,r.extend||a?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",l,r.raws.important?r.raws.important.replace(/\s*!\s*important/iu," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/iu," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/iu," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",L([M,De(t,e,s)]),M,"}"]:oi(r)&&!n.raws.semicolon&&e.originalText[R(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&t.isLast?Nt(";"):";"]}case"css-atrule":{let n=t.parent,i=Bt(r)&&!n.raws.semicolon&&e.originalText[R(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",i?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),i?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",L([r.nodes.length>0?M:"",De(t,e,s)]),M,"}"]:"",i?"":";"]}let o=r.name==="import"&&r.params?.type==="value-unknown"&&r.params.value.endsWith(";");return["@",es(r)||r.name.endsWith(":")||Bt(r)?r.name:Ie(r.name),r.params?[es(r)?"":Bt(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(r.raws.afterName)?[T,T]:/^\s*\n/u.test(r.raws.afterName)?T:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?L([" ",s("selector")]):"",r.value?D([" ",s("value"),Je(r,e)?li(r)?" ":C:""]):r.name==="else"?" ":"",r.nodes?[Je(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Le(r.selector.value)||!r.selector&&typeof r.params=="string"&&Le(r.params)?C:" ","{",L([r.nodes.length>0?M:"",De(t,e,s)]),M,"}"]:i||o?"":";"]}case"media-query-list":{let n=[];return t.each(({node:i})=>{i.type==="media-query"&&i.value===""||n.push(s())},"nodes"),D(L(Y(C,n)))}case"media-query":return[Y(" ",t.map(s,"nodes")),t.isLast?"":","];case"media-type":return _e(V(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return Ie(V(E(0,r.value,/ +/gu," "),e));case"media-colon":return[r.value," "];case"media-value":return _e(V(r.value,e));case"media-keyword":return V(r.value,e);case"media-url":return V(E(0,E(0,r.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),e);case"media-unknown":return r.value;case"selector-root":return D([we(t,"custom-selector")?[t.findAncestor(n=>n.type==="css-atrule").customSelector,C]:"",Y([",",we(t,["extend","custom-selector","nest"])?C:T],t.map(s,"nodes"))]);case"selector-selector":{let n=r.nodes.length>2;return D((n?L:i=>i)(t.map(s,"nodes")))}case"selector-comment":return r.value;case"selector-string":return V(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",t.previous?.type==="selector-nesting"?r.value:_e(Kn(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",_e(V(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?wi(V(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let o=t.parent;return[o.type==="selector-selector"&&o.nodes[0]===r?"":C,r.value,t.isLast?"":" "]}let n=r.value.trim().startsWith("(")?C:"",i=_e(V(r.value.trim(),e))||C;return[n,i]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[Ie(r.value),ce(r.nodes)?D(["(",L([M,Y([",",C],t.map(s,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{if(t.findAncestor(u=>u.type==="css-rule")?.isSCSSNesterProperty)return _e(V(Ie(r.value),e));let i=t.parent;if(i.raws?.selector){let u=P(i),a=u+i.raws.selector.length;return e.originalText.slice(u,a).trim()}let o=t.grandparent;if(i.type==="value-paren_group"&&o?.type==="value-func"&&o.value==="selector"){let u=R(i.open)+1,a=P(i.close),l=e.originalText.slice(u,a).trim();return Le(l)?[Ne,l]:l}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(P(r),R(r));case"value-comma_group":return mi(t,e,s);case"value-paren_group":return Ei(t,e,s);case"value-func":return[r.value,we(t,"supports")&&fi(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[ns(r.value),ss(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Hn(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:n}=t;return D([r.value,typeof n?.value=="string"&&n.value.endsWith("\\")||qe(t,"url")?"":C])}case"value-string":return Pt(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"front-matter":case"value-comma":default:throw new mn(r,"PostCSS")}}var Nc={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:Cc,embed:vn,insertPragma:zn,massageAstNode:gn,getVisitorKeys:bn},Si=Nc;var ki=[{name:"CSS",type:"markup",aceMode:"css",extensions:[".css",".wxss"],tmScope:"source.css",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["css"],vscodeLanguageIds:["css"],linguistLanguageId:50},{name:"PostCSS",type:"markup",aceMode:"text",extensions:[".pcss",".postcss"],tmScope:"source.postcss",group:"CSS",parsers:["css"],vscodeLanguageIds:["postcss"],linguistLanguageId:262764437},{name:"Less",type:"markup",aceMode:"less",extensions:[".less"],tmScope:"source.css.less",aliases:["less-css"],codemirrorMode:"css",codemirrorMimeType:"text/x-less",parsers:["less"],vscodeLanguageIds:["less"],linguistLanguageId:198},{name:"SCSS",type:"markup",aceMode:"scss",extensions:[".scss"],tmScope:"source.css.scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",parsers:["scss"],vscodeLanguageIds:["scss"],linguistLanguageId:329}];var Ti={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Pc={singleQuote:Ti.singleQuote},Ai=Pc;var en={};sn(en,{css:()=>Vy,less:()=>zy,scss:()=>jy});var ml=Te(ht(),1),yl=Te(Lo(),1),gl=Te(ma(),1);function gp(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var ya=gp;function wp(t){return t!==null&&typeof t=="object"}var Se=wp;var Ea=Te(ba(),1);function te(t,e,s){if(Se(t)){delete t.parent;for(let r in t)te(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function Bs(t){if(Se(t)){delete t.parent;for(let e in t)Bs(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var Np=Ea.default.default;function Pp(t){let e;try{e=Np(t)}catch{return{type:"selector-unknown",value:t}}return te(Bs(e),"media-")}var Sa=Pp;var wu=Te(gu(),1);function Vm(t){if(/\/[/*]/u.test(E(0,t,/"[^"]+"|'[^']+'/gu,"")))return{type:"selector-unknown",value:t.trim()};let e;try{new wu.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return te(e,"selector-")}var se=Vm;var fl=Te(il(),1);var Iy=t=>{for(;t.parent;)t=t.parent;return t},Yr=Iy;function qy(t){return Yr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var ol=qy;function Ly(t){if(ce(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var al=Ly;function Dy(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var ul=Dy;function My(t,e){return!!(e.parser==="scss"&&t?.type==="word"&&t.value.startsWith("$"))}var ll=My;var cl=t=>t.type==="paren"&&t.value===")";function By(t,e){let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},u=[o];for(let a=0;a0&&r.groups.push(o),r.close=l,u.length===1)throw new Error("Unbalanced parenthesis");u.pop(),o=G(0,u,-1),o.groups.push(r),n.pop(),r=G(0,n,-1)}else if(l.type==="comma"){if(a===s.length-3&&s[a+1].type==="comment"&&cl(s[a+2]))continue;r.groups.push(o),o={groups:[],type:"comma_group"},u[u.length-1]=o}else o.groups.push(l)}return o.groups.length>0&&r.groups.push(o),i}function Vr(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Vr(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Vr)}:t}function pl(t,e){if(Se(t))for(let s in t)s!=="parent"&&(pl(t[s],e),s==="nodes"&&(t.group=Vr(By(t,e)),delete t[s]));return t}function Uy(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new fl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=pl(s,e);return te(r,"value-",/^selector-/u)}var de=Uy;var Fy=new Set(["import","use","forward"]);function $y(t){return Fy.has(t)}var hl=$y;function Wy(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var dl=Wy;var Gy=/(\s*)(!default).*$/u,Yy=/(\s*)(!global).*$/u;function wl(t,e){if(Se(t)){delete t.parent;for(let i in t)wl(t[i],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let i;if(t.value.trimEnd().endsWith("}")){let o=e.originalText.slice(0,t.source.start.offset),u="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset),a=E(0,o,/[^\n]/gu," ")+u,l;e.parser==="scss"?l=_l:e.parser==="less"?l=xl:l=vl;let f;try{f=l(a,{...e})}catch{}f?.nodes?.length===1&&f.nodes[0].type==="css-rule"&&(i=f.nodes[0].nodes)}return i?t.value={type:"css-rule",nodes:i}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let r="";typeof t.value=="string"&&(r=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,t.raws.value=r.trim());let n="";if(typeof t.params=="string"&&(n=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(n=t.raws.afterName+n),t.raws.between&&t.raws.between.trim().length>0&&(n=n+t.raws.between),n=n.trim(),t.raws.params=n),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=de(s,e),t):(dl(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=se(s),t);if(r.trim().length>0){let i=r.match(Gy);i&&(r=r.slice(0,i.index),t.scssDefault=!0,i[0].trim()!=="!default"&&(t.raws.scssDefault=i[0]));let o=r.match(Yy);if(o&&(r=r.slice(0,o.index),t.scssGlobal=!0,o[0].trim()!=="!global"&&(t.raws.scssGlobal=o[0])),r.startsWith("progid:"))return{type:"value-unknown",value:r};t.value=de(r,e)}if(e.parser==="less"&&t.type==="css-decl"&&r.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=se(r.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let i=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=se(i),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let i=t.params.match(/:--\S+\s+/u)[0].trim();return t.customSelector=i,t.selector=se(t.params.slice(i.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")){t.variable=!0;let i=t.name.split(":");t.name=i[0];let o=i.slice(1).join(":");t.params&&(o+=t.params),t.value=de(o,e)}if(!["page","nest","keyframes"].includes(t.name)&&t.params?.[0]===":"){t.variable=!0;let i=t.params.slice(1);i&&(t.value=de(i,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&n.length>0){let{name:i}=t,o=t.name.toLowerCase();return i==="warn"||i==="error"?(t.params={type:"media-unknown",value:n},t):i==="extend"||i==="nest"?(t.selector=se(n),delete t.params,t):i==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(n)?t.params=de(n,e):(t.selector=se(n),delete t.params),t):hl(o)?(t.import=!0,delete t.filename,t.params=de(n,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(i)?(n=n.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),n=n.replace(/^(?!if)([^"'\s(]+)(\s+)\(/u,"$1($2"),t.value=de(n,e),delete t.params,t):["media","custom-media"].includes(o)?n.includes("#{")?{type:"media-unknown",value:n}:(t.params=Sa(n),t):(t.params=n,t)}}return t}function Js(t,e,s){let{frontMatter:r,content:n}=ge(e),i;try{i=t(n,{map:!1})}catch(o){let{name:u,reason:a,line:l,column:f}=o;throw typeof l!="number"?o:ya(`${u}: ${a}`,{loc:{start:{line:l,column:f}},cause:o})}return s.originalText=e,i=wl(te(i,"css-"),s),Xr(i,e),r&&(i.frontMatter={...r,type:"front-matter",source:{startOffset:r.start.index,endOffset:r.end.index}}),i}function vl(t,e={}){return Js(ml.default.default,t,e)}function xl(t,e={}){return Js(s=>yl.default.parse(An(s)),t,e)}function _l(t,e={}){return Js(gl.default,t,e)}var Zs={astFormat:"postcss",hasPragma:Yn,hasIgnorePragma:Vn,locStart:P,locEnd:R},Vy={...Zs,parse:vl},zy={...Zs,parse:xl},jy={...Zs,parse:_l};var Hy={postcss:Si};return Al(Ky);}); \ No newline at end of file diff --git a/shared/node_modules/prettier/plugins/postcss.mjs b/shared/node_modules/prettier/plugins/postcss.mjs new file mode 100644 index 0000000000000000000000000000000000000000..cb2ce98ce8d5184354ba1b3ad39a9b1748fd34e9 --- /dev/null +++ b/shared/node_modules/prettier/plugins/postcss.mjs @@ -0,0 +1,61 @@ +var bl=Object.create;var Vr=Object.defineProperty;var El=Object.getOwnPropertyDescriptor;var Sl=Object.getOwnPropertyNames;var kl=Object.getPrototypeOf,Tl=Object.prototype.hasOwnProperty;var w=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),sn=(t,e)=>{for(var s in e)Vr(t,s,{get:e[s],enumerable:!0})},Al=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sl(e))!Tl.call(t,n)&&n!==s&&Vr(t,n,{get:()=>e[n],enumerable:!(r=El(e,n))||r.enumerable});return t};var Te=(t,e,s)=>(s=t!=null?bl(kl(t)):{},Al(e||!t||!t.__esModule?Vr(s,"default",{value:t,enumerable:!0}):s,t));var Oi=w((ux,os)=>{var x=String,Ai=function(){return{isColorSupported:!1,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x,blackBright:x,redBright:x,greenBright:x,yellowBright:x,blueBright:x,magentaBright:x,cyanBright:x,whiteBright:x,bgBlackBright:x,bgRedBright:x,bgGreenBright:x,bgYellowBright:x,bgBlueBright:x,bgMagentaBright:x,bgCyanBright:x,bgWhiteBright:x}};os.exports=Ai();os.exports.createColors=Ai});var as=w(()=>{});var zt=w((fx,Pi)=>{"use strict";var Ci=Oi(),Ni=as(),st=class t extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=Ci.isColorSupported);let r=f=>f,n=f=>f,i=f=>f;if(e){let{bold:f,gray:h,red:c}=Ci.createColors(!0);n=g=>f(c(g)),r=g=>h(g),Ni&&(i=g=>Ni(g))}let o=s.split(/\r?\n/),u=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),l=String(a).length;return o.slice(u,a).map((f,h)=>{let c=u+1+h,g=" "+(" "+c).slice(-l)+" | ";if(c===this.line){if(f.length>160){let d=20,p=Math.max(0,this.column-d),m=Math.max(this.column+d,this.endColumn+d),y=f.slice(p,m),v=r(g.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,d-1)).replace(/[^\t]/g," ");return n(">")+r(g)+i(y)+` + `+v+n("^")}let b=r(g.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+r(g)+i(f)+` + `+b+n("^")}return" "+r(g)+i(f)}).join(` +`)}toString(){let e=this.showSourceCode();return e&&(e=` + +`+e+` +`),this.name+": "+this.message+e}};Pi.exports=st;st.default=st});var jt=w((px,Ii)=>{"use strict";var Ri={after:` +`,beforeClose:` +`,beforeComment:` +`,beforeDecl:` +`,beforeOpen:" ",beforeRule:` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Rc(t){return t[0].toUpperCase()+t.slice(1)}var nt=class{constructor(e){this.builder=e}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let o=this.raw(e,null,"indent");if(o.length)for(let u=0;u0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(n=a.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=Ri[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` +`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(` +`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(` +`);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}};Ii.exports=nt;nt.default=nt});var it=w((hx,qi)=>{"use strict";var Ic=jt();function us(t,e){new Ic(e).stringify(t)}qi.exports=us;us.default=us});var Ht=w((dx,ls)=>{"use strict";ls.exports.isClean=Symbol("isClean");ls.exports.my=Symbol("my")});var ut=w((mx,Li)=>{"use strict";var qc=zt(),Lc=jt(),Dc=it(),{isClean:ot,my:Mc}=Ht();function cs(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>cs(o,s)):(i==="object"&&n!==null&&(n=cs(n)),s[r]=n)}return s}function ee(t,e){if(e&&typeof e.offset<"u")return e.offset;let s=1,r=1,n=0;for(let i=0;ie.root().toProxy():e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0}}}markClean(){this[ot]=!0}markDirty(){if(this[ot]){this[ot]=!1;let e=this;for(;e=e.parent;)e[ot]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let s=this.source.start;if(e.index)s=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,i=r.slice(ee(r,this.source.start),ee(r,this.source.end)).indexOf(e.word);i!==-1&&(s=this.positionInside(i))}return s}positionInside(e){let s=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=ee(n,this.source.start),o=i+e;for(let u=i;utypeof a=="object"&&a.toJSON?a.toJSON(null,s):a);else if(typeof u=="object"&&u.toJSON)r[o]=u.toJSON(null,s);else if(o==="source"){if(u==null)continue;let a=s.get(u.input);a==null&&(a=i,s.set(u.input,i),i++),r[o]={end:u.end,inputId:a,start:u.start}}else r[o]=u}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Dc){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}warn(e,s,r={}){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}};Li.exports=at;at.default=at});var Me=w((yx,Di)=>{"use strict";var Bc=ut(),lt=class extends Bc{constructor(e){super(e),this.type="comment"}};Di.exports=lt;lt.default=lt});var ft=w((gx,Mi)=>{"use strict";var Uc=ut(),ct=class extends Uc{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};Mi.exports=ct;ct.default=ct});var fe=w((wx,zi)=>{"use strict";var Bi=Me(),Ui=ft(),Fc=ut(),{isClean:Fi,my:$i}=Ht(),fs,Wi,Gi,ps;function Yi(t){return t.map(e=>(e.nodes&&(e.nodes=Yi(e.nodes)),delete e.source,e))}function Vi(t){if(t[Fi]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)Vi(e)}var z=class t extends Fc{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]},set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Ui(e)]}else if(e.selector||e.selectors)e=[new ps(e)];else if(e.name)e=[new fs(e)];else if(e.text)e=[new Bi(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[$i]||t.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[Fi]&&Vi(n),n.raws||(n.raws={}),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this.markDirty(),this}replaceValues(e,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}};z.registerParse=t=>{Wi=t};z.registerRule=t=>{ps=t};z.registerAtRule=t=>{fs=t};z.registerRoot=t=>{Gi=t};zi.exports=z;z.default=z;z.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,fs.prototype):t.type==="rule"?Object.setPrototypeOf(t,ps.prototype):t.type==="decl"?Object.setPrototypeOf(t,Ui.prototype):t.type==="comment"?Object.setPrototypeOf(t,Bi.prototype):t.type==="root"&&Object.setPrototypeOf(t,Gi.prototype),t[$i]=!0,t.nodes&&t.nodes.forEach(e=>{z.rebuild(e)})}});var Hi=w((vx,ji)=>{var $c="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Wc=(t,e=21)=>(s=e)=>{let r="",n=s|0;for(;n--;)r+=t[Math.random()*t.length|0];return r},Gc=(t=21)=>{let e="",s=t|0;for(;s--;)e+=$c[Math.random()*64|0];return e};ji.exports={nanoid:Gc,customAlphabet:Wc}});var Ki=w(()=>{});var hs=w((bx,Qi)=>{Qi.exports=class{}});var Ue=w((Sx,to)=>{"use strict";var{nanoid:Yc}=Hi(),{isAbsolute:ys,resolve:gs}={},{SourceMapConsumer:Vc,SourceMapGenerator:zc}=Ki(),{fileURLToPath:Xi,pathToFileURL:Kt}={},Ji=zt(),jc=hs(),ds=as(),ms=Symbol("lineToIndexCache"),Hc=!!(Vc&&zc),Zi=!!(gs&&ys);function eo(t){if(t[ms])return t[ms];let e=t.css.split(` +`),s=new Array(e.length),r=0;for(let n=0,i=e.length;n"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,s.document&&(this.document=s.document.toString()),s.from&&(!Zi||/^\w+:\/\//.test(s.from)||ys(s.from)?this.file=s.from:this.file=gs(s.from)),Zi&&Hc){let r=new jc(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,s,r,n={}){let i,o,u,a,l;if(s&&typeof s=="object"){let h=s,c=r;if(typeof h.offset=="number"){a=h.offset;let g=this.fromOffset(a);s=g.line,r=g.col}else s=h.line,r=h.column,a=this.fromLineAndColumn(s,r);if(typeof c.offset=="number"){u=c.offset;let g=this.fromOffset(u);o=g.line,i=g.col}else o=c.line,i=c.column,u=this.fromLineAndColumn(c.line,c.column)}else if(r)a=this.fromLineAndColumn(s,r);else{a=s;let h=this.fromOffset(a);s=h.line,r=h.col}let f=this.origin(s,r,o,i);return f?l=new Ji(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):l=new Ji(e,o===void 0?s:{column:r,line:s},o===void 0?r:{column:i,line:o},this.css,this.file,n.plugin),l.input={column:r,endColumn:i,endLine:o,endOffset:u,line:s,offset:a,source:this.css},this.file&&(Kt&&(l.input.url=Kt(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,s){return eo(this)[e-1]+s-1}fromOffset(e){let s=eo(this),r=s[s.length-1],n=0;if(e>=r)n=s.length-1;else{let i=s.length-2,o;for(;n>1),e=s[o+1])n=o+1;else{n=o;break}}return{col:e-s[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:gs(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({column:s,line:e});if(!o.source)return!1;let u;typeof r=="number"&&(u=i.originalPositionFor({column:n,line:r}));let a;ys(o.source)?a=Kt(o.source):a=new URL(o.source,this.map.consumer().sourceRoot||Kt(this.map.mapFile));let l={column:o.column,endColumn:u&&u.column,endLine:u&&u.line,line:o.line,url:a.toString()};if(a.protocol==="file:")if(Xi)l.file=Xi(a);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(l.source=f),l}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};to.exports=Be;Be.default=Be;ds&&ds.registerInput&&ds.registerInput(Be)});var Qt=w((kx,so)=>{"use strict";var ro=fe(),Fe=class extends ro{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};so.exports=Fe;Fe.default=Fe;ro.registerAtRule(Fe)});var $e=w((Tx,ao)=>{"use strict";var no=fe(),io,oo,pe=class extends no{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new io(new oo,this,e).stringify()}};pe.registerLazyResult=t=>{io=t};pe.registerProcessor=t=>{oo=t};ao.exports=pe;pe.default=pe;no.registerRoot(pe)});var ws=w((Ax,uo)=>{"use strict";var pt={comma(t){return pt.split(t,[","],!0)},space(t){let e=[" ",` +`," "];return pt.split(t,e)},split(t,e,s){let r=[],n="",i=!1,o=0,u=!1,a="",l=!1;for(let f of t)l?l=!1:f==="\\"?l=!0:u?f===a&&(u=!1):f==='"'||f==="'"?(u=!0,a=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r}};uo.exports=pt;pt.default=pt});var Xt=w((Ox,co)=>{"use strict";var lo=fe(),Kc=ws(),We=class extends lo{get selectors(){return Kc.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}};co.exports=We;We.default=We;lo.registerRule(We)});var er=w((Cx,po)=>{"use strict";var Jt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Zt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Qc=/.[\r\n"'(/\\]/,fo=/[\da-f]/i;po.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,u,a,l,f,h,c,g,b,d=r.length,p=0,m=[],y=[];function v(){return p}function O(W){throw e.error("Unclosed "+W,p)}function q(){return y.length===0&&p>=d}function H(W){if(y.length)return y.pop();if(p>=d)return;let A=W?W.ignoreUnclosed:!1;switch(i=r.charCodeAt(p),i){case 10:case 32:case 9:case 13:case 12:{a=p;do a+=1,i=r.charCodeAt(a);while(i===32||i===10||i===9||i===13||i===12);f=["space",r.slice(p,a)],p=a-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let k=String.fromCharCode(i);f=[k,k,p];break}case 40:{if(b=m.length?m.pop()[1]:"",g=r.charCodeAt(p+1),b==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){a=p;do{if(h=!1,a=r.indexOf(")",a+1),a===-1)if(n||A){a=p;break}else O("bracket");for(c=a;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["brackets",r.slice(p,a+1),p,a],p=a}else a=r.indexOf(")",p+1),o=r.slice(p,a+1),a===-1||Qc.test(o)?f=["(","(",p]:(f=["brackets",o,p,a],p=a);break}case 39:case 34:{l=i===39?"'":'"',a=p;do{if(h=!1,a=r.indexOf(l,a+1),a===-1)if(n||A){a=p+1;break}else O("string");for(c=a;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["string",r.slice(p,a+1),p,a],p=a;break}case 64:{Jt.lastIndex=p+1,Jt.test(r),Jt.lastIndex===0?a=r.length-1:a=Jt.lastIndex-2,f=["at-word",r.slice(p,a+1),p,a],p=a;break}case 92:{for(a=p,u=!0;r.charCodeAt(a+1)===92;)a+=1,u=!u;if(i=r.charCodeAt(a+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(a+=1,fo.test(r.charAt(a)))){for(;fo.test(r.charAt(a+1));)a+=1;r.charCodeAt(a+1)===32&&(a+=1)}f=["word",r.slice(p,a+1),p,a],p=a;break}default:{i===47&&r.charCodeAt(p+1)===42?(a=r.indexOf("*/",p+2)+1,a===0&&(n||A?a=r.length:O("comment")),f=["comment",r.slice(p,a+1),p,a],p=a):(Zt.lastIndex=p+1,Zt.test(r),Zt.lastIndex===0?a=r.length-1:a=Zt.lastIndex-2,f=["word",r.slice(p,a+1),p,a],m.push(f),p=a);break}}return p++,f}function ne(W){y.push(W)}return{back:ne,endOfFile:q,nextToken:H,position:v}}});var tr=w((Nx,yo)=>{"use strict";var Xc=Qt(),Jc=Me(),Zc=ft(),ef=$e(),ho=Xt(),tf=er(),mo={empty:!0,space:!0};function rf(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var vs=class{constructor(e){this.input=e,this.root=new ef,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let s=new Xc;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,u=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){u=!0;break}else if(r==="}"){if(a.length>0){for(i=a.length-1,n=a[i];n&&n[0]==="space";)n=a[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]),s.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),o&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),u&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let s=0,r,n,i;for(let[o,u]of e.entries()){if(n=u,i=n[0],i==="("&&(s+=1),i===")"&&(s-=1),s===0&&i===":")if(!r)this.doubleColon(n);else{if(r[0]==="word"&&r[1]==="progid")continue;return o}r=n}return!1}comment(e){let s=new Jc;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}createTokenizer(){this.tokenizer=tf(this.input)}decl(e,s){let r=new Zc;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||rf(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(i=e[l],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,l);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),h="";for(let c=l;c>0;c--){let g=f[c][0];if(h.trim().startsWith("!")&&g!=="space")break;h=f.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=o.map(l=>l[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let s=new ho;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="",s.source.end=this.getPosition(e[2]),s.source.end.offset+=s.raws.ownSemicolon.length)}}getPosition(e){let s=this.input.fromOffset(e);return{column:s.col,line:s.line,offset:e}}init(e,s){this.current.push(e),e.source={input:this.input,start:this.getPosition(s)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let s=!1,r=null,n=!1,i=null,o=[],u=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),r==="("||r==="[")i||(i=l),o.push(r==="("?")":"]");else if(u&&n&&r==="{")i||(i=l),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(a,u);return}else break;else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!u)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,u)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,s,r,n){let i,o,u=r.length,a="",l=!0,f,h;for(let c=0;cg+b[1],"");e.raws[s]={raw:c,value:a}}e[s]=a}rule(e){e.pop();let s=new ho;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n{"use strict";var sf=fe(),nf=Ue(),of=tr();function rr(t,e){let s=new nf(t,e),r=new of(s);try{r.parse()}catch(n){throw n}return r.root}go.exports=rr;rr.default=rr;sf.registerParse(rr)});var wo=w((Rx,xs)=>{var af=er(),uf=Ue();xs.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(` +`))),n=t[1].substring(t[1].indexOf(` +`));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new uf(n),this.tokenizer=af(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),xs.exports.isInlineComment.bind(this)(t)}return!1}}});var xo=w((Ix,vo)=>{vo.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(u=>u[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var bo=w((qx,_o)=>{var lf=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,cf=/\.[0-9]/,ff=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&lf.test(e)===!1&&cf.test(e)===!1};_o.exports={isMixinToken:ff}});var So=w((Lx,Eo)=>{var pf=er(),hf=/^url\((.+)\)/;Eo.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=pf({css:s});for(t.filename=s.replace(hf,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var Oo=w((Dx,Ao)=>{var ko=/:$/,To=/^:(\s+)?/;Ao.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(ko.test(e)){let[r]=e.match(ko);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(To.test(s)){let[r]=s.match(To);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var Po=w((Bx,No)=>{var df=Me(),mf=tr(),{isInlineComment:yf}=wo(),{interpolation:Co}=xo(),{isMixinToken:gf}=bo(),wf=So(),vf=Oo(),xf=/(!\s*important)$/i;No.exports=class extends mf{constructor(...e){super(...e),this.lastNode=null}atrule(e){Co.bind(this)(e)||(super.atrule(e),wf(this.lastNode),vf(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(u=>u[0]==="("),r=e.reverse().find(u=>u[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(u=>u[1]).join("");for(let u of e.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new df,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(l=>l[0]==="brackets"),i=e.findIndex(l=>l[0]==="("),o="";if((n<0||n>3)&&i>0){let l=e.reduce((v,O,q)=>O[0]===")"?q:v),h=e.slice(i,l+i).map(v=>v[1]).join(""),[c]=e.slice(i),g=[c[2],c[3]],[b]=e.slice(l,l+1),d=[b[2],b[3]],p=["brackets",h].concat(g,d),m=e.slice(0,i),y=e.slice(l+1);e=m,e.push(p),e=e.concat(y)}let u=[];for(let l of e)if((l[1]==="!"||u.length)&&u.push(l),l[1]==="important")break;if(u.length){let[l]=u,f=e.indexOf(l),h=u[u.length-1],c=[l[2],l[3]],g=[h[4],h[5]],d=["word",u.map(p=>p[1]).join("")].concat(c,g);e.splice(f,u.length,d)}let a=e.findIndex(l=>xf.test(l[1]));a>0&&([,o]=e[a],e.splice(a,1));for(let l of e.reverse())this.tokenizer.back(l);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){yf.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),Co.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(gf(s)){this.mixin(e);return}super.unknownWord(e)}}});var Io=w((Fx,Ro)=>{var _f=jt();Ro.exports=class extends _f{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let u=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+u,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var qo=w(($x,_s)=>{var bf=Ue(),Ef=Po(),Sf=Io();_s.exports={parse(t,e){let s=new bf(t,e),r=new Ef(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,u=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:u.line,column:u.col},n.source.end){let a=i+n.source.end.offset,l=s.fromOffset(i+n.source.end.offset);n.source.end={offset:a,line:l.line,column:l.col}}}),r.root},stringify(t,e){new Sf(e).stringify(t)},nodeToString(t){let e="";return _s.exports.stringify(t,s=>{e+=s}),e}}});var sr=w((Wx,Mo)=>{"use strict";var kf=fe(),Lo,Do,be=class extends kf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Lo(new Do,this,e).stringify()}};be.registerLazyResult=t=>{Lo=t};be.registerProcessor=t=>{Do=t};Mo.exports=be;be.default=be});var Uo=w((Gx,Bo)=>{"use strict";var Tf=Qt(),Af=Me(),Of=ft(),Cf=Ue(),Nf=hs(),Pf=$e(),Rf=Xt();function dt(t,e){if(Array.isArray(t))return t.map(n=>dt(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Cf.prototype};i.map&&(i.map={...i.map,__proto__:Nf.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>dt(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new Pf(r);if(r.type==="decl")return new Of(r);if(r.type==="rule")return new Rf(r);if(r.type==="comment")return new Af(r);if(r.type==="atrule")return new Tf(r);throw new Error("Unknown node type: "+t.type)}Bo.exports=dt;dt.default=dt});var bs=w((Yx,Fo)=>{Fo.exports=class{generate(){}}});var Es=w((zx,$o)=>{"use strict";var mt=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};$o.exports=mt;mt.default=mt});var nr=w((jx,Wo)=>{"use strict";var If=Es(),yt=class{get content(){return this.css}constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new If(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}};Wo.exports=yt;yt.default=yt});var Ss=w((Hx,Yo)=>{"use strict";var Go={};Yo.exports=function(e){Go[e]||(Go[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var As=w((Qx,Ho)=>{"use strict";var qf=fe(),Lf=sr(),Df=bs(),Mf=ht(),Vo=nr(),Bf=$e(),Uf=it(),{isClean:Q,my:Ff}=Ht(),Kx=Ss(),$f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Wf={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Gf={Once:!0,postcssPlugin:!0,prepare:!0},Ge=0;function gt(t){return typeof t=="object"&&typeof t.then=="function"}function jo(t){let e=!1,s=$f[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,Ge,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,Ge,s+"Exit"]:[s,s+"Exit"]}function zo(t){let e;return t.type==="document"?e=["Document",Ge,"DocumentExit"]:t.type==="root"?e=["Root",Ge,"RootExit"]:e=jo(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function ks(t){return t[Q]=!1,t.nodes&&t.nodes.forEach(e=>ks(e)),t}var Ts={},he=class t{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=ks(s);else if(s instanceof t||s instanceof Vo)n=ks(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=Mf;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[Ff]&&qf.rebuild(n)}this.result=new Vo(e,n,r),this.helpers={...Ts,postcss:Ts,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!Wf[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Gf[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let r=this.visitTick(s);if(gt(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return gt(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,s=Uf;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new Df(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let s=this.runOnRoot(e);if(gt(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Q];)e[Q]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,s){return this.async().then(e,s)}toString(){return this.css}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(gt(i))throw this.getAsyncError()}}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex{n[Q]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}};he.registerPostcss=t=>{Ts=t};Ho.exports=he;he.default=he;Bf.registerLazyResult(he);Lf.registerLazyResult(he)});var Qo=w((Jx,Ko)=>{"use strict";var Yf=bs(),Vf=ht(),zf=nr(),jf=it(),Xx=Ss(),wt=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,s=Vf;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=jf;this.result=new zf(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let u=new Yf(i,n,this._opts,s);if(u.isMap()){let[a,l]=u.generate();a&&(this.result.css=a),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,s){return this.async().then(e,s)}toString(){return this._css}warnings(){return[]}};Ko.exports=wt;wt.default=wt});var Jo=w((Zx,Xo)=>{"use strict";var Hf=sr(),Kf=As(),Qf=Qo(),Xf=$e(),Ee=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}process(e,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new Qf(this,e,s):new Kf(this,e,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Xo.exports=Ee;Ee.default=Ee;Xf.registerProcessor(Ee);Hf.registerProcessor(Ee)});var ir=w((e_,ia)=>{"use strict";var Zo=Qt(),ea=Me(),Jf=fe(),Zf=zt(),ta=ft(),ra=sr(),ep=Uo(),tp=Ue(),rp=As(),sp=ws(),np=ut(),ip=ht(),Os=Jo(),op=nr(),sa=$e(),na=Xt(),ap=it(),up=Es();function S(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Os(t)}S.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let u=s(...o);return u.postcssPlugin=e,u.postcssVersion=new Os().version,u}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,u,a){return S([n(a)]).process(o,u)},n};S.stringify=ap;S.parse=ip;S.fromJSON=ep;S.list=sp;S.comment=t=>new ea(t);S.atRule=t=>new Zo(t);S.decl=t=>new ta(t);S.rule=t=>new na(t);S.root=t=>new sa(t);S.document=t=>new ra(t);S.CssSyntaxError=Zf;S.Declaration=ta;S.Container=Jf;S.Processor=Os;S.Document=ra;S.Comment=ea;S.Warning=up;S.AtRule=Zo;S.Result=op;S.Input=tp;S.Rule=na;S.Root=sa;S.Node=np;rp.registerPostcss(S);ia.exports=S;S.default=S});var aa=w((t_,oa)=>{var{Container:lp}=ir(),Cs=class extends lp{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};oa.exports=Cs});var ca=w((r_,la)=>{"use strict";var or=/[\t\n\f\r "#'()/;[\\\]{}]/g,ar=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,cp=/.[\r\n"'(/\\]/,ua=/[\da-f]/i,ur=/[\n\f\r]/g;la.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,u,a,l,f,h,c,g,b=r.length,d=0,p=[],m=[],y;function v(){return d}function O(A){throw e.error("Unclosed "+A,d)}function q(){return m.length===0&&d>=b}function H(){let A=1,k=!1,N=!1;for(;A>0;)o+=1,r.length<=o&&O("interpolation"),i=r.charCodeAt(o),c=r.charCodeAt(o+1),k?!N&&i===k?(k=!1,N=!1):i===92?N=!N:N&&(N=!1):i===39||i===34?k=i:i===125?A-=1:i===35&&c===123&&(A+=1)}function ne(A){if(m.length)return m.pop();if(d>=b)return;let k=A?A.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case 10:case 32:case 9:case 13:case 12:{o=d;do o+=1,i=r.charCodeAt(o);while(i===32||i===10||i===9||i===13||i===12);g=["space",r.slice(d,o)],d=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let N=String.fromCharCode(i);g=[N,N,d];break}case 44:{g=["word",",",d,d+1];break}case 40:{if(h=p.length?p.pop()[1]:"",c=r.charCodeAt(d+1),h==="url"&&c!==39&&c!==34){for(y=1,f=!1,o=d+1;o<=r.length-1;){if(c=r.charCodeAt(o),c===92)f=!f;else if(c===40)y+=1;else if(c===41&&(y-=1,y===0))break;o+=1}a=r.slice(d,o+1),g=["brackets",a,d,o],d=o}else o=r.indexOf(")",d+1),a=r.slice(d,o+1),o===-1||cp.test(a)?g=["(","(",d]:(g=["brackets",a,d,o],d=o);break}case 39:case 34:{for(u=i,o=d,f=!1;o{var{Comment:fp}=ir(),pp=tr(),hp=aa(),dp=ca(),Ns=class extends pp{atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}comment(e){if(e[4]==="inline"){let s=new fp;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={column:r.col,line:r.line,offset:e[3]+1};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}createTokenizer(){this.tokenizer=dp(this.input)}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,u)=>{if(u[0]==="comment"&&u[4]==="inline"){let a=u[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+a+"*/"}else return o+u[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(` +`))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new hp;this.init(i,e[0][2]);let o;for(let a=e.length-1;a>=0;a--)if(e[a][0]!=="space"){o=e[a];break}if(o[3]){let a=this.input.fromOffset(o[3]);i.source.end={column:a.col,line:a.line,offset:o[3]+1}}else{let a=this.input.fromOffset(o[2]);i.source.end={column:a.col,line:a.line,offset:o[2]+1}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let a=this.input.fromOffset(e[0][2]);i.source.start={column:a.col,line:a.line,offset:e[0][2]}}for(i.prop="";e.length;){let a=e[0][0];if(a===":"||a==="space"||a==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let u;for(;e.length;)if(u=e.shift(),u[0]===":"){i.raws.between+=u[1];break}else i.raws.between+=u[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let a=e.length-1;a>0;a--){if(u=e[a],u[1]==="!important"){i.important=!0;let l=this.stringFrom(e,a);l=this.spacesFromEnd(e)+l,l!==" !important"&&(i.raws.important=l);break}else if(u[1]==="important"){let l=e.slice(0),f="";for(let h=a;h>0;h--){let c=l[h][0];if(f.trim().indexOf("!")===0&&c!=="space")break;f=l.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=l)}if(u[0]!=="space"&&u[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}};fa.exports=Ns});var da=w((n_,ha)=>{var{Input:mp}=ir(),yp=pa();ha.exports=function(e,s){let r=new mp(e,s),n=new yp(r);return n.parse(),n.root}});var Rs=w(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});function vp(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Ps.default=vp});var qs=w(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var xp=Rs(),ya=_p(xp);function _p(t){return t&&t.__esModule?t:{default:t}}function vt(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(s){s.parent=e})}vt.prototype=Object.create(ya.default.prototype);vt.constructor=ya.default;vt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.parseMediaFeature=va;xt.parseMediaQuery=Ds;xt.parseMediaList=Sp;var bp=Rs(),ga=wa(bp),Ep=qs(),Ls=wa(Ep);function wa(t){return t&&t.__esModule?t:{default:t}}function va(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,u=null,a=e,l=t;t[0]==="("&&t[t.length-1]===")"&&(l=t.substring(1,t.length-1),a++);for(var f=0;f0&&(s[l-1].after=i.before),i.type===void 0){if(l>0){if(s[l-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[l-1].value==="not"||s[l-1].value==="only"){i.type="media-type";continue}if(s[l-1].value==="and"){i.type="media-feature-expression";continue}s[l-1].type==="media-type"&&(s[l+1]?i.type=s[l+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(l===0){if(!s[l+1]){i.type="media-type";continue}if(s[l+1]&&(s[l+1].type==="media-feature-expression"||s[l+1].type==="keyword")){i.type="media-type";continue}if(s[l+2]){if(s[l+2].type==="media-feature-expression"){i.type="media-type",s[l+1].type="keyword";continue}if(s[l+2].type==="keyword"){i.type="keyword",s[l+1].type="media-type";continue}}if(s[l+3]&&s[l+3].type==="media-feature-expression"){i.type="keyword",s[l+1].type="media-type",s[l+2].type="keyword";continue}}}return s}function Sp(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var u=t[i];u==="("&&o++,u===")"&&o--,i++}e.unshift(new ga.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var a=s;a{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default=Cp;var kp=qs(),Tp=Op(kp),Ap=xa();function Op(t){return t&&t.__esModule?t:{default:t}}function Cp(t){return new Tp.default({nodes:(0,Ap.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Us=w((m_,Sa)=>{Sa.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,u){return Array.isArray(u)&&i{ka.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var $s=w((g_,Ta)=>{"use strict";function Rp(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o{"use strict";lr.__esModule=!0;var Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Lp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Dp=function t(e,s){if((typeof e>"u"?"undefined":Aa(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":Aa(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(u){return t(u,r)}):r[n]=t(i,r)}return r},Mp=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Lp(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,u=o===void 0?"":o;this.spaces={before:i,after:u}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Dp(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t})();lr.default=Mp;Oa.exports=lr.default});var B=w(U=>{"use strict";U.__esModule=!0;var w_=U.TAG="tag",v_=U.STRING="string",x_=U.SELECTOR="selector",__=U.ROOT="root",b_=U.PSEUDO="pseudo",E_=U.NESTING="nesting",S_=U.ID="id",k_=U.COMMENT="comment",T_=U.COMBINATOR="combinator",A_=U.CLASS="class",O_=U.ATTRIBUTE="attribute",C_=U.UNIVERSAL="universal"});var fr=w((cr,Ca)=>{"use strict";cr.__esModule=!0;var Bp=(function(){function t(e,s){for(var r=0;r=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var u=o;u.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var u in this.indexes)o=this.indexes[u],i<=o&&(this.indexes[u]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var u in this.indexes)o=this.indexes[u],i<=o&&(this.indexes[u]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]{"use strict";pr.__esModule=!0;var Hp=fr(),Kp=Xp(Hp),Qp=B();function Xp(t){return t&&t.__esModule?t:{default:t}}function Jp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function eh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var th=(function(t){eh(e,t);function e(s){Jp(this,e);var r=Zp(this,t.call(this,s));return r.type=Qp.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e})(Kp.default);pr.default=th;Na.exports=pr.default});var Ia=w((hr,Ra)=>{"use strict";hr.__esModule=!0;var rh=fr(),sh=ih(rh),nh=B();function ih(t){return t&&t.__esModule?t:{default:t}}function oh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var lh=(function(t){uh(e,t);function e(s){oh(this,e);var r=ah(this,t.call(this,s));return r.type=nh.SELECTOR,r}return e})(sh.default);hr.default=lh;Ra.exports=hr.default});var Ye=w((dr,qa)=>{"use strict";dr.__esModule=!0;var ch=(function(){function t(e,s){for(var r=0;r{"use strict";mr.__esModule=!0;var wh=Ye(),vh=_h(wh),xh=B();function _h(t){return t&&t.__esModule?t:{default:t}}function bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Sh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var kh=(function(t){Sh(e,t);function e(s){bh(this,e);var r=Eh(this,t.call(this,s));return r.type=xh.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e})(vh.default);mr.default=kh;La.exports=mr.default});var Ba=w((yr,Ma)=>{"use strict";yr.__esModule=!0;var Th=ke(),Ah=Ch(Th),Oh=B();function Ch(t){return t&&t.__esModule?t:{default:t}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ih=(function(t){Rh(e,t);function e(s){Nh(this,e);var r=Ph(this,t.call(this,s));return r.type=Oh.COMMENT,r}return e})(Ah.default);yr.default=Ih;Ma.exports=yr.default});var Fa=w((gr,Ua)=>{"use strict";gr.__esModule=!0;var qh=Ye(),Lh=Mh(qh),Dh=B();function Mh(t){return t&&t.__esModule?t:{default:t}}function Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $h=(function(t){Fh(e,t);function e(s){Bh(this,e);var r=Uh(this,t.call(this,s));return r.type=Dh.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e})(Lh.default);gr.default=$h;Ua.exports=gr.default});var Wa=w((wr,$a)=>{"use strict";wr.__esModule=!0;var Wh=Ye(),Gh=Vh(Wh),Yh=B();function Vh(t){return t&&t.__esModule?t:{default:t}}function zh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kh=(function(t){Hh(e,t);function e(s){zh(this,e);var r=jh(this,t.call(this,s));return r.type=Yh.TAG,r}return e})(Gh.default);wr.default=Kh;$a.exports=wr.default});var Ya=w((vr,Ga)=>{"use strict";vr.__esModule=!0;var Qh=ke(),Xh=Zh(Qh),Jh=B();function Zh(t){return t&&t.__esModule?t:{default:t}}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function td(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var sd=(function(t){rd(e,t);function e(s){ed(this,e);var r=td(this,t.call(this,s));return r.type=Jh.STRING,r}return e})(Xh.default);vr.default=sd;Ga.exports=vr.default});var za=w((xr,Va)=>{"use strict";xr.__esModule=!0;var nd=fr(),id=ad(nd),od=B();function ad(t){return t&&t.__esModule?t:{default:t}}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ld(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fd=(function(t){cd(e,t);function e(s){ud(this,e);var r=ld(this,t.call(this,s));return r.type=od.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e})(id.default);xr.default=fd;Va.exports=xr.default});var Ha=w((_r,ja)=>{"use strict";_r.__esModule=!0;var pd=Ye(),hd=md(pd),dd=B();function md(t){return t&&t.__esModule?t:{default:t}}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function wd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var vd=(function(t){wd(e,t);function e(s){yd(this,e);var r=gd(this,t.call(this,s));return r.type=dd.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e})(hd.default);_r.default=vd;ja.exports=_r.default});var Qa=w((br,Ka)=>{"use strict";br.__esModule=!0;var xd=Ye(),_d=Ed(xd),bd=B();function Ed(t){return t&&t.__esModule?t:{default:t}}function Sd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ad=(function(t){Td(e,t);function e(s){Sd(this,e);var r=kd(this,t.call(this,s));return r.type=bd.UNIVERSAL,r.value="*",r}return e})(_d.default);br.default=Ad;Ka.exports=br.default});var Ja=w((Er,Xa)=>{"use strict";Er.__esModule=!0;var Od=ke(),Cd=Pd(Od),Nd=B();function Pd(t){return t&&t.__esModule?t:{default:t}}function Rd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Id(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function qd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ld=(function(t){qd(e,t);function e(s){Rd(this,e);var r=Id(this,t.call(this,s));return r.type=Nd.COMBINATOR,r}return e})(Cd.default);Er.default=Ld;Xa.exports=Er.default});var eu=w((Sr,Za)=>{"use strict";Sr.__esModule=!0;var Dd=ke(),Md=Ud(Dd),Bd=B();function Ud(t){return t&&t.__esModule?t:{default:t}}function Fd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Wd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Gd=(function(t){Wd(e,t);function e(s){Fd(this,e);var r=$d(this,t.call(this,s));return r.type=Bd.NESTING,r.value="&",r}return e})(Md.default);Sr.default=Gd;Za.exports=Sr.default});var ru=w((kr,tu)=>{"use strict";kr.__esModule=!0;kr.default=Yd;function Yd(t){return t.sort(function(e,s){return e-s})}tu.exports=kr.default});var fu=w((Or,cu)=>{"use strict";Or.__esModule=!0;Or.default=tm;var su=39,Vd=34,Ws=92,nu=47,_t=10,Gs=32,Ys=12,Vs=9,zs=13,iu=43,ou=62,au=126,uu=124,zd=44,jd=40,Hd=41,Kd=91,Qd=93,Xd=59,lu=42,Jd=58,Zd=38,em=64,Tr=/[ \n\t\r\{\(\)'"\\;/]/g,Ar=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function tm(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,u=void 0,a=void 0,l=void 0,f=void 0,h=void 0,c=void 0,g=void 0,b=s.length,d=-1,p=1,m=0,y=function(O,q){if(t.safe)s+=q,n=s.length-1;else throw t.error("Unclosed "+O,p,m-d,m)};m0?(f=p+u,h=n-o[u].length):(f=p,h=d),e.push(["comment",a,p,m-d,f,n-h,m]),d=h,p=f,m=n):(Ar.lastIndex=m+1,Ar.test(s),Ar.lastIndex===0?n=s.length-1:n=Ar.lastIndex-2,e.push(["word",s.slice(m,n+1),p,m-d,p,n-d,m]),m=n);break}m++}return e}cu.exports=Or.default});var du=w((Cr,hu)=>{"use strict";Cr.__esModule=!0;var rm=(function(){function t(e,s){for(var r=0;r1?(o[0]===""&&(o[0]=!0),u.attribute=this.parseValue(o[2]),u.namespace=this.parseNamespace(o[0])):u.attribute=this.parseValue(i[0]),r=new Sm.default(u),i[2]){var a=i[2].split(/(\s+i\s*?)$/),l=a[0].trim();r.value=this.lossy?l:a[0],a[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=a[1])),r.quoted=l[0]==="'"||l[0]==='"',r.raws.unquoted=r.quoted?l.slice(1,-1):l}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new Om.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new xm.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new Tm.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var u=this.currToken[1];if(o+=u,u.lastIndexOf("\\")===u.length-1){var a=this.nextToken;a&&a[0]==="space"&&(o+=this.parseSpace(a[1]," "),this.position++)}i=this.nextToken}var l=(0,js.default)(o,"."),f=(0,js.default)(o,"#"),h=(0,js.default)(o,"#{");h.length&&(f=f.filter(function(g){return!~h.indexOf(g)}));var c=(0,Rm.default)((0,am.default)((0,nm.default)([[0],l,f])));c.forEach(function(g,b){var d=c[b+1]||o.length,p=o.slice(g,d);if(b===0&&r)return r.call(n,p,c.length);var m=void 0;~l.indexOf(g)?m=new pm.default({value:p.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}):~f.indexOf(g)?m=new ym.default({value:p.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}):m=new wm.default({value:p,source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(d-1)}},sourceIndex:n.currToken[6]+c[b]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position{"use strict";Nr.__esModule=!0;var Um=(function(){function t(e,s){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=new $m.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},Um(t,[{key:"result",get:function(){return String(this.res)}}]),t})();Nr.default=Ym;mu.exports=Nr.default});var j=w((L_,wu)=>{"use strict";var Ks=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>Ks(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=Ks(n)),s[r]=n)}return s};wu.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let s=Ks(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i{"use strict";var zm=j(),Ve=class extends zm{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Ve.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Ve.prototype[e]&&(Ve.prototype[e]=function(s){return this.walkType(t,s)})};vu.exports=Ve});var _u=w((B_,xu)=>{"use strict";var jm=F();xu.exports=class extends jm{constructor(e){super(e),this.type="root"}}});var Eu=w((F_,bu)=>{"use strict";var Hm=F();bu.exports=class extends Hm{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var Tu=w(($_,ku)=>{"use strict";var Su=F(),Pr=class extends Su{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Su.registerWalker(Pr);ku.exports=Pr});var Ou=w((W_,Au)=>{"use strict";var Km=F(),Qm=j(),Rr=class extends Qm{constructor(e){super(e),this.type="colon"}};Km.registerWalker(Rr);Au.exports=Rr});var Nu=w((G_,Cu)=>{"use strict";var Xm=F(),Jm=j(),Ir=class extends Jm{constructor(e){super(e),this.type="comma"}};Xm.registerWalker(Ir);Cu.exports=Ir});var Ru=w((Y_,Pu)=>{"use strict";var Zm=F(),ey=j(),qr=class extends ey{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Zm.registerWalker(qr);Pu.exports=qr});var Lu=w((V_,qu)=>{"use strict";var Iu=F(),Lr=class extends Iu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};Iu.registerWalker(Lr);qu.exports=Lr});var Mu=w((z_,Du)=>{"use strict";var ty=F(),ry=j(),Dr=class extends ry{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};ty.registerWalker(Dr);Du.exports=Dr});var Uu=w((j_,Bu)=>{"use strict";var sy=F(),ny=j(),Mr=class extends ny{constructor(e){super(e),this.type="operator"}};sy.registerWalker(Mr);Bu.exports=Mr});var $u=w((H_,Fu)=>{"use strict";var iy=F(),oy=j(),Br=class extends oy{constructor(e){super(e),this.type="paren",this.parenType=""}};iy.registerWalker(Br);Fu.exports=Br});var Gu=w((K_,Wu)=>{"use strict";var ay=F(),uy=j(),Ur=class extends uy{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};ay.registerWalker(Ur);Wu.exports=Ur});var Vu=w((Q_,Yu)=>{"use strict";var ly=F(),cy=j(),Fr=class extends cy{constructor(e){super(e),this.type="word"}};ly.registerWalker(Fr);Yu.exports=Fr});var ju=w((X_,zu)=>{"use strict";var fy=F(),py=j(),$r=class extends py{constructor(e){super(e),this.type="unicode-range"}};fy.registerWalker($r);zu.exports=$r});var Ku=w((J_,Hu)=>{"use strict";var Qs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Hu.exports=Qs});var Ju=w((Z_,Xu)=>{"use strict";var Wr=/[ \n\t\r\{\(\)'"\\;,/]/g,hy=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ze=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,dy=/^[a-z0-9]/i,my=/^[a-f0-9?\-]/i,Qu=Ku();Xu.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,u=1,a=0,l=0,f=null,h,c,g,b,d,p,m,y,v,O,q,H;function ne(A){let k=`Unclosed ${A} at line: ${u}, column: ${a-o}, token: ${a}`;throw new Qu(k)}function W(){let A=`Syntax error at line: ${u}, column: ${a-o}, token: ${a}`;throw new Qu(A)}for(;a0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",u,a-o,u,c-o,a]);break;case 41:l--,f=f&&l>0,r.push([")",")",u,a-o,u,c-o,a]);break;case 39:case 34:g=h===39?"'":'"',c=a;do for(O=!1,c=n.indexOf(g,c+1),c===-1&&ne("quote",g),q=c;n.charCodeAt(q-1)===92;)q-=1,O=!O;while(O);r.push(["string",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 64:Wr.lastIndex=a+1,Wr.test(n),Wr.lastIndex===0?c=n.length-1:c=Wr.lastIndex-2,r.push(["atword",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 92:c=a,h=n.charCodeAt(c+1),m&&h!==47&&h!==32&&h!==10&&h!==9&&h!==13&&h!==12&&(c+=1),r.push(["word",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c;break;case 43:case 45:case 42:c=a+1,H=n.slice(a+1,c+1);let A=n.slice(a-1,a);if(h===45&&H.charCodeAt(0)===45){c++,r.push(["word",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;break}r.push(["operator",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;break;default:if(h===47&&(n.charCodeAt(a+1)===42||s.loose&&!f&&n.charCodeAt(a+1)===47)){if(n.charCodeAt(a+1)===42)c=n.indexOf("*/",a+2)+1,c===0&&ne("comment","*/");else{let N=n.indexOf(` +`,a+2);c=N!==-1?N-1:i}p=n.slice(a,c+1),b=p.split(` +`),d=b.length-1,d>0?(y=u+d,v=c-b[d].length):(y=u,v=o),r.push(["comment",p,u,a-o,y,c-v,a]),o=v,u=y,a=c}else if(h===35&&!dy.test(n.slice(a+1,a+2)))c=a+1,r.push(["#",n.slice(a,c),u,a-o,u,c-o,a]),a=c-1;else if((h===117||h===85)&&n.charCodeAt(a+1)===43){c=a+2;do c+=1,h=n.charCodeAt(c);while(c=48&&h<=57&&(k=ze),k.lastIndex=a+1,k.test(n),k.lastIndex===0?c=n.length-1:c=k.lastIndex-2,k===ze||h===46){let N=n.charCodeAt(c),tn=n.charCodeAt(c+1),rn=n.charCodeAt(c+2);(N===101||N===69)&&(tn===45||tn===43)&&rn>=48&&rn<=57&&(ze.lastIndex=c+2,ze.test(n),ze.lastIndex===0?c=n.length-1:c=ze.lastIndex-2)}r.push(["word",n.slice(a,c+1),u,a-o,u,c-o,a]),a=c}break}a++}return r}});var el=w((eb,Zu)=>{"use strict";var Xs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Zu.exports=Xs});var nl=w((rb,sl)=>{"use strict";var yy=_u(),gy=Eu(),wy=Tu(),vy=Ou(),xy=Nu(),_y=Ru(),by=Lu(),Ey=Mu(),Sy=Uu(),tl=$u(),ky=Gu(),rl=Vu(),Ty=ju(),Ay=Ju(),Oy=Us(),Cy=Fs(),Ny=$s(),Py=el();function Ry(t){return t.sort((e,s)=>e-s)}sl.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new yy;let n=new gy;this.root.append(n),this.current=n,this.tokens=Ay(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new vy({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new xy({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new _y({value:s,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(r),this.position++}error(e,s){throw new Py(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return s=new Sy({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(s)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,s=this.position+1,r=this.currToken,n;for(;s=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Ty({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let u=this.currToken[1];s+=u,e=this.nextToken}i=Cy(s,"@"),o=Ry(Ny(Oy([[0],i]))),o.forEach((u,a)=>{let l=o[a+1]||s.length,f=s.slice(u,l),h;if(~i.indexOf(u))h=new wy({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a]});else if(r.test(this.currToken[1])){let c=f.replace(r,"");h=new Ey({value:f.replace(c,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a],unit:c})}else h=new(e&&e[0]==="("?by:rl)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+o[a]}),h.type==="word"?(h.isHex=/^#(.+)/.test(f),h.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(h)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new ky({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var _l={};sn(_l,{languages:()=>Si,options:()=>Ti,parsers:()=>en,printers:()=>Hy});var bt=(t,e)=>(s,r,...n)=>s|1&&r==null?void 0:(e.call(r)??r[t]).apply(r,n);var Ol=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},Cl=bt("replaceAll",function(){if(typeof this=="string")return Ol}),E=Cl;function Nl(t){return this[t<0?this.length+t:t]}var Pl=bt("at",function(){if(Array.isArray(this)||typeof this=="string")return Nl}),G=Pl;var Rl=()=>{},K=Rl;var je="string",He="array",Et="cursor",ie="indent",Ae="align",St="trim",oe="group",ae="fill",me="if-break",kt="indent-if-break",Oe="line-suffix",Tt="line-suffix-boundary",X="line",At="label",Ce="break-parent",Ot=new Set([Et,ie,Ae,St,oe,ae,me,kt,Oe,Tt,X,At,Ce]);function Il(t){if(typeof t=="string")return je;if(Array.isArray(t))return He;if(!t)return;let{type:e}=t;if(Ot.has(e))return e}var ue=Il;var ql=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ll(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(ue(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=ql([...Ot].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var zr=class extends Error{name="InvalidDocError";constructor(e){super(Ll(e)),this.doc=e}},nn=zr;function Dl(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(ue(i)){case He:return e(i.map(r));case ae:return e({...i,parts:i.parts.map(r)});case me:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case oe:{let{expandedStates:o,contents:u}=i;return o?(o=o.map(r),u=o[0]):u=r(u),e({...i,contents:u,expandedStates:o})}case Ae:case ie:case kt:case At:case Oe:return e({...i,contents:r(i.contents)});case je:case Et:case St:case Tt:case X:case Ce:return e(i);default:throw new nn(i)}}}function Ml(t){return t.type===X&&!t.hard?t.soft?"":" ":t.type===me?t.flatContents:t}function on(t){return Dl(t,Ml)}var $=K,ye=K,an=K,un=K;function L(t){return $(t),{type:ie,contents:t}}function Bl(t,e){return un(t),$(e),{type:Ae,contents:e,n:t}}function le(t){return Bl(-1,t)}var Ne={type:Ce};function Pe(t){return an(t),{type:ae,parts:t}}function D(t,e={}){return $(t),ye(e.expandedStates,!0),{type:oe,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Ct(t,e="",s={}){return $(t),e!==""&&$(e),{type:me,breakContents:t,flatContents:e,groupId:s.groupId}}function Y(t,e){$(t),ye(e);let s=[];for(let r=0;r0}var ce=$l;var cn=Object.freeze({character:"'",codePoint:39}),fn=Object.freeze({character:'"',codePoint:34}),Wl=Object.freeze({preferred:cn,alternate:fn}),Gl=Object.freeze({preferred:fn,alternate:cn});function Yl(t,e){let{preferred:s,alternate:r}=e===!0||e==="'"?Wl:Gl,{length:n}=t,i=0,o=0;for(let u=0;uo?r:s).character}var pn=Yl;var Vl=/\\(["'\\])|(["'])/gu;function zl(t,e){let s=e==='"'?"'":'"',r=E(0,t,Vl,(n,i,o)=>i?i===s?s:n:o===e?"\\"+o:o);return e+r+e}var hn=zl;function jl(t,e){K(/^(?["']).*\k$/su.test(t));let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="jsonc"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":pn(s,e.singleQuote);return t.charAt(0)===r?t:hn(s,r)}var Nt=jl;var jr=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},dn=jr;var Pt=Symbol.for("PRETTIER_IS_FRONT_MATTER");function Hl(t){return!!t?.[Pt]}var Re=Hl;var Ke=3;function Kl(t){let e=t.slice(0,Ke);if(e!=="---"&&e!=="+++")return;let s=t.indexOf(` +`,Ke);if(s===-1)return;let r=t.slice(Ke,s).trim(),n=t.indexOf(` +${e}`,s),i=r;if(i||(i=e==="+++"?"toml":"yaml"),n===-1&&e==="---"&&i==="yaml"&&(n=t.indexOf(` +...`,s)),n===-1)return;let o=n+1+Ke,u=t.charAt(o+1);if(!/\s?/u.test(u))return;let a=t.slice(0,o),l;return{language:i,explicitLanguage:r||null,value:t.slice(s+1,n),startDelimiter:e,endDelimiter:a.slice(-Ke),raw:a,start:{line:1,column:0,index:0},end:{index:a.length,get line(){return l??(l=a.split(` +`)),l.length},get column(){return l??(l=a.split(` +`)),G(0,l,-1).length}},[Pt]:!0}}function Ql(t){let e=Kl(t);return e?{frontMatter:e,get content(){let{raw:s}=e;return E(0,s,/[^\n]/gu," ")+t.slice(s.length)}}:{content:t}}var ge=Ql;var Xl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function mn(t,e,s){if(t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||Re(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/u.test(t.text))||s.type==="css-root"&&G(0,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&t.value&&(e.value=Jl(t.value)),t.type==="selector-combinator"&&(e.value=E(0,e.value,/\s+/gu," ")),t.type==="media-feature"&&(e.value=E(0,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(t.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=t.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=t.name.toLowerCase()),t.type==="value-number"&&(e.unit=t.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=E(0,e.value,/;$/gu,"")),t.type==="selector-attribute"&&(e.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(e.namespace=t.namespace.trim()||!0),t.value)){let{value:r}=e;/\s[a-zA-Z]$/u.test(r)&&(e.__prettier_attribute_selector_flag=G(0,r,-1),r=r.slice(0,-1)),r=r.trim(),r=r.replace(/^(?["'])(?.*?)\k$/u,"$"),e.value=r,delete e.quoted}if((t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&t.value&&(e.value=E(0,e.value,/([\d+.e-]+)([a-z]*)/giu,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=e.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&(r.value.endsWith("[")||r.value.endsWith("]"))||r.type==="value-word"&&(r.value.startsWith("]")||r.value.startsWith("["))))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}mn.ignoredProperties=Xl;function Jl(t){return E(0,E(0,t,"'",'"'),/\\([^\da-f])/giu,"$1")}var yn=mn;function gn(){}gn.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var wn=gn;var Qe=null;function Xe(t){if(Qe!==null&&typeof Qe.property){let e=Qe;return Qe=Xe.prototype=null,e}return Qe=Xe.prototype=t??Object.create(null),new Xe}var Zl=10;for(let t=0;t<=Zl;t++)Xe();function Hr(t){return Xe(t)}function ec(t,e="type"){Hr(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var vn=ec;var _=[[],["nodes"],["group"]],xn={"css-root":["frontMatter","nodes"],"css-comment":_[0],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":_[1],"media-query":_[1],"media-type":_[0],"media-feature-expression":_[1],"media-feature":_[0],"media-colon":_[0],"media-value":_[0],"media-keyword":_[0],"media-url":_[0],"media-unknown":_[0],"selector-root":_[1],"selector-selector":_[1],"selector-comment":_[0],"selector-string":_[0],"selector-tag":_[0],"selector-id":_[0],"selector-class":_[0],"selector-attribute":_[0],"selector-combinator":_[1],"selector-universal":_[0],"selector-pseudo":_[1],"selector-nesting":_[0],"selector-unknown":_[0],"value-value":_[2],"value-root":_[2],"value-comment":_[0],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":_[2],"value-paren":_[0],"value-number":_[0],"value-operator":_[0],"value-word":_[0],"value-colon":_[0],"value-comma":_[0],"value-string":_[0],"value-atword":_[0],"value-unicode-range":_[0],"value-unknown":_[0]};var tc=vn(xn),_n=tc;function rc(t,e){let s=0;for(let r=0;r{let n=!!r?.backwards;if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&ot.source?.startOffset,R=t=>t.source?.endOffset;var nc=/\*\/$/,ic=/^\/\*\*?/,Nn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,oc=/(^|\s+)\/\/([^\n\r]*)/g,An=/^(\r?\n)+/,ac=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,On=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,uc=/(\r?\n|^) *\* ?/g,Pn=[];function Rn(t){let e=t.match(Nn);return e?e[0].trimStart():""}function In(t){let s=t.match(Nn)?.[0];return s==null?t:t.slice(s.length)}function qn(t){t=E(0,t.replace(ic,"").replace(nc,""),uc,"$1");let s="";for(;s!==t;)s=t,t=E(0,t,ac,` +$1 $2 +`);t=t.replace(An,"").trimEnd();let r=Object.create(null),n=E(0,t,On,"").replace(An,"").trimEnd(),i;for(;i=On.exec(t);){let o=E(0,i[2],oc,"");if(typeof r[i[1]]=="string"||Array.isArray(r[i[1]])){let u=r[i[1]];r[i[1]]=[...Pn,...Array.isArray(u)?u:[u],o]}else r[i[1]]=o}return{comments:n,pragmas:r}}function Ln({comments:t="",pragmas:e={}}){let o=Object.keys(e),u=o.flatMap(l=>Cn(l,e[l])).map(l=>` * ${l} +`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let l=e[o[0]];return`/** ${Cn(o[0],l)[0]} */`}}let a=t.split(` +`).map(l=>` * ${l}`).join(` +`)+` +`;return`/** +`+(t?a:"")+(t&&o.length>0?` * +`:"")+u+" */"}function Cn(t,e){return[...Pn,...Array.isArray(e)?e:[e]].map(s=>`@${t} ${s}`.trim())}var Dn=["noformat","noprettier"],Mn=["format","prettier"],Bn="format";function lc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(` +`);return e===-1?t:t.slice(0,e)}var Un=lc;function Jr(t){let e=Un(t);e&&(t=t.slice(e.length+1));let s=Rn(t),{pragmas:r,comments:n}=qn(s);return{shebang:e,text:t,pragmas:r,comments:n}}function Fn(t){let{pragmas:e}=Jr(t);return Mn.some(s=>Object.prototype.hasOwnProperty.call(e,s))}function $n(t){let{pragmas:e}=Jr(t);return Dn.some(s=>Object.prototype.hasOwnProperty.call(e,s))}function Wn(t){let{shebang:e,text:s,pragmas:r,comments:n}=Jr(t),i=In(s),o=Ln({pragmas:{[Bn]:"",...r},comments:n.trimStart()});return(e?`${e} +`:"")+o+(i.startsWith(` +`)?` +`:` + +`)+i}var Gn=t=>Fn(ge(t).content),Yn=t=>$n(ge(t).content),Vn=t=>{let{frontMatter:e,content:s}=ge(t);return(e?e.raw+` + +`:"")+Wn(s)};var cc=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function zn(t){return t.findAncestor(e=>e.type==="css-decl")?.prop?.toLowerCase()}var fc=new Set(["initial","inherit","unset","revert"]);function jn(t){return fc.has(t.toLowerCase())}function Hn(t,e){return t.findAncestor(r=>r.type==="css-atrule")?.name?.toLowerCase().endsWith("keyframes")&&["from","to"].includes(e.toLowerCase())}function Ie(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function qe(t,e){return t.findAncestor(r=>r.type==="value-func")?.value?.toLowerCase()===e}function Kn(t){return t.hasAncestor(e=>{if(e.type!=="css-rule")return!1;let s=e.raws?.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))})}function we(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Qn(t){let{node:e}=t;return e.groups[0]?.value==="url"&&e.groups.length===2&&t.findAncestor(s=>s.type==="css-atrule")?.name==="import"}function Xn(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function Jn(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Zn(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/u.test(e)||e.value&&/^@.+:.*$/u.test(e.value):!1}function ei(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function ti(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function ri(t){return t.type==="value-word"&&t.value==="in"}function Lt(t){return t.type==="value-operator"&&t.value==="*"}function ve(t){return t?.type==="value-operator"&&t.value==="/"}function J(t){return t.type==="value-operator"&&t.value==="+"}function xe(t){return t.type==="value-operator"&&t.value==="-"}function pc(t){return t.type==="value-operator"&&t.value==="%"}function Dt(t){return Lt(t)||ve(t)||J(t)||xe(t)||pc(t)}function si(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function ni(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function Je(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function es(t){return t.raws?.params&&/^\(\s*\)$/u.test(t.raws.params)}function Mt(t){return t.name.startsWith("prettier-placeholder")}function ii(t){return t.prop.startsWith("@prettier-placeholder")}function oi(t,e){return t.value==="$$"&&t.type==="value-func"&&e?.type==="value-word"&&!e.raws.before}function ai(t){return t.value?.type==="value-root"&&t.value.group?.type==="value-value"&&t.prop.toLowerCase()==="composes"}function ui(t){return t.value?.group?.group?.type==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function Z(t){return t?.raws?.before===""}function Bt(t){return t.type==="value-comma_group"&&t.groups?.[1]?.type==="value-colon"}function Zr(t){return t.type==="value-paren_group"&&t.groups?.[0]&&Bt(t.groups[0])}function ts(t,e){if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.parent;if(r&&r.type==="value-func"&&r.value==="if")return!1;let n=t.grandparent;return!Zr(s)&&!(n&&Zr(n))?!1:!!(t.findAncestor(o=>o.type==="css-decl")?.prop?.startsWith("$")||Zr(n)||n.type==="value-func")}function Ze(t){return t.type==="value-comment"&&t.inline}function Ut(t){return t.type==="value-word"&&t.value==="#"}function rs(t){return t.type==="value-word"&&t.value==="{"}function Ft(t){return t.type==="value-word"&&t.value==="}"}function et(t){return["value-word","value-atword"].includes(t.type)}function $t(t){return t?.type==="value-colon"}function li(t,e){if(!Bt(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:$t(s[r+1])}function ci(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function fi(t){return t.type!=="value-func"?!1:cc.has(t.value.toLowerCase())}function Le(t){return/\/\//u.test(t.split(/[\n\r]/u).pop())}function tt(t){return t?.type==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function pi(t,e){if(t.open?.value!=="("||t.close?.value!==")"||t.groups.some(s=>s.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let s=e.groups.indexOf(t)-1,r=e.groups[s];if(r?.type==="value-word"&&r.value==="with")return!0}return!1}function rt(t){return t.type==="value-paren_group"&&t.open?.value==="("&&t.close?.value===")"}function hc(t,e,s){let{node:r}=t,n=t.parent,i=t.grandparent,o=zn(t),u=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),a=t.findAncestor(p=>p.type==="css-atrule"),l=a&&Je(a,e),f=r.groups.some(p=>Ze(p)),h=t.map(s,"groups"),c=[""],g=qe(t,"url"),b=!1,d=!1;for(let p=0;pN:k!==-1?b=!0:N!==-1&&(b=!1)}if(b||$t(y)||$t(v)||y.type==="value-atword"&&(y.value===""||y.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||y.value==="~"||e.parser==="less"&&(v?.type==="value-word"&&v.value==="["||y.type==="value-word"&&y.value==="["&&(v?.type==="value-atword"||v?.type==="value-word")||y.type==="value-word"&&y.value==="]["&&v?.type==="value-word")||y.type!=="value-string"&&y.value&&y.value.includes("\\")&&v&&v.type!=="value-comment"||m?.value&&m.value.indexOf("\\")===m.value.length-1&&y.type==="value-operator"&&y.value==="/"||y.value==="\\"||oi(y,v)||Ut(y)||rs(y)||Ft(v)||rs(v)&&Z(v)||Ft(y)&&Z(v)||y.value==="--"&&Ut(v))continue;let q=Dt(y),H=Dt(v);if((q&&Ut(v)||H&&Ft(y))&&Z(v)||!m&&ve(y)||qe(t,"calc")&&(J(y)||J(v)||xe(y)||xe(v))&&Z(v))continue;let ne=(J(y)||xe(y))&&p===0&&(v.type==="value-number"||v.isHex)&&i&&fi(i)&&!Z(v);if(e.parser==="scss"&&q&&y.value==="-"&&v.type==="value-func"&&R(y)!==P(v)){c.push([c.pop()," "]);continue}let W=O?.type==="value-func"||O&&et(O)||y.type==="value-func"||et(y),A=v.type==="value-func"||et(v)||m?.type==="value-func"||m&&et(m);if(!(!(Lt(v)||Lt(y))&&!qe(t,"calc")&&!ne&&(ve(v)&&!W||ve(y)&&!A||J(v)&&!W||J(y)&&!A||xe(v)||xe(y))&&(Z(v)||q&&(!m||m&&Dt(m))))&&!((e.parser==="scss"||e.parser==="less")&&q&&y.value==="-"&&rt(v)&&R(y)===P(v.open)&&v.open.value==="(")){if(Ze(y)){if(n.type==="value-paren_group"){c.push(le(T),"");continue}c.push(T,"");continue}if(l&&(si(v)||ni(v)||ti(v)||ri(y)||ei(y))){c.push([c.pop()," "]);continue}if(a&&a.name.toLowerCase()==="namespace"){c.push([c.pop()," "]);continue}if(u){y.source&&v.source&&y.source.start.line!==v.source.start.line?(c.push(T,""),d=!0):c.push([c.pop()," "]);continue}if(!(o&&(o==="font"||o.startsWith("--"))&&(ve(v)&&Z(v)&&hi(y)||ve(y)&&Z(y)&&hi(m)))){if(H){c.push([c.pop()," "]);continue}if(v?.value!=="..."&&!(tt(y)&&tt(v)&&R(y)===P(v))){if(tt(y)&&rt(v)&&R(y)===P(v.open)){c.push(M,"");continue}if(y.value==="with"&&rt(v)){c=[[Pe(c)," "]];continue}if(!(y.value?.endsWith("#")&&v.value==="{"&&rt(v.group))&&!(Ze(v)&&!O)){if(!a&&y.type==="value-comment"&&!y.inline&&r.groups.slice(0,p).every(k=>k.type==="value-comment")){c.push(le(C),"");continue}c.push(C,"")}}}}}return f&&c.push([c.pop(),Ne]),d&&c.unshift("",T),l?D(L(c)):Qn(t)?D(Pe(c)):D(L(Pe(c)))}function hi(t){if(t?.type==="value-number")return!0;if(t?.type!=="value-func")return!1;let e=t.value.toLowerCase();return e==="var"||e==="calc"||e==="min"||e==="max"||e==="clamp"||e.startsWith("--")}var di=hc;function dc(t){return t.length===1?t:t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var mi=dc;var Wt=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"],["fr","fr"]]);function ss(t){let e=t.toLowerCase();return Wt.has(e)?Wt.get(e):t}var yi=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,mc=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,yc=/[a-z]+/giu,gc=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,wc=new RegExp(yi.source+`|(${gc.source})?(${mc.source})(${yc.source})?`,"giu");function V(t,e){return E(0,t,yi,s=>Nt(s,e))}function gi(t,e){let s=e.singleQuote?"'":'"',r="",n=t.match(/^(?.+?)\s+(?[a-zA-Z])$/u);return n&&({value:t,flag:r}=n.groups),(t.includes('"')||t.includes("'")?t:s+t+s)+(r?` ${r}`:"")}function _e(t){return E(0,t,wc,(e,s,r,n,i)=>!r&&n&&(i??(i=""),i=i.toLowerCase(),!i||i==="n"||Wt.has(i))?ns(n)+(i?ss(i):""):e)}function ns(t){return mi(t).replace(/\.0(?=$|e)/u,"")}function wi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}var vi=t=>t===` +`||t==="\r"||t==="\u2028"||t==="\u2029";function vc(t,e,s){let r=!!s?.backwards;if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===` +`)return e-2;if(vi(n))return e-1}else{if(n==="\r"&&t.charAt(e+1)===` +`)return e+2;if(vi(n))return e+1}return e}var Gt=vc;function xc(t,e,s={}){let r=It(t,s.backwards?e-1:e,s),n=Gt(t,r,s);return r!==n}var Yt=xc;function _c(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;ss.type==="value-comment"))&&wi(e)&&t.callParent(()=>ts(t,e))?Ct(","):""}function bi(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:g})=>typeof g=="string"?g:s(),"groups");if(n&&Xn(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",Y(",",i),r.close?s("close"):""];if(!r.open){let g=is(t);ye(i);let b=Ac(Y(",",i),2),d=Y(g?T:C,b);return L(g?[T,d]:D([Tc(t)?M:"",Pe(d)]))}let o=t.map(({node:g,isLast:b,index:d})=>{let p=i[d];Bt(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&g.groups[2]?.type==="value-paren_group"&&ue(p)===oe&&ue(p.contents)===ie&&ue(p.contents.contents)===ae&&(p=D(le(p)));let m=[p,b?kc(t,e):","];if(!b&&g.type==="value-comma_group"&&ce(g.groups)){let y=G(0,g.groups,-1);!y.source&&y.close&&(y=y.close),y.source&&Vt(e.originalText,R(y))&&m.push(T)}return m},"groups"),u=li(r,n),a=pi(r,n),l=ts(t,e),f=a||l&&!u,h=a||u,c=D([r.open?s("open"):"",L([M,Y(C,o)]),M,r.close?s("close"):""],{shouldBreak:f});return h?le(c):c}function is(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function Tc(t){return t.match(e=>e.type==="value-paren_group"&&!e.open,(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&e.type==="css-decl")}function Ac(t,e){let s=[];for(let r=0;r{let{node:n,previous:i}=t;if(i?.type==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(P(n),R(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Yt(e.originalText,P(o),{backwards:!0})&&!Re(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?C:T),Vt(e.originalText,R(n))&&!Re(n)&&r.push(T))},"nodes"),r}var De=Oc;function Cc(t,e,s){let{node:r}=t;switch(r.type){case"css-root":{let n=De(t,e,s),i=r.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r.frontMatter?[s("frontMatter"),T,r.nodes.length>0?T:""]:"",n,i?` ${i}`:"",r.nodes.length>0?T:""]}case"css-comment":{let n=r.inline||r.raws.inline,i=e.originalText.slice(P(r),R(r));return n?i.trimEnd():i}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[r.selector?.type==="selector-unknown"&&Le(r.selector.value)?C:r.selector?" ":"","{",r.nodes.length>0?L([T,De(t,e,s)]):"",T,"}",Zn(r)?";":""]:";"];case"css-decl":{let n=t.parent,{between:i}=r.raws,o=i.trim(),u=o===":",a=typeof r.value=="string"&&/^ *$/u.test(r.value),l=typeof r.value=="string"?r.value:s("value");return l=ai(r)?on(l):l,!u&&Le(o)&&!t.call(()=>is(t),"value","group","group")&&(l=L([T,le(l)])),[E(0,r.raws.before,/[\s;]/gu,""),n.type==="css-atrule"&&n.variable||Kn(t)?r.prop:Ie(r.prop),o.startsWith("//")?" ":"",o,r.extend||a?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",l,r.raws.important?r.raws.important.replace(/\s*!\s*important/iu," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/iu," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/iu," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",L([M,De(t,e,s)]),M,"}"]:ii(r)&&!n.raws.semicolon&&e.originalText[R(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&t.isLast?Ct(";"):";"]}case"css-atrule":{let n=t.parent,i=Mt(r)&&!n.raws.semicolon&&e.originalText[R(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",i?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),i?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",L([r.nodes.length>0?M:"",De(t,e,s)]),M,"}"]:"",i?"":";"]}let o=r.name==="import"&&r.params?.type==="value-unknown"&&r.params.value.endsWith(";");return["@",es(r)||r.name.endsWith(":")||Mt(r)?r.name:Ie(r.name),r.params?[es(r)?"":Mt(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(r.raws.afterName)?[T,T]:/^\s*\n/u.test(r.raws.afterName)?T:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?L([" ",s("selector")]):"",r.value?D([" ",s("value"),Je(r,e)?ui(r)?" ":C:""]):r.name==="else"?" ":"",r.nodes?[Je(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Le(r.selector.value)||!r.selector&&typeof r.params=="string"&&Le(r.params)?C:" ","{",L([r.nodes.length>0?M:"",De(t,e,s)]),M,"}"]:i||o?"":";"]}case"media-query-list":{let n=[];return t.each(({node:i})=>{i.type==="media-query"&&i.value===""||n.push(s())},"nodes"),D(L(Y(C,n)))}case"media-query":return[Y(" ",t.map(s,"nodes")),t.isLast?"":","];case"media-type":return _e(V(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return Ie(V(E(0,r.value,/ +/gu," "),e));case"media-colon":return[r.value," "];case"media-value":return _e(V(r.value,e));case"media-keyword":return V(r.value,e);case"media-url":return V(E(0,E(0,r.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),e);case"media-unknown":return r.value;case"selector-root":return D([we(t,"custom-selector")?[t.findAncestor(n=>n.type==="css-atrule").customSelector,C]:"",Y([",",we(t,["extend","custom-selector","nest"])?C:T],t.map(s,"nodes"))]);case"selector-selector":{let n=r.nodes.length>2;return D((n?L:i=>i)(t.map(s,"nodes")))}case"selector-comment":return r.value;case"selector-string":return V(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",t.previous?.type==="selector-nesting"?r.value:_e(Hn(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",_e(V(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?gi(V(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let o=t.parent;return[o.type==="selector-selector"&&o.nodes[0]===r?"":C,r.value,t.isLast?"":" "]}let n=r.value.trim().startsWith("(")?C:"",i=_e(V(r.value.trim(),e))||C;return[n,i]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[Ie(r.value),ce(r.nodes)?D(["(",L([M,Y([",",C],t.map(s,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{if(t.findAncestor(u=>u.type==="css-rule")?.isSCSSNesterProperty)return _e(V(Ie(r.value),e));let i=t.parent;if(i.raws?.selector){let u=P(i),a=u+i.raws.selector.length;return e.originalText.slice(u,a).trim()}let o=t.grandparent;if(i.type==="value-paren_group"&&o?.type==="value-func"&&o.value==="selector"){let u=R(i.open)+1,a=P(i.close),l=e.originalText.slice(u,a).trim();return Le(l)?[Ne,l]:l}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(P(r),R(r));case"value-comma_group":return di(t,e,s);case"value-paren_group":return bi(t,e,s);case"value-func":return[r.value,we(t,"supports")&&ci(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[ns(r.value),ss(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||jn(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:n}=t;return D([r.value,typeof n?.value=="string"&&n.value.endsWith("\\")||qe(t,"url")?"":C])}case"value-string":return Nt(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"front-matter":case"value-comma":default:throw new dn(r,"PostCSS")}}var Nc={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:Cc,embed:wn,insertPragma:Vn,massageAstNode:yn,getVisitorKeys:_n},Ei=Nc;var Si=[{name:"CSS",type:"markup",aceMode:"css",extensions:[".css",".wxss"],tmScope:"source.css",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["css"],vscodeLanguageIds:["css"],linguistLanguageId:50},{name:"PostCSS",type:"markup",aceMode:"text",extensions:[".pcss",".postcss"],tmScope:"source.postcss",group:"CSS",parsers:["css"],vscodeLanguageIds:["postcss"],linguistLanguageId:262764437},{name:"Less",type:"markup",aceMode:"less",extensions:[".less"],tmScope:"source.css.less",aliases:["less-css"],codemirrorMode:"css",codemirrorMimeType:"text/x-less",parsers:["less"],vscodeLanguageIds:["less"],linguistLanguageId:198},{name:"SCSS",type:"markup",aceMode:"scss",extensions:[".scss"],tmScope:"source.css.scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",parsers:["scss"],vscodeLanguageIds:["scss"],linguistLanguageId:329}];var ki={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Pc={singleQuote:ki.singleQuote},Ti=Pc;var en={};sn(en,{css:()=>Vy,less:()=>zy,scss:()=>jy});var dl=Te(ht(),1),ml=Te(qo(),1),yl=Te(da(),1);function gp(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var ma=gp;function wp(t){return t!==null&&typeof t=="object"}var Se=wp;var ba=Te(_a(),1);function te(t,e,s){if(Se(t)){delete t.parent;for(let r in t)te(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function Bs(t){if(Se(t)){delete t.parent;for(let e in t)Bs(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var Np=ba.default.default;function Pp(t){let e;try{e=Np(t)}catch{return{type:"selector-unknown",value:t}}return te(Bs(e),"media-")}var Ea=Pp;var gu=Te(yu(),1);function Vm(t){if(/\/[/*]/u.test(E(0,t,/"[^"]+"|'[^']+'/gu,"")))return{type:"selector-unknown",value:t.trim()};let e;try{new gu.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return te(e,"selector-")}var se=Vm;var cl=Te(nl(),1);var Iy=t=>{for(;t.parent;)t=t.parent;return t},Gr=Iy;function qy(t){return Gr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var il=qy;function Ly(t){if(ce(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var ol=Ly;function Dy(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var al=Dy;function My(t,e){return!!(e.parser==="scss"&&t?.type==="word"&&t.value.startsWith("$"))}var ul=My;var ll=t=>t.type==="paren"&&t.value===")";function By(t,e){let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},u=[o];for(let a=0;a0&&r.groups.push(o),r.close=l,u.length===1)throw new Error("Unbalanced parenthesis");u.pop(),o=G(0,u,-1),o.groups.push(r),n.pop(),r=G(0,n,-1)}else if(l.type==="comma"){if(a===s.length-3&&s[a+1].type==="comment"&&ll(s[a+2]))continue;r.groups.push(o),o={groups:[],type:"comma_group"},u[u.length-1]=o}else o.groups.push(l)}return o.groups.length>0&&r.groups.push(o),i}function Yr(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Yr(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Yr)}:t}function fl(t,e){if(Se(t))for(let s in t)s!=="parent"&&(fl(t[s],e),s==="nodes"&&(t.group=Yr(By(t,e)),delete t[s]));return t}function Uy(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new cl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=fl(s,e);return te(r,"value-",/^selector-/u)}var de=Uy;var Fy=new Set(["import","use","forward"]);function $y(t){return Fy.has(t)}var pl=$y;function Wy(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var hl=Wy;var Gy=/(\s*)(!default).*$/u,Yy=/(\s*)(!global).*$/u;function gl(t,e){if(Se(t)){delete t.parent;for(let i in t)gl(t[i],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let i;if(t.value.trimEnd().endsWith("}")){let o=e.originalText.slice(0,t.source.start.offset),u="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset),a=E(0,o,/[^\n]/gu," ")+u,l;e.parser==="scss"?l=xl:e.parser==="less"?l=vl:l=wl;let f;try{f=l(a,{...e})}catch{}f?.nodes?.length===1&&f.nodes[0].type==="css-rule"&&(i=f.nodes[0].nodes)}return i?t.value={type:"css-rule",nodes:i}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let r="";typeof t.value=="string"&&(r=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,t.raws.value=r.trim());let n="";if(typeof t.params=="string"&&(n=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(n=t.raws.afterName+n),t.raws.between&&t.raws.between.trim().length>0&&(n=n+t.raws.between),n=n.trim(),t.raws.params=n),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=de(s,e),t):(hl(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=se(s),t);if(r.trim().length>0){let i=r.match(Gy);i&&(r=r.slice(0,i.index),t.scssDefault=!0,i[0].trim()!=="!default"&&(t.raws.scssDefault=i[0]));let o=r.match(Yy);if(o&&(r=r.slice(0,o.index),t.scssGlobal=!0,o[0].trim()!=="!global"&&(t.raws.scssGlobal=o[0])),r.startsWith("progid:"))return{type:"value-unknown",value:r};t.value=de(r,e)}if(e.parser==="less"&&t.type==="css-decl"&&r.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=se(r.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let i=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=se(i),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let i=t.params.match(/:--\S+\s+/u)[0].trim();return t.customSelector=i,t.selector=se(t.params.slice(i.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")){t.variable=!0;let i=t.name.split(":");t.name=i[0];let o=i.slice(1).join(":");t.params&&(o+=t.params),t.value=de(o,e)}if(!["page","nest","keyframes"].includes(t.name)&&t.params?.[0]===":"){t.variable=!0;let i=t.params.slice(1);i&&(t.value=de(i,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&n.length>0){let{name:i}=t,o=t.name.toLowerCase();return i==="warn"||i==="error"?(t.params={type:"media-unknown",value:n},t):i==="extend"||i==="nest"?(t.selector=se(n),delete t.params,t):i==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(n)?t.params=de(n,e):(t.selector=se(n),delete t.params),t):pl(o)?(t.import=!0,delete t.filename,t.params=de(n,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(i)?(n=n.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),n=n.replace(/^(?!if)([^"'\s(]+)(\s+)\(/u,"$1($2"),t.value=de(n,e),delete t.params,t):["media","custom-media"].includes(o)?n.includes("#{")?{type:"media-unknown",value:n}:(t.params=Ea(n),t):(t.params=n,t)}}return t}function Js(t,e,s){let{frontMatter:r,content:n}=ge(e),i;try{i=t(n,{map:!1})}catch(o){let{name:u,reason:a,line:l,column:f}=o;throw typeof l!="number"?o:ma(`${u}: ${a}`,{loc:{start:{line:l,column:f}},cause:o})}return s.originalText=e,i=gl(te(i,"css-"),s),Xr(i,e),r&&(i.frontMatter={...r,type:"front-matter",source:{startOffset:r.start.index,endOffset:r.end.index}}),i}function wl(t,e={}){return Js(dl.default.default,t,e)}function vl(t,e={}){return Js(s=>ml.default.parse(Tn(s)),t,e)}function xl(t,e={}){return Js(yl.default,t,e)}var Zs={astFormat:"postcss",hasPragma:Gn,hasIgnorePragma:Yn,locStart:P,locEnd:R},Vy={...Zs,parse:wl},zy={...Zs,parse:vl},jy={...Zs,parse:xl};var Hy={postcss:Ei};export{_l as default,Si as languages,Ti as options,en as parsers,Hy as printers}; diff --git a/shared/node_modules/prettier/plugins/typescript.d.ts b/shared/node_modules/prettier/plugins/typescript.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e8e0f7523745e5952390c8428296393ae86caddf --- /dev/null +++ b/shared/node_modules/prettier/plugins/typescript.d.ts @@ -0,0 +1,5 @@ +import { Parser } from "../index.js"; + +export declare const parsers: { + typescript: Parser; +}; diff --git a/shared/node_modules/prettier/plugins/typescript.js b/shared/node_modules/prettier/plugins/typescript.js new file mode 100644 index 0000000000000000000000000000000000000000..c6d8894ae4dc7ade0973a4b50b9963959d32c406 --- /dev/null +++ b/shared/node_modules/prettier/plugins/typescript.js @@ -0,0 +1,21 @@ +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.typescript=e()}})(function(){"use strict";var gp=Object.defineProperty;var ty=Object.getOwnPropertyDescriptor;var ny=Object.getOwnPropertyNames;var ry=Object.prototype.hasOwnProperty;var yd=(e,t)=>{for(var a in t)gp(e,a,{get:t[a],enumerable:!0})},iy=(e,t,a,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let f of ny(t))!ry.call(e,f)&&f!==a&&gp(e,f,{get:()=>t[f],enumerable:!(_=ty(t,f))||_.enumerable});return e};var ay=e=>iy(gp({},"__esModule",{value:!0}),e);var K4={};yd(K4,{parsers:()=>ud});var ud={};yd(ud,{typescript:()=>Q4});var sy=()=>()=>{},Na=sy;var Ia=(e,t)=>(a,_,...f)=>a|1&&_==null?void 0:(t.call(_)??_[e]).apply(_,f);var _y=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},oy=Ia("replaceAll",function(){if(typeof this=="string")return _y}),Wr=oy;var bm="5.9";var vt=[],cy=new Map;function e_(e){return e!==void 0?e.length:0}function jn(e,t){if(e!==void 0)for(let a=0;a0;return!1}function Hp(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function dy(e,t,a=$p){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let _=0;_e?.at(t):(e,t)=>{if(e!==void 0&&(t=Ip(e,t),t>1),c=a(e[k],k);switch(_(c,t)){case-1:h=k+1;break;case 0:return k;case 1:T=k-1;break}}return~h}function xy(e,t,a,_,f){if(e&&e.length>0){let h=e.length;if(h>0){let T=_===void 0||_<0?0:_,k=f===void 0||T+f>h-1?h-1:T+f,c;for(arguments.length<=2?(c=e[T],T++):c=a;T<=k;)c=t(c,e[T],T),T++;return c}}return a}var Sm=Object.prototype.hasOwnProperty;function Dr(e,t){return Sm.call(e,t)}function Sy(e){let t=[];for(let a in e)Sm.call(e,a)&&t.push(a);return t}function wy(){let e=new Map;return e.add=ky,e.remove=Ey,e}function ky(e,t){let a=this.get(e);return a!==void 0?a.push(t):this.set(e,a=[t]),a}function Ey(e,t){let a=this.get(e);a!==void 0&&(Ly(a,t),a.length||this.delete(e))}function $r(e){return Array.isArray(e)}function vp(e){return $r(e)?e:[e]}function Ay(e,t){return e!==void 0&&t(e)?e:void 0}function Er(e,t){return e!==void 0&&t(e)?e:q.fail(`Invalid cast. The supplied value ${e} did not pass the test '${q.getFunctionName(t)}'.`)}function Va(e){}function Cy(){return!0}function bt(e){return e}function bd(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Kn(e){let t=new Map;return a=>{let _=`${typeof a}:${a}`,f=t.get(_);return f===void 0&&!t.has(_)&&(f=e(a),t.set(_,f)),f}}function $p(e,t){return e===t}function Qp(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Dy(e,t){return $p(e,t)}function Py(e,t){return e===t?0:e===void 0?-1:t===void 0?1:ea?k-a:1),y=Math.floor(t.length>a+k?a+k:t.length);f[0]=k;let G=k;for(let D=1;Da)return;let E=_;_=f,f=E}let T=_[t.length];return T>a?void 0:T}function Oy(e,t,a){let _=e.length-t.length;return _>=0&&(a?Qp(e.slice(_),t):e.indexOf(t,_)===_)}function My(e,t){e[t]=e[e.length-1],e.pop()}function Ly(e,t){return Jy(e,a=>a===t)}function Jy(e,t){for(let a=0;a{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function a(L){return e.currentLogLevel<=L}e.shouldLog=a;function _(L,se){e.loggingHost&&a(L)&&e.loggingHost.log(L,se)}function f(L){_(3,L)}e.log=f,(L=>{function se(Qe){_(1,Qe)}L.error=se;function fe(Qe){_(2,Qe)}L.warn=fe;function Te(Qe){_(3,Qe)}L.log=Te;function He(Qe){_(4,Qe)}L.trace=He})(f=e.log||(e.log={}));let h={};function T(){return t}e.getAssertionLevel=T;function k(L){let se=t;if(t=L,L>se)for(let fe of Sy(h)){let Te=h[fe];Te!==void 0&&e[fe]!==Te.assertion&&L>=Te.level&&(e[fe]=Te,h[fe]=void 0)}}e.setAssertionLevel=k;function c(L){return t>=L}e.shouldAssert=c;function W(L,se){return c(L)?!0:(h[se]={level:L,assertion:e[se]},e[se]=Va,!1)}function y(L,se){debugger;let fe=new Error(L?`Debug Failure. ${L}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(fe,se||y),fe}e.fail=y;function G(L,se,fe){return y(`${se||"Unexpected node."}\r +Node ${Ot(L.kind)} was unexpected.`,fe||G)}e.failBadSyntaxKind=G;function E(L,se,fe,Te){L||(se=se?`False expression: ${se}`:"False expression.",fe&&(se+=`\r +Verbose Debug Information: `+(typeof fe=="string"?fe:fe())),y(se,Te||E))}e.assert=E;function D(L,se,fe,Te,He){if(L!==se){let Qe=fe?Te?`${fe} ${Te}`:fe:"";y(`Expected ${L} === ${se}. ${Qe}`,He||D)}}e.assertEqual=D;function R(L,se,fe,Te){L>=se&&y(`Expected ${L} < ${se}. ${fe||""}`,Te||R)}e.assertLessThan=R;function ue(L,se,fe){L>se&&y(`Expected ${L} <= ${se}`,fe||ue)}e.assertLessThanOrEqual=ue;function be(L,se,fe){L= ${se}`,fe||be)}e.assertGreaterThanOrEqual=be;function he(L,se,fe){L==null&&y(se,fe||he)}e.assertIsDefined=he;function de(L,se,fe){return he(L,se,fe||de),L}e.checkDefined=de;function O(L,se,fe){for(let Te of L)he(Te,se,fe||O)}e.assertEachIsDefined=O;function ae(L,se,fe){return O(L,se,fe||ae),L}e.checkEachDefined=ae;function Oe(L,se="Illegal value:",fe){let Te=typeof L=="object"&&Dr(L,"kind")&&Dr(L,"pos")?"SyntaxKind: "+Ot(L.kind):JSON.stringify(L);return y(`${se} ${Te}`,fe||Oe)}e.assertNever=Oe;function V(L,se,fe,Te){W(1,"assertEachNode")&&E(se===void 0||Yp(L,se),fe||"Unexpected node.",()=>`Node array did not pass test '${hn(se)}'.`,Te||V)}e.assertEachNode=V;function oe(L,se,fe,Te){W(1,"assertNode")&&E(L!==void 0&&(se===void 0||se(L)),fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} did not pass test '${hn(se)}'.`,Te||oe)}e.assertNode=oe;function Y(L,se,fe,Te){W(1,"assertNotNode")&&E(L===void 0||se===void 0||!se(L),fe||"Unexpected node.",()=>`Node ${Ot(L.kind)} should not have passed test '${hn(se)}'.`,Te||Y)}e.assertNotNode=Y;function ft(L,se,fe,Te){W(1,"assertOptionalNode")&&E(se===void 0||L===void 0||se(L),fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} did not pass test '${hn(se)}'.`,Te||ft)}e.assertOptionalNode=ft;function nr(L,se,fe,Te){W(1,"assertOptionalToken")&&E(se===void 0||L===void 0||L.kind===se,fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} was not a '${Ot(se)}' token.`,Te||nr)}e.assertOptionalToken=nr;function mn(L,se,fe){W(1,"assertMissingNode")&&E(L===void 0,se||"Unexpected node.",()=>`Node ${Ot(L.kind)} was unexpected'.`,fe||mn)}e.assertMissingNode=mn;function rr(L){}e.type=rr;function hn(L){if(typeof L!="function")return"";if(Dr(L,"name"))return L.name;{let se=Function.prototype.toString.call(L),fe=/^function\s+([\w$]+)\s*\(/.exec(se);return fe?fe[1]:""}}e.getFunctionName=hn;function Dn(L){return`{ name: ${l_(L.escapedName)}; flags: ${ot(L.flags)}; declarations: ${Np(L.declarations,se=>Ot(se.kind))} }`}e.formatSymbol=Dn;function We(L=0,se,fe){let Te=Ir(se);if(L===0)return Te.length>0&&Te[0][0]===0?Te[0][1]:"0";if(fe){let He=[],Qe=L;for(let[st,Ct]of Te){if(st>L)break;st!==0&&st&L&&(He.push(Ct),Qe&=~st)}if(Qe===0)return He.join("|")}else for(let[He,Qe]of Te)if(He===L)return Qe;return L.toString()}e.formatEnum=We;let ir=new Map;function Ir(L){let se=ir.get(L);if(se)return se;let fe=[];for(let He in L){let Qe=L[He];typeof Qe=="number"&&fe.push([Qe,He])}let Te=yy(fe,(He,Qe)=>wm(He[0],Qe[0]));return ir.set(L,Te),Te}function Ot(L){return We(L,Ae,!1)}e.formatSyntaxKind=Ot;function Bn(L){return We(L,Dm,!1)}e.formatSnippetKind=Bn;function Pn(L){return We(L,Pr,!1)}e.formatScriptKind=Pn;function Mt(L){return We(L,sn,!0)}e.formatNodeFlags=Mt;function ht(L){return We(L,Em,!0)}e.formatNodeCheckFlags=ht;function $e(L){return We(L,Kp,!0)}e.formatModifierFlags=$e;function qn(L){return We(L,Cm,!0)}e.formatTransformFlags=qn;function $t(L){return We(L,Pm,!0)}e.formatEmitFlags=$t;function ot(L){return We(L,Zp,!0)}e.formatSymbolFlags=ot;function at(L){return We(L,en,!0)}e.formatTypeFlags=at;function Bt(L){return We(L,Am,!0)}e.formatSignatureFlags=Bt;function Lt(L){return We(L,ef,!0)}e.formatObjectFlags=Lt;function ct(L){return We(L,Mp,!0)}e.formatFlowFlags=ct;function ar(L){return We(L,km,!0)}e.formatRelationComparisonResult=ar;function dt(L){return We(L,CheckMode,!0)}e.formatCheckMode=dt;function yn(L){return We(L,SignatureCheckMode,!0)}e.formatSignatureCheckMode=yn;function yt(L){return We(L,TypeFacts,!0)}e.formatTypeFacts=yt;let _n=!1,tt;function qt(L){"__debugFlowFlags"in L||Object.defineProperties(L,{__tsDebuggerDisplay:{value(){let se=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",fe=this.flags&-2048;return`${se}${fe?` (${ct(fe)})`:""}`}},__debugFlowFlags:{get(){return We(this.flags,Mp,!0)}},__debugToString:{value(){return yr(this)}}})}function tn(L){return _n&&(typeof Object.setPrototypeOf=="function"?(tt||(tt=Object.create(Object.prototype),qt(tt)),Object.setPrototypeOf(L,tt)):qt(L)),L}e.attachFlowNodeDebugInfo=tn;let sr;function mr(L){"__tsDebuggerDisplay"in L||Object.defineProperties(L,{__tsDebuggerDisplay:{value(se){return se=String(se).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${se}`}}})}function hr(L){_n&&(typeof Object.setPrototypeOf=="function"?(sr||(sr=Object.create(Array.prototype),mr(sr)),Object.setPrototypeOf(L,sr)):mr(L))}e.attachNodeArrayDebugInfo=hr;function Fn(){if(_n)return;let L=new WeakMap,se=new WeakMap;Object.defineProperties(Et.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Te=this.flags&33554432?"TransientSymbol":"Symbol",He=this.flags&-33554433;return`${Te} '${jp(this)}'${He?` (${ot(He)})`:""}`}},__debugFlags:{get(){return ot(this.flags)}}}),Object.defineProperties(Et.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",He=this.flags&524288?this.objectFlags&-1344:0;return`${Te}${this.symbol?` '${jp(this.symbol)}'`:""}${He?` (${Lt(He)})`:""}`}},__debugFlags:{get(){return at(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Lt(this.objectFlags):""}},__debugTypeToString:{value(){let Te=L.get(this);return Te===void 0&&(Te=this.checker.typeToString(this),L.set(this,Te)),Te}}}),Object.defineProperties(Et.getSignatureConstructor().prototype,{__debugFlags:{get(){return Bt(this.flags)}},__debugSignatureToString:{value(){var Te;return(Te=this.checker)==null?void 0:Te.signatureToString(this)}}});let fe=[Et.getNodeConstructor(),Et.getIdentifierConstructor(),Et.getTokenConstructor(),Et.getSourceFileConstructor()];for(let Te of fe)Dr(Te.prototype,"__debugKind")||Object.defineProperties(Te.prototype,{__tsDebuggerDisplay:{value(){return`${Ua(this)?"GeneratedIdentifier":Ke(this)?`Identifier '${An(this)}'`:gi(this)?`PrivateIdentifier '${An(this)}'`:vi(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:aa(this)?`NumericLiteral ${this.text}`:E1(this)?`BigIntLiteral ${this.text}n`:Af(this)?"TypeParameterDeclaration":m_(this)?"ParameterDeclaration":Cf(this)?"ConstructorDeclaration":Tl(this)?"GetAccessorDeclaration":y_(this)?"SetAccessorDeclaration":N1(this)?"CallSignatureDeclaration":I1(this)?"ConstructSignatureDeclaration":Df(this)?"IndexSignatureDeclaration":O1(this)?"TypePredicateNode":Pf(this)?"TypeReferenceNode":Nf(this)?"FunctionTypeNode":If(this)?"ConstructorTypeNode":Wb(this)?"TypeQueryNode":M1(this)?"TypeLiteralNode":Gb(this)?"ArrayTypeNode":Yb(this)?"TupleTypeNode":Hb(this)?"OptionalTypeNode":Xb(this)?"RestTypeNode":J1(this)?"UnionTypeNode":j1(this)?"IntersectionTypeNode":$b(this)?"ConditionalTypeNode":Qb(this)?"InferTypeNode":R1(this)?"ParenthesizedTypeNode":Kb(this)?"ThisTypeNode":U1(this)?"TypeOperatorNode":Zb(this)?"IndexedAccessTypeNode":B1(this)?"MappedTypeNode":e6(this)?"LiteralTypeNode":L1(this)?"NamedTupleMember":t6(this)?"ImportTypeNode":Ot(this.kind)}${this.flags?` (${Mt(this.flags)})`:""}`}},__debugKind:{get(){return Ot(this.kind)}},__debugNodeFlags:{get(){return Mt(this.flags)}},__debugModifierFlags:{get(){return $e(K2(this))}},__debugTransformFlags:{get(){return qn(this.transformFlags)}},__debugIsParseTreeNode:{get(){return gl(this)}},__debugEmitFlags:{get(){return $t(za(this))}},__debugGetText:{value(He){if(Ja(this))return"";let Qe=se.get(this);if(Qe===void 0){let st=bg(this),Ct=st&&hi(st);Qe=Ct?Md(Ct,st,He):"",se.set(this,Qe)}return Qe}}});_n=!0}e.enableDebugInfo=Fn;function zn(L){let se=L&7,fe=se===0?"in out":se===3?"[bivariant]":se===2?"in":se===1?"out":se===4?"[independent]":"";return L&8?fe+=" (unmeasurable)":L&16&&(fe+=" (unreliable)"),fe}e.formatVariance=zn;class Or{__debugToString(){var se;switch(this.kind){case 3:return((se=this.debugInfo)==null?void 0:se.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return gd(this.sources,this.targets||Np(this.sources,()=>"any"),(fe,Te)=>`${fe.__debugTypeToString()} -> ${typeof Te=="string"?Te:Te.__debugTypeToString()}`).join(", ");case 2:return gd(this.sources,this.targets,(fe,Te)=>`${fe.__debugTypeToString()} -> ${Te().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +`).join(` + `)} +m2: ${this.mapper2.__debugToString().split(` +`).join(` + `)}`;default:return Oe(this)}}}e.DebugTypeMapper=Or;function Vn(L){return e.isDebugging?Object.setPrototypeOf(L,Or.prototype):L}e.attachDebugPrototypeIfDebug=Vn;function Ce(L){return console.log(yr(L))}e.printControlFlowGraph=Ce;function yr(L){let se=-1;function fe(u){return u.id||(u.id=se,se--),u.id}let Te;(u=>{u.lr="\u2500",u.ud="\u2502",u.dr="\u256D",u.dl="\u256E",u.ul="\u256F",u.ur="\u2570",u.udr="\u251C",u.udl="\u2524",u.dlr="\u252C",u.ulr="\u2534",u.udlr="\u256B"})(Te||(Te={}));let He;(u=>{u[u.None=0]="None",u[u.Up=1]="Up",u[u.Down=2]="Down",u[u.Left=4]="Left",u[u.Right=8]="Right",u[u.UpDown=3]="UpDown",u[u.LeftRight=12]="LeftRight",u[u.UpLeft=5]="UpLeft",u[u.UpRight=9]="UpRight",u[u.DownLeft=6]="DownLeft",u[u.DownRight=10]="DownRight",u[u.UpDownLeft=7]="UpDownLeft",u[u.UpDownRight=11]="UpDownRight",u[u.UpLeftRight=13]="UpLeftRight",u[u.DownLeftRight=14]="DownLeftRight",u[u.UpDownLeftRight=15]="UpDownLeftRight",u[u.NoChildren=16]="NoChildren"})(He||(He={}));let Qe=2032,st=882,Ct=Object.create(null),Tt=[],lt=[],Mr=Se(L,new Set);for(let u of Tt)u.text=rt(u.flowNode,u.circular),me(u);let gr=Ve(Mr),Nn=Ze(gr);return Ye(Mr,0),on();function Wn(u){return!!(u.flags&128)}function wi(u){return!!(u.flags&12)&&!!u.antecedent}function U(u){return!!(u.flags&Qe)}function K(u){return!!(u.flags&st)}function Z(u){let Ie=[];for(let Me of u.edges)Me.source===u&&Ie.push(Me.target);return Ie}function xe(u){let Ie=[];for(let Me of u.edges)Me.target===u&&Ie.push(Me.source);return Ie}function Se(u,Ie){let Me=fe(u),B=Ct[Me];if(B&&Ie.has(u))return B.circular=!0,B={id:-1,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Tt.push(B),B;if(Ie.add(u),!B)if(Ct[Me]=B={id:Me,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Tt.push(B),wi(u))for(let Be of u.antecedent)we(B,Be,Ie);else U(u)&&we(B,u.antecedent,Ie);return Ie.delete(u),B}function we(u,Ie,Me){let B=Se(Ie,Me),Be={source:u,target:B};lt.push(Be),u.edges.push(Be),B.edges.push(Be)}function me(u){if(u.level!==-1)return u.level;let Ie=0;for(let Me of xe(u))Ie=Math.max(Ie,me(Me)+1);return u.level=Ie}function Ve(u){let Ie=0;for(let Me of Z(u))Ie=Math.max(Ie,Ve(Me));return Ie+1}function Ze(u){let Ie=M(Array(u),0);for(let Me of Tt)Ie[Me.level]=Math.max(Ie[Me.level],Me.text.length);return Ie}function Ye(u,Ie){if(u.lane===-1){u.lane=Ie,u.endLane=Ie;let Me=Z(u);for(let B=0;B0&&Ie++;let Be=Me[B];Ye(Be,Ie),Be.endLane>u.endLane&&(Ie=Be.endLane)}u.endLane=Ie}}function Ee(u){if(u&2)return"Start";if(u&4)return"Branch";if(u&8)return"Loop";if(u&16)return"Assignment";if(u&32)return"True";if(u&64)return"False";if(u&128)return"SwitchClause";if(u&256)return"ArrayMutation";if(u&512)return"Call";if(u&1024)return"ReduceLabel";if(u&1)return"Unreachable";throw new Error}function gn(u){let Ie=hi(u);return Md(Ie,u,!1)}function rt(u,Ie){let Me=Ee(u.flags);if(Ie&&(Me=`${Me}#${fe(u)}`),Wn(u)){let B=[],{switchStatement:Be,clauseStart:nn,clauseEnd:ze}=u.node;for(let Xe=nn;Xeze.lane)+1,Me=M(Array(Ie),""),B=Nn.map(()=>Array(Ie)),Be=Nn.map(()=>M(Array(Ie),0));for(let ze of Tt){B[ze.level][ze.lane]=ze;let Xe=Z(ze);for(let wt=0;wt0&&(Ft|=1),wt0&&(Ft|=1),wt0?Be[ze-1][Xe]:0,wt=Xe>0?Be[ze][Xe-1]:0,Pt=Be[ze][Xe];Pt||(Dt&8&&(Pt|=12),wt&2&&(Pt|=3),Be[ze][Xe]=Pt)}for(let ze=0;ze0?u.repeat(Ie):"";let Me="";for(;Me.length{},jy=()=>{},ll,Ae=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.DeferKeyword=166]="DeferKeyword",e[e.QualifiedName=167]="QualifiedName",e[e.ComputedPropertyName=168]="ComputedPropertyName",e[e.TypeParameter=169]="TypeParameter",e[e.Parameter=170]="Parameter",e[e.Decorator=171]="Decorator",e[e.PropertySignature=172]="PropertySignature",e[e.PropertyDeclaration=173]="PropertyDeclaration",e[e.MethodSignature=174]="MethodSignature",e[e.MethodDeclaration=175]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=176]="ClassStaticBlockDeclaration",e[e.Constructor=177]="Constructor",e[e.GetAccessor=178]="GetAccessor",e[e.SetAccessor=179]="SetAccessor",e[e.CallSignature=180]="CallSignature",e[e.ConstructSignature=181]="ConstructSignature",e[e.IndexSignature=182]="IndexSignature",e[e.TypePredicate=183]="TypePredicate",e[e.TypeReference=184]="TypeReference",e[e.FunctionType=185]="FunctionType",e[e.ConstructorType=186]="ConstructorType",e[e.TypeQuery=187]="TypeQuery",e[e.TypeLiteral=188]="TypeLiteral",e[e.ArrayType=189]="ArrayType",e[e.TupleType=190]="TupleType",e[e.OptionalType=191]="OptionalType",e[e.RestType=192]="RestType",e[e.UnionType=193]="UnionType",e[e.IntersectionType=194]="IntersectionType",e[e.ConditionalType=195]="ConditionalType",e[e.InferType=196]="InferType",e[e.ParenthesizedType=197]="ParenthesizedType",e[e.ThisType=198]="ThisType",e[e.TypeOperator=199]="TypeOperator",e[e.IndexedAccessType=200]="IndexedAccessType",e[e.MappedType=201]="MappedType",e[e.LiteralType=202]="LiteralType",e[e.NamedTupleMember=203]="NamedTupleMember",e[e.TemplateLiteralType=204]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=205]="TemplateLiteralTypeSpan",e[e.ImportType=206]="ImportType",e[e.ObjectBindingPattern=207]="ObjectBindingPattern",e[e.ArrayBindingPattern=208]="ArrayBindingPattern",e[e.BindingElement=209]="BindingElement",e[e.ArrayLiteralExpression=210]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=211]="ObjectLiteralExpression",e[e.PropertyAccessExpression=212]="PropertyAccessExpression",e[e.ElementAccessExpression=213]="ElementAccessExpression",e[e.CallExpression=214]="CallExpression",e[e.NewExpression=215]="NewExpression",e[e.TaggedTemplateExpression=216]="TaggedTemplateExpression",e[e.TypeAssertionExpression=217]="TypeAssertionExpression",e[e.ParenthesizedExpression=218]="ParenthesizedExpression",e[e.FunctionExpression=219]="FunctionExpression",e[e.ArrowFunction=220]="ArrowFunction",e[e.DeleteExpression=221]="DeleteExpression",e[e.TypeOfExpression=222]="TypeOfExpression",e[e.VoidExpression=223]="VoidExpression",e[e.AwaitExpression=224]="AwaitExpression",e[e.PrefixUnaryExpression=225]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=226]="PostfixUnaryExpression",e[e.BinaryExpression=227]="BinaryExpression",e[e.ConditionalExpression=228]="ConditionalExpression",e[e.TemplateExpression=229]="TemplateExpression",e[e.YieldExpression=230]="YieldExpression",e[e.SpreadElement=231]="SpreadElement",e[e.ClassExpression=232]="ClassExpression",e[e.OmittedExpression=233]="OmittedExpression",e[e.ExpressionWithTypeArguments=234]="ExpressionWithTypeArguments",e[e.AsExpression=235]="AsExpression",e[e.NonNullExpression=236]="NonNullExpression",e[e.MetaProperty=237]="MetaProperty",e[e.SyntheticExpression=238]="SyntheticExpression",e[e.SatisfiesExpression=239]="SatisfiesExpression",e[e.TemplateSpan=240]="TemplateSpan",e[e.SemicolonClassElement=241]="SemicolonClassElement",e[e.Block=242]="Block",e[e.EmptyStatement=243]="EmptyStatement",e[e.VariableStatement=244]="VariableStatement",e[e.ExpressionStatement=245]="ExpressionStatement",e[e.IfStatement=246]="IfStatement",e[e.DoStatement=247]="DoStatement",e[e.WhileStatement=248]="WhileStatement",e[e.ForStatement=249]="ForStatement",e[e.ForInStatement=250]="ForInStatement",e[e.ForOfStatement=251]="ForOfStatement",e[e.ContinueStatement=252]="ContinueStatement",e[e.BreakStatement=253]="BreakStatement",e[e.ReturnStatement=254]="ReturnStatement",e[e.WithStatement=255]="WithStatement",e[e.SwitchStatement=256]="SwitchStatement",e[e.LabeledStatement=257]="LabeledStatement",e[e.ThrowStatement=258]="ThrowStatement",e[e.TryStatement=259]="TryStatement",e[e.DebuggerStatement=260]="DebuggerStatement",e[e.VariableDeclaration=261]="VariableDeclaration",e[e.VariableDeclarationList=262]="VariableDeclarationList",e[e.FunctionDeclaration=263]="FunctionDeclaration",e[e.ClassDeclaration=264]="ClassDeclaration",e[e.InterfaceDeclaration=265]="InterfaceDeclaration",e[e.TypeAliasDeclaration=266]="TypeAliasDeclaration",e[e.EnumDeclaration=267]="EnumDeclaration",e[e.ModuleDeclaration=268]="ModuleDeclaration",e[e.ModuleBlock=269]="ModuleBlock",e[e.CaseBlock=270]="CaseBlock",e[e.NamespaceExportDeclaration=271]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=272]="ImportEqualsDeclaration",e[e.ImportDeclaration=273]="ImportDeclaration",e[e.ImportClause=274]="ImportClause",e[e.NamespaceImport=275]="NamespaceImport",e[e.NamedImports=276]="NamedImports",e[e.ImportSpecifier=277]="ImportSpecifier",e[e.ExportAssignment=278]="ExportAssignment",e[e.ExportDeclaration=279]="ExportDeclaration",e[e.NamedExports=280]="NamedExports",e[e.NamespaceExport=281]="NamespaceExport",e[e.ExportSpecifier=282]="ExportSpecifier",e[e.MissingDeclaration=283]="MissingDeclaration",e[e.ExternalModuleReference=284]="ExternalModuleReference",e[e.JsxElement=285]="JsxElement",e[e.JsxSelfClosingElement=286]="JsxSelfClosingElement",e[e.JsxOpeningElement=287]="JsxOpeningElement",e[e.JsxClosingElement=288]="JsxClosingElement",e[e.JsxFragment=289]="JsxFragment",e[e.JsxOpeningFragment=290]="JsxOpeningFragment",e[e.JsxClosingFragment=291]="JsxClosingFragment",e[e.JsxAttribute=292]="JsxAttribute",e[e.JsxAttributes=293]="JsxAttributes",e[e.JsxSpreadAttribute=294]="JsxSpreadAttribute",e[e.JsxExpression=295]="JsxExpression",e[e.JsxNamespacedName=296]="JsxNamespacedName",e[e.CaseClause=297]="CaseClause",e[e.DefaultClause=298]="DefaultClause",e[e.HeritageClause=299]="HeritageClause",e[e.CatchClause=300]="CatchClause",e[e.ImportAttributes=301]="ImportAttributes",e[e.ImportAttribute=302]="ImportAttribute",e[e.AssertClause=301]="AssertClause",e[e.AssertEntry=302]="AssertEntry",e[e.ImportTypeAssertionContainer=303]="ImportTypeAssertionContainer",e[e.PropertyAssignment=304]="PropertyAssignment",e[e.ShorthandPropertyAssignment=305]="ShorthandPropertyAssignment",e[e.SpreadAssignment=306]="SpreadAssignment",e[e.EnumMember=307]="EnumMember",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.JSDocTypeExpression=310]="JSDocTypeExpression",e[e.JSDocNameReference=311]="JSDocNameReference",e[e.JSDocMemberName=312]="JSDocMemberName",e[e.JSDocAllType=313]="JSDocAllType",e[e.JSDocUnknownType=314]="JSDocUnknownType",e[e.JSDocNullableType=315]="JSDocNullableType",e[e.JSDocNonNullableType=316]="JSDocNonNullableType",e[e.JSDocOptionalType=317]="JSDocOptionalType",e[e.JSDocFunctionType=318]="JSDocFunctionType",e[e.JSDocVariadicType=319]="JSDocVariadicType",e[e.JSDocNamepathType=320]="JSDocNamepathType",e[e.JSDoc=321]="JSDoc",e[e.JSDocComment=321]="JSDocComment",e[e.JSDocText=322]="JSDocText",e[e.JSDocTypeLiteral=323]="JSDocTypeLiteral",e[e.JSDocSignature=324]="JSDocSignature",e[e.JSDocLink=325]="JSDocLink",e[e.JSDocLinkCode=326]="JSDocLinkCode",e[e.JSDocLinkPlain=327]="JSDocLinkPlain",e[e.JSDocTag=328]="JSDocTag",e[e.JSDocAugmentsTag=329]="JSDocAugmentsTag",e[e.JSDocImplementsTag=330]="JSDocImplementsTag",e[e.JSDocAuthorTag=331]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=332]="JSDocDeprecatedTag",e[e.JSDocClassTag=333]="JSDocClassTag",e[e.JSDocPublicTag=334]="JSDocPublicTag",e[e.JSDocPrivateTag=335]="JSDocPrivateTag",e[e.JSDocProtectedTag=336]="JSDocProtectedTag",e[e.JSDocReadonlyTag=337]="JSDocReadonlyTag",e[e.JSDocOverrideTag=338]="JSDocOverrideTag",e[e.JSDocCallbackTag=339]="JSDocCallbackTag",e[e.JSDocOverloadTag=340]="JSDocOverloadTag",e[e.JSDocEnumTag=341]="JSDocEnumTag",e[e.JSDocParameterTag=342]="JSDocParameterTag",e[e.JSDocReturnTag=343]="JSDocReturnTag",e[e.JSDocThisTag=344]="JSDocThisTag",e[e.JSDocTypeTag=345]="JSDocTypeTag",e[e.JSDocTemplateTag=346]="JSDocTemplateTag",e[e.JSDocTypedefTag=347]="JSDocTypedefTag",e[e.JSDocSeeTag=348]="JSDocSeeTag",e[e.JSDocPropertyTag=349]="JSDocPropertyTag",e[e.JSDocThrowsTag=350]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=351]="JSDocSatisfiesTag",e[e.JSDocImportTag=352]="JSDocImportTag",e[e.SyntaxList=353]="SyntaxList",e[e.NotEmittedStatement=354]="NotEmittedStatement",e[e.NotEmittedTypeElement=355]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.SyntheticReferenceExpression=358]="SyntheticReferenceExpression",e[e.Count=359]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=166]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=183]="FirstTypeNode",e[e.LastTypeNode=206]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=166]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=244]="FirstStatement",e[e.LastStatement=260]="LastStatement",e[e.FirstNode=167]="FirstNode",e[e.FirstJSDocNode=310]="FirstJSDocNode",e[e.LastJSDocNode=352]="LastJSDocNode",e[e.FirstJSDocTagNode=328]="FirstJSDocTagNode",e[e.LastJSDocTagNode=352]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=166]="LastContextualKeyword",e))(Ae||{}),sn=(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))(sn||{}),Kp=(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))(Kp||{});var km=(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))(km||{});var Mp=(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))(Mp||{});var Zp=(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))(Zp||{});var Em=(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))(Em||{}),en=(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))(en||{}),ef=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.SingleSignatureType=134217728]="SingleSignatureType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",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))(ef||{});var Am=(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))(Am||{});var Pr=(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))(Pr||{}),g_=(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))(g_||{}),wl=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(wl||{});var Cn=(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))(Cn||{}),Cm=(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))(Cm||{}),Dm=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(Dm||{}),Pm=(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))(Pm||{});var $s={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};var Nm={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}},Ya=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))(Ya||{});var Xr="/",Ry="\\",Td="://",Uy=/\\/g;function By(e){return e===47||e===92}function qy(e,t){return e.length>t.length&&Oy(e,t)}function tf(e){return e.length>0&&By(e.charCodeAt(e.length-1))}function xd(e){return e>=97&&e<=122||e>=65&&e<=90}function Fy(e,t){let a=e.charCodeAt(t);if(a===58)return t+1;if(a===37&&e.charCodeAt(t+1)===51){let _=e.charCodeAt(t+2);if(_===97||_===65)return t+3}return-1}function zy(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let _=e.indexOf(t===47?Xr:Ry,2);return _<0?e.length:_+1}if(xd(t)&&e.charCodeAt(1)===58){let _=e.charCodeAt(2);if(_===47||_===92)return 3;if(e.length===2)return 2}let a=e.indexOf(Td);if(a!==-1){let _=a+Td.length,f=e.indexOf(Xr,_);if(f!==-1){let h=e.slice(0,a),T=e.slice(_,f);if(h==="file"&&(T===""||T==="localhost")&&xd(e.charCodeAt(f+1))){let k=Fy(e,f+2);if(k!==-1){if(e.charCodeAt(k)===47)return~(k+1);if(k===e.length)return~k}}return~(f+1)}return~e.length}return 0}function o_(e){let t=zy(e);return t<0?~t:t}function Im(e,t,a){if(e=c_(e),o_(e)===e.length)return"";e=hl(e);let f=e.slice(Math.max(o_(e),e.lastIndexOf(Xr)+1)),h=t!==void 0&&a!==void 0?Om(f,t,a):void 0;return h?f.slice(0,f.length-h.length):f}function Sd(e,t,a){if(ml(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let _=e.slice(e.length-t.length);if(a(_,t))return _}}function Vy(e,t,a){if(typeof t=="string")return Sd(e,t,a)||"";for(let _ of t){let f=Sd(e,_,a);if(f)return f}return""}function Om(e,t,a){if(t)return Vy(hl(e),t,a?Qp:Dy);let _=Im(e),f=_.lastIndexOf(".");return f>=0?_.substring(f):""}function c_(e){return e.includes("\\")?e.replace(Uy,Xr):e}function Wy(e,...t){e&&(e=c_(e));for(let a of t)a&&(a=c_(a),!e||o_(a)!==0?e=a:e=Lm(e)+a);return e}function Gy(e,t){let a=o_(e);a===0&&t?(e=Wy(t,e),a=o_(e)):e=c_(e);let _=Mm(e);if(_!==void 0)return _.length>a?hl(_):_;let f=e.length,h=e.substring(0,a),T,k=a,c=k,W=k,y=a!==0;for(;kc&&(T??(T=e.substring(0,c-1)),c=k);let E=e.indexOf(Xr,k+1);E===-1&&(E=f);let D=E-c;if(D===1&&e.charCodeAt(k)===46)T??(T=e.substring(0,W));else if(D===2&&e.charCodeAt(k)===46&&e.charCodeAt(k+1)===46)if(!y)T!==void 0?T+=T.length===a?"..":"/..":W=k+2;else if(T===void 0)W-2>=0?T=e.substring(0,Math.max(a,e.lastIndexOf(Xr,W-2))):T=e.substring(0,W);else{let R=T.lastIndexOf(Xr);R!==-1?T=T.substring(0,Math.max(a,R)):T=h,T.length===a&&(y=a!==0)}else T!==void 0?(T.length!==a&&(T+=Xr),y=!0,T+=e.substring(c,E)):(y=!0,W=E);k=E+1}return T??(f>a?hl(e):e)}function Yy(e){e=c_(e);let t=Mm(e);return t!==void 0?t:(t=Gy(e,""),t&&tf(e)?Lm(t):t)}function Mm(e){if(!wd.test(e))return e;let t=e.replace(/\/\.\//g,"/");if(t.startsWith("./")&&(t=t.slice(2)),t!==e&&(e=t,!wd.test(e)))return e}function hl(e){return tf(e)?e.substr(0,e.length-1):e}function Lm(e){return tf(e)?e:e+Xr}var wd=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function r(e,t,a,_,f,h,T){return{code:e,category:t,key:a,message:_,reportsUnnecessary:f,elidedInCompatabilityPyramid:h,reportsDeprecated:T}}var A={Unterminated_string_literal:r(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:r(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:r(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:r(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:r(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:r(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:r(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:r(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:r(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:r(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:r(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:r(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:r(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:r(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:r(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:r(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:r(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:r(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:r(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:r(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:r(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:r(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:r(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:r(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:r(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:r(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:r(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:r(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:r(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:r(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:r(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:r(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:r(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:r(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:r(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:r(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:r(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:r(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:r(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:r(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:r(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:r(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:r(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:r(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:r(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:r(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:r(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:r(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:r(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:r(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:r(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:r(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:r(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:r(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:r(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:r(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:r(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:r(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:r(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:r(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:r(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:r(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:r(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:r(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:r(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:r(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:r(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:r(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:r(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:r(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:r(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:r(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:r(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:r(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:r(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:r(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:r(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:r(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:r(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(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:r(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:r(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:r(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:r(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:r(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:r(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:r(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:r(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:r(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:r(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:r(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax:r(1286,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_1286","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:r(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:r(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:r(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:r(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:r(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:r(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 }'."),ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve:r(1293,1,"ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293","ECMAScript module syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled:r(1294,1,"This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled_1294","This syntax is not allowed when 'erasableSyntaxOnly' is enabled."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjust_the_type_field_in_the_nearest_package_json_to_make_this_file_an_ECMAScript_module_or_adjust_your_verbatimModuleSyntax_module_and_moduleResolution_settings_in_TypeScript:r(1295,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjus_1295","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'. Adjust the 'type' field in the nearest 'package.json' to make this file an ECMAScript module, or adjust your 'verbatimModuleSyntax', 'module', and 'moduleResolution' settings in TypeScript."),with_statements_are_not_allowed_in_an_async_function_block:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_or_nodenext:r(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', 'node18', 'node20', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_node20_nodenext_or_preserve:r(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'."),Argument_of_dynamic_import_cannot_be_spread_element:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_or_nodenext:r(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', 'node18', 'node20', or 'nodenext'."),A_label_is_not_allowed_here:r(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:r(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:r(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:r(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:r(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:r(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:r(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:r(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:r(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:r(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:r(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:r(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:r(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:r(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:r(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:r(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', '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:r(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:r(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:r(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:r(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:r(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:r(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:r(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:r(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:r(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:r(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:r(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:r(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:r(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:r(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:r(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:r(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:r(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:r(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:r(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:r(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:r(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:r(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:r(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:r(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:r(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:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:r(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:r(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:r(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:r(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:r(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:r(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:r(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:r(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:r(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:r(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:r(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:r(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:r(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:r(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:r(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:r(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:r(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:r(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:r(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:r(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:r(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:r(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:r(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:r(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:r(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:r(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:r(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:r(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:r(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:r(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:r(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:r(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:r(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:r(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:r(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:r(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:r(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:r(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:r(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:r(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:r(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:r(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),using_declarations_are_not_allowed_in_ambient_contexts:r(1545,1,"using_declarations_are_not_allowed_in_ambient_contexts_1545","'using' declarations are not allowed in ambient contexts."),await_using_declarations_are_not_allowed_in_ambient_contexts:r(1546,1,"await_using_declarations_are_not_allowed_in_ambient_contexts_1546","'await using' declarations are not allowed in ambient contexts."),The_types_of_0_are_incompatible_between_these_types:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:r(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:r(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:r(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:r(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:r(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:r(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:r(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:r(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:r(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:r(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:r(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:r(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:r(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:r(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:r(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:r(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:r(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Call_target_does_not_contain_any_signatures:r(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:r(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:r(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:r(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:r(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:r(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:r(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:r(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:r(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:r(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:r(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:r(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:r(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:r(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:r(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:r(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:r(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:r(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:r(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:r(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:r(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:r(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:r(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:r(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:r(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:r(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:r(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:r(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:r(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:r(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:r(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:r(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:r(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:r(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:r(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:r(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_and_above_with_module_0:r(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 and above with module {0}."),Cannot_find_lib_definition_for_0:r(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:r(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:r(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:r(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:r(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:r(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:r(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:r(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:r(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:r(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:r(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:r(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:r(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:r(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_or_class_static_initialization_blocks:r(2815,1,"arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815","'arguments' cannot be referenced in property initializers or class static initialization blocks."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:r(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:r(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:r(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:r(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:r(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_node18_node20_nodenext_or_preserve:r(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:r(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_node18_node20_nodenext_or_preserve:r(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', '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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2871,1,"This_expression_is_always_nullish_2871","This expression is always nullish."),This_kind_of_expression_is_always_truthy:r(2872,1,"This_kind_of_expression_is_always_truthy_2872","This kind of expression is always truthy."),This_kind_of_expression_is_always_falsy:r(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:r(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:r(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:r(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:r(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:r(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:r(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_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert:r(2880,1,"Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880","Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."),This_expression_is_never_nullish:r(2881,1,"This_expression_is_never_nullish_2881","This expression is never nullish."),Import_declaration_0_is_using_private_name_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic:r(4127,1,"This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic_4127","This member cannot have an 'override' modifier because its name is dynamic."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic:r(4128,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic_4128","This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic."),The_current_host_does_not_support_the_0_option:r(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:r(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:r(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:r(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:r(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:r(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:r(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:r(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:r(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:r(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:r(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:r(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:r(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:r(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:r(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:r(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:r(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:r(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:r(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:r(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:r(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:r(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:r(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:r(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:r(6024,3,"options_6024","options"),file:r(6025,3,"file_6025","file"),Examples_Colon_0:r(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:r(6027,3,"Options_Colon_6027","Options:"),Version_0:r(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:r(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:r(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:r(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:r(6034,3,"KIND_6034","KIND"),FILE:r(6035,3,"FILE_6035","FILE"),VERSION:r(6036,3,"VERSION_6036","VERSION"),LOCATION:r(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:r(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:r(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:r(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:r(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:r(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:r(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:r(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:r(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:r(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:r(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:r(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:r(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:r(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:r(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:r(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:r(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:r(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:r(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:r(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:r(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:r(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:r(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:r(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:r(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:r(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:r(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:r(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:r(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:r(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:r(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:r(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:r(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:r(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:r(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:r(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:r(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:r(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:r(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:r(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:r(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:r(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:r(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:r(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:r(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:r(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:r(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:r(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:r(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:r(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:r(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:r(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:r(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:r(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:r(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:r(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:r(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:r(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:r(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:r(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:r(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:r(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:r(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:r(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:r(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:r(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:r(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:r(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:r(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:r(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:r(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:r(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:r(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:r(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:r(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:r(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:r(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:r(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:r(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:r(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:r(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:r(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:r(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:r(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:r(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:r(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:r(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:r(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:r(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:r(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:r(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:r(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:r(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:r(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:r(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:r(6244,3,"Modules_6244","Modules"),File_Management:r(6245,3,"File_Management_6245","File Management"),Emit:r(6246,3,"Emit_6246","Emit"),JavaScript_Support:r(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:r(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:r(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:r(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:r(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:r(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:r(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:r(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:r(6255,3,"Projects_6255","Projects"),Output_Formatting:r(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:r(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:r(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:r(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:r(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:r(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),File_Layout:r(6284,3,"File_Layout_6284","File Layout"),Environment_Settings:r(6285,3,"Environment_Settings_6285","Environment Settings"),See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule:r(6286,3,"See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286","See also https://aka.ms/tsconfig/module"),For_nodejs_Colon:r(6287,3,"For_nodejs_Colon_6287","For nodejs:"),and_npm_install_D_types_Slashnode:r(6290,3,"and_npm_install_D_types_Slashnode_6290","and npm install -D @types/node"),Other_Outputs:r(6291,3,"Other_Outputs_6291","Other Outputs"),Stricter_Typechecking_Options:r(6292,3,"Stricter_Typechecking_Options_6292","Stricter Typechecking Options"),Style_Options:r(6293,3,"Style_Options_6293","Style Options"),Recommended_Options:r(6294,3,"Recommended_Options_6294","Recommended Options"),Enable_project_compilation:r(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:r(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:r(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:r(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:r(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:r(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:r(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:r(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:r(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:r(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:r(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:r(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:r(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:r(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:r(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:r(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:r(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:r(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:r(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:r(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:r(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:r(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:r(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:r(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:r(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:r(6720,3,"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720","Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."),Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript:r(6721,3,"Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721","Do not allow runtime constructs that are not part of ECMAScript."),Default_catch_clause_variables_as_unknown_instead_of_any:r(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:r(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:r(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:r(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2:r(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}`."),Enable_lib_replacement:r(6808,3,"Enable_lib_replacement_6808","Enable lib replacement."),one_of_Colon:r(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:r(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:r(6902,3,"type_Colon_6902","type:"),default_Colon:r(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:r(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:r(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:r(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:r(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:r(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:r(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:r(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:r(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:r(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:r(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:r(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:r(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:r(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:r(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:r(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:r(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:r(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:r(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:r(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:r(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:r(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:r(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:r(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:r(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:r(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:r(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:r(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:r(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:r(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:r(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:r(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:r(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:r(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:r(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:r(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:r(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:r(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:r(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:r(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:r(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:r(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:r(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:r(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:r(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:r(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:r(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:r(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:r(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:r(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:r(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:r(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:r(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:r(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:r(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:r(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:r(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:r(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:r(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:r(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:r(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:r(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:r(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:r(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:r(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:r(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:r(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:r(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:r(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:r(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:r(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:r(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:r(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:r(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:r(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:r(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:r(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:r(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:r(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:r(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:r(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:r(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:r(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:r(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:r(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:r(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:r(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:r(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:r(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:r(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:r(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:r(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:r(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:r(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:r(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:r(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:r(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:r(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:r(95005,3,"Extract_function_95005","Extract function"),Extract_constant:r(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:r(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:r(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:r(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:r(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:r(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:r(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:r(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:r(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:r(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:r(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:r(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:r(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:r(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:r(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:r(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:r(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:r(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:r(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:r(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:r(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:r(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:r(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:r(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:r(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:r(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:r(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:r(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:r(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:r(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:r(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:r(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:r(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:r(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:r(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:r(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:r(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:r(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:r(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:r(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:r(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:r(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:r(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:r(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:r(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:r(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:r(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:r(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:r(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:r(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:r(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:r(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:r(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:r(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:r(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:r(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:r(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:r(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:r(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:r(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:r(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:r(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:r(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:r(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:r(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:r(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:r(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:r(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:r(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:r(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:r(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:r(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:r(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:r(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:r(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:r(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:r(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:r(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:r(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:r(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:r(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:r(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:r(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:r(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:r(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:r(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:r(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:r(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:r(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:r(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:r(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:r(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:r(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:r(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:r(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:r(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:r(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:r(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:r(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:r(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:r(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:r(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:r(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:r(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:r(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:r(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:r(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:r(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:r(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:r(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:r(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:r(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:r(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:r(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:r(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:r(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:r(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:r(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:r(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:r(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:r(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:r(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:r(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:r(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:r(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:r(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:r(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:r(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:r(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:r(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:r(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:r(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:r(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:r(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:r(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:r(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:r(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:r(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:r(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:r(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:r(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:r(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:r(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:r(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:r(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:r(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:r(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:r(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:r(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:r(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:r(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:r(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:r(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:r(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:r(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:r(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:r(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:r(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:r(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:r(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:r(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:r(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:r(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:r(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:r(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:r(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:r(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:r(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:r(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:r(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:r(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:r(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:r(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:r(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:r(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:r(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:r(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:r(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:r(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:r(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:r(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:r(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:r(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:r(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:r(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:r(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),Add_resolution_mode_import_attribute:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:r(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:r(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:r(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),Default_imports_are_not_allowed_in_a_deferred_import:r(18058,1,"Default_imports_are_not_allowed_in_a_deferred_import_18058","Default imports are not allowed in a deferred import."),Named_imports_are_not_allowed_in_a_deferred_import:r(18059,1,"Named_imports_are_not_allowed_in_a_deferred_import_18059","Named imports are not allowed in a deferred import."),Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve:r(18060,1,"Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060","Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'."),_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer:r(18061,1,"_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061","'{0}' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or 'defer'?")};function St(e){return e>=80}function Hy(e){return e===32||St(e)}var nf={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,defer:166,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},Xy=new Map(Object.entries(nf)),Jm=new Map(Object.entries({...nf,"{":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})),jm=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),$y=new Map([[1,$s.RegularExpressionFlagsHasIndices],[16,$s.RegularExpressionFlagsDotAll],[32,$s.RegularExpressionFlagsUnicode],[64,$s.RegularExpressionFlagsUnicodeSets],[128,$s.RegularExpressionFlagsSticky]]),Qy=[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],Ky=[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],Zy=[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],eg=[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],tg=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,ng=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,rg=/@(?:see|link)/i;function yl(e,t){if(e=2?yl(e,Zy):yl(e,Qy)}function ag(e,t){return t>=2?yl(e,eg):yl(e,Ky)}function Rm(e){let t=[];return e.forEach((a,_)=>{t[a]=_}),t}var sg=Rm(Jm);function nt(e){return sg[e]}function Um(e){return Jm.get(e)}var s3=Rm(jm);function kd(e){return jm.get(e)}function Bm(e){let t=[],a=0,_=0;for(;a127&&kn(f)&&(t.push(_),_=a);break}}return t.push(_),t}function _g(e,t,a,_,f){(t<0||t>=e.length)&&(f?t=t<0?0:t>=e.length?e.length-1:t:q.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${_!==void 0?dy(e,Bm(_)):"unknown"}`));let h=e[t]+a;return f?h>e[t+1]?e[t+1]:typeof _=="string"&&h>_.length?_.length:h:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function kn(e){return e===10||e===13||e===8232||e===8233}function fi(e){return e>=48&&e<=57}function Tp(e){return fi(e)||e>=65&&e<=70||e>=97&&e<=102}function rf(e){return e>=65&&e<=90||e>=97&&e<=122}function Fm(e){return rf(e)||fi(e)||e===95}function xp(e){return e>=48&&e<=55}function Cr(e,t,a,_,f){if(d_(t))return t;let h=!1;for(;;){let T=e.charCodeAt(t);switch(T){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,a)return t;h=!!f;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(_)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&qa(T)){t++;continue}break}return t}}var ul=7;function $i(e,t){if(q.assert(t>=0),t===0||kn(e.charCodeAt(t-1))){let a=e.charCodeAt(t);if(t+ul=0&&a127&&qa(R)){G&&kn(R)&&(y=!0),a++;continue}break e}}return G&&(D=f(k,c,W,y,h,D)),D}function Wm(e,t,a,_){return kl(!1,e,t,!1,a,_)}function Gm(e,t,a,_){return kl(!1,e,t,!0,a,_)}function lg(e,t,a,_,f){return kl(!0,e,t,!1,a,_,f)}function ug(e,t,a,_,f){return kl(!0,e,t,!0,a,_,f)}function Ym(e,t,a,_,f,h=[]){return h.push({kind:a,pos:e,end:t,hasTrailingNewLine:_}),h}function Jp(e,t){return lg(e,t,Ym,void 0,void 0)}function pg(e,t){return ug(e,t,Ym,void 0,void 0)}function sf(e){let t=af.exec(e);if(t)return t[0]}function Zn(e,t){return rf(e)||e===36||e===95||e>127&&ig(e,t)}function Ar(e,t,a){return Fm(e)||e===36||(a===1?e===45||e===58:!1)||e>127&&ag(e,t)}function fg(e,t,a){let _=Qi(e,0);if(!Zn(_,t))return!1;for(let f=Vt(_);fy,getStartPos:()=>y,getTokenEnd:()=>c,getTextPos:()=>c,getToken:()=>E,getTokenStart:()=>G,getTokenPos:()=>G,getTokenText:()=>k.substring(G,c),getTokenValue:()=>D,hasUnicodeEscape:()=>(R&1024)!==0,hasExtendedUnicodeEscape:()=>(R&8)!==0,hasPrecedingLineBreak:()=>(R&1)!==0,hasPrecedingJSDocComment:()=>(R&2)!==0,hasPrecedingJSDocLeadingAsterisks:()=>(R&32768)!==0,isIdentifier:()=>E===80||E>118,isReservedWord:()=>E>=83&&E<=118,isUnterminated:()=>(R&4)!==0,getCommentDirectives:()=>ue,getNumericLiteralFlags:()=>R&25584,getTokenFlags:()=>R,reScanGreaterToken:ct,reScanAsteriskEqualsToken:ar,reScanSlashToken:dt,reScanTemplateToken:qt,reScanTemplateHeadOrNoSubstitutionTemplate:tn,scanJsxIdentifier:Or,scanJsxAttributeValue:Vn,reScanJsxAttributeValue:Ce,reScanJsxToken:sr,reScanLessThanToken:mr,reScanHashToken:hr,reScanQuestionToken:Fn,reScanInvalidIdentifier:Bt,scanJsxToken:zn,scanJsDocToken:L,scanJSDocCommentTextToken:yr,scan:ot,getText:Qe,clearCommentDirectives:st,setText:Ct,setScriptTarget:lt,setLanguageVariant:Mr,setScriptKind:gr,setJSDocParsingMode:Nn,setOnError:Tt,resetTokenState:Wn,setTextPos:Wn,setSkipJsDocLeadingAsterisks:wi,tryScan:He,lookAhead:Te,scanRange:fe};return q.isDebugging&&Object.defineProperty(O,"__debugShowCurrentPositionInText",{get:()=>{let U=O.getText();return U.slice(0,O.getTokenFullStart())+"\u2551"+U.slice(O.getTokenFullStart())}}),O;function ae(U){return Qi(k,U)}function Oe(U){return U>=0&&U=0&&U=65&&me<=70)me+=32;else if(!(me>=48&&me<=57||me>=97&&me<=102))break;xe.push(me),c++,we=!1}return xe.length=W){Z+=k.substring(xe,c),R|=4,Y(A.Unterminated_string_literal);break}let Se=V(c);if(Se===K){Z+=k.substring(xe,c),c++;break}if(Se===92&&!U){Z+=k.substring(xe,c),Z+=Ot(3),xe=c;continue}if((Se===10||Se===13)&&!U){Z+=k.substring(xe,c),R|=4,Y(A.Unterminated_string_literal);break}c++}return Z}function Ir(U){let K=V(c)===96;c++;let Z=c,xe="",Se;for(;;){if(c>=W){xe+=k.substring(Z,c),R|=4,Y(A.Unterminated_template_literal),Se=K?15:18;break}let we=V(c);if(we===96){xe+=k.substring(Z,c),c++,Se=K?15:18;break}if(we===36&&c+1=W)return Y(A.Unexpected_end_of_text),"";let Z=V(c);switch(c++,Z){case 48:if(c>=W||!fi(V(c)))return"\0";case 49:case 50:case 51:c=55296&&xe<=56319&&c+6=56320&&Ve<=57343)return c=me,Se+String.fromCharCode(Ve)}return Se;case 120:for(;c1114111&&(U&&Y(A.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,Z,c-Z),we=!0),c>=W?(U&&Y(A.Unexpected_end_of_text),we=!0):V(c)===125?c++:(U&&Y(A.Unterminated_Unicode_escape_sequence),we=!0),we?(R|=2048,k.substring(K,c)):(R|=8,Ed(Se))}function Pn(){if(c+5=0&&Ar(Z,e)){U+=Bn(!0),K=c;continue}if(Z=Pn(),!(Z>=0&&Ar(Z,e)))break;R|=1024,U+=k.substring(K,c),U+=Ed(Z),c+=6,K=c}else break}return U+=k.substring(K,c),U}function $e(){let U=D.length;if(U>=2&&U<=12){let K=D.charCodeAt(0);if(K>=97&&K<=122){let Z=Xy.get(D);if(Z!==void 0)return E=Z}}return E=80}function qn(U){let K="",Z=!1,xe=!1;for(;;){let Se=V(c);if(Se===95){R|=512,Z?(Z=!1,xe=!0):Y(xe?A.Multiple_consecutive_numeric_separators_are_not_permitted:A.Numeric_separators_are_not_allowed_here,c,1),c++;continue}if(Z=!0,!fi(Se)||Se-48>=U)break;K+=k[c],c++,xe=!1}return V(c-1)===95&&Y(A.Numeric_separators_are_not_allowed_here,c-1,1),K}function $t(){return V(c)===110?(D+="n",R&384&&(D=wb(D)+"n"),c++,10):(D=""+(R&128?parseInt(D.slice(2),2):R&256?parseInt(D.slice(2),8):+D),9)}function ot(){for(y=c,R=0;;){if(G=c,c>=W)return E=1;let U=ae(c);if(c===0&&U===35&&zm(k,c)){if(c=Vm(k,c),t)continue;return E=6}switch(U){case 10:case 13:if(R|=1,t){c++;continue}else return U===13&&c+1=0&&Zn(K,e))return D=Bn(!0)+ht(),E=$e();let Z=Pn();return Z>=0&&Zn(Z,e)?(c+=6,R|=1024,D=String.fromCharCode(Z)+ht(),E=$e()):(Y(A.Invalid_character),c++,E=0);case 35:if(c!==0&&k[c+1]==="!")return Y(A.can_only_be_used_at_the_start_of_a_file,c,2),c++,E=0;let xe=ae(c+1);if(xe===92){c++;let me=Mt();if(me>=0&&Zn(me,e))return D="#"+Bn(!0)+ht(),E=81;let Ve=Pn();if(Ve>=0&&Zn(Ve,e))return c+=6,R|=1024,D="#"+String.fromCharCode(Ve)+ht(),E=81;c--}return Zn(xe,e)?(c++,Lt(xe,e)):(D="#",Y(A.Invalid_character,c++,Vt(U))),E=81;case 65533:return Y(A.File_appears_to_be_binary,0,0),c=W,E=8;default:let Se=Lt(U,e);if(Se)return E=Se;if(n_(U)){c+=Vt(U);continue}else if(kn(U)){R|=1,c+=Vt(U);continue}let we=Vt(U);return Y(A.Invalid_character,c,we),c+=we,E=0}}}function at(){switch(de){case 0:return!0;case 1:return!1}return he!==3&&he!==4?!0:de===3?!1:rg.test(k.slice(y,c))}function Bt(){q.assert(E===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),c=G=y,R=0;let U=ae(c),K=Lt(U,99);return K?E=K:(c+=Vt(U),E)}function Lt(U,K){let Z=U;if(Zn(Z,K)){for(c+=Vt(Z);c=W)return E=1;let K=V(c);if(K===60)return V(c+1)===47?(c+=2,E=31):(c++,E=30);if(K===123)return c++,E=19;let Z=0;for(;c0)break;qa(K)||(Z=c)}c++}return D=k.substring(y,c),Z===-1?13:12}function Or(){if(St(E)){for(;c=W)return E=1;for(let K=V(c);c=0&&n_(V(c-1))&&!(c+1=W)return E=1;let U=ae(c);switch(c+=Vt(U),U){case 9:case 11:case 12:case 32:for(;c=0&&Zn(K,e))return D=Bn(!0)+ht(),E=$e();let Z=Pn();return Z>=0&&Zn(Z,e)?(c+=6,R|=1024,D=String.fromCharCode(Z)+ht(),E=$e()):(c++,E=0)}if(Zn(U,e)){let K=U;for(;c=0),c=U,y=U,G=U,E=0,D=void 0,R=0}function wi(U){be+=U?1:-1}}function Qi(e,t){return e.codePointAt(t)}function Vt(e){return e>=65536?2:e===-1?0:1}function dg(e){if(q.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,a=(e-65536)%1024+56320;return String.fromCharCode(t,a)}var mg=String.fromCodePoint?e=>String.fromCodePoint(e):dg;function Ed(e){return mg(e)}var Ad=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),Cd=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"]),Dd=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"]),Ra={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};Ra.Script_Extensions=Ra.Script;function kr(e){return e.start+e.length}function hg(e){return e.length===0}function of(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function yg(e,t){return of(e,t-e)}function Qs(e){return of(e.span.start,e.newLength)}function gg(e){return hg(e.span)&&e.newLength===0}function Hm(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}var _3=Hm(of(0,0),0);function cf(e,t){for(;e;){let a=t(e);if(a==="quit")return;if(a)return e;e=e.parent}}function gl(e){return(e.flags&16)===0}function bg(e,t){if(e===void 0||gl(e))return e;for(e=e.original;e;){if(gl(e))return!t||t(e)?e:void 0;e=e.original}}function La(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function l_(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function An(e){return l_(e.escapedText)}function lf(e){let t=Um(e.escapedText);return t?Ay(t,di):void 0}function jp(e){return e.valueDeclaration&&qg(e.valueDeclaration)?An(e.valueDeclaration.name):l_(e.escapedName)}function Xm(e){let t=e.parent.parent;if(t){if(Id(t))return rl(t);switch(t.kind){case 244:if(t.declarationList&&t.declarationList.declarations[0])return rl(t.declarationList.declarations[0]);break;case 245:let a=t.expression;switch(a.kind===227&&a.operatorToken.kind===64&&(a=a.left),a.kind){case 212:return a.name;case 213:let _=a.argumentExpression;if(Ke(_))return _}break;case 218:return rl(t.expression);case 257:{if(Id(t.statement)||o1(t.statement))return rl(t.statement);break}}}}function rl(e){let t=$m(e);return t&&Ke(t)?t:void 0}function vg(e){return e.name||Xm(e)}function Tg(e){return!!e.name}function uf(e){switch(e.kind){case 80:return e;case 349:case 342:{let{name:a}=e;if(a.kind===167)return a.right;break}case 214:case 227:{let a=e;switch(gf(a)){case 1:case 4:case 5:case 3:return bf(a.left);case 7:case 8:case 9:return a.arguments[1];default:return}}case 347:return vg(e);case 341:return Xm(e);case 278:{let{expression:a}=e;return Ke(a)?a:void 0}case 213:let t=e;if(m1(t))return t.argumentExpression}return e.name}function $m(e){if(e!==void 0)return uf(e)||(Lf(e)||Jf(e)||xl(e)?xg(e):void 0)}function xg(e){if(e.parent){if(Z1(e.parent)||q1(e.parent))return e.parent.name;if(na(e.parent)&&e===e.parent.right){if(Ke(e.parent.left))return e.parent.left;if(T1(e.parent.left))return bf(e.parent.left)}else if(jf(e.parent)&&Ke(e.parent.name))return e.parent.name}else return}function pf(e){if(G2(e))return Hr(e.modifiers,Cl)}function Qm(e){if(v_(e,98303))return Hr(e.modifiers,Vg)}function Km(e,t){if(e.name)if(Ke(e.name)){let a=e.name.escapedText;return u_(e.parent,t).filter(_=>Vp(_)&&Ke(_.name)&&_.name.escapedText===a)}else{let a=e.parent.parameters.indexOf(e);q.assert(a>-1,"Parameters should always be in their parents' parameter list");let _=u_(e.parent,t).filter(Vp);if(a<_.length)return[_[a]]}return vt}function Sg(e){return Km(e,!1)}function wg(e){return Km(e,!0)}function Zm(e,t){let a=e.name.escapedText;return u_(e.parent,t).filter(_=>ah(_)&&_.typeParameters.some(f=>f.name.escapedText===a))}function kg(e){return Zm(e,!1)}function Eg(e){return Zm(e,!0)}function Ag(e){return bi(e,c6)}function Cg(e){return Jg(e,g6)}function Dg(e){return bi(e,l6,!0)}function Pg(e){return bi(e,u6,!0)}function Ng(e){return bi(e,p6,!0)}function Ig(e){return bi(e,f6,!0)}function Og(e){return bi(e,d6,!0)}function Mg(e){return bi(e,h6,!0)}function Lg(e){let t=bi(e,Vf);if(t&&t.typeExpression&&t.typeExpression.type)return t}function u_(e,t){var a;if(!vf(e))return vt;let _=(a=e.jsDoc)==null?void 0:a.jsDocCache;if(_===void 0||t){let f=P2(e,t);q.assert(f.length<2||f[0]!==f[1]),_=xm(f,h=>ih(h)?h.tags:h),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=_)}return _}function e1(e){return u_(e,!1)}function bi(e,t,a){return vm(u_(e,a),t)}function Jg(e,t){return e1(e).filter(t)}function Rp(e){return e.kind===80||e.kind===81}function jg(e){return dr(e)&&!!(e.flags&64)}function Rg(e){return Ha(e)&&!!(e.flags&64)}function Pd(e){return Mf(e)&&!!(e.flags&64)}function t1(e){let t=e.kind;return!!(e.flags&64)&&(t===212||t===213||t===214||t===236)}function ff(e){return Wf(e,8)}function Ug(e){return fl(e)&&!!(e.flags&64)}function df(e){return e>=167}function mf(e){return e>=0&&e<=166}function n1(e){return mf(e.kind)}function mi(e){return Dr(e,"pos")&&Dr(e,"end")}function Bg(e){return 9<=e&&e<=15}function Nd(e){return 15<=e&&e<=18}function Ua(e){var t;return Ke(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function r1(e){var t;return gi(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function qg(e){return(Wa(e)||Yg(e))&&gi(e.name)}function Yr(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 Fg(e){return!!(b1(e)&31)}function zg(e){return Fg(e)||e===126||e===164||e===129}function Vg(e){return Yr(e.kind)}function i1(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===168}function hf(e){return!!e&&Gg(e.kind)}function Wg(e){switch(e){case 263:case 175:case 177:case 178:case 179:case 219:case 220:return!0;default:return!1}}function Gg(e){switch(e){case 174:case 180:case 324:case 181:case 182:case 185:case 318:case 186:return!0;default:return Wg(e)}}function ra(e){return e&&(e.kind===264||e.kind===232)}function Yg(e){switch(e.kind){case 175:case 178:case 179:return!0;default:return!1}}function Hg(e){let t=e.kind;return t===304||t===305||t===306||t===175||t===178||t===179}function a1(e){return rb(e.kind)}function Xg(e){if(e){let t=e.kind;return t===208||t===207}return!1}function $g(e){let t=e.kind;return t===210||t===211}function Qg(e){switch(e.kind){case 261:case 170:case 209:return!0}return!1}function Fa(e){return s1(ff(e).kind)}function s1(e){switch(e){case 212:case 213:case 215:case 214:case 285:case 286:case 289:case 216:case 210:case 218:case 211:case 232:case 219:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 229:case 97:case 106:case 110:case 112:case 108:case 236:case 234:case 237:case 102:case 283:return!0;default:return!1}}function Kg(e){return _1(ff(e).kind)}function _1(e){switch(e){case 225:case 226:case 221:case 222:case 223:case 224:case 217:return!0;default:return s1(e)}}function o1(e){return Zg(ff(e).kind)}function Zg(e){switch(e){case 228:case 230:case 220:case 227:case 231:case 235:case 233:case 357:case 356:case 239:return!0;default:return _1(e)}}function e2(e){return e===220||e===209||e===264||e===232||e===176||e===177||e===267||e===307||e===282||e===263||e===219||e===178||e===274||e===272||e===277||e===265||e===292||e===175||e===174||e===268||e===271||e===275||e===281||e===170||e===304||e===173||e===172||e===179||e===305||e===266||e===169||e===261||e===347||e===339||e===349||e===203}function c1(e){return e===263||e===283||e===264||e===265||e===266||e===267||e===268||e===273||e===272||e===279||e===278||e===271}function l1(e){return e===253||e===252||e===260||e===247||e===245||e===243||e===250||e===251||e===249||e===246||e===257||e===254||e===256||e===258||e===259||e===244||e===248||e===255||e===354}function Id(e){return e.kind===169?e.parent&&e.parent.kind!==346||ia(e):e2(e.kind)}function t2(e){let t=e.kind;return l1(t)||c1(t)||n2(e)}function n2(e){return e.kind!==242||e.parent!==void 0&&(e.parent.kind===259||e.parent.kind===300)?!1:!y2(e)}function r2(e){let t=e.kind;return l1(t)||c1(t)||t===242}function u1(e){return e.kind>=310&&e.kind<=352}function i2(e){return e.kind===321||e.kind===320||e.kind===322||_2(e)||a2(e)||o6(e)||Il(e)}function a2(e){return e.kind>=328&&e.kind<=352}function il(e){return e.kind===179}function al(e){return e.kind===178}function Ki(e){if(!vf(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function s2(e){return!!e.initializer}function El(e){return e.kind===11||e.kind===15}function _2(e){return e.kind===325||e.kind===326||e.kind===327}function Od(e){return(e.flags&33554432)!==0}var o3=o2();function o2(){var e="";let t=a=>e+=a;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(a,_)=>t(a),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&qa(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Va,decreaseIndent:Va,clear:()=>e=""}}function c2(e,t){let a=e.entries();for(let[_,f]of a){let h=t(f,_);if(h)return h}}function l2(e){return e.end-e.pos}function p1(e){return u2(e),(e.flags&1048576)!==0}function u2(e){e.flags&2097152||(((e.flags&262144)!==0||Xt(e,p1))&&(e.flags|=1048576),e.flags|=2097152)}function hi(e){for(;e&&e.kind!==308;)e=e.parent;return e}function Zi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function Up(e){return!Zi(e)}function bl(e,t,a){if(Zi(e))return e.pos;if(u1(e)||e.kind===12)return Cr((t??hi(e)).text,e.pos,!1,!0);if(a&&Ki(e))return bl(e.jsDoc[0],t);if(e.kind===353){t??(t=hi(e));let _=Xp(sh(e,t));if(_)return bl(_,t,a)}return Cr((t??hi(e)).text,e.pos,!1,!1,g2(e))}function Md(e,t,a=!1){return r_(e.text,t,a)}function p2(e){return!!cf(e,th)}function r_(e,t,a=!1){if(Zi(t))return"";let _=e.substring(a?t.pos:Cr(e,t.pos),t.end);return p2(t)&&(_=_.split(/\r\n|\n|\r/).map(f=>f.replace(/^\s*\*/,"").trimStart()).join(` +`)),_}function za(e){let t=e.emitNode;return t&&t.flags||0}function f2(e,t,a){q.assertGreaterThanOrEqual(t,0),q.assertGreaterThanOrEqual(a,0),q.assertLessThanOrEqual(t,e.length),q.assertLessThanOrEqual(t+a,e.length)}function pl(e){return e.kind===245&&e.expression.kind===11}function yf(e){return!!(za(e)&2097152)}function Ld(e){return yf(e)&&Rf(e)}function d2(e){return Ke(e.name)&&!e.initializer}function Jd(e){return yf(e)&&Xa(e)&&Yp(e.declarationList.declarations,d2)}function m2(e,t){let a=e.kind===170||e.kind===169||e.kind===219||e.kind===220||e.kind===218||e.kind===261||e.kind===282?Hp(pg(t,e.pos),Jp(t,e.pos)):Jp(t,e.pos);return Hr(a,_=>_.end<=e.end&&t.charCodeAt(_.pos+1)===42&&t.charCodeAt(_.pos+2)===42&&t.charCodeAt(_.pos+3)!==47)}function h2(e){if(e)switch(e.kind){case 209:case 307:case 170:case 304:case 173:case 172:case 305:case 261:return!0}return!1}function y2(e){return e&&e.kind===242&&hf(e.parent)}function jd(e){let t=e.kind;return(t===212||t===213)&&e.expression.kind===108}function ia(e){return!!e&&!!(e.flags&524288)}function g2(e){return!!e&&!!(e.flags&16777216)}function b2(e){for(;vl(e,!0);)e=e.right;return e}function v2(e){return Ke(e)&&e.escapedText==="exports"}function T2(e){return Ke(e)&&e.escapedText==="module"}function f1(e){return(dr(e)||d1(e))&&T2(e.expression)&&f_(e)==="exports"}function gf(e){let t=S2(e);return t===5||ia(e)?t:0}function x2(e){return e_(e.arguments)===3&&dr(e.expression)&&Ke(e.expression.expression)&&An(e.expression.expression)==="Object"&&An(e.expression.name)==="defineProperty"&&Al(e.arguments[1])&&p_(e.arguments[0],!0)}function d1(e){return Ha(e)&&Al(e.argumentExpression)}function b_(e,t){return dr(e)&&(!t&&e.expression.kind===110||Ke(e.name)&&p_(e.expression,!0))||m1(e,t)}function m1(e,t){return d1(e)&&(!t&&e.expression.kind===110||Sf(e.expression)||b_(e.expression,!0))}function p_(e,t){return Sf(e)||b_(e,t)}function S2(e){if(Mf(e)){if(!x2(e))return 0;let t=e.arguments[0];return v2(t)||f1(t)?8:b_(t)&&f_(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!T1(e.left)||w2(b2(e))?0:p_(e.left.expression,!0)&&f_(e.left)==="prototype"&&Of(E2(e))?6:k2(e.left)}function w2(e){return n6(e)&&aa(e.expression)&&e.expression.text==="0"}function bf(e){if(dr(e))return e.name;let t=Tf(e.argumentExpression);return aa(t)||El(t)?t:e}function f_(e){let t=bf(e);if(t){if(Ke(t))return t.escapedText;if(El(t)||aa(t))return La(t.text)}}function k2(e){if(e.expression.kind===110)return 4;if(f1(e))return 2;if(p_(e.expression,!0)){if(tb(e.expression))return 3;let t=e;for(;!Ke(t.expression);)t=t.expression;let a=t.expression;if((a.escapedText==="exports"||a.escapedText==="module"&&f_(t)==="exports")&&b_(e))return 1;if(p_(e,!0)||Ha(e)&&B2(e))return 5}return 0}function E2(e){for(;na(e.right);)e=e.right;return e.right}function A2(e){return Pl(e)&&na(e.expression)&&gf(e.expression)!==0&&na(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function C2(e){switch(e.kind){case 244:let t=Bp(e);return t&&t.initializer;case 173:return e.initializer;case 304:return e.initializer}}function Bp(e){return Xa(e)?Xp(e.declarationList.declarations):void 0}function D2(e){return Ti(e)&&e.body&&e.body.kind===268?e.body:void 0}function vf(e){switch(e.kind){case 220:case 227:case 242:case 253:case 180:case 297:case 264:case 232:case 176:case 177:case 186:case 181:case 252:case 260:case 247:case 213:case 243:case 1:case 267:case 307:case 278:case 279:case 282:case 245:case 250:case 251:case 249:case 263:case 219:case 185:case 178:case 80:case 246:case 273:case 272:case 182:case 265:case 318:case 324:case 257:case 175:case 174:case 268:case 203:case 271:case 211:case 170:case 218:case 212:case 304:case 173:case 172:case 254:case 241:case 179:case 305:case 306:case 256:case 258:case 259:case 266:case 169:case 261:case 244:case 248:case 255:return!0;default:return!1}}function P2(e,t){let a;h2(e)&&s2(e)&&Ki(e.initializer)&&(a=En(a,Rd(e,e.initializer.jsDoc)));let _=e;for(;_&&_.parent;){if(Ki(_)&&(a=En(a,Rd(e,_.jsDoc))),_.kind===170){a=En(a,(t?wg:Sg)(_));break}if(_.kind===169){a=En(a,(t?Eg:kg)(_));break}_=I2(_)}return a||vt}function Rd(e,t){let a=gy(t);return xm(t,_=>{if(_===a){let f=Hr(_.tags,h=>N2(e,h));return _.tags===f?[_]:f}else return Hr(_.tags,m6)})}function N2(e,t){return!(Vf(t)||b6(t))||!t.parent||!ih(t.parent)||!Dl(t.parent.parent)||t.parent.parent===e}function I2(e){let t=e.parent;if(t.kind===304||t.kind===278||t.kind===173||t.kind===245&&e.kind===212||t.kind===254||D2(t)||vl(e))return t;if(t.parent&&(Bp(t.parent)===e||vl(t)))return t.parent;if(t.parent&&t.parent.parent&&(Bp(t.parent.parent)||C2(t.parent.parent)===e||A2(t.parent.parent)))return t.parent.parent}function Tf(e,t){return Wf(e,t?-2147483647:1)}function O2(e){let t=M2(e);if(t&&ia(e)){let a=Ag(e);if(a)return a.class}return t}function M2(e){let t=xf(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function L2(e){if(ia(e))return Cg(e).map(t=>t.class);{let t=xf(e.heritageClauses,119);return t?.types}}function J2(e){return T_(e)?j2(e)||vt:ra(e)&&Hp(Op(O2(e)),L2(e))||vt}function j2(e){let t=xf(e.heritageClauses,96);return t?t.types:void 0}function xf(e,t){if(e){for(let a of e)if(a.token===t)return a}}function di(e){return 83<=e&&e<=166}function R2(e){return 19<=e&&e<=79}function Sp(e){return di(e)||R2(e)}function Al(e){return El(e)||aa(e)}function U2(e){return V1(e)&&(e.operator===40||e.operator===41)&&aa(e.operand)}function B2(e){if(!(e.kind===168||e.kind===213))return!1;let t=Ha(e)?Tf(e.argumentExpression):e.expression;return!Al(t)&&!U2(t)}function q2(e){return Rp(e)?An(e):K1(e)?Pb(e):e.text}function Ja(e){return d_(e.pos)||d_(e.end)}function wp(e){switch(e){case 61:return 5;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function kp(e){return!!((e.templateFlags||0)&2048)}function F2(e){return e&&!!(A1(e)?kp(e):kp(e.head)||Zt(e.templateSpans,t=>kp(t.literal)))}var c3=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));var l3=new Map(Object.entries({'"':""","'":"'"}));function z2(e){return!!e&&e.kind===80&&V2(e)}function V2(e){return e.escapedText==="this"}function v_(e,t){return!!Y2(e,t)}function W2(e){return v_(e,256)}function G2(e){return v_(e,32768)}function Y2(e,t){return X2(e)&t}function H2(e,t,a){return e.kind>=0&&e.kind<=166?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=g1(e)|536870912),a||t&&ia(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=h1(e)|268435456),y1(e.modifierFlagsCache)):$2(e.modifierFlagsCache))}function X2(e){return H2(e,!1)}function h1(e){let t=0;return e.parent&&!m_(e)&&(ia(e)&&(Dg(e)&&(t|=8388608),Pg(e)&&(t|=16777216),Ng(e)&&(t|=33554432),Ig(e)&&(t|=67108864),Og(e)&&(t|=134217728)),Mg(e)&&(t|=65536)),t}function $2(e){return e&65535}function y1(e){return e&131071|(e&260046848)>>>23}function Q2(e){return y1(h1(e))}function K2(e){return g1(e)|Q2(e)}function g1(e){let t=Ol(e)?Jn(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function Jn(e){let t=0;if(e)for(let a of e)t|=b1(a.kind);return t}function b1(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 171:return 32768}return 0}function Z2(e){return e===76||e===77||e===78}function v1(e){return e>=64&&e<=79}function vl(e,t){return na(e)&&(t?e.operatorToken.kind===64:v1(e.operatorToken.kind))&&Fa(e.left)}function Sf(e){return e.kind===80||eb(e)}function eb(e){return dr(e)&&Ke(e.name)&&Sf(e.expression)}function tb(e){return b_(e)&&f_(e)==="prototype"}function Ep(e){return e.flags&3899393?e.objectFlags:0}function nb(e){let t;return Xt(e,a=>{Up(a)&&(t=a)},a=>{for(let _=a.length-1;_>=0;_--)if(Up(a[_])){t=a[_];break}}),t}function rb(e){return e>=183&&e<=206||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===234||e===313||e===314||e===315||e===316||e===317||e===318||e===319}function T1(e){return e.kind===212||e.kind===213}function ib(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 ab(e,t){this.flags=t,(q.isDebugging||ll)&&(this.checker=e)}function sb(e,t){this.flags=t,q.isDebugging&&(this.checker=e)}function Ap(e,t,a){this.pos=t,this.end=a,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 _b(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function ob(e,t,a){this.pos=t,this.end=a,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 cb(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(_=>_)}var Et={getNodeConstructor:()=>Ap,getTokenConstructor:()=>_b,getIdentifierConstructor:()=>ob,getPrivateIdentifierConstructor:()=>Ap,getSourceFileConstructor:()=>Ap,getSymbolConstructor:()=>ib,getTypeConstructor:()=>ab,getSignatureConstructor:()=>sb,getSourceMapSourceConstructor:()=>cb},lb=[];function ub(e){Object.assign(Et,e),jn(lb,t=>t(Et))}function pb(e,t){return e.replace(/\{(\d+)\}/g,(a,_)=>""+q.checkDefined(t[+_]))}var Ud;function fb(e){return Ud&&Ud[e.key]||e.message}function Oa(e,t,a,_,f,...h){a+_>t.length&&(_=t.length-a),f2(t,a,_);let T=fb(f);return Zt(h)&&(T=pb(T,h)),{file:void 0,start:a,length:_,messageText:T,category:f.category,code:f.code,reportsUnnecessary:f.reportsUnnecessary,fileName:e}}function db(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function x1(e,t){let a=t.fileName||"",_=t.text.length;q.assertEqual(e.fileName,a),q.assertLessThanOrEqual(e.start,_),q.assertLessThanOrEqual(e.start+e.length,_);let f={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){f.relatedInformation=[];for(let h of e.relatedInformation)db(h)&&h.fileName===a?(q.assertLessThanOrEqual(h.start,_),q.assertLessThanOrEqual(h.start+h.length,_),f.relatedInformation.push(x1(h,t))):f.relatedInformation.push(h)}return f}function Yi(e,t){let a=[];for(let _ of e)a.push(x1(_,t));return a}function Bd(e){return e===4||e===2||e===1||e===6?1:0}var it={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!!(e.allowImportingTsExtensions||e.rewriteRelativeImportExtensions)},target:{dependencies:["module"],computeValue:e=>(e.target===0?void 0:e.target)??(e.module===100&&9||e.module===101&&9||e.module===102&&10||e.module===199&&99||1)},module:{dependencies:["target"],computeValue:e=>typeof e.module=="number"?e.module:it.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(t===void 0)switch(it.module.computeValue(e)){case 1:t=2;break;case 100:case 101:case 102:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1;break}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>{if(e.moduleDetection!==void 0)return e.moduleDetection;let t=it.module.computeValue(e);return 100<=t&&t<=199?3:2}},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(it.module.computeValue(e)){case 100:case 101:case 102:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:it.esModuleInterop.computeValue(e)||it.module.computeValue(e)===4||it.moduleResolution.computeValue(e)===100},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{let t=it.moduleResolution.computeValue(e);if(!qd(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{let t=it.moduleResolution.computeValue(e);if(!qd(t))return!1;if(e.resolvePackageJsonImports!==void 0)return e.resolvePackageJsonImports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>{if(e.resolveJsonModule!==void 0)return e.resolveJsonModule;switch(it.module.computeValue(e)){case 102:case 199:return!0}return it.moduleResolution.computeValue(e)===100}},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||it.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&&it.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?it.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>Gr(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>Gr(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>Gr(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>Gr(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>Gr(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>Gr(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>Gr(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:["strict"],computeValue:e=>Gr(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>Gr(e,"useUnknownInCatchVariables")}};var u3=it.allowImportingTsExtensions.computeValue,p3=it.target.computeValue,f3=it.module.computeValue,d3=it.moduleResolution.computeValue,m3=it.moduleDetection.computeValue,h3=it.isolatedModules.computeValue,y3=it.esModuleInterop.computeValue,g3=it.allowSyntheticDefaultImports.computeValue,b3=it.resolvePackageJsonExports.computeValue,v3=it.resolvePackageJsonImports.computeValue,T3=it.resolveJsonModule.computeValue,x3=it.declaration.computeValue,S3=it.preserveConstEnums.computeValue,w3=it.incremental.computeValue,k3=it.declarationMap.computeValue,E3=it.allowJs.computeValue,A3=it.useDefineForClassFields.computeValue;function qd(e){return e>=3&&e<=99||e===100}function Gr(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function mb(e){return c2(targetOptionDeclaration.type,(t,a)=>t===e?a:void 0)}var hb=["node_modules","bower_components","jspm_packages"],S1=`(?!(?:${hb.join("|")})(?:/|$))`,yb={singleAsteriskRegexFragment:"(?:[^./]|(?:\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(?:/${S1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>w1(e,yb.singleAsteriskRegexFragment)},gb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(?:/${S1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>w1(e,gb.singleAsteriskRegexFragment)};function w1(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function bb(e,t){return t||vb(e)||3}function vb(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 k1=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],C3=Tm(k1),D3=[...k1,[".json"]];var Tb=[[".js",".jsx"],[".mjs"],[".cjs"]],P3=Tm(Tb),xb=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],N3=[...xb,[".json"]],Sb=[".d.ts",".d.cts",".d.mts"];function d_(e){return!(e>=0)}function sl(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),q.assert(e.relatedInformation!==vt,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function wb(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:let W=e.length-1,y=0;for(;e.charCodeAt(y)===48;)y++;return e.slice(y,W)||"0"}let a=2,_=e.length-1,f=(_-a)*t,h=new Uint16Array((f>>>4)+(f&15?1:0));for(let W=_-1,y=0;W>=a;W--,y+=t){let G=y>>>4,E=e.charCodeAt(W),R=(E<=57?E-48:10+E-(E<=70?65:97))<<(y&15);h[G]|=R;let ue=R>>>16;ue&&(h[G+1]|=ue)}let T="",k=h.length-1,c=!0;for(;c;){let W=0;c=!1;for(let y=k;y>=0;y--){let G=W<<16|h[y],E=G/10|0;h[y]=E,W=G-E*10,E&&!c&&(k=y,c=!0)}T=W+T}return T}function kb({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function qp(e,t){return e.pos=t,e}function Eb(e,t){return e.end=t,e}function yi(e,t,a){return Eb(qp(e,t),a)}function Fd(e,t,a){return yi(e,t,t+a)}function wf(e,t){return e&&t&&(e.parent=t),e}function Ab(e,t){if(!e)return e;return mm(e,u1(e)?a:f),e;function a(h,T){if(t&&h.parent===T)return"skip";wf(h,T)}function _(h){if(Ki(h))for(let T of h.jsDoc)a(T,h),mm(T,a)}function f(h,T){return a(h,T)||_(h)}}function Cb(e){return!!(e.flags&262144&&e.isThisType)}function Db(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function Pb(e){return`${An(e.namespace)}:${An(e.name)}`}var I3=String.prototype.replace;var Fp=["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"],O3=new Set(Fp),Nb=new Set(["node:sea","node:sqlite","node:test","node:test/reporters"]),M3=new Set([...Fp,...Fp.map(e=>`node:${e}`),...Nb]);function Ib(){let e,t,a,_,f;return{createBaseSourceFileNode:h,createBaseIdentifierNode:T,createBasePrivateIdentifierNode:k,createBaseTokenNode:c,createBaseNode:W};function h(y){return new(f||(f=Et.getSourceFileConstructor()))(y,-1,-1)}function T(y){return new(a||(a=Et.getIdentifierConstructor()))(y,-1,-1)}function k(y){return new(_||(_=Et.getPrivateIdentifierConstructor()))(y,-1,-1)}function c(y){return new(t||(t=Et.getTokenConstructor()))(y,-1,-1)}function W(y){return new(e||(e=Et.getNodeConstructor()))(y,-1,-1)}}var Ob={getParenthesizeLeftSideOfBinaryForOperator:e=>bt,getParenthesizeRightSideOfBinaryForOperator:e=>bt,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,a)=>a,parenthesizeExpressionOfComputedPropertyName:bt,parenthesizeConditionOfConditionalExpression:bt,parenthesizeBranchOfConditionalExpression:bt,parenthesizeExpressionOfExportDefault:bt,parenthesizeExpressionOfNew:e=>Er(e,Fa),parenthesizeLeftSideOfAccess:e=>Er(e,Fa),parenthesizeOperandOfPostfixUnary:e=>Er(e,Fa),parenthesizeOperandOfPrefixUnary:e=>Er(e,Kg),parenthesizeExpressionsOfCommaDelimitedList:e=>Er(e,mi),parenthesizeExpressionForDisallowedComma:bt,parenthesizeExpressionOfExpressionStatement:bt,parenthesizeConciseBodyOfArrowFunction:bt,parenthesizeCheckTypeOfConditionalType:bt,parenthesizeExtendsTypeOfConditionalType:bt,parenthesizeConstituentTypesOfUnionType:e=>Er(e,mi),parenthesizeConstituentTypeOfUnionType:bt,parenthesizeConstituentTypesOfIntersectionType:e=>Er(e,mi),parenthesizeConstituentTypeOfIntersectionType:bt,parenthesizeOperandOfTypeOperator:bt,parenthesizeOperandOfReadonlyTypeOperator:bt,parenthesizeNonArrayTypeOfPostfixType:bt,parenthesizeElementTypesOfTupleType:e=>Er(e,mi),parenthesizeElementTypeOfTupleType:bt,parenthesizeTypeOfOptionalType:bt,parenthesizeTypeArguments:e=>e&&Er(e,mi),parenthesizeLeadingTypeArgument:bt},_l=0;var Mb=[];function kf(e,t){let a=e&8?bt:Ub,_=bd(()=>e&1?Ob:createParenthesizerRules(he)),f=bd(()=>e&2?nullNodeConverters:createNodeConverters(he)),h=Kn(n=>(i,s)=>da(i,n,s)),T=Kn(n=>i=>Ur(n,i)),k=Kn(n=>i=>ni(i,n)),c=Kn(n=>()=>Qo(n)),W=Kn(n=>i=>Cs(n,i)),y=Kn(n=>(i,s)=>wu(n,i,s)),G=Kn(n=>(i,s)=>Ko(n,i,s)),E=Kn(n=>(i,s)=>Su(n,i,s)),D=Kn(n=>(i,s)=>hc(n,i,s)),R=Kn(n=>(i,s,l)=>Lu(n,i,s,l)),ue=Kn(n=>(i,s,l)=>yc(n,i,s,l)),be=Kn(n=>(i,s,l,d)=>Ju(n,i,s,l,d)),he={get parenthesizer(){return _()},get converters(){return f()},baseFactory:t,flags:e,createNodeArray:de,createNumericLiteral:V,createBigIntLiteral:oe,createStringLiteral:ft,createStringLiteralFromNode:nr,createRegularExpressionLiteral:mn,createLiteralLikeNode:rr,createIdentifier:We,createTempVariable:ir,createLoopVariable:Ir,createUniqueName:Ot,getGeneratedNameForNode:Bn,createPrivateIdentifier:Mt,createUniquePrivateName:$e,getGeneratedPrivateNameForNode:qn,createToken:ot,createSuper:at,createThis:Bt,createNull:Lt,createTrue:ct,createFalse:ar,createModifier:dt,createModifiersFromModifierFlags:yn,createQualifiedName:yt,updateQualifiedName:_n,createComputedPropertyName:tt,updateComputedPropertyName:qt,createTypeParameterDeclaration:tn,updateTypeParameterDeclaration:sr,createParameterDeclaration:mr,updateParameterDeclaration:hr,createDecorator:Fn,updateDecorator:zn,createPropertySignature:Or,updatePropertySignature:Vn,createPropertyDeclaration:yr,updatePropertyDeclaration:L,createMethodSignature:se,updateMethodSignature:fe,createMethodDeclaration:Te,updateMethodDeclaration:He,createConstructorDeclaration:lt,updateConstructorDeclaration:Mr,createGetAccessorDeclaration:Nn,updateGetAccessorDeclaration:Wn,createSetAccessorDeclaration:U,updateSetAccessorDeclaration:K,createCallSignature:xe,updateCallSignature:Se,createConstructSignature:we,updateConstructSignature:me,createIndexSignature:Ve,updateIndexSignature:Ze,createClassStaticBlockDeclaration:st,updateClassStaticBlockDeclaration:Ct,createTemplateLiteralTypeSpan:Ye,updateTemplateLiteralTypeSpan:Ee,createKeywordTypeNode:gn,createTypePredicateNode:rt,updateTypePredicateNode:on,createTypeReferenceNode:Zr,updateTypeReferenceNode:M,createFunctionTypeNode:Ue,updateFunctionTypeNode:u,createConstructorTypeNode:Me,updateConstructorTypeNode:nn,createTypeQueryNode:Dt,updateTypeQueryNode:wt,createTypeLiteralNode:Pt,updateTypeLiteralNode:Ft,createArrayTypeNode:Gn,updateArrayTypeNode:ki,createTupleTypeNode:cn,updateTupleTypeNode:H,createNamedTupleMember:le,updateNamedTupleMember:qe,createOptionalTypeNode:ve,updateOptionalTypeNode:J,createRestTypeNode:mt,updateRestTypeNode:xt,createUnionTypeNode:ql,updateUnionTypeNode:C_,createIntersectionTypeNode:Lr,updateIntersectionTypeNode:Le,createConditionalTypeNode:pt,updateConditionalTypeNode:Fl,createInferTypeNode:Yn,updateInferTypeNode:zl,createImportTypeNode:_r,updateImportTypeNode:oa,createParenthesizedType:Qt,updateParenthesizedType:At,createThisTypeNode:P,createTypeOperatorNode:Gt,updateTypeOperatorNode:Jr,createIndexedAccessTypeNode:or,updateIndexedAccessTypeNode:Ka,createMappedTypeNode:gt,updateMappedTypeNode:jt,createLiteralTypeNode:ei,updateLiteralTypeNode:br,createTemplateLiteralType:Wt,updateTemplateLiteralType:Vl,createObjectBindingPattern:D_,updateObjectBindingPattern:Wl,createArrayBindingPattern:jr,updateArrayBindingPattern:Gl,createBindingElement:ca,updateBindingElement:ti,createArrayLiteralExpression:Za,updateArrayLiteralExpression:P_,createObjectLiteralExpression:Ei,updateObjectLiteralExpression:Yl,createPropertyAccessExpression:e&4?(n,i)=>setEmitFlags(cr(n,i),262144):cr,updatePropertyAccessExpression:Hl,createPropertyAccessChain:e&4?(n,i,s)=>setEmitFlags(Ai(n,i,s),262144):Ai,updatePropertyAccessChain:la,createElementAccessExpression:Ci,updateElementAccessExpression:Xl,createElementAccessChain:O_,updateElementAccessChain:es,createCallExpression:Di,updateCallExpression:ua,createCallChain:ts,updateCallChain:L_,createNewExpression:bn,updateNewExpression:ns,createTaggedTemplateExpression:pa,updateTaggedTemplateExpression:J_,createTypeAssertion:j_,updateTypeAssertion:R_,createParenthesizedExpression:rs,updateParenthesizedExpression:U_,createFunctionExpression:is,updateFunctionExpression:B_,createArrowFunction:as,updateArrowFunction:q_,createDeleteExpression:F_,updateDeleteExpression:z_,createTypeOfExpression:fa,updateTypeOfExpression:un,createVoidExpression:ss,updateVoidExpression:lr,createAwaitExpression:V_,updateAwaitExpression:Rr,createPrefixUnaryExpression:Ur,updatePrefixUnaryExpression:$l,createPostfixUnaryExpression:ni,updatePostfixUnaryExpression:Ql,createBinaryExpression:da,updateBinaryExpression:Kl,createConditionalExpression:G_,updateConditionalExpression:Y_,createTemplateExpression:H_,updateTemplateExpression:Hn,createTemplateHead:$_,createTemplateMiddle:ma,createTemplateTail:_s,createNoSubstitutionTemplateLiteral:eu,createTemplateLiteralLikeNode:ii,createYieldExpression:os,updateYieldExpression:tu,createSpreadElement:Q_,updateSpreadElement:nu,createClassExpression:K_,updateClassExpression:cs,createOmittedExpression:ls,createExpressionWithTypeArguments:Z_,updateExpressionWithTypeArguments:eo,createAsExpression:pn,updateAsExpression:ha,createNonNullExpression:to,updateNonNullExpression:no,createSatisfiesExpression:us,updateSatisfiesExpression:ro,createNonNullChain:ps,updateNonNullChain:In,createMetaProperty:io,updateMetaProperty:fs,createTemplateSpan:Xn,updateTemplateSpan:ya,createSemicolonClassElement:ao,createBlock:Br,updateBlock:ru,createVariableStatement:ds,updateVariableStatement:so,createEmptyStatement:_o,createExpressionStatement:Ni,updateExpressionStatement:oo,createIfStatement:co,updateIfStatement:lo,createDoStatement:uo,updateDoStatement:po,createWhileStatement:fo,updateWhileStatement:iu,createForStatement:mo,updateForStatement:ho,createForInStatement:ms,updateForInStatement:au,createForOfStatement:yo,updateForOfStatement:su,createContinueStatement:go,updateContinueStatement:_u,createBreakStatement:hs,updateBreakStatement:bo,createReturnStatement:ys,updateReturnStatement:ou,createWithStatement:gs,updateWithStatement:vo,createSwitchStatement:bs,updateSwitchStatement:ai,createLabeledStatement:To,updateLabeledStatement:xo,createThrowStatement:So,updateThrowStatement:cu,createTryStatement:wo,updateTryStatement:lu,createDebuggerStatement:ko,createVariableDeclaration:ga,updateVariableDeclaration:Eo,createVariableDeclarationList:vs,updateVariableDeclarationList:uu,createFunctionDeclaration:Ao,updateFunctionDeclaration:Ts,createClassDeclaration:Co,updateClassDeclaration:ba,createInterfaceDeclaration:Do,updateInterfaceDeclaration:Po,createTypeAliasDeclaration:_t,updateTypeAliasDeclaration:vr,createEnumDeclaration:xs,updateEnumDeclaration:Tr,createModuleDeclaration:No,updateModuleDeclaration:kt,createModuleBlock:xr,updateModuleBlock:zt,createCaseBlock:Io,updateCaseBlock:fu,createNamespaceExportDeclaration:Oo,updateNamespaceExportDeclaration:Mo,createImportEqualsDeclaration:Lo,updateImportEqualsDeclaration:Jo,createImportDeclaration:jo,updateImportDeclaration:Ro,createImportClause:Uo,updateImportClause:Bo,createAssertClause:Ss,updateAssertClause:mu,createAssertEntry:Ii,updateAssertEntry:qo,createImportTypeAssertionContainer:ws,updateImportTypeAssertionContainer:Fo,createImportAttributes:zo,updateImportAttributes:ks,createImportAttribute:Vo,updateImportAttribute:Wo,createNamespaceImport:Go,updateNamespaceImport:hu,createNamespaceExport:Yo,updateNamespaceExport:yu,createNamedImports:Ho,updateNamedImports:Xo,createImportSpecifier:Sr,updateImportSpecifier:gu,createExportAssignment:va,updateExportAssignment:Oi,createExportDeclaration:Ta,updateExportDeclaration:$o,createNamedExports:Es,updateNamedExports:bu,createExportSpecifier:xa,updateExportSpecifier:vu,createMissingDeclaration:Tu,createExternalModuleReference:As,updateExternalModuleReference:xu,get createJSDocAllType(){return c(313)},get createJSDocUnknownType(){return c(314)},get createJSDocNonNullableType(){return G(316)},get updateJSDocNonNullableType(){return E(316)},get createJSDocNullableType(){return G(315)},get updateJSDocNullableType(){return E(315)},get createJSDocOptionalType(){return W(317)},get updateJSDocOptionalType(){return y(317)},get createJSDocVariadicType(){return W(319)},get updateJSDocVariadicType(){return y(319)},get createJSDocNamepathType(){return W(320)},get updateJSDocNamepathType(){return y(320)},createJSDocFunctionType:Zo,updateJSDocFunctionType:ku,createJSDocTypeLiteral:ec,updateJSDocTypeLiteral:Eu,createJSDocTypeExpression:tc,updateJSDocTypeExpression:Ds,createJSDocSignature:nc,updateJSDocSignature:Au,createJSDocTemplateTag:Ps,updateJSDocTemplateTag:rc,createJSDocTypedefTag:Sa,updateJSDocTypedefTag:Cu,createJSDocParameterTag:Ns,updateJSDocParameterTag:Du,createJSDocPropertyTag:ic,updateJSDocPropertyTag:ac,createJSDocCallbackTag:sc,updateJSDocCallbackTag:_c,createJSDocOverloadTag:oc,updateJSDocOverloadTag:Is,createJSDocAugmentsTag:Os,updateJSDocAugmentsTag:Li,createJSDocImplementsTag:cc,updateJSDocImplementsTag:Mu,createJSDocSeeTag:Fr,updateJSDocSeeTag:wa,createJSDocImportTag:vc,updateJSDocImportTag:Tc,createJSDocNameReference:lc,updateJSDocNameReference:Pu,createJSDocMemberName:uc,updateJSDocMemberName:Nu,createJSDocLink:pc,updateJSDocLink:fc,createJSDocLinkCode:dc,updateJSDocLinkCode:Iu,createJSDocLinkPlain:mc,updateJSDocLinkPlain:Ou,get createJSDocTypeTag(){return ue(345)},get updateJSDocTypeTag(){return be(345)},get createJSDocReturnTag(){return ue(343)},get updateJSDocReturnTag(){return be(343)},get createJSDocThisTag(){return ue(344)},get updateJSDocThisTag(){return be(344)},get createJSDocAuthorTag(){return D(331)},get updateJSDocAuthorTag(){return R(331)},get createJSDocClassTag(){return D(333)},get updateJSDocClassTag(){return R(333)},get createJSDocPublicTag(){return D(334)},get updateJSDocPublicTag(){return R(334)},get createJSDocPrivateTag(){return D(335)},get updateJSDocPrivateTag(){return R(335)},get createJSDocProtectedTag(){return D(336)},get updateJSDocProtectedTag(){return R(336)},get createJSDocReadonlyTag(){return D(337)},get updateJSDocReadonlyTag(){return R(337)},get createJSDocOverrideTag(){return D(338)},get updateJSDocOverrideTag(){return R(338)},get createJSDocDeprecatedTag(){return D(332)},get updateJSDocDeprecatedTag(){return R(332)},get createJSDocThrowsTag(){return ue(350)},get updateJSDocThrowsTag(){return be(350)},get createJSDocSatisfiesTag(){return ue(351)},get updateJSDocSatisfiesTag(){return be(351)},createJSDocEnumTag:bc,updateJSDocEnumTag:Ms,createJSDocUnknownTag:gc,updateJSDocUnknownTag:ju,createJSDocText:Ls,updateJSDocText:Ru,createJSDocComment:Ji,updateJSDocComment:xc,createJsxElement:Sc,updateJsxElement:Uu,createJsxSelfClosingElement:wc,updateJsxSelfClosingElement:Bu,createJsxOpeningElement:ka,updateJsxOpeningElement:kc,createJsxClosingElement:Js,updateJsxClosingElement:js,createJsxFragment:Yt,createJsxText:ji,updateJsxText:qu,createJsxOpeningFragment:Ac,createJsxJsxClosingFragment:Cc,updateJsxFragment:Ec,createJsxAttribute:Dc,updateJsxAttribute:Fu,createJsxAttributes:Ri,updateJsxAttributes:zu,createJsxSpreadAttribute:Pc,updateJsxSpreadAttribute:Vu,createJsxExpression:Nc,updateJsxExpression:Rs,createJsxNamespacedName:si,updateJsxNamespacedName:Wu,createCaseClause:Ea,updateCaseClause:Ic,createDefaultClause:Oc,updateDefaultClause:Ui,createHeritageClause:Us,updateHeritageClause:Gu,createCatchClause:Mc,updateCatchClause:Lc,createPropertyAssignment:Aa,updatePropertyAssignment:Bs,createShorthandPropertyAssignment:Jc,updateShorthandPropertyAssignment:Yu,createSpreadAssignment:jc,updateSpreadAssignment:Rc,createEnumMember:qs,updateEnumMember:On,createSourceFile:Uc,updateSourceFile:Qu,createRedirectedSourceFile:Bc,createBundle:qc,updateBundle:Fc,createSyntheticExpression:Ku,createSyntaxList:Zu,createNotEmittedStatement:Ca,createNotEmittedTypeElement:ep,createPartiallyEmittedExpression:Vs,updatePartiallyEmittedExpression:zc,createCommaListExpression:Ws,updateCommaListExpression:np,createSyntheticReferenceExpression:Gs,updateSyntheticReferenceExpression:Vc,cloneNode:Da,get createComma(){return h(28)},get createAssignment(){return h(64)},get createLogicalOr(){return h(57)},get createLogicalAnd(){return h(56)},get createBitwiseOr(){return h(52)},get createBitwiseXor(){return h(53)},get createBitwiseAnd(){return h(51)},get createStrictEquality(){return h(37)},get createStrictInequality(){return h(38)},get createEquality(){return h(35)},get createInequality(){return h(36)},get createLessThan(){return h(30)},get createLessThanEquals(){return h(33)},get createGreaterThan(){return h(32)},get createGreaterThanEquals(){return h(34)},get createLeftShift(){return h(48)},get createRightShift(){return h(49)},get createUnsignedRightShift(){return h(50)},get createAdd(){return h(40)},get createSubtract(){return h(41)},get createMultiply(){return h(42)},get createDivide(){return h(44)},get createModulo(){return h(45)},get createExponent(){return h(43)},get createPrefixPlus(){return T(40)},get createPrefixMinus(){return T(41)},get createPrefixIncrement(){return T(46)},get createPrefixDecrement(){return T(47)},get createBitwiseNot(){return T(55)},get createLogicalNot(){return T(54)},get createPostfixIncrement(){return k(46)},get createPostfixDecrement(){return k(47)},createImmediatelyInvokedFunctionExpression:ap,createImmediatelyInvokedArrowFunction:sp,createVoidZero:Bi,createExportDefault:Yc,createExternalModuleExport:Hc,createTypeCheck:_p,createIsNotTypeCheck:Ys,createMethodCall:zr,createGlobalMethodCall:qi,createFunctionBindCall:op,createFunctionCallCall:cp,createFunctionApplyCall:lp,createArraySliceCall:up,createArrayConcatCall:Fi,createObjectDefinePropertyCall:pp,createObjectGetOwnPropertyDescriptorCall:Hs,createReflectGetCall:oi,createReflectSetCall:Xc,createPropertyDescriptor:fp,createCallBinding:Zc,createAssignmentTargetWrapper:el,inlineExpressions:o,getInternalName:m,getLocalName:g,getExportName:b,getDeclarationName:N,getNamespaceMemberName:Q,getExternalModuleOrNamespaceExportName:_e,restoreOuterExpressions:Qc,restoreEnclosingLabel:Kc,createUseStrictPrologue:ce,copyPrologue:ee,copyStandardPrologue:je,copyCustomPrologue:Je,ensureUseStrict:De,liftToBlock:Ht,mergeLexicalEnvironment:ur,replaceModifiers:pr,replaceDecoratorsAndModifiers:Mn,replacePropertyName:Vr};return jn(Mb,n=>n(he)),he;function de(n,i){if(n===void 0||n===vt)n=[];else if(mi(n)){if(i===void 0||n.hasTrailingComma===i)return n.transformFlags===void 0&&Vd(n),q.attachNodeArrayDebugInfo(n),n;let d=n.slice();return d.pos=n.pos,d.end=n.end,d.hasTrailingComma=i,d.transformFlags=n.transformFlags,q.attachNodeArrayDebugInfo(d),d}let s=n.length,l=s>=1&&s<=4?n.slice():n;return l.pos=-1,l.end=-1,l.hasTrailingComma=!!i,l.transformFlags=0,Vd(l),q.attachNodeArrayDebugInfo(l),l}function O(n){return t.createBaseNode(n)}function ae(n){let i=O(n);return i.symbol=void 0,i.localSymbol=void 0,i}function Oe(n,i){return n!==i&&(n.typeArguments=i.typeArguments),j(n,i)}function V(n,i=0){let s=typeof n=="number"?n+"":n;q.assert(s.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");let l=ae(9);return l.text=s,l.numericLiteralFlags=i,i&384&&(l.transformFlags|=1024),l}function oe(n){let i=$t(10);return i.text=typeof n=="string"?n:kb(n)+"n",i.transformFlags|=32,i}function Y(n,i){let s=ae(11);return s.text=n,s.singleQuote=i,s}function ft(n,i,s){let l=Y(n,i);return l.hasExtendedUnicodeEscape=s,s&&(l.transformFlags|=1024),l}function nr(n){let i=Y(q2(n),void 0);return i.textSourceNode=n,i}function mn(n){let i=$t(14);return i.text=n,i}function rr(n,i){switch(n){case 9:return V(i,0);case 10:return oe(i);case 11:return ft(i,void 0);case 12:return ji(i,!1);case 13:return ji(i,!0);case 14:return mn(i);case 15:return ii(n,i,void 0,0)}}function hn(n){let i=t.createBaseIdentifierNode(80);return i.escapedText=n,i.jsDoc=void 0,i.flowNode=void 0,i.symbol=void 0,i}function Dn(n,i,s,l){let d=hn(La(n));return setIdentifierAutoGenerate(d,{flags:i,id:_l,prefix:s,suffix:l}),_l++,d}function We(n,i,s){i===void 0&&n&&(i=Um(n)),i===80&&(i=void 0);let l=hn(La(n));return s&&(l.flags|=256),l.escapedText==="await"&&(l.transformFlags|=67108864),l.flags&256&&(l.transformFlags|=1024),l}function ir(n,i,s,l){let d=1;i&&(d|=8);let v=Dn("",d,s,l);return n&&n(v),v}function Ir(n){let i=2;return n&&(i|=8),Dn("",i,void 0,void 0)}function Ot(n,i=0,s,l){return q.assert(!(i&7),"Argument out of range: flags"),q.assert((i&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Dn(n,3|i,s,l)}function Bn(n,i=0,s,l){q.assert(!(i&7),"Argument out of range: flags");let d=n?Rp(n)?Wp(!1,s,n,l,An):`generated@${getNodeId(n)}`:"";(s||l)&&(i|=16);let v=Dn(d,4|i,s,l);return v.original=n,v}function Pn(n){let i=t.createBasePrivateIdentifierNode(81);return i.escapedText=n,i.transformFlags|=16777216,i}function Mt(n){return ml(n,"#")||q.fail("First character of private identifier must be #: "+n),Pn(La(n))}function ht(n,i,s,l){let d=Pn(La(n));return setIdentifierAutoGenerate(d,{flags:i,id:_l,prefix:s,suffix:l}),_l++,d}function $e(n,i,s){n&&!ml(n,"#")&&q.fail("First character of private identifier must be #: "+n);let l=8|(n?3:1);return ht(n??"",l,i,s)}function qn(n,i,s){let l=Rp(n)?Wp(!0,i,n,s,An):`#generated@${getNodeId(n)}`,v=ht(l,4|(i||s?16:0),i,s);return v.original=n,v}function $t(n){return t.createBaseTokenNode(n)}function ot(n){q.assert(n>=0&&n<=166,"Invalid token"),q.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),q.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),q.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let i=$t(n),s=0;switch(n){case 134:s=384;break;case 160:s=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:s=1;break;case 108:s=134218752,i.flowNode=void 0;break;case 126:s=1024;break;case 129:s=16777216;break;case 110:s=16384,i.flowNode=void 0;break}return s&&(i.transformFlags|=s),i}function at(){return ot(108)}function Bt(){return ot(110)}function Lt(){return ot(106)}function ct(){return ot(112)}function ar(){return ot(97)}function dt(n){return ot(n)}function yn(n){let i=[];return n&32&&i.push(dt(95)),n&128&&i.push(dt(138)),n&2048&&i.push(dt(90)),n&4096&&i.push(dt(87)),n&1&&i.push(dt(125)),n&2&&i.push(dt(123)),n&4&&i.push(dt(124)),n&64&&i.push(dt(128)),n&256&&i.push(dt(126)),n&16&&i.push(dt(164)),n&8&&i.push(dt(148)),n&512&&i.push(dt(129)),n&1024&&i.push(dt(134)),n&8192&&i.push(dt(103)),n&16384&&i.push(dt(147)),i.length?i:void 0}function yt(n,i){let s=O(167);return s.left=n,s.right=et(i),s.transformFlags|=z(s.left)|ja(s.right),s.flowNode=void 0,s}function _n(n,i,s){return n.left!==i||n.right!==s?j(yt(i,s),n):n}function tt(n){let i=O(168);return i.expression=_().parenthesizeExpressionOfComputedPropertyName(n),i.transformFlags|=z(i.expression)|1024|131072,i}function qt(n,i){return n.expression!==i?j(tt(i),n):n}function tn(n,i,s,l){let d=ae(169);return d.modifiers=Pe(n),d.name=et(i),d.constraint=s,d.default=l,d.transformFlags=1,d.expression=void 0,d.jsDoc=void 0,d}function sr(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.constraint!==l||n.default!==d?j(tn(i,s,l,d),n):n}function mr(n,i,s,l,d,v){let F=ae(170);return F.modifiers=Pe(n),F.dotDotDotToken=i,F.name=et(s),F.questionToken=l,F.type=d,F.initializer=zi(v),z2(F.name)?F.transformFlags=1:F.transformFlags=ke(F.modifiers)|z(F.dotDotDotToken)|Ln(F.name)|z(F.questionToken)|z(F.initializer)|(F.questionToken??F.type?1:0)|(F.dotDotDotToken??F.initializer?1024:0)|(Jn(F.modifiers)&31?8192:0),F.jsDoc=void 0,F}function hr(n,i,s,l,d,v,F){return n.modifiers!==i||n.dotDotDotToken!==s||n.name!==l||n.questionToken!==d||n.type!==v||n.initializer!==F?j(mr(i,s,l,d,v,F),n):n}function Fn(n){let i=O(171);return i.expression=_().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=z(i.expression)|1|8192|33554432,i}function zn(n,i){return n.expression!==i?j(Fn(i),n):n}function Or(n,i,s,l){let d=ae(172);return d.modifiers=Pe(n),d.name=et(i),d.type=l,d.questionToken=s,d.transformFlags=1,d.initializer=void 0,d.jsDoc=void 0,d}function Vn(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.questionToken!==l||n.type!==d?Ce(Or(i,s,l,d),n):n}function Ce(n,i){return n!==i&&(n.initializer=i.initializer),j(n,i)}function yr(n,i,s,l,d){let v=ae(173);v.modifiers=Pe(n),v.name=et(i),v.questionToken=s&&Gd(s)?s:void 0,v.exclamationToken=s&&Wd(s)?s:void 0,v.type=l,v.initializer=zi(d);let F=v.flags&33554432||Jn(v.modifiers)&128;return v.transformFlags=ke(v.modifiers)|Ln(v.name)|z(v.initializer)|(F||v.questionToken||v.exclamationToken||v.type?1:0)|(Ef(v.name)||Jn(v.modifiers)&256&&v.initializer?8192:0)|16777216,v.jsDoc=void 0,v}function L(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.questionToken!==(l!==void 0&&Gd(l)?l:void 0)||n.exclamationToken!==(l!==void 0&&Wd(l)?l:void 0)||n.type!==d||n.initializer!==v?j(yr(i,s,l,d,v),n):n}function se(n,i,s,l,d,v){let F=ae(174);return F.modifiers=Pe(n),F.name=et(i),F.questionToken=s,F.typeParameters=Pe(l),F.parameters=Pe(d),F.type=v,F.transformFlags=1,F.jsDoc=void 0,F.locals=void 0,F.nextContainer=void 0,F.typeArguments=void 0,F}function fe(n,i,s,l,d,v,F){return n.modifiers!==i||n.name!==s||n.questionToken!==l||n.typeParameters!==d||n.parameters!==v||n.type!==F?Oe(se(i,s,l,d,v,F),n):n}function Te(n,i,s,l,d,v,F,pe){let Fe=ae(175);if(Fe.modifiers=Pe(n),Fe.asteriskToken=i,Fe.name=et(s),Fe.questionToken=l,Fe.exclamationToken=void 0,Fe.typeParameters=Pe(d),Fe.parameters=de(v),Fe.type=F,Fe.body=pe,!Fe.body)Fe.transformFlags=1;else{let It=Jn(Fe.modifiers)&1024,fr=!!Fe.asteriskToken,xn=It&&fr;Fe.transformFlags=ke(Fe.modifiers)|z(Fe.asteriskToken)|Ln(Fe.name)|z(Fe.questionToken)|ke(Fe.typeParameters)|ke(Fe.parameters)|z(Fe.type)|z(Fe.body)&-67108865|(xn?128:It?256:fr?2048:0)|(Fe.questionToken||Fe.typeParameters||Fe.type?1:0)|1024}return Fe.typeArguments=void 0,Fe.jsDoc=void 0,Fe.locals=void 0,Fe.nextContainer=void 0,Fe.flowNode=void 0,Fe.endFlowNode=void 0,Fe.returnFlowNode=void 0,Fe}function He(n,i,s,l,d,v,F,pe,Fe){return n.modifiers!==i||n.asteriskToken!==s||n.name!==l||n.questionToken!==d||n.typeParameters!==v||n.parameters!==F||n.type!==pe||n.body!==Fe?Qe(Te(i,s,l,d,v,F,pe,Fe),n):n}function Qe(n,i){return n!==i&&(n.exclamationToken=i.exclamationToken),j(n,i)}function st(n){let i=ae(176);return i.body=n,i.transformFlags=z(n)|16777216,i.modifiers=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function Ct(n,i){return n.body!==i?Tt(st(i),n):n}function Tt(n,i){return n!==i&&(n.modifiers=i.modifiers),j(n,i)}function lt(n,i,s){let l=ae(177);return l.modifiers=Pe(n),l.parameters=de(i),l.body=s,l.body?l.transformFlags=ke(l.modifiers)|ke(l.parameters)|z(l.body)&-67108865|1024:l.transformFlags=1,l.typeParameters=void 0,l.type=void 0,l.typeArguments=void 0,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.endFlowNode=void 0,l.returnFlowNode=void 0,l}function Mr(n,i,s,l){return n.modifiers!==i||n.parameters!==s||n.body!==l?gr(lt(i,s,l),n):n}function gr(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),Oe(n,i)}function Nn(n,i,s,l,d){let v=ae(178);return v.modifiers=Pe(n),v.name=et(i),v.parameters=de(s),v.type=l,v.body=d,v.body?v.transformFlags=ke(v.modifiers)|Ln(v.name)|ke(v.parameters)|z(v.type)|z(v.body)&-67108865|(v.type?1:0):v.transformFlags=1,v.typeArguments=void 0,v.typeParameters=void 0,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.flowNode=void 0,v.endFlowNode=void 0,v.returnFlowNode=void 0,v}function Wn(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.parameters!==l||n.type!==d||n.body!==v?wi(Nn(i,s,l,d,v),n):n}function wi(n,i){return n!==i&&(n.typeParameters=i.typeParameters),Oe(n,i)}function U(n,i,s,l){let d=ae(179);return d.modifiers=Pe(n),d.name=et(i),d.parameters=de(s),d.body=l,d.body?d.transformFlags=ke(d.modifiers)|Ln(d.name)|ke(d.parameters)|z(d.body)&-67108865|(d.type?1:0):d.transformFlags=1,d.typeArguments=void 0,d.typeParameters=void 0,d.type=void 0,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d.endFlowNode=void 0,d.returnFlowNode=void 0,d}function K(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.parameters!==l||n.body!==d?Z(U(i,s,l,d),n):n}function Z(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),Oe(n,i)}function xe(n,i,s){let l=ae(180);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function Se(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Oe(xe(i,s,l),n):n}function we(n,i,s){let l=ae(181);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function me(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Oe(we(i,s,l),n):n}function Ve(n,i,s){let l=ae(182);return l.modifiers=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function Ze(n,i,s,l){return n.parameters!==s||n.type!==l||n.modifiers!==i?Oe(Ve(i,s,l),n):n}function Ye(n,i){let s=O(205);return s.type=n,s.literal=i,s.transformFlags=1,s}function Ee(n,i,s){return n.type!==i||n.literal!==s?j(Ye(i,s),n):n}function gn(n){return ot(n)}function rt(n,i,s){let l=O(183);return l.assertsModifier=n,l.parameterName=et(i),l.type=s,l.transformFlags=1,l}function on(n,i,s,l){return n.assertsModifier!==i||n.parameterName!==s||n.type!==l?j(rt(i,s,l),n):n}function Zr(n,i){let s=O(184);return s.typeName=et(n),s.typeArguments=i&&_().parenthesizeTypeArguments(de(i)),s.transformFlags=1,s}function M(n,i,s){return n.typeName!==i||n.typeArguments!==s?j(Zr(i,s),n):n}function Ue(n,i,s){let l=ae(185);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.modifiers=void 0,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function u(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Ie(Ue(i,s,l),n):n}function Ie(n,i){return n!==i&&(n.modifiers=i.modifiers),Oe(n,i)}function Me(...n){return n.length===4?B(...n):n.length===3?Be(...n):q.fail("Incorrect number of arguments specified.")}function B(n,i,s,l){let d=ae(186);return d.modifiers=Pe(n),d.typeParameters=Pe(i),d.parameters=Pe(s),d.type=l,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.typeArguments=void 0,d}function Be(n,i,s){return B(void 0,n,i,s)}function nn(...n){return n.length===5?ze(...n):n.length===4?Xe(...n):q.fail("Incorrect number of arguments specified.")}function ze(n,i,s,l,d){return n.modifiers!==i||n.typeParameters!==s||n.parameters!==l||n.type!==d?Oe(Me(i,s,l,d),n):n}function Xe(n,i,s,l){return ze(n,n.modifiers,i,s,l)}function Dt(n,i){let s=O(187);return s.exprName=n,s.typeArguments=i&&_().parenthesizeTypeArguments(i),s.transformFlags=1,s}function wt(n,i,s){return n.exprName!==i||n.typeArguments!==s?j(Dt(i,s),n):n}function Pt(n){let i=ae(188);return i.members=de(n),i.transformFlags=1,i}function Ft(n,i){return n.members!==i?j(Pt(i),n):n}function Gn(n){let i=O(189);return i.elementType=_().parenthesizeNonArrayTypeOfPostfixType(n),i.transformFlags=1,i}function ki(n,i){return n.elementType!==i?j(Gn(i),n):n}function cn(n){let i=O(190);return i.elements=de(_().parenthesizeElementTypesOfTupleType(n)),i.transformFlags=1,i}function H(n,i){return n.elements!==i?j(cn(i),n):n}function le(n,i,s,l){let d=ae(203);return d.dotDotDotToken=n,d.name=i,d.questionToken=s,d.type=l,d.transformFlags=1,d.jsDoc=void 0,d}function qe(n,i,s,l,d){return n.dotDotDotToken!==i||n.name!==s||n.questionToken!==l||n.type!==d?j(le(i,s,l,d),n):n}function ve(n){let i=O(191);return i.type=_().parenthesizeTypeOfOptionalType(n),i.transformFlags=1,i}function J(n,i){return n.type!==i?j(ve(i),n):n}function mt(n){let i=O(192);return i.type=n,i.transformFlags=1,i}function xt(n,i){return n.type!==i?j(mt(i),n):n}function Jt(n,i,s){let l=O(n);return l.types=he.createNodeArray(s(i)),l.transformFlags=1,l}function ln(n,i,s){return n.types!==i?j(Jt(n.kind,i,s),n):n}function ql(n){return Jt(193,n,_().parenthesizeConstituentTypesOfUnionType)}function C_(n,i){return ln(n,i,_().parenthesizeConstituentTypesOfUnionType)}function Lr(n){return Jt(194,n,_().parenthesizeConstituentTypesOfIntersectionType)}function Le(n,i){return ln(n,i,_().parenthesizeConstituentTypesOfIntersectionType)}function pt(n,i,s,l){let d=O(195);return d.checkType=_().parenthesizeCheckTypeOfConditionalType(n),d.extendsType=_().parenthesizeExtendsTypeOfConditionalType(i),d.trueType=s,d.falseType=l,d.transformFlags=1,d.locals=void 0,d.nextContainer=void 0,d}function Fl(n,i,s,l,d){return n.checkType!==i||n.extendsType!==s||n.trueType!==l||n.falseType!==d?j(pt(i,s,l,d),n):n}function Yn(n){let i=O(196);return i.typeParameter=n,i.transformFlags=1,i}function zl(n,i){return n.typeParameter!==i?j(Yn(i),n):n}function Wt(n,i){let s=O(204);return s.head=n,s.templateSpans=de(i),s.transformFlags=1,s}function Vl(n,i,s){return n.head!==i||n.templateSpans!==s?j(Wt(i,s),n):n}function _r(n,i,s,l,d=!1){let v=O(206);return v.argument=n,v.attributes=i,v.assertions&&v.assertions.assertClause&&v.attributes&&(v.assertions.assertClause=v.attributes),v.qualifier=s,v.typeArguments=l&&_().parenthesizeTypeArguments(l),v.isTypeOf=d,v.transformFlags=1,v}function oa(n,i,s,l,d,v=n.isTypeOf){return n.argument!==i||n.attributes!==s||n.qualifier!==l||n.typeArguments!==d||n.isTypeOf!==v?j(_r(i,s,l,d,v),n):n}function Qt(n){let i=O(197);return i.type=n,i.transformFlags=1,i}function At(n,i){return n.type!==i?j(Qt(i),n):n}function P(){let n=O(198);return n.transformFlags=1,n}function Gt(n,i){let s=O(199);return s.operator=n,s.type=n===148?_().parenthesizeOperandOfReadonlyTypeOperator(i):_().parenthesizeOperandOfTypeOperator(i),s.transformFlags=1,s}function Jr(n,i){return n.type!==i?j(Gt(n.operator,i),n):n}function or(n,i){let s=O(200);return s.objectType=_().parenthesizeNonArrayTypeOfPostfixType(n),s.indexType=i,s.transformFlags=1,s}function Ka(n,i,s){return n.objectType!==i||n.indexType!==s?j(or(i,s),n):n}function gt(n,i,s,l,d,v){let F=ae(201);return F.readonlyToken=n,F.typeParameter=i,F.nameType=s,F.questionToken=l,F.type=d,F.members=v&&de(v),F.transformFlags=1,F.locals=void 0,F.nextContainer=void 0,F}function jt(n,i,s,l,d,v,F){return n.readonlyToken!==i||n.typeParameter!==s||n.nameType!==l||n.questionToken!==d||n.type!==v||n.members!==F?j(gt(i,s,l,d,v,F),n):n}function ei(n){let i=O(202);return i.literal=n,i.transformFlags=1,i}function br(n,i){return n.literal!==i?j(ei(i),n):n}function D_(n){let i=O(207);return i.elements=de(n),i.transformFlags|=ke(i.elements)|1024|524288,i.transformFlags&32768&&(i.transformFlags|=65664),i}function Wl(n,i){return n.elements!==i?j(D_(i),n):n}function jr(n){let i=O(208);return i.elements=de(n),i.transformFlags|=ke(i.elements)|1024|524288,i}function Gl(n,i){return n.elements!==i?j(jr(i),n):n}function ca(n,i,s,l){let d=ae(209);return d.dotDotDotToken=n,d.propertyName=et(i),d.name=et(s),d.initializer=zi(l),d.transformFlags|=z(d.dotDotDotToken)|Ln(d.propertyName)|Ln(d.name)|z(d.initializer)|(d.dotDotDotToken?32768:0)|1024,d.flowNode=void 0,d}function ti(n,i,s,l,d){return n.propertyName!==s||n.dotDotDotToken!==i||n.name!==l||n.initializer!==d?j(ca(i,s,l,d),n):n}function Za(n,i){let s=O(210),l=n&&Ba(n),d=de(n,l&&G1(l)?!0:void 0);return s.elements=_().parenthesizeExpressionsOfCommaDelimitedList(d),s.multiLine=i,s.transformFlags|=ke(s.elements),s}function P_(n,i){return n.elements!==i?j(Za(i,n.multiLine),n):n}function Ei(n,i){let s=ae(211);return s.properties=de(n),s.multiLine=i,s.transformFlags|=ke(s.properties),s.jsDoc=void 0,s}function Yl(n,i){return n.properties!==i?j(Ei(i,n.multiLine),n):n}function N_(n,i,s){let l=ae(212);return l.expression=n,l.questionDotToken=i,l.name=s,l.transformFlags=z(l.expression)|z(l.questionDotToken)|(Ke(l.name)?ja(l.name):z(l.name)|536870912),l.jsDoc=void 0,l.flowNode=void 0,l}function cr(n,i){let s=N_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,et(i));return Cp(n)&&(s.transformFlags|=384),s}function Hl(n,i,s){return jg(n)?la(n,i,n.questionDotToken,Er(s,Ke)):n.expression!==i||n.name!==s?j(cr(i,s),n):n}function Ai(n,i,s){let l=N_(_().parenthesizeLeftSideOfAccess(n,!0),i,et(s));return l.flags|=64,l.transformFlags|=32,l}function la(n,i,s,l){return q.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==i||n.questionDotToken!==s||n.name!==l?j(Ai(i,s,l),n):n}function I_(n,i,s){let l=ae(213);return l.expression=n,l.questionDotToken=i,l.argumentExpression=s,l.transformFlags|=z(l.expression)|z(l.questionDotToken)|z(l.argumentExpression),l.jsDoc=void 0,l.flowNode=void 0,l}function Ci(n,i){let s=I_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,wr(i));return Cp(n)&&(s.transformFlags|=384),s}function Xl(n,i,s){return Rg(n)?es(n,i,n.questionDotToken,s):n.expression!==i||n.argumentExpression!==s?j(Ci(i,s),n):n}function O_(n,i,s){let l=I_(_().parenthesizeLeftSideOfAccess(n,!0),i,wr(s));return l.flags|=64,l.transformFlags|=32,l}function es(n,i,s,l){return q.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==i||n.questionDotToken!==s||n.argumentExpression!==l?j(O_(i,s,l),n):n}function M_(n,i,s,l){let d=ae(214);return d.expression=n,d.questionDotToken=i,d.typeArguments=s,d.arguments=l,d.transformFlags|=z(d.expression)|z(d.questionDotToken)|ke(d.typeArguments)|ke(d.arguments),d.typeArguments&&(d.transformFlags|=1),jd(d.expression)&&(d.transformFlags|=16384),d}function Di(n,i,s){let l=M_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,Pe(i),_().parenthesizeExpressionsOfCommaDelimitedList(de(s)));return Vb(l.expression)&&(l.transformFlags|=8388608),l}function ua(n,i,s,l){return Pd(n)?L_(n,i,n.questionDotToken,s,l):n.expression!==i||n.typeArguments!==s||n.arguments!==l?j(Di(i,s,l),n):n}function ts(n,i,s,l){let d=M_(_().parenthesizeLeftSideOfAccess(n,!0),i,Pe(s),_().parenthesizeExpressionsOfCommaDelimitedList(de(l)));return d.flags|=64,d.transformFlags|=32,d}function L_(n,i,s,l,d){return q.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==i||n.questionDotToken!==s||n.typeArguments!==l||n.arguments!==d?j(ts(i,s,l,d),n):n}function bn(n,i,s){let l=ae(215);return l.expression=_().parenthesizeExpressionOfNew(n),l.typeArguments=Pe(i),l.arguments=s?_().parenthesizeExpressionsOfCommaDelimitedList(s):void 0,l.transformFlags|=z(l.expression)|ke(l.typeArguments)|ke(l.arguments)|32,l.typeArguments&&(l.transformFlags|=1),l}function ns(n,i,s,l){return n.expression!==i||n.typeArguments!==s||n.arguments!==l?j(bn(i,s,l),n):n}function pa(n,i,s){let l=O(216);return l.tag=_().parenthesizeLeftSideOfAccess(n,!1),l.typeArguments=Pe(i),l.template=s,l.transformFlags|=z(l.tag)|ke(l.typeArguments)|z(l.template)|1024,l.typeArguments&&(l.transformFlags|=1),F2(l.template)&&(l.transformFlags|=128),l}function J_(n,i,s,l){return n.tag!==i||n.typeArguments!==s||n.template!==l?j(pa(i,s,l),n):n}function j_(n,i){let s=O(217);return s.expression=_().parenthesizeOperandOfPrefixUnary(i),s.type=n,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function R_(n,i,s){return n.type!==i||n.expression!==s?j(j_(i,s),n):n}function rs(n){let i=O(218);return i.expression=n,i.transformFlags=z(i.expression),i.jsDoc=void 0,i}function U_(n,i){return n.expression!==i?j(rs(i),n):n}function is(n,i,s,l,d,v,F){let pe=ae(219);pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=et(s),pe.typeParameters=Pe(l),pe.parameters=de(d),pe.type=v,pe.body=F;let Fe=Jn(pe.modifiers)&1024,It=!!pe.asteriskToken,fr=Fe&&It;return pe.transformFlags=ke(pe.modifiers)|z(pe.asteriskToken)|Ln(pe.name)|ke(pe.typeParameters)|ke(pe.parameters)|z(pe.type)|z(pe.body)&-67108865|(fr?128:Fe?256:It?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304,pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.flowNode=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function B_(n,i,s,l,d,v,F,pe){return n.name!==l||n.modifiers!==i||n.asteriskToken!==s||n.typeParameters!==d||n.parameters!==v||n.type!==F||n.body!==pe?Oe(is(i,s,l,d,v,F,pe),n):n}function as(n,i,s,l,d,v){let F=ae(220);F.modifiers=Pe(n),F.typeParameters=Pe(i),F.parameters=de(s),F.type=l,F.equalsGreaterThanToken=d??ot(39),F.body=_().parenthesizeConciseBodyOfArrowFunction(v);let pe=Jn(F.modifiers)&1024;return F.transformFlags=ke(F.modifiers)|ke(F.typeParameters)|ke(F.parameters)|z(F.type)|z(F.equalsGreaterThanToken)|z(F.body)&-67108865|(F.typeParameters||F.type?1:0)|(pe?16640:0)|1024,F.typeArguments=void 0,F.jsDoc=void 0,F.locals=void 0,F.nextContainer=void 0,F.flowNode=void 0,F.endFlowNode=void 0,F.returnFlowNode=void 0,F}function q_(n,i,s,l,d,v,F){return n.modifiers!==i||n.typeParameters!==s||n.parameters!==l||n.type!==d||n.equalsGreaterThanToken!==v||n.body!==F?Oe(as(i,s,l,d,v,F),n):n}function F_(n){let i=O(221);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function z_(n,i){return n.expression!==i?j(F_(i),n):n}function fa(n){let i=O(222);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function un(n,i){return n.expression!==i?j(fa(i),n):n}function ss(n){let i=O(223);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function lr(n,i){return n.expression!==i?j(ss(i),n):n}function V_(n){let i=O(224);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression)|256|128|2097152,i}function Rr(n,i){return n.expression!==i?j(V_(i),n):n}function Ur(n,i){let s=O(225);return s.operator=n,s.operand=_().parenthesizeOperandOfPrefixUnary(i),s.transformFlags|=z(s.operand),(n===46||n===47)&&Ke(s.operand)&&!Ua(s.operand)&&!Hd(s.operand)&&(s.transformFlags|=268435456),s}function $l(n,i){return n.operand!==i?j(Ur(n.operator,i),n):n}function ni(n,i){let s=O(226);return s.operator=i,s.operand=_().parenthesizeOperandOfPostfixUnary(n),s.transformFlags|=z(s.operand),Ke(s.operand)&&!Ua(s.operand)&&!Hd(s.operand)&&(s.transformFlags|=268435456),s}function Ql(n,i){return n.operand!==i?j(ni(i,n.operator),n):n}function da(n,i,s){let l=ae(227),d=mp(i),v=d.kind;return l.left=_().parenthesizeLeftSideOfBinary(v,n),l.operatorToken=d,l.right=_().parenthesizeRightSideOfBinary(v,l.left,s),l.transformFlags|=z(l.left)|z(l.operatorToken)|z(l.right),v===61?l.transformFlags|=32:v===64?Of(l.left)?l.transformFlags|=5248|W_(l.left):F1(l.left)&&(l.transformFlags|=5120|W_(l.left)):v===43||v===68?l.transformFlags|=512:Z2(v)&&(l.transformFlags|=16),v===103&&gi(l.left)&&(l.transformFlags|=536870912),l.jsDoc=void 0,l}function W_(n){return oh(n)?65536:0}function Kl(n,i,s,l){return n.left!==i||n.operatorToken!==s||n.right!==l?j(da(i,s,l),n):n}function G_(n,i,s,l,d){let v=O(228);return v.condition=_().parenthesizeConditionOfConditionalExpression(n),v.questionToken=i??ot(58),v.whenTrue=_().parenthesizeBranchOfConditionalExpression(s),v.colonToken=l??ot(59),v.whenFalse=_().parenthesizeBranchOfConditionalExpression(d),v.transformFlags|=z(v.condition)|z(v.questionToken)|z(v.whenTrue)|z(v.colonToken)|z(v.whenFalse),v.flowNodeWhenFalse=void 0,v.flowNodeWhenTrue=void 0,v}function Y_(n,i,s,l,d,v){return n.condition!==i||n.questionToken!==s||n.whenTrue!==l||n.colonToken!==d||n.whenFalse!==v?j(G_(i,s,l,d,v),n):n}function H_(n,i){let s=O(229);return s.head=n,s.templateSpans=de(i),s.transformFlags|=z(s.head)|ke(s.templateSpans)|1024,s}function Hn(n,i,s){return n.head!==i||n.templateSpans!==s?j(H_(i,s),n):n}function Pi(n,i,s,l=0){q.assert(!(l&-7177),"Unsupported template flags.");let d;if(s!==void 0&&s!==i&&(d=Lb(n,s),typeof d=="object"))return q.fail("Invalid raw text");if(i===void 0){if(d===void 0)return q.fail("Arguments 'text' and 'rawText' may not both be undefined.");i=d}else d!==void 0&&q.assert(i===d,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return i}function X_(n){let i=1024;return n&&(i|=128),i}function Zl(n,i,s,l){let d=$t(n);return d.text=i,d.rawText=s,d.templateFlags=l&7176,d.transformFlags=X_(d.templateFlags),d}function ri(n,i,s,l){let d=ae(n);return d.text=i,d.rawText=s,d.templateFlags=l&7176,d.transformFlags=X_(d.templateFlags),d}function ii(n,i,s,l){return n===15?ri(n,i,s,l):Zl(n,i,s,l)}function $_(n,i,s){return n=Pi(16,n,i,s),ii(16,n,i,s)}function ma(n,i,s){return n=Pi(16,n,i,s),ii(17,n,i,s)}function _s(n,i,s){return n=Pi(16,n,i,s),ii(18,n,i,s)}function eu(n,i,s){return n=Pi(16,n,i,s),ri(15,n,i,s)}function os(n,i){q.assert(!n||!!i,"A `YieldExpression` with an asteriskToken must have an expression.");let s=O(230);return s.expression=i&&_().parenthesizeExpressionForDisallowedComma(i),s.asteriskToken=n,s.transformFlags|=z(s.expression)|z(s.asteriskToken)|1024|128|1048576,s}function tu(n,i,s){return n.expression!==s||n.asteriskToken!==i?j(os(i,s),n):n}function Q_(n){let i=O(231);return i.expression=_().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=z(i.expression)|1024|32768,i}function nu(n,i){return n.expression!==i?j(Q_(i),n):n}function K_(n,i,s,l,d){let v=ae(232);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),v.transformFlags|=ke(v.modifiers)|Ln(v.name)|ke(v.typeParameters)|ke(v.heritageClauses)|ke(v.members)|(v.typeParameters?1:0)|1024,v.jsDoc=void 0,v}function cs(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(K_(i,s,l,d,v),n):n}function ls(){return O(233)}function Z_(n,i){let s=O(234);return s.expression=_().parenthesizeLeftSideOfAccess(n,!1),s.typeArguments=i&&_().parenthesizeTypeArguments(i),s.transformFlags|=z(s.expression)|ke(s.typeArguments)|1024,s}function eo(n,i,s){return n.expression!==i||n.typeArguments!==s?j(Z_(i,s),n):n}function pn(n,i){let s=O(235);return s.expression=n,s.type=i,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function ha(n,i,s){return n.expression!==i||n.type!==s?j(pn(i,s),n):n}function to(n){let i=O(236);return i.expression=_().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=z(i.expression)|1,i}function no(n,i){return Ug(n)?In(n,i):n.expression!==i?j(to(i),n):n}function us(n,i){let s=O(239);return s.expression=n,s.type=i,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function ro(n,i,s){return n.expression!==i||n.type!==s?j(us(i,s),n):n}function ps(n){let i=O(236);return i.flags|=64,i.expression=_().parenthesizeLeftSideOfAccess(n,!0),i.transformFlags|=z(i.expression)|1,i}function In(n,i){return q.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==i?j(ps(i),n):n}function io(n,i){let s=O(237);switch(s.keywordToken=n,s.name=i,s.transformFlags|=z(s.name),n){case 105:s.transformFlags|=1024;break;case 102:s.transformFlags|=32;break;default:return q.assertNever(n)}return s.flowNode=void 0,s}function fs(n,i){return n.name!==i?j(io(n.keywordToken,i),n):n}function Xn(n,i){let s=O(240);return s.expression=n,s.literal=i,s.transformFlags|=z(s.expression)|z(s.literal)|1024,s}function ya(n,i,s){return n.expression!==i||n.literal!==s?j(Xn(i,s),n):n}function ao(){let n=O(241);return n.transformFlags|=1024,n}function Br(n,i){let s=O(242);return s.statements=de(n),s.multiLine=i,s.transformFlags|=ke(s.statements),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s}function ru(n,i){return n.statements!==i?j(Br(i,n.multiLine),n):n}function ds(n,i){let s=O(244);return s.modifiers=Pe(n),s.declarationList=$r(i)?vs(i):i,s.transformFlags|=ke(s.modifiers)|z(s.declarationList),Jn(s.modifiers)&128&&(s.transformFlags=1),s.jsDoc=void 0,s.flowNode=void 0,s}function so(n,i,s){return n.modifiers!==i||n.declarationList!==s?j(ds(i,s),n):n}function _o(){let n=O(243);return n.jsDoc=void 0,n}function Ni(n){let i=O(245);return i.expression=_().parenthesizeExpressionOfExpressionStatement(n),i.transformFlags|=z(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function oo(n,i){return n.expression!==i?j(Ni(i),n):n}function co(n,i,s){let l=O(246);return l.expression=n,l.thenStatement=$n(i),l.elseStatement=$n(s),l.transformFlags|=z(l.expression)|z(l.thenStatement)|z(l.elseStatement),l.jsDoc=void 0,l.flowNode=void 0,l}function lo(n,i,s,l){return n.expression!==i||n.thenStatement!==s||n.elseStatement!==l?j(co(i,s,l),n):n}function uo(n,i){let s=O(247);return s.statement=$n(n),s.expression=i,s.transformFlags|=z(s.statement)|z(s.expression),s.jsDoc=void 0,s.flowNode=void 0,s}function po(n,i,s){return n.statement!==i||n.expression!==s?j(uo(i,s),n):n}function fo(n,i){let s=O(248);return s.expression=n,s.statement=$n(i),s.transformFlags|=z(s.expression)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function iu(n,i,s){return n.expression!==i||n.statement!==s?j(fo(i,s),n):n}function mo(n,i,s,l){let d=O(249);return d.initializer=n,d.condition=i,d.incrementor=s,d.statement=$n(l),d.transformFlags|=z(d.initializer)|z(d.condition)|z(d.incrementor)|z(d.statement),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function ho(n,i,s,l,d){return n.initializer!==i||n.condition!==s||n.incrementor!==l||n.statement!==d?j(mo(i,s,l,d),n):n}function ms(n,i,s){let l=O(250);return l.initializer=n,l.expression=i,l.statement=$n(s),l.transformFlags|=z(l.initializer)|z(l.expression)|z(l.statement),l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.flowNode=void 0,l}function au(n,i,s,l){return n.initializer!==i||n.expression!==s||n.statement!==l?j(ms(i,s,l),n):n}function yo(n,i,s,l){let d=O(251);return d.awaitModifier=n,d.initializer=i,d.expression=_().parenthesizeExpressionForDisallowedComma(s),d.statement=$n(l),d.transformFlags|=z(d.awaitModifier)|z(d.initializer)|z(d.expression)|z(d.statement)|1024,n&&(d.transformFlags|=128),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function su(n,i,s,l,d){return n.awaitModifier!==i||n.initializer!==s||n.expression!==l||n.statement!==d?j(yo(i,s,l,d),n):n}function go(n){let i=O(252);return i.label=et(n),i.transformFlags|=z(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function _u(n,i){return n.label!==i?j(go(i),n):n}function hs(n){let i=O(253);return i.label=et(n),i.transformFlags|=z(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function bo(n,i){return n.label!==i?j(hs(i),n):n}function ys(n){let i=O(254);return i.expression=n,i.transformFlags|=z(i.expression)|128|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function ou(n,i){return n.expression!==i?j(ys(i),n):n}function gs(n,i){let s=O(255);return s.expression=n,s.statement=$n(i),s.transformFlags|=z(s.expression)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function vo(n,i,s){return n.expression!==i||n.statement!==s?j(gs(i,s),n):n}function bs(n,i){let s=O(256);return s.expression=_().parenthesizeExpressionForDisallowedComma(n),s.caseBlock=i,s.transformFlags|=z(s.expression)|z(s.caseBlock),s.jsDoc=void 0,s.flowNode=void 0,s.possiblyExhaustive=!1,s}function ai(n,i,s){return n.expression!==i||n.caseBlock!==s?j(bs(i,s),n):n}function To(n,i){let s=O(257);return s.label=et(n),s.statement=$n(i),s.transformFlags|=z(s.label)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function xo(n,i,s){return n.label!==i||n.statement!==s?j(To(i,s),n):n}function So(n){let i=O(258);return i.expression=n,i.transformFlags|=z(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function cu(n,i){return n.expression!==i?j(So(i),n):n}function wo(n,i,s){let l=O(259);return l.tryBlock=n,l.catchClause=i,l.finallyBlock=s,l.transformFlags|=z(l.tryBlock)|z(l.catchClause)|z(l.finallyBlock),l.jsDoc=void 0,l.flowNode=void 0,l}function lu(n,i,s,l){return n.tryBlock!==i||n.catchClause!==s||n.finallyBlock!==l?j(wo(i,s,l),n):n}function ko(){let n=O(260);return n.jsDoc=void 0,n.flowNode=void 0,n}function ga(n,i,s,l){let d=ae(261);return d.name=et(n),d.exclamationToken=i,d.type=s,d.initializer=zi(l),d.transformFlags|=Ln(d.name)|z(d.initializer)|(d.exclamationToken??d.type?1:0),d.jsDoc=void 0,d}function Eo(n,i,s,l,d){return n.name!==i||n.type!==l||n.exclamationToken!==s||n.initializer!==d?j(ga(i,s,l,d),n):n}function vs(n,i=0){let s=O(262);return s.flags|=i&7,s.declarations=de(n),s.transformFlags|=ke(s.declarations)|4194304,i&7&&(s.transformFlags|=263168),i&4&&(s.transformFlags|=4),s}function uu(n,i){return n.declarations!==i?j(vs(i,n.flags),n):n}function Ao(n,i,s,l,d,v,F){let pe=ae(263);if(pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=et(s),pe.typeParameters=Pe(l),pe.parameters=de(d),pe.type=v,pe.body=F,!pe.body||Jn(pe.modifiers)&128)pe.transformFlags=1;else{let Fe=Jn(pe.modifiers)&1024,It=!!pe.asteriskToken,fr=Fe&&It;pe.transformFlags=ke(pe.modifiers)|z(pe.asteriskToken)|Ln(pe.name)|ke(pe.typeParameters)|ke(pe.parameters)|z(pe.type)|z(pe.body)&-67108865|(fr?128:Fe?256:It?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304}return pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function Ts(n,i,s,l,d,v,F,pe){return n.modifiers!==i||n.asteriskToken!==s||n.name!==l||n.typeParameters!==d||n.parameters!==v||n.type!==F||n.body!==pe?pu(Ao(i,s,l,d,v,F,pe),n):n}function pu(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),Oe(n,i)}function Co(n,i,s,l,d){let v=ae(264);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),Jn(v.modifiers)&128?v.transformFlags=1:(v.transformFlags|=ke(v.modifiers)|Ln(v.name)|ke(v.typeParameters)|ke(v.heritageClauses)|ke(v.members)|(v.typeParameters?1:0)|1024,v.transformFlags&8192&&(v.transformFlags|=1)),v.jsDoc=void 0,v}function ba(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(Co(i,s,l,d,v),n):n}function Do(n,i,s,l,d){let v=ae(265);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),v.transformFlags=1,v.jsDoc=void 0,v}function Po(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(Do(i,s,l,d,v),n):n}function _t(n,i,s,l){let d=ae(266);return d.modifiers=Pe(n),d.name=et(i),d.typeParameters=Pe(s),d.type=l,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function vr(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.type!==d?j(_t(i,s,l,d),n):n}function xs(n,i,s){let l=ae(267);return l.modifiers=Pe(n),l.name=et(i),l.members=de(s),l.transformFlags|=ke(l.modifiers)|z(l.name)|ke(l.members)|1,l.transformFlags&=-67108865,l.jsDoc=void 0,l}function Tr(n,i,s,l){return n.modifiers!==i||n.name!==s||n.members!==l?j(xs(i,s,l),n):n}function No(n,i,s,l=0){let d=ae(268);return d.modifiers=Pe(n),d.flags|=l&2088,d.name=i,d.body=s,Jn(d.modifiers)&128?d.transformFlags=1:d.transformFlags|=ke(d.modifiers)|z(d.name)|z(d.body)|1,d.transformFlags&=-67108865,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function kt(n,i,s,l){return n.modifiers!==i||n.name!==s||n.body!==l?j(No(i,s,l,n.flags),n):n}function xr(n){let i=O(269);return i.statements=de(n),i.transformFlags|=ke(i.statements),i.jsDoc=void 0,i}function zt(n,i){return n.statements!==i?j(xr(i),n):n}function Io(n){let i=O(270);return i.clauses=de(n),i.transformFlags|=ke(i.clauses),i.locals=void 0,i.nextContainer=void 0,i}function fu(n,i){return n.clauses!==i?j(Io(i),n):n}function Oo(n){let i=ae(271);return i.name=et(n),i.transformFlags|=ja(i.name)|1,i.modifiers=void 0,i.jsDoc=void 0,i}function Mo(n,i){return n.name!==i?du(Oo(i),n):n}function du(n,i){return n!==i&&(n.modifiers=i.modifiers),j(n,i)}function Lo(n,i,s,l){let d=ae(272);return d.modifiers=Pe(n),d.name=et(s),d.isTypeOnly=i,d.moduleReference=l,d.transformFlags|=ke(d.modifiers)|ja(d.name)|z(d.moduleReference),zf(d.moduleReference)||(d.transformFlags|=1),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Jo(n,i,s,l,d){return n.modifiers!==i||n.isTypeOnly!==s||n.name!==l||n.moduleReference!==d?j(Lo(i,s,l,d),n):n}function jo(n,i,s,l){let d=O(273);return d.modifiers=Pe(n),d.importClause=i,d.moduleSpecifier=s,d.attributes=d.assertClause=l,d.transformFlags|=z(d.importClause)|z(d.moduleSpecifier),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Ro(n,i,s,l,d){return n.modifiers!==i||n.importClause!==s||n.moduleSpecifier!==l||n.attributes!==d?j(jo(i,s,l,d),n):n}function Uo(n,i,s){let l=ae(274);return typeof n=="boolean"&&(n=n?156:void 0),l.isTypeOnly=n===156,l.phaseModifier=n,l.name=i,l.namedBindings=s,l.transformFlags|=z(l.name)|z(l.namedBindings),n===156&&(l.transformFlags|=1),l.transformFlags&=-67108865,l}function Bo(n,i,s,l){return typeof i=="boolean"&&(i=i?156:void 0),n.phaseModifier!==i||n.name!==s||n.namedBindings!==l?j(Uo(i,s,l),n):n}function Ss(n,i){let s=O(301);return s.elements=de(n),s.multiLine=i,s.token=132,s.transformFlags|=4,s}function mu(n,i,s){return n.elements!==i||n.multiLine!==s?j(Ss(i,s),n):n}function Ii(n,i){let s=O(302);return s.name=n,s.value=i,s.transformFlags|=4,s}function qo(n,i,s){return n.name!==i||n.value!==s?j(Ii(i,s),n):n}function ws(n,i){let s=O(303);return s.assertClause=n,s.multiLine=i,s}function Fo(n,i,s){return n.assertClause!==i||n.multiLine!==s?j(ws(i,s),n):n}function zo(n,i,s){let l=O(301);return l.token=s??118,l.elements=de(n),l.multiLine=i,l.transformFlags|=4,l}function ks(n,i,s){return n.elements!==i||n.multiLine!==s?j(zo(i,s,n.token),n):n}function Vo(n,i){let s=O(302);return s.name=n,s.value=i,s.transformFlags|=4,s}function Wo(n,i,s){return n.name!==i||n.value!==s?j(Vo(i,s),n):n}function Go(n){let i=ae(275);return i.name=n,i.transformFlags|=z(i.name),i.transformFlags&=-67108865,i}function hu(n,i){return n.name!==i?j(Go(i),n):n}function Yo(n){let i=ae(281);return i.name=n,i.transformFlags|=z(i.name)|32,i.transformFlags&=-67108865,i}function yu(n,i){return n.name!==i?j(Yo(i),n):n}function Ho(n){let i=O(276);return i.elements=de(n),i.transformFlags|=ke(i.elements),i.transformFlags&=-67108865,i}function Xo(n,i){return n.elements!==i?j(Ho(i),n):n}function Sr(n,i,s){let l=ae(277);return l.isTypeOnly=n,l.propertyName=i,l.name=s,l.transformFlags|=z(l.propertyName)|z(l.name),l.transformFlags&=-67108865,l}function gu(n,i,s,l){return n.isTypeOnly!==i||n.propertyName!==s||n.name!==l?j(Sr(i,s,l),n):n}function va(n,i,s){let l=ae(278);return l.modifiers=Pe(n),l.isExportEquals=i,l.expression=i?_().parenthesizeRightSideOfBinary(64,void 0,s):_().parenthesizeExpressionOfExportDefault(s),l.transformFlags|=ke(l.modifiers)|z(l.expression),l.transformFlags&=-67108865,l.jsDoc=void 0,l}function Oi(n,i,s){return n.modifiers!==i||n.expression!==s?j(va(i,n.isExportEquals,s),n):n}function Ta(n,i,s,l,d){let v=ae(279);return v.modifiers=Pe(n),v.isTypeOnly=i,v.exportClause=s,v.moduleSpecifier=l,v.attributes=v.assertClause=d,v.transformFlags|=ke(v.modifiers)|z(v.exportClause)|z(v.moduleSpecifier),v.transformFlags&=-67108865,v.jsDoc=void 0,v}function $o(n,i,s,l,d,v){return n.modifiers!==i||n.isTypeOnly!==s||n.exportClause!==l||n.moduleSpecifier!==d||n.attributes!==v?Mi(Ta(i,s,l,d,v),n):n}function Mi(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),j(n,i)}function Es(n){let i=O(280);return i.elements=de(n),i.transformFlags|=ke(i.elements),i.transformFlags&=-67108865,i}function bu(n,i){return n.elements!==i?j(Es(i),n):n}function xa(n,i,s){let l=O(282);return l.isTypeOnly=n,l.propertyName=et(i),l.name=et(s),l.transformFlags|=z(l.propertyName)|z(l.name),l.transformFlags&=-67108865,l.jsDoc=void 0,l}function vu(n,i,s,l){return n.isTypeOnly!==i||n.propertyName!==s||n.name!==l?j(xa(i,s,l),n):n}function Tu(){let n=ae(283);return n.jsDoc=void 0,n}function As(n){let i=O(284);return i.expression=n,i.transformFlags|=z(i.expression),i.transformFlags&=-67108865,i}function xu(n,i){return n.expression!==i?j(As(i),n):n}function Qo(n){return O(n)}function Ko(n,i,s=!1){let l=Cs(n,s?i&&_().parenthesizeNonArrayTypeOfPostfixType(i):i);return l.postfix=s,l}function Cs(n,i){let s=O(n);return s.type=i,s}function Su(n,i,s){return i.type!==s?j(Ko(n,s,i.postfix),i):i}function wu(n,i,s){return i.type!==s?j(Cs(n,s),i):i}function Zo(n,i){let s=ae(318);return s.parameters=Pe(n),s.type=i,s.transformFlags=ke(s.parameters)|(s.type?1:0),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function ku(n,i,s){return n.parameters!==i||n.type!==s?j(Zo(i,s),n):n}function ec(n,i=!1){let s=ae(323);return s.jsDocPropertyTags=Pe(n),s.isArrayType=i,s}function Eu(n,i,s){return n.jsDocPropertyTags!==i||n.isArrayType!==s?j(ec(i,s),n):n}function tc(n){let i=O(310);return i.type=n,i}function Ds(n,i){return n.type!==i?j(tc(i),n):n}function nc(n,i,s){let l=ae(324);return l.typeParameters=Pe(n),l.parameters=de(i),l.type=s,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l}function Au(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?j(nc(i,s,l),n):n}function rn(n){let i=ol(n.kind);return n.tagName.escapedText===La(i)?n.tagName:We(i)}function vn(n,i,s){let l=O(n);return l.tagName=i,l.comment=s,l}function qr(n,i,s){let l=ae(n);return l.tagName=i,l.comment=s,l}function Ps(n,i,s,l){let d=vn(346,n??We("template"),l);return d.constraint=i,d.typeParameters=de(s),d}function rc(n,i=rn(n),s,l,d){return n.tagName!==i||n.constraint!==s||n.typeParameters!==l||n.comment!==d?j(Ps(i,s,l,d),n):n}function Sa(n,i,s,l){let d=qr(347,n??We("typedef"),l);return d.typeExpression=i,d.fullName=s,d.name=Xd(s),d.locals=void 0,d.nextContainer=void 0,d}function Cu(n,i=rn(n),s,l,d){return n.tagName!==i||n.typeExpression!==s||n.fullName!==l||n.comment!==d?j(Sa(i,s,l,d),n):n}function Ns(n,i,s,l,d,v){let F=qr(342,n??We("param"),v);return F.typeExpression=l,F.name=i,F.isNameFirst=!!d,F.isBracketed=s,F}function Du(n,i=rn(n),s,l,d,v,F){return n.tagName!==i||n.name!==s||n.isBracketed!==l||n.typeExpression!==d||n.isNameFirst!==v||n.comment!==F?j(Ns(i,s,l,d,v,F),n):n}function ic(n,i,s,l,d,v){let F=qr(349,n??We("prop"),v);return F.typeExpression=l,F.name=i,F.isNameFirst=!!d,F.isBracketed=s,F}function ac(n,i=rn(n),s,l,d,v,F){return n.tagName!==i||n.name!==s||n.isBracketed!==l||n.typeExpression!==d||n.isNameFirst!==v||n.comment!==F?j(ic(i,s,l,d,v,F),n):n}function sc(n,i,s,l){let d=qr(339,n??We("callback"),l);return d.typeExpression=i,d.fullName=s,d.name=Xd(s),d.locals=void 0,d.nextContainer=void 0,d}function _c(n,i=rn(n),s,l,d){return n.tagName!==i||n.typeExpression!==s||n.fullName!==l||n.comment!==d?j(sc(i,s,l,d),n):n}function oc(n,i,s){let l=vn(340,n??We("overload"),s);return l.typeExpression=i,l}function Is(n,i=rn(n),s,l){return n.tagName!==i||n.typeExpression!==s||n.comment!==l?j(oc(i,s,l),n):n}function Os(n,i,s){let l=vn(329,n??We("augments"),s);return l.class=i,l}function Li(n,i=rn(n),s,l){return n.tagName!==i||n.class!==s||n.comment!==l?j(Os(i,s,l),n):n}function cc(n,i,s){let l=vn(330,n??We("implements"),s);return l.class=i,l}function Fr(n,i,s){let l=vn(348,n??We("see"),s);return l.name=i,l}function wa(n,i,s,l){return n.tagName!==i||n.name!==s||n.comment!==l?j(Fr(i,s,l),n):n}function lc(n){let i=O(311);return i.name=n,i}function Pu(n,i){return n.name!==i?j(lc(i),n):n}function uc(n,i){let s=O(312);return s.left=n,s.right=i,s.transformFlags|=z(s.left)|z(s.right),s}function Nu(n,i,s){return n.left!==i||n.right!==s?j(uc(i,s),n):n}function pc(n,i){let s=O(325);return s.name=n,s.text=i,s}function fc(n,i,s){return n.name!==i?j(pc(i,s),n):n}function dc(n,i){let s=O(326);return s.name=n,s.text=i,s}function Iu(n,i,s){return n.name!==i?j(dc(i,s),n):n}function mc(n,i){let s=O(327);return s.name=n,s.text=i,s}function Ou(n,i,s){return n.name!==i?j(mc(i,s),n):n}function Mu(n,i=rn(n),s,l){return n.tagName!==i||n.class!==s||n.comment!==l?j(cc(i,s,l),n):n}function hc(n,i,s){return vn(n,i??We(ol(n)),s)}function Lu(n,i,s=rn(i),l){return i.tagName!==s||i.comment!==l?j(hc(n,s,l),i):i}function yc(n,i,s,l){let d=vn(n,i??We(ol(n)),l);return d.typeExpression=s,d}function Ju(n,i,s=rn(i),l,d){return i.tagName!==s||i.typeExpression!==l||i.comment!==d?j(yc(n,s,l,d),i):i}function gc(n,i){return vn(328,n,i)}function ju(n,i,s){return n.tagName!==i||n.comment!==s?j(gc(i,s),n):n}function bc(n,i,s){let l=qr(341,n??We(ol(341)),s);return l.typeExpression=i,l.locals=void 0,l.nextContainer=void 0,l}function Ms(n,i=rn(n),s,l){return n.tagName!==i||n.typeExpression!==s||n.comment!==l?j(bc(i,s,l),n):n}function vc(n,i,s,l,d){let v=vn(352,n??We("import"),d);return v.importClause=i,v.moduleSpecifier=s,v.attributes=l,v.comment=d,v}function Tc(n,i,s,l,d,v){return n.tagName!==i||n.comment!==v||n.importClause!==s||n.moduleSpecifier!==l||n.attributes!==d?j(vc(i,s,l,d,v),n):n}function Ls(n){let i=O(322);return i.text=n,i}function Ru(n,i){return n.text!==i?j(Ls(i),n):n}function Ji(n,i){let s=O(321);return s.comment=n,s.tags=Pe(i),s}function xc(n,i,s){return n.comment!==i||n.tags!==s?j(Ji(i,s),n):n}function Sc(n,i,s){let l=O(285);return l.openingElement=n,l.children=de(i),l.closingElement=s,l.transformFlags|=z(l.openingElement)|ke(l.children)|z(l.closingElement)|2,l}function Uu(n,i,s,l){return n.openingElement!==i||n.children!==s||n.closingElement!==l?j(Sc(i,s,l),n):n}function wc(n,i,s){let l=O(286);return l.tagName=n,l.typeArguments=Pe(i),l.attributes=s,l.transformFlags|=z(l.tagName)|ke(l.typeArguments)|z(l.attributes)|2,l.typeArguments&&(l.transformFlags|=1),l}function Bu(n,i,s,l){return n.tagName!==i||n.typeArguments!==s||n.attributes!==l?j(wc(i,s,l),n):n}function ka(n,i,s){let l=O(287);return l.tagName=n,l.typeArguments=Pe(i),l.attributes=s,l.transformFlags|=z(l.tagName)|ke(l.typeArguments)|z(l.attributes)|2,i&&(l.transformFlags|=1),l}function kc(n,i,s,l){return n.tagName!==i||n.typeArguments!==s||n.attributes!==l?j(ka(i,s,l),n):n}function Js(n){let i=O(288);return i.tagName=n,i.transformFlags|=z(i.tagName)|2,i}function js(n,i){return n.tagName!==i?j(Js(i),n):n}function Yt(n,i,s){let l=O(289);return l.openingFragment=n,l.children=de(i),l.closingFragment=s,l.transformFlags|=z(l.openingFragment)|ke(l.children)|z(l.closingFragment)|2,l}function Ec(n,i,s,l){return n.openingFragment!==i||n.children!==s||n.closingFragment!==l?j(Yt(i,s,l),n):n}function ji(n,i){let s=O(12);return s.text=n,s.containsOnlyTriviaWhiteSpaces=!!i,s.transformFlags|=2,s}function qu(n,i,s){return n.text!==i||n.containsOnlyTriviaWhiteSpaces!==s?j(ji(i,s),n):n}function Ac(){let n=O(290);return n.transformFlags|=2,n}function Cc(){let n=O(291);return n.transformFlags|=2,n}function Dc(n,i){let s=ae(292);return s.name=n,s.initializer=i,s.transformFlags|=z(s.name)|z(s.initializer)|2,s}function Fu(n,i,s){return n.name!==i||n.initializer!==s?j(Dc(i,s),n):n}function Ri(n){let i=ae(293);return i.properties=de(n),i.transformFlags|=ke(i.properties)|2,i}function zu(n,i){return n.properties!==i?j(Ri(i),n):n}function Pc(n){let i=O(294);return i.expression=n,i.transformFlags|=z(i.expression)|2,i}function Vu(n,i){return n.expression!==i?j(Pc(i),n):n}function Nc(n,i){let s=O(295);return s.dotDotDotToken=n,s.expression=i,s.transformFlags|=z(s.dotDotDotToken)|z(s.expression)|2,s}function Rs(n,i){return n.expression!==i?j(Nc(n.dotDotDotToken,i),n):n}function si(n,i){let s=O(296);return s.namespace=n,s.name=i,s.transformFlags|=z(s.namespace)|z(s.name)|2,s}function Wu(n,i,s){return n.namespace!==i||n.name!==s?j(si(i,s),n):n}function Ea(n,i){let s=O(297);return s.expression=_().parenthesizeExpressionForDisallowedComma(n),s.statements=de(i),s.transformFlags|=z(s.expression)|ke(s.statements),s.jsDoc=void 0,s}function Ic(n,i,s){return n.expression!==i||n.statements!==s?j(Ea(i,s),n):n}function Oc(n){let i=O(298);return i.statements=de(n),i.transformFlags=ke(i.statements),i}function Ui(n,i){return n.statements!==i?j(Oc(i),n):n}function Us(n,i){let s=O(299);switch(s.token=n,s.types=de(i),s.transformFlags|=ke(s.types),n){case 96:s.transformFlags|=1024;break;case 119:s.transformFlags|=1;break;default:return q.assertNever(n)}return s}function Gu(n,i){return n.types!==i?j(Us(n.token,i),n):n}function Mc(n,i){let s=O(300);return s.variableDeclaration=Tn(n),s.block=i,s.transformFlags|=z(s.variableDeclaration)|z(s.block)|(n?0:64),s.locals=void 0,s.nextContainer=void 0,s}function Lc(n,i,s){return n.variableDeclaration!==i||n.block!==s?j(Mc(i,s),n):n}function Aa(n,i){let s=ae(304);return s.name=et(n),s.initializer=_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=Ln(s.name)|z(s.initializer),s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function Bs(n,i,s){return n.name!==i||n.initializer!==s?_i(Aa(i,s),n):n}function _i(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken),j(n,i)}function Jc(n,i){let s=ae(305);return s.name=et(n),s.objectAssignmentInitializer=i&&_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=ja(s.name)|z(s.objectAssignmentInitializer)|1024,s.equalsToken=void 0,s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function Yu(n,i,s){return n.name!==i||n.objectAssignmentInitializer!==s?Hu(Jc(i,s),n):n}function Hu(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken,n.equalsToken=i.equalsToken),j(n,i)}function jc(n){let i=ae(306);return i.expression=_().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=z(i.expression)|128|65536,i.jsDoc=void 0,i}function Rc(n,i){return n.expression!==i?j(jc(i),n):n}function qs(n,i){let s=ae(307);return s.name=et(n),s.initializer=i&&_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=z(s.name)|z(s.initializer)|1,s.jsDoc=void 0,s}function On(n,i,s){return n.name!==i||n.initializer!==s?j(qs(i,s),n):n}function Uc(n,i,s){let l=t.createBaseSourceFileNode(308);return l.statements=de(n),l.endOfFileToken=i,l.flags|=s,l.text="",l.fileName="",l.path="",l.resolvedPath="",l.originalFileName="",l.languageVersion=1,l.languageVariant=0,l.scriptKind=0,l.isDeclarationFile=!1,l.hasNoDefaultLib=!1,l.transformFlags|=ke(l.statements)|z(l.endOfFileToken),l.locals=void 0,l.nextContainer=void 0,l.endFlowNode=void 0,l.nodeCount=0,l.identifierCount=0,l.symbolCount=0,l.parseDiagnostics=void 0,l.bindDiagnostics=void 0,l.bindSuggestionDiagnostics=void 0,l.lineMap=void 0,l.externalModuleIndicator=void 0,l.setExternalModuleIndicator=void 0,l.pragmas=void 0,l.checkJsDirective=void 0,l.referencedFiles=void 0,l.typeReferenceDirectives=void 0,l.libReferenceDirectives=void 0,l.amdDependencies=void 0,l.commentDirectives=void 0,l.identifiers=void 0,l.packageJsonLocations=void 0,l.packageJsonScope=void 0,l.imports=void 0,l.moduleAugmentations=void 0,l.ambientModuleNames=void 0,l.classifiableNames=void 0,l.impliedNodeFormat=void 0,l}function Bc(n){let i=Object.create(n.redirectTarget);return Object.defineProperties(i,{id:{get(){return this.redirectInfo.redirectTarget.id},set(s){this.redirectInfo.redirectTarget.id=s}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(s){this.redirectInfo.redirectTarget.symbol=s}}}),i.redirectInfo=n,i}function Xu(n){let i=Bc(n.redirectInfo);return i.flags|=n.flags&-17,i.fileName=n.fileName,i.path=n.path,i.resolvedPath=n.resolvedPath,i.originalFileName=n.originalFileName,i.packageJsonLocations=n.packageJsonLocations,i.packageJsonScope=n.packageJsonScope,i.emitNode=void 0,i}function $u(n){let i=t.createBaseSourceFileNode(308);i.flags|=n.flags&-17;for(let s in n)if(!(Dr(i,s)||!Dr(n,s))){if(s==="emitNode"){i.emitNode=void 0;continue}i[s]=n[s]}return i}function Fs(n){let i=n.redirectInfo?Xu(n):$u(n);return a(i,n),i}function zs(n,i,s,l,d,v,F){let pe=Fs(n);return pe.statements=de(i),pe.isDeclarationFile=s,pe.referencedFiles=l,pe.typeReferenceDirectives=d,pe.hasNoDefaultLib=v,pe.libReferenceDirectives=F,pe.transformFlags=ke(pe.statements)|z(pe.endOfFileToken),pe}function Qu(n,i,s=n.isDeclarationFile,l=n.referencedFiles,d=n.typeReferenceDirectives,v=n.hasNoDefaultLib,F=n.libReferenceDirectives){return n.statements!==i||n.isDeclarationFile!==s||n.referencedFiles!==l||n.typeReferenceDirectives!==d||n.hasNoDefaultLib!==v||n.libReferenceDirectives!==F?j(zs(n,i,s,l,d,v,F),n):n}function qc(n){let i=O(309);return i.sourceFiles=n,i.syntheticFileReferences=void 0,i.syntheticTypeReferences=void 0,i.syntheticLibReferences=void 0,i.hasNoDefaultLib=void 0,i}function Fc(n,i){return n.sourceFiles!==i?j(qc(i),n):n}function Ku(n,i=!1,s){let l=O(238);return l.type=n,l.isSpread=i,l.tupleNameSource=s,l}function Zu(n){let i=O(353);return i._children=n,i}function Ca(n){let i=O(354);return i.original=n,dn(i,n),i}function Vs(n,i){let s=O(356);return s.expression=n,s.original=i,s.transformFlags|=z(s.expression)|1,dn(s,i),s}function zc(n,i){return n.expression!==i?j(Vs(i,n.original),n):n}function ep(){return O(355)}function tp(n){if(Ja(n)&&!gl(n)&&!n.original&&!n.emitNode&&!n.id){if(i6(n))return n.elements;if(na(n)&&Fb(n.operatorToken))return[n.left,n.right]}return n}function Ws(n){let i=O(357);return i.elements=de(py(n,tp)),i.transformFlags|=ke(i.elements),i}function np(n,i){return n.elements!==i?j(Ws(i),n):n}function Gs(n,i){let s=O(358);return s.expression=n,s.thisArg=i,s.transformFlags|=z(s.expression)|z(s.thisArg),s}function Vc(n,i,s){return n.expression!==i||n.thisArg!==s?j(Gs(i,s),n):n}function Wc(n){let i=hn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function rp(n){let i=hn(n.escapedText);i.flags|=n.flags&-17,i.jsDoc=n.jsDoc,i.flowNode=n.flowNode,i.symbol=n.symbol,i.transformFlags=n.transformFlags,a(i,n);let s=getIdentifierTypeArguments(n);return s&&setIdentifierTypeArguments(i,s),i}function ip(n){let i=Pn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function Gc(n){let i=Pn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),i}function Da(n){if(n===void 0)return n;if(eh(n))return Fs(n);if(Ua(n))return Wc(n);if(Ke(n))return rp(n);if(r1(n))return ip(n);if(gi(n))return Gc(n);let i=df(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n);for(let s in n)Dr(i,s)||!Dr(n,s)||(i[s]=n[s]);return i}function ap(n,i,s){return Di(is(void 0,void 0,void 0,void 0,i?[i]:[],void 0,Br(n,!0)),void 0,s?[s]:[])}function sp(n,i,s){return Di(as(void 0,void 0,i?[i]:[],void 0,void 0,Br(n,!0)),void 0,s?[s]:[])}function Bi(){return ss(V("0"))}function Yc(n){return va(void 0,!1,n)}function Hc(n){return Ta(void 0,!1,Es([xa(!1,void 0,n)]))}function _p(n,i){return i==="null"?he.createStrictEquality(n,Lt()):i==="undefined"?he.createStrictEquality(n,Bi()):he.createStrictEquality(fa(n),ft(i))}function Ys(n,i){return i==="null"?he.createStrictInequality(n,Lt()):i==="undefined"?he.createStrictInequality(n,Bi()):he.createStrictInequality(fa(n),ft(i))}function zr(n,i,s){return Pd(n)?ts(Ai(n,void 0,i),void 0,void 0,s):Di(cr(n,i),void 0,s)}function op(n,i,s){return zr(n,"bind",[i,...s])}function cp(n,i,s){return zr(n,"call",[i,...s])}function lp(n,i,s){return zr(n,"apply",[i,s])}function qi(n,i,s){return zr(We(n),i,s)}function up(n,i){return zr(n,"slice",i===void 0?[]:[wr(i)])}function Fi(n,i){return zr(n,"concat",i)}function pp(n,i,s){return qi("Object","defineProperty",[n,wr(i),s])}function Hs(n,i){return qi("Object","getOwnPropertyDescriptor",[n,wr(i)])}function oi(n,i,s){return qi("Reflect","get",s?[n,i,s]:[n,i])}function Xc(n,i,s,l){return qi("Reflect","set",l?[n,i,s,l]:[n,i,s])}function ci(n,i,s){return s?(n.push(Aa(i,s)),!0):!1}function fp(n,i){let s=[];ci(s,"enumerable",wr(n.enumerable)),ci(s,"configurable",wr(n.configurable));let l=ci(s,"writable",wr(n.writable));l=ci(s,"value",n.value)||l;let d=ci(s,"get",n.get);return d=ci(s,"set",n.set)||d,q.assert(!(l&&d),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ei(s,!i)}function $c(n,i){switch(n.kind){case 218:return U_(n,i);case 217:return R_(n,n.type,i);case 235:return ha(n,i,n.type);case 239:return ro(n,i,n.type);case 236:return no(n,i);case 234:return eo(n,i,n.typeArguments);case 356:return zc(n,i)}}function dp(n){return Dl(n)&&Ja(n)&&Ja(getSourceMapRange(n))&&Ja(getCommentRange(n))&&!Zt(getSyntheticLeadingComments(n))&&!Zt(getSyntheticTrailingComments(n))}function Qc(n,i,s=63){return n&&_h(n,s)&&!dp(n)?$c(n,Qc(n.expression,i)):i}function Kc(n,i,s){if(!i)return n;let l=xo(i,i.label,H1(i.statement)?Kc(n,i.statement):n);return s&&s(i),l}function Xs(n,i){let s=Tf(n);switch(s.kind){case 80:return i;case 110:case 9:case 10:case 11:return!1;case 210:return s.elements.length!==0;case 211:return s.properties.length>0;default:return!0}}function Zc(n,i,s,l=!1){let d=Wf(n,63),v,F;return jd(d)?(v=Bt(),F=d):Cp(d)?(v=Bt(),F=s!==void 0&&s<2?dn(We("_super"),d):d):za(d)&8192?(v=Bi(),F=_().parenthesizeLeftSideOfAccess(d,!1)):dr(d)?Xs(d.expression,l)?(v=ir(i),F=cr(dn(he.createAssignment(v,d.expression),d.expression),d.name),dn(F,d)):(v=d.expression,F=d):Ha(d)?Xs(d.expression,l)?(v=ir(i),F=Ci(dn(he.createAssignment(v,d.expression),d.expression),d.argumentExpression),dn(F,d)):(v=d.expression,F=d):(v=Bi(),F=_().parenthesizeLeftSideOfAccess(n,!1)),{target:F,thisArg:v}}function el(n,i){return cr(rs(Ei([U(void 0,"value",[mr(void 0,void 0,n,void 0,void 0,void 0)],Br([Ni(i)]))])),"value")}function o(n){return n.length>10?Ws(n):xy(n,he.createComma)}function p(n,i,s,l=0,d){let v=d?n&&uf(n):$m(n);if(v&&Ke(v)&&!Ua(v)){let F=wf(dn(Da(v),v),v.parent);return l|=za(v),s||(l|=96),i||(l|=3072),l&&setEmitFlags(F,l),F}return Bn(n)}function m(n,i,s){return p(n,i,s,98304)}function g(n,i,s,l){return p(n,i,s,32768,l)}function b(n,i,s){return p(n,i,s,16384)}function N(n,i,s){return p(n,i,s)}function Q(n,i,s,l){let d=cr(n,Ja(i)?i:Da(i));dn(d,i);let v=0;return l||(v|=96),s||(v|=3072),v&&setEmitFlags(d,v),d}function _e(n,i,s,l){return n&&v_(i,32)?Q(n,p(i),s,l):b(i,s,l)}function ee(n,i,s,l){let d=je(n,i,0,s);return Je(n,i,d,l)}function te(n){return vi(n.expression)&&n.expression.text==="use strict"}function ce(){return k6(Ni(ft("use strict")))}function je(n,i,s=0,l){q.assert(i.length===0,"Prologue directives should be at the first statement in the target statements array");let d=!1,v=n.length;for(;spe&&It.splice(d,0,...i.slice(pe,Fe)),pe>F&&It.splice(l,0,...i.slice(F,pe)),F>v&&It.splice(s,0,...i.slice(v,F)),v>0)if(s===0)It.splice(0,0,...i.slice(0,v));else{let fr=new Map;for(let xn=0;xn=0;xn--){let Vi=i[xn];fr.has(Vi.expression.text)||It.unshift(Vi)}}return mi(n)?dn(de(It,n.hasTrailingComma),n):n}function pr(n,i){let s;return typeof i=="number"?s=yn(i):s=i,Af(n)?sr(n,s,n.name,n.constraint,n.default):m_(n)?hr(n,s,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):If(n)?ze(n,s,n.typeParameters,n.parameters,n.type):D1(n)?Vn(n,s,n.name,n.questionToken,n.type):Wa(n)?L(n,s,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):P1(n)?fe(n,s,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):h_(n)?He(n,s,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Cf(n)?Mr(n,s,n.parameters,n.body):Tl(n)?Wn(n,s,n.name,n.parameters,n.type,n.body):y_(n)?K(n,s,n.name,n.parameters,n.body):Df(n)?Ze(n,s,n.parameters,n.type):Lf(n)?B_(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Jf(n)?q_(n,s,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):xl(n)?cs(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):Xa(n)?so(n,s,n.declarationList):Rf(n)?Ts(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Ga(n)?ba(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):T_(n)?Po(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):Nl(n)?vr(n,s,n.name,n.typeParameters,n.type):$1(n)?Tr(n,s,n.name,n.members):Ti(n)?kt(n,s,n.name,n.body):Uf(n)?Jo(n,s,n.isTypeOnly,n.name,n.moduleReference):Bf(n)?Ro(n,s,n.importClause,n.moduleSpecifier,n.attributes):qf(n)?Oi(n,s,n.expression):Ff(n)?$o(n,s,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.attributes):q.assertNever(n)}function Mn(n,i){return m_(n)?hr(n,i,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Wa(n)?L(n,i,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):h_(n)?He(n,i,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Tl(n)?Wn(n,i,n.name,n.parameters,n.type,n.body):y_(n)?K(n,i,n.name,n.parameters,n.body):xl(n)?cs(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):Ga(n)?ba(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):q.assertNever(n)}function Vr(n,i){switch(n.kind){case 178:return Wn(n,n.modifiers,i,n.parameters,n.type,n.body);case 179:return K(n,n.modifiers,i,n.parameters,n.body);case 175:return He(n,n.modifiers,n.asteriskToken,i,n.questionToken,n.typeParameters,n.parameters,n.type,n.body);case 174:return fe(n,n.modifiers,i,n.questionToken,n.typeParameters,n.parameters,n.type);case 173:return L(n,n.modifiers,i,n.questionToken??n.exclamationToken,n.type,n.initializer);case 172:return Vn(n,n.modifiers,i,n.questionToken,n.type);case 304:return Bs(n,i,n.initializer)}}function Pe(n){return n?de(n):void 0}function et(n){return typeof n=="string"?We(n):n}function wr(n){return typeof n=="string"?ft(n):typeof n=="number"?V(n):typeof n=="boolean"?n?ct():ar():n}function zi(n){return n&&_().parenthesizeExpressionForDisallowedComma(n)}function mp(n){return typeof n=="number"?ot(n):n}function $n(n){return n&&a6(n)?dn(a(_o(),n),n):n}function Tn(n){return typeof n=="string"||n&&!jf(n)?ga(n,void 0,void 0,void 0):n}function j(n,i){return n!==i&&(a(n,i),dn(n,i)),n}}function ol(e){switch(e){case 345:return"type";case 343:return"returns";case 344:return"this";case 341:return"enum";case 331:return"author";case 333:return"class";case 334:return"public";case 335:return"private";case 336:return"protected";case 337:return"readonly";case 338:return"override";case 346:return"template";case 347:return"typedef";case 342:return"param";case 349:return"prop";case 339:return"callback";case 340:return"overload";case 329:return"augments";case 330:return"implements";case 352:return"import";default:return q.fail(`Unsupported kind: ${q.formatSyntaxKind(e)}`)}}var Sn,zd={};function Lb(e,t){switch(Sn||(Sn=_f(99,!1,0)),e){case 15:Sn.setText("`"+t+"`");break;case 16:Sn.setText("`"+t+"${");break;case 17:Sn.setText("}"+t+"${");break;case 18:Sn.setText("}"+t+"`");break}let a=Sn.scan();if(a===20&&(a=Sn.reScanTemplateToken(!1)),Sn.isUnterminated())return Sn.setText(void 0),zd;let _;switch(a){case 15:case 16:case 17:case 18:_=Sn.getTokenValue();break}return _===void 0||Sn.scan()!==1?(Sn.setText(void 0),zd):(Sn.setText(void 0),_)}function Ln(e){return e&&Ke(e)?ja(e):z(e)}function ja(e){return z(e)&-67108865}function Jb(e,t){return t|e.transformFlags&134234112}function z(e){if(!e)return 0;let t=e.transformFlags&~jb(e.kind);return Tg(e)&&i1(e.name)?Jb(e.name,t):t}function ke(e){return e?e.transformFlags:0}function Vd(e){let t=0;for(let a of e)t|=z(a);e.transformFlags=t}function jb(e){if(e>=183&&e<=206)return-2;switch(e){case 214:case 215:case 210:return-2147450880;case 268:return-1941676032;case 170:return-2147483648;case 220:return-2072174592;case 219:case 263:return-1937940480;case 262:return-2146893824;case 264:case 232:return-2147344384;case 177:return-1937948672;case 173:return-2013249536;case 175:case 178:case 179:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 169:case 172:case 174:case 180:case 181:case 182:case 265:case 266:return-2;case 211:return-2147278848;case 300:return-2147418112;case 207:case 208:return-2147450880;case 217:case 239:case 235:case 356:case 218:case 108:return-2147483648;case 212:case 213:return-2147483648;default:return-2147483648}}var Ks=Ib();function Zs(e){return e.flags|=16,e}var Rb={createBaseSourceFileNode:e=>Zs(Ks.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>Zs(Ks.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>Zs(Ks.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>Zs(Ks.createBaseTokenNode(e)),createBaseNode:e=>Zs(Ks.createBaseNode(e))},L3=kf(4,Rb);function Ub(e,t){if(e.original!==t&&(e.original=t,t)){let a=t.emitNode;a&&(e.emitNode=Bb(a,e.emitNode))}return e}function Bb(e,t){let{flags:a,internalFlags:_,leadingComments:f,trailingComments:h,commentRange:T,sourceMapRange:k,tokenSourceMapRanges:c,constantValue:W,helpers:y,startsOnNewLine:G,snippetElement:E,classThis:D,assignedName:R}=e;if(t||(t={}),a&&(t.flags=a),_&&(t.internalFlags=_&-9),f&&(t.leadingComments=En(f.slice(),t.leadingComments)),h&&(t.trailingComments=En(h.slice(),t.trailingComments)),T&&(t.commentRange=T),k&&(t.sourceMapRange=k),c&&(t.tokenSourceMapRanges=qb(c,t.tokenSourceMapRanges)),W!==void 0&&(t.constantValue=W),y)for(let ue of y)t.helpers=hy(t.helpers,ue);return G!==void 0&&(t.startsOnNewLine=G),E!==void 0&&(t.snippetElement=E),D&&(t.classThis=D),R&&(t.assignedName=R),t}function qb(e,t){t||(t=[]);for(let a in e)t[a]=e[a];return t}function aa(e){return e.kind===9}function E1(e){return e.kind===10}function vi(e){return e.kind===11}function A1(e){return e.kind===15}function Fb(e){return e.kind===28}function Wd(e){return e.kind===54}function Gd(e){return e.kind===58}function Ke(e){return e.kind===80}function gi(e){return e.kind===81}function zb(e){return e.kind===95}function cl(e){return e.kind===134}function Cp(e){return e.kind===108}function Vb(e){return e.kind===102}function C1(e){return e.kind===167}function Ef(e){return e.kind===168}function Af(e){return e.kind===169}function m_(e){return e.kind===170}function Cl(e){return e.kind===171}function D1(e){return e.kind===172}function Wa(e){return e.kind===173}function P1(e){return e.kind===174}function h_(e){return e.kind===175}function Cf(e){return e.kind===177}function Tl(e){return e.kind===178}function y_(e){return e.kind===179}function N1(e){return e.kind===180}function I1(e){return e.kind===181}function Df(e){return e.kind===182}function O1(e){return e.kind===183}function Pf(e){return e.kind===184}function Nf(e){return e.kind===185}function If(e){return e.kind===186}function Wb(e){return e.kind===187}function M1(e){return e.kind===188}function Gb(e){return e.kind===189}function Yb(e){return e.kind===190}function L1(e){return e.kind===203}function Hb(e){return e.kind===191}function Xb(e){return e.kind===192}function J1(e){return e.kind===193}function j1(e){return e.kind===194}function $b(e){return e.kind===195}function Qb(e){return e.kind===196}function R1(e){return e.kind===197}function Kb(e){return e.kind===198}function U1(e){return e.kind===199}function Zb(e){return e.kind===200}function B1(e){return e.kind===201}function e6(e){return e.kind===202}function t6(e){return e.kind===206}function q1(e){return e.kind===209}function F1(e){return e.kind===210}function Of(e){return e.kind===211}function dr(e){return e.kind===212}function Ha(e){return e.kind===213}function Mf(e){return e.kind===214}function z1(e){return e.kind===216}function Dl(e){return e.kind===218}function Lf(e){return e.kind===219}function Jf(e){return e.kind===220}function n6(e){return e.kind===223}function V1(e){return e.kind===225}function na(e){return e.kind===227}function W1(e){return e.kind===231}function xl(e){return e.kind===232}function G1(e){return e.kind===233}function Y1(e){return e.kind===234}function fl(e){return e.kind===236}function r6(e){return e.kind===237}function i6(e){return e.kind===357}function Xa(e){return e.kind===244}function Pl(e){return e.kind===245}function H1(e){return e.kind===257}function jf(e){return e.kind===261}function X1(e){return e.kind===262}function Rf(e){return e.kind===263}function Ga(e){return e.kind===264}function T_(e){return e.kind===265}function Nl(e){return e.kind===266}function $1(e){return e.kind===267}function Ti(e){return e.kind===268}function Uf(e){return e.kind===272}function Bf(e){return e.kind===273}function qf(e){return e.kind===278}function Ff(e){return e.kind===279}function Q1(e){return e.kind===280}function a6(e){return e.kind===354}function zf(e){return e.kind===284}function zp(e){return e.kind===287}function s6(e){return e.kind===290}function K1(e){return e.kind===296}function _6(e){return e.kind===298}function Z1(e){return e.kind===304}function eh(e){return e.kind===308}function th(e){return e.kind===310}function nh(e){return e.kind===315}function rh(e){return e.kind===318}function ih(e){return e.kind===321}function o6(e){return e.kind===323}function Il(e){return e.kind===324}function c6(e){return e.kind===329}function l6(e){return e.kind===334}function u6(e){return e.kind===335}function p6(e){return e.kind===336}function f6(e){return e.kind===337}function d6(e){return e.kind===338}function m6(e){return e.kind===340}function h6(e){return e.kind===332}function Vp(e){return e.kind===342}function y6(e){return e.kind===343}function Vf(e){return e.kind===345}function ah(e){return e.kind===346}function g6(e){return e.kind===330}function b6(e){return e.kind===351}var ea=new WeakMap;function sh(e,t){var a;let _=e.kind;return df(_)?_===353?e._children:(a=ea.get(t))==null?void 0:a.get(e):vt}function v6(e,t,a){e.kind===353&&q.fail("Should not need to re-set the children of a SyntaxList.");let _=ea.get(t);return _===void 0&&(_=new WeakMap,ea.set(t,_)),_.set(e,a),a}function Yd(e,t){var a;e.kind===353&&q.fail("Did not expect to unset the children of a SyntaxList."),(a=ea.get(t))==null||a.delete(e)}function T6(e,t){let a=ea.get(e);a!==void 0&&(ea.delete(e),ea.set(t,a))}function Hd(e){return(za(e)&32768)!==0}function x6(e){return vi(e.expression)&&e.expression.text==="use strict"}function S6(e){for(let t of e)if(pl(t)){if(x6(t))return t}else break}function w6(e){return Dl(e)&&ia(e)&&!!Lg(e)}function _h(e,t=63){switch(e.kind){case 218:return t&-2147483648&&w6(e)?!1:(t&1)!==0;case 217:case 235:return(t&2)!==0;case 239:return(t&34)!==0;case 234:return(t&16)!==0;case 236:return(t&4)!==0;case 356:return(t&8)!==0}return!1}function Wf(e,t=63){for(;_h(e,t);)e=e.expression;return e}function k6(e){return setStartsOnNewLine(e,!0)}function i_(e){if(Qg(e))return e.name;if(Hg(e)){switch(e.kind){case 304:return i_(e.initializer);case 305:return e.name;case 306:return i_(e.expression)}return}return vl(e,!0)?i_(e.left):W1(e)?i_(e.expression):e}function E6(e){switch(e.kind){case 207:case 208:case 210:return e.elements;case 211:return e.properties}}function Xd(e){if(e){let t=e;for(;;){if(Ke(t)||!t.body)return Ke(t)?t:t.name;t=t.body}}}var $d;(e=>{function t(y,G,E,D,R,ue,be){let he=G>0?R[G-1]:void 0;return q.assertEqual(E[G],t),R[G]=y.onEnter(D[G],he,be),E[G]=k(y,t),G}e.enter=t;function a(y,G,E,D,R,ue,be){q.assertEqual(E[G],a),q.assertIsDefined(y.onLeft),E[G]=k(y,a);let he=y.onLeft(D[G].left,R[G],D[G]);return he?(W(G,D,he),c(G,E,D,R,he)):G}e.left=a;function _(y,G,E,D,R,ue,be){return q.assertEqual(E[G],_),q.assertIsDefined(y.onOperator),E[G]=k(y,_),y.onOperator(D[G].operatorToken,R[G],D[G]),G}e.operator=_;function f(y,G,E,D,R,ue,be){q.assertEqual(E[G],f),q.assertIsDefined(y.onRight),E[G]=k(y,f);let he=y.onRight(D[G].right,R[G],D[G]);return he?(W(G,D,he),c(G,E,D,R,he)):G}e.right=f;function h(y,G,E,D,R,ue,be){q.assertEqual(E[G],h),E[G]=k(y,h);let he=y.onExit(D[G],R[G]);if(G>0){if(G--,y.foldState){let de=E[G]===h?"right":"left";R[G]=y.foldState(R[G],he,de)}}else ue.value=he;return G}e.exit=h;function T(y,G,E,D,R,ue,be){return q.assertEqual(E[G],T),G}e.done=T;function k(y,G){switch(G){case t:if(y.onLeft)return a;case a:if(y.onOperator)return _;case _:if(y.onRight)return f;case f:return h;case h:return T;case T:return T;default:q.fail("Invalid state")}}e.nextState=k;function c(y,G,E,D,R){return y++,G[y]=t,E[y]=R,D[y]=void 0,y}function W(y,G,E){if(q.shouldAssert(2))for(;y>=0;)q.assert(G[y]!==E,"Circular traversal detected."),y--}})($d||($d={}));function Qd(e,t){return typeof e=="object"?Wp(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function A6(e,t){return typeof e=="string"?e:C6(e,q.checkDefined(t))}function C6(e,t){return r1(e)?t(e).slice(1):Ua(e)?t(e):gi(e)?e.escapedText.slice(1):An(e)}function Wp(e,t,a,_,f){return t=Qd(t,f),_=Qd(_,f),a=A6(a,f),`${e?"#":""}${t}${a}${_}`}function oh(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of E6(e)){let a=i_(t);if(a&&$g(a)&&(a.transformFlags&65536||a.transformFlags&128&&oh(a)))return!0}return!1}function dn(e,t){return t?yi(e,t.pos,t.end):e}function Ol(e){let t=e.kind;return t===169||t===170||t===172||t===173||t===174||t===175||t===177||t===178||t===179||t===182||t===186||t===219||t===220||t===232||t===244||t===263||t===264||t===265||t===266||t===267||t===268||t===272||t===273||t===278||t===279}function Gf(e){let t=e.kind;return t===170||t===173||t===175||t===178||t===179||t===232||t===264}var Kd,Zd,em,tm,nm,D6={createBaseSourceFileNode:e=>new(nm||(nm=Et.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(em||(em=Et.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(tm||(tm=Et.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Zd||(Zd=Et.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(Kd||(Kd=Et.getNodeConstructor()))(e,-1,-1)},J3=kf(1,D6);function S(e,t){return t&&e(t)}function ie(e,t,a){if(a){if(t)return t(a);for(let _ of a){let f=e(_);if(f)return f}}}function P6(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function N6(e){return jn(e.statements,I6)||O6(e)}function I6(e){return Ol(e)&&M6(e,95)||Uf(e)&&zf(e.moduleReference)||Bf(e)||qf(e)||Ff(e)?e:void 0}function O6(e){return e.flags&8388608?ch(e):void 0}function ch(e){return L6(e)?e:Xt(e,ch)}function M6(e,t){return Zt(e.modifiers,a=>a.kind===t)}function L6(e){return r6(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var J6={167:function(t,a,_){return S(a,t.left)||S(a,t.right)},169:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.constraint)||S(a,t.default)||S(a,t.expression)},305:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.equalsToken)||S(a,t.objectAssignmentInitializer)},306:function(t,a,_){return S(a,t.expression)},170:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},173:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},172:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},304:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.initializer)},261:function(t,a,_){return S(a,t.name)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},209:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.propertyName)||S(a,t.name)||S(a,t.initializer)},182:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},186:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},185:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},180:rm,181:rm,175:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},174:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},177:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},178:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},179:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},263:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},219:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},220:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.equalsGreaterThanToken)||S(a,t.body)},176:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.body)},184:function(t,a,_){return S(a,t.typeName)||ie(a,_,t.typeArguments)},183:function(t,a,_){return S(a,t.assertsModifier)||S(a,t.parameterName)||S(a,t.type)},187:function(t,a,_){return S(a,t.exprName)||ie(a,_,t.typeArguments)},188:function(t,a,_){return ie(a,_,t.members)},189:function(t,a,_){return S(a,t.elementType)},190:function(t,a,_){return ie(a,_,t.elements)},193:im,194:im,195:function(t,a,_){return S(a,t.checkType)||S(a,t.extendsType)||S(a,t.trueType)||S(a,t.falseType)},196:function(t,a,_){return S(a,t.typeParameter)},206:function(t,a,_){return S(a,t.argument)||S(a,t.attributes)||S(a,t.qualifier)||ie(a,_,t.typeArguments)},303:function(t,a,_){return S(a,t.assertClause)},197:am,199:am,200:function(t,a,_){return S(a,t.objectType)||S(a,t.indexType)},201:function(t,a,_){return S(a,t.readonlyToken)||S(a,t.typeParameter)||S(a,t.nameType)||S(a,t.questionToken)||S(a,t.type)||ie(a,_,t.members)},202:function(t,a,_){return S(a,t.literal)},203:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)},207:sm,208:sm,210:function(t,a,_){return ie(a,_,t.elements)},211:function(t,a,_){return ie(a,_,t.properties)},212:function(t,a,_){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.name)},213:function(t,a,_){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.argumentExpression)},214:_m,215:_m,216:function(t,a,_){return S(a,t.tag)||S(a,t.questionDotToken)||ie(a,_,t.typeArguments)||S(a,t.template)},217:function(t,a,_){return S(a,t.type)||S(a,t.expression)},218:function(t,a,_){return S(a,t.expression)},221:function(t,a,_){return S(a,t.expression)},222:function(t,a,_){return S(a,t.expression)},223:function(t,a,_){return S(a,t.expression)},225:function(t,a,_){return S(a,t.operand)},230:function(t,a,_){return S(a,t.asteriskToken)||S(a,t.expression)},224:function(t,a,_){return S(a,t.expression)},226:function(t,a,_){return S(a,t.operand)},227:function(t,a,_){return S(a,t.left)||S(a,t.operatorToken)||S(a,t.right)},235:function(t,a,_){return S(a,t.expression)||S(a,t.type)},236:function(t,a,_){return S(a,t.expression)},239:function(t,a,_){return S(a,t.expression)||S(a,t.type)},237:function(t,a,_){return S(a,t.name)},228:function(t,a,_){return S(a,t.condition)||S(a,t.questionToken)||S(a,t.whenTrue)||S(a,t.colonToken)||S(a,t.whenFalse)},231:function(t,a,_){return S(a,t.expression)},242:om,269:om,308:function(t,a,_){return ie(a,_,t.statements)||S(a,t.endOfFileToken)},244:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.declarationList)},262:function(t,a,_){return ie(a,_,t.declarations)},245:function(t,a,_){return S(a,t.expression)},246:function(t,a,_){return S(a,t.expression)||S(a,t.thenStatement)||S(a,t.elseStatement)},247:function(t,a,_){return S(a,t.statement)||S(a,t.expression)},248:function(t,a,_){return S(a,t.expression)||S(a,t.statement)},249:function(t,a,_){return S(a,t.initializer)||S(a,t.condition)||S(a,t.incrementor)||S(a,t.statement)},250:function(t,a,_){return S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},251:function(t,a,_){return S(a,t.awaitModifier)||S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},252:cm,253:cm,254:function(t,a,_){return S(a,t.expression)},255:function(t,a,_){return S(a,t.expression)||S(a,t.statement)},256:function(t,a,_){return S(a,t.expression)||S(a,t.caseBlock)},270:function(t,a,_){return ie(a,_,t.clauses)},297:function(t,a,_){return S(a,t.expression)||ie(a,_,t.statements)},298:function(t,a,_){return ie(a,_,t.statements)},257:function(t,a,_){return S(a,t.label)||S(a,t.statement)},258:function(t,a,_){return S(a,t.expression)},259:function(t,a,_){return S(a,t.tryBlock)||S(a,t.catchClause)||S(a,t.finallyBlock)},300:function(t,a,_){return S(a,t.variableDeclaration)||S(a,t.block)},171:function(t,a,_){return S(a,t.expression)},264:lm,232:lm,265:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.heritageClauses)||ie(a,_,t.members)},266:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||S(a,t.type)},267:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.members)},307:function(t,a,_){return S(a,t.name)||S(a,t.initializer)},268:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.body)},272:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.moduleReference)},273:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.importClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},274:function(t,a,_){return S(a,t.name)||S(a,t.namedBindings)},301:function(t,a,_){return ie(a,_,t.elements)},302:function(t,a,_){return S(a,t.name)||S(a,t.value)},271:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)},275:function(t,a,_){return S(a,t.name)},281:function(t,a,_){return S(a,t.name)},276:um,280:um,279:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.exportClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},277:pm,282:pm,278:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.expression)},229:function(t,a,_){return S(a,t.head)||ie(a,_,t.templateSpans)},240:function(t,a,_){return S(a,t.expression)||S(a,t.literal)},204:function(t,a,_){return S(a,t.head)||ie(a,_,t.templateSpans)},205:function(t,a,_){return S(a,t.type)||S(a,t.literal)},168:function(t,a,_){return S(a,t.expression)},299:function(t,a,_){return ie(a,_,t.types)},234:function(t,a,_){return S(a,t.expression)||ie(a,_,t.typeArguments)},284:function(t,a,_){return S(a,t.expression)},283:function(t,a,_){return ie(a,_,t.modifiers)},357:function(t,a,_){return ie(a,_,t.elements)},285:function(t,a,_){return S(a,t.openingElement)||ie(a,_,t.children)||S(a,t.closingElement)},289:function(t,a,_){return S(a,t.openingFragment)||ie(a,_,t.children)||S(a,t.closingFragment)},286:fm,287:fm,293:function(t,a,_){return ie(a,_,t.properties)},292:function(t,a,_){return S(a,t.name)||S(a,t.initializer)},294:function(t,a,_){return S(a,t.expression)},295:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.expression)},288:function(t,a,_){return S(a,t.tagName)},296:function(t,a,_){return S(a,t.namespace)||S(a,t.name)},191:Hi,192:Hi,310:Hi,316:Hi,315:Hi,317:Hi,319:Hi,318:function(t,a,_){return ie(a,_,t.parameters)||S(a,t.type)},321:function(t,a,_){return(typeof t.comment=="string"?void 0:ie(a,_,t.comment))||ie(a,_,t.tags)},348:function(t,a,_){return S(a,t.tagName)||S(a,t.name)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},311:function(t,a,_){return S(a,t.name)},312:function(t,a,_){return S(a,t.left)||S(a,t.right)},342:dm,349:dm,331:function(t,a,_){return S(a,t.tagName)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},330:function(t,a,_){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},329:function(t,a,_){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},346:function(t,a,_){return S(a,t.tagName)||S(a,t.constraint)||ie(a,_,t.typeParameters)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},347:function(t,a,_){return S(a,t.tagName)||(t.typeExpression&&t.typeExpression.kind===310?S(a,t.typeExpression)||S(a,t.fullName)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment)):S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment)))},339:function(t,a,_){return S(a,t.tagName)||S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},343:Xi,345:Xi,344:Xi,341:Xi,351:Xi,350:Xi,340:Xi,324:function(t,a,_){return jn(t.typeParameters,a)||jn(t.parameters,a)||S(a,t.type)},325:Dp,326:Dp,327:Dp,323:function(t,a,_){return jn(t.jsDocPropertyTags,a)},328:ui,333:ui,334:ui,335:ui,336:ui,337:ui,332:ui,338:ui,352:j6,356:R6};function rm(e,t,a){return ie(t,a,e.typeParameters)||ie(t,a,e.parameters)||S(t,e.type)}function im(e,t,a){return ie(t,a,e.types)}function am(e,t,a){return S(t,e.type)}function sm(e,t,a){return ie(t,a,e.elements)}function _m(e,t,a){return S(t,e.expression)||S(t,e.questionDotToken)||ie(t,a,e.typeArguments)||ie(t,a,e.arguments)}function om(e,t,a){return ie(t,a,e.statements)}function cm(e,t,a){return S(t,e.label)}function lm(e,t,a){return ie(t,a,e.modifiers)||S(t,e.name)||ie(t,a,e.typeParameters)||ie(t,a,e.heritageClauses)||ie(t,a,e.members)}function um(e,t,a){return ie(t,a,e.elements)}function pm(e,t,a){return S(t,e.propertyName)||S(t,e.name)}function fm(e,t,a){return S(t,e.tagName)||ie(t,a,e.typeArguments)||S(t,e.attributes)}function Hi(e,t,a){return S(t,e.type)}function dm(e,t,a){return S(t,e.tagName)||(e.isNameFirst?S(t,e.name)||S(t,e.typeExpression):S(t,e.typeExpression)||S(t,e.name))||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Xi(e,t,a){return S(t,e.tagName)||S(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Dp(e,t,a){return S(t,e.name)}function ui(e,t,a){return S(t,e.tagName)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function j6(e,t,a){return S(t,e.tagName)||S(t,e.importClause)||S(t,e.moduleSpecifier)||S(t,e.attributes)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function R6(e,t,a){return S(t,e.expression)}function Xt(e,t,a){if(e===void 0||e.kind<=166)return;let _=J6[e.kind];return _===void 0?void 0:_(e,t,a)}function mm(e,t,a){let _=hm(e),f=[];for(;f.length<_.length;)f.push(e);for(;_.length!==0;){let h=_.pop(),T=f.pop();if($r(h)){if(a){let k=a(h,T);if(k){if(k==="skip")continue;return k}}for(let k=h.length-1;k>=0;--k)_.push(h[k]),f.push(T)}else{let k=t(h,T);if(k){if(k==="skip")continue;return k}if(h.kind>=167)for(let c of hm(h))_.push(c),f.push(h)}}}function hm(e){let t=[];return Xt(e,a,a),t;function a(_){t.unshift(_)}}function lh(e){e.externalModuleIndicator=N6(e)}function uh(e,t,a,_=!1,f){var h,T;(h=ll)==null||h.push(ll.Phase.Parse,"createSourceFile",{path:e},!0),vd("beforeParse");let k,{languageVersion:c,setExternalModuleIndicator:W,impliedNodeFormat:y,jsDocParsingMode:G}=typeof a=="object"?a:{languageVersion:a};if(c===100)k=ta.parseSourceFile(e,t,c,void 0,_,6,Va,G);else{let E=y===void 0?W:D=>(D.impliedNodeFormat=y,(W||lh)(D));k=ta.parseSourceFile(e,t,c,void 0,_,f,E,G)}return vd("afterParse"),jy("Parse","beforeParse","afterParse"),(T=ll)==null||T.pop(),k}function ph(e){return e.externalModuleIndicator!==void 0}function U6(e,t,a,_=!1){let f=Sl.updateSourceFile(e,t,a,_);return f.flags|=e.flags&12582912,f}var ta;(e=>{var t=_f(99,!0),a=40960,_,f,h,T,k;function c(o){return ar++,o}var W={createBaseSourceFileNode:o=>c(new k(o,0,0)),createBaseIdentifierNode:o=>c(new h(o,0,0)),createBasePrivateIdentifierNode:o=>c(new T(o,0,0)),createBaseTokenNode:o=>c(new f(o,0,0)),createBaseNode:o=>c(new _(o,0,0))},y=kf(11,W),{createNodeArray:G,createNumericLiteral:E,createStringLiteral:D,createLiteralLikeNode:R,createIdentifier:ue,createPrivateIdentifier:be,createToken:he,createArrayLiteralExpression:de,createObjectLiteralExpression:O,createPropertyAccessExpression:ae,createPropertyAccessChain:Oe,createElementAccessExpression:V,createElementAccessChain:oe,createCallExpression:Y,createCallChain:ft,createNewExpression:nr,createParenthesizedExpression:mn,createBlock:rr,createVariableStatement:hn,createExpressionStatement:Dn,createIfStatement:We,createWhileStatement:ir,createForStatement:Ir,createForOfStatement:Ot,createVariableDeclaration:Bn,createVariableDeclarationList:Pn}=y,Mt,ht,$e,qn,$t,ot,at,Bt,Lt,ct,ar,dt,yn,yt,_n,tt,qt=!0,tn=!1;function sr(o,p,m,g,b=!1,N,Q,_e=0){var ee;if(N=bb(o,N),N===6){let ce=hr(o,p,m,g,b);return convertToJson(ce,(ee=ce.statements[0])==null?void 0:ee.expression,ce.parseDiagnostics,!1,void 0),ce.referencedFiles=vt,ce.typeReferenceDirectives=vt,ce.libReferenceDirectives=vt,ce.amdDependencies=vt,ce.hasNoDefaultLib=!1,ce.pragmas=cy,ce}Fn(o,p,m,g,N,_e);let te=Or(m,b,N,Q||lh,_e);return zn(),te}e.parseSourceFile=sr;function mr(o,p){Fn("",o,p,void 0,1,0),B();let m=Ur(!0),g=u()===1&&!at.length;return zn(),g?m:void 0}e.parseIsolatedEntityName=mr;function hr(o,p,m=2,g,b=!1){Fn(o,p,m,g,6,0),ht=tt,B();let N=M(),Q,_e;if(u()===1)Q=At([],N,N),_e=Wt();else{let ce;for(;u()!==1;){let De;switch(u()){case 23:De=_c();break;case 112:case 97:case 106:De=Wt();break;case 41:H(()=>B()===9&&B()!==59)?De=Wo():De=Is();break;case 9:case 11:if(H(()=>B()!==59)){De=Hn();break}default:De=Is();break}ce&&$r(ce)?ce.push(De):ce?ce=[ce,De]:(ce=De,u()!==1&&Ee(A.Unexpected_token))}let je=$r(ce)?P(de(ce),N):q.checkDefined(ce),Je=Dn(je);P(Je,N),Q=At([Je],N),_e=Yn(1,A.Unexpected_token)}let ee=se(o,2,6,!1,Q,_e,ht,Va);b&&L(ee),ee.nodeCount=ar,ee.identifierCount=yn,ee.identifiers=dt,ee.parseDiagnostics=Yi(at,ee),Bt&&(ee.jsDocDiagnostics=Yi(Bt,ee));let te=ee;return zn(),te}e.parseJsonText=hr;function Fn(o,p,m,g,b,N){switch(_=Et.getNodeConstructor(),f=Et.getTokenConstructor(),h=Et.getIdentifierConstructor(),T=Et.getPrivateIdentifierConstructor(),k=Et.getSourceFileConstructor(),Mt=Yy(o),$e=p,qn=m,Lt=g,$t=b,ot=Bd(b),at=[],yt=0,dt=new Map,yn=0,ar=0,ht=0,qt=!0,$t){case 1:case 2:tt=524288;break;case 6:tt=134742016;break;default:tt=0;break}tn=!1,t.setText($e),t.setOnError(Zr),t.setScriptTarget(qn),t.setLanguageVariant(ot),t.setScriptKind($t),t.setJSDocParsingMode(N)}function zn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),$e=void 0,qn=void 0,Lt=void 0,$t=void 0,ot=void 0,ht=0,at=void 0,Bt=void 0,yt=0,dt=void 0,_n=void 0,qt=!0}function Or(o,p,m,g,b){let N=F6(Mt);N&&(tt|=33554432),ht=tt,B();let Q=bn(0,Yt);q.assert(u()===1);let _e=Ue(),ee=Ce(Wt(),_e),te=se(Mt,o,m,N,Q,ee,ht,g);return W6(te,$e),G6(te,ce),te.commentDirectives=t.getCommentDirectives(),te.nodeCount=ar,te.identifierCount=yn,te.identifiers=dt,te.parseDiagnostics=Yi(at,te),te.jsDocParsingMode=b,Bt&&(te.jsDocDiagnostics=Yi(Bt,te)),p&&L(te),te;function ce(je,Je,De){at.push(Oa(Mt,$e,je,Je,De))}}let Vn=!1;function Ce(o,p){if(!p)return o;q.assert(!o.jsDoc);let m=fy(m2(o,$e),g=>el.parseJSDocComment(o,g.pos,g.end-g.pos));return m.length&&(o.jsDoc=m),Vn&&(Vn=!1,o.flags|=536870912),o}function yr(o){let p=Lt,m=Sl.createSyntaxCursor(o);Lt={currentNode:ce};let g=[],b=at;at=[];let N=0,Q=ee(o.statements,0);for(;Q!==-1;){let je=o.statements[N],Je=o.statements[Q];En(g,o.statements,N,Q),N=te(o.statements,Q);let De=bp(b,Nt=>Nt.start>=je.pos),Ht=De>=0?bp(b,Nt=>Nt.start>=Je.pos,De):-1;De>=0&&En(at,b,De,Ht>=0?Ht:void 0),cn(()=>{let Nt=tt;for(tt|=65536,t.resetTokenState(Je.pos),B();u()!==1;){let ur=t.getTokenFullStart(),pr=ns(0,Yt);if(g.push(pr),ur===t.getTokenFullStart()&&B(),N>=0){let Mn=o.statements[N];if(pr.end===Mn.pos)break;pr.end>Mn.pos&&(N=te(o.statements,N+1))}}tt=Nt},2),Q=N>=0?ee(o.statements,N):-1}if(N>=0){let je=o.statements[N];En(g,o.statements,N);let Je=bp(b,De=>De.start>=je.pos);Je>=0&&En(at,b,Je)}return Lt=p,y.updateSourceFile(o,dn(G(g),o.statements));function _e(je){return!(je.flags&65536)&&!!(je.transformFlags&67108864)}function ee(je,Je){for(let De=Je;De118}function ve(){return u()===80?!0:u()===127&&we()||u()===135&&Ye()?!1:u()>118}function J(o,p,m=!0){return u()===o?(m&&B(),!0):(p?Ee(p):Ee(A._0_expected,nt(o)),!1)}let mt=Object.keys(nf).filter(o=>o.length>2);function xt(o){if(z1(o)){rt(Cr($e,o.template.pos),o.template.end,A.Module_declaration_names_may_only_use_or_quoted_strings);return}let p=Ke(o)?An(o):void 0;if(!p||!fg(p,qn)){Ee(A._0_expected,nt(27));return}let m=Cr($e,o.pos);switch(p){case"const":case"let":case"var":rt(m,o.end,A.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":Jt(A.Interface_name_cannot_be_0,A.Interface_must_be_given_a_name,19);return;case"is":rt(m,t.getTokenStart(),A.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":Jt(A.Namespace_name_cannot_be_0,A.Namespace_must_be_given_a_name,19);return;case"type":Jt(A.Type_alias_name_cannot_be_0,A.Type_alias_must_be_given_a_name,64);return}let g=t_(p,mt,bt)??ln(p);if(g){rt(m,o.end,A.Unknown_keyword_or_identifier_Did_you_mean_0,g);return}u()!==0&&rt(m,o.end,A.Unexpected_keyword_or_identifier)}function Jt(o,p,m){u()===m?Ee(p):Ee(o,t.getTokenValue())}function ln(o){for(let p of mt)if(o.length>p.length+2&&ml(o,p))return`${p} ${o.slice(p.length)}`}function ql(o,p,m){if(u()===60&&!t.hasPrecedingLineBreak()){Ee(A.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(u()===21){Ee(A.Cannot_start_a_function_call_in_a_type_annotation),B();return}if(p&&!_r()){m?Ee(A._0_expected,nt(27)):Ee(A.Expected_for_property_initializer);return}if(!oa()){if(m){Ee(A._0_expected,nt(27));return}xt(o)}}function C_(o){return u()===o?(Be(),!0):(q.assert(Sp(o)),Ee(A._0_expected,nt(o)),!1)}function Lr(o,p,m,g){if(u()===p){B();return}let b=Ee(A._0_expected,nt(p));m&&b&&sl(b,Oa(Mt,$e,g,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,nt(o),nt(p)))}function Le(o){return u()===o?(B(),!0):!1}function pt(o){if(u()===o)return Wt()}function Fl(o){if(u()===o)return Vl()}function Yn(o,p,m){return pt(o)||Gt(o,!1,p||A._0_expected,m||nt(o))}function zl(o){let p=Fl(o);return p||(q.assert(Sp(o)),Gt(o,!1,A._0_expected,nt(o)))}function Wt(){let o=M(),p=u();return B(),P(he(p),o)}function Vl(){let o=M(),p=u();return Be(),P(he(p),o)}function _r(){return u()===27?!0:u()===20||u()===1||t.hasPrecedingLineBreak()}function oa(){return _r()?(u()===27&&B(),!0):!1}function Qt(){return oa()||J(27)}function At(o,p,m,g){let b=G(o,g);return yi(b,p,m??t.getTokenFullStart()),b}function P(o,p,m){return yi(o,p,m??t.getTokenFullStart()),tt&&(o.flags|=tt),tn&&(tn=!1,o.flags|=262144),o}function Gt(o,p,m,...g){p?gn(t.getTokenFullStart(),0,m,...g):m&&Ee(m,...g);let b=M(),N=o===80?ue("",void 0):Nd(o)?y.createTemplateLiteralLikeNode(o,"","",void 0):o===9?E("",void 0):o===11?D("",void 0):o===283?y.createMissingDeclaration():he(o);return P(N,b)}function Jr(o){let p=dt.get(o);return p===void 0&&dt.set(o,p=o),p}function or(o,p,m){if(o){yn++;let _e=t.hasPrecedingJSDocLeadingAsterisks()?t.getTokenStart():M(),ee=u(),te=Jr(t.getTokenValue()),ce=t.hasExtendedUnicodeEscape();return Ie(),P(ue(te,ee,ce),_e)}if(u()===81)return Ee(m||A.Private_identifiers_are_not_allowed_outside_class_bodies),or(!0);if(u()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return or(!0);yn++;let g=u()===1,b=t.isReservedWord(),N=t.getTokenText(),Q=b?A.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:A.Identifier_expected;return Gt(80,g,p||Q,N)}function Ka(o){return or(qe(),void 0,o)}function gt(o,p){return or(ve(),o,p)}function jt(o){return or(St(u()),o)}function ei(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Ee(A.Unicode_escape_sequence_cannot_appear_here),or(St(u()))}function br(){return St(u())||u()===11||u()===9||u()===10}function D_(){return St(u())||u()===11}function Wl(o){if(u()===11||u()===9||u()===10){let p=Hn();return p.text=Jr(p.text),p}return o&&u()===23?Gl():u()===81?ca():jt()}function jr(){return Wl(!0)}function Gl(){let o=M();J(23);let p=lt(kt);return J(24),P(y.createComputedPropertyName(p),o)}function ca(){let o=M(),p=be(Jr(t.getTokenValue()));return B(),P(p,o)}function ti(o){return u()===o&&le(P_)}function Za(){return B(),t.hasPrecedingLineBreak()?!1:cr()}function P_(){switch(u()){case 87:return B()===94;case 95:return B(),u()===90?H(Ai):u()===156?H(Yl):Ei();case 90:return Ai();case 126:return B(),cr();case 139:case 153:return B(),Hl();default:return Za()}}function Ei(){return u()===60||u()!==42&&u()!==130&&u()!==19&&cr()}function Yl(){return B(),Ei()}function N_(){return Yr(u())&&le(P_)}function cr(){return u()===23||u()===19||u()===42||u()===26||br()}function Hl(){return u()===23||br()}function Ai(){return B(),u()===86||u()===100||u()===120||u()===60||u()===128&&H(vc)||u()===134&&H(Tc)}function la(o,p){if(pa(o))return!0;switch(o){case 0:case 1:case 3:return!(u()===27&&p)&&xc();case 2:return u()===84||u()===90;case 4:return H(_o);case 5:return H(Jc)||u()===27&&!p;case 6:return u()===23||br();case 12:switch(u()){case 23:case 42:case 26:case 25:return!0;default:return br()}case 18:return br();case 9:return u()===23||u()===26||br();case 24:return D_();case 7:return u()===19?H(I_):p?ve()&&!es():xs()&&!es();case 8:return Rs();case 10:return u()===28||u()===26||Rs();case 19:return u()===103||u()===87||ve();case 15:switch(u()){case 28:case 25:return!0}case 11:return u()===26||Tr();case 16:return ha(!1);case 17:return ha(!0);case 20:case 21:return u()===28||ai();case 22:return Vs();case 23:return u()===161&&H(Cc)?!1:u()===11?!0:St(u());case 13:return St(u())||u()===19;case 14:return!0;case 25:return!0;case 26:return q.fail("ParsingContext.Count used as a context");default:q.assertNever(o,"Non-exhaustive case in 'isListElement'.")}}function I_(){if(q.assert(u()===19),B()===20){let o=B();return o===28||o===19||o===96||o===119}return!0}function Ci(){return B(),ve()}function Xl(){return B(),St(u())}function O_(){return B(),Hy(u())}function es(){return u()===119||u()===96?H(M_):!1}function M_(){return B(),Tr()}function Di(){return B(),ai()}function ua(o){if(u()===1)return!0;switch(o){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return u()===20;case 3:return u()===20||u()===84||u()===90;case 7:return u()===19||u()===96||u()===119;case 8:return ts();case 19:return u()===32||u()===21||u()===19||u()===96||u()===119;case 11:return u()===22||u()===27;case 15:case 21:case 10:return u()===24;case 17:case 16:case 18:return u()===22||u()===24;case 20:return u()!==28;case 22:return u()===19||u()===20;case 13:return u()===32||u()===44;case 14:return u()===30&&H(ap);default:return!1}}function ts(){return!!(_r()||qo(u())||u()===39)}function L_(){q.assert(yt,"Missing parsing context");for(let o=0;o<26;o++)if(yt&1<=0)}function ss(o){return o===6?A.An_enum_member_name_must_be_followed_by_a_or:void 0}function lr(){let o=At([],M());return o.isMissingList=!0,o}function V_(o){return!!o.isMissingList}function Rr(o,p,m,g){if(J(m)){let b=un(o,p);return J(g),b}return lr()}function Ur(o,p){let m=M(),g=o?jt(p):gt(p);for(;Le(25)&&u()!==30;)g=P(y.createQualifiedName(g,ni(o,!1,!0)),m);return g}function $l(o,p){return P(y.createQualifiedName(o,p),o.pos)}function ni(o,p,m){if(t.hasPrecedingLineBreak()&&St(u())&&H(Ms))return Gt(80,!0,A.Identifier_expected);if(u()===81){let g=ca();return p?g:Gt(80,!0,A.Identifier_expected)}return o?m?jt():ei():gt()}function Ql(o){let p=M(),m=[],g;do g=H_(o),m.push(g);while(g.literal.kind===17);return At(m,p)}function da(o){let p=M();return P(y.createTemplateExpression(Pi(o),Ql(o)),p)}function W_(){let o=M();return P(y.createTemplateLiteralType(Pi(!1),Kl()),o)}function Kl(){let o=M(),p=[],m;do m=G_(),p.push(m);while(m.literal.kind===17);return At(p,o)}function G_(){let o=M();return P(y.createTemplateLiteralTypeSpan(_t(),Y_(!1)),o)}function Y_(o){return u()===20?(Dt(o),X_()):Yn(18,A._0_expected,nt(20))}function H_(o){let p=M();return P(y.createTemplateSpan(lt(kt),Y_(o)),p)}function Hn(){return ri(u())}function Pi(o){!o&&t.getTokenFlags()&26656&&Dt(!1);let p=ri(u());return q.assert(p.kind===16,"Template head has wrong token kind"),p}function X_(){let o=ri(u());return q.assert(o.kind===17||o.kind===18,"Template fragment has wrong token kind"),o}function Zl(o){let p=o===15||o===18,m=t.getTokenText();return m.substring(1,m.length-(t.isUnterminated()?0:p?1:2))}function ri(o){let p=M(),m=Nd(o)?y.createTemplateLiteralLikeNode(o,t.getTokenValue(),Zl(o),t.getTokenFlags()&7176):o===9?E(t.getTokenValue(),t.getNumericLiteralFlags()):o===11?D(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):Bg(o)?R(o,t.getTokenValue()):q.fail();return t.hasExtendedUnicodeEscape()&&(m.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(m.isUnterminated=!0),B(),P(m,p)}function ii(){return Ur(!0,A.Type_expected)}function $_(){if(!t.hasPrecedingLineBreak()&&wt()===30)return Rr(20,_t,30,32)}function ma(){let o=M();return P(y.createTypeReferenceNode(ii(),$_()),o)}function _s(o){switch(o.kind){case 184:return Zi(o.typeName);case 185:case 186:{let{parameters:p,type:m}=o;return V_(p)||_s(m)}case 197:return _s(o.type);default:return!1}}function eu(o){return B(),P(y.createTypePredicateNode(void 0,o,_t()),o.pos)}function os(){let o=M();return B(),P(y.createThisTypeNode(),o)}function tu(){let o=M();return B(),P(y.createJSDocAllType(),o)}function Q_(){let o=M();return B(),P(y.createJSDocNonNullableType(bs(),!1),o)}function nu(){let o=M();return B(),u()===28||u()===20||u()===22||u()===32||u()===64||u()===52?P(y.createJSDocUnknownType(),o):P(y.createJSDocNullableType(_t(),!1),o)}function K_(){let o=M(),p=Ue();if(le(Gc)){let m=Xn(36),g=In(59,!1);return Ce(P(y.createJSDocFunctionType(m,g),o),p)}return P(y.createTypeReferenceNode(jt(),void 0),o)}function cs(){let o=M(),p;return(u()===110||u()===105)&&(p=jt(),J(59)),P(y.createParameterDeclaration(void 0,void 0,p,void 0,ls(),void 0),o)}function ls(){t.setSkipJsDocLeadingAsterisks(!0);let o=M();if(Le(144)){let g=y.createJSDocNamepathType(void 0);e:for(;;)switch(u()){case 20:case 1:case 28:case 5:break e;default:Be()}return t.setSkipJsDocLeadingAsterisks(!1),P(g,o)}let p=Le(26),m=ba();return t.setSkipJsDocLeadingAsterisks(!1),p&&(m=P(y.createJSDocVariadicType(m),o)),u()===64?(B(),P(y.createJSDocOptionalType(m),o)):m}function Z_(){let o=M();J(114);let p=Ur(!0),m=t.hasPrecedingLineBreak()?void 0:Ca();return P(y.createTypeQueryNode(p,m),o)}function eo(){let o=M(),p=On(!1,!0),m=gt(),g,b;Le(96)&&(ai()||!Tr()?g=_t():b=Xo());let N=Le(64)?_t():void 0,Q=y.createTypeParameterDeclaration(p,m,g,N);return Q.expression=b,P(Q,o)}function pn(){if(u()===30)return Rr(19,eo,30,32)}function ha(o){return u()===26||Rs()||Yr(u())||u()===60||ai(!o)}function to(o){let p=si(A.Private_identifiers_cannot_be_used_as_parameters);return l2(p)===0&&!Zt(o)&&Yr(u())&&B(),p}function no(){return qe()||u()===23||u()===19}function us(o){return ps(o)}function ro(o){return ps(o,!1)}function ps(o,p=!0){let m=M(),g=Ue(),b=o?U(()=>On(!0)):K(()=>On(!0));if(u()===110){let ee=y.createParameterDeclaration(b,void 0,or(!0),void 0,vr(),void 0),te=Xp(b);return te&&on(te,A.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ce(P(ee,m),g)}let N=qt;qt=!1;let Q=pt(26);if(!p&&!no())return;let _e=Ce(P(y.createParameterDeclaration(b,Q,to(b),pt(58),vr(),xr()),m),g);return qt=N,_e}function In(o,p){if(io(o,p))return gr(ba)}function io(o,p){return o===39?(J(o),!0):Le(59)?!0:p&&u()===39?(Ee(A._0_expected,nt(59)),B(),!0):!1}function fs(o,p){let m=we(),g=Ye();He(!!(o&1)),st(!!(o&2));let b=o&32?un(17,cs):un(16,()=>p?us(g):ro(g));return He(m),st(g),b}function Xn(o){if(!J(21))return lr();let p=fs(o,!0);return J(22),p}function ya(){Le(28)||Qt()}function ao(o){let p=M(),m=Ue();o===181&&J(105);let g=pn(),b=Xn(4),N=In(59,!0);ya();let Q=o===180?y.createCallSignature(g,b,N):y.createConstructSignature(g,b,N);return Ce(P(Q,p),m)}function Br(){return u()===23&&H(ru)}function ru(){if(B(),u()===26||u()===24)return!0;if(Yr(u())){if(B(),ve())return!0}else if(ve())B();else return!1;return u()===59||u()===28?!0:u()!==58?!1:(B(),u()===59||u()===28||u()===24)}function ds(o,p,m){let g=Rr(16,()=>us(!1),23,24),b=vr();ya();let N=y.createIndexSignature(m,g,b);return Ce(P(N,o),p)}function so(o,p,m){let g=jr(),b=pt(58),N;if(u()===21||u()===30){let Q=pn(),_e=Xn(4),ee=In(59,!0);N=y.createMethodSignature(m,g,b,Q,_e,ee)}else{let Q=vr();N=y.createPropertySignature(m,g,b,Q),u()===64&&(N.initializer=xr())}return ya(),Ce(P(N,o),p)}function _o(){if(u()===21||u()===30||u()===139||u()===153)return!0;let o=!1;for(;Yr(u());)o=!0,B();return u()===23?!0:(br()&&(o=!0,B()),o?u()===21||u()===30||u()===58||u()===59||u()===28||_r():!1)}function Ni(){if(u()===21||u()===30)return ao(180);if(u()===105&&H(oo))return ao(181);let o=M(),p=Ue(),m=On(!1);return ti(139)?_i(o,p,m,178,4):ti(153)?_i(o,p,m,179,4):Br()?ds(o,p,m):so(o,p,m)}function oo(){return B(),u()===21||u()===30}function co(){return B()===25}function lo(){switch(B()){case 21:case 30:case 25:return!0}return!1}function uo(){let o=M();return P(y.createTypeLiteralNode(po()),o)}function po(){let o;return J(19)?(o=bn(4,Ni),J(20)):o=lr(),o}function fo(){return B(),u()===40||u()===41?B()===148:(u()===148&&B(),u()===23&&Ci()&&B()===103)}function iu(){let o=M(),p=jt();J(103);let m=_t();return P(y.createTypeParameterDeclaration(void 0,p,m,void 0),o)}function mo(){let o=M();J(19);let p;(u()===148||u()===40||u()===41)&&(p=Wt(),p.kind!==148&&J(148)),J(23);let m=iu(),g=Le(130)?_t():void 0;J(24);let b;(u()===58||u()===40||u()===41)&&(b=Wt(),b.kind!==58&&J(58));let N=vr();Qt();let Q=bn(4,Ni);return J(20),P(y.createMappedTypeNode(p,m,g,b,N,Q),o)}function ho(){let o=M();if(Le(26))return P(y.createRestTypeNode(_t()),o);let p=_t();if(nh(p)&&p.pos===p.type.pos){let m=y.createOptionalTypeNode(p.type);return dn(m,p),m.flags=p.flags,m}return p}function ms(){return B()===59||u()===58&&B()===59}function au(){return u()===26?St(B())&&ms():St(u())&&ms()}function yo(){if(H(au)){let o=M(),p=Ue(),m=pt(26),g=jt(),b=pt(58);J(59);let N=ho(),Q=y.createNamedTupleMember(m,g,b,N);return Ce(P(Q,o),p)}return ho()}function su(){let o=M();return P(y.createTupleTypeNode(Rr(21,yo,23,24)),o)}function go(){let o=M();J(21);let p=_t();return J(22),P(y.createParenthesizedType(p),o)}function _u(){let o;if(u()===128){let p=M();B();let m=P(he(128),p);o=At([m],p)}return o}function hs(){let o=M(),p=Ue(),m=_u(),g=Le(105);q.assert(!m||g,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let b=pn(),N=Xn(4),Q=In(39,!1),_e=g?y.createConstructorTypeNode(m,b,N,Q):y.createFunctionTypeNode(b,N,Q);return Ce(P(_e,o),p)}function bo(){let o=Wt();return u()===25?void 0:o}function ys(o){let p=M();o&&B();let m=u()===112||u()===97||u()===106?Wt():ri(u());return o&&(m=P(y.createPrefixUnaryExpression(41,m),p)),P(y.createLiteralTypeNode(m),p)}function ou(){return B(),u()===102}function gs(){ht|=4194304;let o=M(),p=Le(114);J(102),J(21);let m=_t(),g;if(Le(28)){let Q=t.getTokenStart();J(19);let _e=u();if(_e===118||_e===132?B():Ee(A._0_expected,nt(118)),J(59),g=Ys(_e,!0),Le(28),!J(20)){let ee=Ba(at);ee&&ee.code===A._0_expected.code&&sl(ee,Oa(Mt,$e,Q,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}J(22);let b=Le(25)?ii():void 0,N=$_();return P(y.createImportTypeNode(m,g,b,N,p),o)}function vo(){return B(),u()===9||u()===10}function bs(){switch(u()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return le(bo)||ma();case 67:t.reScanAsteriskEqualsToken();case 42:return tu();case 61:t.reScanQuestionToken();case 58:return nu();case 100:return K_();case 54:return Q_();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ys();case 41:return H(vo)?ys(!0):ma();case 116:return Wt();case 110:{let o=os();return u()===142&&!t.hasPrecedingLineBreak()?eu(o):o}case 114:return H(ou)?gs():Z_();case 19:return H(fo)?mo():uo();case 23:return su();case 21:return go();case 102:return gs();case 131:return H(Ms)?Po():ma();case 16:return W_();default:return ma()}}function ai(o){switch(u()){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!o;case 41:return!o&&H(vo);case 21:return!o&&H(To);default:return ve()}}function To(){return B(),u()===22||ha(!1)||ai()}function xo(){let o=M(),p=bs();for(;!t.hasPrecedingLineBreak();)switch(u()){case 54:B(),p=P(y.createJSDocNonNullableType(p,!0),o);break;case 58:if(H(Di))return p;B(),p=P(y.createJSDocNullableType(p,!0),o);break;case 23:if(J(23),ai()){let m=_t();J(24),p=P(y.createIndexedAccessTypeNode(p,m),o)}else J(24),p=P(y.createArrayTypeNode(p),o);break;default:return p}return p}function So(o){let p=M();return J(o),P(y.createTypeOperatorNode(o,ko()),p)}function cu(){if(Le(96)){let o=Nn(_t);if(Ve()||u()!==58)return o}}function wo(){let o=M(),p=gt(),m=le(cu),g=y.createTypeParameterDeclaration(void 0,p,m);return P(g,o)}function lu(){let o=M();return J(140),P(y.createInferTypeNode(wo()),o)}function ko(){let o=u();switch(o){case 143:case 158:case 148:return So(o);case 140:return lu()}return gr(xo)}function ga(o){if(Ts()){let p=hs(),m;return Nf(p)?m=o?A.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m=o?A.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,on(p,m),p}}function Eo(o,p,m){let g=M(),b=o===52,N=Le(o),Q=N&&ga(b)||p();if(u()===o||N){let _e=[Q];for(;Le(o);)_e.push(ga(b)||p());Q=P(m(At(_e,g)),g)}return Q}function vs(){return Eo(51,ko,y.createIntersectionTypeNode)}function uu(){return Eo(52,vs,y.createUnionTypeNode)}function Ao(){return B(),u()===105}function Ts(){return u()===30||u()===21&&H(Co)?!0:u()===105||u()===128&&H(Ao)}function pu(){if(Yr(u())&&On(!1),ve()||u()===110)return B(),!0;if(u()===23||u()===19){let o=at.length;return si(),o===at.length}return!1}function Co(){return B(),!!(u()===22||u()===26||pu()&&(u()===59||u()===28||u()===58||u()===64||u()===22&&(B(),u()===39)))}function ba(){let o=M(),p=ve()&&le(Do),m=_t();return p?P(y.createTypePredicateNode(void 0,p,m),o):m}function Do(){let o=gt();if(u()===142&&!t.hasPrecedingLineBreak())return B(),o}function Po(){let o=M(),p=Yn(131),m=u()===110?os():gt(),g=Le(142)?_t():void 0;return P(y.createTypePredicateNode(p,m,g),o)}function _t(){if(tt&81920)return Ct(81920,_t);if(Ts())return hs();let o=M(),p=uu();if(!Ve()&&!t.hasPrecedingLineBreak()&&Le(96)){let m=Nn(_t);J(58);let g=gr(_t);J(59);let b=gr(_t);return P(y.createConditionalTypeNode(p,m,g,b),o)}return p}function vr(){return Le(59)?_t():void 0}function xs(){switch(u()){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 H(lo);default:return ve()}}function Tr(){if(xs())return!0;switch(u()){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 Fo()?!0:ve()}}function No(){return u()!==19&&u()!==100&&u()!==86&&u()!==60&&Tr()}function kt(){let o=Ze();o&&Qe(!1);let p=M(),m=zt(!0),g;for(;g=pt(28);)m=ks(m,g,zt(!0),p);return o&&Qe(!0),m}function xr(){return Le(64)?zt(!0):void 0}function zt(o){if(Io())return Oo();let p=du(o)||Ro(o);if(p)return p;let m=M(),g=Ue(),b=Ii(0);return b.kind===80&&u()===39?Mo(m,b,o,g,void 0):Fa(b)&&v1(ze())?ks(b,Wt(),zt(o),m):mu(b,m,o)}function Io(){return u()===127?we()?!0:H(Ls):!1}function fu(){return B(),!t.hasPrecedingLineBreak()&&ve()}function Oo(){let o=M();return B(),!t.hasPrecedingLineBreak()&&(u()===42||Tr())?P(y.createYieldExpression(pt(42),zt(!0)),o):P(y.createYieldExpression(void 0,void 0),o)}function Mo(o,p,m,g,b){q.assert(u()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let N=y.createParameterDeclaration(void 0,void 0,p,void 0,void 0,void 0);P(N,p.pos);let Q=At([N],N.pos,N.end),_e=Yn(39),ee=Ss(!!b,m),te=y.createArrowFunction(b,void 0,Q,void 0,_e,ee);return Ce(P(te,o),g)}function du(o){let p=Lo();if(p!==0)return p===1?Bo(!0,!0):le(()=>jo(o))}function Lo(){return u()===21||u()===30||u()===134?H(Jo):u()===39?1:0}function Jo(){if(u()===134&&(B(),t.hasPrecedingLineBreak()||u()!==21&&u()!==30))return 0;let o=u(),p=B();if(o===21){if(p===22)switch(B()){case 39:case 59:case 19:return 1;default:return 0}if(p===23||p===19)return 2;if(p===26)return 1;if(Yr(p)&&p!==134&&H(Ci))return B()===130?0:1;if(!ve()&&p!==110)return 0;switch(B()){case 59:return 1;case 58:return B(),u()===59||u()===28||u()===64||u()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return q.assert(o===30),!ve()&&u()!==87?0:ot===1?H(()=>{Le(87);let g=B();if(g===96)switch(B()){case 64:case 32:case 44:return!1;default:return!0}else if(g===28||g===64)return!0;return!1})?1:0:2}function jo(o){let p=t.getTokenStart();if(_n?.has(p))return;let m=Bo(!1,o);return m||(_n||(_n=new Set)).add(p),m}function Ro(o){if(u()===134&&H(Uo)===1){let p=M(),m=Ue(),g=Uc(),b=Ii(0);return Mo(p,b,o,m,g)}}function Uo(){if(u()===134){if(B(),t.hasPrecedingLineBreak()||u()===39)return 0;let o=Ii(0);if(!t.hasPrecedingLineBreak()&&o.kind===80&&u()===39)return 1}return 0}function Bo(o,p){let m=M(),g=Ue(),b=Uc(),N=Zt(b,cl)?2:0,Q=pn(),_e;if(J(21)){if(o)_e=fs(N,o);else{let ur=fs(N,o);if(!ur)return;_e=ur}if(!J(22)&&!o)return}else{if(!o)return;_e=lr()}let ee=u()===59,te=In(59,!1);if(te&&!o&&_s(te))return;let ce=te;for(;ce?.kind===197;)ce=ce.type;let je=ce&&rh(ce);if(!o&&u()!==39&&(je||u()!==19))return;let Je=u(),De=Yn(39),Ht=Je===39||Je===19?Ss(Zt(b,cl),p):gt();if(!p&&ee&&u()!==59)return;let Nt=y.createArrowFunction(b,Q,_e,te,De,Ht);return Ce(P(Nt,m),g)}function Ss(o,p){if(u()===19)return wa(o?2:0);if(u()!==27&&u()!==100&&u()!==86&&xc()&&!No())return wa(16|(o?2:0));let m=we();He(!1);let g=qt;qt=!1;let b=o?U(()=>zt(p)):K(()=>zt(p));return qt=g,He(m),b}function mu(o,p,m){let g=pt(58);if(!g)return o;let b;return P(y.createConditionalExpression(o,g,Ct(a,()=>zt(!1)),b=Yn(59),Up(b)?zt(m):Gt(80,!1,A._0_expected,nt(59))),p)}function Ii(o){let p=M(),m=Xo();return ws(o,m,p)}function qo(o){return o===103||o===165}function ws(o,p,m){for(;;){ze();let g=wp(u());if(!(u()===43?g>=o:g>o)||u()===103&&me())break;if(u()===130||u()===152){if(t.hasPrecedingLineBreak())break;{let N=u();B(),p=N===152?zo(p,_t()):Vo(p,_t())}}else p=ks(p,Wt(),Ii(g),m)}return p}function Fo(){return me()&&u()===103?!1:wp(u())>0}function zo(o,p){return P(y.createSatisfiesExpression(o,p),o.pos)}function ks(o,p,m,g){return P(y.createBinaryExpression(o,p,m),g)}function Vo(o,p){return P(y.createAsExpression(o,p),o.pos)}function Wo(){let o=M();return P(y.createPrefixUnaryExpression(u(),Me(Sr)),o)}function Go(){let o=M();return P(y.createDeleteExpression(Me(Sr)),o)}function hu(){let o=M();return P(y.createTypeOfExpression(Me(Sr)),o)}function Yo(){let o=M();return P(y.createVoidExpression(Me(Sr)),o)}function yu(){return u()===135?Ye()?!0:H(Ls):!1}function Ho(){let o=M();return P(y.createAwaitExpression(Me(Sr)),o)}function Xo(){if(gu()){let m=M(),g=va();return u()===43?ws(wp(u()),g,m):g}let o=u(),p=Sr();if(u()===43){let m=Cr($e,p.pos),{end:g}=p;p.kind===217?rt(m,g,A.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(q.assert(Sp(o)),rt(m,g,A.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,nt(o)))}return p}function Sr(){switch(u()){case 40:case 41:case 55:case 54:return Wo();case 91:return Go();case 114:return hu();case 116:return Yo();case 30:return ot===1?Mi(!0,void 0,void 0,!0):ec();case 135:if(yu())return Ho();default:return va()}}function gu(){switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(ot!==1)return!1;default:return!0}}function va(){if(u()===46||u()===47){let p=M();return P(y.createPrefixUnaryExpression(u(),Me(Oi)),p)}else if(ot===1&&u()===30&&H(O_))return Mi(!0);let o=Oi();if(q.assert(Fa(o)),(u()===46||u()===47)&&!t.hasPrecedingLineBreak()){let p=u();return B(),P(y.createPostfixUnaryExpression(o,p),o.pos)}return o}function Oi(){let o=M(),p;return u()===102?H(oo)?(ht|=4194304,p=Wt()):H(co)?(B(),B(),p=P(y.createMetaProperty(102,jt()),o),p.name.escapedText==="defer"?(u()===21||u()===30)&&(ht|=4194304):ht|=8388608):p=Ta():p=u()===108?$o():Ta(),Ps(o,p)}function Ta(){let o=M(),p=Ns();return rn(o,p,!0)}function $o(){let o=M(),p=Wt();if(u()===30){let m=M(),g=le(Sa);g!==void 0&&(rt(m,M(),A.super_may_not_use_type_arguments),vn()||(p=y.createExpressionWithTypeArguments(p,g)))}return u()===21||u()===25||u()===23?p:(Yn(25,A.super_must_be_followed_by_an_argument_list_or_member_access),P(ae(p,ni(!0,!0,!0)),o))}function Mi(o,p,m,g=!1){let b=M(),N=Tu(o),Q;if(N.kind===287){let _e=xa(N),ee,te=_e[_e.length-1];if(te?.kind===285&&!pi(te.openingElement.tagName,te.closingElement.tagName)&&pi(N.tagName,te.closingElement.tagName)){let ce=te.children.end,je=P(y.createJsxElement(te.openingElement,te.children,P(y.createJsxClosingElement(P(ue(""),ce,ce)),ce,ce)),te.openingElement.pos,ce);_e=At([..._e.slice(0,_e.length-1),je],_e.pos,ce),ee=te.closingElement}else ee=Zo(N,o),pi(N.tagName,ee.tagName)||(m&&zp(m)&&pi(ee.tagName,m.tagName)?on(N.tagName,A.JSX_element_0_has_no_corresponding_closing_tag,r_($e,N.tagName)):on(ee.tagName,A.Expected_corresponding_JSX_closing_tag_for_0,r_($e,N.tagName)));Q=P(y.createJsxElement(N,_e,ee),b)}else N.kind===290?Q=P(y.createJsxFragment(N,xa(N),ku(o)),b):(q.assert(N.kind===286),Q=N);if(!g&&o&&u()===30){let _e=typeof p>"u"?Q.pos:p,ee=le(()=>Mi(!0,_e));if(ee){let te=Gt(28,!1);return Fd(te,ee.pos,0),rt(Cr($e,_e),ee.end,A.JSX_expressions_must_have_one_parent_element),P(y.createBinaryExpression(Q,te,ee),b)}}return Q}function Es(){let o=M(),p=y.createJsxText(t.getTokenValue(),ct===13);return ct=t.scanJsxToken(),P(p,o)}function bu(o,p){switch(p){case 1:if(s6(o))on(o,A.JSX_fragment_has_no_corresponding_closing_tag);else{let m=o.tagName,g=Math.min(Cr($e,m.pos),m.end);rt(g,m.end,A.JSX_element_0_has_no_corresponding_closing_tag,r_($e,o.tagName))}return;case 31:case 7:return;case 12:case 13:return Es();case 19:return Qo(!1);case 30:return Mi(!1,void 0,o);default:return q.assertNever(p)}}function xa(o){let p=[],m=M(),g=yt;for(yt|=16384;;){let b=bu(o,ct=t.reScanJsxToken());if(!b||(p.push(b),zp(o)&&b?.kind===285&&!pi(b.openingElement.tagName,b.closingElement.tagName)&&pi(o.tagName,b.closingElement.tagName)))break}return yt=g,At(p,m)}function vu(){let o=M();return P(y.createJsxAttributes(bn(13,Ko)),o)}function Tu(o){let p=M();if(J(30),u()===32)return Gn(),P(y.createJsxOpeningFragment(),p);let m=As(),g=(tt&524288)===0?Ca():void 0,b=vu(),N;return u()===32?(Gn(),N=y.createJsxOpeningElement(m,g,b)):(J(44),J(32,void 0,!1)&&(o?B():Gn()),N=y.createJsxSelfClosingElement(m,g,b)),P(N,p)}function As(){let o=M(),p=xu();if(K1(p))return p;let m=p;for(;Le(25);)m=P(ae(m,ni(!0,!1,!1)),o);return m}function xu(){let o=M();Ft();let p=u()===110,m=ei();return Le(59)?(Ft(),P(y.createJsxNamespacedName(m,ei()),o)):p?P(y.createToken(110),o):m}function Qo(o){let p=M();if(!J(19))return;let m,g;return u()!==20&&(o||(m=pt(26)),g=kt()),o?J(20):J(20,void 0,!1)&&Gn(),P(y.createJsxExpression(m,g),p)}function Ko(){if(u()===19)return wu();let o=M();return P(y.createJsxAttribute(Su(),Cs()),o)}function Cs(){if(u()===64){if(ki()===11)return Hn();if(u()===19)return Qo(!0);if(u()===30)return Mi(!0);Ee(A.or_JSX_element_expected)}}function Su(){let o=M();Ft();let p=ei();return Le(59)?(Ft(),P(y.createJsxNamespacedName(p,ei()),o)):p}function wu(){let o=M();J(19),J(26);let p=kt();return J(20),P(y.createJsxSpreadAttribute(p),o)}function Zo(o,p){let m=M();J(31);let g=As();return J(32,void 0,!1)&&(p||!pi(o.tagName,g)?B():Gn()),P(y.createJsxClosingElement(g),m)}function ku(o){let p=M();return J(31),J(32,A.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(o?B():Gn()),P(y.createJsxJsxClosingFragment(),p)}function ec(){q.assert(ot!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let o=M();J(30);let p=_t();J(32);let m=Sr();return P(y.createTypeAssertion(p,m),o)}function Eu(){return B(),St(u())||u()===23||vn()}function tc(){return u()===29&&H(Eu)}function Ds(o){if(o.flags&64)return!0;if(fl(o)){let p=o.expression;for(;fl(p)&&!(p.flags&64);)p=p.expression;if(p.flags&64){for(;fl(o);)o.flags|=64,o=o.expression;return!0}}return!1}function nc(o,p,m){let g=ni(!0,!0,!0),b=m||Ds(p),N=b?Oe(p,m,g):ae(p,g);if(b&&gi(N.name)&&on(N.name,A.An_optional_chain_cannot_contain_private_identifiers),Y1(p)&&p.typeArguments){let Q=p.typeArguments.pos-1,_e=Cr($e,p.typeArguments.end)+1;rt(Q,_e,A.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return P(N,o)}function Au(o,p,m){let g;if(u()===24)g=Gt(80,!0,A.An_element_access_expression_should_take_an_argument);else{let N=lt(kt);Al(N)&&(N.text=Jr(N.text)),g=N}J(24);let b=m||Ds(p)?oe(p,m,g):V(p,g);return P(b,o)}function rn(o,p,m){for(;;){let g,b=!1;if(m&&tc()?(g=Yn(29),b=St(u())):b=Le(25),b){p=nc(o,p,g);continue}if((g||!Ze())&&Le(23)){p=Au(o,p,g);continue}if(vn()){p=!g&&p.kind===234?qr(o,p.expression,g,p.typeArguments):qr(o,p,g,void 0);continue}if(!g){if(u()===54&&!t.hasPrecedingLineBreak()){B(),p=P(y.createNonNullExpression(p),o);continue}let N=le(Sa);if(N){p=P(y.createExpressionWithTypeArguments(p,N),o);continue}}return p}}function vn(){return u()===15||u()===16}function qr(o,p,m,g){let b=y.createTaggedTemplateExpression(p,g,u()===15?(Dt(!0),Hn()):da(!0));return(m||p.flags&64)&&(b.flags|=64),b.questionDotToken=m,P(b,o)}function Ps(o,p){for(;;){p=rn(o,p,!0);let m,g=pt(29);if(g&&(m=le(Sa),vn())){p=qr(o,p,g,m);continue}if(m||u()===21){!g&&p.kind===234&&(m=p.typeArguments,p=p.expression);let b=rc(),N=g||Ds(p)?ft(p,g,m,b):Y(p,m,b);p=P(N,o);continue}if(g){let b=Gt(80,!1,A.Identifier_expected);p=P(Oe(p,g,b),o)}break}return p}function rc(){J(21);let o=un(11,sc);return J(22),o}function Sa(){if((tt&524288)!==0||wt()!==30)return;B();let o=un(20,_t);if(ze()===32)return B(),o&&Cu()?o:void 0}function Cu(){switch(u()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Fo()||!Tr()}function Ns(){switch(u()){case 15:t.getTokenFlags()&26656&&Dt(!1);case 9:case 10:case 11:return Hn();case 110:case 108:case 106:case 112:case 97:return Wt();case 21:return Du();case 23:return _c();case 19:return Is();case 134:if(!H(Tc))break;return Os();case 60:return Xu();case 86:return $u();case 100:return Os();case 105:return cc();case 44:case 69:if(Xe()===14)return Hn();break;case 16:return da(!1);case 81:return ca()}return gt(A.Expression_expected)}function Du(){let o=M(),p=Ue();J(21);let m=lt(kt);return J(22),Ce(P(mn(m),o),p)}function ic(){let o=M();J(26);let p=zt(!0);return P(y.createSpreadElement(p),o)}function ac(){return u()===26?ic():u()===28?P(y.createOmittedExpression(),M()):zt(!0)}function sc(){return Ct(a,ac)}function _c(){let o=M(),p=t.getTokenStart(),m=J(23),g=t.hasPrecedingLineBreak(),b=un(15,ac);return Lr(23,24,m,p),P(de(b,g),o)}function oc(){let o=M(),p=Ue();if(pt(26)){let ce=zt(!0);return Ce(P(y.createSpreadAssignment(ce),o),p)}let m=On(!0);if(ti(139))return _i(o,p,m,178,0);if(ti(153))return _i(o,p,m,179,0);let g=pt(42),b=ve(),N=jr(),Q=pt(58),_e=pt(54);if(g||u()===21||u()===30)return Lc(o,p,m,g,N,Q,_e);let ee;if(b&&u()!==59){let ce=pt(64),je=ce?lt(()=>zt(!0)):void 0;ee=y.createShorthandPropertyAssignment(N,je),ee.equalsToken=ce}else{J(59);let ce=lt(()=>zt(!0));ee=y.createPropertyAssignment(N,ce)}return ee.modifiers=m,ee.questionToken=Q,ee.exclamationToken=_e,Ce(P(ee,o),p)}function Is(){let o=M(),p=t.getTokenStart(),m=J(19),g=t.hasPrecedingLineBreak(),b=un(12,oc,!0);return Lr(19,20,m,p),P(O(b,g),o)}function Os(){let o=Ze();Qe(!1);let p=M(),m=Ue(),g=On(!1);J(100);let b=pt(42),N=b?1:0,Q=Zt(g,cl)?2:0,_e=N&&Q?Z(Li):N?Wn(Li):Q?U(Li):Li(),ee=pn(),te=Xn(N|Q),ce=In(59,!1),je=wa(N|Q);Qe(o);let Je=y.createFunctionExpression(g,b,_e,ee,te,ce,je);return Ce(P(Je,p),m)}function Li(){return qe()?Ka():void 0}function cc(){let o=M();if(J(105),Le(25)){let N=jt();return P(y.createMetaProperty(105,N),o)}let p=M(),m=rn(p,Ns(),!1),g;m.kind===234&&(g=m.typeArguments,m=m.expression),u()===29&&Ee(A.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,r_($e,m));let b=u()===21?rc():void 0;return P(nr(m,g,b),o)}function Fr(o,p){let m=M(),g=Ue(),b=t.getTokenStart(),N=J(19,p);if(N||o){let Q=t.hasPrecedingLineBreak(),_e=bn(1,Yt);Lr(19,20,N,b);let ee=Ce(P(rr(_e,Q),m),g);return u()===64&&(Ee(A.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),B()),ee}else{let Q=lr();return Ce(P(rr(Q,void 0),m),g)}}function wa(o,p){let m=we();He(!!(o&1));let g=Ye();st(!!(o&2));let b=qt;qt=!1;let N=Ze();N&&Qe(!1);let Q=Fr(!!(o&16),p);return N&&Qe(!0),qt=b,He(m),st(g),Q}function lc(){let o=M(),p=Ue();return J(27),Ce(P(y.createEmptyStatement(),o),p)}function Pu(){let o=M(),p=Ue();J(101);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Yt(),Q=Le(93)?Yt():void 0;return Ce(P(We(b,N,Q),o),p)}function uc(){let o=M(),p=Ue();J(92);let m=Yt();J(117);let g=t.getTokenStart(),b=J(21),N=lt(kt);return Lr(21,22,b,g),Le(27),Ce(P(y.createDoStatement(m,N),o),p)}function Nu(){let o=M(),p=Ue();J(117);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Yt();return Ce(P(ir(b,N),o),p)}function pc(){let o=M(),p=Ue();J(99);let m=pt(135);J(21);let g;u()!==27&&(u()===115||u()===121||u()===87||u()===160&&H(wc)||u()===135&&H(Js)?g=Ic(!0):g=Mr(kt));let b;if(m?J(165):Le(165)){let N=lt(()=>zt(!0));J(22),b=Ot(m,g,N,Yt())}else if(Le(103)){let N=lt(kt);J(22),b=y.createForInStatement(g,N,Yt())}else{J(27);let N=u()!==27&&u()!==22?lt(kt):void 0;J(27);let Q=u()!==22?lt(kt):void 0;J(22),b=Ir(g,N,Q,Yt())}return Ce(P(b,o),p)}function fc(o){let p=M(),m=Ue();J(o===253?83:88);let g=_r()?void 0:gt();Qt();let b=o===253?y.createBreakStatement(g):y.createContinueStatement(g);return Ce(P(b,p),m)}function dc(){let o=M(),p=Ue();J(107);let m=_r()?void 0:lt(kt);return Qt(),Ce(P(y.createReturnStatement(m),o),p)}function Iu(){let o=M(),p=Ue();J(118);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Tt(67108864,Yt);return Ce(P(y.createWithStatement(b,N),o),p)}function mc(){let o=M(),p=Ue();J(84);let m=lt(kt);J(59);let g=bn(3,Yt);return Ce(P(y.createCaseClause(m,g),o),p)}function Ou(){let o=M();J(90),J(59);let p=bn(3,Yt);return P(y.createDefaultClause(p),o)}function Mu(){return u()===84?mc():Ou()}function hc(){let o=M();J(19);let p=bn(2,Mu);return J(20),P(y.createCaseBlock(p),o)}function Lu(){let o=M(),p=Ue();J(109),J(21);let m=lt(kt);J(22);let g=hc();return Ce(P(y.createSwitchStatement(m,g),o),p)}function yc(){let o=M(),p=Ue();J(111);let m=t.hasPrecedingLineBreak()?void 0:lt(kt);return m===void 0&&(yn++,m=P(ue(""),M())),oa()||xt(m),Ce(P(y.createThrowStatement(m),o),p)}function Ju(){let o=M(),p=Ue();J(113);let m=Fr(!1),g=u()===85?gc():void 0,b;return(!g||u()===98)&&(J(98,A.catch_or_finally_expected),b=Fr(!1)),Ce(P(y.createTryStatement(m,g,b),o),p)}function gc(){let o=M();J(85);let p;Le(21)?(p=Ea(),J(22)):p=void 0;let m=Fr(!1);return P(y.createCatchClause(p,m),o)}function ju(){let o=M(),p=Ue();return J(89),Qt(),Ce(P(y.createDebuggerStatement(),o),p)}function bc(){let o=M(),p=Ue(),m,g=u()===21,b=lt(kt);return Ke(b)&&Le(59)?m=y.createLabeledStatement(b,Yt()):(oa()||xt(b),m=Dn(b),g&&(p=!1)),Ce(P(m,o),p)}function Ms(){return B(),St(u())&&!t.hasPrecedingLineBreak()}function vc(){return B(),u()===86&&!t.hasPrecedingLineBreak()}function Tc(){return B(),u()===100&&!t.hasPrecedingLineBreak()}function Ls(){return B(),(St(u())||u()===9||u()===10||u()===11)&&!t.hasPrecedingLineBreak()}function Ru(){for(;;)switch(u()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return kc();case 135:return js();case 120:case 156:case 166:return fu();case 144:case 145:return Fu();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:let o=u();if(B(),t.hasPrecedingLineBreak())return!1;if(o===138&&u()===156)return!0;continue;case 162:return B(),u()===19||u()===80||u()===95;case 102:return B(),u()===166||u()===11||u()===42||u()===19||St(u());case 95:let p=B();if(p===156&&(p=H(B)),p===64||p===42||p===19||p===90||p===130||p===60)return!0;continue;case 126:B();continue;default:return!1}}function Ji(){return H(Ru)}function xc(){switch(u()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return Ji()||H(lo);case 87:case 95:return Ji();case 134:case 138:case 120:case 144:case 145:case 156:case 162:case 166:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return Ji()||!H(Ms);default:return Tr()}}function Sc(){return B(),qe()||u()===19||u()===23}function Uu(){return H(Sc)}function wc(){return ka(!0)}function Bu(){return B(),u()===64||u()===27||u()===59}function ka(o){return B(),o&&u()===165?H(Bu):(qe()||u()===19)&&!t.hasPrecedingLineBreak()}function kc(){return H(ka)}function Js(o){return B()===160?ka(o):!1}function js(){return H(Js)}function Yt(){switch(u()){case 27:return lc();case 19:return Fr(!1);case 115:return Ui(M(),Ue(),void 0);case 121:if(Uu())return Ui(M(),Ue(),void 0);break;case 135:if(js())return Ui(M(),Ue(),void 0);break;case 160:if(kc())return Ui(M(),Ue(),void 0);break;case 100:return Us(M(),Ue(),void 0);case 86:return Fs(M(),Ue(),void 0);case 101:return Pu();case 92:return uc();case 117:return Nu();case 99:return pc();case 88:return fc(252);case 83:return fc(253);case 107:return dc();case 118:return Iu();case 109:return Lu();case 111:return yc();case 113:case 85:case 98:return Ju();case 89:return ju();case 60:return ji();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(Ji())return ji();break}return bc()}function Ec(o){return o.kind===138}function ji(){let o=M(),p=Ue(),m=On(!0);if(Zt(m,Ec)){let b=qu(o);if(b)return b;for(let N of m)N.flags|=33554432;return Tt(33554432,()=>Ac(o,p,m))}else return Ac(o,p,m)}function qu(o){return Tt(33554432,()=>{let p=pa(yt,o);if(p)return J_(p)})}function Ac(o,p,m){switch(u()){case 115:case 121:case 87:case 160:case 135:return Ui(o,p,m);case 100:return Us(o,p,m);case 86:return Fs(o,p,m);case 120:return ep(o,p,m);case 156:return tp(o,p,m);case 94:return np(o,p,m);case 162:case 144:case 145:return rp(o,p,m);case 102:return Bi(o,p,m);case 95:switch(B(),u()){case 90:case 64:return Kc(o,p,m);case 130:return sp(o,p,m);default:return Qc(o,p,m)}default:if(m){let g=Gt(283,!0,A.Declaration_expected);return qp(g,o),g.modifiers=m,g}return}}function Cc(){return B()===11}function Dc(){return B(),u()===161||u()===64}function Fu(){return B(),!t.hasPrecedingLineBreak()&&(ve()||u()===11)}function Ri(o,p){if(u()!==19){if(o&4){ya();return}if(_r()){Qt();return}}return wa(o,p)}function zu(){let o=M();if(u()===28)return P(y.createOmittedExpression(),o);let p=pt(26),m=si(),g=xr();return P(y.createBindingElement(p,void 0,m,g),o)}function Pc(){let o=M(),p=pt(26),m=qe(),g=jr(),b;m&&u()!==59?(b=g,g=void 0):(J(59),b=si());let N=xr();return P(y.createBindingElement(p,g,b,N),o)}function Vu(){let o=M();J(19);let p=lt(()=>un(9,Pc));return J(20),P(y.createObjectBindingPattern(p),o)}function Nc(){let o=M();J(23);let p=lt(()=>un(10,zu));return J(24),P(y.createArrayBindingPattern(p),o)}function Rs(){return u()===19||u()===23||u()===81||qe()}function si(o){return u()===23?Nc():u()===19?Vu():Ka(o)}function Wu(){return Ea(!0)}function Ea(o){let p=M(),m=Ue(),g=si(A.Private_identifiers_are_not_allowed_in_variable_declarations),b;o&&g.kind===80&&u()===54&&!t.hasPrecedingLineBreak()&&(b=Wt());let N=vr(),Q=qo(u())?void 0:xr(),_e=Bn(g,b,N,Q);return Ce(P(_e,p),m)}function Ic(o){let p=M(),m=0;switch(u()){case 115:break;case 121:m|=1;break;case 87:m|=2;break;case 160:m|=4;break;case 135:q.assert(js()),m|=6,B();break;default:q.fail()}B();let g;if(u()===165&&H(Oc))g=lr();else{let b=me();Te(o),g=un(8,o?Ea:Wu),Te(b)}return P(Pn(g,m),p)}function Oc(){return Ci()&&B()===22}function Ui(o,p,m){let g=Ic(!1);Qt();let b=hn(m,g);return Ce(P(b,o),p)}function Us(o,p,m){let g=Ye(),b=Jn(m);J(100);let N=pt(42),Q=b&2048?Li():Ka(),_e=N?1:0,ee=b&1024?2:0,te=pn();b&32&&st(!0);let ce=Xn(_e|ee),je=In(59,!1),Je=Ri(_e|ee,A.or_expected);st(g);let De=y.createFunctionDeclaration(m,N,Q,te,ce,je,Je);return Ce(P(De,o),p)}function Gu(){if(u()===137)return J(137);if(u()===11&&H(B)===21)return le(()=>{let o=Hn();return o.text==="constructor"?o:void 0})}function Mc(o,p,m){return le(()=>{if(Gu()){let g=pn(),b=Xn(0),N=In(59,!1),Q=Ri(0,A.or_expected),_e=y.createConstructorDeclaration(m,b,Q);return _e.typeParameters=g,_e.type=N,Ce(P(_e,o),p)}})}function Lc(o,p,m,g,b,N,Q,_e){let ee=g?1:0,te=Zt(m,cl)?2:0,ce=pn(),je=Xn(ee|te),Je=In(59,!1),De=Ri(ee|te,_e),Ht=y.createMethodDeclaration(m,g,b,N,ce,je,Je,De);return Ht.exclamationToken=Q,Ce(P(Ht,o),p)}function Aa(o,p,m,g,b){let N=!b&&!t.hasPrecedingLineBreak()?pt(54):void 0,Q=vr(),_e=Ct(90112,xr);ql(g,Q,_e);let ee=y.createPropertyDeclaration(m,g,b||N,Q,_e);return Ce(P(ee,o),p)}function Bs(o,p,m){let g=pt(42),b=jr(),N=pt(58);return g||u()===21||u()===30?Lc(o,p,m,g,b,N,void 0,A.or_expected):Aa(o,p,m,b,N)}function _i(o,p,m,g,b){let N=jr(),Q=pn(),_e=Xn(0),ee=In(59,!1),te=Ri(b),ce=g===178?y.createGetAccessorDeclaration(m,N,_e,ee,te):y.createSetAccessorDeclaration(m,N,_e,te);return ce.typeParameters=Q,y_(ce)&&(ce.type=ee),Ce(P(ce,o),p)}function Jc(){let o;if(u()===60)return!0;for(;Yr(u());){if(o=u(),zg(o))return!0;B()}if(u()===42||(br()&&(o=u(),B()),u()===23))return!0;if(o!==void 0){if(!di(o)||o===153||o===139)return!0;switch(u()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return _r()}}return!1}function Yu(o,p,m){Yn(126);let g=Hu(),b=Ce(P(y.createClassStaticBlockDeclaration(g),o),p);return b.modifiers=m,b}function Hu(){let o=we(),p=Ye();He(!1),st(!0);let m=Fr(!1);return He(o),st(p),m}function jc(){if(Ye()&&u()===135){let o=M(),p=gt(A.Expression_expected);B();let m=rn(o,p,!0);return Ps(o,m)}return Oi()}function Rc(){let o=M();if(!Le(60))return;let p=wi(jc);return P(y.createDecorator(p),o)}function qs(o,p,m){let g=M(),b=u();if(u()===87&&p){if(!le(Za))return}else{if(m&&u()===126&&H(Da))return;if(o&&u()===126)return;if(!N_())return}return P(he(b),g)}function On(o,p,m){let g=M(),b,N,Q,_e=!1,ee=!1,te=!1;if(o&&u()===60)for(;N=Rc();)b=wn(b,N);for(;Q=qs(_e,p,m);)Q.kind===126&&(_e=!0),b=wn(b,Q),ee=!0;if(ee&&o&&u()===60)for(;N=Rc();)b=wn(b,N),te=!0;if(te)for(;Q=qs(_e,p,m);)Q.kind===126&&(_e=!0),b=wn(b,Q);return b&&At(b,g)}function Uc(){let o;if(u()===134){let p=M();B();let m=P(he(134),p);o=At([m],p)}return o}function Bc(){let o=M(),p=Ue();if(u()===27)return B(),Ce(P(y.createSemicolonClassElement(),o),p);let m=On(!0,!0,!0);if(u()===126&&H(Da))return Yu(o,p,m);if(ti(139))return _i(o,p,m,178,0);if(ti(153))return _i(o,p,m,179,0);if(u()===137||u()===11){let g=Mc(o,p,m);if(g)return g}if(Br())return ds(o,p,m);if(St(u())||u()===11||u()===9||u()===10||u()===42||u()===23)if(Zt(m,Ec)){for(let b of m)b.flags|=33554432;return Tt(33554432,()=>Bs(o,p,m))}else return Bs(o,p,m);if(m){let g=Gt(80,!0,A.Declaration_expected);return Aa(o,p,m,g,void 0)}return q.fail("Should not have attempted to parse class member declaration.")}function Xu(){let o=M(),p=Ue(),m=On(!0);if(u()===86)return zs(o,p,m,232);let g=Gt(283,!0,A.Expression_expected);return qp(g,o),g.modifiers=m,g}function $u(){return zs(M(),Ue(),void 0,232)}function Fs(o,p,m){return zs(o,p,m,264)}function zs(o,p,m,g){let b=Ye();J(86);let N=Qu(),Q=pn();Zt(m,zb)&&st(!0);let _e=Fc(),ee;J(19)?(ee=zc(),J(20)):ee=lr(),st(b);let te=g===264?y.createClassDeclaration(m,N,Q,_e,ee):y.createClassExpression(m,N,Q,_e,ee);return Ce(P(te,o),p)}function Qu(){return qe()&&!qc()?or(qe()):void 0}function qc(){return u()===119&&H(Xl)}function Fc(){if(Vs())return bn(22,Ku)}function Ku(){let o=M(),p=u();q.assert(p===96||p===119),B();let m=un(7,Zu);return P(y.createHeritageClause(p,m),o)}function Zu(){let o=M(),p=Oi();if(p.kind===234)return p;let m=Ca();return P(y.createExpressionWithTypeArguments(p,m),o)}function Ca(){return u()===30?Rr(20,_t,30,32):void 0}function Vs(){return u()===96||u()===119}function zc(){return bn(5,Bc)}function ep(o,p,m){J(120);let g=gt(),b=pn(),N=Fc(),Q=po(),_e=y.createInterfaceDeclaration(m,g,b,N,Q);return Ce(P(_e,o),p)}function tp(o,p,m){J(156),t.hasPrecedingLineBreak()&&Ee(A.Line_break_not_permitted_here);let g=gt(),b=pn();J(64);let N=u()===141&&le(bo)||_t();Qt();let Q=y.createTypeAliasDeclaration(m,g,b,N);return Ce(P(Q,o),p)}function Ws(){let o=M(),p=Ue(),m=jr(),g=lt(xr);return Ce(P(y.createEnumMember(m,g),o),p)}function np(o,p,m){J(94);let g=gt(),b;J(19)?(b=xe(()=>un(6,Ws)),J(20)):b=lr();let N=y.createEnumDeclaration(m,g,b);return Ce(P(N,o),p)}function Gs(){let o=M(),p;return J(19)?(p=bn(1,Yt),J(20)):p=lr(),P(y.createModuleBlock(p),o)}function Vc(o,p,m,g){let b=g&32,N=g&8?jt():gt(),Q=Le(25)?Vc(M(),!1,void 0,8|b):Gs(),_e=y.createModuleDeclaration(m,N,Q,g);return Ce(P(_e,o),p)}function Wc(o,p,m){let g=0,b;u()===162?(b=gt(),g|=2048):(b=Hn(),b.text=Jr(b.text));let N;u()===19?N=Gs():Qt();let Q=y.createModuleDeclaration(m,b,N,g);return Ce(P(Q,o),p)}function rp(o,p,m){let g=0;if(u()===162)return Wc(o,p,m);if(Le(145))g|=32;else if(J(144),u()===11)return Wc(o,p,m);return Vc(o,p,m,g)}function ip(){return u()===149&&H(Gc)}function Gc(){return B()===21}function Da(){return B()===19}function ap(){return B()===44}function sp(o,p,m){J(130),J(145);let g=gt();Qt();let b=y.createNamespaceExportDeclaration(g);return b.modifiers=m,Ce(P(b,o),p)}function Bi(o,p,m){J(102);let g=t.getTokenFullStart(),b;ve()&&(b=gt());let N;if(b?.escapedText==="type"&&(u()!==161||ve()&&H(Dc))&&(ve()||zr())?(N=156,b=ve()?gt():void 0):b?.escapedText==="defer"&&(u()===161?!H(Cc):u()!==28&&u()!==64)&&(N=166,b=ve()?gt():void 0),b&&!op()&&N!==166)return cp(o,p,m,b,N===156);let Q=Yc(b,g,N,void 0),_e=Fi(),ee=Hc();Qt();let te=y.createImportDeclaration(m,Q,_e,ee);return Ce(P(te,o),p)}function Yc(o,p,m,g=!1){let b;return(o||u()===42||u()===19)&&(b=lp(o,p,m,g),J(161)),b}function Hc(){let o=u();if((o===118||o===132)&&!t.hasPrecedingLineBreak())return Ys(o)}function _p(){let o=M(),p=St(u())?jt():ri(11);J(59);let m=zt(!0);return P(y.createImportAttribute(p,m),o)}function Ys(o,p){let m=M();p||J(o);let g=t.getTokenStart();if(J(19)){let b=t.hasPrecedingLineBreak(),N=un(24,_p,!0);if(!J(20)){let Q=Ba(at);Q&&Q.code===A._0_expected.code&&sl(Q,Oa(Mt,$e,g,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return P(y.createImportAttributes(N,b,o),m)}else{let b=At([],M(),void 0,!1);return P(y.createImportAttributes(b,!1,o),m)}}function zr(){return u()===42||u()===19}function op(){return u()===28||u()===161}function cp(o,p,m,g,b){J(64);let N=qi();Qt();let Q=y.createImportEqualsDeclaration(m,b,g,N);return Ce(P(Q,o),p)}function lp(o,p,m,g){let b;return(!o||Le(28))&&(g&&t.setSkipJsDocLeadingAsterisks(!0),u()===42?b=pp():b=Xc(276),g&&t.setSkipJsDocLeadingAsterisks(!1)),P(y.createImportClause(m,o,b),p)}function qi(){return ip()?up():Ur(!1)}function up(){let o=M();J(149),J(21);let p=Fi();return J(22),P(y.createExternalModuleReference(p),o)}function Fi(){if(u()===11){let o=Hn();return o.text=Jr(o.text),o}else return kt()}function pp(){let o=M();J(42),J(130);let p=gt();return P(y.createNamespaceImport(p),o)}function Hs(){return St(u())||u()===11}function oi(o){return u()===11?Hn():o()}function Xc(o){let p=M(),m=o===276?y.createNamedImports(Rr(23,fp,19,20)):y.createNamedExports(Rr(23,ci,19,20));return P(m,p)}function ci(){let o=Ue();return Ce($c(282),o)}function fp(){return $c(277)}function $c(o){let p=M(),m=di(u())&&!ve(),g=t.getTokenStart(),b=t.getTokenEnd(),N=!1,Q,_e=!0,ee=oi(jt);if(ee.kind===80&&ee.escapedText==="type")if(u()===130){let je=jt();if(u()===130){let Je=jt();Hs()?(N=!0,Q=je,ee=oi(ce),_e=!1):(Q=ee,ee=Je,_e=!1)}else Hs()?(Q=ee,_e=!1,ee=oi(ce)):(N=!0,ee=je)}else Hs()&&(N=!0,ee=oi(ce));_e&&u()===130&&(Q=ee,J(130),ee=oi(ce)),o===277&&(ee.kind!==80?(rt(Cr($e,ee.pos),ee.end,A.Identifier_expected),ee=yi(Gt(80,!1),ee.pos,ee.pos)):m&&rt(g,b,A.Identifier_expected));let te=o===277?y.createImportSpecifier(N,Q,ee):y.createExportSpecifier(N,Q,ee);return P(te,p);function ce(){return m=di(u())&&!ve(),g=t.getTokenStart(),b=t.getTokenEnd(),jt()}}function dp(o){return P(y.createNamespaceExport(oi(jt)),o)}function Qc(o,p,m){let g=Ye();st(!0);let b,N,Q,_e=Le(156),ee=M();Le(42)?(Le(130)&&(b=dp(ee)),J(161),N=Fi()):(b=Xc(280),(u()===161||u()===11&&!t.hasPrecedingLineBreak())&&(J(161),N=Fi()));let te=u();N&&(te===118||te===132)&&!t.hasPrecedingLineBreak()&&(Q=Ys(te)),Qt(),st(g);let ce=y.createExportDeclaration(m,_e,b,N,Q);return Ce(P(ce,o),p)}function Kc(o,p,m){let g=Ye();st(!0);let b;Le(64)?b=!0:J(90);let N=zt(!0);Qt(),st(g);let Q=y.createExportAssignment(m,b,N);return Ce(P(Q,o),p)}let Xs;(o=>{o[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"})(Xs||(Xs={}));let Zc;(o=>{o[o.False=0]="False",o[o.True=1]="True",o[o.Unknown=2]="Unknown"})(Zc||(Zc={}));let el;(o=>{function p(te,ce,je){Fn("file.js",te,99,void 0,1,0),t.setText(te,ce,je),ct=t.scan();let Je=m(),De=se("file.js",99,1,!1,[],he(1),0,Va),Ht=Yi(at,De);return Bt&&(De.jsDocDiagnostics=Yi(Bt,De)),zn(),Je?{jsDocTypeExpression:Je,diagnostics:Ht}:void 0}o.parseJSDocTypeExpressionForTests=p;function m(te){let ce=M(),je=(te?Le:J)(19),Je=Tt(16777216,ls);(!te||je)&&C_(20);let De=y.createJSDocTypeExpression(Je);return L(De),P(De,ce)}o.parseJSDocTypeExpression=m;function g(){let te=M(),ce=Le(19),je=M(),Je=Ur(!1);for(;u()===81;)Pt(),Be(),Je=P(y.createJSDocMemberName(Je,gt()),je);ce&&C_(20);let De=y.createJSDocNameReference(Je);return L(De),P(De,te)}o.parseJSDocNameReference=g;function b(te,ce,je){Fn("",te,99,void 0,1,0);let Je=Tt(16777216,()=>ee(ce,je)),Ht=Yi(at,{languageVariant:0,text:te});return zn(),Je?{jsDoc:Je,diagnostics:Ht}:void 0}o.parseIsolatedJSDocComment=b;function N(te,ce,je){let Je=ct,De=at.length,Ht=tn,Nt=Tt(16777216,()=>ee(ce,je));return wf(Nt,te),tt&524288&&(Bt||(Bt=[]),En(Bt,at,De)),ct=Je,at.length=De,tn=Ht,Nt}o.parseJSDocComment=N;let Q;(te=>{te[te.BeginningOfLine=0]="BeginningOfLine",te[te.SawAsterisk=1]="SawAsterisk",te[te.SavingComments=2]="SavingComments",te[te.SavingBackticks=3]="SavingBackticks"})(Q||(Q={}));let _e;(te=>{te[te.Property=1]="Property",te[te.Parameter=2]="Parameter",te[te.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function ee(te=0,ce){let je=$e,Je=ce===void 0?je.length:te+ce;if(ce=Je-te,q.assert(te>=0),q.assert(te<=Je),q.assert(Je<=je.length),!P6(je,te))return;let De,Ht,Nt,ur,pr,Mn=[],Vr=[],Pe=yt;yt|=1<<25;let et=t.scanRange(te+3,ce-5,wr);return yt=Pe,et;function wr(){let I=1,X,$=te-(je.lastIndexOf(` +`,te)+1)+4;function ne(Re){X||(X=$),Mn.push(Re),$+=Re.length}for(Be();Gi(5););Gi(4)&&(I=0,$=0);e:for(;;){switch(u()){case 60:mp(Mn),pr||(pr=M()),Fe(n($)),I=0,X=void 0;break;case 4:Mn.push(t.getTokenText()),I=0,$=0;break;case 42:let Re=t.getTokenText();I===1?(I=2,ne(Re)):(q.assert(I===0),I=1,$+=Re.length);break;case 5:q.assert(I!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let ut=t.getTokenText();X!==void 0&&$+ut.length>X&&Mn.push(ut.slice(X-$)),$+=ut.length;break;case 1:break e;case 82:I=2,ne(t.getTokenValue());break;case 19:I=2;let fn=t.getTokenFullStart(),an=t.getTokenEnd()-1,Kt=l(an);if(Kt){ur||zi(Mn),Vr.push(P(y.createJSDocText(Mn.join("")),ur??te,fn)),Vr.push(Kt),Mn=[],ur=t.getTokenEnd();break}default:I=2,ne(t.getTokenText());break}I===2?nn(!1):Be()}let re=Mn.join("").trimEnd();Vr.length&&re.length&&Vr.push(P(y.createJSDocText(re),ur??te,pr)),Vr.length&&De&&q.assertIsDefined(pr,"having parsed tags implies that the end of the comment span should be set");let Ne=De&&At(De,Ht,Nt);return P(y.createJSDocComment(Vr.length?At(Vr,te,pr):re.length?re:void 0,Ne),te,Je)}function zi(I){for(;I.length&&(I[0]===` +`||I[0]==="\r");)I.shift()}function mp(I){for(;I.length;){let X=I[I.length-1].trimEnd();if(X==="")I.pop();else if(X.lengthut&&(ne.push(Qn.slice(ut-I)),Re=2),I+=Qn.length;break;case 19:Re=2;let tl=t.getTokenFullStart(),Pa=t.getTokenEnd()-1,nl=l(Pa);nl?(re.push(P(y.createJSDocText(ne.join("")),Ne??$,tl)),re.push(nl),ne=[],Ne=t.getTokenEnd()):fn(t.getTokenText());break;case 62:Re===3?Re=2:Re=3,fn(t.getTokenText());break;case 82:Re!==3&&(Re=2),fn(t.getTokenValue());break;case 42:if(Re===0){Re=1,I+=1;break}default:Re!==3&&(Re=2),fn(t.getTokenText());break}Re===2||Re===3?an=nn(Re===3):an=Be()}zi(ne);let Kt=ne.join("").trimEnd();if(re.length)return Kt.length&&re.push(P(y.createJSDocText(Kt),Ne??$)),At(re,$,t.getTokenEnd());if(Kt.length)return Kt}function l(I){let X=le(v);if(!X)return;Be(),Tn();let $=d(),ne=[];for(;u()!==20&&u()!==4&&u()!==1;)ne.push(t.getTokenText()),Be();let re=X==="link"?y.createJSDocLink:X==="linkcode"?y.createJSDocLinkCode:y.createJSDocLinkPlain;return P(re($,ne.join("")),I,t.getTokenEnd())}function d(){if(St(u())){let I=M(),X=jt();for(;Le(25);)X=P(y.createQualifiedName(X,u()===81?Gt(80,!1):jt()),I);for(;u()===81;)Pt(),Be(),X=P(y.createJSDocMemberName(X,gt()),I);return X}}function v(){if(j(),u()===19&&Be()===60&&St(Be())){let I=t.getTokenValue();if(F(I))return I}}function F(I){return I==="link"||I==="linkcode"||I==="linkplain"}function pe(I,X,$,ne){return P(y.createJSDocUnknownTag(X,i(I,M(),$,ne)),I)}function Fe(I){I&&(De?De.push(I):(De=[I],Ht=I.pos),Nt=I.end)}function It(){return j(),u()===19?m():void 0}function fr(){let I=Gi(23);I&&Tn();let X=Gi(62),$=ey();return X&&zl(62),I&&(Tn(),pt(64)&&kt(),J(24)),{name:$,isBracketed:I}}function xn(I){switch(I.kind){case 151:return!0;case 189:return xn(I.elementType);default:return Pf(I)&&Ke(I.typeName)&&I.typeName.escapedText==="Object"&&!I.typeArguments}}function Vi(I,X,$,ne){let re=It(),Ne=!re;j();let{name:Re,isBracketed:ut}=fr(),fn=j();Ne&&!H(v)&&(re=It());let an=i(I,M(),ne,fn),Kt=O0(re,Re,$,ne);Kt&&(re=Kt,Ne=!0);let Qn=$===1?y.createJSDocPropertyTag(X,Re,ut,re,Ne,an):y.createJSDocParameterTag(X,Re,ut,re,Ne,an);return P(Qn,I)}function O0(I,X,$,ne){if(I&&xn(I.type)){let re=M(),Ne,Re;for(;Ne=le(()=>yp($,ne,X));)Ne.kind===342||Ne.kind===349?Re=wn(Re,Ne):Ne.kind===346&&on(Ne.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(Re){let ut=P(y.createJSDocTypeLiteral(Re,I.type.kind===189),re);return P(y.createJSDocTypeExpression(ut),re)}}}function M0(I,X,$,ne){Zt(De,y6)&&rt(X.pos,t.getTokenStart(),A._0_tag_already_specified,l_(X.escapedText));let re=It();return P(y.createJSDocReturnTag(X,re,i(I,M(),$,ne)),I)}function pd(I,X,$,ne){Zt(De,Vf)&&rt(X.pos,t.getTokenStart(),A._0_tag_already_specified,l_(X.escapedText));let re=m(!0),Ne=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocTypeTag(X,re,Ne),I)}function L0(I,X,$,ne){let Ne=u()===23||H(()=>Be()===60&&St(Be())&&F(t.getTokenValue()))?void 0:g(),Re=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocSeeTag(X,Ne,Re),I)}function J0(I,X,$,ne){let re=It(),Ne=i(I,M(),$,ne);return P(y.createJSDocThrowsTag(X,re,Ne),I)}function j0(I,X,$,ne){let re=M(),Ne=R0(),Re=t.getTokenFullStart(),ut=i(I,Re,$,ne);ut||(Re=t.getTokenFullStart());let fn=typeof ut!="string"?At(Hp([P(Ne,re,Re)],ut),re):Ne.text+ut;return P(y.createJSDocAuthorTag(X,fn),I)}function R0(){let I=[],X=!1,$=t.getToken();for(;$!==1&&$!==4;){if($===30)X=!0;else{if($===60&&!X)break;if($===32&&X){I.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}I.push(t.getTokenText()),$=Be()}return y.createJSDocText(I.join(""))}function U0(I,X,$,ne){let re=fd();return P(y.createJSDocImplementsTag(X,re,i(I,M(),$,ne)),I)}function B0(I,X,$,ne){let re=fd();return P(y.createJSDocAugmentsTag(X,re,i(I,M(),$,ne)),I)}function q0(I,X,$,ne){let re=m(!1),Ne=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocSatisfiesTag(X,re,Ne),I)}function F0(I,X,$,ne){let re=t.getTokenFullStart(),Ne;ve()&&(Ne=gt());let Re=Yc(Ne,re,156,!0),ut=Fi(),fn=Hc(),an=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocImportTag(X,Re,ut,fn,an),I)}function fd(){let I=Le(19),X=M(),$=z0();t.setSkipJsDocLeadingAsterisks(!0);let ne=Ca();t.setSkipJsDocLeadingAsterisks(!1);let re=y.createExpressionWithTypeArguments($,ne),Ne=P(re,X);return I&&(Tn(),J(20)),Ne}function z0(){let I=M(),X=li();for(;Le(25);){let $=li();X=P(ae(X,$),I)}return X}function Wi(I,X,$,ne,re){return P(X($,i(I,M(),ne,re)),I)}function dd(I,X,$,ne){let re=m(!0);return Tn(),P(y.createJSDocThisTag(X,re,i(I,M(),$,ne)),I)}function V0(I,X,$,ne){let re=m(!0);return Tn(),P(y.createJSDocEnumTag(X,re,i(I,M(),$,ne)),I)}function W0(I,X,$,ne){let re=It();j();let Ne=hp();Tn();let Re=s($),ut;if(!re||xn(re.type)){let an,Kt,Qn,tl=!1;for(;(an=le(()=>$0($)))&&an.kind!==346;)if(tl=!0,an.kind===345)if(Kt){let Pa=Ee(A.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Pa&&sl(Pa,Oa(Mt,$e,0,0,A.The_tag_was_first_specified_here));break}else Kt=an;else Qn=wn(Qn,an);if(tl){let Pa=re&&re.type.kind===189,nl=y.createJSDocTypeLiteral(Qn,Pa);re=Kt&&Kt.typeExpression&&!xn(Kt.typeExpression.type)?Kt.typeExpression:P(nl,I),ut=re.end}}ut=ut||Re!==void 0?M():(Ne??re??X).end,Re||(Re=i(I,ut,$,ne));let fn=y.createJSDocTypedefTag(X,re,Ne,Re);return P(fn,I,ut)}function hp(I){let X=t.getTokenStart();if(!St(u()))return;let $=li();if(Le(25)){let ne=hp(!0),re=y.createModuleDeclaration(void 0,$,ne,I?8:void 0);return P(re,X)}return I&&($.flags|=4096),$}function G0(I){let X=M(),$,ne;for(;$=le(()=>yp(4,I));){if($.kind===346){on($.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}ne=wn(ne,$)}return At(ne||[],X)}function md(I,X){let $=G0(X),ne=le(()=>{if(Gi(60)){let re=n(X);if(re&&re.kind===343)return re}});return P(y.createJSDocSignature(void 0,$,ne),I)}function Y0(I,X,$,ne){let re=hp();Tn();let Ne=s($),Re=md(I,$);Ne||(Ne=i(I,M(),$,ne));let ut=Ne!==void 0?M():Re.end;return P(y.createJSDocCallbackTag(X,Re,re,Ne),I,ut)}function H0(I,X,$,ne){Tn();let re=s($),Ne=md(I,$);re||(re=i(I,M(),$,ne));let Re=re!==void 0?M():Ne.end;return P(y.createJSDocOverloadTag(X,Ne,re),I,Re)}function X0(I,X){for(;!Ke(I)||!Ke(X);)if(!Ke(I)&&!Ke(X)&&I.right.escapedText===X.right.escapedText)I=I.left,X=X.left;else return!1;return I.escapedText===X.escapedText}function $0(I){return yp(1,I)}function yp(I,X,$){let ne=!0,re=!1;for(;;)switch(Be()){case 60:if(ne){let Ne=Q0(I,X);return Ne&&(Ne.kind===342||Ne.kind===349)&&$&&(Ke(Ne.name)||!X0($,Ne.name.left))?!1:Ne}re=!1;break;case 4:ne=!0,re=!1;break;case 42:re&&(ne=!1),re=!0;break;case 80:ne=!1;break;case 1:return!1}}function Q0(I,X){q.assert(u()===60);let $=t.getTokenFullStart();Be();let ne=li(),re=j(),Ne;switch(ne.escapedText){case"type":return I===1&&pd($,ne);case"prop":case"property":Ne=1;break;case"arg":case"argument":case"param":Ne=6;break;case"template":return hd($,ne,X,re);case"this":return dd($,ne,X,re);default:return!1}return I&Ne?Vi($,ne,I,X):!1}function K0(){let I=M(),X=Gi(23);X&&Tn();let $=On(!1,!0),ne=li(A.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),re;if(X&&(Tn(),J(64),re=Tt(16777216,ls),J(24)),!Zi(ne))return P(y.createTypeParameterDeclaration($,ne,void 0,re),I)}function Z0(){let I=M(),X=[];do{Tn();let $=K0();$!==void 0&&X.push($),j()}while(Gi(28));return At(X,I)}function hd(I,X,$,ne){let re=u()===19?m():void 0,Ne=Z0();return P(y.createJSDocTemplateTag(X,re,Ne,i(I,M(),$,ne)),I)}function Gi(I){return u()===I?(Be(),!0):!1}function ey(){let I=li();for(Le(23)&&J(24);Le(25);){let X=li();Le(23)&&J(24),I=$l(I,X)}return I}function li(I){if(!St(u()))return Gt(80,!I,I||A.Identifier_expected);yn++;let X=t.getTokenStart(),$=t.getTokenEnd(),ne=u(),re=Jr(t.getTokenValue()),Ne=P(ue(re,ne),X,$);return Be(),Ne}}})(el=e.JSDocParser||(e.JSDocParser={}))})(ta||(ta={}));var ym=new WeakSet;function B6(e){ym.has(e)&&q.fail("Source file has already been incrementally parsed"),ym.add(e)}var fh=new WeakSet;function q6(e){return fh.has(e)}function Gp(e){fh.add(e)}var Sl;(e=>{function t(D,R,ue,be){if(be=be||q.shouldAssert(2),y(D,R,ue,be),gg(ue))return D;if(D.statements.length===0)return ta.parseSourceFile(D.fileName,R,D.languageVersion,void 0,!0,D.scriptKind,D.setExternalModuleIndicator,D.jsDocParsingMode);B6(D),ta.fixupParentReferences(D);let he=D.text,de=G(D),O=c(D,ue);y(D,R,O,be),q.assert(O.span.start<=ue.span.start),q.assert(kr(O.span)===kr(ue.span)),q.assert(kr(Qs(O))===kr(Qs(ue)));let ae=Qs(O).length-O.span.length;k(D,O.span.start,kr(O.span),kr(Qs(O)),ae,he,R,be);let Oe=ta.parseSourceFile(D.fileName,R,D.languageVersion,de,!0,D.scriptKind,D.setExternalModuleIndicator,D.jsDocParsingMode);return Oe.commentDirectives=a(D.commentDirectives,Oe.commentDirectives,O.span.start,kr(O.span),ae,he,R,be),Oe.impliedNodeFormat=D.impliedNodeFormat,T6(D,Oe),Oe}e.updateSourceFile=t;function a(D,R,ue,be,he,de,O,ae){if(!D)return R;let Oe,V=!1;for(let Y of D){let{range:ft,type:nr}=Y;if(ft.endbe){oe();let mn={range:{pos:ft.pos+he,end:ft.end+he},type:nr};Oe=wn(Oe,mn),ae&&q.assert(de.substring(ft.pos,ft.end)===O.substring(mn.range.pos,mn.range.end))}}return oe(),Oe;function oe(){V||(V=!0,Oe?R&&Oe.push(...R):Oe=R)}}function _(D,R,ue,be,he,de,O){ue?Oe(D):ae(D);return;function ae(V){let oe="";if(O&&f(V)&&(oe=he.substring(V.pos,V.end)),Yd(V,R),yi(V,V.pos+be,V.end+be),O&&f(V)&&q.assert(oe===de.substring(V.pos,V.end)),Xt(V,ae,Oe),Ki(V))for(let Y of V.jsDoc)ae(Y);T(V,O)}function Oe(V){yi(V,V.pos+be,V.end+be);for(let oe of V)ae(oe)}}function f(D){switch(D.kind){case 11:case 9:case 80:return!0}return!1}function h(D,R,ue,be,he){q.assert(D.end>=R,"Adjusting an element that was entirely before the change range"),q.assert(D.pos<=ue,"Adjusting an element that was entirely after the change range"),q.assert(D.pos<=D.end);let de=Math.min(D.pos,be),O=D.end>=ue?D.end+he:Math.min(D.end,be);if(q.assert(de<=O),D.parent){let ae=D.parent;q.assertGreaterThanOrEqual(de,ae.pos),q.assertLessThanOrEqual(O,ae.end)}yi(D,de,O)}function T(D,R){if(R){let ue=D.pos,be=he=>{q.assert(he.pos>=ue),ue=he.end};if(Ki(D))for(let he of D.jsDoc)be(he);Xt(D,be),q.assert(ue<=D.end)}}function k(D,R,ue,be,he,de,O,ae){Oe(D);return;function Oe(oe){if(q.assert(oe.pos<=oe.end),oe.pos>ue){_(oe,D,!1,he,de,O,ae);return}let Y=oe.end;if(Y>=R){if(Gp(oe),Yd(oe,D),h(oe,R,ue,be,he),Xt(oe,Oe,V),Ki(oe))for(let ft of oe.jsDoc)Oe(ft);T(oe,ae);return}q.assert(Yue){_(oe,D,!0,he,de,O,ae);return}let Y=oe.end;if(Y>=R){Gp(oe),h(oe,R,ue,be,he);for(let ft of oe)Oe(ft);return}q.assert(Y0&&O<=1;O++){let ae=W(D,be);q.assert(ae.pos<=be);let Oe=ae.pos;be=Math.max(0,Oe-1)}let he=yg(be,kr(R.span)),de=R.newLength+(R.span.start-be);return Hm(he,de)}function W(D,R){let ue=D,be;if(Xt(D,de),be){let O=he(be);O.pos>ue.pos&&(ue=O)}return ue;function he(O){for(;;){let ae=nb(O);if(ae)O=ae;else return O}}function de(O){if(!Zi(O))if(O.pos<=R){if(O.pos>=ue.pos&&(ue=O),RR),!0}}function y(D,R,ue,be){let he=D.text;if(ue&&(q.assert(he.length-ue.span.length+ue.newLength===R.length),be||q.shouldAssert(3))){let de=he.substr(0,ue.span.start),O=R.substr(0,ue.span.start);q.assert(de===O);let ae=he.substring(kr(ue.span),he.length),Oe=R.substring(kr(Qs(ue)),R.length);q.assert(ae===Oe)}}function G(D){let R=D.statements,ue=0;q.assert(ue=V.pos&&O=V.pos&&O{D[D.Value=-1]="Value"})(E||(E={}))})(Sl||(Sl={}));function F6(e){return z6(e)!==void 0}function z6(e){let t=Om(e,Sb,!1);if(t)return t;if(qy(e,".ts")){let a=Im(e),_=a.lastIndexOf(".d.");if(_>=0)return a.substring(_)}}function V6(e,t,a,_){if(e){if(e==="import")return 99;if(e==="require")return 1;_(t,a-t,A.resolution_mode_should_be_either_require_or_import)}}function W6(e,t){let a=[];for(let _ of Jp(t,0)||vt){let f=t.substring(_.pos,_.end);$6(a,_,f)}e.pragmas=new Map;for(let _ of a){if(e.pragmas.has(_.name)){let f=e.pragmas.get(_.name);f instanceof Array?f.push(_.args):e.pragmas.set(_.name,[f,_.args]);continue}e.pragmas.set(_.name,_.args)}}function G6(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((a,_)=>{switch(_){case"reference":{let f=e.referencedFiles,h=e.typeReferenceDirectives,T=e.libReferenceDirectives;jn(vp(a),k=>{let{types:c,lib:W,path:y,["resolution-mode"]:G,preserve:E}=k.arguments,D=E==="true"?!0:void 0;if(k.arguments["no-default-lib"]==="true")e.hasNoDefaultLib=!0;else if(c){let R=V6(G,c.pos,c.end,t);h.push({pos:c.pos,end:c.end,fileName:c.value,...R?{resolutionMode:R}:{},...D?{preserve:D}:{}})}else W?T.push({pos:W.pos,end:W.end,fileName:W.value,...D?{preserve:D}:{}}):y?f.push({pos:y.pos,end:y.end,fileName:y.value,...D?{preserve:D}:{}}):t(k.range.pos,k.range.end-k.range.pos,A.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Np(vp(a),f=>({name:f.arguments.name,path:f.arguments.path}));break}case"amd-module":{if(a instanceof Array)for(let f of a)e.moduleName&&t(f.range.pos,f.range.end-f.range.pos,A.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=f.arguments.name;else e.moduleName=a.arguments.name;break}case"ts-nocheck":case"ts-check":{jn(vp(a),f=>{(!e.checkJsDirective||f.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:_==="ts-check",end:f.range.end,pos:f.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:q.fail("Unhandled pragma kind")}})}var Pp=new Map;function Y6(e){if(Pp.has(e))return Pp.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Pp.set(e,t),t}var H6=/^\/\/\/\s*<(\S+)\s.*?\/>/m,X6=/^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m;function $6(e,t,a){let _=t.kind===2&&H6.exec(a);if(_){let h=_[1].toLowerCase(),T=Nm[h];if(!T||!(T.kind&1))return;if(T.args){let k={};for(let c of T.args){let y=Y6(c.name).exec(a);if(!y&&!c.optional)return;if(y){let G=y[2]||y[3];if(c.captureSpan){let E=t.pos+y.index+y[1].length+1;k[c.name]={value:G,pos:E,end:E+G.length}}else k[c.name]=G}}e.push({name:h,args:{arguments:k,range:t}})}else e.push({name:h,args:{arguments:{},range:t}});return}let f=t.kind===2&&X6.exec(a);if(f)return gm(e,t,2,f);if(t.kind===3){let h=/@(\S+)(\s+(?:\S.*)?)?$/gm,T;for(;T=h.exec(a);)gm(e,t,4,T)}}function gm(e,t,a,_){if(!_)return;let f=_[1].toLowerCase(),h=Nm[f];if(!h||!(h.kind&a))return;let T=_[2],k=Q6(h,T);k!=="fail"&&e.push({name:f,args:{arguments:k,range:t}})}function Q6(e,t){if(!t)return{};if(!e.args)return{};let a=t.trim().split(/\s+/),_={};for(let f=0;f_.kind<310||_.kind>352);return a.kind<167?a:a.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),a=Ba(t);if(a)return a.kind<167?a:a.getLastToken(e)}forEachChild(e,t){return Xt(this,e,t)}};function K6(e,t){let a=[];if(i2(e))return e.forEachChild(T=>{a.push(T)}),a;s_.setText((t||e.getSourceFile()).text);let _=e.pos,f=T=>{__(a,_,T.pos,e),a.push(T),_=T.end},h=T=>{__(a,_,T.pos,e),a.push(Z6(T,e)),_=T.end};return jn(e.jsDoc,f),_=e.pos,e.forEachChild(f,h),__(a,_,e.end,e),s_.setText(void 0),a}function __(e,t,a,_){for(s_.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function dl(e,t){if(!e)return vt;let a=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(a.length===0||e.some(gh))){let _=new Set;for(let f of e){let h=bh(t,f,T=>{var k;if(!_.has(T))return _.add(T),f.kind===178||f.kind===179?T.getContextualJsDocTags(f,t):((k=T.declarations)==null?void 0:k.length)===1?T.getJsDocTags(t):void 0});h&&(a=[...h,...a])}}return a}function a_(e,t){if(!e)return vt;let a=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(a.length===0||e.some(gh))){let _=new Set;for(let f of e){let h=bh(t,f,T=>{if(!_.has(T))return _.add(T),f.kind===178||f.kind===179?T.getContextualDocumentationComment(f,t):T.getDocumentationComment(t)});h&&(a=a.length===0?h.slice():h.concat(lineBreakPart(),a))}}return a}function bh(e,t,a){var _;let f=((_=t.parent)==null?void 0:_.kind)===177?t.parent.parent:t.parent;if(!f)return;let h=W2(t);return ly(J2(f),T=>{let k=e.getTypeAtLocation(T),c=h&&k.symbol?e.getTypeOfSymbol(k.symbol):k,W=e.getPropertyOfType(c,t.symbol.name);return W?a(W):void 0})}var rv=class extends Yf{constructor(e,t,a){super(e,t,a)}update(e,t){return U6(this,e,t)}getLineAndCharacterOfPosition(e){return qm(this,e)}getLineStarts(){return Lp(this)}getPositionOfLineAndCharacter(e,t,a){return _g(Lp(this),e,t,this.text,a)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),a=this.getLineStarts(),_;t+1>=a.length&&(_=this.getEnd()),_||(_=a[t+1]-1);let f=this.getFullText();return f[_]===` +`&&f[_-1]==="\r"?_-1:_}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=wy();return this.forEachChild(f),e;function t(h){let T=_(h);T&&e.add(T,h)}function a(h){let T=e.get(h);return T||e.set(h,T=[]),T}function _(h){let T=uf(h);return T&&(Ef(T)&&dr(T.expression)?T.expression.name.text:i1(T)?getNameFromPropertyName(T):void 0)}function f(h){switch(h.kind){case 263:case 219:case 175:case 174:let T=h,k=_(T);if(k){let y=a(k),G=Ba(y);G&&T.parent===G.parent&&T.symbol===G.symbol?T.body&&!G.body&&(y[y.length-1]=T):y.push(T)}Xt(h,f);break;case 264:case 232:case 265:case 266:case 267:case 268:case 272:case 282:case 277:case 274:case 275:case 178:case 179:case 188:t(h),Xt(h,f);break;case 170:if(!v_(h,31))break;case 261:case 209:{let y=h;if(Xg(y.name)){Xt(y.name,f);break}y.initializer&&f(y.initializer)}case 307:case 173:case 172:t(h);break;case 279:let c=h;c.exportClause&&(Q1(c.exportClause)?jn(c.exportClause.elements,f):f(c.exportClause.name));break;case 273:let W=h.importClause;W&&(W.name&&t(W.name),W.namedBindings&&(W.namedBindings.kind===275?t(W.namedBindings):jn(W.namedBindings.elements,f)));break;case 227:gf(h)!==0&&t(h);default:Xt(h,f)}}}},iv=class{constructor(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(_=>_)}getLineAndCharacterOfPosition(e){return qm(this,e)}};function av(){return{getNodeConstructor:()=>Yf,getTokenConstructor:()=>mh,getIdentifierConstructor:()=>hh,getPrivateIdentifierConstructor:()=>yh,getSourceFileConstructor:()=>rv,getSymbolConstructor:()=>ev,getTypeConstructor:()=>tv,getSignatureConstructor:()=>nv,getSourceMapSourceConstructor:()=>iv}}var sv=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],j3=[...sv,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors","preparePasteEditsForFile"];ub(av());var Ml=new Proxy({},{get:()=>!0});var Th=Ml["4.8"];function Rn(e,t=!1){if(e!=null){if(Th){if(t||Ol(e)){let a=Qm(e);return a?[...a]:void 0}return}return e.modifiers?.filter(a=>!Cl(a))}}function xi(e,t=!1){if(e!=null){if(Th){if(t||Gf(e)){let a=pf(e);return a?[...a]:void 0}return}return e.decorators?.filter(Cl)}}var xh={};var Ll=new Proxy({},{get:(e,t)=>t});var Sh=Ll,wh=Ll;var C=Sh,Rt=wh;var cv=Ml["5.0"],ye=Ae,lv=new Set([ye.AmpersandAmpersandToken,ye.BarBarToken,ye.QuestionQuestionToken]),uv=new Set([Ae.AmpersandAmpersandEqualsToken,Ae.AmpersandEqualsToken,Ae.AsteriskAsteriskEqualsToken,Ae.AsteriskEqualsToken,Ae.BarBarEqualsToken,Ae.BarEqualsToken,Ae.CaretEqualsToken,Ae.EqualsToken,Ae.GreaterThanGreaterThanEqualsToken,Ae.GreaterThanGreaterThanGreaterThanEqualsToken,Ae.LessThanLessThanEqualsToken,Ae.MinusEqualsToken,Ae.PercentEqualsToken,Ae.PlusEqualsToken,Ae.QuestionQuestionEqualsToken,Ae.SlashEqualsToken]),pv=new Set([ye.AmpersandAmpersandToken,ye.AmpersandToken,ye.AsteriskAsteriskToken,ye.AsteriskToken,ye.BarBarToken,ye.BarToken,ye.CaretToken,ye.EqualsEqualsEqualsToken,ye.EqualsEqualsToken,ye.ExclamationEqualsEqualsToken,ye.ExclamationEqualsToken,ye.GreaterThanEqualsToken,ye.GreaterThanGreaterThanGreaterThanToken,ye.GreaterThanGreaterThanToken,ye.GreaterThanToken,ye.InKeyword,ye.InstanceOfKeyword,ye.LessThanEqualsToken,ye.LessThanLessThanToken,ye.LessThanToken,ye.MinusToken,ye.PercentToken,ye.PlusToken,ye.SlashToken]);function fv(e){return uv.has(e.kind)}function dv(e){return lv.has(e.kind)}function mv(e){return pv.has(e.kind)}function Qr(e){return nt(e)}function kh(e){return e.kind!==ye.SemicolonClassElement}function Ge(e,t){return Rn(t)?.some(_=>_.kind===e)===!0}function Eh(e){let t=Rn(e);return t==null?null:t[t.length-1]??null}function Ah(e){return e.kind===ye.CommaToken}function hv(e){return e.kind===ye.SingleLineCommentTrivia||e.kind===ye.MultiLineCommentTrivia}function yv(e){return e.kind===ye.JSDocComment}function Ch(e){if(fv(e))return{type:C.AssignmentExpression,operator:Qr(e.kind)};if(dv(e))return{type:C.LogicalExpression,operator:Qr(e.kind)};if(mv(e))return{type:C.BinaryExpression,operator:Qr(e.kind)};throw new Error(`Unexpected binary operator ${nt(e.kind)}`)}function x_(e,t){let a=t.getLineAndCharacterOfPosition(e);return{column:a.character,line:a.line+1}}function Kr(e,t){let[a,_]=e.map(f=>x_(f,t));return{end:_,start:a}}function Dh(e){if(e.kind===Ae.Block)switch(e.parent.kind){case Ae.Constructor:case Ae.GetAccessor:case Ae.SetAccessor:case Ae.ArrowFunction:case Ae.FunctionExpression:case Ae.FunctionDeclaration:case Ae.MethodDeclaration:return!0;default:return!1}return!0}function sa(e,t){return[e.getStart(t),e.getEnd()]}function gv(e){return e.kind>=ye.FirstToken&&e.kind<=ye.LastToken}function Ph(e){return e.kind>=ye.JsxElement&&e.kind<=ye.JsxAttribute}function S_(e){return e.flags&sn.Let?"let":(e.flags&sn.AwaitUsing)===sn.AwaitUsing?"await using":e.flags&sn.Const?"const":e.flags&sn.Using?"using":"var"}function Si(e){let t=Rn(e);if(t!=null)for(let a of t)switch(a.kind){case ye.PublicKeyword:return"public";case ye.ProtectedKeyword:return"protected";case ye.PrivateKeyword:return"private";default:break}}function er(e,t,a){return _(t);function _(f){return n1(f)&&f.pos===e.end?f:wv(f.getChildren(a),h=>(h.pos<=e.pos&&h.end>e.end||h.pos===e.end)&&Sv(h,a)?_(h):void 0)}}function bv(e,t){let a=e;for(;a;){if(t(a))return a;a=a.parent}}function vv(e){return!!bv(e,Ph)}function Zf(e){return Wr(0,e,/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let a=t.slice(1,-1);if(a[0]==="#"){let _=a[1]==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return _>1114111?t:String.fromCodePoint(_)}return xh[a]||t})}function _a(e){return e.kind===ye.ComputedPropertyName}function ed(e){return!!e.questionToken}function td(e){return e.type===C.ChainExpression}function Nh(e,t){return td(t)&&e.expression.kind!==Ae.ParenthesizedExpression}function Tv(e){if(e.kind===ye.NullKeyword)return Rt.Null;if(e.kind>=ye.FirstKeyword&&e.kind<=ye.LastFutureReservedWord)return e.kind===ye.FalseKeyword||e.kind===ye.TrueKeyword?Rt.Boolean:Rt.Keyword;if(e.kind>=ye.FirstPunctuation&&e.kind<=ye.LastPunctuation)return Rt.Punctuator;if(e.kind>=ye.NoSubstitutionTemplateLiteral&&e.kind<=ye.TemplateTail)return Rt.Template;switch(e.kind){case ye.NumericLiteral:case ye.BigIntLiteral:return Rt.Numeric;case ye.PrivateIdentifier:return Rt.PrivateIdentifier;case ye.JsxText:return Rt.JSXText;case ye.StringLiteral:return e.parent.kind===ye.JsxAttribute||e.parent.kind===ye.JsxElement?Rt.JSXText:Rt.String;case ye.RegularExpressionLiteral:return Rt.RegularExpression;case ye.Identifier:case ye.ConstructorKeyword:case ye.GetKeyword:case ye.SetKeyword:default:}if(e.kind===ye.Identifier){if(Ph(e.parent))return Rt.JSXIdentifier;if(e.parent.kind===ye.PropertyAccessExpression&&vv(e))return Rt.JSXIdentifier}return Rt.Identifier}function xv(e,t){let a=e.kind===ye.JsxText?e.getFullStart():e.getStart(t),_=e.getEnd(),f=t.text.slice(a,_),h=Tv(e),T=[a,_],k=Kr(T,t);return h===Rt.RegularExpression?{type:h,loc:k,range:T,regex:{flags:f.slice(f.lastIndexOf("/")+1),pattern:f.slice(1,f.lastIndexOf("/"))},value:f}:h===Rt.PrivateIdentifier?{type:h,loc:k,range:T,value:f.slice(1)}:{type:h,loc:k,range:T,value:f}}function Ih(e){let t=[];function a(_){hv(_)||yv(_)||(gv(_)&&_.kind!==ye.EndOfFileToken?t.push(xv(_,e)):_.getChildren(e).forEach(a))}return a(e),t}var Kf=class extends Error{fileName;location;constructor(t,a,_){super(t),this.fileName=a,this.location=_,Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:new.target.name})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};function w_(e,t,a,_=a){let[f,h]=[a,_].map(T=>{let{character:k,line:c}=t.getLineAndCharacterOfPosition(T);return{column:k,line:c+1,offset:T}});return new Kf(e,t.fileName,{end:h,start:f})}function Sv(e,t){return e.kind===ye.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}function wv(e,t){if(e!==void 0)for(let a=0;a=0&&e.kind!==ge.EndOfFileToken}function Jh(e){return!Ev(e)}function Av(e){return Ge(ge.AbstractKeyword,e)}function Cv(e){if(e.parameters.length&&!Il(e)){let t=e.parameters[0];if(Dv(t))return t}return null}function Dv(e){return nd(e.name)}function Pv(e){return cf(e.parent,hf)}function Nv(e){switch(e.kind){case ge.ClassDeclaration:return!0;case ge.ClassExpression:return!0;case ge.PropertyDeclaration:{let{parent:t}=e;return!!(Ga(t)||ra(t)&&!Av(e))}case ge.GetAccessor:case ge.SetAccessor:case ge.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Ga(t)||ra(t))}case ge.Parameter:{let{parent:t}=e,a=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ge.Constructor||t.kind===ge.MethodDeclaration||t.kind===ge.SetAccessor)&&Cv(t)!==e&&!!a&&a.kind===ge.ClassDeclaration}}return!1}function Iv(e){return!!("illegalDecorators"in e&&e.illegalDecorators?.length)}function Ut(e,t){let a=e.getSourceFile(),_=e.getStart(a),f=e.getEnd();throw w_(t,a,_,f)}function jh(e){Iv(e)&&Ut(e.illegalDecorators[0],"Decorators are not valid here.");for(let t of xi(e,!0)??[])Nv(e)||(h_(e)&&!Jh(e.body)?Ut(t,"A decorator can only decorate a method implementation, not an overload."):Ut(t,"Decorators are not valid here."));for(let t of Rn(e,!0)??[]){if(t.kind!==ge.ReadonlyKeyword&&((e.kind===ge.PropertySignature||e.kind===ge.MethodSignature)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a type member`),e.kind===ge.IndexSignature&&(t.kind!==ge.StaticKeyword||!ra(e.parent))&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on an index signature`)),t.kind!==ge.InKeyword&&t.kind!==ge.OutKeyword&&t.kind!==ge.ConstKeyword&&e.kind===ge.TypeParameter&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a type parameter`),(t.kind===ge.InKeyword||t.kind===ge.OutKeyword)&&(e.kind!==ge.TypeParameter||!(T_(e.parent)||ra(e.parent)||Nl(e.parent)))&&Ut(t,`'${nt(t.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),t.kind===ge.ReadonlyKeyword&&e.kind!==ge.PropertyDeclaration&&e.kind!==ge.PropertySignature&&e.kind!==ge.IndexSignature&&e.kind!==ge.Parameter&&Ut(t,"'readonly' modifier can only appear on a property declaration or index signature."),t.kind===ge.DeclareKeyword&&ra(e.parent)&&!Wa(e)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on class elements of this kind.`),t.kind===ge.DeclareKeyword&&Xa(e)){let a=S_(e.declarationList);(a==="using"||a==="await using")&&Ut(t,`'declare' modifier cannot appear on a '${a}' declaration.`)}if(t.kind===ge.AbstractKeyword&&e.kind!==ge.ClassDeclaration&&e.kind!==ge.ConstructorType&&e.kind!==ge.MethodDeclaration&&e.kind!==ge.PropertyDeclaration&&e.kind!==ge.GetAccessor&&e.kind!==ge.SetAccessor&&Ut(t,`'${nt(t.kind)}' modifier can only appear on a class, method, or property declaration.`),(t.kind===ge.StaticKeyword||t.kind===ge.PublicKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.PrivateKeyword)&&(e.parent.kind===ge.ModuleBlock||e.parent.kind===ge.SourceFile)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a module or namespace element.`),t.kind===ge.AccessorKeyword&&e.kind!==ge.PropertyDeclaration&&Ut(t,"'accessor' modifier can only appear on a property declaration."),t.kind===ge.AsyncKeyword&&e.kind!==ge.MethodDeclaration&&e.kind!==ge.FunctionDeclaration&&e.kind!==ge.FunctionExpression&&e.kind!==ge.ArrowFunction&&Ut(t,"'async' modifier cannot be used here."),e.kind===ge.Parameter&&(t.kind===ge.StaticKeyword||t.kind===ge.ExportKeyword||t.kind===ge.DeclareKeyword||t.kind===ge.AsyncKeyword)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a parameter.`),t.kind===ge.PublicKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.PrivateKeyword)for(let a of Rn(e)??[])a!==t&&(a.kind===ge.PublicKeyword||a.kind===ge.ProtectedKeyword||a.kind===ge.PrivateKeyword)&&Ut(a,"Accessibility modifier already seen.");if(e.kind===ge.Parameter&&(t.kind===ge.PublicKeyword||t.kind===ge.PrivateKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.ReadonlyKeyword||t.kind===ge.OverrideKeyword)){let a=Pv(e);a?.kind===ge.Constructor&&Jh(a.body)||Ut(t,"A parameter property is only allowed in a constructor implementation.");let _=e;_.dotDotDotToken&&Ut(t,"A parameter property cannot be a rest parameter."),(_.name.kind===ge.ArrayBindingPattern||_.name.kind===ge.ObjectBindingPattern)&&Ut(t,"A parameter property may not be declared using a binding pattern.")}t.kind!==ge.AsyncKeyword&&e.kind===ge.MethodDeclaration&&e.parent.kind===ge.ObjectLiteralExpression&&Ut(t,`'${nt(t.kind)}' modifier cannot be used here.`)}}var x=Ae;function rd(e){return w_("message"in e&&e.message||e.messageText,e.file,e.start)}function Mv(e){return dr(e)&&Ke(e.name)&&Rh(e.expression)}function Rh(e){return e.kind===x.Identifier||Mv(e)}var Rl=class{allowPattern=!1;ast;esTreeNodeToTSNodeMap=new WeakMap;options;tsNodeToESTreeNodeMap=new WeakMap;constructor(t,a){this.ast=t,this.options={...a}}#r(t,a){let _=a===Ae.ForInStatement?"for...in":"for...of";if(X1(t)){t.declarations.length!==1&&this.#e(t,`Only a single variable declaration is allowed in a '${_}' statement.`);let f=t.declarations[0];f.initializer?this.#e(f,`The variable declaration of a '${_}' statement cannot have an initializer.`):f.type&&this.#e(f,`The variable declaration of a '${_}' statement cannot have a type annotation.`),a===Ae.ForInStatement&&t.flags&sn.Using&&this.#e(t,"The left-hand side of a 'for...in' statement cannot be a 'using' declaration.")}else!Jl(t)&&t.kind!==Ae.ObjectLiteralExpression&&t.kind!==Ae.ArrayLiteralExpression&&this.#e(t,`The left-hand side of a '${_}' statement must be a variable or a property access.`)}#i(t){this.options.allowInvalidAST||jh(t)}#e(t,a){if(this.options.allowInvalidAST)return;let _,f;throw Array.isArray(t)?[_,f]=t:typeof t=="number"?_=f=t:(_=t.getStart(this.ast),f=t.getEnd()),w_(a,this.ast,_,f)}#t(t,a,_,f=!1){let h=f;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[_]:()=>(h||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use '${_}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),h=!0),t[_]),set(T){Object.defineProperty(t,a,{enumerable:!0,value:T,writable:!0})}}),t}#n(t,a,_,f){let h=!1;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>f:()=>{if(!h){let T=`The '${a}' property is deprecated on ${t.type} nodes.`;_&&(T+=` Use ${_} instead.`),T+=" See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.",(void 0)(T,"DeprecationWarning"),h=!0}return f},set(T){Object.defineProperty(t,a,{enumerable:!0,value:T,writable:!0})}}),t}assertModuleSpecifier(t,a){!a&&t.moduleSpecifier==null&&this.#e(t,"Module specifier must be a string literal."),t.moduleSpecifier&&t.moduleSpecifier?.kind!==x.StringLiteral&&this.#e(t.moduleSpecifier,"Module specifier must be a string literal.")}convertBindingNameWithTypeAnnotation(t,a,_){let f=this.convertPattern(t);return a&&(f.typeAnnotation=this.convertTypeAnnotation(a,_),this.fixParentLocation(f,f.typeAnnotation.range)),f}convertBodyExpressions(t,a){let _=Dh(a);return t.map(f=>{let h=this.convertChild(f);if(_){if(h?.expression&&Pl(f)&&vi(f.expression)){let T=h.expression.raw;return h.directive=T.slice(1,-1),h}_=!1}return h}).filter(f=>f)}convertChainExpression(t,a){let{child:_,isOptional:f}=t.type===C.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===C.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1},h=Nh(a,_);if(!h&&!f)return t;if(h&&td(_)){let T=_.expression;t.type===C.MemberExpression?t.object=T:t.type===C.CallExpression?t.callee=T:t.expression=T}return this.createNode(a,{type:C.ChainExpression,expression:t})}convertChild(t,a){return this.converter(t,a,!1)}convertChildren(t,a){return t.map(_=>this.converter(_,a,!1))}convertPattern(t,a){return this.converter(t,a,!0)}convertTypeAnnotation(t,a){let _=a?.kind===x.FunctionType||a?.kind===x.ConstructorType?2:1,h=[t.getFullStart()-_,t.end],T=Kr(h,this.ast);return{type:C.TSTypeAnnotation,loc:T,range:h,typeAnnotation:this.convertChild(t)}}convertTypeArgumentsToTypeParameterInstantiation(t,a){let _=er(t,this.ast,this.ast),f=[t.pos-1,_.end];return t.length===0&&this.#e(f,"Type argument list cannot be empty."),this.createNode(a,{type:C.TSTypeParameterInstantiation,range:f,params:this.convertChildren(t)})}convertTSTypeParametersToTypeParametersDeclaration(t){let a=er(t,this.ast,this.ast),_=[t.pos-1,a.end];return t.length===0&&this.#e(_,"Type parameter list cannot be empty."),{type:C.TSTypeParameterDeclaration,loc:Kr(_,this.ast),range:_,params:this.convertChildren(t)}}convertParameters(t){return t?.length?t.map(a=>{let _=this.convertChild(a);return _.decorators=this.convertChildren(xi(a)??[]),_}):[]}converter(t,a,_){if(!t)return null;this.#i(t);let f=this.allowPattern;_!=null&&(this.allowPattern=_);let h=this.convertNode(t,a??t.parent);return this.registerTSNodeInNodeMap(t,h),this.allowPattern=f,h}convertImportAttributes(t){let a=t.attributes??t.assertClause;return this.convertChildren(a?.elements??[])}convertJSXIdentifier(t){let a=this.createNode(t,{type:C.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,a),a}convertJSXNamespaceOrIdentifier(t){if(t.kind===Ae.JsxNamespacedName){let f=this.createNode(t,{type:C.JSXNamespacedName,name:this.createNode(t.name,{type:C.JSXIdentifier,name:t.name.text}),namespace:this.createNode(t.namespace,{type:C.JSXIdentifier,name:t.namespace.text})});return this.registerTSNodeInNodeMap(t,f),f}let a=t.getText(),_=a.indexOf(":");if(_>0){let f=sa(t,this.ast),h=this.createNode(t,{type:C.JSXNamespacedName,range:f,name:this.createNode(t,{type:C.JSXIdentifier,range:[f[0]+_+1,f[1]],name:a.slice(_+1)}),namespace:this.createNode(t,{type:C.JSXIdentifier,range:[f[0],f[0]+_],name:a.slice(0,_)})});return this.registerTSNodeInNodeMap(t,h),h}return this.convertJSXIdentifier(t)}convertJSXTagName(t,a){let _;switch(t.kind){case x.PropertyAccessExpression:t.name.kind===x.PrivateIdentifier&&this.#e(t.name,"Non-private identifier expected."),_=this.createNode(t,{type:C.JSXMemberExpression,object:this.convertJSXTagName(t.expression,a),property:this.convertJSXIdentifier(t.name)});break;case x.ThisKeyword:case x.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,_),_}convertMethodSignature(t){return this.createNode(t,{type:C.TSMethodSignature,accessibility:Si(t),computed:_a(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case x.GetAccessor:return"get";case x.SetAccessor:return"set";case x.MethodSignature:return"method"}})(),optional:ed(t),params:this.convertParameters(t.parameters),readonly:Ge(x.ReadonlyKeyword,t),returnType:t.type&&this.convertTypeAnnotation(t.type,t),static:Ge(x.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}fixParentLocation(t,a){a[0]t.range[1]&&(t.range[1]=a[1],t.loc.end=x_(t.range[1],this.ast))}convertNode(t,a){switch(t.kind){case x.SourceFile:return this.createNode(t,{type:C.Program,range:[t.getStart(this.ast),t.endOfFileToken.end],body:this.convertBodyExpressions(t.statements,t),comments:void 0,sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case x.Block:return this.createNode(t,{type:C.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case x.Identifier:return Oh(t)?this.createNode(t,{type:C.ThisExpression}):this.createNode(t,{type:C.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case x.PrivateIdentifier:return this.createNode(t,{type:C.PrivateIdentifier,name:t.text.slice(1)});case x.WithStatement:return this.createNode(t,{type:C.WithStatement,body:this.convertChild(t.statement),object:this.convertChild(t.expression)});case x.ReturnStatement:return this.createNode(t,{type:C.ReturnStatement,argument:this.convertChild(t.expression)});case x.LabeledStatement:return this.createNode(t,{type:C.LabeledStatement,body:this.convertChild(t.statement),label:this.convertChild(t.label)});case x.ContinueStatement:return this.createNode(t,{type:C.ContinueStatement,label:this.convertChild(t.label)});case x.BreakStatement:return this.createNode(t,{type:C.BreakStatement,label:this.convertChild(t.label)});case x.IfStatement:return this.createNode(t,{type:C.IfStatement,alternate:this.convertChild(t.elseStatement),consequent:this.convertChild(t.thenStatement),test:this.convertChild(t.expression)});case x.SwitchStatement:return t.caseBlock.clauses.filter(_=>_.kind===x.DefaultClause).length>1&&this.#e(t,"A 'default' clause cannot appear more than once in a 'switch' statement."),this.createNode(t,{type:C.SwitchStatement,cases:this.convertChildren(t.caseBlock.clauses),discriminant:this.convertChild(t.expression)});case x.CaseClause:case x.DefaultClause:return this.createNode(t,{type:C.SwitchCase,consequent:this.convertChildren(t.statements),test:t.kind===x.CaseClause?this.convertChild(t.expression):null});case x.ThrowStatement:return t.expression.end===t.expression.pos&&this.#e(t,"A throw statement must throw an expression."),this.createNode(t,{type:C.ThrowStatement,argument:this.convertChild(t.expression)});case x.TryStatement:return this.createNode(t,{type:C.TryStatement,block:this.convertChild(t.tryBlock),finalizer:this.convertChild(t.finallyBlock),handler:this.convertChild(t.catchClause)});case x.CatchClause:return t.variableDeclaration?.initializer&&this.#e(t.variableDeclaration.initializer,"Catch clause variable cannot have an initializer."),this.createNode(t,{type:C.CatchClause,body:this.convertChild(t.block),param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null});case x.WhileStatement:return this.createNode(t,{type:C.WhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case x.DoStatement:return this.createNode(t,{type:C.DoWhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case x.ForStatement:return this.createNode(t,{type:C.ForStatement,body:this.convertChild(t.statement),init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor)});case x.ForInStatement:return this.#r(t.initializer,t.kind),this.createNode(t,{type:C.ForInStatement,body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case x.ForOfStatement:return this.#r(t.initializer,t.kind),this.createNode(t,{type:C.ForOfStatement,await:!!(t.awaitModifier&&t.awaitModifier.kind===x.AwaitKeyword),body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case x.FunctionDeclaration:{let _=Ge(x.DeclareKeyword,t),f=Ge(x.AsyncKeyword,t),h=!!t.asteriskToken;_?t.body?this.#e(t,"An implementation cannot be declared in ambient contexts."):f?this.#e(t,"'async' modifier cannot be used in an ambient context."):h&&this.#e(t,"Generators are not allowed in an ambient context."):!t.body&&h&&this.#e(t,"A function signature cannot be declared as a generator.");let T=this.createNode(t,{type:t.body?C.FunctionDeclaration:C.TSDeclareFunction,async:f,body:this.convertChild(t.body)||void 0,declare:_,expression:!1,generator:h,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,T)}case x.VariableDeclaration:{let _=!!t.exclamationToken,f=this.convertChild(t.initializer),h=this.convertBindingNameWithTypeAnnotation(t.name,t.type,t);return _&&(f?this.#e(t,"Declarations with initializers cannot also have definite assignment assertions."):(h.type!==C.Identifier||!h.typeAnnotation)&&this.#e(t,"Declarations with definite assignment assertions must also have type annotations.")),this.createNode(t,{type:C.VariableDeclarator,definite:_,id:h,init:f})}case x.VariableStatement:{let _=this.createNode(t,{type:C.VariableDeclaration,declarations:this.convertChildren(t.declarationList.declarations),declare:Ge(x.DeclareKeyword,t),kind:S_(t.declarationList)});return _.declarations.length||this.#e(t,"A variable declaration list must have at least one variable declarator."),(_.kind==="using"||_.kind==="await using")&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].init==null&&this.#e(f,`'${_.kind}' declarations must be initialized.`),_.declarations[h].id.type!==C.Identifier&&this.#e(f.name,`'${_.kind}' declarations may not have binding patterns.`)}),(_.declare||["await using","const","using"].includes(_.kind))&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].definite&&this.#e(f,"A definite assignment assertion '!' is not permitted in this context.")}),_.declare&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].init&&(["let","var"].includes(_.kind)||_.declarations[h].id.typeAnnotation)&&this.#e(f,"Initializers are not permitted in ambient contexts.")}),this.fixExports(t,_)}case x.VariableDeclarationList:{let _=this.createNode(t,{type:C.VariableDeclaration,declarations:this.convertChildren(t.declarations),declare:!1,kind:S_(t)});return(_.kind==="using"||_.kind==="await using")&&t.declarations.forEach((f,h)=>{_.declarations[h].init!=null&&this.#e(f,`'${_.kind}' declarations may not be initialized in for statement.`),_.declarations[h].id.type!==C.Identifier&&this.#e(f.name,`'${_.kind}' declarations may not have binding patterns.`)}),_}case x.ExpressionStatement:return this.createNode(t,{type:C.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case x.ThisKeyword:return this.createNode(t,{type:C.ThisExpression});case x.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:C.ArrayPattern,decorators:[],elements:t.elements.map(_=>this.convertPattern(_)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:C.ArrayExpression,elements:this.convertChildren(t.elements)});case x.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:C.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(f=>this.convertPattern(f)),typeAnnotation:void 0});let _=[];for(let f of t.properties)(f.kind===x.GetAccessor||f.kind===x.SetAccessor||f.kind===x.MethodDeclaration)&&!f.body&&this.#e(f.end-1,"'{' expected."),_.push(this.convertChild(f));return this.createNode(t,{type:C.ObjectExpression,properties:_})}case x.PropertyAssignment:{let{exclamationToken:_,questionToken:f}=t;return f&&this.#e(f,"A property assignment cannot have a question token."),_&&this.#e(_,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:C.Property,computed:_a(t.name),key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.converter(t.initializer,t,this.allowPattern)})}case x.ShorthandPropertyAssignment:{let{exclamationToken:_,modifiers:f,questionToken:h}=t;return f&&this.#e(f[0],"A shorthand property assignment cannot have modifiers."),h&&this.#e(h,"A shorthand property assignment cannot have a question token."),_&&this.#e(_,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:C.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0})}):this.createNode(t,{type:C.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case x.ComputedPropertyName:return this.convertChild(t.expression);case x.PropertyDeclaration:{let _=Ge(x.AbstractKeyword,t);_&&t.initializer&&this.#e(t.initializer,"Abstract property cannot have an initializer."),t.name.kind===x.StringLiteral&&t.name.text==="constructor"&&this.#e(t.name,"Classes may not have a field named 'constructor'.");let f=Ge(x.AccessorKeyword,t),h=f?_?C.TSAbstractAccessorProperty:C.AccessorProperty:_?C.TSAbstractPropertyDefinition:C.PropertyDefinition,T=this.convertChild(t.name);return this.createNode(t,{type:h,accessibility:Si(t),computed:_a(t.name),declare:Ge(x.DeclareKeyword,t),decorators:this.convertChildren(xi(t)??[]),definite:!!t.exclamationToken,key:T,optional:(T.type===C.Literal||t.name.kind===x.Identifier||t.name.kind===x.ComputedPropertyName||t.name.kind===x.PrivateIdentifier)&&!!t.questionToken,override:Ge(x.OverrideKeyword,t),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),value:_?null:this.convertChild(t.initializer)})}case x.GetAccessor:case x.SetAccessor:if(t.parent.kind===x.InterfaceDeclaration||t.parent.kind===x.TypeLiteral)return this.convertMethodSignature(t);case x.MethodDeclaration:{let _=Ge(x.AbstractKeyword,t);_&&t.body&&this.#e(t.name,t.kind===x.GetAccessor||t.kind===x.SetAccessor?"An abstract accessor cannot have an implementation.":`Method '${Lh(t.name,this.ast)}' cannot have an implementation because it is marked abstract.`);let f=this.createNode(t,{type:t.body?C.FunctionExpression:C.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:null,params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});f.typeParameters&&this.fixParentLocation(f,f.typeParameters.range);let h;if(a.kind===x.ObjectLiteralExpression)f.params=this.convertChildren(t.parameters),h=this.createNode(t,{type:C.Property,computed:_a(t.name),key:this.convertChild(t.name),kind:"init",method:t.kind===x.MethodDeclaration,optional:!!t.questionToken,shorthand:!1,value:f});else{f.params=this.convertParameters(t.parameters);let T=_?C.TSAbstractMethodDefinition:C.MethodDefinition;h=this.createNode(t,{type:T,accessibility:Si(t),computed:_a(t.name),decorators:this.convertChildren(xi(t)??[]),key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:Ge(x.OverrideKeyword,t),static:Ge(x.StaticKeyword,t),value:f})}return t.kind===x.GetAccessor?h.kind="get":t.kind===x.SetAccessor?h.kind="set":!h.static&&t.name.kind===x.StringLiteral&&t.name.text==="constructor"&&h.type!==C.Property&&(h.kind="constructor"),h}case x.Constructor:{let _=Eh(t),f=(_&&er(_,t,this.ast))??t.getFirstToken(),h=this.createNode(t,{type:t.body?C.FunctionExpression:C.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});h.typeParameters&&this.fixParentLocation(h,h.typeParameters.range);let T=f.kind===x.StringLiteral?this.createNode(f,{type:C.Literal,raw:f.getText(),value:"constructor"}):this.createNode(t,{type:C.Identifier,range:[f.getStart(this.ast),f.end],decorators:[],name:"constructor",optional:!1,typeAnnotation:void 0}),k=Ge(x.StaticKeyword,t);return this.createNode(t,{type:Ge(x.AbstractKeyword,t)?C.TSAbstractMethodDefinition:C.MethodDefinition,accessibility:Si(t),computed:!1,decorators:[],key:T,kind:k?"method":"constructor",optional:!1,override:!1,static:k,value:h})}case x.FunctionExpression:return this.createNode(t,{type:C.FunctionExpression,async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.SuperKeyword:return this.createNode(t,{type:C.Super});case x.ArrayBindingPattern:return this.createNode(t,{type:C.ArrayPattern,decorators:[],elements:t.elements.map(_=>this.convertPattern(_)),optional:!1,typeAnnotation:void 0});case x.OmittedExpression:return null;case x.ObjectBindingPattern:return this.createNode(t,{type:C.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(_=>this.convertPattern(_)),typeAnnotation:void 0});case x.BindingElement:{if(a.kind===x.ArrayBindingPattern){let f=this.convertChild(t.name,a);return t.initializer?this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:f,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:C.RestElement,argument:f,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):f}let _;return t.dotDotDotToken?_=this.createNode(t,{type:C.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):_=this.createNode(t,{type:C.Property,computed:!!(t.propertyName&&t.propertyName.kind===x.ComputedPropertyName),key:this.convertChild(t.propertyName??t.name),kind:"init",method:!1,optional:!1,shorthand:!t.propertyName,value:this.convertChild(t.name)}),t.initializer&&(_.value=this.createNode(t,{type:C.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:this.convertChild(t.name),optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0})),_}case x.ArrowFunction:return this.createNode(t,{type:C.ArrowFunctionExpression,async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),expression:t.body.kind!==x.Block,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.YieldExpression:return this.createNode(t,{type:C.YieldExpression,argument:this.convertChild(t.expression),delegate:!!t.asteriskToken});case x.AwaitExpression:return this.createNode(t,{type:C.AwaitExpression,argument:this.convertChild(t.expression)});case x.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:C.TemplateLiteral,expressions:[],quasis:[this.createNode(t,{type:C.TemplateElement,tail:!0,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1)}})]});case x.TemplateExpression:{let _=this.createNode(t,{type:C.TemplateLiteral,expressions:[],quasis:[this.convertChild(t.head)]});return t.templateSpans.forEach(f=>{_.expressions.push(this.convertChild(f.expression)),_.quasis.push(this.convertChild(f.literal))}),_}case x.TaggedTemplateExpression:return t.tag.flags&sn.OptionalChain&&this.#e(t,"Tagged template expressions are not permitted in an optional chain."),this.createNode(t,{type:C.TaggedTemplateExpression,quasi:this.convertChild(t.template),tag:this.convertChild(t.tag),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.TemplateHead:case x.TemplateMiddle:case x.TemplateTail:{let _=t.kind===x.TemplateTail;return this.createNode(t,{type:C.TemplateElement,tail:_,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(_?1:2))}})}case x.SpreadAssignment:case x.SpreadElement:return this.allowPattern?this.createNode(t,{type:C.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:C.SpreadElement,argument:this.convertChild(t.expression)});case x.Parameter:{let _,f;return t.dotDotDotToken?_=f=this.createNode(t,{type:C.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(_=this.convertChild(t.name),f=this.createNode(t,{type:C.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:_,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),Rn(t)&&(f.range[0]=_.range[0],f.loc=Kr(f.range,this.ast))):_=f=this.convertChild(t.name,a),t.type&&(_.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(_,_.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>_.range[1]&&(_.range[1]=t.questionToken.end,_.loc.end=x_(_.range[1],this.ast)),_.optional=!0),Rn(t)?this.createNode(t,{type:C.TSParameterProperty,accessibility:Si(t),decorators:[],override:Ge(x.OverrideKeyword,t),parameter:f,readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t)}):f}case x.ClassDeclaration:!t.name&&(!Ge(Ae.ExportKeyword,t)||!Ge(Ae.DefaultKeyword,t))&&this.#e(t,"A class declaration without the 'default' modifier must have a name.");case x.ClassExpression:{let _=t.heritageClauses??[],f=t.kind===x.ClassDeclaration?C.ClassDeclaration:C.ClassExpression,h,T;for(let c of _){let{token:W,types:y}=c;y.length===0&&this.#e(c,`'${nt(W)}' list cannot be empty.`),W===x.ExtendsKeyword?(h&&this.#e(c,"'extends' clause already seen."),T&&this.#e(c,"'extends' clause must precede 'implements' clause."),y.length>1&&this.#e(y[1],"Classes can only extend a single class."),h??(h=c)):W===x.ImplementsKeyword&&(T&&this.#e(c,"'implements' clause already seen."),T??(T=c))}let k=this.createNode(t,{type:f,abstract:Ge(x.AbstractKeyword,t),body:this.createNode(t,{type:C.ClassBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members.filter(kh))}),declare:Ge(x.DeclareKeyword,t),decorators:this.convertChildren(xi(t)??[]),id:this.convertChild(t.name),implements:this.convertChildren(T?.types??[]),superClass:h?.types[0]?this.convertChild(h.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return h?.types[0]?.typeArguments&&(k.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(h.types[0].typeArguments,h.types[0])),this.fixExports(t,k)}case x.ModuleBlock:return this.createNode(t,{type:C.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case x.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let _=this.createNode(t,this.#t({type:C.ImportDeclaration,attributes:this.convertImportAttributes(t),importKind:"value",source:this.convertChild(t.moduleSpecifier),specifiers:[]},"assertions","attributes",!0));if(t.importClause&&(t.importClause.isTypeOnly&&(_.importKind="type"),t.importClause.name&&_.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case x.NamespaceImport:_.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case x.NamedImports:_.specifiers.push(...this.convertChildren(t.importClause.namedBindings.elements));break}return _}case x.NamespaceImport:return this.createNode(t,{type:C.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case x.ImportSpecifier:return this.createNode(t,{type:C.ImportSpecifier,imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value",local:this.convertChild(t.name)});case x.ImportClause:{let _=this.convertChild(t.name);return this.createNode(t,{type:C.ImportDefaultSpecifier,range:_.range,local:_})}case x.ExportDeclaration:return t.exportClause?.kind===x.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,this.#t({type:C.ExportNamedDeclaration,attributes:this.convertImportAttributes(t),declaration:null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier),specifiers:this.convertChildren(t.exportClause.elements,t)},"assertions","attributes",!0))):(this.assertModuleSpecifier(t,!1),this.createNode(t,this.#t({type:C.ExportAllDeclaration,attributes:this.convertImportAttributes(t),exported:t.exportClause?.kind===x.NamespaceExport?this.convertChild(t.exportClause.name):null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier)},"assertions","attributes",!0)));case x.ExportSpecifier:{let _=t.propertyName??t.name;return _.kind===x.StringLiteral&&a.kind===x.ExportDeclaration&&a.moduleSpecifier?.kind!==x.StringLiteral&&this.#e(_,"A string literal cannot be used as a local exported binding without `from`."),this.createNode(t,{type:C.ExportSpecifier,exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value",local:this.convertChild(_)})}case x.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:C.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:C.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case x.PrefixUnaryExpression:case x.PostfixUnaryExpression:{let _=Qr(t.operator);return _==="++"||_==="--"?(Jl(t.operand)||this.#e(t.operand,"Invalid left-hand side expression in unary operation"),this.createNode(t,{type:C.UpdateExpression,argument:this.convertChild(t.operand),operator:_,prefix:t.kind===x.PrefixUnaryExpression})):this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.operand),operator:_,prefix:t.kind===x.PrefixUnaryExpression})}case x.DeleteExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"delete",prefix:!0});case x.VoidExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"void",prefix:!0});case x.TypeOfExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"typeof",prefix:!0});case x.TypeOperator:return this.createNode(t,{type:C.TSTypeOperator,operator:Qr(t.operator),typeAnnotation:this.convertChild(t.type)});case x.BinaryExpression:{if(t.operatorToken.kind!==x.InKeyword&&t.left.kind===x.PrivateIdentifier?this.#e(t.left,"Private identifiers cannot appear on the right-hand-side of an 'in' expression."):t.right.kind===x.PrivateIdentifier&&this.#e(t.right,"Private identifiers are only allowed on the left-hand-side of an 'in' expression."),Ah(t.operatorToken)){let f=this.createNode(t,{type:C.SequenceExpression,expressions:[]}),h=this.convertChild(t.left);return h.type===C.SequenceExpression&&t.left.kind!==x.ParenthesizedExpression?f.expressions.push(...h.expressions):f.expressions.push(h),f.expressions.push(this.convertChild(t.right)),f}let _=Ch(t.operatorToken);return this.allowPattern&&_.type===C.AssignmentExpression?this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{..._,left:this.converter(t.left,t,_.type===C.AssignmentExpression),right:this.convertChild(t.right)})}case x.PropertyAccessExpression:{let _=this.convertChild(t.expression),f=this.convertChild(t.name),T=this.createNode(t,{type:C.MemberExpression,computed:!1,object:_,optional:t.questionDotToken!=null,property:f});return this.convertChainExpression(T,t)}case x.ElementAccessExpression:{let _=this.convertChild(t.expression),f=this.convertChild(t.argumentExpression),T=this.createNode(t,{type:C.MemberExpression,computed:!0,object:_,optional:t.questionDotToken!=null,property:f});return this.convertChainExpression(T,t)}case x.CallExpression:{if(t.expression.kind===x.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&this.#e(t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,this.#t({type:C.ImportExpression,options:t.arguments[1]?this.convertChild(t.arguments[1]):null,source:this.convertChild(t.arguments[0])},"attributes","options",!0));let _=this.convertChild(t.expression),f=this.convertChildren(t.arguments),h=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),T=this.createNode(t,{type:C.CallExpression,arguments:f,callee:_,optional:t.questionDotToken!=null,typeArguments:h});return this.convertChainExpression(T,t)}case x.NewExpression:{let _=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,{type:C.NewExpression,arguments:this.convertChildren(t.arguments??[]),callee:this.convertChild(t.expression),typeArguments:_})}case x.ConditionalExpression:return this.createNode(t,{type:C.ConditionalExpression,alternate:this.convertChild(t.whenFalse),consequent:this.convertChild(t.whenTrue),test:this.convertChild(t.condition)});case x.MetaProperty:return this.createNode(t,{type:C.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:C.Identifier,decorators:[],name:Qr(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case x.Decorator:return this.createNode(t,{type:C.Decorator,expression:this.convertChild(t.expression)});case x.StringLiteral:return this.createNode(t,{type:C.Literal,raw:t.getText(),value:a.kind===x.JsxAttribute?Zf(t.text):t.text});case x.NumericLiteral:return this.createNode(t,{type:C.Literal,raw:t.getText(),value:Number(t.text)});case x.BigIntLiteral:{let _=sa(t,this.ast),f=this.ast.text.slice(_[0],_[1]),h=Wr(0,f.slice(0,-1),"_",""),T=typeof BigInt<"u"?BigInt(h):null;return this.createNode(t,{type:C.Literal,range:_,bigint:T==null?h:String(T),raw:f,value:T})}case x.RegularExpressionLiteral:{let _=t.text.slice(1,t.text.lastIndexOf("/")),f=t.text.slice(t.text.lastIndexOf("/")+1),h=null;try{h=new RegExp(_,f)}catch{}return this.createNode(t,{type:C.Literal,raw:t.text,regex:{flags:f,pattern:_},value:h})}case x.TrueKeyword:return this.createNode(t,{type:C.Literal,raw:"true",value:!0});case x.FalseKeyword:return this.createNode(t,{type:C.Literal,raw:"false",value:!1});case x.NullKeyword:return this.createNode(t,{type:C.Literal,raw:"null",value:null});case x.EmptyStatement:return this.createNode(t,{type:C.EmptyStatement});case x.DebuggerStatement:return this.createNode(t,{type:C.DebuggerStatement});case x.JsxElement:return this.createNode(t,{type:C.JSXElement,children:this.convertChildren(t.children),closingElement:this.convertChild(t.closingElement),openingElement:this.convertChild(t.openingElement)});case x.JsxFragment:return this.createNode(t,{type:C.JSXFragment,children:this.convertChildren(t.children),closingFragment:this.convertChild(t.closingFragment),openingFragment:this.convertChild(t.openingFragment)});case x.JsxSelfClosingElement:return this.createNode(t,{type:C.JSXElement,children:[],closingElement:null,openingElement:this.createNode(t,{type:C.JSXOpeningElement,range:sa(t,this.ast),attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!0,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0})});case x.JsxOpeningElement:return this.createNode(t,{type:C.JSXOpeningElement,attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!1,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.JsxClosingElement:return this.createNode(t,{type:C.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case x.JsxOpeningFragment:return this.createNode(t,{type:C.JSXOpeningFragment});case x.JsxClosingFragment:return this.createNode(t,{type:C.JSXClosingFragment});case x.JsxExpression:{let _=t.expression?this.convertChild(t.expression):this.createNode(t,{type:C.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:C.JSXSpreadChild,expression:_}):this.createNode(t,{type:C.JSXExpressionContainer,expression:_})}case x.JsxAttribute:return this.createNode(t,{type:C.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case x.JsxText:{let _=t.getFullStart(),f=t.getEnd(),h=this.ast.text.slice(_,f);return this.createNode(t,{type:C.JSXText,range:[_,f],raw:h,value:Zf(h)})}case x.JsxSpreadAttribute:return this.createNode(t,{type:C.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case x.QualifiedName:return this.createNode(t,{type:C.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case x.TypeReference:return this.createNode(t,{type:C.TSTypeReference,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),typeName:this.convertChild(t.typeName)});case x.TypeParameter:return this.createNode(t,{type:C.TSTypeParameter,const:Ge(x.ConstKeyword,t),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:Ge(x.InKeyword,t),name:this.convertChild(t.name),out:Ge(x.OutKeyword,t)});case x.ThisType:return this.createNode(t,{type:C.TSThisType});case x.AnyKeyword:case x.BigIntKeyword:case x.BooleanKeyword:case x.NeverKeyword:case x.NumberKeyword:case x.ObjectKeyword:case x.StringKeyword:case x.SymbolKeyword:case x.UnknownKeyword:case x.VoidKeyword:case x.UndefinedKeyword:case x.IntrinsicKeyword:return this.createNode(t,{type:C[`TS${x[t.kind]}`]});case x.NonNullExpression:{let _=this.createNode(t,{type:C.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(_,t)}case x.TypeLiteral:return this.createNode(t,{type:C.TSTypeLiteral,members:this.convertChildren(t.members)});case x.ArrayType:return this.createNode(t,{type:C.TSArrayType,elementType:this.convertChild(t.elementType)});case x.IndexedAccessType:return this.createNode(t,{type:C.TSIndexedAccessType,indexType:this.convertChild(t.indexType),objectType:this.convertChild(t.objectType)});case x.ConditionalType:return this.createNode(t,{type:C.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),falseType:this.convertChild(t.falseType),trueType:this.convertChild(t.trueType)});case x.TypeQuery:return this.createNode(t,{type:C.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.MappedType:return t.members&&t.members.length>0&&this.#e(t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,this.#n({type:C.TSMappedType,constraint:this.convertChild(t.typeParameter.constraint),key:this.convertChild(t.typeParameter.name),nameType:this.convertChild(t.nameType)??null,optional:t.questionToken?t.questionToken.kind===x.QuestionToken||Qr(t.questionToken.kind):!1,readonly:t.readonlyToken?t.readonlyToken.kind===x.ReadonlyKeyword||Qr(t.readonlyToken.kind):void 0,typeAnnotation:t.type&&this.convertChild(t.type)},"typeParameter","'constraint' and 'key'",this.convertChild(t.typeParameter)));case x.ParenthesizedExpression:return this.convertChild(t.expression,a);case x.TypeAliasDeclaration:{let _=this.createNode(t,{type:C.TSTypeAliasDeclaration,declare:Ge(x.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,_)}case x.MethodSignature:return this.convertMethodSignature(t);case x.PropertySignature:{let{initializer:_}=t;return _&&this.#e(_,"A property signature cannot have an initializer."),this.createNode(t,{type:C.TSPropertySignature,accessibility:Si(t),computed:_a(t.name),key:this.convertChild(t.name),optional:ed(t),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case x.IndexSignature:return this.createNode(t,{type:C.TSIndexSignature,accessibility:Si(t),parameters:this.convertChildren(t.parameters),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case x.ConstructorType:return this.createNode(t,{type:C.TSConstructorType,abstract:Ge(x.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.FunctionType:{let{modifiers:_}=t;_&&this.#e(_[0],"A function type cannot have modifiers.")}case x.ConstructSignature:case x.CallSignature:{let _=t.kind===x.ConstructSignature?C.TSConstructSignatureDeclaration:t.kind===x.CallSignature?C.TSCallSignatureDeclaration:C.TSFunctionType;return this.createNode(t,{type:_,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case x.ExpressionWithTypeArguments:{let _=a.kind,f=_===x.InterfaceDeclaration?C.TSInterfaceHeritage:_===x.HeritageClause?C.TSClassImplements:C.TSInstantiationExpression;return this.createNode(t,{type:f,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)})}case x.InterfaceDeclaration:{let _=t.heritageClauses??[],f=[],h=!1;for(let k of _){k.token!==x.ExtendsKeyword&&this.#e(k,k.token===x.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token."),h&&this.#e(k,"'extends' clause already seen."),h=!0;for(let c of k.types)(!Rh(c.expression)||t1(c.expression))&&this.#e(c,"Interface declaration can only extend an identifier/qualified name with optional type arguments."),f.push(this.convertChild(c,t))}let T=this.createNode(t,{type:C.TSInterfaceDeclaration,body:this.createNode(t,{type:C.TSInterfaceBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members)}),declare:Ge(x.DeclareKeyword,t),extends:f,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,T)}case x.TypePredicate:{let _=this.createNode(t,{type:C.TSTypePredicate,asserts:t.assertsModifier!=null,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(_.typeAnnotation=this.convertTypeAnnotation(t.type,t),_.typeAnnotation.loc=_.typeAnnotation.typeAnnotation.loc,_.typeAnnotation.range=_.typeAnnotation.typeAnnotation.range),_}case x.ImportType:{let _=sa(t,this.ast);if(t.isTypeOf){let c=er(t.getFirstToken(),t,this.ast);_[0]=c.getStart(this.ast)}let f=null;if(t.attributes){let c=this.createNode(t.attributes,{type:C.ObjectExpression,properties:t.attributes.elements.map(be=>this.createNode(be,{type:C.Property,computed:!1,key:this.convertChild(be.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.convertChild(be.value)}))}),W=er(t.argument,t,this.ast),y=er(W,t,this.ast),G=er(t.attributes,t,this.ast),E=G.kind===Ae.CommaToken?er(G,t,this.ast):G,D=er(y,t,this.ast),R=sa(D,this.ast),ue=D.kind===Ae.AssertKeyword?"assert":"with";f=this.createNode(t,{type:C.ObjectExpression,range:[y.getStart(this.ast),E.end],properties:[this.createNode(t,{type:C.Property,range:[R[0],t.attributes.end],computed:!1,key:this.createNode(t,{type:C.Identifier,range:R,decorators:[],name:ue,optional:!1,typeAnnotation:void 0}),kind:"init",method:!1,optional:!1,shorthand:!1,value:c})]})}let h=this.convertChild(t.argument),T=h.literal,k=this.createNode(t,this.#n({type:C.TSImportType,range:_,options:f,qualifier:this.convertChild(t.qualifier),source:T,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null},"argument","source",h));return t.isTypeOf?this.createNode(t,{type:C.TSTypeQuery,exprName:k,typeArguments:void 0}):k}case x.EnumDeclaration:{let _=this.convertChildren(t.members),f=this.createNode(t,this.#n({type:C.TSEnumDeclaration,body:this.createNode(t,{type:C.TSEnumBody,range:[t.members.pos-1,t.end],members:_}),const:Ge(x.ConstKeyword,t),declare:Ge(x.DeclareKeyword,t),id:this.convertChild(t.name)},"members","'body.members'",this.convertChildren(t.members)));return this.fixExports(t,f)}case x.EnumMember:{let _=t.name.kind===Ae.ComputedPropertyName;return _&&this.#e(t.name,"Computed property names are not allowed in enums."),(t.name.kind===x.NumericLiteral||t.name.kind===x.BigIntLiteral)&&this.#e(t.name,"An enum member cannot have a numeric name."),this.createNode(t,this.#n({type:C.TSEnumMember,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)},"computed",void 0,_))}case x.ModuleDeclaration:{let _=Ge(x.DeclareKeyword,t),f=this.createNode(t,{type:C.TSModuleDeclaration,...(()=>{if(t.flags&sn.GlobalAugmentation){let T=this.convertChild(t.name),k=this.convertChild(t.body);return(k==null||k.type===C.TSModuleDeclaration)&&this.#e(t.body??t,"Expected a valid module body"),T.type!==C.Identifier&&this.#e(t.name,"global module augmentation must have an Identifier id"),{body:k,declare:!1,global:!1,id:T,kind:"global"}}if(vi(t.name)){let T=this.convertChild(t.body);return{kind:"module",...T!=null?{body:T}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&this.#e(t,"Expected a module body"),t.name.kind!==Ae.Identifier&&this.#e(t.name,"`namespace`s must have an Identifier id");let h=this.createNode(t.name,{type:C.Identifier,range:[t.name.getStart(this.ast),t.name.getEnd()],decorators:[],name:t.name.text,optional:!1,typeAnnotation:void 0});for(;t.body&&Ti(t.body)&&t.body.name;){t=t.body,_||(_=Ge(x.DeclareKeyword,t));let T=t.name,k=this.createNode(T,{type:C.Identifier,range:[T.getStart(this.ast),T.getEnd()],decorators:[],name:T.text,optional:!1,typeAnnotation:void 0});h=this.createNode(T,{type:C.TSQualifiedName,range:[h.range[0],k.range[1]],left:h,right:k})}return{body:this.convertChild(t.body),declare:!1,global:!1,id:h,kind:t.flags&sn.Namespace?"namespace":"module"}})()});return f.declare=_,t.flags&sn.GlobalAugmentation&&(f.global=!0),this.fixExports(t,f)}case x.ParenthesizedType:return this.convertChild(t.type);case x.UnionType:return this.createNode(t,{type:C.TSUnionType,types:this.convertChildren(t.types)});case x.IntersectionType:return this.createNode(t,{type:C.TSIntersectionType,types:this.convertChildren(t.types)});case x.AsExpression:return this.createNode(t,{type:C.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case x.InferType:return this.createNode(t,{type:C.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case x.LiteralType:return t.literal.kind===x.NullKeyword?this.createNode(t.literal,{type:C.TSNullKeyword}):this.createNode(t,{type:C.TSLiteralType,literal:this.convertChild(t.literal)});case x.TypeAssertionExpression:return this.createNode(t,{type:C.TSTypeAssertion,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case x.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:C.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case x.ExternalModuleReference:return t.expression.kind!==x.StringLiteral&&this.#e(t.expression,"String literal expected."),this.createNode(t,{type:C.TSExternalModuleReference,expression:this.convertChild(t.expression)});case x.NamespaceExportDeclaration:return this.createNode(t,{type:C.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case x.AbstractKeyword:return this.createNode(t,{type:C.TSAbstractKeyword});case x.TupleType:{let _=this.convertChildren(t.elements);return this.createNode(t,{type:C.TSTupleType,elementTypes:_})}case x.NamedTupleMember:{let _=this.createNode(t,{type:C.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(_.range[0]=_.label.range[0],_.loc.start=_.label.loc.start,this.createNode(t,{type:C.TSRestType,typeAnnotation:_})):_}case x.OptionalType:return this.createNode(t,{type:C.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case x.RestType:return this.createNode(t,{type:C.TSRestType,typeAnnotation:this.convertChild(t.type)});case x.TemplateLiteralType:{let _=this.createNode(t,{type:C.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(f=>{_.types.push(this.convertChild(f.type)),_.quasis.push(this.convertChild(f.literal))}),_}case x.ClassStaticBlockDeclaration:return this.createNode(t,{type:C.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case x.AssertEntry:case x.ImportAttribute:return this.createNode(t,{type:C.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case x.SatisfiesExpression:return this.createNode(t,{type:C.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}createNode(t,a){let _=a;return _.range??(_.range=sa(t,this.ast)),_.loc??(_.loc=Kr(_.range,this.ast)),_&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(_,t),_}convertProgram(){return this.converter(this.ast)}deeplyCopy(t){t.kind===Ae.JSDocFunctionType&&this.#e(t,"JSDoc types can only be used inside documentation comments.");let a=`TS${x[t.kind]}`;if(this.options.errorOnUnknownASTType&&!C[a])throw new Error(`Unknown AST_NODE_TYPE: "${a}"`);let _=this.createNode(t,{type:a});"type"in t&&(_.typeAnnotation=t.type&&"kind"in t.type&&a1(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(_.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null),"typeParameters"in t&&(_.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let f=xi(t);f?.length&&(_.decorators=this.convertChildren(f));let h=new Set(["_children","decorators","end","flags","heritageClauses","illegalDecorators","jsDoc","kind","locals","localSymbol","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(t).filter(([T])=>!h.has(T)).forEach(([T,k])=>{Array.isArray(k)?_[T]=this.convertChildren(k):k&&typeof k=="object"&&k.kind?_[T]=this.convertChild(k):_[T]=k}),_}fixExports(t,a){let f=Ti(t)&&!vi(t.name)?Mh(t):Rn(t);if(f?.[0].kind===x.ExportKeyword){this.registerTSNodeInNodeMap(t,a);let h=f[0],T=f[1],k=T?.kind===x.DefaultKeyword,c=k?er(T,this.ast,this.ast):er(h,this.ast,this.ast);if(a.range[0]=c.getStart(this.ast),a.loc=Kr(a.range,this.ast),k)return this.createNode(t,{type:C.ExportDefaultDeclaration,range:[h.getStart(this.ast),a.range[1]],declaration:a,exportKind:"value"});let W=a.type===C.TSInterfaceDeclaration||a.type===C.TSTypeAliasDeclaration,y="declare"in a&&a.declare;return this.createNode(t,this.#t({type:C.ExportNamedDeclaration,range:[h.getStart(this.ast),a.range[1]],attributes:[],declaration:a,exportKind:W||y?"type":"value",source:null,specifiers:[]},"assertions","attributes",!0))}return a}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}registerTSNodeInNodeMap(t,a){a&&this.options.shouldPreserveNodeMaps&&!this.tsNodeToESTreeNodeMap.has(t)&&this.tsNodeToESTreeNodeMap.set(t,a)}};function Lv(e,t,a=e.getSourceFile()){let _=[];for(;;){if(mf(e.kind))t(e);else{let f=e.getChildren(a);if(f.length===1){e=f[0];continue}for(let h=f.length-1;h>=0;--h)_.push(f[h])}if(_.length===0)break;e=_.pop()}}function Bh(e,t,a=e.getSourceFile()){let _=a.text,f=a.languageVariant!==wl.JSX;return Lv(e,T=>{if(T.pos!==T.end&&(T.kind!==Ae.JsxText&&Wm(_,T.pos===0?(sf(_)??"").length:T.pos,h),f||Jv(T)))return Gm(_,T.end,h)},a);function h(T,k,c){t(_,{end:k,kind:c,pos:T})}}function Jv(e){switch(e.kind){case Ae.CloseBraceToken:return e.parent.kind!==Ae.JsxExpression||!id(e.parent.parent);case Ae.GreaterThanToken:switch(e.parent.kind){case Ae.JsxClosingElement:case Ae.JsxClosingFragment:return!id(e.parent.parent.parent);case Ae.JsxOpeningElement:return e.end!==e.parent.end;case Ae.JsxOpeningFragment:return!1;case Ae.JsxSelfClosingElement:return e.end!==e.parent.end||!id(e.parent.parent)}}return!0}function id(e){return e.kind===Ae.JsxElement||e.kind===Ae.JsxFragment}var[ox,cx]=bm.split(".").map(e=>Number.parseInt(e,10));var lx=en.Intrinsic??en.Any|en.Unknown|en.String|en.Number|en.BigInt|en.Boolean|en.BooleanLiteral|en.ESSymbol|en.Void|en.Undefined|en.Null|en.Never|en.NonPrimitive;function qh(e,t){let a=[];return Bh(e,(_,f)=>{let h=f.kind===Ae.SingleLineCommentTrivia?Rt.Line:Rt.Block,T=[f.pos,f.end],k=Kr(T,e),c=T[0]+2,W=f.kind===Ae.SingleLineCommentTrivia?T[1]:T[1]-2;a.push({type:h,loc:k,range:T,value:t.slice(c,W)})},e),a}var Fh=()=>{};function zh(e,t,a){let{parseDiagnostics:_}=e;if(_.length)throw rd(_[0]);let f=new Rl(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),h=f.convertProgram();return(!t.range||!t.loc)&&Fh(h,{enter:k=>{t.range||delete k.range,t.loc||delete k.loc}}),t.tokens&&(h.tokens=Ih(e)),t.comment&&(h.comments=qh(e,t.codeFullText)),{astMaps:f.getASTMaps(),estree:h}}function Ul(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===Ae.SourceFile&&typeof t.getFullText=="function"}var zv=function(e){return e&&e.__esModule?e:{default:e}};var Vv=zv({extname:e=>"."+e.split(".").pop()});function Wh(e,t){switch(Vv.default.extname(e).toLowerCase()){case Cn.Cjs:case Cn.Js:case Cn.Mjs:return Pr.JS;case Cn.Cts:case Cn.Mts:case Cn.Ts:return Pr.TS;case Cn.Json:return Pr.JSON;case Cn.Jsx:return Pr.JSX;case Cn.Tsx:return Pr.TSX;default:return t?Pr.TSX:Pr.TS}}var Gv={default:Na},Yv=(0,Gv.default)("typescript-eslint:typescript-estree:create-program:createSourceFile");function Gh(e){return Yv("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),Ul(e.code)?e.code:uh(e.filePath,e.codeFullText,{jsDocParsingMode:e.jsDocParsingMode,languageVersion:g_.Latest,setExternalModuleIndicator:e.setExternalModuleIndicator},!0,Wh(e.filePath,e.jsx))}var Yh=e=>e;var Hh=()=>{};var Xh=class{};var Qh=()=>!1;var Kh=()=>{};var s4=function(e){return e&&e.__esModule?e:{default:e}};var _4={},ad={default:Na},o4=s4({extname:e=>"."+e.split(".").pop()}),c4=(0,ad.default)("typescript-eslint:typescript-estree:parseSettings:createParseSettings"),l4,Zh=null,k_={ParseAll:Ya?.ParseAll,ParseForTypeErrors:Ya?.ParseForTypeErrors,ParseForTypeInfo:Ya?.ParseForTypeInfo,ParseNone:Ya?.ParseNone};function e0(e,t={}){let a=u4(e),_=Qh(t),f=void 0,h=typeof t.loggerFn=="function",T=Yh(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:p4(t.jsx),f),k=o4.default.extname(T).toLowerCase(),c=(()=>{switch(t.jsDocParsingMode){case"all":return k_.ParseAll;case"none":return k_.ParseNone;case"type-info":return k_.ParseForTypeInfo;default:return k_.ParseAll}})(),W={loc:t.loc===!0,range:t.range===!0,allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:a,comment:t.comment===!0,comments:[],debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(y=>typeof y=="string")?t.extraFileExtensions:[],filePath:T,jsDocParsingMode:c,jsx:t.jsx===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:new Map,projectService:t.projectService||t.project&&t.projectService!==!1&&(void 0).env.TYPESCRIPT_ESLINT_PROJECT_SERVICE==="true"?f4(t.projectService,{jsDocParsingMode:c,tsconfigRootDir:f}):void 0,setExternalModuleIndicator:t.sourceType==="module"||t.sourceType==null&&k===Cn.Mjs||t.sourceType==null&&k===Cn.Mts?y=>{y.externalModuleIndicator=!0}:void 0,singleRun:_,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:l4??(l4=new Xh(_?"Infinity":t.cacheLifetime?.glob??void 0)),tsconfigRootDir:f};if(W.projectService&&t.project&&(void 0).env.TYPESCRIPT_ESLINT_IGNORE_PROJECT_AND_PROJECT_SERVICE_ERROR!=="true")throw new Error('Enabling "project" does nothing when "projectService" is enabled. You can remove the "project" setting.');if(W.debugLevel.size>0){let y=[];W.debugLevel.has("typescript-eslint")&&y.push("typescript-eslint:*"),(W.debugLevel.has("eslint")||ad.default.enabled("eslint:*,-eslint:code-path"))&&y.push("eslint:*,-eslint:code-path"),ad.default.enable(y.join(","))}if(Array.isArray(t.programs)){if(!t.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");c4("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!W.programs&&!W.projectService&&(W.projects=new Map),t.jsDocParsingMode==null&&W.projects.size===0&&W.programs==null&&W.projectService==null&&(W.jsDocParsingMode=k_.ParseNone),Kh(W,h),W}function u4(e){return Ul(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function p4(e){return e?"estree.tsx":"estree.ts"}function f4(e,t){let a=typeof e=="object"?e:{};return Hh(a.allowDefaultProject),Zh??(Zh=(0,_4.createProjectService)({options:a,...t})),Zh}var y4={default:Na},Ex=(0,y4.default)("typescript-eslint:typescript-estree:parser");function t0(e,t){let{ast:a}=g4(e,t,!1);return a}function g4(e,t,a){let _=e0(e,t);if(t?.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let f=Gh(_),{astMaps:h,estree:T}=zh(f,_,a);return{ast:T,esTreeNodeToTSNodeMap:h.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:h.tsNodeToESTreeNodeMap}}function b4(e,t){let a=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(a,t)}var n0=b4;function r0(e){let t=[];for(let a of e)try{return a()}catch(_){t.push(_)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var v4=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let a=this[t];if(e(a,t,this))return a}},T4=Ia("findLast",function(){if(Array.isArray(this))return v4}),i0=T4;function x4(e){return this[e<0?this.length+e:e]}var S4=Ia("at",function(){if(Array.isArray(this)||typeof this=="string")return x4}),a0=S4;function tr(e){let t=e.range?.[0]??e.start,a=(e.declaration?.decorators??e.decorators)?.[0];return a?Math.min(tr(a),t):t}function Un(e){return e.range?.[1]??e.end}function w4(e){let t=new Set(e);return a=>t.has(a?.type)}var $a=w4;var k4=$a(["Block","CommentBlock","MultiLine"]),Qa=k4;var E4=$a(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),s0=E4;var sd=new WeakMap;function A4(e){return sd.has(e)||sd.set(e,Qa(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)),sd.get(e)}var _0=A4;function C4(e){if(!Qa(e))return!1;let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(a=>a.trimStart()[0]==="*")}var _d=new WeakMap;function D4(e){return _d.has(e)||_d.set(e,C4(e)),_d.get(e)}var od=D4;function P4(e){if(e.length<2)return;let t;for(let a=e.length-1;a>=0;a--){let _=e[a];if(t&&Un(_)===tr(t)&&od(_)&&od(t)&&(e.splice(a+1,1),_.value+="*//*"+t.value,_.range=[tr(_),Un(t)]),!s0(_)&&!Qa(_))throw new TypeError(`Unknown comment type: "${_.type}".`);t=_}}var o0=P4;function N4(e){return e!==null&&typeof e=="object"}var c0=N4;var E_=null;function A_(e){if(E_!==null&&typeof E_.property){let t=E_;return E_=A_.prototype=null,t}return E_=A_.prototype=e??Object.create(null),new A_}var I4=10;for(let e=0;e<=I4;e++)A_();function cd(e){return A_(e)}function O4(e,t="type"){cd(e);function a(_){let f=_[t],h=e[f];if(!Array.isArray(h))throw Object.assign(new Error(`Missing visitor keys for '${f}'.`),{node:_});return h}return a}var l0=O4;var w=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],u0={AccessorProperty:w[0],AnyTypeAnnotation:w[1],ArgumentPlaceholder:w[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:w[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:w[3],AsExpression:w[4],AssignmentExpression:w[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:w[6],BigIntLiteral:w[1],BigIntLiteralTypeAnnotation:w[1],BigIntTypeAnnotation:w[1],BinaryExpression:w[5],BindExpression:["object","callee"],BlockStatement:w[7],BooleanLiteral:w[1],BooleanLiteralTypeAnnotation:w[1],BooleanTypeAnnotation:w[1],BreakStatement:w[8],CallExpression:w[9],CatchClause:["param","body"],ChainExpression:w[3],ClassAccessorProperty:w[0],ClassBody:w[10],ClassDeclaration:w[11],ClassExpression:w[11],ClassImplements:w[12],ClassMethod:w[13],ClassPrivateMethod:w[13],ClassPrivateProperty:w[14],ClassProperty:w[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:w[15],ConditionalExpression:w[16],ConditionalTypeAnnotation:w[17],ContinueStatement:w[8],DebuggerStatement:w[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:w[18],DeclareEnum:w[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:w[20],DeclareFunction:["id","predicate"],DeclareHook:w[21],DeclareInterface:w[22],DeclareModule:w[19],DeclareModuleExports:w[23],DeclareNamespace:w[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:w[24],DeclareVariable:w[21],Decorator:w[3],Directive:w[18],DirectiveLiteral:w[1],DoExpression:w[10],DoWhileStatement:w[25],EmptyStatement:w[1],EmptyTypeAnnotation:w[1],EnumBigIntBody:w[26],EnumBigIntMember:w[27],EnumBooleanBody:w[26],EnumBooleanMember:w[27],EnumDeclaration:w[19],EnumDefaultedMember:w[21],EnumNumberBody:w[26],EnumNumberMember:w[27],EnumStringBody:w[26],EnumStringMember:w[27],EnumSymbolBody:w[26],ExistsTypeAnnotation:w[1],ExperimentalRestProperty:w[6],ExperimentalSpreadProperty:w[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:w[28],ExportNamedDeclaration:w[20],ExportNamespaceSpecifier:w[28],ExportSpecifier:["local","exported"],ExpressionStatement:w[3],File:["program"],ForInStatement:w[29],ForOfStatement:w[29],ForStatement:["init","test","update","body"],FunctionDeclaration:w[30],FunctionExpression:w[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:w[15],GenericTypeAnnotation:w[12],HookDeclaration:w[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:w[16],ImportAttribute:w[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:w[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:w[33],ImportSpecifier:["imported","local"],IndexedAccessType:w[34],InferredPredicate:w[1],InferTypeAnnotation:w[35],InterfaceDeclaration:w[22],InterfaceExtends:w[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:w[1],IntersectionTypeAnnotation:w[36],JsExpressionRoot:w[37],JsonRoot:w[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:w[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:w[1],JSXExpressionContainer:w[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:w[1],JSXMemberExpression:w[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:w[1],JSXSpreadAttribute:w[6],JSXSpreadChild:w[3],JSXText:w[1],KeyofTypeAnnotation:w[6],LabeledStatement:["label","body"],Literal:w[1],LogicalExpression:w[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:w[21],MatchExpression:w[39],MatchExpressionCase:w[40],MatchIdentifierPattern:w[21],MatchLiteralPattern:w[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:w[6],MatchStatement:w[39],MatchStatementCase:w[40],MatchUnaryPattern:w[6],MatchWildcardPattern:w[1],MemberExpression:w[38],MetaProperty:["meta","property"],MethodDefinition:w[42],MixedTypeAnnotation:w[1],ModuleExpression:w[10],NeverTypeAnnotation:w[1],NewExpression:w[9],NGChainedExpression:w[43],NGEmptyExpression:w[1],NGMicrosyntax:w[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:w[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:w[32],NGPipeExpression:["left","right","arguments"],NGRoot:w[37],NullableTypeAnnotation:w[23],NullLiteral:w[1],NullLiteralTypeAnnotation:w[1],NumberLiteralTypeAnnotation:w[1],NumberTypeAnnotation:w[1],NumericLiteral:w[1],ObjectExpression:["properties"],ObjectMethod:w[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:w[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:w[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:w[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:w[9],OptionalIndexedAccessType:w[34],OptionalMemberExpression:w[38],ParenthesizedExpression:w[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:w[1],PipelineTopicExpression:w[3],Placeholder:w[1],PrivateIdentifier:w[1],PrivateName:w[21],Program:w[7],Property:w[32],PropertyDefinition:w[14],QualifiedTypeIdentifier:w[44],QualifiedTypeofIdentifier:w[44],RegExpLiteral:w[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:w[6],SatisfiesExpression:w[4],SequenceExpression:w[43],SpreadElement:w[6],StaticBlock:w[10],StringLiteral:w[1],StringLiteralTypeAnnotation:w[1],StringTypeAnnotation:w[1],Super:w[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:w[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:w[1],TemplateLiteral:["quasis","expressions"],ThisExpression:w[1],ThisTypeAnnotation:w[1],ThrowStatement:w[6],TopicReference:w[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:w[45],TSAbstractKeyword:w[1],TSAbstractMethodDefinition:w[32],TSAbstractPropertyDefinition:w[45],TSAnyKeyword:w[1],TSArrayType:w[2],TSAsExpression:w[4],TSAsyncKeyword:w[1],TSBigIntKeyword:w[1],TSBooleanKeyword:w[1],TSCallSignatureDeclaration:w[46],TSClassImplements:w[47],TSConditionalType:w[17],TSConstructorType:w[46],TSConstructSignatureDeclaration:w[46],TSDeclareFunction:w[31],TSDeclareKeyword:w[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:w[26],TSEnumDeclaration:w[19],TSEnumMember:["id","initializer"],TSExportAssignment:w[3],TSExportKeyword:w[1],TSExternalModuleReference:w[3],TSFunctionType:w[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:w[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:w[35],TSInstantiationExpression:w[47],TSInterfaceBody:w[10],TSInterfaceDeclaration:w[22],TSInterfaceHeritage:w[47],TSIntersectionType:w[36],TSIntrinsicKeyword:w[1],TSJSDocAllType:w[1],TSJSDocNonNullableType:w[23],TSJSDocNullableType:w[23],TSJSDocUnknownType:w[1],TSLiteralType:w[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:w[10],TSModuleDeclaration:w[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:w[21],TSNeverKeyword:w[1],TSNonNullExpression:w[3],TSNullKeyword:w[1],TSNumberKeyword:w[1],TSObjectKeyword:w[1],TSOptionalType:w[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:w[23],TSPrivateKeyword:w[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:w[1],TSPublicKeyword:w[1],TSQualifiedName:w[5],TSReadonlyKeyword:w[1],TSRestType:w[23],TSSatisfiesExpression:w[4],TSStaticKeyword:w[1],TSStringKeyword:w[1],TSSymbolKeyword:w[1],TSTemplateLiteralType:["quasis","types"],TSThisType:w[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:w[23],TSTypeAssertion:w[4],TSTypeLiteral:w[26],TSTypeOperator:w[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:w[48],TSTypeParameterInstantiation:w[48],TSTypePredicate:w[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:w[1],TSUnionType:w[36],TSUnknownKeyword:w[1],TSVoidKeyword:w[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:w[24],TypeAnnotation:w[23],TypeCastExpression:w[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:w[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:w[48],TypeParameterInstantiation:w[48],TypePredicate:w[49],UnaryExpression:w[6],UndefinedTypeAnnotation:w[1],UnionTypeAnnotation:w[36],UnknownTypeAnnotation:w[1],UpdateExpression:w[6],V8IntrinsicIdentifier:w[1],VariableDeclaration:["declarations"],VariableDeclarator:w[27],Variance:w[1],VoidPattern:w[1],VoidTypeAnnotation:w[1],WhileStatement:w[25],WithStatement:["object","body"],YieldExpression:w[6]};var M4=l0(u0),p0=M4;function Bl(e,t){if(!c0(e))return e;if(Array.isArray(e)){for(let _=0;_D<=y);G=E&&_.slice(E,y).trim().length===0}return G?void 0:(W.extra={...W.extra,parenthesized:!0},W)}case"TemplateLiteral":if(c.expressions.length!==c.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(a==="flow"||a==="hermes"||a==="espree"||a==="typescript"||h){let W=tr(c)+1,y=Un(c)-(c.tail?1:2);c.range=[W,y]}break;case"VariableDeclaration":{let W=a0(0,c.declarations,-1);W?.init&&_[Un(W)]!==";"&&(c.range=[tr(c),Un(W)]);break}case"TSParenthesizedType":return c.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(c.types.length===1)return c.types[0];break;case"ImportExpression":a==="hermes"&&c.attributes&&!c.options&&(c.options=c.attributes);break}},onLeave(c){switch(c.type){case"LogicalExpression":if(d0(c))return ld(c);break;case"TSImportType":!c.source&&c.argument.type==="TSLiteralType"&&(c.source=c.argument.literal,delete c.argument);break}}}),e}function d0(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function ld(e){return d0(e)?ld({type:"LogicalExpression",operator:e.operator,left:ld({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[tr(e.left),Un(e.right.left)]}),right:e.right.right,range:[tr(e),Un(e)]}):e}var m0=L4;var J4=/\*\/$/,j4=/^\/\*\*?/,R4=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,U4=/(^|\s+)\/\/([^\n\r]*)/g,h0=/^(\r?\n)+/,B4=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,y0=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,q4=/(\r?\n|^) *\* ?/g,F4=[];function g0(e){let t=e.match(R4);return t?t[0].trimStart():""}function b0(e){e=Wr(0,e.replace(j4,"").replace(J4,""),q4,"$1");let a="";for(;a!==e;)a=e,e=Wr(0,e,B4,` +$1 $2 +`);e=e.replace(h0,"").trimEnd();let _=Object.create(null),f=Wr(0,e,y0,"").replace(h0,"").trimEnd(),h;for(;h=y0.exec(e);){let T=Wr(0,h[2],U4,"");if(typeof _[h[1]]=="string"||Array.isArray(_[h[1]])){let k=_[h[1]];_[h[1]]=[...F4,...Array.isArray(k)?k:[k],T]}else _[h[1]]=T}return{comments:f,pragmas:_}}var v0=["noformat","noprettier"],T0=["format","prettier"];function z4(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var x0=z4;function S0(e){let t=x0(e);t&&(e=e.slice(t.length+1));let a=g0(e),{pragmas:_,comments:f}=b0(a);return{shebang:t,text:e,pragmas:_,comments:f}}function w0(e){let{pragmas:t}=S0(e);return T0.some(a=>Object.prototype.hasOwnProperty.call(t,a))}function k0(e){let{pragmas:t}=S0(e);return v0.some(a=>Object.prototype.hasOwnProperty.call(t,a))}function V4(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:w0,hasIgnorePragma:k0,locStart:tr,locEnd:Un,...e}}var E0=V4;var A0=/^[^"'`]*<\/|^[^/]{2}.*\/>/mu;function W4(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var C0=W4;var D0="module";var P0="commonjs",N0=[D0,P0];function I0(e){if(typeof e=="string"){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/iu.test(e))return D0;if(/\.(?:cjs|cts)$/iu.test(e))return P0}}var G4={loc:!0,range:!0,comment:!0,tokens:!1,loggerFn:!1,project:!1,jsDocParsingMode:"none",suppressDeprecatedPropertyWarnings:!0};function Y4(e){let{message:t,location:a}=e;if(!a)return e;let{start:_,end:f}=a;return n0(t,{loc:{start:{line:_.line,column:_.column+1},end:{line:f.line,column:f.column+1}},cause:e})}var H4=e=>e&&/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/iu.test(e);function X4(e,t){let a=[{...G4,filePath:t}],_=I0(t);if(_?a=a.map(h=>({...h,sourceType:_})):a=N0.flatMap(h=>a.map(T=>({...T,sourceType:h}))),H4(t))return a;let f=A0.test(e);return[f,!f].flatMap(h=>a.map(T=>({...T,jsx:h})))}function $4(e,t){let a=t?.filepath;typeof a!="string"&&(a=void 0);let _=C0(e),f=X4(e,a),h;try{h=r0(f.map(T=>()=>t0(_,T)))}catch({errors:[T]}){throw Y4(T)}return m0(h,{parser:"typescript",text:e})}var Q4=E0($4);return ay(K4);}); \ No newline at end of file diff --git a/shared/node_modules/prettier/plugins/typescript.mjs b/shared/node_modules/prettier/plugins/typescript.mjs new file mode 100644 index 0000000000000000000000000000000000000000..88cf25bd297bbf86ae994df53e376ae28d444a51 --- /dev/null +++ b/shared/node_modules/prettier/plugins/typescript.mjs @@ -0,0 +1,21 @@ +var ty=Object.defineProperty;var hd=(e,t)=>{for(var a in t)ty(e,a,{get:t[a],enumerable:!0})};var I0={};hd(I0,{parsers:()=>ld});var ld={};hd(ld,{typescript:()=>Y4});var ny=()=>()=>{},Na=ny;var Ia=(e,t)=>(a,_,...f)=>a|1&&_==null?void 0:(t.call(_)??_[e]).apply(_,f);var ry=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},iy=Ia("replaceAll",function(){if(typeof this=="string")return ry}),Wr=iy;var gm="5.9";var vt=[],ay=new Map;function e_(e){return e!==void 0?e.length:0}function jn(e,t){if(e!==void 0)for(let a=0;a0;return!1}function Yp(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function ly(e,t,a=Xp){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let _=0;_e?.at(t):(e,t)=>{if(e!==void 0&&(t=Np(e,t),t>1),c=a(e[k],k);switch(_(c,t)){case-1:h=k+1;break;case 0:return k;case 1:T=k-1;break}}return~h}function gy(e,t,a,_,f){if(e&&e.length>0){let h=e.length;if(h>0){let T=_===void 0||_<0?0:_,k=f===void 0||T+f>h-1?h-1:T+f,c;for(arguments.length<=2?(c=e[T],T++):c=a;T<=k;)c=t(c,e[T],T),T++;return c}}return a}var xm=Object.prototype.hasOwnProperty;function Dr(e,t){return xm.call(e,t)}function by(e){let t=[];for(let a in e)xm.call(e,a)&&t.push(a);return t}function vy(){let e=new Map;return e.add=Ty,e.remove=xy,e}function Ty(e,t){let a=this.get(e);return a!==void 0?a.push(t):this.set(e,a=[t]),a}function xy(e,t){let a=this.get(e);a!==void 0&&(Ny(a,t),a.length||this.delete(e))}function $r(e){return Array.isArray(e)}function bp(e){return $r(e)?e:[e]}function Sy(e,t){return e!==void 0&&t(e)?e:void 0}function Er(e,t){return e!==void 0&&t(e)?e:q.fail(`Invalid cast. The supplied value ${e} did not pass the test '${q.getFunctionName(t)}'.`)}function Va(e){}function wy(){return!0}function bt(e){return e}function gd(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Kn(e){let t=new Map;return a=>{let _=`${typeof a}:${a}`,f=t.get(_);return f===void 0&&!t.has(_)&&(f=e(a),t.set(_,f)),f}}function Xp(e,t){return e===t}function $p(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function ky(e,t){return Xp(e,t)}function Ey(e,t){return e===t?0:e===void 0?-1:t===void 0?1:ea?k-a:1),y=Math.floor(t.length>a+k?a+k:t.length);f[0]=k;let G=k;for(let D=1;Da)return;let E=_;_=f,f=E}let T=_[t.length];return T>a?void 0:T}function Dy(e,t,a){let _=e.length-t.length;return _>=0&&(a?$p(e.slice(_),t):e.indexOf(t,_)===_)}function Py(e,t){e[t]=e[e.length-1],e.pop()}function Ny(e,t){return Iy(e,a=>a===t)}function Iy(e,t){for(let a=0;a{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function a(L){return e.currentLogLevel<=L}e.shouldLog=a;function _(L,se){e.loggingHost&&a(L)&&e.loggingHost.log(L,se)}function f(L){_(3,L)}e.log=f,(L=>{function se(Qe){_(1,Qe)}L.error=se;function fe(Qe){_(2,Qe)}L.warn=fe;function Te(Qe){_(3,Qe)}L.log=Te;function He(Qe){_(4,Qe)}L.trace=He})(f=e.log||(e.log={}));let h={};function T(){return t}e.getAssertionLevel=T;function k(L){let se=t;if(t=L,L>se)for(let fe of by(h)){let Te=h[fe];Te!==void 0&&e[fe]!==Te.assertion&&L>=Te.level&&(e[fe]=Te,h[fe]=void 0)}}e.setAssertionLevel=k;function c(L){return t>=L}e.shouldAssert=c;function W(L,se){return c(L)?!0:(h[se]={level:L,assertion:e[se]},e[se]=Va,!1)}function y(L,se){debugger;let fe=new Error(L?`Debug Failure. ${L}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(fe,se||y),fe}e.fail=y;function G(L,se,fe){return y(`${se||"Unexpected node."}\r +Node ${Ot(L.kind)} was unexpected.`,fe||G)}e.failBadSyntaxKind=G;function E(L,se,fe,Te){L||(se=se?`False expression: ${se}`:"False expression.",fe&&(se+=`\r +Verbose Debug Information: `+(typeof fe=="string"?fe:fe())),y(se,Te||E))}e.assert=E;function D(L,se,fe,Te,He){if(L!==se){let Qe=fe?Te?`${fe} ${Te}`:fe:"";y(`Expected ${L} === ${se}. ${Qe}`,He||D)}}e.assertEqual=D;function R(L,se,fe,Te){L>=se&&y(`Expected ${L} < ${se}. ${fe||""}`,Te||R)}e.assertLessThan=R;function ue(L,se,fe){L>se&&y(`Expected ${L} <= ${se}`,fe||ue)}e.assertLessThanOrEqual=ue;function be(L,se,fe){L= ${se}`,fe||be)}e.assertGreaterThanOrEqual=be;function he(L,se,fe){L==null&&y(se,fe||he)}e.assertIsDefined=he;function de(L,se,fe){return he(L,se,fe||de),L}e.checkDefined=de;function O(L,se,fe){for(let Te of L)he(Te,se,fe||O)}e.assertEachIsDefined=O;function ae(L,se,fe){return O(L,se,fe||ae),L}e.checkEachDefined=ae;function Oe(L,se="Illegal value:",fe){let Te=typeof L=="object"&&Dr(L,"kind")&&Dr(L,"pos")?"SyntaxKind: "+Ot(L.kind):JSON.stringify(L);return y(`${se} ${Te}`,fe||Oe)}e.assertNever=Oe;function V(L,se,fe,Te){W(1,"assertEachNode")&&E(se===void 0||Gp(L,se),fe||"Unexpected node.",()=>`Node array did not pass test '${hn(se)}'.`,Te||V)}e.assertEachNode=V;function oe(L,se,fe,Te){W(1,"assertNode")&&E(L!==void 0&&(se===void 0||se(L)),fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} did not pass test '${hn(se)}'.`,Te||oe)}e.assertNode=oe;function Y(L,se,fe,Te){W(1,"assertNotNode")&&E(L===void 0||se===void 0||!se(L),fe||"Unexpected node.",()=>`Node ${Ot(L.kind)} should not have passed test '${hn(se)}'.`,Te||Y)}e.assertNotNode=Y;function ft(L,se,fe,Te){W(1,"assertOptionalNode")&&E(se===void 0||L===void 0||se(L),fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} did not pass test '${hn(se)}'.`,Te||ft)}e.assertOptionalNode=ft;function nr(L,se,fe,Te){W(1,"assertOptionalToken")&&E(se===void 0||L===void 0||L.kind===se,fe||"Unexpected node.",()=>`Node ${Ot(L?.kind)} was not a '${Ot(se)}' token.`,Te||nr)}e.assertOptionalToken=nr;function mn(L,se,fe){W(1,"assertMissingNode")&&E(L===void 0,se||"Unexpected node.",()=>`Node ${Ot(L.kind)} was unexpected'.`,fe||mn)}e.assertMissingNode=mn;function rr(L){}e.type=rr;function hn(L){if(typeof L!="function")return"";if(Dr(L,"name"))return L.name;{let se=Function.prototype.toString.call(L),fe=/^function\s+([\w$]+)\s*\(/.exec(se);return fe?fe[1]:""}}e.getFunctionName=hn;function Dn(L){return`{ name: ${l_(L.escapedName)}; flags: ${ot(L.flags)}; declarations: ${Pp(L.declarations,se=>Ot(se.kind))} }`}e.formatSymbol=Dn;function We(L=0,se,fe){let Te=Ir(se);if(L===0)return Te.length>0&&Te[0][0]===0?Te[0][1]:"0";if(fe){let He=[],Qe=L;for(let[st,Ct]of Te){if(st>L)break;st!==0&&st&L&&(He.push(Ct),Qe&=~st)}if(Qe===0)return He.join("|")}else for(let[He,Qe]of Te)if(He===L)return Qe;return L.toString()}e.formatEnum=We;let ir=new Map;function Ir(L){let se=ir.get(L);if(se)return se;let fe=[];for(let He in L){let Qe=L[He];typeof Qe=="number"&&fe.push([Qe,He])}let Te=fy(fe,(He,Qe)=>Sm(He[0],Qe[0]));return ir.set(L,Te),Te}function Ot(L){return We(L,Ae,!1)}e.formatSyntaxKind=Ot;function Bn(L){return We(L,Cm,!1)}e.formatSnippetKind=Bn;function Pn(L){return We(L,Pr,!1)}e.formatScriptKind=Pn;function Mt(L){return We(L,sn,!0)}e.formatNodeFlags=Mt;function ht(L){return We(L,km,!0)}e.formatNodeCheckFlags=ht;function $e(L){return We(L,Qp,!0)}e.formatModifierFlags=$e;function qn(L){return We(L,Am,!0)}e.formatTransformFlags=qn;function $t(L){return We(L,Dm,!0)}e.formatEmitFlags=$t;function ot(L){return We(L,Kp,!0)}e.formatSymbolFlags=ot;function at(L){return We(L,en,!0)}e.formatTypeFlags=at;function Bt(L){return We(L,Em,!0)}e.formatSignatureFlags=Bt;function Lt(L){return We(L,Zp,!0)}e.formatObjectFlags=Lt;function ct(L){return We(L,Op,!0)}e.formatFlowFlags=ct;function ar(L){return We(L,wm,!0)}e.formatRelationComparisonResult=ar;function dt(L){return We(L,CheckMode,!0)}e.formatCheckMode=dt;function yn(L){return We(L,SignatureCheckMode,!0)}e.formatSignatureCheckMode=yn;function yt(L){return We(L,TypeFacts,!0)}e.formatTypeFacts=yt;let _n=!1,tt;function qt(L){"__debugFlowFlags"in L||Object.defineProperties(L,{__tsDebuggerDisplay:{value(){let se=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",fe=this.flags&-2048;return`${se}${fe?` (${ct(fe)})`:""}`}},__debugFlowFlags:{get(){return We(this.flags,Op,!0)}},__debugToString:{value(){return yr(this)}}})}function tn(L){return _n&&(typeof Object.setPrototypeOf=="function"?(tt||(tt=Object.create(Object.prototype),qt(tt)),Object.setPrototypeOf(L,tt)):qt(L)),L}e.attachFlowNodeDebugInfo=tn;let sr;function mr(L){"__tsDebuggerDisplay"in L||Object.defineProperties(L,{__tsDebuggerDisplay:{value(se){return se=String(se).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${se}`}}})}function hr(L){_n&&(typeof Object.setPrototypeOf=="function"?(sr||(sr=Object.create(Array.prototype),mr(sr)),Object.setPrototypeOf(L,sr)):mr(L))}e.attachNodeArrayDebugInfo=hr;function Fn(){if(_n)return;let L=new WeakMap,se=new WeakMap;Object.defineProperties(Et.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Te=this.flags&33554432?"TransientSymbol":"Symbol",He=this.flags&-33554433;return`${Te} '${Jp(this)}'${He?` (${ot(He)})`:""}`}},__debugFlags:{get(){return ot(this.flags)}}}),Object.defineProperties(Et.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",He=this.flags&524288?this.objectFlags&-1344:0;return`${Te}${this.symbol?` '${Jp(this.symbol)}'`:""}${He?` (${Lt(He)})`:""}`}},__debugFlags:{get(){return at(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Lt(this.objectFlags):""}},__debugTypeToString:{value(){let Te=L.get(this);return Te===void 0&&(Te=this.checker.typeToString(this),L.set(this,Te)),Te}}}),Object.defineProperties(Et.getSignatureConstructor().prototype,{__debugFlags:{get(){return Bt(this.flags)}},__debugSignatureToString:{value(){var Te;return(Te=this.checker)==null?void 0:Te.signatureToString(this)}}});let fe=[Et.getNodeConstructor(),Et.getIdentifierConstructor(),Et.getTokenConstructor(),Et.getSourceFileConstructor()];for(let Te of fe)Dr(Te.prototype,"__debugKind")||Object.defineProperties(Te.prototype,{__tsDebuggerDisplay:{value(){return`${Ua(this)?"GeneratedIdentifier":Ke(this)?`Identifier '${An(this)}'`:gi(this)?`PrivateIdentifier '${An(this)}'`:vi(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:aa(this)?`NumericLiteral ${this.text}`:k1(this)?`BigIntLiteral ${this.text}n`:Ef(this)?"TypeParameterDeclaration":m_(this)?"ParameterDeclaration":Af(this)?"ConstructorDeclaration":Tl(this)?"GetAccessorDeclaration":y_(this)?"SetAccessorDeclaration":P1(this)?"CallSignatureDeclaration":N1(this)?"ConstructSignatureDeclaration":Cf(this)?"IndexSignatureDeclaration":I1(this)?"TypePredicateNode":Df(this)?"TypeReferenceNode":Pf(this)?"FunctionTypeNode":Nf(this)?"ConstructorTypeNode":qb(this)?"TypeQueryNode":O1(this)?"TypeLiteralNode":Fb(this)?"ArrayTypeNode":zb(this)?"TupleTypeNode":Vb(this)?"OptionalTypeNode":Wb(this)?"RestTypeNode":L1(this)?"UnionTypeNode":J1(this)?"IntersectionTypeNode":Gb(this)?"ConditionalTypeNode":Yb(this)?"InferTypeNode":j1(this)?"ParenthesizedTypeNode":Hb(this)?"ThisTypeNode":R1(this)?"TypeOperatorNode":Xb(this)?"IndexedAccessTypeNode":U1(this)?"MappedTypeNode":$b(this)?"LiteralTypeNode":M1(this)?"NamedTupleMember":Qb(this)?"ImportTypeNode":Ot(this.kind)}${this.flags?` (${Mt(this.flags)})`:""}`}},__debugKind:{get(){return Ot(this.kind)}},__debugNodeFlags:{get(){return Mt(this.flags)}},__debugModifierFlags:{get(){return $e(H2(this))}},__debugTransformFlags:{get(){return qn(this.transformFlags)}},__debugIsParseTreeNode:{get(){return gl(this)}},__debugEmitFlags:{get(){return $t(za(this))}},__debugGetText:{value(He){if(Ja(this))return"";let Qe=se.get(this);if(Qe===void 0){let st=mg(this),Ct=st&&hi(st);Qe=Ct?Od(Ct,st,He):"",se.set(this,Qe)}return Qe}}});_n=!0}e.enableDebugInfo=Fn;function zn(L){let se=L&7,fe=se===0?"in out":se===3?"[bivariant]":se===2?"in":se===1?"out":se===4?"[independent]":"";return L&8?fe+=" (unmeasurable)":L&16&&(fe+=" (unreliable)"),fe}e.formatVariance=zn;class Or{__debugToString(){var se;switch(this.kind){case 3:return((se=this.debugInfo)==null?void 0:se.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return yd(this.sources,this.targets||Pp(this.sources,()=>"any"),(fe,Te)=>`${fe.__debugTypeToString()} -> ${typeof Te=="string"?Te:Te.__debugTypeToString()}`).join(", ");case 2:return yd(this.sources,this.targets,(fe,Te)=>`${fe.__debugTypeToString()} -> ${Te().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +`).join(` + `)} +m2: ${this.mapper2.__debugToString().split(` +`).join(` + `)}`;default:return Oe(this)}}}e.DebugTypeMapper=Or;function Vn(L){return e.isDebugging?Object.setPrototypeOf(L,Or.prototype):L}e.attachDebugPrototypeIfDebug=Vn;function Ce(L){return console.log(yr(L))}e.printControlFlowGraph=Ce;function yr(L){let se=-1;function fe(u){return u.id||(u.id=se,se--),u.id}let Te;(u=>{u.lr="\u2500",u.ud="\u2502",u.dr="\u256D",u.dl="\u256E",u.ul="\u256F",u.ur="\u2570",u.udr="\u251C",u.udl="\u2524",u.dlr="\u252C",u.ulr="\u2534",u.udlr="\u256B"})(Te||(Te={}));let He;(u=>{u[u.None=0]="None",u[u.Up=1]="Up",u[u.Down=2]="Down",u[u.Left=4]="Left",u[u.Right=8]="Right",u[u.UpDown=3]="UpDown",u[u.LeftRight=12]="LeftRight",u[u.UpLeft=5]="UpLeft",u[u.UpRight=9]="UpRight",u[u.DownLeft=6]="DownLeft",u[u.DownRight=10]="DownRight",u[u.UpDownLeft=7]="UpDownLeft",u[u.UpDownRight=11]="UpDownRight",u[u.UpLeftRight=13]="UpLeftRight",u[u.DownLeftRight=14]="DownLeftRight",u[u.UpDownLeftRight=15]="UpDownLeftRight",u[u.NoChildren=16]="NoChildren"})(He||(He={}));let Qe=2032,st=882,Ct=Object.create(null),Tt=[],lt=[],Mr=Se(L,new Set);for(let u of Tt)u.text=rt(u.flowNode,u.circular),me(u);let gr=Ve(Mr),Nn=Ze(gr);return Ye(Mr,0),on();function Wn(u){return!!(u.flags&128)}function wi(u){return!!(u.flags&12)&&!!u.antecedent}function U(u){return!!(u.flags&Qe)}function K(u){return!!(u.flags&st)}function Z(u){let Ie=[];for(let Me of u.edges)Me.source===u&&Ie.push(Me.target);return Ie}function xe(u){let Ie=[];for(let Me of u.edges)Me.target===u&&Ie.push(Me.source);return Ie}function Se(u,Ie){let Me=fe(u),B=Ct[Me];if(B&&Ie.has(u))return B.circular=!0,B={id:-1,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Tt.push(B),B;if(Ie.add(u),!B)if(Ct[Me]=B={id:Me,flowNode:u,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Tt.push(B),wi(u))for(let Be of u.antecedent)we(B,Be,Ie);else U(u)&&we(B,u.antecedent,Ie);return Ie.delete(u),B}function we(u,Ie,Me){let B=Se(Ie,Me),Be={source:u,target:B};lt.push(Be),u.edges.push(Be),B.edges.push(Be)}function me(u){if(u.level!==-1)return u.level;let Ie=0;for(let Me of xe(u))Ie=Math.max(Ie,me(Me)+1);return u.level=Ie}function Ve(u){let Ie=0;for(let Me of Z(u))Ie=Math.max(Ie,Ve(Me));return Ie+1}function Ze(u){let Ie=M(Array(u),0);for(let Me of Tt)Ie[Me.level]=Math.max(Ie[Me.level],Me.text.length);return Ie}function Ye(u,Ie){if(u.lane===-1){u.lane=Ie,u.endLane=Ie;let Me=Z(u);for(let B=0;B0&&Ie++;let Be=Me[B];Ye(Be,Ie),Be.endLane>u.endLane&&(Ie=Be.endLane)}u.endLane=Ie}}function Ee(u){if(u&2)return"Start";if(u&4)return"Branch";if(u&8)return"Loop";if(u&16)return"Assignment";if(u&32)return"True";if(u&64)return"False";if(u&128)return"SwitchClause";if(u&256)return"ArrayMutation";if(u&512)return"Call";if(u&1024)return"ReduceLabel";if(u&1)return"Unreachable";throw new Error}function gn(u){let Ie=hi(u);return Od(Ie,u,!1)}function rt(u,Ie){let Me=Ee(u.flags);if(Ie&&(Me=`${Me}#${fe(u)}`),Wn(u)){let B=[],{switchStatement:Be,clauseStart:nn,clauseEnd:ze}=u.node;for(let Xe=nn;Xeze.lane)+1,Me=M(Array(Ie),""),B=Nn.map(()=>Array(Ie)),Be=Nn.map(()=>M(Array(Ie),0));for(let ze of Tt){B[ze.level][ze.lane]=ze;let Xe=Z(ze);for(let wt=0;wt0&&(Ft|=1),wt0&&(Ft|=1),wt0?Be[ze-1][Xe]:0,wt=Xe>0?Be[ze][Xe-1]:0,Pt=Be[ze][Xe];Pt||(Dt&8&&(Pt|=12),wt&2&&(Pt|=3),Be[ze][Xe]=Pt)}for(let ze=0;ze0?u.repeat(Ie):"";let Me="";for(;Me.length{},Oy=()=>{},ll,Ae=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.DeferKeyword=166]="DeferKeyword",e[e.QualifiedName=167]="QualifiedName",e[e.ComputedPropertyName=168]="ComputedPropertyName",e[e.TypeParameter=169]="TypeParameter",e[e.Parameter=170]="Parameter",e[e.Decorator=171]="Decorator",e[e.PropertySignature=172]="PropertySignature",e[e.PropertyDeclaration=173]="PropertyDeclaration",e[e.MethodSignature=174]="MethodSignature",e[e.MethodDeclaration=175]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=176]="ClassStaticBlockDeclaration",e[e.Constructor=177]="Constructor",e[e.GetAccessor=178]="GetAccessor",e[e.SetAccessor=179]="SetAccessor",e[e.CallSignature=180]="CallSignature",e[e.ConstructSignature=181]="ConstructSignature",e[e.IndexSignature=182]="IndexSignature",e[e.TypePredicate=183]="TypePredicate",e[e.TypeReference=184]="TypeReference",e[e.FunctionType=185]="FunctionType",e[e.ConstructorType=186]="ConstructorType",e[e.TypeQuery=187]="TypeQuery",e[e.TypeLiteral=188]="TypeLiteral",e[e.ArrayType=189]="ArrayType",e[e.TupleType=190]="TupleType",e[e.OptionalType=191]="OptionalType",e[e.RestType=192]="RestType",e[e.UnionType=193]="UnionType",e[e.IntersectionType=194]="IntersectionType",e[e.ConditionalType=195]="ConditionalType",e[e.InferType=196]="InferType",e[e.ParenthesizedType=197]="ParenthesizedType",e[e.ThisType=198]="ThisType",e[e.TypeOperator=199]="TypeOperator",e[e.IndexedAccessType=200]="IndexedAccessType",e[e.MappedType=201]="MappedType",e[e.LiteralType=202]="LiteralType",e[e.NamedTupleMember=203]="NamedTupleMember",e[e.TemplateLiteralType=204]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=205]="TemplateLiteralTypeSpan",e[e.ImportType=206]="ImportType",e[e.ObjectBindingPattern=207]="ObjectBindingPattern",e[e.ArrayBindingPattern=208]="ArrayBindingPattern",e[e.BindingElement=209]="BindingElement",e[e.ArrayLiteralExpression=210]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=211]="ObjectLiteralExpression",e[e.PropertyAccessExpression=212]="PropertyAccessExpression",e[e.ElementAccessExpression=213]="ElementAccessExpression",e[e.CallExpression=214]="CallExpression",e[e.NewExpression=215]="NewExpression",e[e.TaggedTemplateExpression=216]="TaggedTemplateExpression",e[e.TypeAssertionExpression=217]="TypeAssertionExpression",e[e.ParenthesizedExpression=218]="ParenthesizedExpression",e[e.FunctionExpression=219]="FunctionExpression",e[e.ArrowFunction=220]="ArrowFunction",e[e.DeleteExpression=221]="DeleteExpression",e[e.TypeOfExpression=222]="TypeOfExpression",e[e.VoidExpression=223]="VoidExpression",e[e.AwaitExpression=224]="AwaitExpression",e[e.PrefixUnaryExpression=225]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=226]="PostfixUnaryExpression",e[e.BinaryExpression=227]="BinaryExpression",e[e.ConditionalExpression=228]="ConditionalExpression",e[e.TemplateExpression=229]="TemplateExpression",e[e.YieldExpression=230]="YieldExpression",e[e.SpreadElement=231]="SpreadElement",e[e.ClassExpression=232]="ClassExpression",e[e.OmittedExpression=233]="OmittedExpression",e[e.ExpressionWithTypeArguments=234]="ExpressionWithTypeArguments",e[e.AsExpression=235]="AsExpression",e[e.NonNullExpression=236]="NonNullExpression",e[e.MetaProperty=237]="MetaProperty",e[e.SyntheticExpression=238]="SyntheticExpression",e[e.SatisfiesExpression=239]="SatisfiesExpression",e[e.TemplateSpan=240]="TemplateSpan",e[e.SemicolonClassElement=241]="SemicolonClassElement",e[e.Block=242]="Block",e[e.EmptyStatement=243]="EmptyStatement",e[e.VariableStatement=244]="VariableStatement",e[e.ExpressionStatement=245]="ExpressionStatement",e[e.IfStatement=246]="IfStatement",e[e.DoStatement=247]="DoStatement",e[e.WhileStatement=248]="WhileStatement",e[e.ForStatement=249]="ForStatement",e[e.ForInStatement=250]="ForInStatement",e[e.ForOfStatement=251]="ForOfStatement",e[e.ContinueStatement=252]="ContinueStatement",e[e.BreakStatement=253]="BreakStatement",e[e.ReturnStatement=254]="ReturnStatement",e[e.WithStatement=255]="WithStatement",e[e.SwitchStatement=256]="SwitchStatement",e[e.LabeledStatement=257]="LabeledStatement",e[e.ThrowStatement=258]="ThrowStatement",e[e.TryStatement=259]="TryStatement",e[e.DebuggerStatement=260]="DebuggerStatement",e[e.VariableDeclaration=261]="VariableDeclaration",e[e.VariableDeclarationList=262]="VariableDeclarationList",e[e.FunctionDeclaration=263]="FunctionDeclaration",e[e.ClassDeclaration=264]="ClassDeclaration",e[e.InterfaceDeclaration=265]="InterfaceDeclaration",e[e.TypeAliasDeclaration=266]="TypeAliasDeclaration",e[e.EnumDeclaration=267]="EnumDeclaration",e[e.ModuleDeclaration=268]="ModuleDeclaration",e[e.ModuleBlock=269]="ModuleBlock",e[e.CaseBlock=270]="CaseBlock",e[e.NamespaceExportDeclaration=271]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=272]="ImportEqualsDeclaration",e[e.ImportDeclaration=273]="ImportDeclaration",e[e.ImportClause=274]="ImportClause",e[e.NamespaceImport=275]="NamespaceImport",e[e.NamedImports=276]="NamedImports",e[e.ImportSpecifier=277]="ImportSpecifier",e[e.ExportAssignment=278]="ExportAssignment",e[e.ExportDeclaration=279]="ExportDeclaration",e[e.NamedExports=280]="NamedExports",e[e.NamespaceExport=281]="NamespaceExport",e[e.ExportSpecifier=282]="ExportSpecifier",e[e.MissingDeclaration=283]="MissingDeclaration",e[e.ExternalModuleReference=284]="ExternalModuleReference",e[e.JsxElement=285]="JsxElement",e[e.JsxSelfClosingElement=286]="JsxSelfClosingElement",e[e.JsxOpeningElement=287]="JsxOpeningElement",e[e.JsxClosingElement=288]="JsxClosingElement",e[e.JsxFragment=289]="JsxFragment",e[e.JsxOpeningFragment=290]="JsxOpeningFragment",e[e.JsxClosingFragment=291]="JsxClosingFragment",e[e.JsxAttribute=292]="JsxAttribute",e[e.JsxAttributes=293]="JsxAttributes",e[e.JsxSpreadAttribute=294]="JsxSpreadAttribute",e[e.JsxExpression=295]="JsxExpression",e[e.JsxNamespacedName=296]="JsxNamespacedName",e[e.CaseClause=297]="CaseClause",e[e.DefaultClause=298]="DefaultClause",e[e.HeritageClause=299]="HeritageClause",e[e.CatchClause=300]="CatchClause",e[e.ImportAttributes=301]="ImportAttributes",e[e.ImportAttribute=302]="ImportAttribute",e[e.AssertClause=301]="AssertClause",e[e.AssertEntry=302]="AssertEntry",e[e.ImportTypeAssertionContainer=303]="ImportTypeAssertionContainer",e[e.PropertyAssignment=304]="PropertyAssignment",e[e.ShorthandPropertyAssignment=305]="ShorthandPropertyAssignment",e[e.SpreadAssignment=306]="SpreadAssignment",e[e.EnumMember=307]="EnumMember",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.JSDocTypeExpression=310]="JSDocTypeExpression",e[e.JSDocNameReference=311]="JSDocNameReference",e[e.JSDocMemberName=312]="JSDocMemberName",e[e.JSDocAllType=313]="JSDocAllType",e[e.JSDocUnknownType=314]="JSDocUnknownType",e[e.JSDocNullableType=315]="JSDocNullableType",e[e.JSDocNonNullableType=316]="JSDocNonNullableType",e[e.JSDocOptionalType=317]="JSDocOptionalType",e[e.JSDocFunctionType=318]="JSDocFunctionType",e[e.JSDocVariadicType=319]="JSDocVariadicType",e[e.JSDocNamepathType=320]="JSDocNamepathType",e[e.JSDoc=321]="JSDoc",e[e.JSDocComment=321]="JSDocComment",e[e.JSDocText=322]="JSDocText",e[e.JSDocTypeLiteral=323]="JSDocTypeLiteral",e[e.JSDocSignature=324]="JSDocSignature",e[e.JSDocLink=325]="JSDocLink",e[e.JSDocLinkCode=326]="JSDocLinkCode",e[e.JSDocLinkPlain=327]="JSDocLinkPlain",e[e.JSDocTag=328]="JSDocTag",e[e.JSDocAugmentsTag=329]="JSDocAugmentsTag",e[e.JSDocImplementsTag=330]="JSDocImplementsTag",e[e.JSDocAuthorTag=331]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=332]="JSDocDeprecatedTag",e[e.JSDocClassTag=333]="JSDocClassTag",e[e.JSDocPublicTag=334]="JSDocPublicTag",e[e.JSDocPrivateTag=335]="JSDocPrivateTag",e[e.JSDocProtectedTag=336]="JSDocProtectedTag",e[e.JSDocReadonlyTag=337]="JSDocReadonlyTag",e[e.JSDocOverrideTag=338]="JSDocOverrideTag",e[e.JSDocCallbackTag=339]="JSDocCallbackTag",e[e.JSDocOverloadTag=340]="JSDocOverloadTag",e[e.JSDocEnumTag=341]="JSDocEnumTag",e[e.JSDocParameterTag=342]="JSDocParameterTag",e[e.JSDocReturnTag=343]="JSDocReturnTag",e[e.JSDocThisTag=344]="JSDocThisTag",e[e.JSDocTypeTag=345]="JSDocTypeTag",e[e.JSDocTemplateTag=346]="JSDocTemplateTag",e[e.JSDocTypedefTag=347]="JSDocTypedefTag",e[e.JSDocSeeTag=348]="JSDocSeeTag",e[e.JSDocPropertyTag=349]="JSDocPropertyTag",e[e.JSDocThrowsTag=350]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=351]="JSDocSatisfiesTag",e[e.JSDocImportTag=352]="JSDocImportTag",e[e.SyntaxList=353]="SyntaxList",e[e.NotEmittedStatement=354]="NotEmittedStatement",e[e.NotEmittedTypeElement=355]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.SyntheticReferenceExpression=358]="SyntheticReferenceExpression",e[e.Count=359]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=166]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=183]="FirstTypeNode",e[e.LastTypeNode=206]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=166]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=244]="FirstStatement",e[e.LastStatement=260]="LastStatement",e[e.FirstNode=167]="FirstNode",e[e.FirstJSDocNode=310]="FirstJSDocNode",e[e.LastJSDocNode=352]="LastJSDocNode",e[e.FirstJSDocTagNode=328]="FirstJSDocTagNode",e[e.LastJSDocTagNode=352]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=166]="LastContextualKeyword",e))(Ae||{}),sn=(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))(sn||{}),Qp=(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))(Qp||{});var wm=(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))(wm||{});var Op=(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))(Op||{});var Kp=(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))(Kp||{});var km=(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))(km||{}),en=(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))(en||{}),Zp=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.SingleSignatureType=134217728]="SingleSignatureType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",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))(Zp||{});var Em=(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))(Em||{});var Pr=(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))(Pr||{}),g_=(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))(g_||{}),wl=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(wl||{});var Cn=(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))(Cn||{}),Am=(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))(Am||{}),Cm=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(Cm||{}),Dm=(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))(Dm||{});var $s={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};var Pm={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}},Ya=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))(Ya||{});var Xr="/",My="\\",vd="://",Ly=/\\/g;function Jy(e){return e===47||e===92}function jy(e,t){return e.length>t.length&&Dy(e,t)}function ef(e){return e.length>0&&Jy(e.charCodeAt(e.length-1))}function Td(e){return e>=97&&e<=122||e>=65&&e<=90}function Ry(e,t){let a=e.charCodeAt(t);if(a===58)return t+1;if(a===37&&e.charCodeAt(t+1)===51){let _=e.charCodeAt(t+2);if(_===97||_===65)return t+3}return-1}function Uy(e){if(!e)return 0;let t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;let _=e.indexOf(t===47?Xr:My,2);return _<0?e.length:_+1}if(Td(t)&&e.charCodeAt(1)===58){let _=e.charCodeAt(2);if(_===47||_===92)return 3;if(e.length===2)return 2}let a=e.indexOf(vd);if(a!==-1){let _=a+vd.length,f=e.indexOf(Xr,_);if(f!==-1){let h=e.slice(0,a),T=e.slice(_,f);if(h==="file"&&(T===""||T==="localhost")&&Td(e.charCodeAt(f+1))){let k=Ry(e,f+2);if(k!==-1){if(e.charCodeAt(k)===47)return~(k+1);if(k===e.length)return~k}}return~(f+1)}return~e.length}return 0}function o_(e){let t=Uy(e);return t<0?~t:t}function Nm(e,t,a){if(e=c_(e),o_(e)===e.length)return"";e=hl(e);let f=e.slice(Math.max(o_(e),e.lastIndexOf(Xr)+1)),h=t!==void 0&&a!==void 0?Im(f,t,a):void 0;return h?f.slice(0,f.length-h.length):f}function xd(e,t,a){if(ml(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){let _=e.slice(e.length-t.length);if(a(_,t))return _}}function By(e,t,a){if(typeof t=="string")return xd(e,t,a)||"";for(let _ of t){let f=xd(e,_,a);if(f)return f}return""}function Im(e,t,a){if(t)return By(hl(e),t,a?$p:ky);let _=Nm(e),f=_.lastIndexOf(".");return f>=0?_.substring(f):""}function c_(e){return e.includes("\\")?e.replace(Ly,Xr):e}function qy(e,...t){e&&(e=c_(e));for(let a of t)a&&(a=c_(a),!e||o_(a)!==0?e=a:e=Mm(e)+a);return e}function Fy(e,t){let a=o_(e);a===0&&t?(e=qy(t,e),a=o_(e)):e=c_(e);let _=Om(e);if(_!==void 0)return _.length>a?hl(_):_;let f=e.length,h=e.substring(0,a),T,k=a,c=k,W=k,y=a!==0;for(;kc&&(T??(T=e.substring(0,c-1)),c=k);let E=e.indexOf(Xr,k+1);E===-1&&(E=f);let D=E-c;if(D===1&&e.charCodeAt(k)===46)T??(T=e.substring(0,W));else if(D===2&&e.charCodeAt(k)===46&&e.charCodeAt(k+1)===46)if(!y)T!==void 0?T+=T.length===a?"..":"/..":W=k+2;else if(T===void 0)W-2>=0?T=e.substring(0,Math.max(a,e.lastIndexOf(Xr,W-2))):T=e.substring(0,W);else{let R=T.lastIndexOf(Xr);R!==-1?T=T.substring(0,Math.max(a,R)):T=h,T.length===a&&(y=a!==0)}else T!==void 0?(T.length!==a&&(T+=Xr),y=!0,T+=e.substring(c,E)):(y=!0,W=E);k=E+1}return T??(f>a?hl(e):e)}function zy(e){e=c_(e);let t=Om(e);return t!==void 0?t:(t=Fy(e,""),t&&ef(e)?Mm(t):t)}function Om(e){if(!Sd.test(e))return e;let t=e.replace(/\/\.\//g,"/");if(t.startsWith("./")&&(t=t.slice(2)),t!==e&&(e=t,!Sd.test(e)))return e}function hl(e){return ef(e)?e.substr(0,e.length-1):e}function Mm(e){return ef(e)?e:e+Xr}var Sd=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function r(e,t,a,_,f,h,T){return{code:e,category:t,key:a,message:_,reportsUnnecessary:f,elidedInCompatabilityPyramid:h,reportsDeprecated:T}}var A={Unterminated_string_literal:r(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:r(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:r(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:r(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:r(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:r(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:r(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:r(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:r(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:r(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:r(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:r(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:r(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:r(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:r(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:r(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:r(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:r(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:r(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:r(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:r(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:r(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:r(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:r(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:r(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:r(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:r(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:r(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:r(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:r(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:r(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:r(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:r(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:r(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:r(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:r(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:r(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:r(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:r(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:r(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:r(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:r(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:r(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:r(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:r(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:r(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:r(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:r(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:r(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:r(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:r(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:r(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:r(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:r(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:r(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:r(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:r(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:r(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:r(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:r(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:r(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:r(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:r(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:r(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:r(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:r(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:r(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:r(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:r(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:r(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:r(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:r(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:r(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:r(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:r(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:r(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:r(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:r(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:r(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:r(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:r(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:r(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:r(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:r(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:r(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:r(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:r(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:r(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:r(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:r(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:r(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:r(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:r(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:r(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:r(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax:r(1286,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_1286","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:r(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:r(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:r(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:r(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:r(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:r(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 }'."),ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve:r(1293,1,"ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293","ECMAScript module syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled:r(1294,1,"This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled_1294","This syntax is not allowed when 'erasableSyntaxOnly' is enabled."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjust_the_type_field_in_the_nearest_package_json_to_make_this_file_an_ECMAScript_module_or_adjust_your_verbatimModuleSyntax_module_and_moduleResolution_settings_in_TypeScript:r(1295,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjus_1295","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'. Adjust the 'type' field in the nearest 'package.json' to make this file an ECMAScript module, or adjust your 'verbatimModuleSyntax', 'module', and 'moduleResolution' settings in TypeScript."),with_statements_are_not_allowed_in_an_async_function_block:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_or_nodenext:r(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', 'node18', 'node20', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_node20_nodenext_or_preserve:r(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'."),Argument_of_dynamic_import_cannot_be_spread_element:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_or_nodenext:r(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', 'node18', 'node20', or 'nodenext'."),A_label_is_not_allowed_here:r(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:r(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:r(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:r(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:r(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:r(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:r(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:r(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:r(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:r(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:r(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:r(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:r(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:r(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:r(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:r(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', '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:r(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:r(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:r(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:r(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:r(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:r(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:r(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:r(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:r(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:r(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:r(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:r(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:r(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:r(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:r(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:r(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:r(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:r(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:r(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:r(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:r(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:r(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:r(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:r(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:r(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:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:r(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:r(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:r(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:r(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:r(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:r(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:r(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:r(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:r(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:r(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:r(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:r(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:r(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:r(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:r(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:r(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:r(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:r(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:r(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:r(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:r(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:r(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:r(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:r(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:r(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:r(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:r(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:r(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:r(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:r(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:r(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:r(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:r(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:r(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:r(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:r(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:r(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:r(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:r(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:r(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:r(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:r(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),using_declarations_are_not_allowed_in_ambient_contexts:r(1545,1,"using_declarations_are_not_allowed_in_ambient_contexts_1545","'using' declarations are not allowed in ambient contexts."),await_using_declarations_are_not_allowed_in_ambient_contexts:r(1546,1,"await_using_declarations_are_not_allowed_in_ambient_contexts_1546","'await using' declarations are not allowed in ambient contexts."),The_types_of_0_are_incompatible_between_these_types:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:r(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:r(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:r(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:r(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:r(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:r(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:r(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:r(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:r(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:r(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:r(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:r(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:r(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:r(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:r(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:r(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:r(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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}'."),Call_target_does_not_contain_any_signatures:r(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:r(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:r(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:r(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:r(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:r(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:r(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:r(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:r(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:r(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:r(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:r(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:r(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:r(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:r(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:r(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:r(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:r(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:r(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:r(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:r(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:r(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:r(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:r(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:r(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:r(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:r(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:r(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:r(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:r(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:r(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:r(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:r(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:r(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:r(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:r(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_and_above_with_module_0:r(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 and above with module {0}."),Cannot_find_lib_definition_for_0:r(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:r(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:r(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:r(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:r(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:r(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:r(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:r(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:r(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:r(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:r(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:r(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:r(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:r(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_or_class_static_initialization_blocks:r(2815,1,"arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815","'arguments' cannot be referenced in property initializers or class static initialization blocks."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:r(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:r(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:r(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:r(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:r(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_node18_node20_nodenext_or_preserve:r(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:r(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_node18_node20_nodenext_or_preserve:r(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:r(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', 'node18', 'node20', '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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(2871,1,"This_expression_is_always_nullish_2871","This expression is always nullish."),This_kind_of_expression_is_always_truthy:r(2872,1,"This_kind_of_expression_is_always_truthy_2872","This kind of expression is always truthy."),This_kind_of_expression_is_always_falsy:r(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:r(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:r(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:r(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:r(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:r(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:r(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_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert:r(2880,1,"Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880","Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."),This_expression_is_never_nullish:r(2881,1,"This_expression_is_never_nullish_2881","This expression is never nullish."),Import_declaration_0_is_using_private_name_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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."),This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic:r(4127,1,"This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic_4127","This member cannot have an 'override' modifier because its name is dynamic."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic:r(4128,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic_4128","This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic."),The_current_host_does_not_support_the_0_option:r(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:r(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:r(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:r(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:r(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:r(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:r(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:r(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:r(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:r(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:r(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:r(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:r(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:r(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:r(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:r(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:r(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:r(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:r(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:r(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:r(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:r(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:r(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:r(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:r(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:r(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:r(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:r(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:r(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:r(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:r(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:r(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:r(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:r(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:r(6024,3,"options_6024","options"),file:r(6025,3,"file_6025","file"),Examples_Colon_0:r(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:r(6027,3,"Options_Colon_6027","Options:"),Version_0:r(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:r(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:r(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:r(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:r(6034,3,"KIND_6034","KIND"),FILE:r(6035,3,"FILE_6035","FILE"),VERSION:r(6036,3,"VERSION_6036","VERSION"),LOCATION:r(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:r(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:r(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:r(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:r(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:r(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:r(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:r(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:r(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:r(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:r(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:r(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:r(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:r(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:r(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:r(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:r(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:r(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:r(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:r(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:r(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:r(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:r(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:r(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:r(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:r(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:r(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:r(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:r(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:r(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:r(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:r(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:r(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:r(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:r(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:r(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:r(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:r(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:r(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:r(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:r(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:r(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:r(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:r(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:r(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:r(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:r(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:r(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:r(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:r(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:r(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:r(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:r(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:r(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:r(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:r(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:r(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:r(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:r(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:r(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:r(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:r(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:r(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:r(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:r(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:r(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:r(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:r(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:r(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:r(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:r(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:r(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:r(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:r(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:r(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:r(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:r(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:r(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:r(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:r(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:r(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:r(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:r(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:r(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:r(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:r(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:r(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:r(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:r(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:r(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:r(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:r(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:r(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:r(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:r(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:r(6244,3,"Modules_6244","Modules"),File_Management:r(6245,3,"File_Management_6245","File Management"),Emit:r(6246,3,"Emit_6246","Emit"),JavaScript_Support:r(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:r(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:r(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:r(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:r(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:r(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:r(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:r(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:r(6255,3,"Projects_6255","Projects"),Output_Formatting:r(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:r(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:r(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:r(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:r(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:r(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),File_Layout:r(6284,3,"File_Layout_6284","File Layout"),Environment_Settings:r(6285,3,"Environment_Settings_6285","Environment Settings"),See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule:r(6286,3,"See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286","See also https://aka.ms/tsconfig/module"),For_nodejs_Colon:r(6287,3,"For_nodejs_Colon_6287","For nodejs:"),and_npm_install_D_types_Slashnode:r(6290,3,"and_npm_install_D_types_Slashnode_6290","and npm install -D @types/node"),Other_Outputs:r(6291,3,"Other_Outputs_6291","Other Outputs"),Stricter_Typechecking_Options:r(6292,3,"Stricter_Typechecking_Options_6292","Stricter Typechecking Options"),Style_Options:r(6293,3,"Style_Options_6293","Style Options"),Recommended_Options:r(6294,3,"Recommended_Options_6294","Recommended Options"),Enable_project_compilation:r(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:r(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:r(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:r(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:r(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:r(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:r(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:r(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:r(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:r(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:r(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:r(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:r(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:r(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:r(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:r(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:r(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:r(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:r(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:r(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:r(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:r(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:r(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:r(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:r(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:r(6720,3,"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720","Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."),Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript:r(6721,3,"Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721","Do not allow runtime constructs that are not part of ECMAScript."),Default_catch_clause_variables_as_unknown_instead_of_any:r(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:r(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:r(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:r(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2:r(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}`."),Enable_lib_replacement:r(6808,3,"Enable_lib_replacement_6808","Enable lib replacement."),one_of_Colon:r(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:r(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:r(6902,3,"type_Colon_6902","type:"),default_Colon:r(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:r(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:r(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:r(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:r(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:r(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:r(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:r(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:r(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:r(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:r(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:r(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:r(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:r(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:r(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:r(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:r(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:r(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:r(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:r(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:r(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:r(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:r(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:r(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:r(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:r(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:r(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:r(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:r(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:r(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:r(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:r(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:r(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:r(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:r(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:r(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:r(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:r(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:r(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:r(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:r(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:r(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:r(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:r(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:r(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:r(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:r(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:r(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:r(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:r(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:r(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:r(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:r(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:r(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:r(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:r(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:r(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:r(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:r(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:r(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:r(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:r(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:r(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:r(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:r(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:r(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:r(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:r(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:r(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:r(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:r(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:r(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:r(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:r(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:r(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:r(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:r(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:r(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:r(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:r(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:r(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:r(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:r(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:r(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:r(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:r(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:r(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:r(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:r(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:r(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:r(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:r(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:r(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:r(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:r(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:r(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:r(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:r(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:r(95005,3,"Extract_function_95005","Extract function"),Extract_constant:r(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:r(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:r(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:r(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:r(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:r(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:r(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:r(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:r(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:r(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:r(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:r(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:r(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:r(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:r(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:r(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:r(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:r(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:r(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:r(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:r(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:r(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:r(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:r(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:r(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:r(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:r(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:r(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:r(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:r(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:r(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:r(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:r(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:r(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:r(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:r(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:r(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:r(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:r(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:r(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:r(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:r(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:r(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:r(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:r(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:r(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:r(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:r(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:r(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:r(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:r(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:r(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:r(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:r(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:r(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:r(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:r(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:r(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:r(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:r(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:r(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:r(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:r(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:r(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:r(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:r(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:r(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:r(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:r(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:r(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:r(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:r(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:r(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:r(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:r(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:r(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:r(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:r(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:r(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:r(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:r(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:r(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:r(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:r(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:r(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:r(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:r(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:r(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:r(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:r(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:r(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:r(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:r(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:r(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:r(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:r(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:r(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:r(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:r(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:r(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:r(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:r(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:r(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:r(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:r(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:r(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:r(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:r(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:r(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:r(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:r(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:r(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:r(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:r(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:r(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:r(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:r(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:r(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:r(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:r(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:r(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:r(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:r(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:r(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:r(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:r(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:r(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:r(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:r(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:r(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:r(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:r(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:r(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:r(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:r(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:r(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:r(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:r(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:r(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:r(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:r(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:r(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:r(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:r(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:r(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:r(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:r(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:r(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:r(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:r(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:r(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:r(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:r(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:r(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:r(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:r(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:r(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:r(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:r(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:r(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:r(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:r(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:r(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:r(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:r(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:r(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:r(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:r(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:r(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:r(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:r(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:r(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:r(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:r(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:r(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:r(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:r(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:r(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:r(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:r(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:r(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:r(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:r(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:r(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:r(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:r(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),Add_resolution_mode_import_attribute:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(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:r(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:r(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:r(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:r(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:r(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:r(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:r(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:r(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:r(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:r(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:r(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'."),Default_imports_are_not_allowed_in_a_deferred_import:r(18058,1,"Default_imports_are_not_allowed_in_a_deferred_import_18058","Default imports are not allowed in a deferred import."),Named_imports_are_not_allowed_in_a_deferred_import:r(18059,1,"Named_imports_are_not_allowed_in_a_deferred_import_18059","Named imports are not allowed in a deferred import."),Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve:r(18060,1,"Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060","Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'."),_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer:r(18061,1,"_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061","'{0}' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or 'defer'?")};function St(e){return e>=80}function Vy(e){return e===32||St(e)}var tf={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,defer:166,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},Wy=new Map(Object.entries(tf)),Lm=new Map(Object.entries({...tf,"{":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})),Jm=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),Gy=new Map([[1,$s.RegularExpressionFlagsHasIndices],[16,$s.RegularExpressionFlagsDotAll],[32,$s.RegularExpressionFlagsUnicode],[64,$s.RegularExpressionFlagsUnicodeSets],[128,$s.RegularExpressionFlagsSticky]]),Yy=[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],Hy=[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],Xy=[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],$y=[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],Qy=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Ky=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,Zy=/@(?:see|link)/i;function yl(e,t){if(e=2?yl(e,Xy):yl(e,Yy)}function tg(e,t){return t>=2?yl(e,$y):yl(e,Hy)}function jm(e){let t=[];return e.forEach((a,_)=>{t[a]=_}),t}var ng=jm(Lm);function nt(e){return ng[e]}function Rm(e){return Lm.get(e)}var t3=jm(Jm);function wd(e){return Jm.get(e)}function Um(e){let t=[],a=0,_=0;for(;a127&&kn(f)&&(t.push(_),_=a);break}}return t.push(_),t}function rg(e,t,a,_,f){(t<0||t>=e.length)&&(f?t=t<0?0:t>=e.length?e.length-1:t:q.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${_!==void 0?ly(e,Um(_)):"unknown"}`));let h=e[t]+a;return f?h>e[t+1]?e[t+1]:typeof _=="string"&&h>_.length?_.length:h:(t=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function kn(e){return e===10||e===13||e===8232||e===8233}function fi(e){return e>=48&&e<=57}function vp(e){return fi(e)||e>=65&&e<=70||e>=97&&e<=102}function nf(e){return e>=65&&e<=90||e>=97&&e<=122}function qm(e){return nf(e)||fi(e)||e===95}function Tp(e){return e>=48&&e<=55}function Cr(e,t,a,_,f){if(d_(t))return t;let h=!1;for(;;){let T=e.charCodeAt(t);switch(T){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,a)return t;h=!!f;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(_)break;if(e.charCodeAt(t+1)===47){for(t+=2;t127&&qa(T)){t++;continue}break}return t}}var ul=7;function $i(e,t){if(q.assert(t>=0),t===0||kn(e.charCodeAt(t-1))){let a=e.charCodeAt(t);if(t+ul=0&&a127&&qa(R)){G&&kn(R)&&(y=!0),a++;continue}break e}}return G&&(D=f(k,c,W,y,h,D)),D}function Vm(e,t,a,_){return kl(!1,e,t,!1,a,_)}function Wm(e,t,a,_){return kl(!1,e,t,!0,a,_)}function sg(e,t,a,_,f){return kl(!0,e,t,!1,a,_,f)}function _g(e,t,a,_,f){return kl(!0,e,t,!0,a,_,f)}function Gm(e,t,a,_,f,h=[]){return h.push({kind:a,pos:e,end:t,hasTrailingNewLine:_}),h}function Lp(e,t){return sg(e,t,Gm,void 0,void 0)}function og(e,t){return _g(e,t,Gm,void 0,void 0)}function af(e){let t=rf.exec(e);if(t)return t[0]}function Zn(e,t){return nf(e)||e===36||e===95||e>127&&eg(e,t)}function Ar(e,t,a){return qm(e)||e===36||(a===1?e===45||e===58:!1)||e>127&&tg(e,t)}function cg(e,t,a){let _=Qi(e,0);if(!Zn(_,t))return!1;for(let f=Vt(_);fy,getStartPos:()=>y,getTokenEnd:()=>c,getTextPos:()=>c,getToken:()=>E,getTokenStart:()=>G,getTokenPos:()=>G,getTokenText:()=>k.substring(G,c),getTokenValue:()=>D,hasUnicodeEscape:()=>(R&1024)!==0,hasExtendedUnicodeEscape:()=>(R&8)!==0,hasPrecedingLineBreak:()=>(R&1)!==0,hasPrecedingJSDocComment:()=>(R&2)!==0,hasPrecedingJSDocLeadingAsterisks:()=>(R&32768)!==0,isIdentifier:()=>E===80||E>118,isReservedWord:()=>E>=83&&E<=118,isUnterminated:()=>(R&4)!==0,getCommentDirectives:()=>ue,getNumericLiteralFlags:()=>R&25584,getTokenFlags:()=>R,reScanGreaterToken:ct,reScanAsteriskEqualsToken:ar,reScanSlashToken:dt,reScanTemplateToken:qt,reScanTemplateHeadOrNoSubstitutionTemplate:tn,scanJsxIdentifier:Or,scanJsxAttributeValue:Vn,reScanJsxAttributeValue:Ce,reScanJsxToken:sr,reScanLessThanToken:mr,reScanHashToken:hr,reScanQuestionToken:Fn,reScanInvalidIdentifier:Bt,scanJsxToken:zn,scanJsDocToken:L,scanJSDocCommentTextToken:yr,scan:ot,getText:Qe,clearCommentDirectives:st,setText:Ct,setScriptTarget:lt,setLanguageVariant:Mr,setScriptKind:gr,setJSDocParsingMode:Nn,setOnError:Tt,resetTokenState:Wn,setTextPos:Wn,setSkipJsDocLeadingAsterisks:wi,tryScan:He,lookAhead:Te,scanRange:fe};return q.isDebugging&&Object.defineProperty(O,"__debugShowCurrentPositionInText",{get:()=>{let U=O.getText();return U.slice(0,O.getTokenFullStart())+"\u2551"+U.slice(O.getTokenFullStart())}}),O;function ae(U){return Qi(k,U)}function Oe(U){return U>=0&&U=0&&U=65&&me<=70)me+=32;else if(!(me>=48&&me<=57||me>=97&&me<=102))break;xe.push(me),c++,we=!1}return xe.length=W){Z+=k.substring(xe,c),R|=4,Y(A.Unterminated_string_literal);break}let Se=V(c);if(Se===K){Z+=k.substring(xe,c),c++;break}if(Se===92&&!U){Z+=k.substring(xe,c),Z+=Ot(3),xe=c;continue}if((Se===10||Se===13)&&!U){Z+=k.substring(xe,c),R|=4,Y(A.Unterminated_string_literal);break}c++}return Z}function Ir(U){let K=V(c)===96;c++;let Z=c,xe="",Se;for(;;){if(c>=W){xe+=k.substring(Z,c),R|=4,Y(A.Unterminated_template_literal),Se=K?15:18;break}let we=V(c);if(we===96){xe+=k.substring(Z,c),c++,Se=K?15:18;break}if(we===36&&c+1=W)return Y(A.Unexpected_end_of_text),"";let Z=V(c);switch(c++,Z){case 48:if(c>=W||!fi(V(c)))return"\0";case 49:case 50:case 51:c=55296&&xe<=56319&&c+6=56320&&Ve<=57343)return c=me,Se+String.fromCharCode(Ve)}return Se;case 120:for(;c1114111&&(U&&Y(A.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,Z,c-Z),we=!0),c>=W?(U&&Y(A.Unexpected_end_of_text),we=!0):V(c)===125?c++:(U&&Y(A.Unterminated_Unicode_escape_sequence),we=!0),we?(R|=2048,k.substring(K,c)):(R|=8,kd(Se))}function Pn(){if(c+5=0&&Ar(Z,e)){U+=Bn(!0),K=c;continue}if(Z=Pn(),!(Z>=0&&Ar(Z,e)))break;R|=1024,U+=k.substring(K,c),U+=kd(Z),c+=6,K=c}else break}return U+=k.substring(K,c),U}function $e(){let U=D.length;if(U>=2&&U<=12){let K=D.charCodeAt(0);if(K>=97&&K<=122){let Z=Wy.get(D);if(Z!==void 0)return E=Z}}return E=80}function qn(U){let K="",Z=!1,xe=!1;for(;;){let Se=V(c);if(Se===95){R|=512,Z?(Z=!1,xe=!0):Y(xe?A.Multiple_consecutive_numeric_separators_are_not_permitted:A.Numeric_separators_are_not_allowed_here,c,1),c++;continue}if(Z=!0,!fi(Se)||Se-48>=U)break;K+=k[c],c++,xe=!1}return V(c-1)===95&&Y(A.Numeric_separators_are_not_allowed_here,c-1,1),K}function $t(){return V(c)===110?(D+="n",R&384&&(D=vb(D)+"n"),c++,10):(D=""+(R&128?parseInt(D.slice(2),2):R&256?parseInt(D.slice(2),8):+D),9)}function ot(){for(y=c,R=0;;){if(G=c,c>=W)return E=1;let U=ae(c);if(c===0&&U===35&&Fm(k,c)){if(c=zm(k,c),t)continue;return E=6}switch(U){case 10:case 13:if(R|=1,t){c++;continue}else return U===13&&c+1=0&&Zn(K,e))return D=Bn(!0)+ht(),E=$e();let Z=Pn();return Z>=0&&Zn(Z,e)?(c+=6,R|=1024,D=String.fromCharCode(Z)+ht(),E=$e()):(Y(A.Invalid_character),c++,E=0);case 35:if(c!==0&&k[c+1]==="!")return Y(A.can_only_be_used_at_the_start_of_a_file,c,2),c++,E=0;let xe=ae(c+1);if(xe===92){c++;let me=Mt();if(me>=0&&Zn(me,e))return D="#"+Bn(!0)+ht(),E=81;let Ve=Pn();if(Ve>=0&&Zn(Ve,e))return c+=6,R|=1024,D="#"+String.fromCharCode(Ve)+ht(),E=81;c--}return Zn(xe,e)?(c++,Lt(xe,e)):(D="#",Y(A.Invalid_character,c++,Vt(U))),E=81;case 65533:return Y(A.File_appears_to_be_binary,0,0),c=W,E=8;default:let Se=Lt(U,e);if(Se)return E=Se;if(n_(U)){c+=Vt(U);continue}else if(kn(U)){R|=1,c+=Vt(U);continue}let we=Vt(U);return Y(A.Invalid_character,c,we),c+=we,E=0}}}function at(){switch(de){case 0:return!0;case 1:return!1}return he!==3&&he!==4?!0:de===3?!1:Zy.test(k.slice(y,c))}function Bt(){q.assert(E===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),c=G=y,R=0;let U=ae(c),K=Lt(U,99);return K?E=K:(c+=Vt(U),E)}function Lt(U,K){let Z=U;if(Zn(Z,K)){for(c+=Vt(Z);c=W)return E=1;let K=V(c);if(K===60)return V(c+1)===47?(c+=2,E=31):(c++,E=30);if(K===123)return c++,E=19;let Z=0;for(;c0)break;qa(K)||(Z=c)}c++}return D=k.substring(y,c),Z===-1?13:12}function Or(){if(St(E)){for(;c=W)return E=1;for(let K=V(c);c=0&&n_(V(c-1))&&!(c+1=W)return E=1;let U=ae(c);switch(c+=Vt(U),U){case 9:case 11:case 12:case 32:for(;c=0&&Zn(K,e))return D=Bn(!0)+ht(),E=$e();let Z=Pn();return Z>=0&&Zn(Z,e)?(c+=6,R|=1024,D=String.fromCharCode(Z)+ht(),E=$e()):(c++,E=0)}if(Zn(U,e)){let K=U;for(;c=0),c=U,y=U,G=U,E=0,D=void 0,R=0}function wi(U){be+=U?1:-1}}function Qi(e,t){return e.codePointAt(t)}function Vt(e){return e>=65536?2:e===-1?0:1}function lg(e){if(q.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,a=(e-65536)%1024+56320;return String.fromCharCode(t,a)}var ug=String.fromCodePoint?e=>String.fromCodePoint(e):lg;function kd(e){return ug(e)}var Ed=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),Ad=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"]),Cd=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"]),Ra={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};Ra.Script_Extensions=Ra.Script;function kr(e){return e.start+e.length}function pg(e){return e.length===0}function _f(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function fg(e,t){return _f(e,t-e)}function Qs(e){return _f(e.span.start,e.newLength)}function dg(e){return pg(e.span)&&e.newLength===0}function Ym(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}var n3=Ym(_f(0,0),0);function of(e,t){for(;e;){let a=t(e);if(a==="quit")return;if(a)return e;e=e.parent}}function gl(e){return(e.flags&16)===0}function mg(e,t){if(e===void 0||gl(e))return e;for(e=e.original;e;){if(gl(e))return!t||t(e)?e:void 0;e=e.original}}function La(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function l_(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function An(e){return l_(e.escapedText)}function cf(e){let t=Rm(e.escapedText);return t?Sy(t,di):void 0}function Jp(e){return e.valueDeclaration&&jg(e.valueDeclaration)?An(e.valueDeclaration.name):l_(e.escapedName)}function Hm(e){let t=e.parent.parent;if(t){if(Nd(t))return rl(t);switch(t.kind){case 244:if(t.declarationList&&t.declarationList.declarations[0])return rl(t.declarationList.declarations[0]);break;case 245:let a=t.expression;switch(a.kind===227&&a.operatorToken.kind===64&&(a=a.left),a.kind){case 212:return a.name;case 213:let _=a.argumentExpression;if(Ke(_))return _}break;case 218:return rl(t.expression);case 257:{if(Nd(t.statement)||_1(t.statement))return rl(t.statement);break}}}}function rl(e){let t=Xm(e);return t&&Ke(t)?t:void 0}function hg(e){return e.name||Hm(e)}function yg(e){return!!e.name}function lf(e){switch(e.kind){case 80:return e;case 349:case 342:{let{name:a}=e;if(a.kind===167)return a.right;break}case 214:case 227:{let a=e;switch(yf(a)){case 1:case 4:case 5:case 3:return gf(a.left);case 7:case 8:case 9:return a.arguments[1];default:return}}case 347:return hg(e);case 341:return Hm(e);case 278:{let{expression:a}=e;return Ke(a)?a:void 0}case 213:let t=e;if(d1(t))return t.argumentExpression}return e.name}function Xm(e){if(e!==void 0)return lf(e)||(Mf(e)||Lf(e)||xl(e)?gg(e):void 0)}function gg(e){if(e.parent){if(K1(e.parent)||B1(e.parent))return e.parent.name;if(na(e.parent)&&e===e.parent.right){if(Ke(e.parent.left))return e.parent.left;if(v1(e.parent.left))return gf(e.parent.left)}else if(Jf(e.parent)&&Ke(e.parent.name))return e.parent.name}else return}function uf(e){if(F2(e))return Hr(e.modifiers,Cl)}function $m(e){if(v_(e,98303))return Hr(e.modifiers,Bg)}function Qm(e,t){if(e.name)if(Ke(e.name)){let a=e.name.escapedText;return u_(e.parent,t).filter(_=>zp(_)&&Ke(_.name)&&_.name.escapedText===a)}else{let a=e.parent.parameters.indexOf(e);q.assert(a>-1,"Parameters should always be in their parents' parameter list");let _=u_(e.parent,t).filter(zp);if(a<_.length)return[_[a]]}return vt}function bg(e){return Qm(e,!1)}function vg(e){return Qm(e,!0)}function Km(e,t){let a=e.name.escapedText;return u_(e.parent,t).filter(_=>ih(_)&&_.typeParameters.some(f=>f.name.escapedText===a))}function Tg(e){return Km(e,!1)}function xg(e){return Km(e,!0)}function Sg(e){return bi(e,a6)}function wg(e){return Ig(e,d6)}function kg(e){return bi(e,s6,!0)}function Eg(e){return bi(e,_6,!0)}function Ag(e){return bi(e,o6,!0)}function Cg(e){return bi(e,c6,!0)}function Dg(e){return bi(e,l6,!0)}function Pg(e){return bi(e,p6,!0)}function Ng(e){let t=bi(e,zf);if(t&&t.typeExpression&&t.typeExpression.type)return t}function u_(e,t){var a;if(!bf(e))return vt;let _=(a=e.jsDoc)==null?void 0:a.jsDocCache;if(_===void 0||t){let f=E2(e,t);q.assert(f.length<2||f[0]!==f[1]),_=Tm(f,h=>rh(h)?h.tags:h),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=_)}return _}function Zm(e){return u_(e,!1)}function bi(e,t,a){return bm(u_(e,a),t)}function Ig(e,t){return Zm(e).filter(t)}function jp(e){return e.kind===80||e.kind===81}function Og(e){return dr(e)&&!!(e.flags&64)}function Mg(e){return Ha(e)&&!!(e.flags&64)}function Dd(e){return Of(e)&&!!(e.flags&64)}function e1(e){let t=e.kind;return!!(e.flags&64)&&(t===212||t===213||t===214||t===236)}function pf(e){return Vf(e,8)}function Lg(e){return fl(e)&&!!(e.flags&64)}function ff(e){return e>=167}function df(e){return e>=0&&e<=166}function t1(e){return df(e.kind)}function mi(e){return Dr(e,"pos")&&Dr(e,"end")}function Jg(e){return 9<=e&&e<=15}function Pd(e){return 15<=e&&e<=18}function Ua(e){var t;return Ke(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function n1(e){var t;return gi(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function jg(e){return(Wa(e)||zg(e))&&gi(e.name)}function Yr(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 Rg(e){return!!(g1(e)&31)}function Ug(e){return Rg(e)||e===126||e===164||e===129}function Bg(e){return Yr(e.kind)}function r1(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===168}function mf(e){return!!e&&Fg(e.kind)}function qg(e){switch(e){case 263:case 175:case 177:case 178:case 179:case 219:case 220:return!0;default:return!1}}function Fg(e){switch(e){case 174:case 180:case 324:case 181:case 182:case 185:case 318:case 186:return!0;default:return qg(e)}}function ra(e){return e&&(e.kind===264||e.kind===232)}function zg(e){switch(e.kind){case 175:case 178:case 179:return!0;default:return!1}}function Vg(e){let t=e.kind;return t===304||t===305||t===306||t===175||t===178||t===179}function i1(e){return Z2(e.kind)}function Wg(e){if(e){let t=e.kind;return t===208||t===207}return!1}function Gg(e){let t=e.kind;return t===210||t===211}function Yg(e){switch(e.kind){case 261:case 170:case 209:return!0}return!1}function Fa(e){return a1(pf(e).kind)}function a1(e){switch(e){case 212:case 213:case 215:case 214:case 285:case 286:case 289:case 216:case 210:case 218:case 211:case 232:case 219:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 229:case 97:case 106:case 110:case 112:case 108:case 236:case 234:case 237:case 102:case 283:return!0;default:return!1}}function Hg(e){return s1(pf(e).kind)}function s1(e){switch(e){case 225:case 226:case 221:case 222:case 223:case 224:case 217:return!0;default:return a1(e)}}function _1(e){return Xg(pf(e).kind)}function Xg(e){switch(e){case 228:case 230:case 220:case 227:case 231:case 235:case 233:case 357:case 356:case 239:return!0;default:return s1(e)}}function $g(e){return e===220||e===209||e===264||e===232||e===176||e===177||e===267||e===307||e===282||e===263||e===219||e===178||e===274||e===272||e===277||e===265||e===292||e===175||e===174||e===268||e===271||e===275||e===281||e===170||e===304||e===173||e===172||e===179||e===305||e===266||e===169||e===261||e===347||e===339||e===349||e===203}function o1(e){return e===263||e===283||e===264||e===265||e===266||e===267||e===268||e===273||e===272||e===279||e===278||e===271}function c1(e){return e===253||e===252||e===260||e===247||e===245||e===243||e===250||e===251||e===249||e===246||e===257||e===254||e===256||e===258||e===259||e===244||e===248||e===255||e===354}function Nd(e){return e.kind===169?e.parent&&e.parent.kind!==346||ia(e):$g(e.kind)}function Qg(e){let t=e.kind;return c1(t)||o1(t)||Kg(e)}function Kg(e){return e.kind!==242||e.parent!==void 0&&(e.parent.kind===259||e.parent.kind===300)?!1:!f2(e)}function Zg(e){let t=e.kind;return c1(t)||o1(t)||t===242}function l1(e){return e.kind>=310&&e.kind<=352}function e2(e){return e.kind===321||e.kind===320||e.kind===322||r2(e)||t2(e)||i6(e)||Il(e)}function t2(e){return e.kind>=328&&e.kind<=352}function il(e){return e.kind===179}function al(e){return e.kind===178}function Ki(e){if(!bf(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function n2(e){return!!e.initializer}function El(e){return e.kind===11||e.kind===15}function r2(e){return e.kind===325||e.kind===326||e.kind===327}function Id(e){return(e.flags&33554432)!==0}var r3=i2();function i2(){var e="";let t=a=>e+=a;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(a,_)=>t(a),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&qa(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Va,decreaseIndent:Va,clear:()=>e=""}}function a2(e,t){let a=e.entries();for(let[_,f]of a){let h=t(f,_);if(h)return h}}function s2(e){return e.end-e.pos}function u1(e){return _2(e),(e.flags&1048576)!==0}function _2(e){e.flags&2097152||(((e.flags&262144)!==0||Xt(e,u1))&&(e.flags|=1048576),e.flags|=2097152)}function hi(e){for(;e&&e.kind!==308;)e=e.parent;return e}function Zi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function Rp(e){return!Zi(e)}function bl(e,t,a){if(Zi(e))return e.pos;if(l1(e)||e.kind===12)return Cr((t??hi(e)).text,e.pos,!1,!0);if(a&&Ki(e))return bl(e.jsDoc[0],t);if(e.kind===353){t??(t=hi(e));let _=Hp(ah(e,t));if(_)return bl(_,t,a)}return Cr((t??hi(e)).text,e.pos,!1,!1,d2(e))}function Od(e,t,a=!1){return r_(e.text,t,a)}function o2(e){return!!of(e,eh)}function r_(e,t,a=!1){if(Zi(t))return"";let _=e.substring(a?t.pos:Cr(e,t.pos),t.end);return o2(t)&&(_=_.split(/\r\n|\n|\r/).map(f=>f.replace(/^\s*\*/,"").trimStart()).join(` +`)),_}function za(e){let t=e.emitNode;return t&&t.flags||0}function c2(e,t,a){q.assertGreaterThanOrEqual(t,0),q.assertGreaterThanOrEqual(a,0),q.assertLessThanOrEqual(t,e.length),q.assertLessThanOrEqual(t+a,e.length)}function pl(e){return e.kind===245&&e.expression.kind===11}function hf(e){return!!(za(e)&2097152)}function Md(e){return hf(e)&&jf(e)}function l2(e){return Ke(e.name)&&!e.initializer}function Ld(e){return hf(e)&&Xa(e)&&Gp(e.declarationList.declarations,l2)}function u2(e,t){let a=e.kind===170||e.kind===169||e.kind===219||e.kind===220||e.kind===218||e.kind===261||e.kind===282?Yp(og(t,e.pos),Lp(t,e.pos)):Lp(t,e.pos);return Hr(a,_=>_.end<=e.end&&t.charCodeAt(_.pos+1)===42&&t.charCodeAt(_.pos+2)===42&&t.charCodeAt(_.pos+3)!==47)}function p2(e){if(e)switch(e.kind){case 209:case 307:case 170:case 304:case 173:case 172:case 305:case 261:return!0}return!1}function f2(e){return e&&e.kind===242&&mf(e.parent)}function Jd(e){let t=e.kind;return(t===212||t===213)&&e.expression.kind===108}function ia(e){return!!e&&!!(e.flags&524288)}function d2(e){return!!e&&!!(e.flags&16777216)}function m2(e){for(;vl(e,!0);)e=e.right;return e}function h2(e){return Ke(e)&&e.escapedText==="exports"}function y2(e){return Ke(e)&&e.escapedText==="module"}function p1(e){return(dr(e)||f1(e))&&y2(e.expression)&&f_(e)==="exports"}function yf(e){let t=b2(e);return t===5||ia(e)?t:0}function g2(e){return e_(e.arguments)===3&&dr(e.expression)&&Ke(e.expression.expression)&&An(e.expression.expression)==="Object"&&An(e.expression.name)==="defineProperty"&&Al(e.arguments[1])&&p_(e.arguments[0],!0)}function f1(e){return Ha(e)&&Al(e.argumentExpression)}function b_(e,t){return dr(e)&&(!t&&e.expression.kind===110||Ke(e.name)&&p_(e.expression,!0))||d1(e,t)}function d1(e,t){return f1(e)&&(!t&&e.expression.kind===110||xf(e.expression)||b_(e.expression,!0))}function p_(e,t){return xf(e)||b_(e,t)}function b2(e){if(Of(e)){if(!g2(e))return 0;let t=e.arguments[0];return h2(t)||p1(t)?8:b_(t)&&f_(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!v1(e.left)||v2(m2(e))?0:p_(e.left.expression,!0)&&f_(e.left)==="prototype"&&If(x2(e))?6:T2(e.left)}function v2(e){return Kb(e)&&aa(e.expression)&&e.expression.text==="0"}function gf(e){if(dr(e))return e.name;let t=vf(e.argumentExpression);return aa(t)||El(t)?t:e}function f_(e){let t=gf(e);if(t){if(Ke(t))return t.escapedText;if(El(t)||aa(t))return La(t.text)}}function T2(e){if(e.expression.kind===110)return 4;if(p1(e))return 2;if(p_(e.expression,!0)){if(Q2(e.expression))return 3;let t=e;for(;!Ke(t.expression);)t=t.expression;let a=t.expression;if((a.escapedText==="exports"||a.escapedText==="module"&&f_(t)==="exports")&&b_(e))return 1;if(p_(e,!0)||Ha(e)&&J2(e))return 5}return 0}function x2(e){for(;na(e.right);)e=e.right;return e.right}function S2(e){return Pl(e)&&na(e.expression)&&yf(e.expression)!==0&&na(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function w2(e){switch(e.kind){case 244:let t=Up(e);return t&&t.initializer;case 173:return e.initializer;case 304:return e.initializer}}function Up(e){return Xa(e)?Hp(e.declarationList.declarations):void 0}function k2(e){return Ti(e)&&e.body&&e.body.kind===268?e.body:void 0}function bf(e){switch(e.kind){case 220:case 227:case 242:case 253:case 180:case 297:case 264:case 232:case 176:case 177:case 186:case 181:case 252:case 260:case 247:case 213:case 243:case 1:case 267:case 307:case 278:case 279:case 282:case 245:case 250:case 251:case 249:case 263:case 219:case 185:case 178:case 80:case 246:case 273:case 272:case 182:case 265:case 318:case 324:case 257:case 175:case 174:case 268:case 203:case 271:case 211:case 170:case 218:case 212:case 304:case 173:case 172:case 254:case 241:case 179:case 305:case 306:case 256:case 258:case 259:case 266:case 169:case 261:case 244:case 248:case 255:return!0;default:return!1}}function E2(e,t){let a;p2(e)&&n2(e)&&Ki(e.initializer)&&(a=En(a,jd(e,e.initializer.jsDoc)));let _=e;for(;_&&_.parent;){if(Ki(_)&&(a=En(a,jd(e,_.jsDoc))),_.kind===170){a=En(a,(t?vg:bg)(_));break}if(_.kind===169){a=En(a,(t?xg:Tg)(_));break}_=C2(_)}return a||vt}function jd(e,t){let a=dy(t);return Tm(t,_=>{if(_===a){let f=Hr(_.tags,h=>A2(e,h));return _.tags===f?[_]:f}else return Hr(_.tags,u6)})}function A2(e,t){return!(zf(t)||m6(t))||!t.parent||!rh(t.parent)||!Dl(t.parent.parent)||t.parent.parent===e}function C2(e){let t=e.parent;if(t.kind===304||t.kind===278||t.kind===173||t.kind===245&&e.kind===212||t.kind===254||k2(t)||vl(e))return t;if(t.parent&&(Up(t.parent)===e||vl(t)))return t.parent;if(t.parent&&t.parent.parent&&(Up(t.parent.parent)||w2(t.parent.parent)===e||S2(t.parent.parent)))return t.parent.parent}function vf(e,t){return Vf(e,t?-2147483647:1)}function D2(e){let t=P2(e);if(t&&ia(e)){let a=Sg(e);if(a)return a.class}return t}function P2(e){let t=Tf(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function N2(e){if(ia(e))return wg(e).map(t=>t.class);{let t=Tf(e.heritageClauses,119);return t?.types}}function I2(e){return T_(e)?O2(e)||vt:ra(e)&&Yp(Ip(D2(e)),N2(e))||vt}function O2(e){let t=Tf(e.heritageClauses,96);return t?t.types:void 0}function Tf(e,t){if(e){for(let a of e)if(a.token===t)return a}}function di(e){return 83<=e&&e<=166}function M2(e){return 19<=e&&e<=79}function xp(e){return di(e)||M2(e)}function Al(e){return El(e)||aa(e)}function L2(e){return z1(e)&&(e.operator===40||e.operator===41)&&aa(e.operand)}function J2(e){if(!(e.kind===168||e.kind===213))return!1;let t=Ha(e)?vf(e.argumentExpression):e.expression;return!Al(t)&&!L2(t)}function j2(e){return jp(e)?An(e):Q1(e)?Eb(e):e.text}function Ja(e){return d_(e.pos)||d_(e.end)}function Sp(e){switch(e){case 61:return 5;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function wp(e){return!!((e.templateFlags||0)&2048)}function R2(e){return e&&!!(E1(e)?wp(e):wp(e.head)||Zt(e.templateSpans,t=>wp(t.literal)))}var i3=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));var a3=new Map(Object.entries({'"':""","'":"'"}));function U2(e){return!!e&&e.kind===80&&B2(e)}function B2(e){return e.escapedText==="this"}function v_(e,t){return!!z2(e,t)}function q2(e){return v_(e,256)}function F2(e){return v_(e,32768)}function z2(e,t){return W2(e)&t}function V2(e,t,a){return e.kind>=0&&e.kind<=166?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=y1(e)|536870912),a||t&&ia(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=m1(e)|268435456),h1(e.modifierFlagsCache)):G2(e.modifierFlagsCache))}function W2(e){return V2(e,!1)}function m1(e){let t=0;return e.parent&&!m_(e)&&(ia(e)&&(kg(e)&&(t|=8388608),Eg(e)&&(t|=16777216),Ag(e)&&(t|=33554432),Cg(e)&&(t|=67108864),Dg(e)&&(t|=134217728)),Pg(e)&&(t|=65536)),t}function G2(e){return e&65535}function h1(e){return e&131071|(e&260046848)>>>23}function Y2(e){return h1(m1(e))}function H2(e){return y1(e)|Y2(e)}function y1(e){let t=Ol(e)?Jn(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function Jn(e){let t=0;if(e)for(let a of e)t|=g1(a.kind);return t}function g1(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 171:return 32768}return 0}function X2(e){return e===76||e===77||e===78}function b1(e){return e>=64&&e<=79}function vl(e,t){return na(e)&&(t?e.operatorToken.kind===64:b1(e.operatorToken.kind))&&Fa(e.left)}function xf(e){return e.kind===80||$2(e)}function $2(e){return dr(e)&&Ke(e.name)&&xf(e.expression)}function Q2(e){return b_(e)&&f_(e)==="prototype"}function kp(e){return e.flags&3899393?e.objectFlags:0}function K2(e){let t;return Xt(e,a=>{Rp(a)&&(t=a)},a=>{for(let _=a.length-1;_>=0;_--)if(Rp(a[_])){t=a[_];break}}),t}function Z2(e){return e>=183&&e<=206||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===234||e===313||e===314||e===315||e===316||e===317||e===318||e===319}function v1(e){return e.kind===212||e.kind===213}function eb(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 tb(e,t){this.flags=t,(q.isDebugging||ll)&&(this.checker=e)}function nb(e,t){this.flags=t,q.isDebugging&&(this.checker=e)}function Ep(e,t,a){this.pos=t,this.end=a,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 rb(e,t,a){this.pos=t,this.end=a,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function ib(e,t,a){this.pos=t,this.end=a,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 ab(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(_=>_)}var Et={getNodeConstructor:()=>Ep,getTokenConstructor:()=>rb,getIdentifierConstructor:()=>ib,getPrivateIdentifierConstructor:()=>Ep,getSourceFileConstructor:()=>Ep,getSymbolConstructor:()=>eb,getTypeConstructor:()=>tb,getSignatureConstructor:()=>nb,getSourceMapSourceConstructor:()=>ab},sb=[];function _b(e){Object.assign(Et,e),jn(sb,t=>t(Et))}function ob(e,t){return e.replace(/\{(\d+)\}/g,(a,_)=>""+q.checkDefined(t[+_]))}var Rd;function cb(e){return Rd&&Rd[e.key]||e.message}function Oa(e,t,a,_,f,...h){a+_>t.length&&(_=t.length-a),c2(t,a,_);let T=cb(f);return Zt(h)&&(T=ob(T,h)),{file:void 0,start:a,length:_,messageText:T,category:f.category,code:f.code,reportsUnnecessary:f.reportsUnnecessary,fileName:e}}function lb(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function T1(e,t){let a=t.fileName||"",_=t.text.length;q.assertEqual(e.fileName,a),q.assertLessThanOrEqual(e.start,_),q.assertLessThanOrEqual(e.start+e.length,_);let f={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){f.relatedInformation=[];for(let h of e.relatedInformation)lb(h)&&h.fileName===a?(q.assertLessThanOrEqual(h.start,_),q.assertLessThanOrEqual(h.start+h.length,_),f.relatedInformation.push(T1(h,t))):f.relatedInformation.push(h)}return f}function Yi(e,t){let a=[];for(let _ of e)a.push(T1(_,t));return a}function Ud(e){return e===4||e===2||e===1||e===6?1:0}var it={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!!(e.allowImportingTsExtensions||e.rewriteRelativeImportExtensions)},target:{dependencies:["module"],computeValue:e=>(e.target===0?void 0:e.target)??(e.module===100&&9||e.module===101&&9||e.module===102&&10||e.module===199&&99||1)},module:{dependencies:["target"],computeValue:e=>typeof e.module=="number"?e.module:it.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(t===void 0)switch(it.module.computeValue(e)){case 1:t=2;break;case 100:case 101:case 102:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1;break}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>{if(e.moduleDetection!==void 0)return e.moduleDetection;let t=it.module.computeValue(e);return 100<=t&&t<=199?3:2}},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(it.module.computeValue(e)){case 100:case 101:case 102:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:it.esModuleInterop.computeValue(e)||it.module.computeValue(e)===4||it.moduleResolution.computeValue(e)===100},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{let t=it.moduleResolution.computeValue(e);if(!Bd(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{let t=it.moduleResolution.computeValue(e);if(!Bd(t))return!1;if(e.resolvePackageJsonImports!==void 0)return e.resolvePackageJsonImports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>{if(e.resolveJsonModule!==void 0)return e.resolveJsonModule;switch(it.module.computeValue(e)){case 102:case 199:return!0}return it.moduleResolution.computeValue(e)===100}},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||it.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&&it.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?it.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>Gr(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>Gr(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>Gr(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>Gr(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>Gr(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>Gr(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>Gr(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:["strict"],computeValue:e=>Gr(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>Gr(e,"useUnknownInCatchVariables")}};var s3=it.allowImportingTsExtensions.computeValue,_3=it.target.computeValue,o3=it.module.computeValue,c3=it.moduleResolution.computeValue,l3=it.moduleDetection.computeValue,u3=it.isolatedModules.computeValue,p3=it.esModuleInterop.computeValue,f3=it.allowSyntheticDefaultImports.computeValue,d3=it.resolvePackageJsonExports.computeValue,m3=it.resolvePackageJsonImports.computeValue,h3=it.resolveJsonModule.computeValue,y3=it.declaration.computeValue,g3=it.preserveConstEnums.computeValue,b3=it.incremental.computeValue,v3=it.declarationMap.computeValue,T3=it.allowJs.computeValue,x3=it.useDefineForClassFields.computeValue;function Bd(e){return e>=3&&e<=99||e===100}function Gr(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function ub(e){return a2(targetOptionDeclaration.type,(t,a)=>t===e?a:void 0)}var pb=["node_modules","bower_components","jspm_packages"],x1=`(?!(?:${pb.join("|")})(?:/|$))`,fb={singleAsteriskRegexFragment:"(?:[^./]|(?:\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(?:/${x1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>S1(e,fb.singleAsteriskRegexFragment)},db={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(?:/${x1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>S1(e,db.singleAsteriskRegexFragment)};function S1(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function mb(e,t){return t||hb(e)||3}function hb(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 w1=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],S3=vm(w1),w3=[...w1,[".json"]];var yb=[[".js",".jsx"],[".mjs"],[".cjs"]],k3=vm(yb),gb=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],E3=[...gb,[".json"]],bb=[".d.ts",".d.cts",".d.mts"];function d_(e){return!(e>=0)}function sl(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),q.assert(e.relatedInformation!==vt,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function vb(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:let W=e.length-1,y=0;for(;e.charCodeAt(y)===48;)y++;return e.slice(y,W)||"0"}let a=2,_=e.length-1,f=(_-a)*t,h=new Uint16Array((f>>>4)+(f&15?1:0));for(let W=_-1,y=0;W>=a;W--,y+=t){let G=y>>>4,E=e.charCodeAt(W),R=(E<=57?E-48:10+E-(E<=70?65:97))<<(y&15);h[G]|=R;let ue=R>>>16;ue&&(h[G+1]|=ue)}let T="",k=h.length-1,c=!0;for(;c;){let W=0;c=!1;for(let y=k;y>=0;y--){let G=W<<16|h[y],E=G/10|0;h[y]=E,W=G-E*10,E&&!c&&(k=y,c=!0)}T=W+T}return T}function Tb({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function Bp(e,t){return e.pos=t,e}function xb(e,t){return e.end=t,e}function yi(e,t,a){return xb(Bp(e,t),a)}function qd(e,t,a){return yi(e,t,t+a)}function Sf(e,t){return e&&t&&(e.parent=t),e}function Sb(e,t){if(!e)return e;return dm(e,l1(e)?a:f),e;function a(h,T){if(t&&h.parent===T)return"skip";Sf(h,T)}function _(h){if(Ki(h))for(let T of h.jsDoc)a(T,h),dm(T,a)}function f(h,T){return a(h,T)||_(h)}}function wb(e){return!!(e.flags&262144&&e.isThisType)}function kb(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function Eb(e){return`${An(e.namespace)}:${An(e.name)}`}var A3=String.prototype.replace;var qp=["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"],C3=new Set(qp),Ab=new Set(["node:sea","node:sqlite","node:test","node:test/reporters"]),D3=new Set([...qp,...qp.map(e=>`node:${e}`),...Ab]);function Cb(){let e,t,a,_,f;return{createBaseSourceFileNode:h,createBaseIdentifierNode:T,createBasePrivateIdentifierNode:k,createBaseTokenNode:c,createBaseNode:W};function h(y){return new(f||(f=Et.getSourceFileConstructor()))(y,-1,-1)}function T(y){return new(a||(a=Et.getIdentifierConstructor()))(y,-1,-1)}function k(y){return new(_||(_=Et.getPrivateIdentifierConstructor()))(y,-1,-1)}function c(y){return new(t||(t=Et.getTokenConstructor()))(y,-1,-1)}function W(y){return new(e||(e=Et.getNodeConstructor()))(y,-1,-1)}}var Db={getParenthesizeLeftSideOfBinaryForOperator:e=>bt,getParenthesizeRightSideOfBinaryForOperator:e=>bt,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,a)=>a,parenthesizeExpressionOfComputedPropertyName:bt,parenthesizeConditionOfConditionalExpression:bt,parenthesizeBranchOfConditionalExpression:bt,parenthesizeExpressionOfExportDefault:bt,parenthesizeExpressionOfNew:e=>Er(e,Fa),parenthesizeLeftSideOfAccess:e=>Er(e,Fa),parenthesizeOperandOfPostfixUnary:e=>Er(e,Fa),parenthesizeOperandOfPrefixUnary:e=>Er(e,Hg),parenthesizeExpressionsOfCommaDelimitedList:e=>Er(e,mi),parenthesizeExpressionForDisallowedComma:bt,parenthesizeExpressionOfExpressionStatement:bt,parenthesizeConciseBodyOfArrowFunction:bt,parenthesizeCheckTypeOfConditionalType:bt,parenthesizeExtendsTypeOfConditionalType:bt,parenthesizeConstituentTypesOfUnionType:e=>Er(e,mi),parenthesizeConstituentTypeOfUnionType:bt,parenthesizeConstituentTypesOfIntersectionType:e=>Er(e,mi),parenthesizeConstituentTypeOfIntersectionType:bt,parenthesizeOperandOfTypeOperator:bt,parenthesizeOperandOfReadonlyTypeOperator:bt,parenthesizeNonArrayTypeOfPostfixType:bt,parenthesizeElementTypesOfTupleType:e=>Er(e,mi),parenthesizeElementTypeOfTupleType:bt,parenthesizeTypeOfOptionalType:bt,parenthesizeTypeArguments:e=>e&&Er(e,mi),parenthesizeLeadingTypeArgument:bt},_l=0;var Pb=[];function wf(e,t){let a=e&8?bt:Lb,_=gd(()=>e&1?Db:createParenthesizerRules(he)),f=gd(()=>e&2?nullNodeConverters:createNodeConverters(he)),h=Kn(n=>(i,s)=>da(i,n,s)),T=Kn(n=>i=>Ur(n,i)),k=Kn(n=>i=>ni(i,n)),c=Kn(n=>()=>Qo(n)),W=Kn(n=>i=>Cs(n,i)),y=Kn(n=>(i,s)=>wu(n,i,s)),G=Kn(n=>(i,s)=>Ko(n,i,s)),E=Kn(n=>(i,s)=>Su(n,i,s)),D=Kn(n=>(i,s)=>hc(n,i,s)),R=Kn(n=>(i,s,l)=>Lu(n,i,s,l)),ue=Kn(n=>(i,s,l)=>yc(n,i,s,l)),be=Kn(n=>(i,s,l,d)=>Ju(n,i,s,l,d)),he={get parenthesizer(){return _()},get converters(){return f()},baseFactory:t,flags:e,createNodeArray:de,createNumericLiteral:V,createBigIntLiteral:oe,createStringLiteral:ft,createStringLiteralFromNode:nr,createRegularExpressionLiteral:mn,createLiteralLikeNode:rr,createIdentifier:We,createTempVariable:ir,createLoopVariable:Ir,createUniqueName:Ot,getGeneratedNameForNode:Bn,createPrivateIdentifier:Mt,createUniquePrivateName:$e,getGeneratedPrivateNameForNode:qn,createToken:ot,createSuper:at,createThis:Bt,createNull:Lt,createTrue:ct,createFalse:ar,createModifier:dt,createModifiersFromModifierFlags:yn,createQualifiedName:yt,updateQualifiedName:_n,createComputedPropertyName:tt,updateComputedPropertyName:qt,createTypeParameterDeclaration:tn,updateTypeParameterDeclaration:sr,createParameterDeclaration:mr,updateParameterDeclaration:hr,createDecorator:Fn,updateDecorator:zn,createPropertySignature:Or,updatePropertySignature:Vn,createPropertyDeclaration:yr,updatePropertyDeclaration:L,createMethodSignature:se,updateMethodSignature:fe,createMethodDeclaration:Te,updateMethodDeclaration:He,createConstructorDeclaration:lt,updateConstructorDeclaration:Mr,createGetAccessorDeclaration:Nn,updateGetAccessorDeclaration:Wn,createSetAccessorDeclaration:U,updateSetAccessorDeclaration:K,createCallSignature:xe,updateCallSignature:Se,createConstructSignature:we,updateConstructSignature:me,createIndexSignature:Ve,updateIndexSignature:Ze,createClassStaticBlockDeclaration:st,updateClassStaticBlockDeclaration:Ct,createTemplateLiteralTypeSpan:Ye,updateTemplateLiteralTypeSpan:Ee,createKeywordTypeNode:gn,createTypePredicateNode:rt,updateTypePredicateNode:on,createTypeReferenceNode:Zr,updateTypeReferenceNode:M,createFunctionTypeNode:Ue,updateFunctionTypeNode:u,createConstructorTypeNode:Me,updateConstructorTypeNode:nn,createTypeQueryNode:Dt,updateTypeQueryNode:wt,createTypeLiteralNode:Pt,updateTypeLiteralNode:Ft,createArrayTypeNode:Gn,updateArrayTypeNode:ki,createTupleTypeNode:cn,updateTupleTypeNode:H,createNamedTupleMember:le,updateNamedTupleMember:qe,createOptionalTypeNode:ve,updateOptionalTypeNode:J,createRestTypeNode:mt,updateRestTypeNode:xt,createUnionTypeNode:ql,updateUnionTypeNode:C_,createIntersectionTypeNode:Lr,updateIntersectionTypeNode:Le,createConditionalTypeNode:pt,updateConditionalTypeNode:Fl,createInferTypeNode:Yn,updateInferTypeNode:zl,createImportTypeNode:_r,updateImportTypeNode:oa,createParenthesizedType:Qt,updateParenthesizedType:At,createThisTypeNode:P,createTypeOperatorNode:Gt,updateTypeOperatorNode:Jr,createIndexedAccessTypeNode:or,updateIndexedAccessTypeNode:Ka,createMappedTypeNode:gt,updateMappedTypeNode:jt,createLiteralTypeNode:ei,updateLiteralTypeNode:br,createTemplateLiteralType:Wt,updateTemplateLiteralType:Vl,createObjectBindingPattern:D_,updateObjectBindingPattern:Wl,createArrayBindingPattern:jr,updateArrayBindingPattern:Gl,createBindingElement:ca,updateBindingElement:ti,createArrayLiteralExpression:Za,updateArrayLiteralExpression:P_,createObjectLiteralExpression:Ei,updateObjectLiteralExpression:Yl,createPropertyAccessExpression:e&4?(n,i)=>setEmitFlags(cr(n,i),262144):cr,updatePropertyAccessExpression:Hl,createPropertyAccessChain:e&4?(n,i,s)=>setEmitFlags(Ai(n,i,s),262144):Ai,updatePropertyAccessChain:la,createElementAccessExpression:Ci,updateElementAccessExpression:Xl,createElementAccessChain:O_,updateElementAccessChain:es,createCallExpression:Di,updateCallExpression:ua,createCallChain:ts,updateCallChain:L_,createNewExpression:bn,updateNewExpression:ns,createTaggedTemplateExpression:pa,updateTaggedTemplateExpression:J_,createTypeAssertion:j_,updateTypeAssertion:R_,createParenthesizedExpression:rs,updateParenthesizedExpression:U_,createFunctionExpression:is,updateFunctionExpression:B_,createArrowFunction:as,updateArrowFunction:q_,createDeleteExpression:F_,updateDeleteExpression:z_,createTypeOfExpression:fa,updateTypeOfExpression:un,createVoidExpression:ss,updateVoidExpression:lr,createAwaitExpression:V_,updateAwaitExpression:Rr,createPrefixUnaryExpression:Ur,updatePrefixUnaryExpression:$l,createPostfixUnaryExpression:ni,updatePostfixUnaryExpression:Ql,createBinaryExpression:da,updateBinaryExpression:Kl,createConditionalExpression:G_,updateConditionalExpression:Y_,createTemplateExpression:H_,updateTemplateExpression:Hn,createTemplateHead:$_,createTemplateMiddle:ma,createTemplateTail:_s,createNoSubstitutionTemplateLiteral:eu,createTemplateLiteralLikeNode:ii,createYieldExpression:os,updateYieldExpression:tu,createSpreadElement:Q_,updateSpreadElement:nu,createClassExpression:K_,updateClassExpression:cs,createOmittedExpression:ls,createExpressionWithTypeArguments:Z_,updateExpressionWithTypeArguments:eo,createAsExpression:pn,updateAsExpression:ha,createNonNullExpression:to,updateNonNullExpression:no,createSatisfiesExpression:us,updateSatisfiesExpression:ro,createNonNullChain:ps,updateNonNullChain:In,createMetaProperty:io,updateMetaProperty:fs,createTemplateSpan:Xn,updateTemplateSpan:ya,createSemicolonClassElement:ao,createBlock:Br,updateBlock:ru,createVariableStatement:ds,updateVariableStatement:so,createEmptyStatement:_o,createExpressionStatement:Ni,updateExpressionStatement:oo,createIfStatement:co,updateIfStatement:lo,createDoStatement:uo,updateDoStatement:po,createWhileStatement:fo,updateWhileStatement:iu,createForStatement:mo,updateForStatement:ho,createForInStatement:ms,updateForInStatement:au,createForOfStatement:yo,updateForOfStatement:su,createContinueStatement:go,updateContinueStatement:_u,createBreakStatement:hs,updateBreakStatement:bo,createReturnStatement:ys,updateReturnStatement:ou,createWithStatement:gs,updateWithStatement:vo,createSwitchStatement:bs,updateSwitchStatement:ai,createLabeledStatement:To,updateLabeledStatement:xo,createThrowStatement:So,updateThrowStatement:cu,createTryStatement:wo,updateTryStatement:lu,createDebuggerStatement:ko,createVariableDeclaration:ga,updateVariableDeclaration:Eo,createVariableDeclarationList:vs,updateVariableDeclarationList:uu,createFunctionDeclaration:Ao,updateFunctionDeclaration:Ts,createClassDeclaration:Co,updateClassDeclaration:ba,createInterfaceDeclaration:Do,updateInterfaceDeclaration:Po,createTypeAliasDeclaration:_t,updateTypeAliasDeclaration:vr,createEnumDeclaration:xs,updateEnumDeclaration:Tr,createModuleDeclaration:No,updateModuleDeclaration:kt,createModuleBlock:xr,updateModuleBlock:zt,createCaseBlock:Io,updateCaseBlock:fu,createNamespaceExportDeclaration:Oo,updateNamespaceExportDeclaration:Mo,createImportEqualsDeclaration:Lo,updateImportEqualsDeclaration:Jo,createImportDeclaration:jo,updateImportDeclaration:Ro,createImportClause:Uo,updateImportClause:Bo,createAssertClause:Ss,updateAssertClause:mu,createAssertEntry:Ii,updateAssertEntry:qo,createImportTypeAssertionContainer:ws,updateImportTypeAssertionContainer:Fo,createImportAttributes:zo,updateImportAttributes:ks,createImportAttribute:Vo,updateImportAttribute:Wo,createNamespaceImport:Go,updateNamespaceImport:hu,createNamespaceExport:Yo,updateNamespaceExport:yu,createNamedImports:Ho,updateNamedImports:Xo,createImportSpecifier:Sr,updateImportSpecifier:gu,createExportAssignment:va,updateExportAssignment:Oi,createExportDeclaration:Ta,updateExportDeclaration:$o,createNamedExports:Es,updateNamedExports:bu,createExportSpecifier:xa,updateExportSpecifier:vu,createMissingDeclaration:Tu,createExternalModuleReference:As,updateExternalModuleReference:xu,get createJSDocAllType(){return c(313)},get createJSDocUnknownType(){return c(314)},get createJSDocNonNullableType(){return G(316)},get updateJSDocNonNullableType(){return E(316)},get createJSDocNullableType(){return G(315)},get updateJSDocNullableType(){return E(315)},get createJSDocOptionalType(){return W(317)},get updateJSDocOptionalType(){return y(317)},get createJSDocVariadicType(){return W(319)},get updateJSDocVariadicType(){return y(319)},get createJSDocNamepathType(){return W(320)},get updateJSDocNamepathType(){return y(320)},createJSDocFunctionType:Zo,updateJSDocFunctionType:ku,createJSDocTypeLiteral:ec,updateJSDocTypeLiteral:Eu,createJSDocTypeExpression:tc,updateJSDocTypeExpression:Ds,createJSDocSignature:nc,updateJSDocSignature:Au,createJSDocTemplateTag:Ps,updateJSDocTemplateTag:rc,createJSDocTypedefTag:Sa,updateJSDocTypedefTag:Cu,createJSDocParameterTag:Ns,updateJSDocParameterTag:Du,createJSDocPropertyTag:ic,updateJSDocPropertyTag:ac,createJSDocCallbackTag:sc,updateJSDocCallbackTag:_c,createJSDocOverloadTag:oc,updateJSDocOverloadTag:Is,createJSDocAugmentsTag:Os,updateJSDocAugmentsTag:Li,createJSDocImplementsTag:cc,updateJSDocImplementsTag:Mu,createJSDocSeeTag:Fr,updateJSDocSeeTag:wa,createJSDocImportTag:vc,updateJSDocImportTag:Tc,createJSDocNameReference:lc,updateJSDocNameReference:Pu,createJSDocMemberName:uc,updateJSDocMemberName:Nu,createJSDocLink:pc,updateJSDocLink:fc,createJSDocLinkCode:dc,updateJSDocLinkCode:Iu,createJSDocLinkPlain:mc,updateJSDocLinkPlain:Ou,get createJSDocTypeTag(){return ue(345)},get updateJSDocTypeTag(){return be(345)},get createJSDocReturnTag(){return ue(343)},get updateJSDocReturnTag(){return be(343)},get createJSDocThisTag(){return ue(344)},get updateJSDocThisTag(){return be(344)},get createJSDocAuthorTag(){return D(331)},get updateJSDocAuthorTag(){return R(331)},get createJSDocClassTag(){return D(333)},get updateJSDocClassTag(){return R(333)},get createJSDocPublicTag(){return D(334)},get updateJSDocPublicTag(){return R(334)},get createJSDocPrivateTag(){return D(335)},get updateJSDocPrivateTag(){return R(335)},get createJSDocProtectedTag(){return D(336)},get updateJSDocProtectedTag(){return R(336)},get createJSDocReadonlyTag(){return D(337)},get updateJSDocReadonlyTag(){return R(337)},get createJSDocOverrideTag(){return D(338)},get updateJSDocOverrideTag(){return R(338)},get createJSDocDeprecatedTag(){return D(332)},get updateJSDocDeprecatedTag(){return R(332)},get createJSDocThrowsTag(){return ue(350)},get updateJSDocThrowsTag(){return be(350)},get createJSDocSatisfiesTag(){return ue(351)},get updateJSDocSatisfiesTag(){return be(351)},createJSDocEnumTag:bc,updateJSDocEnumTag:Ms,createJSDocUnknownTag:gc,updateJSDocUnknownTag:ju,createJSDocText:Ls,updateJSDocText:Ru,createJSDocComment:Ji,updateJSDocComment:xc,createJsxElement:Sc,updateJsxElement:Uu,createJsxSelfClosingElement:wc,updateJsxSelfClosingElement:Bu,createJsxOpeningElement:ka,updateJsxOpeningElement:kc,createJsxClosingElement:Js,updateJsxClosingElement:js,createJsxFragment:Yt,createJsxText:ji,updateJsxText:qu,createJsxOpeningFragment:Ac,createJsxJsxClosingFragment:Cc,updateJsxFragment:Ec,createJsxAttribute:Dc,updateJsxAttribute:Fu,createJsxAttributes:Ri,updateJsxAttributes:zu,createJsxSpreadAttribute:Pc,updateJsxSpreadAttribute:Vu,createJsxExpression:Nc,updateJsxExpression:Rs,createJsxNamespacedName:si,updateJsxNamespacedName:Wu,createCaseClause:Ea,updateCaseClause:Ic,createDefaultClause:Oc,updateDefaultClause:Ui,createHeritageClause:Us,updateHeritageClause:Gu,createCatchClause:Mc,updateCatchClause:Lc,createPropertyAssignment:Aa,updatePropertyAssignment:Bs,createShorthandPropertyAssignment:Jc,updateShorthandPropertyAssignment:Yu,createSpreadAssignment:jc,updateSpreadAssignment:Rc,createEnumMember:qs,updateEnumMember:On,createSourceFile:Uc,updateSourceFile:Qu,createRedirectedSourceFile:Bc,createBundle:qc,updateBundle:Fc,createSyntheticExpression:Ku,createSyntaxList:Zu,createNotEmittedStatement:Ca,createNotEmittedTypeElement:ep,createPartiallyEmittedExpression:Vs,updatePartiallyEmittedExpression:zc,createCommaListExpression:Ws,updateCommaListExpression:np,createSyntheticReferenceExpression:Gs,updateSyntheticReferenceExpression:Vc,cloneNode:Da,get createComma(){return h(28)},get createAssignment(){return h(64)},get createLogicalOr(){return h(57)},get createLogicalAnd(){return h(56)},get createBitwiseOr(){return h(52)},get createBitwiseXor(){return h(53)},get createBitwiseAnd(){return h(51)},get createStrictEquality(){return h(37)},get createStrictInequality(){return h(38)},get createEquality(){return h(35)},get createInequality(){return h(36)},get createLessThan(){return h(30)},get createLessThanEquals(){return h(33)},get createGreaterThan(){return h(32)},get createGreaterThanEquals(){return h(34)},get createLeftShift(){return h(48)},get createRightShift(){return h(49)},get createUnsignedRightShift(){return h(50)},get createAdd(){return h(40)},get createSubtract(){return h(41)},get createMultiply(){return h(42)},get createDivide(){return h(44)},get createModulo(){return h(45)},get createExponent(){return h(43)},get createPrefixPlus(){return T(40)},get createPrefixMinus(){return T(41)},get createPrefixIncrement(){return T(46)},get createPrefixDecrement(){return T(47)},get createBitwiseNot(){return T(55)},get createLogicalNot(){return T(54)},get createPostfixIncrement(){return k(46)},get createPostfixDecrement(){return k(47)},createImmediatelyInvokedFunctionExpression:ap,createImmediatelyInvokedArrowFunction:sp,createVoidZero:Bi,createExportDefault:Yc,createExternalModuleExport:Hc,createTypeCheck:_p,createIsNotTypeCheck:Ys,createMethodCall:zr,createGlobalMethodCall:qi,createFunctionBindCall:op,createFunctionCallCall:cp,createFunctionApplyCall:lp,createArraySliceCall:up,createArrayConcatCall:Fi,createObjectDefinePropertyCall:pp,createObjectGetOwnPropertyDescriptorCall:Hs,createReflectGetCall:oi,createReflectSetCall:Xc,createPropertyDescriptor:fp,createCallBinding:Zc,createAssignmentTargetWrapper:el,inlineExpressions:o,getInternalName:m,getLocalName:g,getExportName:b,getDeclarationName:N,getNamespaceMemberName:Q,getExternalModuleOrNamespaceExportName:_e,restoreOuterExpressions:Qc,restoreEnclosingLabel:Kc,createUseStrictPrologue:ce,copyPrologue:ee,copyStandardPrologue:je,copyCustomPrologue:Je,ensureUseStrict:De,liftToBlock:Ht,mergeLexicalEnvironment:ur,replaceModifiers:pr,replaceDecoratorsAndModifiers:Mn,replacePropertyName:Vr};return jn(Pb,n=>n(he)),he;function de(n,i){if(n===void 0||n===vt)n=[];else if(mi(n)){if(i===void 0||n.hasTrailingComma===i)return n.transformFlags===void 0&&zd(n),q.attachNodeArrayDebugInfo(n),n;let d=n.slice();return d.pos=n.pos,d.end=n.end,d.hasTrailingComma=i,d.transformFlags=n.transformFlags,q.attachNodeArrayDebugInfo(d),d}let s=n.length,l=s>=1&&s<=4?n.slice():n;return l.pos=-1,l.end=-1,l.hasTrailingComma=!!i,l.transformFlags=0,zd(l),q.attachNodeArrayDebugInfo(l),l}function O(n){return t.createBaseNode(n)}function ae(n){let i=O(n);return i.symbol=void 0,i.localSymbol=void 0,i}function Oe(n,i){return n!==i&&(n.typeArguments=i.typeArguments),j(n,i)}function V(n,i=0){let s=typeof n=="number"?n+"":n;q.assert(s.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");let l=ae(9);return l.text=s,l.numericLiteralFlags=i,i&384&&(l.transformFlags|=1024),l}function oe(n){let i=$t(10);return i.text=typeof n=="string"?n:Tb(n)+"n",i.transformFlags|=32,i}function Y(n,i){let s=ae(11);return s.text=n,s.singleQuote=i,s}function ft(n,i,s){let l=Y(n,i);return l.hasExtendedUnicodeEscape=s,s&&(l.transformFlags|=1024),l}function nr(n){let i=Y(j2(n),void 0);return i.textSourceNode=n,i}function mn(n){let i=$t(14);return i.text=n,i}function rr(n,i){switch(n){case 9:return V(i,0);case 10:return oe(i);case 11:return ft(i,void 0);case 12:return ji(i,!1);case 13:return ji(i,!0);case 14:return mn(i);case 15:return ii(n,i,void 0,0)}}function hn(n){let i=t.createBaseIdentifierNode(80);return i.escapedText=n,i.jsDoc=void 0,i.flowNode=void 0,i.symbol=void 0,i}function Dn(n,i,s,l){let d=hn(La(n));return setIdentifierAutoGenerate(d,{flags:i,id:_l,prefix:s,suffix:l}),_l++,d}function We(n,i,s){i===void 0&&n&&(i=Rm(n)),i===80&&(i=void 0);let l=hn(La(n));return s&&(l.flags|=256),l.escapedText==="await"&&(l.transformFlags|=67108864),l.flags&256&&(l.transformFlags|=1024),l}function ir(n,i,s,l){let d=1;i&&(d|=8);let v=Dn("",d,s,l);return n&&n(v),v}function Ir(n){let i=2;return n&&(i|=8),Dn("",i,void 0,void 0)}function Ot(n,i=0,s,l){return q.assert(!(i&7),"Argument out of range: flags"),q.assert((i&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Dn(n,3|i,s,l)}function Bn(n,i=0,s,l){q.assert(!(i&7),"Argument out of range: flags");let d=n?jp(n)?Vp(!1,s,n,l,An):`generated@${getNodeId(n)}`:"";(s||l)&&(i|=16);let v=Dn(d,4|i,s,l);return v.original=n,v}function Pn(n){let i=t.createBasePrivateIdentifierNode(81);return i.escapedText=n,i.transformFlags|=16777216,i}function Mt(n){return ml(n,"#")||q.fail("First character of private identifier must be #: "+n),Pn(La(n))}function ht(n,i,s,l){let d=Pn(La(n));return setIdentifierAutoGenerate(d,{flags:i,id:_l,prefix:s,suffix:l}),_l++,d}function $e(n,i,s){n&&!ml(n,"#")&&q.fail("First character of private identifier must be #: "+n);let l=8|(n?3:1);return ht(n??"",l,i,s)}function qn(n,i,s){let l=jp(n)?Vp(!0,i,n,s,An):`#generated@${getNodeId(n)}`,v=ht(l,4|(i||s?16:0),i,s);return v.original=n,v}function $t(n){return t.createBaseTokenNode(n)}function ot(n){q.assert(n>=0&&n<=166,"Invalid token"),q.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),q.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),q.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let i=$t(n),s=0;switch(n){case 134:s=384;break;case 160:s=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:s=1;break;case 108:s=134218752,i.flowNode=void 0;break;case 126:s=1024;break;case 129:s=16777216;break;case 110:s=16384,i.flowNode=void 0;break}return s&&(i.transformFlags|=s),i}function at(){return ot(108)}function Bt(){return ot(110)}function Lt(){return ot(106)}function ct(){return ot(112)}function ar(){return ot(97)}function dt(n){return ot(n)}function yn(n){let i=[];return n&32&&i.push(dt(95)),n&128&&i.push(dt(138)),n&2048&&i.push(dt(90)),n&4096&&i.push(dt(87)),n&1&&i.push(dt(125)),n&2&&i.push(dt(123)),n&4&&i.push(dt(124)),n&64&&i.push(dt(128)),n&256&&i.push(dt(126)),n&16&&i.push(dt(164)),n&8&&i.push(dt(148)),n&512&&i.push(dt(129)),n&1024&&i.push(dt(134)),n&8192&&i.push(dt(103)),n&16384&&i.push(dt(147)),i.length?i:void 0}function yt(n,i){let s=O(167);return s.left=n,s.right=et(i),s.transformFlags|=z(s.left)|ja(s.right),s.flowNode=void 0,s}function _n(n,i,s){return n.left!==i||n.right!==s?j(yt(i,s),n):n}function tt(n){let i=O(168);return i.expression=_().parenthesizeExpressionOfComputedPropertyName(n),i.transformFlags|=z(i.expression)|1024|131072,i}function qt(n,i){return n.expression!==i?j(tt(i),n):n}function tn(n,i,s,l){let d=ae(169);return d.modifiers=Pe(n),d.name=et(i),d.constraint=s,d.default=l,d.transformFlags=1,d.expression=void 0,d.jsDoc=void 0,d}function sr(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.constraint!==l||n.default!==d?j(tn(i,s,l,d),n):n}function mr(n,i,s,l,d,v){let F=ae(170);return F.modifiers=Pe(n),F.dotDotDotToken=i,F.name=et(s),F.questionToken=l,F.type=d,F.initializer=zi(v),U2(F.name)?F.transformFlags=1:F.transformFlags=ke(F.modifiers)|z(F.dotDotDotToken)|Ln(F.name)|z(F.questionToken)|z(F.initializer)|(F.questionToken??F.type?1:0)|(F.dotDotDotToken??F.initializer?1024:0)|(Jn(F.modifiers)&31?8192:0),F.jsDoc=void 0,F}function hr(n,i,s,l,d,v,F){return n.modifiers!==i||n.dotDotDotToken!==s||n.name!==l||n.questionToken!==d||n.type!==v||n.initializer!==F?j(mr(i,s,l,d,v,F),n):n}function Fn(n){let i=O(171);return i.expression=_().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=z(i.expression)|1|8192|33554432,i}function zn(n,i){return n.expression!==i?j(Fn(i),n):n}function Or(n,i,s,l){let d=ae(172);return d.modifiers=Pe(n),d.name=et(i),d.type=l,d.questionToken=s,d.transformFlags=1,d.initializer=void 0,d.jsDoc=void 0,d}function Vn(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.questionToken!==l||n.type!==d?Ce(Or(i,s,l,d),n):n}function Ce(n,i){return n!==i&&(n.initializer=i.initializer),j(n,i)}function yr(n,i,s,l,d){let v=ae(173);v.modifiers=Pe(n),v.name=et(i),v.questionToken=s&&Wd(s)?s:void 0,v.exclamationToken=s&&Vd(s)?s:void 0,v.type=l,v.initializer=zi(d);let F=v.flags&33554432||Jn(v.modifiers)&128;return v.transformFlags=ke(v.modifiers)|Ln(v.name)|z(v.initializer)|(F||v.questionToken||v.exclamationToken||v.type?1:0)|(kf(v.name)||Jn(v.modifiers)&256&&v.initializer?8192:0)|16777216,v.jsDoc=void 0,v}function L(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.questionToken!==(l!==void 0&&Wd(l)?l:void 0)||n.exclamationToken!==(l!==void 0&&Vd(l)?l:void 0)||n.type!==d||n.initializer!==v?j(yr(i,s,l,d,v),n):n}function se(n,i,s,l,d,v){let F=ae(174);return F.modifiers=Pe(n),F.name=et(i),F.questionToken=s,F.typeParameters=Pe(l),F.parameters=Pe(d),F.type=v,F.transformFlags=1,F.jsDoc=void 0,F.locals=void 0,F.nextContainer=void 0,F.typeArguments=void 0,F}function fe(n,i,s,l,d,v,F){return n.modifiers!==i||n.name!==s||n.questionToken!==l||n.typeParameters!==d||n.parameters!==v||n.type!==F?Oe(se(i,s,l,d,v,F),n):n}function Te(n,i,s,l,d,v,F,pe){let Fe=ae(175);if(Fe.modifiers=Pe(n),Fe.asteriskToken=i,Fe.name=et(s),Fe.questionToken=l,Fe.exclamationToken=void 0,Fe.typeParameters=Pe(d),Fe.parameters=de(v),Fe.type=F,Fe.body=pe,!Fe.body)Fe.transformFlags=1;else{let It=Jn(Fe.modifiers)&1024,fr=!!Fe.asteriskToken,xn=It&&fr;Fe.transformFlags=ke(Fe.modifiers)|z(Fe.asteriskToken)|Ln(Fe.name)|z(Fe.questionToken)|ke(Fe.typeParameters)|ke(Fe.parameters)|z(Fe.type)|z(Fe.body)&-67108865|(xn?128:It?256:fr?2048:0)|(Fe.questionToken||Fe.typeParameters||Fe.type?1:0)|1024}return Fe.typeArguments=void 0,Fe.jsDoc=void 0,Fe.locals=void 0,Fe.nextContainer=void 0,Fe.flowNode=void 0,Fe.endFlowNode=void 0,Fe.returnFlowNode=void 0,Fe}function He(n,i,s,l,d,v,F,pe,Fe){return n.modifiers!==i||n.asteriskToken!==s||n.name!==l||n.questionToken!==d||n.typeParameters!==v||n.parameters!==F||n.type!==pe||n.body!==Fe?Qe(Te(i,s,l,d,v,F,pe,Fe),n):n}function Qe(n,i){return n!==i&&(n.exclamationToken=i.exclamationToken),j(n,i)}function st(n){let i=ae(176);return i.body=n,i.transformFlags=z(n)|16777216,i.modifiers=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function Ct(n,i){return n.body!==i?Tt(st(i),n):n}function Tt(n,i){return n!==i&&(n.modifiers=i.modifiers),j(n,i)}function lt(n,i,s){let l=ae(177);return l.modifiers=Pe(n),l.parameters=de(i),l.body=s,l.body?l.transformFlags=ke(l.modifiers)|ke(l.parameters)|z(l.body)&-67108865|1024:l.transformFlags=1,l.typeParameters=void 0,l.type=void 0,l.typeArguments=void 0,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.endFlowNode=void 0,l.returnFlowNode=void 0,l}function Mr(n,i,s,l){return n.modifiers!==i||n.parameters!==s||n.body!==l?gr(lt(i,s,l),n):n}function gr(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),Oe(n,i)}function Nn(n,i,s,l,d){let v=ae(178);return v.modifiers=Pe(n),v.name=et(i),v.parameters=de(s),v.type=l,v.body=d,v.body?v.transformFlags=ke(v.modifiers)|Ln(v.name)|ke(v.parameters)|z(v.type)|z(v.body)&-67108865|(v.type?1:0):v.transformFlags=1,v.typeArguments=void 0,v.typeParameters=void 0,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.flowNode=void 0,v.endFlowNode=void 0,v.returnFlowNode=void 0,v}function Wn(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.parameters!==l||n.type!==d||n.body!==v?wi(Nn(i,s,l,d,v),n):n}function wi(n,i){return n!==i&&(n.typeParameters=i.typeParameters),Oe(n,i)}function U(n,i,s,l){let d=ae(179);return d.modifiers=Pe(n),d.name=et(i),d.parameters=de(s),d.body=l,d.body?d.transformFlags=ke(d.modifiers)|Ln(d.name)|ke(d.parameters)|z(d.body)&-67108865|(d.type?1:0):d.transformFlags=1,d.typeArguments=void 0,d.typeParameters=void 0,d.type=void 0,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d.endFlowNode=void 0,d.returnFlowNode=void 0,d}function K(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.parameters!==l||n.body!==d?Z(U(i,s,l,d),n):n}function Z(n,i){return n!==i&&(n.typeParameters=i.typeParameters,n.type=i.type),Oe(n,i)}function xe(n,i,s){let l=ae(180);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function Se(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Oe(xe(i,s,l),n):n}function we(n,i,s){let l=ae(181);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function me(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Oe(we(i,s,l),n):n}function Ve(n,i,s){let l=ae(182);return l.modifiers=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function Ze(n,i,s,l){return n.parameters!==s||n.type!==l||n.modifiers!==i?Oe(Ve(i,s,l),n):n}function Ye(n,i){let s=O(205);return s.type=n,s.literal=i,s.transformFlags=1,s}function Ee(n,i,s){return n.type!==i||n.literal!==s?j(Ye(i,s),n):n}function gn(n){return ot(n)}function rt(n,i,s){let l=O(183);return l.assertsModifier=n,l.parameterName=et(i),l.type=s,l.transformFlags=1,l}function on(n,i,s,l){return n.assertsModifier!==i||n.parameterName!==s||n.type!==l?j(rt(i,s,l),n):n}function Zr(n,i){let s=O(184);return s.typeName=et(n),s.typeArguments=i&&_().parenthesizeTypeArguments(de(i)),s.transformFlags=1,s}function M(n,i,s){return n.typeName!==i||n.typeArguments!==s?j(Zr(i,s),n):n}function Ue(n,i,s){let l=ae(185);return l.typeParameters=Pe(n),l.parameters=Pe(i),l.type=s,l.transformFlags=1,l.modifiers=void 0,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.typeArguments=void 0,l}function u(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?Ie(Ue(i,s,l),n):n}function Ie(n,i){return n!==i&&(n.modifiers=i.modifiers),Oe(n,i)}function Me(...n){return n.length===4?B(...n):n.length===3?Be(...n):q.fail("Incorrect number of arguments specified.")}function B(n,i,s,l){let d=ae(186);return d.modifiers=Pe(n),d.typeParameters=Pe(i),d.parameters=Pe(s),d.type=l,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.typeArguments=void 0,d}function Be(n,i,s){return B(void 0,n,i,s)}function nn(...n){return n.length===5?ze(...n):n.length===4?Xe(...n):q.fail("Incorrect number of arguments specified.")}function ze(n,i,s,l,d){return n.modifiers!==i||n.typeParameters!==s||n.parameters!==l||n.type!==d?Oe(Me(i,s,l,d),n):n}function Xe(n,i,s,l){return ze(n,n.modifiers,i,s,l)}function Dt(n,i){let s=O(187);return s.exprName=n,s.typeArguments=i&&_().parenthesizeTypeArguments(i),s.transformFlags=1,s}function wt(n,i,s){return n.exprName!==i||n.typeArguments!==s?j(Dt(i,s),n):n}function Pt(n){let i=ae(188);return i.members=de(n),i.transformFlags=1,i}function Ft(n,i){return n.members!==i?j(Pt(i),n):n}function Gn(n){let i=O(189);return i.elementType=_().parenthesizeNonArrayTypeOfPostfixType(n),i.transformFlags=1,i}function ki(n,i){return n.elementType!==i?j(Gn(i),n):n}function cn(n){let i=O(190);return i.elements=de(_().parenthesizeElementTypesOfTupleType(n)),i.transformFlags=1,i}function H(n,i){return n.elements!==i?j(cn(i),n):n}function le(n,i,s,l){let d=ae(203);return d.dotDotDotToken=n,d.name=i,d.questionToken=s,d.type=l,d.transformFlags=1,d.jsDoc=void 0,d}function qe(n,i,s,l,d){return n.dotDotDotToken!==i||n.name!==s||n.questionToken!==l||n.type!==d?j(le(i,s,l,d),n):n}function ve(n){let i=O(191);return i.type=_().parenthesizeTypeOfOptionalType(n),i.transformFlags=1,i}function J(n,i){return n.type!==i?j(ve(i),n):n}function mt(n){let i=O(192);return i.type=n,i.transformFlags=1,i}function xt(n,i){return n.type!==i?j(mt(i),n):n}function Jt(n,i,s){let l=O(n);return l.types=he.createNodeArray(s(i)),l.transformFlags=1,l}function ln(n,i,s){return n.types!==i?j(Jt(n.kind,i,s),n):n}function ql(n){return Jt(193,n,_().parenthesizeConstituentTypesOfUnionType)}function C_(n,i){return ln(n,i,_().parenthesizeConstituentTypesOfUnionType)}function Lr(n){return Jt(194,n,_().parenthesizeConstituentTypesOfIntersectionType)}function Le(n,i){return ln(n,i,_().parenthesizeConstituentTypesOfIntersectionType)}function pt(n,i,s,l){let d=O(195);return d.checkType=_().parenthesizeCheckTypeOfConditionalType(n),d.extendsType=_().parenthesizeExtendsTypeOfConditionalType(i),d.trueType=s,d.falseType=l,d.transformFlags=1,d.locals=void 0,d.nextContainer=void 0,d}function Fl(n,i,s,l,d){return n.checkType!==i||n.extendsType!==s||n.trueType!==l||n.falseType!==d?j(pt(i,s,l,d),n):n}function Yn(n){let i=O(196);return i.typeParameter=n,i.transformFlags=1,i}function zl(n,i){return n.typeParameter!==i?j(Yn(i),n):n}function Wt(n,i){let s=O(204);return s.head=n,s.templateSpans=de(i),s.transformFlags=1,s}function Vl(n,i,s){return n.head!==i||n.templateSpans!==s?j(Wt(i,s),n):n}function _r(n,i,s,l,d=!1){let v=O(206);return v.argument=n,v.attributes=i,v.assertions&&v.assertions.assertClause&&v.attributes&&(v.assertions.assertClause=v.attributes),v.qualifier=s,v.typeArguments=l&&_().parenthesizeTypeArguments(l),v.isTypeOf=d,v.transformFlags=1,v}function oa(n,i,s,l,d,v=n.isTypeOf){return n.argument!==i||n.attributes!==s||n.qualifier!==l||n.typeArguments!==d||n.isTypeOf!==v?j(_r(i,s,l,d,v),n):n}function Qt(n){let i=O(197);return i.type=n,i.transformFlags=1,i}function At(n,i){return n.type!==i?j(Qt(i),n):n}function P(){let n=O(198);return n.transformFlags=1,n}function Gt(n,i){let s=O(199);return s.operator=n,s.type=n===148?_().parenthesizeOperandOfReadonlyTypeOperator(i):_().parenthesizeOperandOfTypeOperator(i),s.transformFlags=1,s}function Jr(n,i){return n.type!==i?j(Gt(n.operator,i),n):n}function or(n,i){let s=O(200);return s.objectType=_().parenthesizeNonArrayTypeOfPostfixType(n),s.indexType=i,s.transformFlags=1,s}function Ka(n,i,s){return n.objectType!==i||n.indexType!==s?j(or(i,s),n):n}function gt(n,i,s,l,d,v){let F=ae(201);return F.readonlyToken=n,F.typeParameter=i,F.nameType=s,F.questionToken=l,F.type=d,F.members=v&&de(v),F.transformFlags=1,F.locals=void 0,F.nextContainer=void 0,F}function jt(n,i,s,l,d,v,F){return n.readonlyToken!==i||n.typeParameter!==s||n.nameType!==l||n.questionToken!==d||n.type!==v||n.members!==F?j(gt(i,s,l,d,v,F),n):n}function ei(n){let i=O(202);return i.literal=n,i.transformFlags=1,i}function br(n,i){return n.literal!==i?j(ei(i),n):n}function D_(n){let i=O(207);return i.elements=de(n),i.transformFlags|=ke(i.elements)|1024|524288,i.transformFlags&32768&&(i.transformFlags|=65664),i}function Wl(n,i){return n.elements!==i?j(D_(i),n):n}function jr(n){let i=O(208);return i.elements=de(n),i.transformFlags|=ke(i.elements)|1024|524288,i}function Gl(n,i){return n.elements!==i?j(jr(i),n):n}function ca(n,i,s,l){let d=ae(209);return d.dotDotDotToken=n,d.propertyName=et(i),d.name=et(s),d.initializer=zi(l),d.transformFlags|=z(d.dotDotDotToken)|Ln(d.propertyName)|Ln(d.name)|z(d.initializer)|(d.dotDotDotToken?32768:0)|1024,d.flowNode=void 0,d}function ti(n,i,s,l,d){return n.propertyName!==s||n.dotDotDotToken!==i||n.name!==l||n.initializer!==d?j(ca(i,s,l,d),n):n}function Za(n,i){let s=O(210),l=n&&Ba(n),d=de(n,l&&W1(l)?!0:void 0);return s.elements=_().parenthesizeExpressionsOfCommaDelimitedList(d),s.multiLine=i,s.transformFlags|=ke(s.elements),s}function P_(n,i){return n.elements!==i?j(Za(i,n.multiLine),n):n}function Ei(n,i){let s=ae(211);return s.properties=de(n),s.multiLine=i,s.transformFlags|=ke(s.properties),s.jsDoc=void 0,s}function Yl(n,i){return n.properties!==i?j(Ei(i,n.multiLine),n):n}function N_(n,i,s){let l=ae(212);return l.expression=n,l.questionDotToken=i,l.name=s,l.transformFlags=z(l.expression)|z(l.questionDotToken)|(Ke(l.name)?ja(l.name):z(l.name)|536870912),l.jsDoc=void 0,l.flowNode=void 0,l}function cr(n,i){let s=N_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,et(i));return Ap(n)&&(s.transformFlags|=384),s}function Hl(n,i,s){return Og(n)?la(n,i,n.questionDotToken,Er(s,Ke)):n.expression!==i||n.name!==s?j(cr(i,s),n):n}function Ai(n,i,s){let l=N_(_().parenthesizeLeftSideOfAccess(n,!0),i,et(s));return l.flags|=64,l.transformFlags|=32,l}function la(n,i,s,l){return q.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==i||n.questionDotToken!==s||n.name!==l?j(Ai(i,s,l),n):n}function I_(n,i,s){let l=ae(213);return l.expression=n,l.questionDotToken=i,l.argumentExpression=s,l.transformFlags|=z(l.expression)|z(l.questionDotToken)|z(l.argumentExpression),l.jsDoc=void 0,l.flowNode=void 0,l}function Ci(n,i){let s=I_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,wr(i));return Ap(n)&&(s.transformFlags|=384),s}function Xl(n,i,s){return Mg(n)?es(n,i,n.questionDotToken,s):n.expression!==i||n.argumentExpression!==s?j(Ci(i,s),n):n}function O_(n,i,s){let l=I_(_().parenthesizeLeftSideOfAccess(n,!0),i,wr(s));return l.flags|=64,l.transformFlags|=32,l}function es(n,i,s,l){return q.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==i||n.questionDotToken!==s||n.argumentExpression!==l?j(O_(i,s,l),n):n}function M_(n,i,s,l){let d=ae(214);return d.expression=n,d.questionDotToken=i,d.typeArguments=s,d.arguments=l,d.transformFlags|=z(d.expression)|z(d.questionDotToken)|ke(d.typeArguments)|ke(d.arguments),d.typeArguments&&(d.transformFlags|=1),Jd(d.expression)&&(d.transformFlags|=16384),d}function Di(n,i,s){let l=M_(_().parenthesizeLeftSideOfAccess(n,!1),void 0,Pe(i),_().parenthesizeExpressionsOfCommaDelimitedList(de(s)));return Bb(l.expression)&&(l.transformFlags|=8388608),l}function ua(n,i,s,l){return Dd(n)?L_(n,i,n.questionDotToken,s,l):n.expression!==i||n.typeArguments!==s||n.arguments!==l?j(Di(i,s,l),n):n}function ts(n,i,s,l){let d=M_(_().parenthesizeLeftSideOfAccess(n,!0),i,Pe(s),_().parenthesizeExpressionsOfCommaDelimitedList(de(l)));return d.flags|=64,d.transformFlags|=32,d}function L_(n,i,s,l,d){return q.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==i||n.questionDotToken!==s||n.typeArguments!==l||n.arguments!==d?j(ts(i,s,l,d),n):n}function bn(n,i,s){let l=ae(215);return l.expression=_().parenthesizeExpressionOfNew(n),l.typeArguments=Pe(i),l.arguments=s?_().parenthesizeExpressionsOfCommaDelimitedList(s):void 0,l.transformFlags|=z(l.expression)|ke(l.typeArguments)|ke(l.arguments)|32,l.typeArguments&&(l.transformFlags|=1),l}function ns(n,i,s,l){return n.expression!==i||n.typeArguments!==s||n.arguments!==l?j(bn(i,s,l),n):n}function pa(n,i,s){let l=O(216);return l.tag=_().parenthesizeLeftSideOfAccess(n,!1),l.typeArguments=Pe(i),l.template=s,l.transformFlags|=z(l.tag)|ke(l.typeArguments)|z(l.template)|1024,l.typeArguments&&(l.transformFlags|=1),R2(l.template)&&(l.transformFlags|=128),l}function J_(n,i,s,l){return n.tag!==i||n.typeArguments!==s||n.template!==l?j(pa(i,s,l),n):n}function j_(n,i){let s=O(217);return s.expression=_().parenthesizeOperandOfPrefixUnary(i),s.type=n,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function R_(n,i,s){return n.type!==i||n.expression!==s?j(j_(i,s),n):n}function rs(n){let i=O(218);return i.expression=n,i.transformFlags=z(i.expression),i.jsDoc=void 0,i}function U_(n,i){return n.expression!==i?j(rs(i),n):n}function is(n,i,s,l,d,v,F){let pe=ae(219);pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=et(s),pe.typeParameters=Pe(l),pe.parameters=de(d),pe.type=v,pe.body=F;let Fe=Jn(pe.modifiers)&1024,It=!!pe.asteriskToken,fr=Fe&&It;return pe.transformFlags=ke(pe.modifiers)|z(pe.asteriskToken)|Ln(pe.name)|ke(pe.typeParameters)|ke(pe.parameters)|z(pe.type)|z(pe.body)&-67108865|(fr?128:Fe?256:It?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304,pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.flowNode=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function B_(n,i,s,l,d,v,F,pe){return n.name!==l||n.modifiers!==i||n.asteriskToken!==s||n.typeParameters!==d||n.parameters!==v||n.type!==F||n.body!==pe?Oe(is(i,s,l,d,v,F,pe),n):n}function as(n,i,s,l,d,v){let F=ae(220);F.modifiers=Pe(n),F.typeParameters=Pe(i),F.parameters=de(s),F.type=l,F.equalsGreaterThanToken=d??ot(39),F.body=_().parenthesizeConciseBodyOfArrowFunction(v);let pe=Jn(F.modifiers)&1024;return F.transformFlags=ke(F.modifiers)|ke(F.typeParameters)|ke(F.parameters)|z(F.type)|z(F.equalsGreaterThanToken)|z(F.body)&-67108865|(F.typeParameters||F.type?1:0)|(pe?16640:0)|1024,F.typeArguments=void 0,F.jsDoc=void 0,F.locals=void 0,F.nextContainer=void 0,F.flowNode=void 0,F.endFlowNode=void 0,F.returnFlowNode=void 0,F}function q_(n,i,s,l,d,v,F){return n.modifiers!==i||n.typeParameters!==s||n.parameters!==l||n.type!==d||n.equalsGreaterThanToken!==v||n.body!==F?Oe(as(i,s,l,d,v,F),n):n}function F_(n){let i=O(221);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function z_(n,i){return n.expression!==i?j(F_(i),n):n}function fa(n){let i=O(222);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function un(n,i){return n.expression!==i?j(fa(i),n):n}function ss(n){let i=O(223);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression),i}function lr(n,i){return n.expression!==i?j(ss(i),n):n}function V_(n){let i=O(224);return i.expression=_().parenthesizeOperandOfPrefixUnary(n),i.transformFlags|=z(i.expression)|256|128|2097152,i}function Rr(n,i){return n.expression!==i?j(V_(i),n):n}function Ur(n,i){let s=O(225);return s.operator=n,s.operand=_().parenthesizeOperandOfPrefixUnary(i),s.transformFlags|=z(s.operand),(n===46||n===47)&&Ke(s.operand)&&!Ua(s.operand)&&!Yd(s.operand)&&(s.transformFlags|=268435456),s}function $l(n,i){return n.operand!==i?j(Ur(n.operator,i),n):n}function ni(n,i){let s=O(226);return s.operator=i,s.operand=_().parenthesizeOperandOfPostfixUnary(n),s.transformFlags|=z(s.operand),Ke(s.operand)&&!Ua(s.operand)&&!Yd(s.operand)&&(s.transformFlags|=268435456),s}function Ql(n,i){return n.operand!==i?j(ni(i,n.operator),n):n}function da(n,i,s){let l=ae(227),d=mp(i),v=d.kind;return l.left=_().parenthesizeLeftSideOfBinary(v,n),l.operatorToken=d,l.right=_().parenthesizeRightSideOfBinary(v,l.left,s),l.transformFlags|=z(l.left)|z(l.operatorToken)|z(l.right),v===61?l.transformFlags|=32:v===64?If(l.left)?l.transformFlags|=5248|W_(l.left):q1(l.left)&&(l.transformFlags|=5120|W_(l.left)):v===43||v===68?l.transformFlags|=512:X2(v)&&(l.transformFlags|=16),v===103&&gi(l.left)&&(l.transformFlags|=536870912),l.jsDoc=void 0,l}function W_(n){return _h(n)?65536:0}function Kl(n,i,s,l){return n.left!==i||n.operatorToken!==s||n.right!==l?j(da(i,s,l),n):n}function G_(n,i,s,l,d){let v=O(228);return v.condition=_().parenthesizeConditionOfConditionalExpression(n),v.questionToken=i??ot(58),v.whenTrue=_().parenthesizeBranchOfConditionalExpression(s),v.colonToken=l??ot(59),v.whenFalse=_().parenthesizeBranchOfConditionalExpression(d),v.transformFlags|=z(v.condition)|z(v.questionToken)|z(v.whenTrue)|z(v.colonToken)|z(v.whenFalse),v.flowNodeWhenFalse=void 0,v.flowNodeWhenTrue=void 0,v}function Y_(n,i,s,l,d,v){return n.condition!==i||n.questionToken!==s||n.whenTrue!==l||n.colonToken!==d||n.whenFalse!==v?j(G_(i,s,l,d,v),n):n}function H_(n,i){let s=O(229);return s.head=n,s.templateSpans=de(i),s.transformFlags|=z(s.head)|ke(s.templateSpans)|1024,s}function Hn(n,i,s){return n.head!==i||n.templateSpans!==s?j(H_(i,s),n):n}function Pi(n,i,s,l=0){q.assert(!(l&-7177),"Unsupported template flags.");let d;if(s!==void 0&&s!==i&&(d=Nb(n,s),typeof d=="object"))return q.fail("Invalid raw text");if(i===void 0){if(d===void 0)return q.fail("Arguments 'text' and 'rawText' may not both be undefined.");i=d}else d!==void 0&&q.assert(i===d,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return i}function X_(n){let i=1024;return n&&(i|=128),i}function Zl(n,i,s,l){let d=$t(n);return d.text=i,d.rawText=s,d.templateFlags=l&7176,d.transformFlags=X_(d.templateFlags),d}function ri(n,i,s,l){let d=ae(n);return d.text=i,d.rawText=s,d.templateFlags=l&7176,d.transformFlags=X_(d.templateFlags),d}function ii(n,i,s,l){return n===15?ri(n,i,s,l):Zl(n,i,s,l)}function $_(n,i,s){return n=Pi(16,n,i,s),ii(16,n,i,s)}function ma(n,i,s){return n=Pi(16,n,i,s),ii(17,n,i,s)}function _s(n,i,s){return n=Pi(16,n,i,s),ii(18,n,i,s)}function eu(n,i,s){return n=Pi(16,n,i,s),ri(15,n,i,s)}function os(n,i){q.assert(!n||!!i,"A `YieldExpression` with an asteriskToken must have an expression.");let s=O(230);return s.expression=i&&_().parenthesizeExpressionForDisallowedComma(i),s.asteriskToken=n,s.transformFlags|=z(s.expression)|z(s.asteriskToken)|1024|128|1048576,s}function tu(n,i,s){return n.expression!==s||n.asteriskToken!==i?j(os(i,s),n):n}function Q_(n){let i=O(231);return i.expression=_().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=z(i.expression)|1024|32768,i}function nu(n,i){return n.expression!==i?j(Q_(i),n):n}function K_(n,i,s,l,d){let v=ae(232);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),v.transformFlags|=ke(v.modifiers)|Ln(v.name)|ke(v.typeParameters)|ke(v.heritageClauses)|ke(v.members)|(v.typeParameters?1:0)|1024,v.jsDoc=void 0,v}function cs(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(K_(i,s,l,d,v),n):n}function ls(){return O(233)}function Z_(n,i){let s=O(234);return s.expression=_().parenthesizeLeftSideOfAccess(n,!1),s.typeArguments=i&&_().parenthesizeTypeArguments(i),s.transformFlags|=z(s.expression)|ke(s.typeArguments)|1024,s}function eo(n,i,s){return n.expression!==i||n.typeArguments!==s?j(Z_(i,s),n):n}function pn(n,i){let s=O(235);return s.expression=n,s.type=i,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function ha(n,i,s){return n.expression!==i||n.type!==s?j(pn(i,s),n):n}function to(n){let i=O(236);return i.expression=_().parenthesizeLeftSideOfAccess(n,!1),i.transformFlags|=z(i.expression)|1,i}function no(n,i){return Lg(n)?In(n,i):n.expression!==i?j(to(i),n):n}function us(n,i){let s=O(239);return s.expression=n,s.type=i,s.transformFlags|=z(s.expression)|z(s.type)|1,s}function ro(n,i,s){return n.expression!==i||n.type!==s?j(us(i,s),n):n}function ps(n){let i=O(236);return i.flags|=64,i.expression=_().parenthesizeLeftSideOfAccess(n,!0),i.transformFlags|=z(i.expression)|1,i}function In(n,i){return q.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==i?j(ps(i),n):n}function io(n,i){let s=O(237);switch(s.keywordToken=n,s.name=i,s.transformFlags|=z(s.name),n){case 105:s.transformFlags|=1024;break;case 102:s.transformFlags|=32;break;default:return q.assertNever(n)}return s.flowNode=void 0,s}function fs(n,i){return n.name!==i?j(io(n.keywordToken,i),n):n}function Xn(n,i){let s=O(240);return s.expression=n,s.literal=i,s.transformFlags|=z(s.expression)|z(s.literal)|1024,s}function ya(n,i,s){return n.expression!==i||n.literal!==s?j(Xn(i,s),n):n}function ao(){let n=O(241);return n.transformFlags|=1024,n}function Br(n,i){let s=O(242);return s.statements=de(n),s.multiLine=i,s.transformFlags|=ke(s.statements),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s}function ru(n,i){return n.statements!==i?j(Br(i,n.multiLine),n):n}function ds(n,i){let s=O(244);return s.modifiers=Pe(n),s.declarationList=$r(i)?vs(i):i,s.transformFlags|=ke(s.modifiers)|z(s.declarationList),Jn(s.modifiers)&128&&(s.transformFlags=1),s.jsDoc=void 0,s.flowNode=void 0,s}function so(n,i,s){return n.modifiers!==i||n.declarationList!==s?j(ds(i,s),n):n}function _o(){let n=O(243);return n.jsDoc=void 0,n}function Ni(n){let i=O(245);return i.expression=_().parenthesizeExpressionOfExpressionStatement(n),i.transformFlags|=z(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function oo(n,i){return n.expression!==i?j(Ni(i),n):n}function co(n,i,s){let l=O(246);return l.expression=n,l.thenStatement=$n(i),l.elseStatement=$n(s),l.transformFlags|=z(l.expression)|z(l.thenStatement)|z(l.elseStatement),l.jsDoc=void 0,l.flowNode=void 0,l}function lo(n,i,s,l){return n.expression!==i||n.thenStatement!==s||n.elseStatement!==l?j(co(i,s,l),n):n}function uo(n,i){let s=O(247);return s.statement=$n(n),s.expression=i,s.transformFlags|=z(s.statement)|z(s.expression),s.jsDoc=void 0,s.flowNode=void 0,s}function po(n,i,s){return n.statement!==i||n.expression!==s?j(uo(i,s),n):n}function fo(n,i){let s=O(248);return s.expression=n,s.statement=$n(i),s.transformFlags|=z(s.expression)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function iu(n,i,s){return n.expression!==i||n.statement!==s?j(fo(i,s),n):n}function mo(n,i,s,l){let d=O(249);return d.initializer=n,d.condition=i,d.incrementor=s,d.statement=$n(l),d.transformFlags|=z(d.initializer)|z(d.condition)|z(d.incrementor)|z(d.statement),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function ho(n,i,s,l,d){return n.initializer!==i||n.condition!==s||n.incrementor!==l||n.statement!==d?j(mo(i,s,l,d),n):n}function ms(n,i,s){let l=O(250);return l.initializer=n,l.expression=i,l.statement=$n(s),l.transformFlags|=z(l.initializer)|z(l.expression)|z(l.statement),l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l.flowNode=void 0,l}function au(n,i,s,l){return n.initializer!==i||n.expression!==s||n.statement!==l?j(ms(i,s,l),n):n}function yo(n,i,s,l){let d=O(251);return d.awaitModifier=n,d.initializer=i,d.expression=_().parenthesizeExpressionForDisallowedComma(s),d.statement=$n(l),d.transformFlags|=z(d.awaitModifier)|z(d.initializer)|z(d.expression)|z(d.statement)|1024,n&&(d.transformFlags|=128),d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d.flowNode=void 0,d}function su(n,i,s,l,d){return n.awaitModifier!==i||n.initializer!==s||n.expression!==l||n.statement!==d?j(yo(i,s,l,d),n):n}function go(n){let i=O(252);return i.label=et(n),i.transformFlags|=z(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function _u(n,i){return n.label!==i?j(go(i),n):n}function hs(n){let i=O(253);return i.label=et(n),i.transformFlags|=z(i.label)|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function bo(n,i){return n.label!==i?j(hs(i),n):n}function ys(n){let i=O(254);return i.expression=n,i.transformFlags|=z(i.expression)|128|4194304,i.jsDoc=void 0,i.flowNode=void 0,i}function ou(n,i){return n.expression!==i?j(ys(i),n):n}function gs(n,i){let s=O(255);return s.expression=n,s.statement=$n(i),s.transformFlags|=z(s.expression)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function vo(n,i,s){return n.expression!==i||n.statement!==s?j(gs(i,s),n):n}function bs(n,i){let s=O(256);return s.expression=_().parenthesizeExpressionForDisallowedComma(n),s.caseBlock=i,s.transformFlags|=z(s.expression)|z(s.caseBlock),s.jsDoc=void 0,s.flowNode=void 0,s.possiblyExhaustive=!1,s}function ai(n,i,s){return n.expression!==i||n.caseBlock!==s?j(bs(i,s),n):n}function To(n,i){let s=O(257);return s.label=et(n),s.statement=$n(i),s.transformFlags|=z(s.label)|z(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function xo(n,i,s){return n.label!==i||n.statement!==s?j(To(i,s),n):n}function So(n){let i=O(258);return i.expression=n,i.transformFlags|=z(i.expression),i.jsDoc=void 0,i.flowNode=void 0,i}function cu(n,i){return n.expression!==i?j(So(i),n):n}function wo(n,i,s){let l=O(259);return l.tryBlock=n,l.catchClause=i,l.finallyBlock=s,l.transformFlags|=z(l.tryBlock)|z(l.catchClause)|z(l.finallyBlock),l.jsDoc=void 0,l.flowNode=void 0,l}function lu(n,i,s,l){return n.tryBlock!==i||n.catchClause!==s||n.finallyBlock!==l?j(wo(i,s,l),n):n}function ko(){let n=O(260);return n.jsDoc=void 0,n.flowNode=void 0,n}function ga(n,i,s,l){let d=ae(261);return d.name=et(n),d.exclamationToken=i,d.type=s,d.initializer=zi(l),d.transformFlags|=Ln(d.name)|z(d.initializer)|(d.exclamationToken??d.type?1:0),d.jsDoc=void 0,d}function Eo(n,i,s,l,d){return n.name!==i||n.type!==l||n.exclamationToken!==s||n.initializer!==d?j(ga(i,s,l,d),n):n}function vs(n,i=0){let s=O(262);return s.flags|=i&7,s.declarations=de(n),s.transformFlags|=ke(s.declarations)|4194304,i&7&&(s.transformFlags|=263168),i&4&&(s.transformFlags|=4),s}function uu(n,i){return n.declarations!==i?j(vs(i,n.flags),n):n}function Ao(n,i,s,l,d,v,F){let pe=ae(263);if(pe.modifiers=Pe(n),pe.asteriskToken=i,pe.name=et(s),pe.typeParameters=Pe(l),pe.parameters=de(d),pe.type=v,pe.body=F,!pe.body||Jn(pe.modifiers)&128)pe.transformFlags=1;else{let Fe=Jn(pe.modifiers)&1024,It=!!pe.asteriskToken,fr=Fe&&It;pe.transformFlags=ke(pe.modifiers)|z(pe.asteriskToken)|Ln(pe.name)|ke(pe.typeParameters)|ke(pe.parameters)|z(pe.type)|z(pe.body)&-67108865|(fr?128:Fe?256:It?2048:0)|(pe.typeParameters||pe.type?1:0)|4194304}return pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function Ts(n,i,s,l,d,v,F,pe){return n.modifiers!==i||n.asteriskToken!==s||n.name!==l||n.typeParameters!==d||n.parameters!==v||n.type!==F||n.body!==pe?pu(Ao(i,s,l,d,v,F,pe),n):n}function pu(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),Oe(n,i)}function Co(n,i,s,l,d){let v=ae(264);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),Jn(v.modifiers)&128?v.transformFlags=1:(v.transformFlags|=ke(v.modifiers)|Ln(v.name)|ke(v.typeParameters)|ke(v.heritageClauses)|ke(v.members)|(v.typeParameters?1:0)|1024,v.transformFlags&8192&&(v.transformFlags|=1)),v.jsDoc=void 0,v}function ba(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(Co(i,s,l,d,v),n):n}function Do(n,i,s,l,d){let v=ae(265);return v.modifiers=Pe(n),v.name=et(i),v.typeParameters=Pe(s),v.heritageClauses=Pe(l),v.members=de(d),v.transformFlags=1,v.jsDoc=void 0,v}function Po(n,i,s,l,d,v){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.heritageClauses!==d||n.members!==v?j(Do(i,s,l,d,v),n):n}function _t(n,i,s,l){let d=ae(266);return d.modifiers=Pe(n),d.name=et(i),d.typeParameters=Pe(s),d.type=l,d.transformFlags=1,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function vr(n,i,s,l,d){return n.modifiers!==i||n.name!==s||n.typeParameters!==l||n.type!==d?j(_t(i,s,l,d),n):n}function xs(n,i,s){let l=ae(267);return l.modifiers=Pe(n),l.name=et(i),l.members=de(s),l.transformFlags|=ke(l.modifiers)|z(l.name)|ke(l.members)|1,l.transformFlags&=-67108865,l.jsDoc=void 0,l}function Tr(n,i,s,l){return n.modifiers!==i||n.name!==s||n.members!==l?j(xs(i,s,l),n):n}function No(n,i,s,l=0){let d=ae(268);return d.modifiers=Pe(n),d.flags|=l&2088,d.name=i,d.body=s,Jn(d.modifiers)&128?d.transformFlags=1:d.transformFlags|=ke(d.modifiers)|z(d.name)|z(d.body)|1,d.transformFlags&=-67108865,d.jsDoc=void 0,d.locals=void 0,d.nextContainer=void 0,d}function kt(n,i,s,l){return n.modifiers!==i||n.name!==s||n.body!==l?j(No(i,s,l,n.flags),n):n}function xr(n){let i=O(269);return i.statements=de(n),i.transformFlags|=ke(i.statements),i.jsDoc=void 0,i}function zt(n,i){return n.statements!==i?j(xr(i),n):n}function Io(n){let i=O(270);return i.clauses=de(n),i.transformFlags|=ke(i.clauses),i.locals=void 0,i.nextContainer=void 0,i}function fu(n,i){return n.clauses!==i?j(Io(i),n):n}function Oo(n){let i=ae(271);return i.name=et(n),i.transformFlags|=ja(i.name)|1,i.modifiers=void 0,i.jsDoc=void 0,i}function Mo(n,i){return n.name!==i?du(Oo(i),n):n}function du(n,i){return n!==i&&(n.modifiers=i.modifiers),j(n,i)}function Lo(n,i,s,l){let d=ae(272);return d.modifiers=Pe(n),d.name=et(s),d.isTypeOnly=i,d.moduleReference=l,d.transformFlags|=ke(d.modifiers)|ja(d.name)|z(d.moduleReference),Ff(d.moduleReference)||(d.transformFlags|=1),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Jo(n,i,s,l,d){return n.modifiers!==i||n.isTypeOnly!==s||n.name!==l||n.moduleReference!==d?j(Lo(i,s,l,d),n):n}function jo(n,i,s,l){let d=O(273);return d.modifiers=Pe(n),d.importClause=i,d.moduleSpecifier=s,d.attributes=d.assertClause=l,d.transformFlags|=z(d.importClause)|z(d.moduleSpecifier),d.transformFlags&=-67108865,d.jsDoc=void 0,d}function Ro(n,i,s,l,d){return n.modifiers!==i||n.importClause!==s||n.moduleSpecifier!==l||n.attributes!==d?j(jo(i,s,l,d),n):n}function Uo(n,i,s){let l=ae(274);return typeof n=="boolean"&&(n=n?156:void 0),l.isTypeOnly=n===156,l.phaseModifier=n,l.name=i,l.namedBindings=s,l.transformFlags|=z(l.name)|z(l.namedBindings),n===156&&(l.transformFlags|=1),l.transformFlags&=-67108865,l}function Bo(n,i,s,l){return typeof i=="boolean"&&(i=i?156:void 0),n.phaseModifier!==i||n.name!==s||n.namedBindings!==l?j(Uo(i,s,l),n):n}function Ss(n,i){let s=O(301);return s.elements=de(n),s.multiLine=i,s.token=132,s.transformFlags|=4,s}function mu(n,i,s){return n.elements!==i||n.multiLine!==s?j(Ss(i,s),n):n}function Ii(n,i){let s=O(302);return s.name=n,s.value=i,s.transformFlags|=4,s}function qo(n,i,s){return n.name!==i||n.value!==s?j(Ii(i,s),n):n}function ws(n,i){let s=O(303);return s.assertClause=n,s.multiLine=i,s}function Fo(n,i,s){return n.assertClause!==i||n.multiLine!==s?j(ws(i,s),n):n}function zo(n,i,s){let l=O(301);return l.token=s??118,l.elements=de(n),l.multiLine=i,l.transformFlags|=4,l}function ks(n,i,s){return n.elements!==i||n.multiLine!==s?j(zo(i,s,n.token),n):n}function Vo(n,i){let s=O(302);return s.name=n,s.value=i,s.transformFlags|=4,s}function Wo(n,i,s){return n.name!==i||n.value!==s?j(Vo(i,s),n):n}function Go(n){let i=ae(275);return i.name=n,i.transformFlags|=z(i.name),i.transformFlags&=-67108865,i}function hu(n,i){return n.name!==i?j(Go(i),n):n}function Yo(n){let i=ae(281);return i.name=n,i.transformFlags|=z(i.name)|32,i.transformFlags&=-67108865,i}function yu(n,i){return n.name!==i?j(Yo(i),n):n}function Ho(n){let i=O(276);return i.elements=de(n),i.transformFlags|=ke(i.elements),i.transformFlags&=-67108865,i}function Xo(n,i){return n.elements!==i?j(Ho(i),n):n}function Sr(n,i,s){let l=ae(277);return l.isTypeOnly=n,l.propertyName=i,l.name=s,l.transformFlags|=z(l.propertyName)|z(l.name),l.transformFlags&=-67108865,l}function gu(n,i,s,l){return n.isTypeOnly!==i||n.propertyName!==s||n.name!==l?j(Sr(i,s,l),n):n}function va(n,i,s){let l=ae(278);return l.modifiers=Pe(n),l.isExportEquals=i,l.expression=i?_().parenthesizeRightSideOfBinary(64,void 0,s):_().parenthesizeExpressionOfExportDefault(s),l.transformFlags|=ke(l.modifiers)|z(l.expression),l.transformFlags&=-67108865,l.jsDoc=void 0,l}function Oi(n,i,s){return n.modifiers!==i||n.expression!==s?j(va(i,n.isExportEquals,s),n):n}function Ta(n,i,s,l,d){let v=ae(279);return v.modifiers=Pe(n),v.isTypeOnly=i,v.exportClause=s,v.moduleSpecifier=l,v.attributes=v.assertClause=d,v.transformFlags|=ke(v.modifiers)|z(v.exportClause)|z(v.moduleSpecifier),v.transformFlags&=-67108865,v.jsDoc=void 0,v}function $o(n,i,s,l,d,v){return n.modifiers!==i||n.isTypeOnly!==s||n.exportClause!==l||n.moduleSpecifier!==d||n.attributes!==v?Mi(Ta(i,s,l,d,v),n):n}function Mi(n,i){return n!==i&&n.modifiers===i.modifiers&&(n.modifiers=i.modifiers),j(n,i)}function Es(n){let i=O(280);return i.elements=de(n),i.transformFlags|=ke(i.elements),i.transformFlags&=-67108865,i}function bu(n,i){return n.elements!==i?j(Es(i),n):n}function xa(n,i,s){let l=O(282);return l.isTypeOnly=n,l.propertyName=et(i),l.name=et(s),l.transformFlags|=z(l.propertyName)|z(l.name),l.transformFlags&=-67108865,l.jsDoc=void 0,l}function vu(n,i,s,l){return n.isTypeOnly!==i||n.propertyName!==s||n.name!==l?j(xa(i,s,l),n):n}function Tu(){let n=ae(283);return n.jsDoc=void 0,n}function As(n){let i=O(284);return i.expression=n,i.transformFlags|=z(i.expression),i.transformFlags&=-67108865,i}function xu(n,i){return n.expression!==i?j(As(i),n):n}function Qo(n){return O(n)}function Ko(n,i,s=!1){let l=Cs(n,s?i&&_().parenthesizeNonArrayTypeOfPostfixType(i):i);return l.postfix=s,l}function Cs(n,i){let s=O(n);return s.type=i,s}function Su(n,i,s){return i.type!==s?j(Ko(n,s,i.postfix),i):i}function wu(n,i,s){return i.type!==s?j(Cs(n,s),i):i}function Zo(n,i){let s=ae(318);return s.parameters=Pe(n),s.type=i,s.transformFlags=ke(s.parameters)|(s.type?1:0),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function ku(n,i,s){return n.parameters!==i||n.type!==s?j(Zo(i,s),n):n}function ec(n,i=!1){let s=ae(323);return s.jsDocPropertyTags=Pe(n),s.isArrayType=i,s}function Eu(n,i,s){return n.jsDocPropertyTags!==i||n.isArrayType!==s?j(ec(i,s),n):n}function tc(n){let i=O(310);return i.type=n,i}function Ds(n,i){return n.type!==i?j(tc(i),n):n}function nc(n,i,s){let l=ae(324);return l.typeParameters=Pe(n),l.parameters=de(i),l.type=s,l.jsDoc=void 0,l.locals=void 0,l.nextContainer=void 0,l}function Au(n,i,s,l){return n.typeParameters!==i||n.parameters!==s||n.type!==l?j(nc(i,s,l),n):n}function rn(n){let i=ol(n.kind);return n.tagName.escapedText===La(i)?n.tagName:We(i)}function vn(n,i,s){let l=O(n);return l.tagName=i,l.comment=s,l}function qr(n,i,s){let l=ae(n);return l.tagName=i,l.comment=s,l}function Ps(n,i,s,l){let d=vn(346,n??We("template"),l);return d.constraint=i,d.typeParameters=de(s),d}function rc(n,i=rn(n),s,l,d){return n.tagName!==i||n.constraint!==s||n.typeParameters!==l||n.comment!==d?j(Ps(i,s,l,d),n):n}function Sa(n,i,s,l){let d=qr(347,n??We("typedef"),l);return d.typeExpression=i,d.fullName=s,d.name=Hd(s),d.locals=void 0,d.nextContainer=void 0,d}function Cu(n,i=rn(n),s,l,d){return n.tagName!==i||n.typeExpression!==s||n.fullName!==l||n.comment!==d?j(Sa(i,s,l,d),n):n}function Ns(n,i,s,l,d,v){let F=qr(342,n??We("param"),v);return F.typeExpression=l,F.name=i,F.isNameFirst=!!d,F.isBracketed=s,F}function Du(n,i=rn(n),s,l,d,v,F){return n.tagName!==i||n.name!==s||n.isBracketed!==l||n.typeExpression!==d||n.isNameFirst!==v||n.comment!==F?j(Ns(i,s,l,d,v,F),n):n}function ic(n,i,s,l,d,v){let F=qr(349,n??We("prop"),v);return F.typeExpression=l,F.name=i,F.isNameFirst=!!d,F.isBracketed=s,F}function ac(n,i=rn(n),s,l,d,v,F){return n.tagName!==i||n.name!==s||n.isBracketed!==l||n.typeExpression!==d||n.isNameFirst!==v||n.comment!==F?j(ic(i,s,l,d,v,F),n):n}function sc(n,i,s,l){let d=qr(339,n??We("callback"),l);return d.typeExpression=i,d.fullName=s,d.name=Hd(s),d.locals=void 0,d.nextContainer=void 0,d}function _c(n,i=rn(n),s,l,d){return n.tagName!==i||n.typeExpression!==s||n.fullName!==l||n.comment!==d?j(sc(i,s,l,d),n):n}function oc(n,i,s){let l=vn(340,n??We("overload"),s);return l.typeExpression=i,l}function Is(n,i=rn(n),s,l){return n.tagName!==i||n.typeExpression!==s||n.comment!==l?j(oc(i,s,l),n):n}function Os(n,i,s){let l=vn(329,n??We("augments"),s);return l.class=i,l}function Li(n,i=rn(n),s,l){return n.tagName!==i||n.class!==s||n.comment!==l?j(Os(i,s,l),n):n}function cc(n,i,s){let l=vn(330,n??We("implements"),s);return l.class=i,l}function Fr(n,i,s){let l=vn(348,n??We("see"),s);return l.name=i,l}function wa(n,i,s,l){return n.tagName!==i||n.name!==s||n.comment!==l?j(Fr(i,s,l),n):n}function lc(n){let i=O(311);return i.name=n,i}function Pu(n,i){return n.name!==i?j(lc(i),n):n}function uc(n,i){let s=O(312);return s.left=n,s.right=i,s.transformFlags|=z(s.left)|z(s.right),s}function Nu(n,i,s){return n.left!==i||n.right!==s?j(uc(i,s),n):n}function pc(n,i){let s=O(325);return s.name=n,s.text=i,s}function fc(n,i,s){return n.name!==i?j(pc(i,s),n):n}function dc(n,i){let s=O(326);return s.name=n,s.text=i,s}function Iu(n,i,s){return n.name!==i?j(dc(i,s),n):n}function mc(n,i){let s=O(327);return s.name=n,s.text=i,s}function Ou(n,i,s){return n.name!==i?j(mc(i,s),n):n}function Mu(n,i=rn(n),s,l){return n.tagName!==i||n.class!==s||n.comment!==l?j(cc(i,s,l),n):n}function hc(n,i,s){return vn(n,i??We(ol(n)),s)}function Lu(n,i,s=rn(i),l){return i.tagName!==s||i.comment!==l?j(hc(n,s,l),i):i}function yc(n,i,s,l){let d=vn(n,i??We(ol(n)),l);return d.typeExpression=s,d}function Ju(n,i,s=rn(i),l,d){return i.tagName!==s||i.typeExpression!==l||i.comment!==d?j(yc(n,s,l,d),i):i}function gc(n,i){return vn(328,n,i)}function ju(n,i,s){return n.tagName!==i||n.comment!==s?j(gc(i,s),n):n}function bc(n,i,s){let l=qr(341,n??We(ol(341)),s);return l.typeExpression=i,l.locals=void 0,l.nextContainer=void 0,l}function Ms(n,i=rn(n),s,l){return n.tagName!==i||n.typeExpression!==s||n.comment!==l?j(bc(i,s,l),n):n}function vc(n,i,s,l,d){let v=vn(352,n??We("import"),d);return v.importClause=i,v.moduleSpecifier=s,v.attributes=l,v.comment=d,v}function Tc(n,i,s,l,d,v){return n.tagName!==i||n.comment!==v||n.importClause!==s||n.moduleSpecifier!==l||n.attributes!==d?j(vc(i,s,l,d,v),n):n}function Ls(n){let i=O(322);return i.text=n,i}function Ru(n,i){return n.text!==i?j(Ls(i),n):n}function Ji(n,i){let s=O(321);return s.comment=n,s.tags=Pe(i),s}function xc(n,i,s){return n.comment!==i||n.tags!==s?j(Ji(i,s),n):n}function Sc(n,i,s){let l=O(285);return l.openingElement=n,l.children=de(i),l.closingElement=s,l.transformFlags|=z(l.openingElement)|ke(l.children)|z(l.closingElement)|2,l}function Uu(n,i,s,l){return n.openingElement!==i||n.children!==s||n.closingElement!==l?j(Sc(i,s,l),n):n}function wc(n,i,s){let l=O(286);return l.tagName=n,l.typeArguments=Pe(i),l.attributes=s,l.transformFlags|=z(l.tagName)|ke(l.typeArguments)|z(l.attributes)|2,l.typeArguments&&(l.transformFlags|=1),l}function Bu(n,i,s,l){return n.tagName!==i||n.typeArguments!==s||n.attributes!==l?j(wc(i,s,l),n):n}function ka(n,i,s){let l=O(287);return l.tagName=n,l.typeArguments=Pe(i),l.attributes=s,l.transformFlags|=z(l.tagName)|ke(l.typeArguments)|z(l.attributes)|2,i&&(l.transformFlags|=1),l}function kc(n,i,s,l){return n.tagName!==i||n.typeArguments!==s||n.attributes!==l?j(ka(i,s,l),n):n}function Js(n){let i=O(288);return i.tagName=n,i.transformFlags|=z(i.tagName)|2,i}function js(n,i){return n.tagName!==i?j(Js(i),n):n}function Yt(n,i,s){let l=O(289);return l.openingFragment=n,l.children=de(i),l.closingFragment=s,l.transformFlags|=z(l.openingFragment)|ke(l.children)|z(l.closingFragment)|2,l}function Ec(n,i,s,l){return n.openingFragment!==i||n.children!==s||n.closingFragment!==l?j(Yt(i,s,l),n):n}function ji(n,i){let s=O(12);return s.text=n,s.containsOnlyTriviaWhiteSpaces=!!i,s.transformFlags|=2,s}function qu(n,i,s){return n.text!==i||n.containsOnlyTriviaWhiteSpaces!==s?j(ji(i,s),n):n}function Ac(){let n=O(290);return n.transformFlags|=2,n}function Cc(){let n=O(291);return n.transformFlags|=2,n}function Dc(n,i){let s=ae(292);return s.name=n,s.initializer=i,s.transformFlags|=z(s.name)|z(s.initializer)|2,s}function Fu(n,i,s){return n.name!==i||n.initializer!==s?j(Dc(i,s),n):n}function Ri(n){let i=ae(293);return i.properties=de(n),i.transformFlags|=ke(i.properties)|2,i}function zu(n,i){return n.properties!==i?j(Ri(i),n):n}function Pc(n){let i=O(294);return i.expression=n,i.transformFlags|=z(i.expression)|2,i}function Vu(n,i){return n.expression!==i?j(Pc(i),n):n}function Nc(n,i){let s=O(295);return s.dotDotDotToken=n,s.expression=i,s.transformFlags|=z(s.dotDotDotToken)|z(s.expression)|2,s}function Rs(n,i){return n.expression!==i?j(Nc(n.dotDotDotToken,i),n):n}function si(n,i){let s=O(296);return s.namespace=n,s.name=i,s.transformFlags|=z(s.namespace)|z(s.name)|2,s}function Wu(n,i,s){return n.namespace!==i||n.name!==s?j(si(i,s),n):n}function Ea(n,i){let s=O(297);return s.expression=_().parenthesizeExpressionForDisallowedComma(n),s.statements=de(i),s.transformFlags|=z(s.expression)|ke(s.statements),s.jsDoc=void 0,s}function Ic(n,i,s){return n.expression!==i||n.statements!==s?j(Ea(i,s),n):n}function Oc(n){let i=O(298);return i.statements=de(n),i.transformFlags=ke(i.statements),i}function Ui(n,i){return n.statements!==i?j(Oc(i),n):n}function Us(n,i){let s=O(299);switch(s.token=n,s.types=de(i),s.transformFlags|=ke(s.types),n){case 96:s.transformFlags|=1024;break;case 119:s.transformFlags|=1;break;default:return q.assertNever(n)}return s}function Gu(n,i){return n.types!==i?j(Us(n.token,i),n):n}function Mc(n,i){let s=O(300);return s.variableDeclaration=Tn(n),s.block=i,s.transformFlags|=z(s.variableDeclaration)|z(s.block)|(n?0:64),s.locals=void 0,s.nextContainer=void 0,s}function Lc(n,i,s){return n.variableDeclaration!==i||n.block!==s?j(Mc(i,s),n):n}function Aa(n,i){let s=ae(304);return s.name=et(n),s.initializer=_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=Ln(s.name)|z(s.initializer),s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function Bs(n,i,s){return n.name!==i||n.initializer!==s?_i(Aa(i,s),n):n}function _i(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken),j(n,i)}function Jc(n,i){let s=ae(305);return s.name=et(n),s.objectAssignmentInitializer=i&&_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=ja(s.name)|z(s.objectAssignmentInitializer)|1024,s.equalsToken=void 0,s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function Yu(n,i,s){return n.name!==i||n.objectAssignmentInitializer!==s?Hu(Jc(i,s),n):n}function Hu(n,i){return n!==i&&(n.modifiers=i.modifiers,n.questionToken=i.questionToken,n.exclamationToken=i.exclamationToken,n.equalsToken=i.equalsToken),j(n,i)}function jc(n){let i=ae(306);return i.expression=_().parenthesizeExpressionForDisallowedComma(n),i.transformFlags|=z(i.expression)|128|65536,i.jsDoc=void 0,i}function Rc(n,i){return n.expression!==i?j(jc(i),n):n}function qs(n,i){let s=ae(307);return s.name=et(n),s.initializer=i&&_().parenthesizeExpressionForDisallowedComma(i),s.transformFlags|=z(s.name)|z(s.initializer)|1,s.jsDoc=void 0,s}function On(n,i,s){return n.name!==i||n.initializer!==s?j(qs(i,s),n):n}function Uc(n,i,s){let l=t.createBaseSourceFileNode(308);return l.statements=de(n),l.endOfFileToken=i,l.flags|=s,l.text="",l.fileName="",l.path="",l.resolvedPath="",l.originalFileName="",l.languageVersion=1,l.languageVariant=0,l.scriptKind=0,l.isDeclarationFile=!1,l.hasNoDefaultLib=!1,l.transformFlags|=ke(l.statements)|z(l.endOfFileToken),l.locals=void 0,l.nextContainer=void 0,l.endFlowNode=void 0,l.nodeCount=0,l.identifierCount=0,l.symbolCount=0,l.parseDiagnostics=void 0,l.bindDiagnostics=void 0,l.bindSuggestionDiagnostics=void 0,l.lineMap=void 0,l.externalModuleIndicator=void 0,l.setExternalModuleIndicator=void 0,l.pragmas=void 0,l.checkJsDirective=void 0,l.referencedFiles=void 0,l.typeReferenceDirectives=void 0,l.libReferenceDirectives=void 0,l.amdDependencies=void 0,l.commentDirectives=void 0,l.identifiers=void 0,l.packageJsonLocations=void 0,l.packageJsonScope=void 0,l.imports=void 0,l.moduleAugmentations=void 0,l.ambientModuleNames=void 0,l.classifiableNames=void 0,l.impliedNodeFormat=void 0,l}function Bc(n){let i=Object.create(n.redirectTarget);return Object.defineProperties(i,{id:{get(){return this.redirectInfo.redirectTarget.id},set(s){this.redirectInfo.redirectTarget.id=s}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(s){this.redirectInfo.redirectTarget.symbol=s}}}),i.redirectInfo=n,i}function Xu(n){let i=Bc(n.redirectInfo);return i.flags|=n.flags&-17,i.fileName=n.fileName,i.path=n.path,i.resolvedPath=n.resolvedPath,i.originalFileName=n.originalFileName,i.packageJsonLocations=n.packageJsonLocations,i.packageJsonScope=n.packageJsonScope,i.emitNode=void 0,i}function $u(n){let i=t.createBaseSourceFileNode(308);i.flags|=n.flags&-17;for(let s in n)if(!(Dr(i,s)||!Dr(n,s))){if(s==="emitNode"){i.emitNode=void 0;continue}i[s]=n[s]}return i}function Fs(n){let i=n.redirectInfo?Xu(n):$u(n);return a(i,n),i}function zs(n,i,s,l,d,v,F){let pe=Fs(n);return pe.statements=de(i),pe.isDeclarationFile=s,pe.referencedFiles=l,pe.typeReferenceDirectives=d,pe.hasNoDefaultLib=v,pe.libReferenceDirectives=F,pe.transformFlags=ke(pe.statements)|z(pe.endOfFileToken),pe}function Qu(n,i,s=n.isDeclarationFile,l=n.referencedFiles,d=n.typeReferenceDirectives,v=n.hasNoDefaultLib,F=n.libReferenceDirectives){return n.statements!==i||n.isDeclarationFile!==s||n.referencedFiles!==l||n.typeReferenceDirectives!==d||n.hasNoDefaultLib!==v||n.libReferenceDirectives!==F?j(zs(n,i,s,l,d,v,F),n):n}function qc(n){let i=O(309);return i.sourceFiles=n,i.syntheticFileReferences=void 0,i.syntheticTypeReferences=void 0,i.syntheticLibReferences=void 0,i.hasNoDefaultLib=void 0,i}function Fc(n,i){return n.sourceFiles!==i?j(qc(i),n):n}function Ku(n,i=!1,s){let l=O(238);return l.type=n,l.isSpread=i,l.tupleNameSource=s,l}function Zu(n){let i=O(353);return i._children=n,i}function Ca(n){let i=O(354);return i.original=n,dn(i,n),i}function Vs(n,i){let s=O(356);return s.expression=n,s.original=i,s.transformFlags|=z(s.expression)|1,dn(s,i),s}function zc(n,i){return n.expression!==i?j(Vs(i,n.original),n):n}function ep(){return O(355)}function tp(n){if(Ja(n)&&!gl(n)&&!n.original&&!n.emitNode&&!n.id){if(e6(n))return n.elements;if(na(n)&&Rb(n.operatorToken))return[n.left,n.right]}return n}function Ws(n){let i=O(357);return i.elements=de(oy(n,tp)),i.transformFlags|=ke(i.elements),i}function np(n,i){return n.elements!==i?j(Ws(i),n):n}function Gs(n,i){let s=O(358);return s.expression=n,s.thisArg=i,s.transformFlags|=z(s.expression)|z(s.thisArg),s}function Vc(n,i,s){return n.expression!==i||n.thisArg!==s?j(Gs(i,s),n):n}function Wc(n){let i=hn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function rp(n){let i=hn(n.escapedText);i.flags|=n.flags&-17,i.jsDoc=n.jsDoc,i.flowNode=n.flowNode,i.symbol=n.symbol,i.transformFlags=n.transformFlags,a(i,n);let s=getIdentifierTypeArguments(n);return s&&setIdentifierTypeArguments(i,s),i}function ip(n){let i=Pn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),setIdentifierAutoGenerate(i,{...n.emitNode.autoGenerate}),i}function Gc(n){let i=Pn(n.escapedText);return i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n),i}function Da(n){if(n===void 0)return n;if(Z1(n))return Fs(n);if(Ua(n))return Wc(n);if(Ke(n))return rp(n);if(n1(n))return ip(n);if(gi(n))return Gc(n);let i=ff(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);i.flags|=n.flags&-17,i.transformFlags=n.transformFlags,a(i,n);for(let s in n)Dr(i,s)||!Dr(n,s)||(i[s]=n[s]);return i}function ap(n,i,s){return Di(is(void 0,void 0,void 0,void 0,i?[i]:[],void 0,Br(n,!0)),void 0,s?[s]:[])}function sp(n,i,s){return Di(as(void 0,void 0,i?[i]:[],void 0,void 0,Br(n,!0)),void 0,s?[s]:[])}function Bi(){return ss(V("0"))}function Yc(n){return va(void 0,!1,n)}function Hc(n){return Ta(void 0,!1,Es([xa(!1,void 0,n)]))}function _p(n,i){return i==="null"?he.createStrictEquality(n,Lt()):i==="undefined"?he.createStrictEquality(n,Bi()):he.createStrictEquality(fa(n),ft(i))}function Ys(n,i){return i==="null"?he.createStrictInequality(n,Lt()):i==="undefined"?he.createStrictInequality(n,Bi()):he.createStrictInequality(fa(n),ft(i))}function zr(n,i,s){return Dd(n)?ts(Ai(n,void 0,i),void 0,void 0,s):Di(cr(n,i),void 0,s)}function op(n,i,s){return zr(n,"bind",[i,...s])}function cp(n,i,s){return zr(n,"call",[i,...s])}function lp(n,i,s){return zr(n,"apply",[i,s])}function qi(n,i,s){return zr(We(n),i,s)}function up(n,i){return zr(n,"slice",i===void 0?[]:[wr(i)])}function Fi(n,i){return zr(n,"concat",i)}function pp(n,i,s){return qi("Object","defineProperty",[n,wr(i),s])}function Hs(n,i){return qi("Object","getOwnPropertyDescriptor",[n,wr(i)])}function oi(n,i,s){return qi("Reflect","get",s?[n,i,s]:[n,i])}function Xc(n,i,s,l){return qi("Reflect","set",l?[n,i,s,l]:[n,i,s])}function ci(n,i,s){return s?(n.push(Aa(i,s)),!0):!1}function fp(n,i){let s=[];ci(s,"enumerable",wr(n.enumerable)),ci(s,"configurable",wr(n.configurable));let l=ci(s,"writable",wr(n.writable));l=ci(s,"value",n.value)||l;let d=ci(s,"get",n.get);return d=ci(s,"set",n.set)||d,q.assert(!(l&&d),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ei(s,!i)}function $c(n,i){switch(n.kind){case 218:return U_(n,i);case 217:return R_(n,n.type,i);case 235:return ha(n,i,n.type);case 239:return ro(n,i,n.type);case 236:return no(n,i);case 234:return eo(n,i,n.typeArguments);case 356:return zc(n,i)}}function dp(n){return Dl(n)&&Ja(n)&&Ja(getSourceMapRange(n))&&Ja(getCommentRange(n))&&!Zt(getSyntheticLeadingComments(n))&&!Zt(getSyntheticTrailingComments(n))}function Qc(n,i,s=63){return n&&sh(n,s)&&!dp(n)?$c(n,Qc(n.expression,i)):i}function Kc(n,i,s){if(!i)return n;let l=xo(i,i.label,Y1(i.statement)?Kc(n,i.statement):n);return s&&s(i),l}function Xs(n,i){let s=vf(n);switch(s.kind){case 80:return i;case 110:case 9:case 10:case 11:return!1;case 210:return s.elements.length!==0;case 211:return s.properties.length>0;default:return!0}}function Zc(n,i,s,l=!1){let d=Vf(n,63),v,F;return Jd(d)?(v=Bt(),F=d):Ap(d)?(v=Bt(),F=s!==void 0&&s<2?dn(We("_super"),d):d):za(d)&8192?(v=Bi(),F=_().parenthesizeLeftSideOfAccess(d,!1)):dr(d)?Xs(d.expression,l)?(v=ir(i),F=cr(dn(he.createAssignment(v,d.expression),d.expression),d.name),dn(F,d)):(v=d.expression,F=d):Ha(d)?Xs(d.expression,l)?(v=ir(i),F=Ci(dn(he.createAssignment(v,d.expression),d.expression),d.argumentExpression),dn(F,d)):(v=d.expression,F=d):(v=Bi(),F=_().parenthesizeLeftSideOfAccess(n,!1)),{target:F,thisArg:v}}function el(n,i){return cr(rs(Ei([U(void 0,"value",[mr(void 0,void 0,n,void 0,void 0,void 0)],Br([Ni(i)]))])),"value")}function o(n){return n.length>10?Ws(n):gy(n,he.createComma)}function p(n,i,s,l=0,d){let v=d?n&&lf(n):Xm(n);if(v&&Ke(v)&&!Ua(v)){let F=Sf(dn(Da(v),v),v.parent);return l|=za(v),s||(l|=96),i||(l|=3072),l&&setEmitFlags(F,l),F}return Bn(n)}function m(n,i,s){return p(n,i,s,98304)}function g(n,i,s,l){return p(n,i,s,32768,l)}function b(n,i,s){return p(n,i,s,16384)}function N(n,i,s){return p(n,i,s)}function Q(n,i,s,l){let d=cr(n,Ja(i)?i:Da(i));dn(d,i);let v=0;return l||(v|=96),s||(v|=3072),v&&setEmitFlags(d,v),d}function _e(n,i,s,l){return n&&v_(i,32)?Q(n,p(i),s,l):b(i,s,l)}function ee(n,i,s,l){let d=je(n,i,0,s);return Je(n,i,d,l)}function te(n){return vi(n.expression)&&n.expression.text==="use strict"}function ce(){return T6(Ni(ft("use strict")))}function je(n,i,s=0,l){q.assert(i.length===0,"Prologue directives should be at the first statement in the target statements array");let d=!1,v=n.length;for(;spe&&It.splice(d,0,...i.slice(pe,Fe)),pe>F&&It.splice(l,0,...i.slice(F,pe)),F>v&&It.splice(s,0,...i.slice(v,F)),v>0)if(s===0)It.splice(0,0,...i.slice(0,v));else{let fr=new Map;for(let xn=0;xn=0;xn--){let Vi=i[xn];fr.has(Vi.expression.text)||It.unshift(Vi)}}return mi(n)?dn(de(It,n.hasTrailingComma),n):n}function pr(n,i){let s;return typeof i=="number"?s=yn(i):s=i,Ef(n)?sr(n,s,n.name,n.constraint,n.default):m_(n)?hr(n,s,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Nf(n)?ze(n,s,n.typeParameters,n.parameters,n.type):C1(n)?Vn(n,s,n.name,n.questionToken,n.type):Wa(n)?L(n,s,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):D1(n)?fe(n,s,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):h_(n)?He(n,s,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Af(n)?Mr(n,s,n.parameters,n.body):Tl(n)?Wn(n,s,n.name,n.parameters,n.type,n.body):y_(n)?K(n,s,n.name,n.parameters,n.body):Cf(n)?Ze(n,s,n.parameters,n.type):Mf(n)?B_(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Lf(n)?q_(n,s,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):xl(n)?cs(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):Xa(n)?so(n,s,n.declarationList):jf(n)?Ts(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Ga(n)?ba(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):T_(n)?Po(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):Nl(n)?vr(n,s,n.name,n.typeParameters,n.type):X1(n)?Tr(n,s,n.name,n.members):Ti(n)?kt(n,s,n.name,n.body):Rf(n)?Jo(n,s,n.isTypeOnly,n.name,n.moduleReference):Uf(n)?Ro(n,s,n.importClause,n.moduleSpecifier,n.attributes):Bf(n)?Oi(n,s,n.expression):qf(n)?$o(n,s,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.attributes):q.assertNever(n)}function Mn(n,i){return m_(n)?hr(n,i,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Wa(n)?L(n,i,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):h_(n)?He(n,i,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Tl(n)?Wn(n,i,n.name,n.parameters,n.type,n.body):y_(n)?K(n,i,n.name,n.parameters,n.body):xl(n)?cs(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):Ga(n)?ba(n,i,n.name,n.typeParameters,n.heritageClauses,n.members):q.assertNever(n)}function Vr(n,i){switch(n.kind){case 178:return Wn(n,n.modifiers,i,n.parameters,n.type,n.body);case 179:return K(n,n.modifiers,i,n.parameters,n.body);case 175:return He(n,n.modifiers,n.asteriskToken,i,n.questionToken,n.typeParameters,n.parameters,n.type,n.body);case 174:return fe(n,n.modifiers,i,n.questionToken,n.typeParameters,n.parameters,n.type);case 173:return L(n,n.modifiers,i,n.questionToken??n.exclamationToken,n.type,n.initializer);case 172:return Vn(n,n.modifiers,i,n.questionToken,n.type);case 304:return Bs(n,i,n.initializer)}}function Pe(n){return n?de(n):void 0}function et(n){return typeof n=="string"?We(n):n}function wr(n){return typeof n=="string"?ft(n):typeof n=="number"?V(n):typeof n=="boolean"?n?ct():ar():n}function zi(n){return n&&_().parenthesizeExpressionForDisallowedComma(n)}function mp(n){return typeof n=="number"?ot(n):n}function $n(n){return n&&t6(n)?dn(a(_o(),n),n):n}function Tn(n){return typeof n=="string"||n&&!Jf(n)?ga(n,void 0,void 0,void 0):n}function j(n,i){return n!==i&&(a(n,i),dn(n,i)),n}}function ol(e){switch(e){case 345:return"type";case 343:return"returns";case 344:return"this";case 341:return"enum";case 331:return"author";case 333:return"class";case 334:return"public";case 335:return"private";case 336:return"protected";case 337:return"readonly";case 338:return"override";case 346:return"template";case 347:return"typedef";case 342:return"param";case 349:return"prop";case 339:return"callback";case 340:return"overload";case 329:return"augments";case 330:return"implements";case 352:return"import";default:return q.fail(`Unsupported kind: ${q.formatSyntaxKind(e)}`)}}var Sn,Fd={};function Nb(e,t){switch(Sn||(Sn=sf(99,!1,0)),e){case 15:Sn.setText("`"+t+"`");break;case 16:Sn.setText("`"+t+"${");break;case 17:Sn.setText("}"+t+"${");break;case 18:Sn.setText("}"+t+"`");break}let a=Sn.scan();if(a===20&&(a=Sn.reScanTemplateToken(!1)),Sn.isUnterminated())return Sn.setText(void 0),Fd;let _;switch(a){case 15:case 16:case 17:case 18:_=Sn.getTokenValue();break}return _===void 0||Sn.scan()!==1?(Sn.setText(void 0),Fd):(Sn.setText(void 0),_)}function Ln(e){return e&&Ke(e)?ja(e):z(e)}function ja(e){return z(e)&-67108865}function Ib(e,t){return t|e.transformFlags&134234112}function z(e){if(!e)return 0;let t=e.transformFlags&~Ob(e.kind);return yg(e)&&r1(e.name)?Ib(e.name,t):t}function ke(e){return e?e.transformFlags:0}function zd(e){let t=0;for(let a of e)t|=z(a);e.transformFlags=t}function Ob(e){if(e>=183&&e<=206)return-2;switch(e){case 214:case 215:case 210:return-2147450880;case 268:return-1941676032;case 170:return-2147483648;case 220:return-2072174592;case 219:case 263:return-1937940480;case 262:return-2146893824;case 264:case 232:return-2147344384;case 177:return-1937948672;case 173:return-2013249536;case 175:case 178:case 179:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 169:case 172:case 174:case 180:case 181:case 182:case 265:case 266:return-2;case 211:return-2147278848;case 300:return-2147418112;case 207:case 208:return-2147450880;case 217:case 239:case 235:case 356:case 218:case 108:return-2147483648;case 212:case 213:return-2147483648;default:return-2147483648}}var Ks=Cb();function Zs(e){return e.flags|=16,e}var Mb={createBaseSourceFileNode:e=>Zs(Ks.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>Zs(Ks.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>Zs(Ks.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>Zs(Ks.createBaseTokenNode(e)),createBaseNode:e=>Zs(Ks.createBaseNode(e))},P3=wf(4,Mb);function Lb(e,t){if(e.original!==t&&(e.original=t,t)){let a=t.emitNode;a&&(e.emitNode=Jb(a,e.emitNode))}return e}function Jb(e,t){let{flags:a,internalFlags:_,leadingComments:f,trailingComments:h,commentRange:T,sourceMapRange:k,tokenSourceMapRanges:c,constantValue:W,helpers:y,startsOnNewLine:G,snippetElement:E,classThis:D,assignedName:R}=e;if(t||(t={}),a&&(t.flags=a),_&&(t.internalFlags=_&-9),f&&(t.leadingComments=En(f.slice(),t.leadingComments)),h&&(t.trailingComments=En(h.slice(),t.trailingComments)),T&&(t.commentRange=T),k&&(t.sourceMapRange=k),c&&(t.tokenSourceMapRanges=jb(c,t.tokenSourceMapRanges)),W!==void 0&&(t.constantValue=W),y)for(let ue of y)t.helpers=py(t.helpers,ue);return G!==void 0&&(t.startsOnNewLine=G),E!==void 0&&(t.snippetElement=E),D&&(t.classThis=D),R&&(t.assignedName=R),t}function jb(e,t){t||(t=[]);for(let a in e)t[a]=e[a];return t}function aa(e){return e.kind===9}function k1(e){return e.kind===10}function vi(e){return e.kind===11}function E1(e){return e.kind===15}function Rb(e){return e.kind===28}function Vd(e){return e.kind===54}function Wd(e){return e.kind===58}function Ke(e){return e.kind===80}function gi(e){return e.kind===81}function Ub(e){return e.kind===95}function cl(e){return e.kind===134}function Ap(e){return e.kind===108}function Bb(e){return e.kind===102}function A1(e){return e.kind===167}function kf(e){return e.kind===168}function Ef(e){return e.kind===169}function m_(e){return e.kind===170}function Cl(e){return e.kind===171}function C1(e){return e.kind===172}function Wa(e){return e.kind===173}function D1(e){return e.kind===174}function h_(e){return e.kind===175}function Af(e){return e.kind===177}function Tl(e){return e.kind===178}function y_(e){return e.kind===179}function P1(e){return e.kind===180}function N1(e){return e.kind===181}function Cf(e){return e.kind===182}function I1(e){return e.kind===183}function Df(e){return e.kind===184}function Pf(e){return e.kind===185}function Nf(e){return e.kind===186}function qb(e){return e.kind===187}function O1(e){return e.kind===188}function Fb(e){return e.kind===189}function zb(e){return e.kind===190}function M1(e){return e.kind===203}function Vb(e){return e.kind===191}function Wb(e){return e.kind===192}function L1(e){return e.kind===193}function J1(e){return e.kind===194}function Gb(e){return e.kind===195}function Yb(e){return e.kind===196}function j1(e){return e.kind===197}function Hb(e){return e.kind===198}function R1(e){return e.kind===199}function Xb(e){return e.kind===200}function U1(e){return e.kind===201}function $b(e){return e.kind===202}function Qb(e){return e.kind===206}function B1(e){return e.kind===209}function q1(e){return e.kind===210}function If(e){return e.kind===211}function dr(e){return e.kind===212}function Ha(e){return e.kind===213}function Of(e){return e.kind===214}function F1(e){return e.kind===216}function Dl(e){return e.kind===218}function Mf(e){return e.kind===219}function Lf(e){return e.kind===220}function Kb(e){return e.kind===223}function z1(e){return e.kind===225}function na(e){return e.kind===227}function V1(e){return e.kind===231}function xl(e){return e.kind===232}function W1(e){return e.kind===233}function G1(e){return e.kind===234}function fl(e){return e.kind===236}function Zb(e){return e.kind===237}function e6(e){return e.kind===357}function Xa(e){return e.kind===244}function Pl(e){return e.kind===245}function Y1(e){return e.kind===257}function Jf(e){return e.kind===261}function H1(e){return e.kind===262}function jf(e){return e.kind===263}function Ga(e){return e.kind===264}function T_(e){return e.kind===265}function Nl(e){return e.kind===266}function X1(e){return e.kind===267}function Ti(e){return e.kind===268}function Rf(e){return e.kind===272}function Uf(e){return e.kind===273}function Bf(e){return e.kind===278}function qf(e){return e.kind===279}function $1(e){return e.kind===280}function t6(e){return e.kind===354}function Ff(e){return e.kind===284}function Fp(e){return e.kind===287}function n6(e){return e.kind===290}function Q1(e){return e.kind===296}function r6(e){return e.kind===298}function K1(e){return e.kind===304}function Z1(e){return e.kind===308}function eh(e){return e.kind===310}function th(e){return e.kind===315}function nh(e){return e.kind===318}function rh(e){return e.kind===321}function i6(e){return e.kind===323}function Il(e){return e.kind===324}function a6(e){return e.kind===329}function s6(e){return e.kind===334}function _6(e){return e.kind===335}function o6(e){return e.kind===336}function c6(e){return e.kind===337}function l6(e){return e.kind===338}function u6(e){return e.kind===340}function p6(e){return e.kind===332}function zp(e){return e.kind===342}function f6(e){return e.kind===343}function zf(e){return e.kind===345}function ih(e){return e.kind===346}function d6(e){return e.kind===330}function m6(e){return e.kind===351}var ea=new WeakMap;function ah(e,t){var a;let _=e.kind;return ff(_)?_===353?e._children:(a=ea.get(t))==null?void 0:a.get(e):vt}function h6(e,t,a){e.kind===353&&q.fail("Should not need to re-set the children of a SyntaxList.");let _=ea.get(t);return _===void 0&&(_=new WeakMap,ea.set(t,_)),_.set(e,a),a}function Gd(e,t){var a;e.kind===353&&q.fail("Did not expect to unset the children of a SyntaxList."),(a=ea.get(t))==null||a.delete(e)}function y6(e,t){let a=ea.get(e);a!==void 0&&(ea.delete(e),ea.set(t,a))}function Yd(e){return(za(e)&32768)!==0}function g6(e){return vi(e.expression)&&e.expression.text==="use strict"}function b6(e){for(let t of e)if(pl(t)){if(g6(t))return t}else break}function v6(e){return Dl(e)&&ia(e)&&!!Ng(e)}function sh(e,t=63){switch(e.kind){case 218:return t&-2147483648&&v6(e)?!1:(t&1)!==0;case 217:case 235:return(t&2)!==0;case 239:return(t&34)!==0;case 234:return(t&16)!==0;case 236:return(t&4)!==0;case 356:return(t&8)!==0}return!1}function Vf(e,t=63){for(;sh(e,t);)e=e.expression;return e}function T6(e){return setStartsOnNewLine(e,!0)}function i_(e){if(Yg(e))return e.name;if(Vg(e)){switch(e.kind){case 304:return i_(e.initializer);case 305:return e.name;case 306:return i_(e.expression)}return}return vl(e,!0)?i_(e.left):V1(e)?i_(e.expression):e}function x6(e){switch(e.kind){case 207:case 208:case 210:return e.elements;case 211:return e.properties}}function Hd(e){if(e){let t=e;for(;;){if(Ke(t)||!t.body)return Ke(t)?t:t.name;t=t.body}}}var Xd;(e=>{function t(y,G,E,D,R,ue,be){let he=G>0?R[G-1]:void 0;return q.assertEqual(E[G],t),R[G]=y.onEnter(D[G],he,be),E[G]=k(y,t),G}e.enter=t;function a(y,G,E,D,R,ue,be){q.assertEqual(E[G],a),q.assertIsDefined(y.onLeft),E[G]=k(y,a);let he=y.onLeft(D[G].left,R[G],D[G]);return he?(W(G,D,he),c(G,E,D,R,he)):G}e.left=a;function _(y,G,E,D,R,ue,be){return q.assertEqual(E[G],_),q.assertIsDefined(y.onOperator),E[G]=k(y,_),y.onOperator(D[G].operatorToken,R[G],D[G]),G}e.operator=_;function f(y,G,E,D,R,ue,be){q.assertEqual(E[G],f),q.assertIsDefined(y.onRight),E[G]=k(y,f);let he=y.onRight(D[G].right,R[G],D[G]);return he?(W(G,D,he),c(G,E,D,R,he)):G}e.right=f;function h(y,G,E,D,R,ue,be){q.assertEqual(E[G],h),E[G]=k(y,h);let he=y.onExit(D[G],R[G]);if(G>0){if(G--,y.foldState){let de=E[G]===h?"right":"left";R[G]=y.foldState(R[G],he,de)}}else ue.value=he;return G}e.exit=h;function T(y,G,E,D,R,ue,be){return q.assertEqual(E[G],T),G}e.done=T;function k(y,G){switch(G){case t:if(y.onLeft)return a;case a:if(y.onOperator)return _;case _:if(y.onRight)return f;case f:return h;case h:return T;case T:return T;default:q.fail("Invalid state")}}e.nextState=k;function c(y,G,E,D,R){return y++,G[y]=t,E[y]=R,D[y]=void 0,y}function W(y,G,E){if(q.shouldAssert(2))for(;y>=0;)q.assert(G[y]!==E,"Circular traversal detected."),y--}})(Xd||(Xd={}));function $d(e,t){return typeof e=="object"?Vp(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function S6(e,t){return typeof e=="string"?e:w6(e,q.checkDefined(t))}function w6(e,t){return n1(e)?t(e).slice(1):Ua(e)?t(e):gi(e)?e.escapedText.slice(1):An(e)}function Vp(e,t,a,_,f){return t=$d(t,f),_=$d(_,f),a=S6(a,f),`${e?"#":""}${t}${a}${_}`}function _h(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of x6(e)){let a=i_(t);if(a&&Gg(a)&&(a.transformFlags&65536||a.transformFlags&128&&_h(a)))return!0}return!1}function dn(e,t){return t?yi(e,t.pos,t.end):e}function Ol(e){let t=e.kind;return t===169||t===170||t===172||t===173||t===174||t===175||t===177||t===178||t===179||t===182||t===186||t===219||t===220||t===232||t===244||t===263||t===264||t===265||t===266||t===267||t===268||t===272||t===273||t===278||t===279}function Wf(e){let t=e.kind;return t===170||t===173||t===175||t===178||t===179||t===232||t===264}var Qd,Kd,Zd,em,tm,k6={createBaseSourceFileNode:e=>new(tm||(tm=Et.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Zd||(Zd=Et.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(em||(em=Et.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Kd||(Kd=Et.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(Qd||(Qd=Et.getNodeConstructor()))(e,-1,-1)},N3=wf(1,k6);function S(e,t){return t&&e(t)}function ie(e,t,a){if(a){if(t)return t(a);for(let _ of a){let f=e(_);if(f)return f}}}function E6(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function A6(e){return jn(e.statements,C6)||D6(e)}function C6(e){return Ol(e)&&P6(e,95)||Rf(e)&&Ff(e.moduleReference)||Uf(e)||Bf(e)||qf(e)?e:void 0}function D6(e){return e.flags&8388608?oh(e):void 0}function oh(e){return N6(e)?e:Xt(e,oh)}function P6(e,t){return Zt(e.modifiers,a=>a.kind===t)}function N6(e){return Zb(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var I6={167:function(t,a,_){return S(a,t.left)||S(a,t.right)},169:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.constraint)||S(a,t.default)||S(a,t.expression)},305:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.equalsToken)||S(a,t.objectAssignmentInitializer)},306:function(t,a,_){return S(a,t.expression)},170:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},173:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},172:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)||S(a,t.initializer)},304:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||S(a,t.initializer)},261:function(t,a,_){return S(a,t.name)||S(a,t.exclamationToken)||S(a,t.type)||S(a,t.initializer)},209:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.propertyName)||S(a,t.name)||S(a,t.initializer)},182:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},186:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},185:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},180:nm,181:nm,175:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.exclamationToken)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},174:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.questionToken)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)},177:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},178:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},179:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},263:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},219:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.asteriskToken)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.body)},220:function(t,a,_){return ie(a,_,t.modifiers)||ie(a,_,t.typeParameters)||ie(a,_,t.parameters)||S(a,t.type)||S(a,t.equalsGreaterThanToken)||S(a,t.body)},176:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.body)},184:function(t,a,_){return S(a,t.typeName)||ie(a,_,t.typeArguments)},183:function(t,a,_){return S(a,t.assertsModifier)||S(a,t.parameterName)||S(a,t.type)},187:function(t,a,_){return S(a,t.exprName)||ie(a,_,t.typeArguments)},188:function(t,a,_){return ie(a,_,t.members)},189:function(t,a,_){return S(a,t.elementType)},190:function(t,a,_){return ie(a,_,t.elements)},193:rm,194:rm,195:function(t,a,_){return S(a,t.checkType)||S(a,t.extendsType)||S(a,t.trueType)||S(a,t.falseType)},196:function(t,a,_){return S(a,t.typeParameter)},206:function(t,a,_){return S(a,t.argument)||S(a,t.attributes)||S(a,t.qualifier)||ie(a,_,t.typeArguments)},303:function(t,a,_){return S(a,t.assertClause)},197:im,199:im,200:function(t,a,_){return S(a,t.objectType)||S(a,t.indexType)},201:function(t,a,_){return S(a,t.readonlyToken)||S(a,t.typeParameter)||S(a,t.nameType)||S(a,t.questionToken)||S(a,t.type)||ie(a,_,t.members)},202:function(t,a,_){return S(a,t.literal)},203:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.name)||S(a,t.questionToken)||S(a,t.type)},207:am,208:am,210:function(t,a,_){return ie(a,_,t.elements)},211:function(t,a,_){return ie(a,_,t.properties)},212:function(t,a,_){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.name)},213:function(t,a,_){return S(a,t.expression)||S(a,t.questionDotToken)||S(a,t.argumentExpression)},214:sm,215:sm,216:function(t,a,_){return S(a,t.tag)||S(a,t.questionDotToken)||ie(a,_,t.typeArguments)||S(a,t.template)},217:function(t,a,_){return S(a,t.type)||S(a,t.expression)},218:function(t,a,_){return S(a,t.expression)},221:function(t,a,_){return S(a,t.expression)},222:function(t,a,_){return S(a,t.expression)},223:function(t,a,_){return S(a,t.expression)},225:function(t,a,_){return S(a,t.operand)},230:function(t,a,_){return S(a,t.asteriskToken)||S(a,t.expression)},224:function(t,a,_){return S(a,t.expression)},226:function(t,a,_){return S(a,t.operand)},227:function(t,a,_){return S(a,t.left)||S(a,t.operatorToken)||S(a,t.right)},235:function(t,a,_){return S(a,t.expression)||S(a,t.type)},236:function(t,a,_){return S(a,t.expression)},239:function(t,a,_){return S(a,t.expression)||S(a,t.type)},237:function(t,a,_){return S(a,t.name)},228:function(t,a,_){return S(a,t.condition)||S(a,t.questionToken)||S(a,t.whenTrue)||S(a,t.colonToken)||S(a,t.whenFalse)},231:function(t,a,_){return S(a,t.expression)},242:_m,269:_m,308:function(t,a,_){return ie(a,_,t.statements)||S(a,t.endOfFileToken)},244:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.declarationList)},262:function(t,a,_){return ie(a,_,t.declarations)},245:function(t,a,_){return S(a,t.expression)},246:function(t,a,_){return S(a,t.expression)||S(a,t.thenStatement)||S(a,t.elseStatement)},247:function(t,a,_){return S(a,t.statement)||S(a,t.expression)},248:function(t,a,_){return S(a,t.expression)||S(a,t.statement)},249:function(t,a,_){return S(a,t.initializer)||S(a,t.condition)||S(a,t.incrementor)||S(a,t.statement)},250:function(t,a,_){return S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},251:function(t,a,_){return S(a,t.awaitModifier)||S(a,t.initializer)||S(a,t.expression)||S(a,t.statement)},252:om,253:om,254:function(t,a,_){return S(a,t.expression)},255:function(t,a,_){return S(a,t.expression)||S(a,t.statement)},256:function(t,a,_){return S(a,t.expression)||S(a,t.caseBlock)},270:function(t,a,_){return ie(a,_,t.clauses)},297:function(t,a,_){return S(a,t.expression)||ie(a,_,t.statements)},298:function(t,a,_){return ie(a,_,t.statements)},257:function(t,a,_){return S(a,t.label)||S(a,t.statement)},258:function(t,a,_){return S(a,t.expression)},259:function(t,a,_){return S(a,t.tryBlock)||S(a,t.catchClause)||S(a,t.finallyBlock)},300:function(t,a,_){return S(a,t.variableDeclaration)||S(a,t.block)},171:function(t,a,_){return S(a,t.expression)},264:cm,232:cm,265:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||ie(a,_,t.heritageClauses)||ie(a,_,t.members)},266:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.typeParameters)||S(a,t.type)},267:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||ie(a,_,t.members)},307:function(t,a,_){return S(a,t.name)||S(a,t.initializer)},268:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.body)},272:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)||S(a,t.moduleReference)},273:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.importClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},274:function(t,a,_){return S(a,t.name)||S(a,t.namedBindings)},301:function(t,a,_){return ie(a,_,t.elements)},302:function(t,a,_){return S(a,t.name)||S(a,t.value)},271:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.name)},275:function(t,a,_){return S(a,t.name)},281:function(t,a,_){return S(a,t.name)},276:lm,280:lm,279:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.exportClause)||S(a,t.moduleSpecifier)||S(a,t.attributes)},277:um,282:um,278:function(t,a,_){return ie(a,_,t.modifiers)||S(a,t.expression)},229:function(t,a,_){return S(a,t.head)||ie(a,_,t.templateSpans)},240:function(t,a,_){return S(a,t.expression)||S(a,t.literal)},204:function(t,a,_){return S(a,t.head)||ie(a,_,t.templateSpans)},205:function(t,a,_){return S(a,t.type)||S(a,t.literal)},168:function(t,a,_){return S(a,t.expression)},299:function(t,a,_){return ie(a,_,t.types)},234:function(t,a,_){return S(a,t.expression)||ie(a,_,t.typeArguments)},284:function(t,a,_){return S(a,t.expression)},283:function(t,a,_){return ie(a,_,t.modifiers)},357:function(t,a,_){return ie(a,_,t.elements)},285:function(t,a,_){return S(a,t.openingElement)||ie(a,_,t.children)||S(a,t.closingElement)},289:function(t,a,_){return S(a,t.openingFragment)||ie(a,_,t.children)||S(a,t.closingFragment)},286:pm,287:pm,293:function(t,a,_){return ie(a,_,t.properties)},292:function(t,a,_){return S(a,t.name)||S(a,t.initializer)},294:function(t,a,_){return S(a,t.expression)},295:function(t,a,_){return S(a,t.dotDotDotToken)||S(a,t.expression)},288:function(t,a,_){return S(a,t.tagName)},296:function(t,a,_){return S(a,t.namespace)||S(a,t.name)},191:Hi,192:Hi,310:Hi,316:Hi,315:Hi,317:Hi,319:Hi,318:function(t,a,_){return ie(a,_,t.parameters)||S(a,t.type)},321:function(t,a,_){return(typeof t.comment=="string"?void 0:ie(a,_,t.comment))||ie(a,_,t.tags)},348:function(t,a,_){return S(a,t.tagName)||S(a,t.name)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},311:function(t,a,_){return S(a,t.name)},312:function(t,a,_){return S(a,t.left)||S(a,t.right)},342:fm,349:fm,331:function(t,a,_){return S(a,t.tagName)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},330:function(t,a,_){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},329:function(t,a,_){return S(a,t.tagName)||S(a,t.class)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},346:function(t,a,_){return S(a,t.tagName)||S(a,t.constraint)||ie(a,_,t.typeParameters)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},347:function(t,a,_){return S(a,t.tagName)||(t.typeExpression&&t.typeExpression.kind===310?S(a,t.typeExpression)||S(a,t.fullName)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment)):S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment)))},339:function(t,a,_){return S(a,t.tagName)||S(a,t.fullName)||S(a,t.typeExpression)||(typeof t.comment=="string"?void 0:ie(a,_,t.comment))},343:Xi,345:Xi,344:Xi,341:Xi,351:Xi,350:Xi,340:Xi,324:function(t,a,_){return jn(t.typeParameters,a)||jn(t.parameters,a)||S(a,t.type)},325:Cp,326:Cp,327:Cp,323:function(t,a,_){return jn(t.jsDocPropertyTags,a)},328:ui,333:ui,334:ui,335:ui,336:ui,337:ui,332:ui,338:ui,352:O6,356:M6};function nm(e,t,a){return ie(t,a,e.typeParameters)||ie(t,a,e.parameters)||S(t,e.type)}function rm(e,t,a){return ie(t,a,e.types)}function im(e,t,a){return S(t,e.type)}function am(e,t,a){return ie(t,a,e.elements)}function sm(e,t,a){return S(t,e.expression)||S(t,e.questionDotToken)||ie(t,a,e.typeArguments)||ie(t,a,e.arguments)}function _m(e,t,a){return ie(t,a,e.statements)}function om(e,t,a){return S(t,e.label)}function cm(e,t,a){return ie(t,a,e.modifiers)||S(t,e.name)||ie(t,a,e.typeParameters)||ie(t,a,e.heritageClauses)||ie(t,a,e.members)}function lm(e,t,a){return ie(t,a,e.elements)}function um(e,t,a){return S(t,e.propertyName)||S(t,e.name)}function pm(e,t,a){return S(t,e.tagName)||ie(t,a,e.typeArguments)||S(t,e.attributes)}function Hi(e,t,a){return S(t,e.type)}function fm(e,t,a){return S(t,e.tagName)||(e.isNameFirst?S(t,e.name)||S(t,e.typeExpression):S(t,e.typeExpression)||S(t,e.name))||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Xi(e,t,a){return S(t,e.tagName)||S(t,e.typeExpression)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function Cp(e,t,a){return S(t,e.name)}function ui(e,t,a){return S(t,e.tagName)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function O6(e,t,a){return S(t,e.tagName)||S(t,e.importClause)||S(t,e.moduleSpecifier)||S(t,e.attributes)||(typeof e.comment=="string"?void 0:ie(t,a,e.comment))}function M6(e,t,a){return S(t,e.expression)}function Xt(e,t,a){if(e===void 0||e.kind<=166)return;let _=I6[e.kind];return _===void 0?void 0:_(e,t,a)}function dm(e,t,a){let _=mm(e),f=[];for(;f.length<_.length;)f.push(e);for(;_.length!==0;){let h=_.pop(),T=f.pop();if($r(h)){if(a){let k=a(h,T);if(k){if(k==="skip")continue;return k}}for(let k=h.length-1;k>=0;--k)_.push(h[k]),f.push(T)}else{let k=t(h,T);if(k){if(k==="skip")continue;return k}if(h.kind>=167)for(let c of mm(h))_.push(c),f.push(h)}}}function mm(e){let t=[];return Xt(e,a,a),t;function a(_){t.unshift(_)}}function ch(e){e.externalModuleIndicator=A6(e)}function lh(e,t,a,_=!1,f){var h,T;(h=ll)==null||h.push(ll.Phase.Parse,"createSourceFile",{path:e},!0),bd("beforeParse");let k,{languageVersion:c,setExternalModuleIndicator:W,impliedNodeFormat:y,jsDocParsingMode:G}=typeof a=="object"?a:{languageVersion:a};if(c===100)k=ta.parseSourceFile(e,t,c,void 0,_,6,Va,G);else{let E=y===void 0?W:D=>(D.impliedNodeFormat=y,(W||ch)(D));k=ta.parseSourceFile(e,t,c,void 0,_,f,E,G)}return bd("afterParse"),Oy("Parse","beforeParse","afterParse"),(T=ll)==null||T.pop(),k}function uh(e){return e.externalModuleIndicator!==void 0}function L6(e,t,a,_=!1){let f=Sl.updateSourceFile(e,t,a,_);return f.flags|=e.flags&12582912,f}var ta;(e=>{var t=sf(99,!0),a=40960,_,f,h,T,k;function c(o){return ar++,o}var W={createBaseSourceFileNode:o=>c(new k(o,0,0)),createBaseIdentifierNode:o=>c(new h(o,0,0)),createBasePrivateIdentifierNode:o=>c(new T(o,0,0)),createBaseTokenNode:o=>c(new f(o,0,0)),createBaseNode:o=>c(new _(o,0,0))},y=wf(11,W),{createNodeArray:G,createNumericLiteral:E,createStringLiteral:D,createLiteralLikeNode:R,createIdentifier:ue,createPrivateIdentifier:be,createToken:he,createArrayLiteralExpression:de,createObjectLiteralExpression:O,createPropertyAccessExpression:ae,createPropertyAccessChain:Oe,createElementAccessExpression:V,createElementAccessChain:oe,createCallExpression:Y,createCallChain:ft,createNewExpression:nr,createParenthesizedExpression:mn,createBlock:rr,createVariableStatement:hn,createExpressionStatement:Dn,createIfStatement:We,createWhileStatement:ir,createForStatement:Ir,createForOfStatement:Ot,createVariableDeclaration:Bn,createVariableDeclarationList:Pn}=y,Mt,ht,$e,qn,$t,ot,at,Bt,Lt,ct,ar,dt,yn,yt,_n,tt,qt=!0,tn=!1;function sr(o,p,m,g,b=!1,N,Q,_e=0){var ee;if(N=mb(o,N),N===6){let ce=hr(o,p,m,g,b);return convertToJson(ce,(ee=ce.statements[0])==null?void 0:ee.expression,ce.parseDiagnostics,!1,void 0),ce.referencedFiles=vt,ce.typeReferenceDirectives=vt,ce.libReferenceDirectives=vt,ce.amdDependencies=vt,ce.hasNoDefaultLib=!1,ce.pragmas=ay,ce}Fn(o,p,m,g,N,_e);let te=Or(m,b,N,Q||ch,_e);return zn(),te}e.parseSourceFile=sr;function mr(o,p){Fn("",o,p,void 0,1,0),B();let m=Ur(!0),g=u()===1&&!at.length;return zn(),g?m:void 0}e.parseIsolatedEntityName=mr;function hr(o,p,m=2,g,b=!1){Fn(o,p,m,g,6,0),ht=tt,B();let N=M(),Q,_e;if(u()===1)Q=At([],N,N),_e=Wt();else{let ce;for(;u()!==1;){let De;switch(u()){case 23:De=_c();break;case 112:case 97:case 106:De=Wt();break;case 41:H(()=>B()===9&&B()!==59)?De=Wo():De=Is();break;case 9:case 11:if(H(()=>B()!==59)){De=Hn();break}default:De=Is();break}ce&&$r(ce)?ce.push(De):ce?ce=[ce,De]:(ce=De,u()!==1&&Ee(A.Unexpected_token))}let je=$r(ce)?P(de(ce),N):q.checkDefined(ce),Je=Dn(je);P(Je,N),Q=At([Je],N),_e=Yn(1,A.Unexpected_token)}let ee=se(o,2,6,!1,Q,_e,ht,Va);b&&L(ee),ee.nodeCount=ar,ee.identifierCount=yn,ee.identifiers=dt,ee.parseDiagnostics=Yi(at,ee),Bt&&(ee.jsDocDiagnostics=Yi(Bt,ee));let te=ee;return zn(),te}e.parseJsonText=hr;function Fn(o,p,m,g,b,N){switch(_=Et.getNodeConstructor(),f=Et.getTokenConstructor(),h=Et.getIdentifierConstructor(),T=Et.getPrivateIdentifierConstructor(),k=Et.getSourceFileConstructor(),Mt=zy(o),$e=p,qn=m,Lt=g,$t=b,ot=Ud(b),at=[],yt=0,dt=new Map,yn=0,ar=0,ht=0,qt=!0,$t){case 1:case 2:tt=524288;break;case 6:tt=134742016;break;default:tt=0;break}tn=!1,t.setText($e),t.setOnError(Zr),t.setScriptTarget(qn),t.setLanguageVariant(ot),t.setScriptKind($t),t.setJSDocParsingMode(N)}function zn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),$e=void 0,qn=void 0,Lt=void 0,$t=void 0,ot=void 0,ht=0,at=void 0,Bt=void 0,yt=0,dt=void 0,_n=void 0,qt=!0}function Or(o,p,m,g,b){let N=R6(Mt);N&&(tt|=33554432),ht=tt,B();let Q=bn(0,Yt);q.assert(u()===1);let _e=Ue(),ee=Ce(Wt(),_e),te=se(Mt,o,m,N,Q,ee,ht,g);return q6(te,$e),F6(te,ce),te.commentDirectives=t.getCommentDirectives(),te.nodeCount=ar,te.identifierCount=yn,te.identifiers=dt,te.parseDiagnostics=Yi(at,te),te.jsDocParsingMode=b,Bt&&(te.jsDocDiagnostics=Yi(Bt,te)),p&&L(te),te;function ce(je,Je,De){at.push(Oa(Mt,$e,je,Je,De))}}let Vn=!1;function Ce(o,p){if(!p)return o;q.assert(!o.jsDoc);let m=cy(u2(o,$e),g=>el.parseJSDocComment(o,g.pos,g.end-g.pos));return m.length&&(o.jsDoc=m),Vn&&(Vn=!1,o.flags|=536870912),o}function yr(o){let p=Lt,m=Sl.createSyntaxCursor(o);Lt={currentNode:ce};let g=[],b=at;at=[];let N=0,Q=ee(o.statements,0);for(;Q!==-1;){let je=o.statements[N],Je=o.statements[Q];En(g,o.statements,N,Q),N=te(o.statements,Q);let De=gp(b,Nt=>Nt.start>=je.pos),Ht=De>=0?gp(b,Nt=>Nt.start>=Je.pos,De):-1;De>=0&&En(at,b,De,Ht>=0?Ht:void 0),cn(()=>{let Nt=tt;for(tt|=65536,t.resetTokenState(Je.pos),B();u()!==1;){let ur=t.getTokenFullStart(),pr=ns(0,Yt);if(g.push(pr),ur===t.getTokenFullStart()&&B(),N>=0){let Mn=o.statements[N];if(pr.end===Mn.pos)break;pr.end>Mn.pos&&(N=te(o.statements,N+1))}}tt=Nt},2),Q=N>=0?ee(o.statements,N):-1}if(N>=0){let je=o.statements[N];En(g,o.statements,N);let Je=gp(b,De=>De.start>=je.pos);Je>=0&&En(at,b,Je)}return Lt=p,y.updateSourceFile(o,dn(G(g),o.statements));function _e(je){return!(je.flags&65536)&&!!(je.transformFlags&67108864)}function ee(je,Je){for(let De=Je;De118}function ve(){return u()===80?!0:u()===127&&we()||u()===135&&Ye()?!1:u()>118}function J(o,p,m=!0){return u()===o?(m&&B(),!0):(p?Ee(p):Ee(A._0_expected,nt(o)),!1)}let mt=Object.keys(tf).filter(o=>o.length>2);function xt(o){if(F1(o)){rt(Cr($e,o.template.pos),o.template.end,A.Module_declaration_names_may_only_use_or_quoted_strings);return}let p=Ke(o)?An(o):void 0;if(!p||!cg(p,qn)){Ee(A._0_expected,nt(27));return}let m=Cr($e,o.pos);switch(p){case"const":case"let":case"var":rt(m,o.end,A.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":Jt(A.Interface_name_cannot_be_0,A.Interface_must_be_given_a_name,19);return;case"is":rt(m,t.getTokenStart(),A.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":Jt(A.Namespace_name_cannot_be_0,A.Namespace_must_be_given_a_name,19);return;case"type":Jt(A.Type_alias_name_cannot_be_0,A.Type_alias_must_be_given_a_name,64);return}let g=t_(p,mt,bt)??ln(p);if(g){rt(m,o.end,A.Unknown_keyword_or_identifier_Did_you_mean_0,g);return}u()!==0&&rt(m,o.end,A.Unexpected_keyword_or_identifier)}function Jt(o,p,m){u()===m?Ee(p):Ee(o,t.getTokenValue())}function ln(o){for(let p of mt)if(o.length>p.length+2&&ml(o,p))return`${p} ${o.slice(p.length)}`}function ql(o,p,m){if(u()===60&&!t.hasPrecedingLineBreak()){Ee(A.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(u()===21){Ee(A.Cannot_start_a_function_call_in_a_type_annotation),B();return}if(p&&!_r()){m?Ee(A._0_expected,nt(27)):Ee(A.Expected_for_property_initializer);return}if(!oa()){if(m){Ee(A._0_expected,nt(27));return}xt(o)}}function C_(o){return u()===o?(Be(),!0):(q.assert(xp(o)),Ee(A._0_expected,nt(o)),!1)}function Lr(o,p,m,g){if(u()===p){B();return}let b=Ee(A._0_expected,nt(p));m&&b&&sl(b,Oa(Mt,$e,g,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,nt(o),nt(p)))}function Le(o){return u()===o?(B(),!0):!1}function pt(o){if(u()===o)return Wt()}function Fl(o){if(u()===o)return Vl()}function Yn(o,p,m){return pt(o)||Gt(o,!1,p||A._0_expected,m||nt(o))}function zl(o){let p=Fl(o);return p||(q.assert(xp(o)),Gt(o,!1,A._0_expected,nt(o)))}function Wt(){let o=M(),p=u();return B(),P(he(p),o)}function Vl(){let o=M(),p=u();return Be(),P(he(p),o)}function _r(){return u()===27?!0:u()===20||u()===1||t.hasPrecedingLineBreak()}function oa(){return _r()?(u()===27&&B(),!0):!1}function Qt(){return oa()||J(27)}function At(o,p,m,g){let b=G(o,g);return yi(b,p,m??t.getTokenFullStart()),b}function P(o,p,m){return yi(o,p,m??t.getTokenFullStart()),tt&&(o.flags|=tt),tn&&(tn=!1,o.flags|=262144),o}function Gt(o,p,m,...g){p?gn(t.getTokenFullStart(),0,m,...g):m&&Ee(m,...g);let b=M(),N=o===80?ue("",void 0):Pd(o)?y.createTemplateLiteralLikeNode(o,"","",void 0):o===9?E("",void 0):o===11?D("",void 0):o===283?y.createMissingDeclaration():he(o);return P(N,b)}function Jr(o){let p=dt.get(o);return p===void 0&&dt.set(o,p=o),p}function or(o,p,m){if(o){yn++;let _e=t.hasPrecedingJSDocLeadingAsterisks()?t.getTokenStart():M(),ee=u(),te=Jr(t.getTokenValue()),ce=t.hasExtendedUnicodeEscape();return Ie(),P(ue(te,ee,ce),_e)}if(u()===81)return Ee(m||A.Private_identifiers_are_not_allowed_outside_class_bodies),or(!0);if(u()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return or(!0);yn++;let g=u()===1,b=t.isReservedWord(),N=t.getTokenText(),Q=b?A.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:A.Identifier_expected;return Gt(80,g,p||Q,N)}function Ka(o){return or(qe(),void 0,o)}function gt(o,p){return or(ve(),o,p)}function jt(o){return or(St(u()),o)}function ei(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Ee(A.Unicode_escape_sequence_cannot_appear_here),or(St(u()))}function br(){return St(u())||u()===11||u()===9||u()===10}function D_(){return St(u())||u()===11}function Wl(o){if(u()===11||u()===9||u()===10){let p=Hn();return p.text=Jr(p.text),p}return o&&u()===23?Gl():u()===81?ca():jt()}function jr(){return Wl(!0)}function Gl(){let o=M();J(23);let p=lt(kt);return J(24),P(y.createComputedPropertyName(p),o)}function ca(){let o=M(),p=be(Jr(t.getTokenValue()));return B(),P(p,o)}function ti(o){return u()===o&&le(P_)}function Za(){return B(),t.hasPrecedingLineBreak()?!1:cr()}function P_(){switch(u()){case 87:return B()===94;case 95:return B(),u()===90?H(Ai):u()===156?H(Yl):Ei();case 90:return Ai();case 126:return B(),cr();case 139:case 153:return B(),Hl();default:return Za()}}function Ei(){return u()===60||u()!==42&&u()!==130&&u()!==19&&cr()}function Yl(){return B(),Ei()}function N_(){return Yr(u())&&le(P_)}function cr(){return u()===23||u()===19||u()===42||u()===26||br()}function Hl(){return u()===23||br()}function Ai(){return B(),u()===86||u()===100||u()===120||u()===60||u()===128&&H(vc)||u()===134&&H(Tc)}function la(o,p){if(pa(o))return!0;switch(o){case 0:case 1:case 3:return!(u()===27&&p)&&xc();case 2:return u()===84||u()===90;case 4:return H(_o);case 5:return H(Jc)||u()===27&&!p;case 6:return u()===23||br();case 12:switch(u()){case 23:case 42:case 26:case 25:return!0;default:return br()}case 18:return br();case 9:return u()===23||u()===26||br();case 24:return D_();case 7:return u()===19?H(I_):p?ve()&&!es():xs()&&!es();case 8:return Rs();case 10:return u()===28||u()===26||Rs();case 19:return u()===103||u()===87||ve();case 15:switch(u()){case 28:case 25:return!0}case 11:return u()===26||Tr();case 16:return ha(!1);case 17:return ha(!0);case 20:case 21:return u()===28||ai();case 22:return Vs();case 23:return u()===161&&H(Cc)?!1:u()===11?!0:St(u());case 13:return St(u())||u()===19;case 14:return!0;case 25:return!0;case 26:return q.fail("ParsingContext.Count used as a context");default:q.assertNever(o,"Non-exhaustive case in 'isListElement'.")}}function I_(){if(q.assert(u()===19),B()===20){let o=B();return o===28||o===19||o===96||o===119}return!0}function Ci(){return B(),ve()}function Xl(){return B(),St(u())}function O_(){return B(),Vy(u())}function es(){return u()===119||u()===96?H(M_):!1}function M_(){return B(),Tr()}function Di(){return B(),ai()}function ua(o){if(u()===1)return!0;switch(o){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return u()===20;case 3:return u()===20||u()===84||u()===90;case 7:return u()===19||u()===96||u()===119;case 8:return ts();case 19:return u()===32||u()===21||u()===19||u()===96||u()===119;case 11:return u()===22||u()===27;case 15:case 21:case 10:return u()===24;case 17:case 16:case 18:return u()===22||u()===24;case 20:return u()!==28;case 22:return u()===19||u()===20;case 13:return u()===32||u()===44;case 14:return u()===30&&H(ap);default:return!1}}function ts(){return!!(_r()||qo(u())||u()===39)}function L_(){q.assert(yt,"Missing parsing context");for(let o=0;o<26;o++)if(yt&1<=0)}function ss(o){return o===6?A.An_enum_member_name_must_be_followed_by_a_or:void 0}function lr(){let o=At([],M());return o.isMissingList=!0,o}function V_(o){return!!o.isMissingList}function Rr(o,p,m,g){if(J(m)){let b=un(o,p);return J(g),b}return lr()}function Ur(o,p){let m=M(),g=o?jt(p):gt(p);for(;Le(25)&&u()!==30;)g=P(y.createQualifiedName(g,ni(o,!1,!0)),m);return g}function $l(o,p){return P(y.createQualifiedName(o,p),o.pos)}function ni(o,p,m){if(t.hasPrecedingLineBreak()&&St(u())&&H(Ms))return Gt(80,!0,A.Identifier_expected);if(u()===81){let g=ca();return p?g:Gt(80,!0,A.Identifier_expected)}return o?m?jt():ei():gt()}function Ql(o){let p=M(),m=[],g;do g=H_(o),m.push(g);while(g.literal.kind===17);return At(m,p)}function da(o){let p=M();return P(y.createTemplateExpression(Pi(o),Ql(o)),p)}function W_(){let o=M();return P(y.createTemplateLiteralType(Pi(!1),Kl()),o)}function Kl(){let o=M(),p=[],m;do m=G_(),p.push(m);while(m.literal.kind===17);return At(p,o)}function G_(){let o=M();return P(y.createTemplateLiteralTypeSpan(_t(),Y_(!1)),o)}function Y_(o){return u()===20?(Dt(o),X_()):Yn(18,A._0_expected,nt(20))}function H_(o){let p=M();return P(y.createTemplateSpan(lt(kt),Y_(o)),p)}function Hn(){return ri(u())}function Pi(o){!o&&t.getTokenFlags()&26656&&Dt(!1);let p=ri(u());return q.assert(p.kind===16,"Template head has wrong token kind"),p}function X_(){let o=ri(u());return q.assert(o.kind===17||o.kind===18,"Template fragment has wrong token kind"),o}function Zl(o){let p=o===15||o===18,m=t.getTokenText();return m.substring(1,m.length-(t.isUnterminated()?0:p?1:2))}function ri(o){let p=M(),m=Pd(o)?y.createTemplateLiteralLikeNode(o,t.getTokenValue(),Zl(o),t.getTokenFlags()&7176):o===9?E(t.getTokenValue(),t.getNumericLiteralFlags()):o===11?D(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):Jg(o)?R(o,t.getTokenValue()):q.fail();return t.hasExtendedUnicodeEscape()&&(m.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(m.isUnterminated=!0),B(),P(m,p)}function ii(){return Ur(!0,A.Type_expected)}function $_(){if(!t.hasPrecedingLineBreak()&&wt()===30)return Rr(20,_t,30,32)}function ma(){let o=M();return P(y.createTypeReferenceNode(ii(),$_()),o)}function _s(o){switch(o.kind){case 184:return Zi(o.typeName);case 185:case 186:{let{parameters:p,type:m}=o;return V_(p)||_s(m)}case 197:return _s(o.type);default:return!1}}function eu(o){return B(),P(y.createTypePredicateNode(void 0,o,_t()),o.pos)}function os(){let o=M();return B(),P(y.createThisTypeNode(),o)}function tu(){let o=M();return B(),P(y.createJSDocAllType(),o)}function Q_(){let o=M();return B(),P(y.createJSDocNonNullableType(bs(),!1),o)}function nu(){let o=M();return B(),u()===28||u()===20||u()===22||u()===32||u()===64||u()===52?P(y.createJSDocUnknownType(),o):P(y.createJSDocNullableType(_t(),!1),o)}function K_(){let o=M(),p=Ue();if(le(Gc)){let m=Xn(36),g=In(59,!1);return Ce(P(y.createJSDocFunctionType(m,g),o),p)}return P(y.createTypeReferenceNode(jt(),void 0),o)}function cs(){let o=M(),p;return(u()===110||u()===105)&&(p=jt(),J(59)),P(y.createParameterDeclaration(void 0,void 0,p,void 0,ls(),void 0),o)}function ls(){t.setSkipJsDocLeadingAsterisks(!0);let o=M();if(Le(144)){let g=y.createJSDocNamepathType(void 0);e:for(;;)switch(u()){case 20:case 1:case 28:case 5:break e;default:Be()}return t.setSkipJsDocLeadingAsterisks(!1),P(g,o)}let p=Le(26),m=ba();return t.setSkipJsDocLeadingAsterisks(!1),p&&(m=P(y.createJSDocVariadicType(m),o)),u()===64?(B(),P(y.createJSDocOptionalType(m),o)):m}function Z_(){let o=M();J(114);let p=Ur(!0),m=t.hasPrecedingLineBreak()?void 0:Ca();return P(y.createTypeQueryNode(p,m),o)}function eo(){let o=M(),p=On(!1,!0),m=gt(),g,b;Le(96)&&(ai()||!Tr()?g=_t():b=Xo());let N=Le(64)?_t():void 0,Q=y.createTypeParameterDeclaration(p,m,g,N);return Q.expression=b,P(Q,o)}function pn(){if(u()===30)return Rr(19,eo,30,32)}function ha(o){return u()===26||Rs()||Yr(u())||u()===60||ai(!o)}function to(o){let p=si(A.Private_identifiers_cannot_be_used_as_parameters);return s2(p)===0&&!Zt(o)&&Yr(u())&&B(),p}function no(){return qe()||u()===23||u()===19}function us(o){return ps(o)}function ro(o){return ps(o,!1)}function ps(o,p=!0){let m=M(),g=Ue(),b=o?U(()=>On(!0)):K(()=>On(!0));if(u()===110){let ee=y.createParameterDeclaration(b,void 0,or(!0),void 0,vr(),void 0),te=Hp(b);return te&&on(te,A.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ce(P(ee,m),g)}let N=qt;qt=!1;let Q=pt(26);if(!p&&!no())return;let _e=Ce(P(y.createParameterDeclaration(b,Q,to(b),pt(58),vr(),xr()),m),g);return qt=N,_e}function In(o,p){if(io(o,p))return gr(ba)}function io(o,p){return o===39?(J(o),!0):Le(59)?!0:p&&u()===39?(Ee(A._0_expected,nt(59)),B(),!0):!1}function fs(o,p){let m=we(),g=Ye();He(!!(o&1)),st(!!(o&2));let b=o&32?un(17,cs):un(16,()=>p?us(g):ro(g));return He(m),st(g),b}function Xn(o){if(!J(21))return lr();let p=fs(o,!0);return J(22),p}function ya(){Le(28)||Qt()}function ao(o){let p=M(),m=Ue();o===181&&J(105);let g=pn(),b=Xn(4),N=In(59,!0);ya();let Q=o===180?y.createCallSignature(g,b,N):y.createConstructSignature(g,b,N);return Ce(P(Q,p),m)}function Br(){return u()===23&&H(ru)}function ru(){if(B(),u()===26||u()===24)return!0;if(Yr(u())){if(B(),ve())return!0}else if(ve())B();else return!1;return u()===59||u()===28?!0:u()!==58?!1:(B(),u()===59||u()===28||u()===24)}function ds(o,p,m){let g=Rr(16,()=>us(!1),23,24),b=vr();ya();let N=y.createIndexSignature(m,g,b);return Ce(P(N,o),p)}function so(o,p,m){let g=jr(),b=pt(58),N;if(u()===21||u()===30){let Q=pn(),_e=Xn(4),ee=In(59,!0);N=y.createMethodSignature(m,g,b,Q,_e,ee)}else{let Q=vr();N=y.createPropertySignature(m,g,b,Q),u()===64&&(N.initializer=xr())}return ya(),Ce(P(N,o),p)}function _o(){if(u()===21||u()===30||u()===139||u()===153)return!0;let o=!1;for(;Yr(u());)o=!0,B();return u()===23?!0:(br()&&(o=!0,B()),o?u()===21||u()===30||u()===58||u()===59||u()===28||_r():!1)}function Ni(){if(u()===21||u()===30)return ao(180);if(u()===105&&H(oo))return ao(181);let o=M(),p=Ue(),m=On(!1);return ti(139)?_i(o,p,m,178,4):ti(153)?_i(o,p,m,179,4):Br()?ds(o,p,m):so(o,p,m)}function oo(){return B(),u()===21||u()===30}function co(){return B()===25}function lo(){switch(B()){case 21:case 30:case 25:return!0}return!1}function uo(){let o=M();return P(y.createTypeLiteralNode(po()),o)}function po(){let o;return J(19)?(o=bn(4,Ni),J(20)):o=lr(),o}function fo(){return B(),u()===40||u()===41?B()===148:(u()===148&&B(),u()===23&&Ci()&&B()===103)}function iu(){let o=M(),p=jt();J(103);let m=_t();return P(y.createTypeParameterDeclaration(void 0,p,m,void 0),o)}function mo(){let o=M();J(19);let p;(u()===148||u()===40||u()===41)&&(p=Wt(),p.kind!==148&&J(148)),J(23);let m=iu(),g=Le(130)?_t():void 0;J(24);let b;(u()===58||u()===40||u()===41)&&(b=Wt(),b.kind!==58&&J(58));let N=vr();Qt();let Q=bn(4,Ni);return J(20),P(y.createMappedTypeNode(p,m,g,b,N,Q),o)}function ho(){let o=M();if(Le(26))return P(y.createRestTypeNode(_t()),o);let p=_t();if(th(p)&&p.pos===p.type.pos){let m=y.createOptionalTypeNode(p.type);return dn(m,p),m.flags=p.flags,m}return p}function ms(){return B()===59||u()===58&&B()===59}function au(){return u()===26?St(B())&&ms():St(u())&&ms()}function yo(){if(H(au)){let o=M(),p=Ue(),m=pt(26),g=jt(),b=pt(58);J(59);let N=ho(),Q=y.createNamedTupleMember(m,g,b,N);return Ce(P(Q,o),p)}return ho()}function su(){let o=M();return P(y.createTupleTypeNode(Rr(21,yo,23,24)),o)}function go(){let o=M();J(21);let p=_t();return J(22),P(y.createParenthesizedType(p),o)}function _u(){let o;if(u()===128){let p=M();B();let m=P(he(128),p);o=At([m],p)}return o}function hs(){let o=M(),p=Ue(),m=_u(),g=Le(105);q.assert(!m||g,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let b=pn(),N=Xn(4),Q=In(39,!1),_e=g?y.createConstructorTypeNode(m,b,N,Q):y.createFunctionTypeNode(b,N,Q);return Ce(P(_e,o),p)}function bo(){let o=Wt();return u()===25?void 0:o}function ys(o){let p=M();o&&B();let m=u()===112||u()===97||u()===106?Wt():ri(u());return o&&(m=P(y.createPrefixUnaryExpression(41,m),p)),P(y.createLiteralTypeNode(m),p)}function ou(){return B(),u()===102}function gs(){ht|=4194304;let o=M(),p=Le(114);J(102),J(21);let m=_t(),g;if(Le(28)){let Q=t.getTokenStart();J(19);let _e=u();if(_e===118||_e===132?B():Ee(A._0_expected,nt(118)),J(59),g=Ys(_e,!0),Le(28),!J(20)){let ee=Ba(at);ee&&ee.code===A._0_expected.code&&sl(ee,Oa(Mt,$e,Q,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}J(22);let b=Le(25)?ii():void 0,N=$_();return P(y.createImportTypeNode(m,g,b,N,p),o)}function vo(){return B(),u()===9||u()===10}function bs(){switch(u()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return le(bo)||ma();case 67:t.reScanAsteriskEqualsToken();case 42:return tu();case 61:t.reScanQuestionToken();case 58:return nu();case 100:return K_();case 54:return Q_();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ys();case 41:return H(vo)?ys(!0):ma();case 116:return Wt();case 110:{let o=os();return u()===142&&!t.hasPrecedingLineBreak()?eu(o):o}case 114:return H(ou)?gs():Z_();case 19:return H(fo)?mo():uo();case 23:return su();case 21:return go();case 102:return gs();case 131:return H(Ms)?Po():ma();case 16:return W_();default:return ma()}}function ai(o){switch(u()){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!o;case 41:return!o&&H(vo);case 21:return!o&&H(To);default:return ve()}}function To(){return B(),u()===22||ha(!1)||ai()}function xo(){let o=M(),p=bs();for(;!t.hasPrecedingLineBreak();)switch(u()){case 54:B(),p=P(y.createJSDocNonNullableType(p,!0),o);break;case 58:if(H(Di))return p;B(),p=P(y.createJSDocNullableType(p,!0),o);break;case 23:if(J(23),ai()){let m=_t();J(24),p=P(y.createIndexedAccessTypeNode(p,m),o)}else J(24),p=P(y.createArrayTypeNode(p),o);break;default:return p}return p}function So(o){let p=M();return J(o),P(y.createTypeOperatorNode(o,ko()),p)}function cu(){if(Le(96)){let o=Nn(_t);if(Ve()||u()!==58)return o}}function wo(){let o=M(),p=gt(),m=le(cu),g=y.createTypeParameterDeclaration(void 0,p,m);return P(g,o)}function lu(){let o=M();return J(140),P(y.createInferTypeNode(wo()),o)}function ko(){let o=u();switch(o){case 143:case 158:case 148:return So(o);case 140:return lu()}return gr(xo)}function ga(o){if(Ts()){let p=hs(),m;return Pf(p)?m=o?A.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m=o?A.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:A.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,on(p,m),p}}function Eo(o,p,m){let g=M(),b=o===52,N=Le(o),Q=N&&ga(b)||p();if(u()===o||N){let _e=[Q];for(;Le(o);)_e.push(ga(b)||p());Q=P(m(At(_e,g)),g)}return Q}function vs(){return Eo(51,ko,y.createIntersectionTypeNode)}function uu(){return Eo(52,vs,y.createUnionTypeNode)}function Ao(){return B(),u()===105}function Ts(){return u()===30||u()===21&&H(Co)?!0:u()===105||u()===128&&H(Ao)}function pu(){if(Yr(u())&&On(!1),ve()||u()===110)return B(),!0;if(u()===23||u()===19){let o=at.length;return si(),o===at.length}return!1}function Co(){return B(),!!(u()===22||u()===26||pu()&&(u()===59||u()===28||u()===58||u()===64||u()===22&&(B(),u()===39)))}function ba(){let o=M(),p=ve()&&le(Do),m=_t();return p?P(y.createTypePredicateNode(void 0,p,m),o):m}function Do(){let o=gt();if(u()===142&&!t.hasPrecedingLineBreak())return B(),o}function Po(){let o=M(),p=Yn(131),m=u()===110?os():gt(),g=Le(142)?_t():void 0;return P(y.createTypePredicateNode(p,m,g),o)}function _t(){if(tt&81920)return Ct(81920,_t);if(Ts())return hs();let o=M(),p=uu();if(!Ve()&&!t.hasPrecedingLineBreak()&&Le(96)){let m=Nn(_t);J(58);let g=gr(_t);J(59);let b=gr(_t);return P(y.createConditionalTypeNode(p,m,g,b),o)}return p}function vr(){return Le(59)?_t():void 0}function xs(){switch(u()){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 H(lo);default:return ve()}}function Tr(){if(xs())return!0;switch(u()){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 Fo()?!0:ve()}}function No(){return u()!==19&&u()!==100&&u()!==86&&u()!==60&&Tr()}function kt(){let o=Ze();o&&Qe(!1);let p=M(),m=zt(!0),g;for(;g=pt(28);)m=ks(m,g,zt(!0),p);return o&&Qe(!0),m}function xr(){return Le(64)?zt(!0):void 0}function zt(o){if(Io())return Oo();let p=du(o)||Ro(o);if(p)return p;let m=M(),g=Ue(),b=Ii(0);return b.kind===80&&u()===39?Mo(m,b,o,g,void 0):Fa(b)&&b1(ze())?ks(b,Wt(),zt(o),m):mu(b,m,o)}function Io(){return u()===127?we()?!0:H(Ls):!1}function fu(){return B(),!t.hasPrecedingLineBreak()&&ve()}function Oo(){let o=M();return B(),!t.hasPrecedingLineBreak()&&(u()===42||Tr())?P(y.createYieldExpression(pt(42),zt(!0)),o):P(y.createYieldExpression(void 0,void 0),o)}function Mo(o,p,m,g,b){q.assert(u()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let N=y.createParameterDeclaration(void 0,void 0,p,void 0,void 0,void 0);P(N,p.pos);let Q=At([N],N.pos,N.end),_e=Yn(39),ee=Ss(!!b,m),te=y.createArrowFunction(b,void 0,Q,void 0,_e,ee);return Ce(P(te,o),g)}function du(o){let p=Lo();if(p!==0)return p===1?Bo(!0,!0):le(()=>jo(o))}function Lo(){return u()===21||u()===30||u()===134?H(Jo):u()===39?1:0}function Jo(){if(u()===134&&(B(),t.hasPrecedingLineBreak()||u()!==21&&u()!==30))return 0;let o=u(),p=B();if(o===21){if(p===22)switch(B()){case 39:case 59:case 19:return 1;default:return 0}if(p===23||p===19)return 2;if(p===26)return 1;if(Yr(p)&&p!==134&&H(Ci))return B()===130?0:1;if(!ve()&&p!==110)return 0;switch(B()){case 59:return 1;case 58:return B(),u()===59||u()===28||u()===64||u()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return q.assert(o===30),!ve()&&u()!==87?0:ot===1?H(()=>{Le(87);let g=B();if(g===96)switch(B()){case 64:case 32:case 44:return!1;default:return!0}else if(g===28||g===64)return!0;return!1})?1:0:2}function jo(o){let p=t.getTokenStart();if(_n?.has(p))return;let m=Bo(!1,o);return m||(_n||(_n=new Set)).add(p),m}function Ro(o){if(u()===134&&H(Uo)===1){let p=M(),m=Ue(),g=Uc(),b=Ii(0);return Mo(p,b,o,m,g)}}function Uo(){if(u()===134){if(B(),t.hasPrecedingLineBreak()||u()===39)return 0;let o=Ii(0);if(!t.hasPrecedingLineBreak()&&o.kind===80&&u()===39)return 1}return 0}function Bo(o,p){let m=M(),g=Ue(),b=Uc(),N=Zt(b,cl)?2:0,Q=pn(),_e;if(J(21)){if(o)_e=fs(N,o);else{let ur=fs(N,o);if(!ur)return;_e=ur}if(!J(22)&&!o)return}else{if(!o)return;_e=lr()}let ee=u()===59,te=In(59,!1);if(te&&!o&&_s(te))return;let ce=te;for(;ce?.kind===197;)ce=ce.type;let je=ce&&nh(ce);if(!o&&u()!==39&&(je||u()!==19))return;let Je=u(),De=Yn(39),Ht=Je===39||Je===19?Ss(Zt(b,cl),p):gt();if(!p&&ee&&u()!==59)return;let Nt=y.createArrowFunction(b,Q,_e,te,De,Ht);return Ce(P(Nt,m),g)}function Ss(o,p){if(u()===19)return wa(o?2:0);if(u()!==27&&u()!==100&&u()!==86&&xc()&&!No())return wa(16|(o?2:0));let m=we();He(!1);let g=qt;qt=!1;let b=o?U(()=>zt(p)):K(()=>zt(p));return qt=g,He(m),b}function mu(o,p,m){let g=pt(58);if(!g)return o;let b;return P(y.createConditionalExpression(o,g,Ct(a,()=>zt(!1)),b=Yn(59),Rp(b)?zt(m):Gt(80,!1,A._0_expected,nt(59))),p)}function Ii(o){let p=M(),m=Xo();return ws(o,m,p)}function qo(o){return o===103||o===165}function ws(o,p,m){for(;;){ze();let g=Sp(u());if(!(u()===43?g>=o:g>o)||u()===103&&me())break;if(u()===130||u()===152){if(t.hasPrecedingLineBreak())break;{let N=u();B(),p=N===152?zo(p,_t()):Vo(p,_t())}}else p=ks(p,Wt(),Ii(g),m)}return p}function Fo(){return me()&&u()===103?!1:Sp(u())>0}function zo(o,p){return P(y.createSatisfiesExpression(o,p),o.pos)}function ks(o,p,m,g){return P(y.createBinaryExpression(o,p,m),g)}function Vo(o,p){return P(y.createAsExpression(o,p),o.pos)}function Wo(){let o=M();return P(y.createPrefixUnaryExpression(u(),Me(Sr)),o)}function Go(){let o=M();return P(y.createDeleteExpression(Me(Sr)),o)}function hu(){let o=M();return P(y.createTypeOfExpression(Me(Sr)),o)}function Yo(){let o=M();return P(y.createVoidExpression(Me(Sr)),o)}function yu(){return u()===135?Ye()?!0:H(Ls):!1}function Ho(){let o=M();return P(y.createAwaitExpression(Me(Sr)),o)}function Xo(){if(gu()){let m=M(),g=va();return u()===43?ws(Sp(u()),g,m):g}let o=u(),p=Sr();if(u()===43){let m=Cr($e,p.pos),{end:g}=p;p.kind===217?rt(m,g,A.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(q.assert(xp(o)),rt(m,g,A.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,nt(o)))}return p}function Sr(){switch(u()){case 40:case 41:case 55:case 54:return Wo();case 91:return Go();case 114:return hu();case 116:return Yo();case 30:return ot===1?Mi(!0,void 0,void 0,!0):ec();case 135:if(yu())return Ho();default:return va()}}function gu(){switch(u()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(ot!==1)return!1;default:return!0}}function va(){if(u()===46||u()===47){let p=M();return P(y.createPrefixUnaryExpression(u(),Me(Oi)),p)}else if(ot===1&&u()===30&&H(O_))return Mi(!0);let o=Oi();if(q.assert(Fa(o)),(u()===46||u()===47)&&!t.hasPrecedingLineBreak()){let p=u();return B(),P(y.createPostfixUnaryExpression(o,p),o.pos)}return o}function Oi(){let o=M(),p;return u()===102?H(oo)?(ht|=4194304,p=Wt()):H(co)?(B(),B(),p=P(y.createMetaProperty(102,jt()),o),p.name.escapedText==="defer"?(u()===21||u()===30)&&(ht|=4194304):ht|=8388608):p=Ta():p=u()===108?$o():Ta(),Ps(o,p)}function Ta(){let o=M(),p=Ns();return rn(o,p,!0)}function $o(){let o=M(),p=Wt();if(u()===30){let m=M(),g=le(Sa);g!==void 0&&(rt(m,M(),A.super_may_not_use_type_arguments),vn()||(p=y.createExpressionWithTypeArguments(p,g)))}return u()===21||u()===25||u()===23?p:(Yn(25,A.super_must_be_followed_by_an_argument_list_or_member_access),P(ae(p,ni(!0,!0,!0)),o))}function Mi(o,p,m,g=!1){let b=M(),N=Tu(o),Q;if(N.kind===287){let _e=xa(N),ee,te=_e[_e.length-1];if(te?.kind===285&&!pi(te.openingElement.tagName,te.closingElement.tagName)&&pi(N.tagName,te.closingElement.tagName)){let ce=te.children.end,je=P(y.createJsxElement(te.openingElement,te.children,P(y.createJsxClosingElement(P(ue(""),ce,ce)),ce,ce)),te.openingElement.pos,ce);_e=At([..._e.slice(0,_e.length-1),je],_e.pos,ce),ee=te.closingElement}else ee=Zo(N,o),pi(N.tagName,ee.tagName)||(m&&Fp(m)&&pi(ee.tagName,m.tagName)?on(N.tagName,A.JSX_element_0_has_no_corresponding_closing_tag,r_($e,N.tagName)):on(ee.tagName,A.Expected_corresponding_JSX_closing_tag_for_0,r_($e,N.tagName)));Q=P(y.createJsxElement(N,_e,ee),b)}else N.kind===290?Q=P(y.createJsxFragment(N,xa(N),ku(o)),b):(q.assert(N.kind===286),Q=N);if(!g&&o&&u()===30){let _e=typeof p>"u"?Q.pos:p,ee=le(()=>Mi(!0,_e));if(ee){let te=Gt(28,!1);return qd(te,ee.pos,0),rt(Cr($e,_e),ee.end,A.JSX_expressions_must_have_one_parent_element),P(y.createBinaryExpression(Q,te,ee),b)}}return Q}function Es(){let o=M(),p=y.createJsxText(t.getTokenValue(),ct===13);return ct=t.scanJsxToken(),P(p,o)}function bu(o,p){switch(p){case 1:if(n6(o))on(o,A.JSX_fragment_has_no_corresponding_closing_tag);else{let m=o.tagName,g=Math.min(Cr($e,m.pos),m.end);rt(g,m.end,A.JSX_element_0_has_no_corresponding_closing_tag,r_($e,o.tagName))}return;case 31:case 7:return;case 12:case 13:return Es();case 19:return Qo(!1);case 30:return Mi(!1,void 0,o);default:return q.assertNever(p)}}function xa(o){let p=[],m=M(),g=yt;for(yt|=16384;;){let b=bu(o,ct=t.reScanJsxToken());if(!b||(p.push(b),Fp(o)&&b?.kind===285&&!pi(b.openingElement.tagName,b.closingElement.tagName)&&pi(o.tagName,b.closingElement.tagName)))break}return yt=g,At(p,m)}function vu(){let o=M();return P(y.createJsxAttributes(bn(13,Ko)),o)}function Tu(o){let p=M();if(J(30),u()===32)return Gn(),P(y.createJsxOpeningFragment(),p);let m=As(),g=(tt&524288)===0?Ca():void 0,b=vu(),N;return u()===32?(Gn(),N=y.createJsxOpeningElement(m,g,b)):(J(44),J(32,void 0,!1)&&(o?B():Gn()),N=y.createJsxSelfClosingElement(m,g,b)),P(N,p)}function As(){let o=M(),p=xu();if(Q1(p))return p;let m=p;for(;Le(25);)m=P(ae(m,ni(!0,!1,!1)),o);return m}function xu(){let o=M();Ft();let p=u()===110,m=ei();return Le(59)?(Ft(),P(y.createJsxNamespacedName(m,ei()),o)):p?P(y.createToken(110),o):m}function Qo(o){let p=M();if(!J(19))return;let m,g;return u()!==20&&(o||(m=pt(26)),g=kt()),o?J(20):J(20,void 0,!1)&&Gn(),P(y.createJsxExpression(m,g),p)}function Ko(){if(u()===19)return wu();let o=M();return P(y.createJsxAttribute(Su(),Cs()),o)}function Cs(){if(u()===64){if(ki()===11)return Hn();if(u()===19)return Qo(!0);if(u()===30)return Mi(!0);Ee(A.or_JSX_element_expected)}}function Su(){let o=M();Ft();let p=ei();return Le(59)?(Ft(),P(y.createJsxNamespacedName(p,ei()),o)):p}function wu(){let o=M();J(19),J(26);let p=kt();return J(20),P(y.createJsxSpreadAttribute(p),o)}function Zo(o,p){let m=M();J(31);let g=As();return J(32,void 0,!1)&&(p||!pi(o.tagName,g)?B():Gn()),P(y.createJsxClosingElement(g),m)}function ku(o){let p=M();return J(31),J(32,A.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(o?B():Gn()),P(y.createJsxJsxClosingFragment(),p)}function ec(){q.assert(ot!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let o=M();J(30);let p=_t();J(32);let m=Sr();return P(y.createTypeAssertion(p,m),o)}function Eu(){return B(),St(u())||u()===23||vn()}function tc(){return u()===29&&H(Eu)}function Ds(o){if(o.flags&64)return!0;if(fl(o)){let p=o.expression;for(;fl(p)&&!(p.flags&64);)p=p.expression;if(p.flags&64){for(;fl(o);)o.flags|=64,o=o.expression;return!0}}return!1}function nc(o,p,m){let g=ni(!0,!0,!0),b=m||Ds(p),N=b?Oe(p,m,g):ae(p,g);if(b&&gi(N.name)&&on(N.name,A.An_optional_chain_cannot_contain_private_identifiers),G1(p)&&p.typeArguments){let Q=p.typeArguments.pos-1,_e=Cr($e,p.typeArguments.end)+1;rt(Q,_e,A.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return P(N,o)}function Au(o,p,m){let g;if(u()===24)g=Gt(80,!0,A.An_element_access_expression_should_take_an_argument);else{let N=lt(kt);Al(N)&&(N.text=Jr(N.text)),g=N}J(24);let b=m||Ds(p)?oe(p,m,g):V(p,g);return P(b,o)}function rn(o,p,m){for(;;){let g,b=!1;if(m&&tc()?(g=Yn(29),b=St(u())):b=Le(25),b){p=nc(o,p,g);continue}if((g||!Ze())&&Le(23)){p=Au(o,p,g);continue}if(vn()){p=!g&&p.kind===234?qr(o,p.expression,g,p.typeArguments):qr(o,p,g,void 0);continue}if(!g){if(u()===54&&!t.hasPrecedingLineBreak()){B(),p=P(y.createNonNullExpression(p),o);continue}let N=le(Sa);if(N){p=P(y.createExpressionWithTypeArguments(p,N),o);continue}}return p}}function vn(){return u()===15||u()===16}function qr(o,p,m,g){let b=y.createTaggedTemplateExpression(p,g,u()===15?(Dt(!0),Hn()):da(!0));return(m||p.flags&64)&&(b.flags|=64),b.questionDotToken=m,P(b,o)}function Ps(o,p){for(;;){p=rn(o,p,!0);let m,g=pt(29);if(g&&(m=le(Sa),vn())){p=qr(o,p,g,m);continue}if(m||u()===21){!g&&p.kind===234&&(m=p.typeArguments,p=p.expression);let b=rc(),N=g||Ds(p)?ft(p,g,m,b):Y(p,m,b);p=P(N,o);continue}if(g){let b=Gt(80,!1,A.Identifier_expected);p=P(Oe(p,g,b),o)}break}return p}function rc(){J(21);let o=un(11,sc);return J(22),o}function Sa(){if((tt&524288)!==0||wt()!==30)return;B();let o=un(20,_t);if(ze()===32)return B(),o&&Cu()?o:void 0}function Cu(){switch(u()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Fo()||!Tr()}function Ns(){switch(u()){case 15:t.getTokenFlags()&26656&&Dt(!1);case 9:case 10:case 11:return Hn();case 110:case 108:case 106:case 112:case 97:return Wt();case 21:return Du();case 23:return _c();case 19:return Is();case 134:if(!H(Tc))break;return Os();case 60:return Xu();case 86:return $u();case 100:return Os();case 105:return cc();case 44:case 69:if(Xe()===14)return Hn();break;case 16:return da(!1);case 81:return ca()}return gt(A.Expression_expected)}function Du(){let o=M(),p=Ue();J(21);let m=lt(kt);return J(22),Ce(P(mn(m),o),p)}function ic(){let o=M();J(26);let p=zt(!0);return P(y.createSpreadElement(p),o)}function ac(){return u()===26?ic():u()===28?P(y.createOmittedExpression(),M()):zt(!0)}function sc(){return Ct(a,ac)}function _c(){let o=M(),p=t.getTokenStart(),m=J(23),g=t.hasPrecedingLineBreak(),b=un(15,ac);return Lr(23,24,m,p),P(de(b,g),o)}function oc(){let o=M(),p=Ue();if(pt(26)){let ce=zt(!0);return Ce(P(y.createSpreadAssignment(ce),o),p)}let m=On(!0);if(ti(139))return _i(o,p,m,178,0);if(ti(153))return _i(o,p,m,179,0);let g=pt(42),b=ve(),N=jr(),Q=pt(58),_e=pt(54);if(g||u()===21||u()===30)return Lc(o,p,m,g,N,Q,_e);let ee;if(b&&u()!==59){let ce=pt(64),je=ce?lt(()=>zt(!0)):void 0;ee=y.createShorthandPropertyAssignment(N,je),ee.equalsToken=ce}else{J(59);let ce=lt(()=>zt(!0));ee=y.createPropertyAssignment(N,ce)}return ee.modifiers=m,ee.questionToken=Q,ee.exclamationToken=_e,Ce(P(ee,o),p)}function Is(){let o=M(),p=t.getTokenStart(),m=J(19),g=t.hasPrecedingLineBreak(),b=un(12,oc,!0);return Lr(19,20,m,p),P(O(b,g),o)}function Os(){let o=Ze();Qe(!1);let p=M(),m=Ue(),g=On(!1);J(100);let b=pt(42),N=b?1:0,Q=Zt(g,cl)?2:0,_e=N&&Q?Z(Li):N?Wn(Li):Q?U(Li):Li(),ee=pn(),te=Xn(N|Q),ce=In(59,!1),je=wa(N|Q);Qe(o);let Je=y.createFunctionExpression(g,b,_e,ee,te,ce,je);return Ce(P(Je,p),m)}function Li(){return qe()?Ka():void 0}function cc(){let o=M();if(J(105),Le(25)){let N=jt();return P(y.createMetaProperty(105,N),o)}let p=M(),m=rn(p,Ns(),!1),g;m.kind===234&&(g=m.typeArguments,m=m.expression),u()===29&&Ee(A.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,r_($e,m));let b=u()===21?rc():void 0;return P(nr(m,g,b),o)}function Fr(o,p){let m=M(),g=Ue(),b=t.getTokenStart(),N=J(19,p);if(N||o){let Q=t.hasPrecedingLineBreak(),_e=bn(1,Yt);Lr(19,20,N,b);let ee=Ce(P(rr(_e,Q),m),g);return u()===64&&(Ee(A.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),B()),ee}else{let Q=lr();return Ce(P(rr(Q,void 0),m),g)}}function wa(o,p){let m=we();He(!!(o&1));let g=Ye();st(!!(o&2));let b=qt;qt=!1;let N=Ze();N&&Qe(!1);let Q=Fr(!!(o&16),p);return N&&Qe(!0),qt=b,He(m),st(g),Q}function lc(){let o=M(),p=Ue();return J(27),Ce(P(y.createEmptyStatement(),o),p)}function Pu(){let o=M(),p=Ue();J(101);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Yt(),Q=Le(93)?Yt():void 0;return Ce(P(We(b,N,Q),o),p)}function uc(){let o=M(),p=Ue();J(92);let m=Yt();J(117);let g=t.getTokenStart(),b=J(21),N=lt(kt);return Lr(21,22,b,g),Le(27),Ce(P(y.createDoStatement(m,N),o),p)}function Nu(){let o=M(),p=Ue();J(117);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Yt();return Ce(P(ir(b,N),o),p)}function pc(){let o=M(),p=Ue();J(99);let m=pt(135);J(21);let g;u()!==27&&(u()===115||u()===121||u()===87||u()===160&&H(wc)||u()===135&&H(Js)?g=Ic(!0):g=Mr(kt));let b;if(m?J(165):Le(165)){let N=lt(()=>zt(!0));J(22),b=Ot(m,g,N,Yt())}else if(Le(103)){let N=lt(kt);J(22),b=y.createForInStatement(g,N,Yt())}else{J(27);let N=u()!==27&&u()!==22?lt(kt):void 0;J(27);let Q=u()!==22?lt(kt):void 0;J(22),b=Ir(g,N,Q,Yt())}return Ce(P(b,o),p)}function fc(o){let p=M(),m=Ue();J(o===253?83:88);let g=_r()?void 0:gt();Qt();let b=o===253?y.createBreakStatement(g):y.createContinueStatement(g);return Ce(P(b,p),m)}function dc(){let o=M(),p=Ue();J(107);let m=_r()?void 0:lt(kt);return Qt(),Ce(P(y.createReturnStatement(m),o),p)}function Iu(){let o=M(),p=Ue();J(118);let m=t.getTokenStart(),g=J(21),b=lt(kt);Lr(21,22,g,m);let N=Tt(67108864,Yt);return Ce(P(y.createWithStatement(b,N),o),p)}function mc(){let o=M(),p=Ue();J(84);let m=lt(kt);J(59);let g=bn(3,Yt);return Ce(P(y.createCaseClause(m,g),o),p)}function Ou(){let o=M();J(90),J(59);let p=bn(3,Yt);return P(y.createDefaultClause(p),o)}function Mu(){return u()===84?mc():Ou()}function hc(){let o=M();J(19);let p=bn(2,Mu);return J(20),P(y.createCaseBlock(p),o)}function Lu(){let o=M(),p=Ue();J(109),J(21);let m=lt(kt);J(22);let g=hc();return Ce(P(y.createSwitchStatement(m,g),o),p)}function yc(){let o=M(),p=Ue();J(111);let m=t.hasPrecedingLineBreak()?void 0:lt(kt);return m===void 0&&(yn++,m=P(ue(""),M())),oa()||xt(m),Ce(P(y.createThrowStatement(m),o),p)}function Ju(){let o=M(),p=Ue();J(113);let m=Fr(!1),g=u()===85?gc():void 0,b;return(!g||u()===98)&&(J(98,A.catch_or_finally_expected),b=Fr(!1)),Ce(P(y.createTryStatement(m,g,b),o),p)}function gc(){let o=M();J(85);let p;Le(21)?(p=Ea(),J(22)):p=void 0;let m=Fr(!1);return P(y.createCatchClause(p,m),o)}function ju(){let o=M(),p=Ue();return J(89),Qt(),Ce(P(y.createDebuggerStatement(),o),p)}function bc(){let o=M(),p=Ue(),m,g=u()===21,b=lt(kt);return Ke(b)&&Le(59)?m=y.createLabeledStatement(b,Yt()):(oa()||xt(b),m=Dn(b),g&&(p=!1)),Ce(P(m,o),p)}function Ms(){return B(),St(u())&&!t.hasPrecedingLineBreak()}function vc(){return B(),u()===86&&!t.hasPrecedingLineBreak()}function Tc(){return B(),u()===100&&!t.hasPrecedingLineBreak()}function Ls(){return B(),(St(u())||u()===9||u()===10||u()===11)&&!t.hasPrecedingLineBreak()}function Ru(){for(;;)switch(u()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return kc();case 135:return js();case 120:case 156:case 166:return fu();case 144:case 145:return Fu();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:let o=u();if(B(),t.hasPrecedingLineBreak())return!1;if(o===138&&u()===156)return!0;continue;case 162:return B(),u()===19||u()===80||u()===95;case 102:return B(),u()===166||u()===11||u()===42||u()===19||St(u());case 95:let p=B();if(p===156&&(p=H(B)),p===64||p===42||p===19||p===90||p===130||p===60)return!0;continue;case 126:B();continue;default:return!1}}function Ji(){return H(Ru)}function xc(){switch(u()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return Ji()||H(lo);case 87:case 95:return Ji();case 134:case 138:case 120:case 144:case 145:case 156:case 162:case 166:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return Ji()||!H(Ms);default:return Tr()}}function Sc(){return B(),qe()||u()===19||u()===23}function Uu(){return H(Sc)}function wc(){return ka(!0)}function Bu(){return B(),u()===64||u()===27||u()===59}function ka(o){return B(),o&&u()===165?H(Bu):(qe()||u()===19)&&!t.hasPrecedingLineBreak()}function kc(){return H(ka)}function Js(o){return B()===160?ka(o):!1}function js(){return H(Js)}function Yt(){switch(u()){case 27:return lc();case 19:return Fr(!1);case 115:return Ui(M(),Ue(),void 0);case 121:if(Uu())return Ui(M(),Ue(),void 0);break;case 135:if(js())return Ui(M(),Ue(),void 0);break;case 160:if(kc())return Ui(M(),Ue(),void 0);break;case 100:return Us(M(),Ue(),void 0);case 86:return Fs(M(),Ue(),void 0);case 101:return Pu();case 92:return uc();case 117:return Nu();case 99:return pc();case 88:return fc(252);case 83:return fc(253);case 107:return dc();case 118:return Iu();case 109:return Lu();case 111:return yc();case 113:case 85:case 98:return Ju();case 89:return ju();case 60:return ji();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(Ji())return ji();break}return bc()}function Ec(o){return o.kind===138}function ji(){let o=M(),p=Ue(),m=On(!0);if(Zt(m,Ec)){let b=qu(o);if(b)return b;for(let N of m)N.flags|=33554432;return Tt(33554432,()=>Ac(o,p,m))}else return Ac(o,p,m)}function qu(o){return Tt(33554432,()=>{let p=pa(yt,o);if(p)return J_(p)})}function Ac(o,p,m){switch(u()){case 115:case 121:case 87:case 160:case 135:return Ui(o,p,m);case 100:return Us(o,p,m);case 86:return Fs(o,p,m);case 120:return ep(o,p,m);case 156:return tp(o,p,m);case 94:return np(o,p,m);case 162:case 144:case 145:return rp(o,p,m);case 102:return Bi(o,p,m);case 95:switch(B(),u()){case 90:case 64:return Kc(o,p,m);case 130:return sp(o,p,m);default:return Qc(o,p,m)}default:if(m){let g=Gt(283,!0,A.Declaration_expected);return Bp(g,o),g.modifiers=m,g}return}}function Cc(){return B()===11}function Dc(){return B(),u()===161||u()===64}function Fu(){return B(),!t.hasPrecedingLineBreak()&&(ve()||u()===11)}function Ri(o,p){if(u()!==19){if(o&4){ya();return}if(_r()){Qt();return}}return wa(o,p)}function zu(){let o=M();if(u()===28)return P(y.createOmittedExpression(),o);let p=pt(26),m=si(),g=xr();return P(y.createBindingElement(p,void 0,m,g),o)}function Pc(){let o=M(),p=pt(26),m=qe(),g=jr(),b;m&&u()!==59?(b=g,g=void 0):(J(59),b=si());let N=xr();return P(y.createBindingElement(p,g,b,N),o)}function Vu(){let o=M();J(19);let p=lt(()=>un(9,Pc));return J(20),P(y.createObjectBindingPattern(p),o)}function Nc(){let o=M();J(23);let p=lt(()=>un(10,zu));return J(24),P(y.createArrayBindingPattern(p),o)}function Rs(){return u()===19||u()===23||u()===81||qe()}function si(o){return u()===23?Nc():u()===19?Vu():Ka(o)}function Wu(){return Ea(!0)}function Ea(o){let p=M(),m=Ue(),g=si(A.Private_identifiers_are_not_allowed_in_variable_declarations),b;o&&g.kind===80&&u()===54&&!t.hasPrecedingLineBreak()&&(b=Wt());let N=vr(),Q=qo(u())?void 0:xr(),_e=Bn(g,b,N,Q);return Ce(P(_e,p),m)}function Ic(o){let p=M(),m=0;switch(u()){case 115:break;case 121:m|=1;break;case 87:m|=2;break;case 160:m|=4;break;case 135:q.assert(js()),m|=6,B();break;default:q.fail()}B();let g;if(u()===165&&H(Oc))g=lr();else{let b=me();Te(o),g=un(8,o?Ea:Wu),Te(b)}return P(Pn(g,m),p)}function Oc(){return Ci()&&B()===22}function Ui(o,p,m){let g=Ic(!1);Qt();let b=hn(m,g);return Ce(P(b,o),p)}function Us(o,p,m){let g=Ye(),b=Jn(m);J(100);let N=pt(42),Q=b&2048?Li():Ka(),_e=N?1:0,ee=b&1024?2:0,te=pn();b&32&&st(!0);let ce=Xn(_e|ee),je=In(59,!1),Je=Ri(_e|ee,A.or_expected);st(g);let De=y.createFunctionDeclaration(m,N,Q,te,ce,je,Je);return Ce(P(De,o),p)}function Gu(){if(u()===137)return J(137);if(u()===11&&H(B)===21)return le(()=>{let o=Hn();return o.text==="constructor"?o:void 0})}function Mc(o,p,m){return le(()=>{if(Gu()){let g=pn(),b=Xn(0),N=In(59,!1),Q=Ri(0,A.or_expected),_e=y.createConstructorDeclaration(m,b,Q);return _e.typeParameters=g,_e.type=N,Ce(P(_e,o),p)}})}function Lc(o,p,m,g,b,N,Q,_e){let ee=g?1:0,te=Zt(m,cl)?2:0,ce=pn(),je=Xn(ee|te),Je=In(59,!1),De=Ri(ee|te,_e),Ht=y.createMethodDeclaration(m,g,b,N,ce,je,Je,De);return Ht.exclamationToken=Q,Ce(P(Ht,o),p)}function Aa(o,p,m,g,b){let N=!b&&!t.hasPrecedingLineBreak()?pt(54):void 0,Q=vr(),_e=Ct(90112,xr);ql(g,Q,_e);let ee=y.createPropertyDeclaration(m,g,b||N,Q,_e);return Ce(P(ee,o),p)}function Bs(o,p,m){let g=pt(42),b=jr(),N=pt(58);return g||u()===21||u()===30?Lc(o,p,m,g,b,N,void 0,A.or_expected):Aa(o,p,m,b,N)}function _i(o,p,m,g,b){let N=jr(),Q=pn(),_e=Xn(0),ee=In(59,!1),te=Ri(b),ce=g===178?y.createGetAccessorDeclaration(m,N,_e,ee,te):y.createSetAccessorDeclaration(m,N,_e,te);return ce.typeParameters=Q,y_(ce)&&(ce.type=ee),Ce(P(ce,o),p)}function Jc(){let o;if(u()===60)return!0;for(;Yr(u());){if(o=u(),Ug(o))return!0;B()}if(u()===42||(br()&&(o=u(),B()),u()===23))return!0;if(o!==void 0){if(!di(o)||o===153||o===139)return!0;switch(u()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return _r()}}return!1}function Yu(o,p,m){Yn(126);let g=Hu(),b=Ce(P(y.createClassStaticBlockDeclaration(g),o),p);return b.modifiers=m,b}function Hu(){let o=we(),p=Ye();He(!1),st(!0);let m=Fr(!1);return He(o),st(p),m}function jc(){if(Ye()&&u()===135){let o=M(),p=gt(A.Expression_expected);B();let m=rn(o,p,!0);return Ps(o,m)}return Oi()}function Rc(){let o=M();if(!Le(60))return;let p=wi(jc);return P(y.createDecorator(p),o)}function qs(o,p,m){let g=M(),b=u();if(u()===87&&p){if(!le(Za))return}else{if(m&&u()===126&&H(Da))return;if(o&&u()===126)return;if(!N_())return}return P(he(b),g)}function On(o,p,m){let g=M(),b,N,Q,_e=!1,ee=!1,te=!1;if(o&&u()===60)for(;N=Rc();)b=wn(b,N);for(;Q=qs(_e,p,m);)Q.kind===126&&(_e=!0),b=wn(b,Q),ee=!0;if(ee&&o&&u()===60)for(;N=Rc();)b=wn(b,N),te=!0;if(te)for(;Q=qs(_e,p,m);)Q.kind===126&&(_e=!0),b=wn(b,Q);return b&&At(b,g)}function Uc(){let o;if(u()===134){let p=M();B();let m=P(he(134),p);o=At([m],p)}return o}function Bc(){let o=M(),p=Ue();if(u()===27)return B(),Ce(P(y.createSemicolonClassElement(),o),p);let m=On(!0,!0,!0);if(u()===126&&H(Da))return Yu(o,p,m);if(ti(139))return _i(o,p,m,178,0);if(ti(153))return _i(o,p,m,179,0);if(u()===137||u()===11){let g=Mc(o,p,m);if(g)return g}if(Br())return ds(o,p,m);if(St(u())||u()===11||u()===9||u()===10||u()===42||u()===23)if(Zt(m,Ec)){for(let b of m)b.flags|=33554432;return Tt(33554432,()=>Bs(o,p,m))}else return Bs(o,p,m);if(m){let g=Gt(80,!0,A.Declaration_expected);return Aa(o,p,m,g,void 0)}return q.fail("Should not have attempted to parse class member declaration.")}function Xu(){let o=M(),p=Ue(),m=On(!0);if(u()===86)return zs(o,p,m,232);let g=Gt(283,!0,A.Expression_expected);return Bp(g,o),g.modifiers=m,g}function $u(){return zs(M(),Ue(),void 0,232)}function Fs(o,p,m){return zs(o,p,m,264)}function zs(o,p,m,g){let b=Ye();J(86);let N=Qu(),Q=pn();Zt(m,Ub)&&st(!0);let _e=Fc(),ee;J(19)?(ee=zc(),J(20)):ee=lr(),st(b);let te=g===264?y.createClassDeclaration(m,N,Q,_e,ee):y.createClassExpression(m,N,Q,_e,ee);return Ce(P(te,o),p)}function Qu(){return qe()&&!qc()?or(qe()):void 0}function qc(){return u()===119&&H(Xl)}function Fc(){if(Vs())return bn(22,Ku)}function Ku(){let o=M(),p=u();q.assert(p===96||p===119),B();let m=un(7,Zu);return P(y.createHeritageClause(p,m),o)}function Zu(){let o=M(),p=Oi();if(p.kind===234)return p;let m=Ca();return P(y.createExpressionWithTypeArguments(p,m),o)}function Ca(){return u()===30?Rr(20,_t,30,32):void 0}function Vs(){return u()===96||u()===119}function zc(){return bn(5,Bc)}function ep(o,p,m){J(120);let g=gt(),b=pn(),N=Fc(),Q=po(),_e=y.createInterfaceDeclaration(m,g,b,N,Q);return Ce(P(_e,o),p)}function tp(o,p,m){J(156),t.hasPrecedingLineBreak()&&Ee(A.Line_break_not_permitted_here);let g=gt(),b=pn();J(64);let N=u()===141&&le(bo)||_t();Qt();let Q=y.createTypeAliasDeclaration(m,g,b,N);return Ce(P(Q,o),p)}function Ws(){let o=M(),p=Ue(),m=jr(),g=lt(xr);return Ce(P(y.createEnumMember(m,g),o),p)}function np(o,p,m){J(94);let g=gt(),b;J(19)?(b=xe(()=>un(6,Ws)),J(20)):b=lr();let N=y.createEnumDeclaration(m,g,b);return Ce(P(N,o),p)}function Gs(){let o=M(),p;return J(19)?(p=bn(1,Yt),J(20)):p=lr(),P(y.createModuleBlock(p),o)}function Vc(o,p,m,g){let b=g&32,N=g&8?jt():gt(),Q=Le(25)?Vc(M(),!1,void 0,8|b):Gs(),_e=y.createModuleDeclaration(m,N,Q,g);return Ce(P(_e,o),p)}function Wc(o,p,m){let g=0,b;u()===162?(b=gt(),g|=2048):(b=Hn(),b.text=Jr(b.text));let N;u()===19?N=Gs():Qt();let Q=y.createModuleDeclaration(m,b,N,g);return Ce(P(Q,o),p)}function rp(o,p,m){let g=0;if(u()===162)return Wc(o,p,m);if(Le(145))g|=32;else if(J(144),u()===11)return Wc(o,p,m);return Vc(o,p,m,g)}function ip(){return u()===149&&H(Gc)}function Gc(){return B()===21}function Da(){return B()===19}function ap(){return B()===44}function sp(o,p,m){J(130),J(145);let g=gt();Qt();let b=y.createNamespaceExportDeclaration(g);return b.modifiers=m,Ce(P(b,o),p)}function Bi(o,p,m){J(102);let g=t.getTokenFullStart(),b;ve()&&(b=gt());let N;if(b?.escapedText==="type"&&(u()!==161||ve()&&H(Dc))&&(ve()||zr())?(N=156,b=ve()?gt():void 0):b?.escapedText==="defer"&&(u()===161?!H(Cc):u()!==28&&u()!==64)&&(N=166,b=ve()?gt():void 0),b&&!op()&&N!==166)return cp(o,p,m,b,N===156);let Q=Yc(b,g,N,void 0),_e=Fi(),ee=Hc();Qt();let te=y.createImportDeclaration(m,Q,_e,ee);return Ce(P(te,o),p)}function Yc(o,p,m,g=!1){let b;return(o||u()===42||u()===19)&&(b=lp(o,p,m,g),J(161)),b}function Hc(){let o=u();if((o===118||o===132)&&!t.hasPrecedingLineBreak())return Ys(o)}function _p(){let o=M(),p=St(u())?jt():ri(11);J(59);let m=zt(!0);return P(y.createImportAttribute(p,m),o)}function Ys(o,p){let m=M();p||J(o);let g=t.getTokenStart();if(J(19)){let b=t.hasPrecedingLineBreak(),N=un(24,_p,!0);if(!J(20)){let Q=Ba(at);Q&&Q.code===A._0_expected.code&&sl(Q,Oa(Mt,$e,g,1,A.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return P(y.createImportAttributes(N,b,o),m)}else{let b=At([],M(),void 0,!1);return P(y.createImportAttributes(b,!1,o),m)}}function zr(){return u()===42||u()===19}function op(){return u()===28||u()===161}function cp(o,p,m,g,b){J(64);let N=qi();Qt();let Q=y.createImportEqualsDeclaration(m,b,g,N);return Ce(P(Q,o),p)}function lp(o,p,m,g){let b;return(!o||Le(28))&&(g&&t.setSkipJsDocLeadingAsterisks(!0),u()===42?b=pp():b=Xc(276),g&&t.setSkipJsDocLeadingAsterisks(!1)),P(y.createImportClause(m,o,b),p)}function qi(){return ip()?up():Ur(!1)}function up(){let o=M();J(149),J(21);let p=Fi();return J(22),P(y.createExternalModuleReference(p),o)}function Fi(){if(u()===11){let o=Hn();return o.text=Jr(o.text),o}else return kt()}function pp(){let o=M();J(42),J(130);let p=gt();return P(y.createNamespaceImport(p),o)}function Hs(){return St(u())||u()===11}function oi(o){return u()===11?Hn():o()}function Xc(o){let p=M(),m=o===276?y.createNamedImports(Rr(23,fp,19,20)):y.createNamedExports(Rr(23,ci,19,20));return P(m,p)}function ci(){let o=Ue();return Ce($c(282),o)}function fp(){return $c(277)}function $c(o){let p=M(),m=di(u())&&!ve(),g=t.getTokenStart(),b=t.getTokenEnd(),N=!1,Q,_e=!0,ee=oi(jt);if(ee.kind===80&&ee.escapedText==="type")if(u()===130){let je=jt();if(u()===130){let Je=jt();Hs()?(N=!0,Q=je,ee=oi(ce),_e=!1):(Q=ee,ee=Je,_e=!1)}else Hs()?(Q=ee,_e=!1,ee=oi(ce)):(N=!0,ee=je)}else Hs()&&(N=!0,ee=oi(ce));_e&&u()===130&&(Q=ee,J(130),ee=oi(ce)),o===277&&(ee.kind!==80?(rt(Cr($e,ee.pos),ee.end,A.Identifier_expected),ee=yi(Gt(80,!1),ee.pos,ee.pos)):m&&rt(g,b,A.Identifier_expected));let te=o===277?y.createImportSpecifier(N,Q,ee):y.createExportSpecifier(N,Q,ee);return P(te,p);function ce(){return m=di(u())&&!ve(),g=t.getTokenStart(),b=t.getTokenEnd(),jt()}}function dp(o){return P(y.createNamespaceExport(oi(jt)),o)}function Qc(o,p,m){let g=Ye();st(!0);let b,N,Q,_e=Le(156),ee=M();Le(42)?(Le(130)&&(b=dp(ee)),J(161),N=Fi()):(b=Xc(280),(u()===161||u()===11&&!t.hasPrecedingLineBreak())&&(J(161),N=Fi()));let te=u();N&&(te===118||te===132)&&!t.hasPrecedingLineBreak()&&(Q=Ys(te)),Qt(),st(g);let ce=y.createExportDeclaration(m,_e,b,N,Q);return Ce(P(ce,o),p)}function Kc(o,p,m){let g=Ye();st(!0);let b;Le(64)?b=!0:J(90);let N=zt(!0);Qt(),st(g);let Q=y.createExportAssignment(m,b,N);return Ce(P(Q,o),p)}let Xs;(o=>{o[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"})(Xs||(Xs={}));let Zc;(o=>{o[o.False=0]="False",o[o.True=1]="True",o[o.Unknown=2]="Unknown"})(Zc||(Zc={}));let el;(o=>{function p(te,ce,je){Fn("file.js",te,99,void 0,1,0),t.setText(te,ce,je),ct=t.scan();let Je=m(),De=se("file.js",99,1,!1,[],he(1),0,Va),Ht=Yi(at,De);return Bt&&(De.jsDocDiagnostics=Yi(Bt,De)),zn(),Je?{jsDocTypeExpression:Je,diagnostics:Ht}:void 0}o.parseJSDocTypeExpressionForTests=p;function m(te){let ce=M(),je=(te?Le:J)(19),Je=Tt(16777216,ls);(!te||je)&&C_(20);let De=y.createJSDocTypeExpression(Je);return L(De),P(De,ce)}o.parseJSDocTypeExpression=m;function g(){let te=M(),ce=Le(19),je=M(),Je=Ur(!1);for(;u()===81;)Pt(),Be(),Je=P(y.createJSDocMemberName(Je,gt()),je);ce&&C_(20);let De=y.createJSDocNameReference(Je);return L(De),P(De,te)}o.parseJSDocNameReference=g;function b(te,ce,je){Fn("",te,99,void 0,1,0);let Je=Tt(16777216,()=>ee(ce,je)),Ht=Yi(at,{languageVariant:0,text:te});return zn(),Je?{jsDoc:Je,diagnostics:Ht}:void 0}o.parseIsolatedJSDocComment=b;function N(te,ce,je){let Je=ct,De=at.length,Ht=tn,Nt=Tt(16777216,()=>ee(ce,je));return Sf(Nt,te),tt&524288&&(Bt||(Bt=[]),En(Bt,at,De)),ct=Je,at.length=De,tn=Ht,Nt}o.parseJSDocComment=N;let Q;(te=>{te[te.BeginningOfLine=0]="BeginningOfLine",te[te.SawAsterisk=1]="SawAsterisk",te[te.SavingComments=2]="SavingComments",te[te.SavingBackticks=3]="SavingBackticks"})(Q||(Q={}));let _e;(te=>{te[te.Property=1]="Property",te[te.Parameter=2]="Parameter",te[te.CallbackParameter=4]="CallbackParameter"})(_e||(_e={}));function ee(te=0,ce){let je=$e,Je=ce===void 0?je.length:te+ce;if(ce=Je-te,q.assert(te>=0),q.assert(te<=Je),q.assert(Je<=je.length),!E6(je,te))return;let De,Ht,Nt,ur,pr,Mn=[],Vr=[],Pe=yt;yt|=1<<25;let et=t.scanRange(te+3,ce-5,wr);return yt=Pe,et;function wr(){let I=1,X,$=te-(je.lastIndexOf(` +`,te)+1)+4;function ne(Re){X||(X=$),Mn.push(Re),$+=Re.length}for(Be();Gi(5););Gi(4)&&(I=0,$=0);e:for(;;){switch(u()){case 60:mp(Mn),pr||(pr=M()),Fe(n($)),I=0,X=void 0;break;case 4:Mn.push(t.getTokenText()),I=0,$=0;break;case 42:let Re=t.getTokenText();I===1?(I=2,ne(Re)):(q.assert(I===0),I=1,$+=Re.length);break;case 5:q.assert(I!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let ut=t.getTokenText();X!==void 0&&$+ut.length>X&&Mn.push(ut.slice(X-$)),$+=ut.length;break;case 1:break e;case 82:I=2,ne(t.getTokenValue());break;case 19:I=2;let fn=t.getTokenFullStart(),an=t.getTokenEnd()-1,Kt=l(an);if(Kt){ur||zi(Mn),Vr.push(P(y.createJSDocText(Mn.join("")),ur??te,fn)),Vr.push(Kt),Mn=[],ur=t.getTokenEnd();break}default:I=2,ne(t.getTokenText());break}I===2?nn(!1):Be()}let re=Mn.join("").trimEnd();Vr.length&&re.length&&Vr.push(P(y.createJSDocText(re),ur??te,pr)),Vr.length&&De&&q.assertIsDefined(pr,"having parsed tags implies that the end of the comment span should be set");let Ne=De&&At(De,Ht,Nt);return P(y.createJSDocComment(Vr.length?At(Vr,te,pr):re.length?re:void 0,Ne),te,Je)}function zi(I){for(;I.length&&(I[0]===` +`||I[0]==="\r");)I.shift()}function mp(I){for(;I.length;){let X=I[I.length-1].trimEnd();if(X==="")I.pop();else if(X.lengthut&&(ne.push(Qn.slice(ut-I)),Re=2),I+=Qn.length;break;case 19:Re=2;let tl=t.getTokenFullStart(),Pa=t.getTokenEnd()-1,nl=l(Pa);nl?(re.push(P(y.createJSDocText(ne.join("")),Ne??$,tl)),re.push(nl),ne=[],Ne=t.getTokenEnd()):fn(t.getTokenText());break;case 62:Re===3?Re=2:Re=3,fn(t.getTokenText());break;case 82:Re!==3&&(Re=2),fn(t.getTokenValue());break;case 42:if(Re===0){Re=1,I+=1;break}default:Re!==3&&(Re=2),fn(t.getTokenText());break}Re===2||Re===3?an=nn(Re===3):an=Be()}zi(ne);let Kt=ne.join("").trimEnd();if(re.length)return Kt.length&&re.push(P(y.createJSDocText(Kt),Ne??$)),At(re,$,t.getTokenEnd());if(Kt.length)return Kt}function l(I){let X=le(v);if(!X)return;Be(),Tn();let $=d(),ne=[];for(;u()!==20&&u()!==4&&u()!==1;)ne.push(t.getTokenText()),Be();let re=X==="link"?y.createJSDocLink:X==="linkcode"?y.createJSDocLinkCode:y.createJSDocLinkPlain;return P(re($,ne.join("")),I,t.getTokenEnd())}function d(){if(St(u())){let I=M(),X=jt();for(;Le(25);)X=P(y.createQualifiedName(X,u()===81?Gt(80,!1):jt()),I);for(;u()===81;)Pt(),Be(),X=P(y.createJSDocMemberName(X,gt()),I);return X}}function v(){if(j(),u()===19&&Be()===60&&St(Be())){let I=t.getTokenValue();if(F(I))return I}}function F(I){return I==="link"||I==="linkcode"||I==="linkplain"}function pe(I,X,$,ne){return P(y.createJSDocUnknownTag(X,i(I,M(),$,ne)),I)}function Fe(I){I&&(De?De.push(I):(De=[I],Ht=I.pos),Nt=I.end)}function It(){return j(),u()===19?m():void 0}function fr(){let I=Gi(23);I&&Tn();let X=Gi(62),$=ey();return X&&zl(62),I&&(Tn(),pt(64)&&kt(),J(24)),{name:$,isBracketed:I}}function xn(I){switch(I.kind){case 151:return!0;case 189:return xn(I.elementType);default:return Df(I)&&Ke(I.typeName)&&I.typeName.escapedText==="Object"&&!I.typeArguments}}function Vi(I,X,$,ne){let re=It(),Ne=!re;j();let{name:Re,isBracketed:ut}=fr(),fn=j();Ne&&!H(v)&&(re=It());let an=i(I,M(),ne,fn),Kt=O0(re,Re,$,ne);Kt&&(re=Kt,Ne=!0);let Qn=$===1?y.createJSDocPropertyTag(X,Re,ut,re,Ne,an):y.createJSDocParameterTag(X,Re,ut,re,Ne,an);return P(Qn,I)}function O0(I,X,$,ne){if(I&&xn(I.type)){let re=M(),Ne,Re;for(;Ne=le(()=>yp($,ne,X));)Ne.kind===342||Ne.kind===349?Re=wn(Re,Ne):Ne.kind===346&&on(Ne.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(Re){let ut=P(y.createJSDocTypeLiteral(Re,I.type.kind===189),re);return P(y.createJSDocTypeExpression(ut),re)}}}function M0(I,X,$,ne){Zt(De,f6)&&rt(X.pos,t.getTokenStart(),A._0_tag_already_specified,l_(X.escapedText));let re=It();return P(y.createJSDocReturnTag(X,re,i(I,M(),$,ne)),I)}function ud(I,X,$,ne){Zt(De,zf)&&rt(X.pos,t.getTokenStart(),A._0_tag_already_specified,l_(X.escapedText));let re=m(!0),Ne=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocTypeTag(X,re,Ne),I)}function L0(I,X,$,ne){let Ne=u()===23||H(()=>Be()===60&&St(Be())&&F(t.getTokenValue()))?void 0:g(),Re=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocSeeTag(X,Ne,Re),I)}function J0(I,X,$,ne){let re=It(),Ne=i(I,M(),$,ne);return P(y.createJSDocThrowsTag(X,re,Ne),I)}function j0(I,X,$,ne){let re=M(),Ne=R0(),Re=t.getTokenFullStart(),ut=i(I,Re,$,ne);ut||(Re=t.getTokenFullStart());let fn=typeof ut!="string"?At(Yp([P(Ne,re,Re)],ut),re):Ne.text+ut;return P(y.createJSDocAuthorTag(X,fn),I)}function R0(){let I=[],X=!1,$=t.getToken();for(;$!==1&&$!==4;){if($===30)X=!0;else{if($===60&&!X)break;if($===32&&X){I.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}I.push(t.getTokenText()),$=Be()}return y.createJSDocText(I.join(""))}function U0(I,X,$,ne){let re=pd();return P(y.createJSDocImplementsTag(X,re,i(I,M(),$,ne)),I)}function B0(I,X,$,ne){let re=pd();return P(y.createJSDocAugmentsTag(X,re,i(I,M(),$,ne)),I)}function q0(I,X,$,ne){let re=m(!1),Ne=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocSatisfiesTag(X,re,Ne),I)}function F0(I,X,$,ne){let re=t.getTokenFullStart(),Ne;ve()&&(Ne=gt());let Re=Yc(Ne,re,156,!0),ut=Fi(),fn=Hc(),an=$!==void 0&&ne!==void 0?i(I,M(),$,ne):void 0;return P(y.createJSDocImportTag(X,Re,ut,fn,an),I)}function pd(){let I=Le(19),X=M(),$=z0();t.setSkipJsDocLeadingAsterisks(!0);let ne=Ca();t.setSkipJsDocLeadingAsterisks(!1);let re=y.createExpressionWithTypeArguments($,ne),Ne=P(re,X);return I&&(Tn(),J(20)),Ne}function z0(){let I=M(),X=li();for(;Le(25);){let $=li();X=P(ae(X,$),I)}return X}function Wi(I,X,$,ne,re){return P(X($,i(I,M(),ne,re)),I)}function fd(I,X,$,ne){let re=m(!0);return Tn(),P(y.createJSDocThisTag(X,re,i(I,M(),$,ne)),I)}function V0(I,X,$,ne){let re=m(!0);return Tn(),P(y.createJSDocEnumTag(X,re,i(I,M(),$,ne)),I)}function W0(I,X,$,ne){let re=It();j();let Ne=hp();Tn();let Re=s($),ut;if(!re||xn(re.type)){let an,Kt,Qn,tl=!1;for(;(an=le(()=>$0($)))&&an.kind!==346;)if(tl=!0,an.kind===345)if(Kt){let Pa=Ee(A.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Pa&&sl(Pa,Oa(Mt,$e,0,0,A.The_tag_was_first_specified_here));break}else Kt=an;else Qn=wn(Qn,an);if(tl){let Pa=re&&re.type.kind===189,nl=y.createJSDocTypeLiteral(Qn,Pa);re=Kt&&Kt.typeExpression&&!xn(Kt.typeExpression.type)?Kt.typeExpression:P(nl,I),ut=re.end}}ut=ut||Re!==void 0?M():(Ne??re??X).end,Re||(Re=i(I,ut,$,ne));let fn=y.createJSDocTypedefTag(X,re,Ne,Re);return P(fn,I,ut)}function hp(I){let X=t.getTokenStart();if(!St(u()))return;let $=li();if(Le(25)){let ne=hp(!0),re=y.createModuleDeclaration(void 0,$,ne,I?8:void 0);return P(re,X)}return I&&($.flags|=4096),$}function G0(I){let X=M(),$,ne;for(;$=le(()=>yp(4,I));){if($.kind===346){on($.tagName,A.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}ne=wn(ne,$)}return At(ne||[],X)}function dd(I,X){let $=G0(X),ne=le(()=>{if(Gi(60)){let re=n(X);if(re&&re.kind===343)return re}});return P(y.createJSDocSignature(void 0,$,ne),I)}function Y0(I,X,$,ne){let re=hp();Tn();let Ne=s($),Re=dd(I,$);Ne||(Ne=i(I,M(),$,ne));let ut=Ne!==void 0?M():Re.end;return P(y.createJSDocCallbackTag(X,Re,re,Ne),I,ut)}function H0(I,X,$,ne){Tn();let re=s($),Ne=dd(I,$);re||(re=i(I,M(),$,ne));let Re=re!==void 0?M():Ne.end;return P(y.createJSDocOverloadTag(X,Ne,re),I,Re)}function X0(I,X){for(;!Ke(I)||!Ke(X);)if(!Ke(I)&&!Ke(X)&&I.right.escapedText===X.right.escapedText)I=I.left,X=X.left;else return!1;return I.escapedText===X.escapedText}function $0(I){return yp(1,I)}function yp(I,X,$){let ne=!0,re=!1;for(;;)switch(Be()){case 60:if(ne){let Ne=Q0(I,X);return Ne&&(Ne.kind===342||Ne.kind===349)&&$&&(Ke(Ne.name)||!X0($,Ne.name.left))?!1:Ne}re=!1;break;case 4:ne=!0,re=!1;break;case 42:re&&(ne=!1),re=!0;break;case 80:ne=!1;break;case 1:return!1}}function Q0(I,X){q.assert(u()===60);let $=t.getTokenFullStart();Be();let ne=li(),re=j(),Ne;switch(ne.escapedText){case"type":return I===1&&ud($,ne);case"prop":case"property":Ne=1;break;case"arg":case"argument":case"param":Ne=6;break;case"template":return md($,ne,X,re);case"this":return fd($,ne,X,re);default:return!1}return I&Ne?Vi($,ne,I,X):!1}function K0(){let I=M(),X=Gi(23);X&&Tn();let $=On(!1,!0),ne=li(A.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),re;if(X&&(Tn(),J(64),re=Tt(16777216,ls),J(24)),!Zi(ne))return P(y.createTypeParameterDeclaration($,ne,void 0,re),I)}function Z0(){let I=M(),X=[];do{Tn();let $=K0();$!==void 0&&X.push($),j()}while(Gi(28));return At(X,I)}function md(I,X,$,ne){let re=u()===19?m():void 0,Ne=Z0();return P(y.createJSDocTemplateTag(X,re,Ne,i(I,M(),$,ne)),I)}function Gi(I){return u()===I?(Be(),!0):!1}function ey(){let I=li();for(Le(23)&&J(24);Le(25);){let X=li();Le(23)&&J(24),I=$l(I,X)}return I}function li(I){if(!St(u()))return Gt(80,!I,I||A.Identifier_expected);yn++;let X=t.getTokenStart(),$=t.getTokenEnd(),ne=u(),re=Jr(t.getTokenValue()),Ne=P(ue(re,ne),X,$);return Be(),Ne}}})(el=e.JSDocParser||(e.JSDocParser={}))})(ta||(ta={}));var hm=new WeakSet;function J6(e){hm.has(e)&&q.fail("Source file has already been incrementally parsed"),hm.add(e)}var ph=new WeakSet;function j6(e){return ph.has(e)}function Wp(e){ph.add(e)}var Sl;(e=>{function t(D,R,ue,be){if(be=be||q.shouldAssert(2),y(D,R,ue,be),dg(ue))return D;if(D.statements.length===0)return ta.parseSourceFile(D.fileName,R,D.languageVersion,void 0,!0,D.scriptKind,D.setExternalModuleIndicator,D.jsDocParsingMode);J6(D),ta.fixupParentReferences(D);let he=D.text,de=G(D),O=c(D,ue);y(D,R,O,be),q.assert(O.span.start<=ue.span.start),q.assert(kr(O.span)===kr(ue.span)),q.assert(kr(Qs(O))===kr(Qs(ue)));let ae=Qs(O).length-O.span.length;k(D,O.span.start,kr(O.span),kr(Qs(O)),ae,he,R,be);let Oe=ta.parseSourceFile(D.fileName,R,D.languageVersion,de,!0,D.scriptKind,D.setExternalModuleIndicator,D.jsDocParsingMode);return Oe.commentDirectives=a(D.commentDirectives,Oe.commentDirectives,O.span.start,kr(O.span),ae,he,R,be),Oe.impliedNodeFormat=D.impliedNodeFormat,y6(D,Oe),Oe}e.updateSourceFile=t;function a(D,R,ue,be,he,de,O,ae){if(!D)return R;let Oe,V=!1;for(let Y of D){let{range:ft,type:nr}=Y;if(ft.endbe){oe();let mn={range:{pos:ft.pos+he,end:ft.end+he},type:nr};Oe=wn(Oe,mn),ae&&q.assert(de.substring(ft.pos,ft.end)===O.substring(mn.range.pos,mn.range.end))}}return oe(),Oe;function oe(){V||(V=!0,Oe?R&&Oe.push(...R):Oe=R)}}function _(D,R,ue,be,he,de,O){ue?Oe(D):ae(D);return;function ae(V){let oe="";if(O&&f(V)&&(oe=he.substring(V.pos,V.end)),Gd(V,R),yi(V,V.pos+be,V.end+be),O&&f(V)&&q.assert(oe===de.substring(V.pos,V.end)),Xt(V,ae,Oe),Ki(V))for(let Y of V.jsDoc)ae(Y);T(V,O)}function Oe(V){yi(V,V.pos+be,V.end+be);for(let oe of V)ae(oe)}}function f(D){switch(D.kind){case 11:case 9:case 80:return!0}return!1}function h(D,R,ue,be,he){q.assert(D.end>=R,"Adjusting an element that was entirely before the change range"),q.assert(D.pos<=ue,"Adjusting an element that was entirely after the change range"),q.assert(D.pos<=D.end);let de=Math.min(D.pos,be),O=D.end>=ue?D.end+he:Math.min(D.end,be);if(q.assert(de<=O),D.parent){let ae=D.parent;q.assertGreaterThanOrEqual(de,ae.pos),q.assertLessThanOrEqual(O,ae.end)}yi(D,de,O)}function T(D,R){if(R){let ue=D.pos,be=he=>{q.assert(he.pos>=ue),ue=he.end};if(Ki(D))for(let he of D.jsDoc)be(he);Xt(D,be),q.assert(ue<=D.end)}}function k(D,R,ue,be,he,de,O,ae){Oe(D);return;function Oe(oe){if(q.assert(oe.pos<=oe.end),oe.pos>ue){_(oe,D,!1,he,de,O,ae);return}let Y=oe.end;if(Y>=R){if(Wp(oe),Gd(oe,D),h(oe,R,ue,be,he),Xt(oe,Oe,V),Ki(oe))for(let ft of oe.jsDoc)Oe(ft);T(oe,ae);return}q.assert(Yue){_(oe,D,!0,he,de,O,ae);return}let Y=oe.end;if(Y>=R){Wp(oe),h(oe,R,ue,be,he);for(let ft of oe)Oe(ft);return}q.assert(Y0&&O<=1;O++){let ae=W(D,be);q.assert(ae.pos<=be);let Oe=ae.pos;be=Math.max(0,Oe-1)}let he=fg(be,kr(R.span)),de=R.newLength+(R.span.start-be);return Ym(he,de)}function W(D,R){let ue=D,be;if(Xt(D,de),be){let O=he(be);O.pos>ue.pos&&(ue=O)}return ue;function he(O){for(;;){let ae=K2(O);if(ae)O=ae;else return O}}function de(O){if(!Zi(O))if(O.pos<=R){if(O.pos>=ue.pos&&(ue=O),RR),!0}}function y(D,R,ue,be){let he=D.text;if(ue&&(q.assert(he.length-ue.span.length+ue.newLength===R.length),be||q.shouldAssert(3))){let de=he.substr(0,ue.span.start),O=R.substr(0,ue.span.start);q.assert(de===O);let ae=he.substring(kr(ue.span),he.length),Oe=R.substring(kr(Qs(ue)),R.length);q.assert(ae===Oe)}}function G(D){let R=D.statements,ue=0;q.assert(ue=V.pos&&O=V.pos&&O{D[D.Value=-1]="Value"})(E||(E={}))})(Sl||(Sl={}));function R6(e){return U6(e)!==void 0}function U6(e){let t=Im(e,bb,!1);if(t)return t;if(jy(e,".ts")){let a=Nm(e),_=a.lastIndexOf(".d.");if(_>=0)return a.substring(_)}}function B6(e,t,a,_){if(e){if(e==="import")return 99;if(e==="require")return 1;_(t,a-t,A.resolution_mode_should_be_either_require_or_import)}}function q6(e,t){let a=[];for(let _ of Lp(t,0)||vt){let f=t.substring(_.pos,_.end);G6(a,_,f)}e.pragmas=new Map;for(let _ of a){if(e.pragmas.has(_.name)){let f=e.pragmas.get(_.name);f instanceof Array?f.push(_.args):e.pragmas.set(_.name,[f,_.args]);continue}e.pragmas.set(_.name,_.args)}}function F6(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((a,_)=>{switch(_){case"reference":{let f=e.referencedFiles,h=e.typeReferenceDirectives,T=e.libReferenceDirectives;jn(bp(a),k=>{let{types:c,lib:W,path:y,["resolution-mode"]:G,preserve:E}=k.arguments,D=E==="true"?!0:void 0;if(k.arguments["no-default-lib"]==="true")e.hasNoDefaultLib=!0;else if(c){let R=B6(G,c.pos,c.end,t);h.push({pos:c.pos,end:c.end,fileName:c.value,...R?{resolutionMode:R}:{},...D?{preserve:D}:{}})}else W?T.push({pos:W.pos,end:W.end,fileName:W.value,...D?{preserve:D}:{}}):y?f.push({pos:y.pos,end:y.end,fileName:y.value,...D?{preserve:D}:{}}):t(k.range.pos,k.range.end-k.range.pos,A.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Pp(bp(a),f=>({name:f.arguments.name,path:f.arguments.path}));break}case"amd-module":{if(a instanceof Array)for(let f of a)e.moduleName&&t(f.range.pos,f.range.end-f.range.pos,A.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=f.arguments.name;else e.moduleName=a.arguments.name;break}case"ts-nocheck":case"ts-check":{jn(bp(a),f=>{(!e.checkJsDirective||f.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:_==="ts-check",end:f.range.end,pos:f.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:q.fail("Unhandled pragma kind")}})}var Dp=new Map;function z6(e){if(Dp.has(e))return Dp.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Dp.set(e,t),t}var V6=/^\/\/\/\s*<(\S+)\s.*?\/>/m,W6=/^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m;function G6(e,t,a){let _=t.kind===2&&V6.exec(a);if(_){let h=_[1].toLowerCase(),T=Pm[h];if(!T||!(T.kind&1))return;if(T.args){let k={};for(let c of T.args){let y=z6(c.name).exec(a);if(!y&&!c.optional)return;if(y){let G=y[2]||y[3];if(c.captureSpan){let E=t.pos+y.index+y[1].length+1;k[c.name]={value:G,pos:E,end:E+G.length}}else k[c.name]=G}}e.push({name:h,args:{arguments:k,range:t}})}else e.push({name:h,args:{arguments:{},range:t}});return}let f=t.kind===2&&W6.exec(a);if(f)return ym(e,t,2,f);if(t.kind===3){let h=/@(\S+)(\s+(?:\S.*)?)?$/gm,T;for(;T=h.exec(a);)ym(e,t,4,T)}}function ym(e,t,a,_){if(!_)return;let f=_[1].toLowerCase(),h=Pm[f];if(!h||!(h.kind&a))return;let T=_[2],k=Y6(h,T);k!=="fail"&&e.push({name:f,args:{arguments:k,range:t}})}function Y6(e,t){if(!t)return{};if(!e.args)return{};let a=t.trim().split(/\s+/),_={};for(let f=0;f_.kind<310||_.kind>352);return a.kind<167?a:a.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),a=Ba(t);if(a)return a.kind<167?a:a.getLastToken(e)}forEachChild(e,t){return Xt(this,e,t)}};function H6(e,t){let a=[];if(e2(e))return e.forEachChild(T=>{a.push(T)}),a;s_.setText((t||e.getSourceFile()).text);let _=e.pos,f=T=>{__(a,_,T.pos,e),a.push(T),_=T.end},h=T=>{__(a,_,T.pos,e),a.push(X6(T,e)),_=T.end};return jn(e.jsDoc,f),_=e.pos,e.forEachChild(f,h),__(a,_,e.end,e),s_.setText(void 0),a}function __(e,t,a,_){for(s_.resetTokenState(t);tt.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function dl(e,t){if(!e)return vt;let a=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(a.length===0||e.some(yh))){let _=new Set;for(let f of e){let h=gh(t,f,T=>{var k;if(!_.has(T))return _.add(T),f.kind===178||f.kind===179?T.getContextualJsDocTags(f,t):((k=T.declarations)==null?void 0:k.length)===1?T.getJsDocTags(t):void 0});h&&(a=[...h,...a])}}return a}function a_(e,t){if(!e)return vt;let a=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(a.length===0||e.some(yh))){let _=new Set;for(let f of e){let h=gh(t,f,T=>{if(!_.has(T))return _.add(T),f.kind===178||f.kind===179?T.getContextualDocumentationComment(f,t):T.getDocumentationComment(t)});h&&(a=a.length===0?h.slice():h.concat(lineBreakPart(),a))}}return a}function gh(e,t,a){var _;let f=((_=t.parent)==null?void 0:_.kind)===177?t.parent.parent:t.parent;if(!f)return;let h=q2(t);return sy(I2(f),T=>{let k=e.getTypeAtLocation(T),c=h&&k.symbol?e.getTypeOfSymbol(k.symbol):k,W=e.getPropertyOfType(c,t.symbol.name);return W?a(W):void 0})}var Z6=class extends Gf{constructor(e,t,a){super(e,t,a)}update(e,t){return L6(this,e,t)}getLineAndCharacterOfPosition(e){return Bm(this,e)}getLineStarts(){return Mp(this)}getPositionOfLineAndCharacter(e,t,a){return rg(Mp(this),e,t,this.text,a)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),a=this.getLineStarts(),_;t+1>=a.length&&(_=this.getEnd()),_||(_=a[t+1]-1);let f=this.getFullText();return f[_]===` +`&&f[_-1]==="\r"?_-1:_}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=vy();return this.forEachChild(f),e;function t(h){let T=_(h);T&&e.add(T,h)}function a(h){let T=e.get(h);return T||e.set(h,T=[]),T}function _(h){let T=lf(h);return T&&(kf(T)&&dr(T.expression)?T.expression.name.text:r1(T)?getNameFromPropertyName(T):void 0)}function f(h){switch(h.kind){case 263:case 219:case 175:case 174:let T=h,k=_(T);if(k){let y=a(k),G=Ba(y);G&&T.parent===G.parent&&T.symbol===G.symbol?T.body&&!G.body&&(y[y.length-1]=T):y.push(T)}Xt(h,f);break;case 264:case 232:case 265:case 266:case 267:case 268:case 272:case 282:case 277:case 274:case 275:case 178:case 179:case 188:t(h),Xt(h,f);break;case 170:if(!v_(h,31))break;case 261:case 209:{let y=h;if(Wg(y.name)){Xt(y.name,f);break}y.initializer&&f(y.initializer)}case 307:case 173:case 172:t(h);break;case 279:let c=h;c.exportClause&&($1(c.exportClause)?jn(c.exportClause.elements,f):f(c.exportClause.name));break;case 273:let W=h.importClause;W&&(W.name&&t(W.name),W.namedBindings&&(W.namedBindings.kind===275?t(W.namedBindings):jn(W.namedBindings.elements,f)));break;case 227:yf(h)!==0&&t(h);default:Xt(h,f)}}}},ev=class{constructor(e,t,a){this.fileName=e,this.text=t,this.skipTrivia=a||(_=>_)}getLineAndCharacterOfPosition(e){return Bm(this,e)}};function tv(){return{getNodeConstructor:()=>Gf,getTokenConstructor:()=>dh,getIdentifierConstructor:()=>mh,getPrivateIdentifierConstructor:()=>hh,getSourceFileConstructor:()=>Z6,getSymbolConstructor:()=>$6,getTypeConstructor:()=>Q6,getSignatureConstructor:()=>K6,getSourceMapSourceConstructor:()=>ev}}var nv=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],I3=[...nv,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors","preparePasteEditsForFile"];_b(tv());var Ml=new Proxy({},{get:()=>!0});var vh=Ml["4.8"];function Rn(e,t=!1){if(e!=null){if(vh){if(t||Ol(e)){let a=$m(e);return a?[...a]:void 0}return}return e.modifiers?.filter(a=>!Cl(a))}}function xi(e,t=!1){if(e!=null){if(vh){if(t||Wf(e)){let a=uf(e);return a?[...a]:void 0}return}return e.decorators?.filter(Cl)}}var Th={};var Ll=new Proxy({},{get:(e,t)=>t});var xh=Ll,Sh=Ll;var C=xh,Rt=Sh;var av=Ml["5.0"],ye=Ae,sv=new Set([ye.AmpersandAmpersandToken,ye.BarBarToken,ye.QuestionQuestionToken]),_v=new Set([Ae.AmpersandAmpersandEqualsToken,Ae.AmpersandEqualsToken,Ae.AsteriskAsteriskEqualsToken,Ae.AsteriskEqualsToken,Ae.BarBarEqualsToken,Ae.BarEqualsToken,Ae.CaretEqualsToken,Ae.EqualsToken,Ae.GreaterThanGreaterThanEqualsToken,Ae.GreaterThanGreaterThanGreaterThanEqualsToken,Ae.LessThanLessThanEqualsToken,Ae.MinusEqualsToken,Ae.PercentEqualsToken,Ae.PlusEqualsToken,Ae.QuestionQuestionEqualsToken,Ae.SlashEqualsToken]),ov=new Set([ye.AmpersandAmpersandToken,ye.AmpersandToken,ye.AsteriskAsteriskToken,ye.AsteriskToken,ye.BarBarToken,ye.BarToken,ye.CaretToken,ye.EqualsEqualsEqualsToken,ye.EqualsEqualsToken,ye.ExclamationEqualsEqualsToken,ye.ExclamationEqualsToken,ye.GreaterThanEqualsToken,ye.GreaterThanGreaterThanGreaterThanToken,ye.GreaterThanGreaterThanToken,ye.GreaterThanToken,ye.InKeyword,ye.InstanceOfKeyword,ye.LessThanEqualsToken,ye.LessThanLessThanToken,ye.LessThanToken,ye.MinusToken,ye.PercentToken,ye.PlusToken,ye.SlashToken]);function cv(e){return _v.has(e.kind)}function lv(e){return sv.has(e.kind)}function uv(e){return ov.has(e.kind)}function Qr(e){return nt(e)}function wh(e){return e.kind!==ye.SemicolonClassElement}function Ge(e,t){return Rn(t)?.some(_=>_.kind===e)===!0}function kh(e){let t=Rn(e);return t==null?null:t[t.length-1]??null}function Eh(e){return e.kind===ye.CommaToken}function pv(e){return e.kind===ye.SingleLineCommentTrivia||e.kind===ye.MultiLineCommentTrivia}function fv(e){return e.kind===ye.JSDocComment}function Ah(e){if(cv(e))return{type:C.AssignmentExpression,operator:Qr(e.kind)};if(lv(e))return{type:C.LogicalExpression,operator:Qr(e.kind)};if(uv(e))return{type:C.BinaryExpression,operator:Qr(e.kind)};throw new Error(`Unexpected binary operator ${nt(e.kind)}`)}function x_(e,t){let a=t.getLineAndCharacterOfPosition(e);return{column:a.character,line:a.line+1}}function Kr(e,t){let[a,_]=e.map(f=>x_(f,t));return{end:_,start:a}}function Ch(e){if(e.kind===Ae.Block)switch(e.parent.kind){case Ae.Constructor:case Ae.GetAccessor:case Ae.SetAccessor:case Ae.ArrowFunction:case Ae.FunctionExpression:case Ae.FunctionDeclaration:case Ae.MethodDeclaration:return!0;default:return!1}return!0}function sa(e,t){return[e.getStart(t),e.getEnd()]}function dv(e){return e.kind>=ye.FirstToken&&e.kind<=ye.LastToken}function Dh(e){return e.kind>=ye.JsxElement&&e.kind<=ye.JsxAttribute}function S_(e){return e.flags&sn.Let?"let":(e.flags&sn.AwaitUsing)===sn.AwaitUsing?"await using":e.flags&sn.Const?"const":e.flags&sn.Using?"using":"var"}function Si(e){let t=Rn(e);if(t!=null)for(let a of t)switch(a.kind){case ye.PublicKeyword:return"public";case ye.ProtectedKeyword:return"protected";case ye.PrivateKeyword:return"private";default:break}}function er(e,t,a){return _(t);function _(f){return t1(f)&&f.pos===e.end?f:vv(f.getChildren(a),h=>(h.pos<=e.pos&&h.end>e.end||h.pos===e.end)&&bv(h,a)?_(h):void 0)}}function mv(e,t){let a=e;for(;a;){if(t(a))return a;a=a.parent}}function hv(e){return!!mv(e,Dh)}function Kf(e){return Wr(0,e,/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let a=t.slice(1,-1);if(a[0]==="#"){let _=a[1]==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return _>1114111?t:String.fromCodePoint(_)}return Th[a]||t})}function _a(e){return e.kind===ye.ComputedPropertyName}function Zf(e){return!!e.questionToken}function ed(e){return e.type===C.ChainExpression}function Ph(e,t){return ed(t)&&e.expression.kind!==Ae.ParenthesizedExpression}function yv(e){if(e.kind===ye.NullKeyword)return Rt.Null;if(e.kind>=ye.FirstKeyword&&e.kind<=ye.LastFutureReservedWord)return e.kind===ye.FalseKeyword||e.kind===ye.TrueKeyword?Rt.Boolean:Rt.Keyword;if(e.kind>=ye.FirstPunctuation&&e.kind<=ye.LastPunctuation)return Rt.Punctuator;if(e.kind>=ye.NoSubstitutionTemplateLiteral&&e.kind<=ye.TemplateTail)return Rt.Template;switch(e.kind){case ye.NumericLiteral:case ye.BigIntLiteral:return Rt.Numeric;case ye.PrivateIdentifier:return Rt.PrivateIdentifier;case ye.JsxText:return Rt.JSXText;case ye.StringLiteral:return e.parent.kind===ye.JsxAttribute||e.parent.kind===ye.JsxElement?Rt.JSXText:Rt.String;case ye.RegularExpressionLiteral:return Rt.RegularExpression;case ye.Identifier:case ye.ConstructorKeyword:case ye.GetKeyword:case ye.SetKeyword:default:}if(e.kind===ye.Identifier){if(Dh(e.parent))return Rt.JSXIdentifier;if(e.parent.kind===ye.PropertyAccessExpression&&hv(e))return Rt.JSXIdentifier}return Rt.Identifier}function gv(e,t){let a=e.kind===ye.JsxText?e.getFullStart():e.getStart(t),_=e.getEnd(),f=t.text.slice(a,_),h=yv(e),T=[a,_],k=Kr(T,t);return h===Rt.RegularExpression?{type:h,loc:k,range:T,regex:{flags:f.slice(f.lastIndexOf("/")+1),pattern:f.slice(1,f.lastIndexOf("/"))},value:f}:h===Rt.PrivateIdentifier?{type:h,loc:k,range:T,value:f.slice(1)}:{type:h,loc:k,range:T,value:f}}function Nh(e){let t=[];function a(_){pv(_)||fv(_)||(dv(_)&&_.kind!==ye.EndOfFileToken?t.push(gv(_,e)):_.getChildren(e).forEach(a))}return a(e),t}var Qf=class extends Error{fileName;location;constructor(t,a,_){super(t),this.fileName=a,this.location=_,Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:new.target.name})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};function w_(e,t,a,_=a){let[f,h]=[a,_].map(T=>{let{character:k,line:c}=t.getLineAndCharacterOfPosition(T);return{column:k,line:c+1,offset:T}});return new Qf(e,t.fileName,{end:h,start:f})}function bv(e,t){return e.kind===ye.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}function vv(e,t){if(e!==void 0)for(let a=0;a=0&&e.kind!==ge.EndOfFileToken}function Lh(e){return!xv(e)}function Sv(e){return Ge(ge.AbstractKeyword,e)}function wv(e){if(e.parameters.length&&!Il(e)){let t=e.parameters[0];if(kv(t))return t}return null}function kv(e){return td(e.name)}function Ev(e){return of(e.parent,mf)}function Av(e){switch(e.kind){case ge.ClassDeclaration:return!0;case ge.ClassExpression:return!0;case ge.PropertyDeclaration:{let{parent:t}=e;return!!(Ga(t)||ra(t)&&!Sv(e))}case ge.GetAccessor:case ge.SetAccessor:case ge.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Ga(t)||ra(t))}case ge.Parameter:{let{parent:t}=e,a=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ge.Constructor||t.kind===ge.MethodDeclaration||t.kind===ge.SetAccessor)&&wv(t)!==e&&!!a&&a.kind===ge.ClassDeclaration}}return!1}function Cv(e){return!!("illegalDecorators"in e&&e.illegalDecorators?.length)}function Ut(e,t){let a=e.getSourceFile(),_=e.getStart(a),f=e.getEnd();throw w_(t,a,_,f)}function Jh(e){Cv(e)&&Ut(e.illegalDecorators[0],"Decorators are not valid here.");for(let t of xi(e,!0)??[])Av(e)||(h_(e)&&!Lh(e.body)?Ut(t,"A decorator can only decorate a method implementation, not an overload."):Ut(t,"Decorators are not valid here."));for(let t of Rn(e,!0)??[]){if(t.kind!==ge.ReadonlyKeyword&&((e.kind===ge.PropertySignature||e.kind===ge.MethodSignature)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a type member`),e.kind===ge.IndexSignature&&(t.kind!==ge.StaticKeyword||!ra(e.parent))&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on an index signature`)),t.kind!==ge.InKeyword&&t.kind!==ge.OutKeyword&&t.kind!==ge.ConstKeyword&&e.kind===ge.TypeParameter&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a type parameter`),(t.kind===ge.InKeyword||t.kind===ge.OutKeyword)&&(e.kind!==ge.TypeParameter||!(T_(e.parent)||ra(e.parent)||Nl(e.parent)))&&Ut(t,`'${nt(t.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),t.kind===ge.ReadonlyKeyword&&e.kind!==ge.PropertyDeclaration&&e.kind!==ge.PropertySignature&&e.kind!==ge.IndexSignature&&e.kind!==ge.Parameter&&Ut(t,"'readonly' modifier can only appear on a property declaration or index signature."),t.kind===ge.DeclareKeyword&&ra(e.parent)&&!Wa(e)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on class elements of this kind.`),t.kind===ge.DeclareKeyword&&Xa(e)){let a=S_(e.declarationList);(a==="using"||a==="await using")&&Ut(t,`'declare' modifier cannot appear on a '${a}' declaration.`)}if(t.kind===ge.AbstractKeyword&&e.kind!==ge.ClassDeclaration&&e.kind!==ge.ConstructorType&&e.kind!==ge.MethodDeclaration&&e.kind!==ge.PropertyDeclaration&&e.kind!==ge.GetAccessor&&e.kind!==ge.SetAccessor&&Ut(t,`'${nt(t.kind)}' modifier can only appear on a class, method, or property declaration.`),(t.kind===ge.StaticKeyword||t.kind===ge.PublicKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.PrivateKeyword)&&(e.parent.kind===ge.ModuleBlock||e.parent.kind===ge.SourceFile)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a module or namespace element.`),t.kind===ge.AccessorKeyword&&e.kind!==ge.PropertyDeclaration&&Ut(t,"'accessor' modifier can only appear on a property declaration."),t.kind===ge.AsyncKeyword&&e.kind!==ge.MethodDeclaration&&e.kind!==ge.FunctionDeclaration&&e.kind!==ge.FunctionExpression&&e.kind!==ge.ArrowFunction&&Ut(t,"'async' modifier cannot be used here."),e.kind===ge.Parameter&&(t.kind===ge.StaticKeyword||t.kind===ge.ExportKeyword||t.kind===ge.DeclareKeyword||t.kind===ge.AsyncKeyword)&&Ut(t,`'${nt(t.kind)}' modifier cannot appear on a parameter.`),t.kind===ge.PublicKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.PrivateKeyword)for(let a of Rn(e)??[])a!==t&&(a.kind===ge.PublicKeyword||a.kind===ge.ProtectedKeyword||a.kind===ge.PrivateKeyword)&&Ut(a,"Accessibility modifier already seen.");if(e.kind===ge.Parameter&&(t.kind===ge.PublicKeyword||t.kind===ge.PrivateKeyword||t.kind===ge.ProtectedKeyword||t.kind===ge.ReadonlyKeyword||t.kind===ge.OverrideKeyword)){let a=Ev(e);a?.kind===ge.Constructor&&Lh(a.body)||Ut(t,"A parameter property is only allowed in a constructor implementation.");let _=e;_.dotDotDotToken&&Ut(t,"A parameter property cannot be a rest parameter."),(_.name.kind===ge.ArrayBindingPattern||_.name.kind===ge.ObjectBindingPattern)&&Ut(t,"A parameter property may not be declared using a binding pattern.")}t.kind!==ge.AsyncKeyword&&e.kind===ge.MethodDeclaration&&e.parent.kind===ge.ObjectLiteralExpression&&Ut(t,`'${nt(t.kind)}' modifier cannot be used here.`)}}var x=Ae;function nd(e){return w_("message"in e&&e.message||e.messageText,e.file,e.start)}function Pv(e){return dr(e)&&Ke(e.name)&&jh(e.expression)}function jh(e){return e.kind===x.Identifier||Pv(e)}var Rl=class{allowPattern=!1;ast;esTreeNodeToTSNodeMap=new WeakMap;options;tsNodeToESTreeNodeMap=new WeakMap;constructor(t,a){this.ast=t,this.options={...a}}#r(t,a){let _=a===Ae.ForInStatement?"for...in":"for...of";if(H1(t)){t.declarations.length!==1&&this.#e(t,`Only a single variable declaration is allowed in a '${_}' statement.`);let f=t.declarations[0];f.initializer?this.#e(f,`The variable declaration of a '${_}' statement cannot have an initializer.`):f.type&&this.#e(f,`The variable declaration of a '${_}' statement cannot have a type annotation.`),a===Ae.ForInStatement&&t.flags&sn.Using&&this.#e(t,"The left-hand side of a 'for...in' statement cannot be a 'using' declaration.")}else!Jl(t)&&t.kind!==Ae.ObjectLiteralExpression&&t.kind!==Ae.ArrayLiteralExpression&&this.#e(t,`The left-hand side of a '${_}' statement must be a variable or a property access.`)}#i(t){this.options.allowInvalidAST||Jh(t)}#e(t,a){if(this.options.allowInvalidAST)return;let _,f;throw Array.isArray(t)?[_,f]=t:typeof t=="number"?_=f=t:(_=t.getStart(this.ast),f=t.getEnd()),w_(a,this.ast,_,f)}#t(t,a,_,f=!1){let h=f;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[_]:()=>(h||((void 0)(`The '${a}' property is deprecated on ${t.type} nodes. Use '${_}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),h=!0),t[_]),set(T){Object.defineProperty(t,a,{enumerable:!0,value:T,writable:!0})}}),t}#n(t,a,_,f){let h=!1;return Object.defineProperty(t,a,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>f:()=>{if(!h){let T=`The '${a}' property is deprecated on ${t.type} nodes.`;_&&(T+=` Use ${_} instead.`),T+=" See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.",(void 0)(T,"DeprecationWarning"),h=!0}return f},set(T){Object.defineProperty(t,a,{enumerable:!0,value:T,writable:!0})}}),t}assertModuleSpecifier(t,a){!a&&t.moduleSpecifier==null&&this.#e(t,"Module specifier must be a string literal."),t.moduleSpecifier&&t.moduleSpecifier?.kind!==x.StringLiteral&&this.#e(t.moduleSpecifier,"Module specifier must be a string literal.")}convertBindingNameWithTypeAnnotation(t,a,_){let f=this.convertPattern(t);return a&&(f.typeAnnotation=this.convertTypeAnnotation(a,_),this.fixParentLocation(f,f.typeAnnotation.range)),f}convertBodyExpressions(t,a){let _=Ch(a);return t.map(f=>{let h=this.convertChild(f);if(_){if(h?.expression&&Pl(f)&&vi(f.expression)){let T=h.expression.raw;return h.directive=T.slice(1,-1),h}_=!1}return h}).filter(f=>f)}convertChainExpression(t,a){let{child:_,isOptional:f}=t.type===C.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===C.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1},h=Ph(a,_);if(!h&&!f)return t;if(h&&ed(_)){let T=_.expression;t.type===C.MemberExpression?t.object=T:t.type===C.CallExpression?t.callee=T:t.expression=T}return this.createNode(a,{type:C.ChainExpression,expression:t})}convertChild(t,a){return this.converter(t,a,!1)}convertChildren(t,a){return t.map(_=>this.converter(_,a,!1))}convertPattern(t,a){return this.converter(t,a,!0)}convertTypeAnnotation(t,a){let _=a?.kind===x.FunctionType||a?.kind===x.ConstructorType?2:1,h=[t.getFullStart()-_,t.end],T=Kr(h,this.ast);return{type:C.TSTypeAnnotation,loc:T,range:h,typeAnnotation:this.convertChild(t)}}convertTypeArgumentsToTypeParameterInstantiation(t,a){let _=er(t,this.ast,this.ast),f=[t.pos-1,_.end];return t.length===0&&this.#e(f,"Type argument list cannot be empty."),this.createNode(a,{type:C.TSTypeParameterInstantiation,range:f,params:this.convertChildren(t)})}convertTSTypeParametersToTypeParametersDeclaration(t){let a=er(t,this.ast,this.ast),_=[t.pos-1,a.end];return t.length===0&&this.#e(_,"Type parameter list cannot be empty."),{type:C.TSTypeParameterDeclaration,loc:Kr(_,this.ast),range:_,params:this.convertChildren(t)}}convertParameters(t){return t?.length?t.map(a=>{let _=this.convertChild(a);return _.decorators=this.convertChildren(xi(a)??[]),_}):[]}converter(t,a,_){if(!t)return null;this.#i(t);let f=this.allowPattern;_!=null&&(this.allowPattern=_);let h=this.convertNode(t,a??t.parent);return this.registerTSNodeInNodeMap(t,h),this.allowPattern=f,h}convertImportAttributes(t){let a=t.attributes??t.assertClause;return this.convertChildren(a?.elements??[])}convertJSXIdentifier(t){let a=this.createNode(t,{type:C.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,a),a}convertJSXNamespaceOrIdentifier(t){if(t.kind===Ae.JsxNamespacedName){let f=this.createNode(t,{type:C.JSXNamespacedName,name:this.createNode(t.name,{type:C.JSXIdentifier,name:t.name.text}),namespace:this.createNode(t.namespace,{type:C.JSXIdentifier,name:t.namespace.text})});return this.registerTSNodeInNodeMap(t,f),f}let a=t.getText(),_=a.indexOf(":");if(_>0){let f=sa(t,this.ast),h=this.createNode(t,{type:C.JSXNamespacedName,range:f,name:this.createNode(t,{type:C.JSXIdentifier,range:[f[0]+_+1,f[1]],name:a.slice(_+1)}),namespace:this.createNode(t,{type:C.JSXIdentifier,range:[f[0],f[0]+_],name:a.slice(0,_)})});return this.registerTSNodeInNodeMap(t,h),h}return this.convertJSXIdentifier(t)}convertJSXTagName(t,a){let _;switch(t.kind){case x.PropertyAccessExpression:t.name.kind===x.PrivateIdentifier&&this.#e(t.name,"Non-private identifier expected."),_=this.createNode(t,{type:C.JSXMemberExpression,object:this.convertJSXTagName(t.expression,a),property:this.convertJSXIdentifier(t.name)});break;case x.ThisKeyword:case x.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,_),_}convertMethodSignature(t){return this.createNode(t,{type:C.TSMethodSignature,accessibility:Si(t),computed:_a(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case x.GetAccessor:return"get";case x.SetAccessor:return"set";case x.MethodSignature:return"method"}})(),optional:Zf(t),params:this.convertParameters(t.parameters),readonly:Ge(x.ReadonlyKeyword,t),returnType:t.type&&this.convertTypeAnnotation(t.type,t),static:Ge(x.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}fixParentLocation(t,a){a[0]t.range[1]&&(t.range[1]=a[1],t.loc.end=x_(t.range[1],this.ast))}convertNode(t,a){switch(t.kind){case x.SourceFile:return this.createNode(t,{type:C.Program,range:[t.getStart(this.ast),t.endOfFileToken.end],body:this.convertBodyExpressions(t.statements,t),comments:void 0,sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case x.Block:return this.createNode(t,{type:C.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case x.Identifier:return Ih(t)?this.createNode(t,{type:C.ThisExpression}):this.createNode(t,{type:C.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case x.PrivateIdentifier:return this.createNode(t,{type:C.PrivateIdentifier,name:t.text.slice(1)});case x.WithStatement:return this.createNode(t,{type:C.WithStatement,body:this.convertChild(t.statement),object:this.convertChild(t.expression)});case x.ReturnStatement:return this.createNode(t,{type:C.ReturnStatement,argument:this.convertChild(t.expression)});case x.LabeledStatement:return this.createNode(t,{type:C.LabeledStatement,body:this.convertChild(t.statement),label:this.convertChild(t.label)});case x.ContinueStatement:return this.createNode(t,{type:C.ContinueStatement,label:this.convertChild(t.label)});case x.BreakStatement:return this.createNode(t,{type:C.BreakStatement,label:this.convertChild(t.label)});case x.IfStatement:return this.createNode(t,{type:C.IfStatement,alternate:this.convertChild(t.elseStatement),consequent:this.convertChild(t.thenStatement),test:this.convertChild(t.expression)});case x.SwitchStatement:return t.caseBlock.clauses.filter(_=>_.kind===x.DefaultClause).length>1&&this.#e(t,"A 'default' clause cannot appear more than once in a 'switch' statement."),this.createNode(t,{type:C.SwitchStatement,cases:this.convertChildren(t.caseBlock.clauses),discriminant:this.convertChild(t.expression)});case x.CaseClause:case x.DefaultClause:return this.createNode(t,{type:C.SwitchCase,consequent:this.convertChildren(t.statements),test:t.kind===x.CaseClause?this.convertChild(t.expression):null});case x.ThrowStatement:return t.expression.end===t.expression.pos&&this.#e(t,"A throw statement must throw an expression."),this.createNode(t,{type:C.ThrowStatement,argument:this.convertChild(t.expression)});case x.TryStatement:return this.createNode(t,{type:C.TryStatement,block:this.convertChild(t.tryBlock),finalizer:this.convertChild(t.finallyBlock),handler:this.convertChild(t.catchClause)});case x.CatchClause:return t.variableDeclaration?.initializer&&this.#e(t.variableDeclaration.initializer,"Catch clause variable cannot have an initializer."),this.createNode(t,{type:C.CatchClause,body:this.convertChild(t.block),param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null});case x.WhileStatement:return this.createNode(t,{type:C.WhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case x.DoStatement:return this.createNode(t,{type:C.DoWhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case x.ForStatement:return this.createNode(t,{type:C.ForStatement,body:this.convertChild(t.statement),init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor)});case x.ForInStatement:return this.#r(t.initializer,t.kind),this.createNode(t,{type:C.ForInStatement,body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case x.ForOfStatement:return this.#r(t.initializer,t.kind),this.createNode(t,{type:C.ForOfStatement,await:!!(t.awaitModifier&&t.awaitModifier.kind===x.AwaitKeyword),body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case x.FunctionDeclaration:{let _=Ge(x.DeclareKeyword,t),f=Ge(x.AsyncKeyword,t),h=!!t.asteriskToken;_?t.body?this.#e(t,"An implementation cannot be declared in ambient contexts."):f?this.#e(t,"'async' modifier cannot be used in an ambient context."):h&&this.#e(t,"Generators are not allowed in an ambient context."):!t.body&&h&&this.#e(t,"A function signature cannot be declared as a generator.");let T=this.createNode(t,{type:t.body?C.FunctionDeclaration:C.TSDeclareFunction,async:f,body:this.convertChild(t.body)||void 0,declare:_,expression:!1,generator:h,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,T)}case x.VariableDeclaration:{let _=!!t.exclamationToken,f=this.convertChild(t.initializer),h=this.convertBindingNameWithTypeAnnotation(t.name,t.type,t);return _&&(f?this.#e(t,"Declarations with initializers cannot also have definite assignment assertions."):(h.type!==C.Identifier||!h.typeAnnotation)&&this.#e(t,"Declarations with definite assignment assertions must also have type annotations.")),this.createNode(t,{type:C.VariableDeclarator,definite:_,id:h,init:f})}case x.VariableStatement:{let _=this.createNode(t,{type:C.VariableDeclaration,declarations:this.convertChildren(t.declarationList.declarations),declare:Ge(x.DeclareKeyword,t),kind:S_(t.declarationList)});return _.declarations.length||this.#e(t,"A variable declaration list must have at least one variable declarator."),(_.kind==="using"||_.kind==="await using")&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].init==null&&this.#e(f,`'${_.kind}' declarations must be initialized.`),_.declarations[h].id.type!==C.Identifier&&this.#e(f.name,`'${_.kind}' declarations may not have binding patterns.`)}),(_.declare||["await using","const","using"].includes(_.kind))&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].definite&&this.#e(f,"A definite assignment assertion '!' is not permitted in this context.")}),_.declare&&t.declarationList.declarations.forEach((f,h)=>{_.declarations[h].init&&(["let","var"].includes(_.kind)||_.declarations[h].id.typeAnnotation)&&this.#e(f,"Initializers are not permitted in ambient contexts.")}),this.fixExports(t,_)}case x.VariableDeclarationList:{let _=this.createNode(t,{type:C.VariableDeclaration,declarations:this.convertChildren(t.declarations),declare:!1,kind:S_(t)});return(_.kind==="using"||_.kind==="await using")&&t.declarations.forEach((f,h)=>{_.declarations[h].init!=null&&this.#e(f,`'${_.kind}' declarations may not be initialized in for statement.`),_.declarations[h].id.type!==C.Identifier&&this.#e(f.name,`'${_.kind}' declarations may not have binding patterns.`)}),_}case x.ExpressionStatement:return this.createNode(t,{type:C.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case x.ThisKeyword:return this.createNode(t,{type:C.ThisExpression});case x.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:C.ArrayPattern,decorators:[],elements:t.elements.map(_=>this.convertPattern(_)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:C.ArrayExpression,elements:this.convertChildren(t.elements)});case x.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:C.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(f=>this.convertPattern(f)),typeAnnotation:void 0});let _=[];for(let f of t.properties)(f.kind===x.GetAccessor||f.kind===x.SetAccessor||f.kind===x.MethodDeclaration)&&!f.body&&this.#e(f.end-1,"'{' expected."),_.push(this.convertChild(f));return this.createNode(t,{type:C.ObjectExpression,properties:_})}case x.PropertyAssignment:{let{exclamationToken:_,questionToken:f}=t;return f&&this.#e(f,"A property assignment cannot have a question token."),_&&this.#e(_,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:C.Property,computed:_a(t.name),key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.converter(t.initializer,t,this.allowPattern)})}case x.ShorthandPropertyAssignment:{let{exclamationToken:_,modifiers:f,questionToken:h}=t;return f&&this.#e(f[0],"A shorthand property assignment cannot have modifiers."),h&&this.#e(h,"A shorthand property assignment cannot have a question token."),_&&this.#e(_,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:C.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0})}):this.createNode(t,{type:C.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case x.ComputedPropertyName:return this.convertChild(t.expression);case x.PropertyDeclaration:{let _=Ge(x.AbstractKeyword,t);_&&t.initializer&&this.#e(t.initializer,"Abstract property cannot have an initializer."),t.name.kind===x.StringLiteral&&t.name.text==="constructor"&&this.#e(t.name,"Classes may not have a field named 'constructor'.");let f=Ge(x.AccessorKeyword,t),h=f?_?C.TSAbstractAccessorProperty:C.AccessorProperty:_?C.TSAbstractPropertyDefinition:C.PropertyDefinition,T=this.convertChild(t.name);return this.createNode(t,{type:h,accessibility:Si(t),computed:_a(t.name),declare:Ge(x.DeclareKeyword,t),decorators:this.convertChildren(xi(t)??[]),definite:!!t.exclamationToken,key:T,optional:(T.type===C.Literal||t.name.kind===x.Identifier||t.name.kind===x.ComputedPropertyName||t.name.kind===x.PrivateIdentifier)&&!!t.questionToken,override:Ge(x.OverrideKeyword,t),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),value:_?null:this.convertChild(t.initializer)})}case x.GetAccessor:case x.SetAccessor:if(t.parent.kind===x.InterfaceDeclaration||t.parent.kind===x.TypeLiteral)return this.convertMethodSignature(t);case x.MethodDeclaration:{let _=Ge(x.AbstractKeyword,t);_&&t.body&&this.#e(t.name,t.kind===x.GetAccessor||t.kind===x.SetAccessor?"An abstract accessor cannot have an implementation.":`Method '${Mh(t.name,this.ast)}' cannot have an implementation because it is marked abstract.`);let f=this.createNode(t,{type:t.body?C.FunctionExpression:C.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:null,params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});f.typeParameters&&this.fixParentLocation(f,f.typeParameters.range);let h;if(a.kind===x.ObjectLiteralExpression)f.params=this.convertChildren(t.parameters),h=this.createNode(t,{type:C.Property,computed:_a(t.name),key:this.convertChild(t.name),kind:"init",method:t.kind===x.MethodDeclaration,optional:!!t.questionToken,shorthand:!1,value:f});else{f.params=this.convertParameters(t.parameters);let T=_?C.TSAbstractMethodDefinition:C.MethodDefinition;h=this.createNode(t,{type:T,accessibility:Si(t),computed:_a(t.name),decorators:this.convertChildren(xi(t)??[]),key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:Ge(x.OverrideKeyword,t),static:Ge(x.StaticKeyword,t),value:f})}return t.kind===x.GetAccessor?h.kind="get":t.kind===x.SetAccessor?h.kind="set":!h.static&&t.name.kind===x.StringLiteral&&t.name.text==="constructor"&&h.type!==C.Property&&(h.kind="constructor"),h}case x.Constructor:{let _=kh(t),f=(_&&er(_,t,this.ast))??t.getFirstToken(),h=this.createNode(t,{type:t.body?C.FunctionExpression:C.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});h.typeParameters&&this.fixParentLocation(h,h.typeParameters.range);let T=f.kind===x.StringLiteral?this.createNode(f,{type:C.Literal,raw:f.getText(),value:"constructor"}):this.createNode(t,{type:C.Identifier,range:[f.getStart(this.ast),f.end],decorators:[],name:"constructor",optional:!1,typeAnnotation:void 0}),k=Ge(x.StaticKeyword,t);return this.createNode(t,{type:Ge(x.AbstractKeyword,t)?C.TSAbstractMethodDefinition:C.MethodDefinition,accessibility:Si(t),computed:!1,decorators:[],key:T,kind:k?"method":"constructor",optional:!1,override:!1,static:k,value:h})}case x.FunctionExpression:return this.createNode(t,{type:C.FunctionExpression,async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.SuperKeyword:return this.createNode(t,{type:C.Super});case x.ArrayBindingPattern:return this.createNode(t,{type:C.ArrayPattern,decorators:[],elements:t.elements.map(_=>this.convertPattern(_)),optional:!1,typeAnnotation:void 0});case x.OmittedExpression:return null;case x.ObjectBindingPattern:return this.createNode(t,{type:C.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(_=>this.convertPattern(_)),typeAnnotation:void 0});case x.BindingElement:{if(a.kind===x.ArrayBindingPattern){let f=this.convertChild(t.name,a);return t.initializer?this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:f,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:C.RestElement,argument:f,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):f}let _;return t.dotDotDotToken?_=this.createNode(t,{type:C.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):_=this.createNode(t,{type:C.Property,computed:!!(t.propertyName&&t.propertyName.kind===x.ComputedPropertyName),key:this.convertChild(t.propertyName??t.name),kind:"init",method:!1,optional:!1,shorthand:!t.propertyName,value:this.convertChild(t.name)}),t.initializer&&(_.value=this.createNode(t,{type:C.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:this.convertChild(t.name),optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0})),_}case x.ArrowFunction:return this.createNode(t,{type:C.ArrowFunctionExpression,async:Ge(x.AsyncKeyword,t),body:this.convertChild(t.body),expression:t.body.kind!==x.Block,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.YieldExpression:return this.createNode(t,{type:C.YieldExpression,argument:this.convertChild(t.expression),delegate:!!t.asteriskToken});case x.AwaitExpression:return this.createNode(t,{type:C.AwaitExpression,argument:this.convertChild(t.expression)});case x.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:C.TemplateLiteral,expressions:[],quasis:[this.createNode(t,{type:C.TemplateElement,tail:!0,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1)}})]});case x.TemplateExpression:{let _=this.createNode(t,{type:C.TemplateLiteral,expressions:[],quasis:[this.convertChild(t.head)]});return t.templateSpans.forEach(f=>{_.expressions.push(this.convertChild(f.expression)),_.quasis.push(this.convertChild(f.literal))}),_}case x.TaggedTemplateExpression:return t.tag.flags&sn.OptionalChain&&this.#e(t,"Tagged template expressions are not permitted in an optional chain."),this.createNode(t,{type:C.TaggedTemplateExpression,quasi:this.convertChild(t.template),tag:this.convertChild(t.tag),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.TemplateHead:case x.TemplateMiddle:case x.TemplateTail:{let _=t.kind===x.TemplateTail;return this.createNode(t,{type:C.TemplateElement,tail:_,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(_?1:2))}})}case x.SpreadAssignment:case x.SpreadElement:return this.allowPattern?this.createNode(t,{type:C.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:C.SpreadElement,argument:this.convertChild(t.expression)});case x.Parameter:{let _,f;return t.dotDotDotToken?_=f=this.createNode(t,{type:C.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(_=this.convertChild(t.name),f=this.createNode(t,{type:C.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:_,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),Rn(t)&&(f.range[0]=_.range[0],f.loc=Kr(f.range,this.ast))):_=f=this.convertChild(t.name,a),t.type&&(_.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(_,_.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>_.range[1]&&(_.range[1]=t.questionToken.end,_.loc.end=x_(_.range[1],this.ast)),_.optional=!0),Rn(t)?this.createNode(t,{type:C.TSParameterProperty,accessibility:Si(t),decorators:[],override:Ge(x.OverrideKeyword,t),parameter:f,readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t)}):f}case x.ClassDeclaration:!t.name&&(!Ge(Ae.ExportKeyword,t)||!Ge(Ae.DefaultKeyword,t))&&this.#e(t,"A class declaration without the 'default' modifier must have a name.");case x.ClassExpression:{let _=t.heritageClauses??[],f=t.kind===x.ClassDeclaration?C.ClassDeclaration:C.ClassExpression,h,T;for(let c of _){let{token:W,types:y}=c;y.length===0&&this.#e(c,`'${nt(W)}' list cannot be empty.`),W===x.ExtendsKeyword?(h&&this.#e(c,"'extends' clause already seen."),T&&this.#e(c,"'extends' clause must precede 'implements' clause."),y.length>1&&this.#e(y[1],"Classes can only extend a single class."),h??(h=c)):W===x.ImplementsKeyword&&(T&&this.#e(c,"'implements' clause already seen."),T??(T=c))}let k=this.createNode(t,{type:f,abstract:Ge(x.AbstractKeyword,t),body:this.createNode(t,{type:C.ClassBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members.filter(wh))}),declare:Ge(x.DeclareKeyword,t),decorators:this.convertChildren(xi(t)??[]),id:this.convertChild(t.name),implements:this.convertChildren(T?.types??[]),superClass:h?.types[0]?this.convertChild(h.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return h?.types[0]?.typeArguments&&(k.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(h.types[0].typeArguments,h.types[0])),this.fixExports(t,k)}case x.ModuleBlock:return this.createNode(t,{type:C.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case x.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let _=this.createNode(t,this.#t({type:C.ImportDeclaration,attributes:this.convertImportAttributes(t),importKind:"value",source:this.convertChild(t.moduleSpecifier),specifiers:[]},"assertions","attributes",!0));if(t.importClause&&(t.importClause.isTypeOnly&&(_.importKind="type"),t.importClause.name&&_.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case x.NamespaceImport:_.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case x.NamedImports:_.specifiers.push(...this.convertChildren(t.importClause.namedBindings.elements));break}return _}case x.NamespaceImport:return this.createNode(t,{type:C.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case x.ImportSpecifier:return this.createNode(t,{type:C.ImportSpecifier,imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value",local:this.convertChild(t.name)});case x.ImportClause:{let _=this.convertChild(t.name);return this.createNode(t,{type:C.ImportDefaultSpecifier,range:_.range,local:_})}case x.ExportDeclaration:return t.exportClause?.kind===x.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,this.#t({type:C.ExportNamedDeclaration,attributes:this.convertImportAttributes(t),declaration:null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier),specifiers:this.convertChildren(t.exportClause.elements,t)},"assertions","attributes",!0))):(this.assertModuleSpecifier(t,!1),this.createNode(t,this.#t({type:C.ExportAllDeclaration,attributes:this.convertImportAttributes(t),exported:t.exportClause?.kind===x.NamespaceExport?this.convertChild(t.exportClause.name):null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier)},"assertions","attributes",!0)));case x.ExportSpecifier:{let _=t.propertyName??t.name;return _.kind===x.StringLiteral&&a.kind===x.ExportDeclaration&&a.moduleSpecifier?.kind!==x.StringLiteral&&this.#e(_,"A string literal cannot be used as a local exported binding without `from`."),this.createNode(t,{type:C.ExportSpecifier,exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value",local:this.convertChild(_)})}case x.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:C.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:C.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case x.PrefixUnaryExpression:case x.PostfixUnaryExpression:{let _=Qr(t.operator);return _==="++"||_==="--"?(Jl(t.operand)||this.#e(t.operand,"Invalid left-hand side expression in unary operation"),this.createNode(t,{type:C.UpdateExpression,argument:this.convertChild(t.operand),operator:_,prefix:t.kind===x.PrefixUnaryExpression})):this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.operand),operator:_,prefix:t.kind===x.PrefixUnaryExpression})}case x.DeleteExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"delete",prefix:!0});case x.VoidExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"void",prefix:!0});case x.TypeOfExpression:return this.createNode(t,{type:C.UnaryExpression,argument:this.convertChild(t.expression),operator:"typeof",prefix:!0});case x.TypeOperator:return this.createNode(t,{type:C.TSTypeOperator,operator:Qr(t.operator),typeAnnotation:this.convertChild(t.type)});case x.BinaryExpression:{if(t.operatorToken.kind!==x.InKeyword&&t.left.kind===x.PrivateIdentifier?this.#e(t.left,"Private identifiers cannot appear on the right-hand-side of an 'in' expression."):t.right.kind===x.PrivateIdentifier&&this.#e(t.right,"Private identifiers are only allowed on the left-hand-side of an 'in' expression."),Eh(t.operatorToken)){let f=this.createNode(t,{type:C.SequenceExpression,expressions:[]}),h=this.convertChild(t.left);return h.type===C.SequenceExpression&&t.left.kind!==x.ParenthesizedExpression?f.expressions.push(...h.expressions):f.expressions.push(h),f.expressions.push(this.convertChild(t.right)),f}let _=Ah(t.operatorToken);return this.allowPattern&&_.type===C.AssignmentExpression?this.createNode(t,{type:C.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{..._,left:this.converter(t.left,t,_.type===C.AssignmentExpression),right:this.convertChild(t.right)})}case x.PropertyAccessExpression:{let _=this.convertChild(t.expression),f=this.convertChild(t.name),T=this.createNode(t,{type:C.MemberExpression,computed:!1,object:_,optional:t.questionDotToken!=null,property:f});return this.convertChainExpression(T,t)}case x.ElementAccessExpression:{let _=this.convertChild(t.expression),f=this.convertChild(t.argumentExpression),T=this.createNode(t,{type:C.MemberExpression,computed:!0,object:_,optional:t.questionDotToken!=null,property:f});return this.convertChainExpression(T,t)}case x.CallExpression:{if(t.expression.kind===x.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&this.#e(t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,this.#t({type:C.ImportExpression,options:t.arguments[1]?this.convertChild(t.arguments[1]):null,source:this.convertChild(t.arguments[0])},"attributes","options",!0));let _=this.convertChild(t.expression),f=this.convertChildren(t.arguments),h=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),T=this.createNode(t,{type:C.CallExpression,arguments:f,callee:_,optional:t.questionDotToken!=null,typeArguments:h});return this.convertChainExpression(T,t)}case x.NewExpression:{let _=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,{type:C.NewExpression,arguments:this.convertChildren(t.arguments??[]),callee:this.convertChild(t.expression),typeArguments:_})}case x.ConditionalExpression:return this.createNode(t,{type:C.ConditionalExpression,alternate:this.convertChild(t.whenFalse),consequent:this.convertChild(t.whenTrue),test:this.convertChild(t.condition)});case x.MetaProperty:return this.createNode(t,{type:C.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:C.Identifier,decorators:[],name:Qr(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case x.Decorator:return this.createNode(t,{type:C.Decorator,expression:this.convertChild(t.expression)});case x.StringLiteral:return this.createNode(t,{type:C.Literal,raw:t.getText(),value:a.kind===x.JsxAttribute?Kf(t.text):t.text});case x.NumericLiteral:return this.createNode(t,{type:C.Literal,raw:t.getText(),value:Number(t.text)});case x.BigIntLiteral:{let _=sa(t,this.ast),f=this.ast.text.slice(_[0],_[1]),h=Wr(0,f.slice(0,-1),"_",""),T=typeof BigInt<"u"?BigInt(h):null;return this.createNode(t,{type:C.Literal,range:_,bigint:T==null?h:String(T),raw:f,value:T})}case x.RegularExpressionLiteral:{let _=t.text.slice(1,t.text.lastIndexOf("/")),f=t.text.slice(t.text.lastIndexOf("/")+1),h=null;try{h=new RegExp(_,f)}catch{}return this.createNode(t,{type:C.Literal,raw:t.text,regex:{flags:f,pattern:_},value:h})}case x.TrueKeyword:return this.createNode(t,{type:C.Literal,raw:"true",value:!0});case x.FalseKeyword:return this.createNode(t,{type:C.Literal,raw:"false",value:!1});case x.NullKeyword:return this.createNode(t,{type:C.Literal,raw:"null",value:null});case x.EmptyStatement:return this.createNode(t,{type:C.EmptyStatement});case x.DebuggerStatement:return this.createNode(t,{type:C.DebuggerStatement});case x.JsxElement:return this.createNode(t,{type:C.JSXElement,children:this.convertChildren(t.children),closingElement:this.convertChild(t.closingElement),openingElement:this.convertChild(t.openingElement)});case x.JsxFragment:return this.createNode(t,{type:C.JSXFragment,children:this.convertChildren(t.children),closingFragment:this.convertChild(t.closingFragment),openingFragment:this.convertChild(t.openingFragment)});case x.JsxSelfClosingElement:return this.createNode(t,{type:C.JSXElement,children:[],closingElement:null,openingElement:this.createNode(t,{type:C.JSXOpeningElement,range:sa(t,this.ast),attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!0,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0})});case x.JsxOpeningElement:return this.createNode(t,{type:C.JSXOpeningElement,attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!1,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.JsxClosingElement:return this.createNode(t,{type:C.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case x.JsxOpeningFragment:return this.createNode(t,{type:C.JSXOpeningFragment});case x.JsxClosingFragment:return this.createNode(t,{type:C.JSXClosingFragment});case x.JsxExpression:{let _=t.expression?this.convertChild(t.expression):this.createNode(t,{type:C.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:C.JSXSpreadChild,expression:_}):this.createNode(t,{type:C.JSXExpressionContainer,expression:_})}case x.JsxAttribute:return this.createNode(t,{type:C.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case x.JsxText:{let _=t.getFullStart(),f=t.getEnd(),h=this.ast.text.slice(_,f);return this.createNode(t,{type:C.JSXText,range:[_,f],raw:h,value:Kf(h)})}case x.JsxSpreadAttribute:return this.createNode(t,{type:C.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case x.QualifiedName:return this.createNode(t,{type:C.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case x.TypeReference:return this.createNode(t,{type:C.TSTypeReference,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),typeName:this.convertChild(t.typeName)});case x.TypeParameter:return this.createNode(t,{type:C.TSTypeParameter,const:Ge(x.ConstKeyword,t),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:Ge(x.InKeyword,t),name:this.convertChild(t.name),out:Ge(x.OutKeyword,t)});case x.ThisType:return this.createNode(t,{type:C.TSThisType});case x.AnyKeyword:case x.BigIntKeyword:case x.BooleanKeyword:case x.NeverKeyword:case x.NumberKeyword:case x.ObjectKeyword:case x.StringKeyword:case x.SymbolKeyword:case x.UnknownKeyword:case x.VoidKeyword:case x.UndefinedKeyword:case x.IntrinsicKeyword:return this.createNode(t,{type:C[`TS${x[t.kind]}`]});case x.NonNullExpression:{let _=this.createNode(t,{type:C.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(_,t)}case x.TypeLiteral:return this.createNode(t,{type:C.TSTypeLiteral,members:this.convertChildren(t.members)});case x.ArrayType:return this.createNode(t,{type:C.TSArrayType,elementType:this.convertChild(t.elementType)});case x.IndexedAccessType:return this.createNode(t,{type:C.TSIndexedAccessType,indexType:this.convertChild(t.indexType),objectType:this.convertChild(t.objectType)});case x.ConditionalType:return this.createNode(t,{type:C.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),falseType:this.convertChild(t.falseType),trueType:this.convertChild(t.trueType)});case x.TypeQuery:return this.createNode(t,{type:C.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case x.MappedType:return t.members&&t.members.length>0&&this.#e(t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,this.#n({type:C.TSMappedType,constraint:this.convertChild(t.typeParameter.constraint),key:this.convertChild(t.typeParameter.name),nameType:this.convertChild(t.nameType)??null,optional:t.questionToken?t.questionToken.kind===x.QuestionToken||Qr(t.questionToken.kind):!1,readonly:t.readonlyToken?t.readonlyToken.kind===x.ReadonlyKeyword||Qr(t.readonlyToken.kind):void 0,typeAnnotation:t.type&&this.convertChild(t.type)},"typeParameter","'constraint' and 'key'",this.convertChild(t.typeParameter)));case x.ParenthesizedExpression:return this.convertChild(t.expression,a);case x.TypeAliasDeclaration:{let _=this.createNode(t,{type:C.TSTypeAliasDeclaration,declare:Ge(x.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,_)}case x.MethodSignature:return this.convertMethodSignature(t);case x.PropertySignature:{let{initializer:_}=t;return _&&this.#e(_,"A property signature cannot have an initializer."),this.createNode(t,{type:C.TSPropertySignature,accessibility:Si(t),computed:_a(t.name),key:this.convertChild(t.name),optional:Zf(t),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case x.IndexSignature:return this.createNode(t,{type:C.TSIndexSignature,accessibility:Si(t),parameters:this.convertChildren(t.parameters),readonly:Ge(x.ReadonlyKeyword,t),static:Ge(x.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case x.ConstructorType:return this.createNode(t,{type:C.TSConstructorType,abstract:Ge(x.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case x.FunctionType:{let{modifiers:_}=t;_&&this.#e(_[0],"A function type cannot have modifiers.")}case x.ConstructSignature:case x.CallSignature:{let _=t.kind===x.ConstructSignature?C.TSConstructSignatureDeclaration:t.kind===x.CallSignature?C.TSCallSignatureDeclaration:C.TSFunctionType;return this.createNode(t,{type:_,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case x.ExpressionWithTypeArguments:{let _=a.kind,f=_===x.InterfaceDeclaration?C.TSInterfaceHeritage:_===x.HeritageClause?C.TSClassImplements:C.TSInstantiationExpression;return this.createNode(t,{type:f,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)})}case x.InterfaceDeclaration:{let _=t.heritageClauses??[],f=[],h=!1;for(let k of _){k.token!==x.ExtendsKeyword&&this.#e(k,k.token===x.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token."),h&&this.#e(k,"'extends' clause already seen."),h=!0;for(let c of k.types)(!jh(c.expression)||e1(c.expression))&&this.#e(c,"Interface declaration can only extend an identifier/qualified name with optional type arguments."),f.push(this.convertChild(c,t))}let T=this.createNode(t,{type:C.TSInterfaceDeclaration,body:this.createNode(t,{type:C.TSInterfaceBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members)}),declare:Ge(x.DeclareKeyword,t),extends:f,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,T)}case x.TypePredicate:{let _=this.createNode(t,{type:C.TSTypePredicate,asserts:t.assertsModifier!=null,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(_.typeAnnotation=this.convertTypeAnnotation(t.type,t),_.typeAnnotation.loc=_.typeAnnotation.typeAnnotation.loc,_.typeAnnotation.range=_.typeAnnotation.typeAnnotation.range),_}case x.ImportType:{let _=sa(t,this.ast);if(t.isTypeOf){let c=er(t.getFirstToken(),t,this.ast);_[0]=c.getStart(this.ast)}let f=null;if(t.attributes){let c=this.createNode(t.attributes,{type:C.ObjectExpression,properties:t.attributes.elements.map(be=>this.createNode(be,{type:C.Property,computed:!1,key:this.convertChild(be.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.convertChild(be.value)}))}),W=er(t.argument,t,this.ast),y=er(W,t,this.ast),G=er(t.attributes,t,this.ast),E=G.kind===Ae.CommaToken?er(G,t,this.ast):G,D=er(y,t,this.ast),R=sa(D,this.ast),ue=D.kind===Ae.AssertKeyword?"assert":"with";f=this.createNode(t,{type:C.ObjectExpression,range:[y.getStart(this.ast),E.end],properties:[this.createNode(t,{type:C.Property,range:[R[0],t.attributes.end],computed:!1,key:this.createNode(t,{type:C.Identifier,range:R,decorators:[],name:ue,optional:!1,typeAnnotation:void 0}),kind:"init",method:!1,optional:!1,shorthand:!1,value:c})]})}let h=this.convertChild(t.argument),T=h.literal,k=this.createNode(t,this.#n({type:C.TSImportType,range:_,options:f,qualifier:this.convertChild(t.qualifier),source:T,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null},"argument","source",h));return t.isTypeOf?this.createNode(t,{type:C.TSTypeQuery,exprName:k,typeArguments:void 0}):k}case x.EnumDeclaration:{let _=this.convertChildren(t.members),f=this.createNode(t,this.#n({type:C.TSEnumDeclaration,body:this.createNode(t,{type:C.TSEnumBody,range:[t.members.pos-1,t.end],members:_}),const:Ge(x.ConstKeyword,t),declare:Ge(x.DeclareKeyword,t),id:this.convertChild(t.name)},"members","'body.members'",this.convertChildren(t.members)));return this.fixExports(t,f)}case x.EnumMember:{let _=t.name.kind===Ae.ComputedPropertyName;return _&&this.#e(t.name,"Computed property names are not allowed in enums."),(t.name.kind===x.NumericLiteral||t.name.kind===x.BigIntLiteral)&&this.#e(t.name,"An enum member cannot have a numeric name."),this.createNode(t,this.#n({type:C.TSEnumMember,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)},"computed",void 0,_))}case x.ModuleDeclaration:{let _=Ge(x.DeclareKeyword,t),f=this.createNode(t,{type:C.TSModuleDeclaration,...(()=>{if(t.flags&sn.GlobalAugmentation){let T=this.convertChild(t.name),k=this.convertChild(t.body);return(k==null||k.type===C.TSModuleDeclaration)&&this.#e(t.body??t,"Expected a valid module body"),T.type!==C.Identifier&&this.#e(t.name,"global module augmentation must have an Identifier id"),{body:k,declare:!1,global:!1,id:T,kind:"global"}}if(vi(t.name)){let T=this.convertChild(t.body);return{kind:"module",...T!=null?{body:T}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&this.#e(t,"Expected a module body"),t.name.kind!==Ae.Identifier&&this.#e(t.name,"`namespace`s must have an Identifier id");let h=this.createNode(t.name,{type:C.Identifier,range:[t.name.getStart(this.ast),t.name.getEnd()],decorators:[],name:t.name.text,optional:!1,typeAnnotation:void 0});for(;t.body&&Ti(t.body)&&t.body.name;){t=t.body,_||(_=Ge(x.DeclareKeyword,t));let T=t.name,k=this.createNode(T,{type:C.Identifier,range:[T.getStart(this.ast),T.getEnd()],decorators:[],name:T.text,optional:!1,typeAnnotation:void 0});h=this.createNode(T,{type:C.TSQualifiedName,range:[h.range[0],k.range[1]],left:h,right:k})}return{body:this.convertChild(t.body),declare:!1,global:!1,id:h,kind:t.flags&sn.Namespace?"namespace":"module"}})()});return f.declare=_,t.flags&sn.GlobalAugmentation&&(f.global=!0),this.fixExports(t,f)}case x.ParenthesizedType:return this.convertChild(t.type);case x.UnionType:return this.createNode(t,{type:C.TSUnionType,types:this.convertChildren(t.types)});case x.IntersectionType:return this.createNode(t,{type:C.TSIntersectionType,types:this.convertChildren(t.types)});case x.AsExpression:return this.createNode(t,{type:C.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case x.InferType:return this.createNode(t,{type:C.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case x.LiteralType:return t.literal.kind===x.NullKeyword?this.createNode(t.literal,{type:C.TSNullKeyword}):this.createNode(t,{type:C.TSLiteralType,literal:this.convertChild(t.literal)});case x.TypeAssertionExpression:return this.createNode(t,{type:C.TSTypeAssertion,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case x.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:C.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case x.ExternalModuleReference:return t.expression.kind!==x.StringLiteral&&this.#e(t.expression,"String literal expected."),this.createNode(t,{type:C.TSExternalModuleReference,expression:this.convertChild(t.expression)});case x.NamespaceExportDeclaration:return this.createNode(t,{type:C.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case x.AbstractKeyword:return this.createNode(t,{type:C.TSAbstractKeyword});case x.TupleType:{let _=this.convertChildren(t.elements);return this.createNode(t,{type:C.TSTupleType,elementTypes:_})}case x.NamedTupleMember:{let _=this.createNode(t,{type:C.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(_.range[0]=_.label.range[0],_.loc.start=_.label.loc.start,this.createNode(t,{type:C.TSRestType,typeAnnotation:_})):_}case x.OptionalType:return this.createNode(t,{type:C.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case x.RestType:return this.createNode(t,{type:C.TSRestType,typeAnnotation:this.convertChild(t.type)});case x.TemplateLiteralType:{let _=this.createNode(t,{type:C.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(f=>{_.types.push(this.convertChild(f.type)),_.quasis.push(this.convertChild(f.literal))}),_}case x.ClassStaticBlockDeclaration:return this.createNode(t,{type:C.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case x.AssertEntry:case x.ImportAttribute:return this.createNode(t,{type:C.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case x.SatisfiesExpression:return this.createNode(t,{type:C.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}createNode(t,a){let _=a;return _.range??(_.range=sa(t,this.ast)),_.loc??(_.loc=Kr(_.range,this.ast)),_&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(_,t),_}convertProgram(){return this.converter(this.ast)}deeplyCopy(t){t.kind===Ae.JSDocFunctionType&&this.#e(t,"JSDoc types can only be used inside documentation comments.");let a=`TS${x[t.kind]}`;if(this.options.errorOnUnknownASTType&&!C[a])throw new Error(`Unknown AST_NODE_TYPE: "${a}"`);let _=this.createNode(t,{type:a});"type"in t&&(_.typeAnnotation=t.type&&"kind"in t.type&&i1(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(_.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null),"typeParameters"in t&&(_.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let f=xi(t);f?.length&&(_.decorators=this.convertChildren(f));let h=new Set(["_children","decorators","end","flags","heritageClauses","illegalDecorators","jsDoc","kind","locals","localSymbol","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(t).filter(([T])=>!h.has(T)).forEach(([T,k])=>{Array.isArray(k)?_[T]=this.convertChildren(k):k&&typeof k=="object"&&k.kind?_[T]=this.convertChild(k):_[T]=k}),_}fixExports(t,a){let f=Ti(t)&&!vi(t.name)?Oh(t):Rn(t);if(f?.[0].kind===x.ExportKeyword){this.registerTSNodeInNodeMap(t,a);let h=f[0],T=f[1],k=T?.kind===x.DefaultKeyword,c=k?er(T,this.ast,this.ast):er(h,this.ast,this.ast);if(a.range[0]=c.getStart(this.ast),a.loc=Kr(a.range,this.ast),k)return this.createNode(t,{type:C.ExportDefaultDeclaration,range:[h.getStart(this.ast),a.range[1]],declaration:a,exportKind:"value"});let W=a.type===C.TSInterfaceDeclaration||a.type===C.TSTypeAliasDeclaration,y="declare"in a&&a.declare;return this.createNode(t,this.#t({type:C.ExportNamedDeclaration,range:[h.getStart(this.ast),a.range[1]],attributes:[],declaration:a,exportKind:W||y?"type":"value",source:null,specifiers:[]},"assertions","attributes",!0))}return a}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}registerTSNodeInNodeMap(t,a){a&&this.options.shouldPreserveNodeMaps&&!this.tsNodeToESTreeNodeMap.has(t)&&this.tsNodeToESTreeNodeMap.set(t,a)}};function Nv(e,t,a=e.getSourceFile()){let _=[];for(;;){if(df(e.kind))t(e);else{let f=e.getChildren(a);if(f.length===1){e=f[0];continue}for(let h=f.length-1;h>=0;--h)_.push(f[h])}if(_.length===0)break;e=_.pop()}}function Uh(e,t,a=e.getSourceFile()){let _=a.text,f=a.languageVariant!==wl.JSX;return Nv(e,T=>{if(T.pos!==T.end&&(T.kind!==Ae.JsxText&&Vm(_,T.pos===0?(af(_)??"").length:T.pos,h),f||Iv(T)))return Wm(_,T.end,h)},a);function h(T,k,c){t(_,{end:k,kind:c,pos:T})}}function Iv(e){switch(e.kind){case Ae.CloseBraceToken:return e.parent.kind!==Ae.JsxExpression||!rd(e.parent.parent);case Ae.GreaterThanToken:switch(e.parent.kind){case Ae.JsxClosingElement:case Ae.JsxClosingFragment:return!rd(e.parent.parent.parent);case Ae.JsxOpeningElement:return e.end!==e.parent.end;case Ae.JsxOpeningFragment:return!1;case Ae.JsxSelfClosingElement:return e.end!==e.parent.end||!rd(e.parent.parent)}}return!0}function rd(e){return e.kind===Ae.JsxElement||e.kind===Ae.JsxFragment}var[rx,ix]=gm.split(".").map(e=>Number.parseInt(e,10));var ax=en.Intrinsic??en.Any|en.Unknown|en.String|en.Number|en.BigInt|en.Boolean|en.BooleanLiteral|en.ESSymbol|en.Void|en.Undefined|en.Null|en.Never|en.NonPrimitive;function Bh(e,t){let a=[];return Uh(e,(_,f)=>{let h=f.kind===Ae.SingleLineCommentTrivia?Rt.Line:Rt.Block,T=[f.pos,f.end],k=Kr(T,e),c=T[0]+2,W=f.kind===Ae.SingleLineCommentTrivia?T[1]:T[1]-2;a.push({type:h,loc:k,range:T,value:t.slice(c,W)})},e),a}var qh=()=>{};function Fh(e,t,a){let{parseDiagnostics:_}=e;if(_.length)throw nd(_[0]);let f=new Rl(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),h=f.convertProgram();return(!t.range||!t.loc)&&qh(h,{enter:k=>{t.range||delete k.range,t.loc||delete k.loc}}),t.tokens&&(h.tokens=Nh(e)),t.comment&&(h.comments=Bh(e,t.codeFullText)),{astMaps:f.getASTMaps(),estree:h}}function Ul(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===Ae.SourceFile&&typeof t.getFullText=="function"}var Uv=function(e){return e&&e.__esModule?e:{default:e}};var Bv=Uv({extname:e=>"."+e.split(".").pop()});function Vh(e,t){switch(Bv.default.extname(e).toLowerCase()){case Cn.Cjs:case Cn.Js:case Cn.Mjs:return Pr.JS;case Cn.Cts:case Cn.Mts:case Cn.Ts:return Pr.TS;case Cn.Json:return Pr.JSON;case Cn.Jsx:return Pr.JSX;case Cn.Tsx:return Pr.TSX;default:return t?Pr.TSX:Pr.TS}}var Fv={default:Na},zv=(0,Fv.default)("typescript-eslint:typescript-estree:create-program:createSourceFile");function Wh(e){return zv("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),Ul(e.code)?e.code:lh(e.filePath,e.codeFullText,{jsDocParsingMode:e.jsDocParsingMode,languageVersion:g_.Latest,setExternalModuleIndicator:e.setExternalModuleIndicator},!0,Vh(e.filePath,e.jsx))}var Gh=e=>e;var Yh=()=>{};var Hh=class{};var $h=()=>!1;var Qh=()=>{};var n4=function(e){return e&&e.__esModule?e:{default:e}};var r4={},id={default:Na},i4=n4({extname:e=>"."+e.split(".").pop()}),a4=(0,id.default)("typescript-eslint:typescript-estree:parseSettings:createParseSettings"),s4,Kh=null,k_={ParseAll:Ya?.ParseAll,ParseForTypeErrors:Ya?.ParseForTypeErrors,ParseForTypeInfo:Ya?.ParseForTypeInfo,ParseNone:Ya?.ParseNone};function Zh(e,t={}){let a=_4(e),_=$h(t),f=void 0,h=typeof t.loggerFn=="function",T=Gh(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:o4(t.jsx),f),k=i4.default.extname(T).toLowerCase(),c=(()=>{switch(t.jsDocParsingMode){case"all":return k_.ParseAll;case"none":return k_.ParseNone;case"type-info":return k_.ParseForTypeInfo;default:return k_.ParseAll}})(),W={loc:t.loc===!0,range:t.range===!0,allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:a,comment:t.comment===!0,comments:[],debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(y=>typeof y=="string")?t.extraFileExtensions:[],filePath:T,jsDocParsingMode:c,jsx:t.jsx===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:new Map,projectService:t.projectService||t.project&&t.projectService!==!1&&(void 0).env.TYPESCRIPT_ESLINT_PROJECT_SERVICE==="true"?c4(t.projectService,{jsDocParsingMode:c,tsconfigRootDir:f}):void 0,setExternalModuleIndicator:t.sourceType==="module"||t.sourceType==null&&k===Cn.Mjs||t.sourceType==null&&k===Cn.Mts?y=>{y.externalModuleIndicator=!0}:void 0,singleRun:_,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:s4??(s4=new Hh(_?"Infinity":t.cacheLifetime?.glob??void 0)),tsconfigRootDir:f};if(W.projectService&&t.project&&(void 0).env.TYPESCRIPT_ESLINT_IGNORE_PROJECT_AND_PROJECT_SERVICE_ERROR!=="true")throw new Error('Enabling "project" does nothing when "projectService" is enabled. You can remove the "project" setting.');if(W.debugLevel.size>0){let y=[];W.debugLevel.has("typescript-eslint")&&y.push("typescript-eslint:*"),(W.debugLevel.has("eslint")||id.default.enabled("eslint:*,-eslint:code-path"))&&y.push("eslint:*,-eslint:code-path"),id.default.enable(y.join(","))}if(Array.isArray(t.programs)){if(!t.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");a4("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!W.programs&&!W.projectService&&(W.projects=new Map),t.jsDocParsingMode==null&&W.projects.size===0&&W.programs==null&&W.projectService==null&&(W.jsDocParsingMode=k_.ParseNone),Qh(W,h),W}function _4(e){return Ul(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function o4(e){return e?"estree.tsx":"estree.ts"}function c4(e,t){let a=typeof e=="object"?e:{};return Yh(a.allowDefaultProject),Kh??(Kh=(0,r4.createProjectService)({options:a,...t})),Kh}var f4={default:Na},Tx=(0,f4.default)("typescript-eslint:typescript-estree:parser");function e0(e,t){let{ast:a}=d4(e,t,!1);return a}function d4(e,t,a){let _=Zh(e,t);if(t?.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let f=Wh(_),{astMaps:h,estree:T}=Fh(f,_,a);return{ast:T,esTreeNodeToTSNodeMap:h.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:h.tsNodeToESTreeNodeMap}}function m4(e,t){let a=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(a,t)}var t0=m4;function n0(e){let t=[];for(let a of e)try{return a()}catch(_){t.push(_)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var h4=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let a=this[t];if(e(a,t,this))return a}},y4=Ia("findLast",function(){if(Array.isArray(this))return h4}),r0=y4;function g4(e){return this[e<0?this.length+e:e]}var b4=Ia("at",function(){if(Array.isArray(this)||typeof this=="string")return g4}),i0=b4;function tr(e){let t=e.range?.[0]??e.start,a=(e.declaration?.decorators??e.decorators)?.[0];return a?Math.min(tr(a),t):t}function Un(e){return e.range?.[1]??e.end}function v4(e){let t=new Set(e);return a=>t.has(a?.type)}var $a=v4;var T4=$a(["Block","CommentBlock","MultiLine"]),Qa=T4;var x4=$a(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),a0=x4;var ad=new WeakMap;function S4(e){return ad.has(e)||ad.set(e,Qa(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)),ad.get(e)}var s0=S4;function w4(e){if(!Qa(e))return!1;let t=`*${e.value}*`.split(` +`);return t.length>1&&t.every(a=>a.trimStart()[0]==="*")}var sd=new WeakMap;function k4(e){return sd.has(e)||sd.set(e,w4(e)),sd.get(e)}var _d=k4;function E4(e){if(e.length<2)return;let t;for(let a=e.length-1;a>=0;a--){let _=e[a];if(t&&Un(_)===tr(t)&&_d(_)&&_d(t)&&(e.splice(a+1,1),_.value+="*//*"+t.value,_.range=[tr(_),Un(t)]),!a0(_)&&!Qa(_))throw new TypeError(`Unknown comment type: "${_.type}".`);t=_}}var _0=E4;function A4(e){return e!==null&&typeof e=="object"}var o0=A4;var E_=null;function A_(e){if(E_!==null&&typeof E_.property){let t=E_;return E_=A_.prototype=null,t}return E_=A_.prototype=e??Object.create(null),new A_}var C4=10;for(let e=0;e<=C4;e++)A_();function od(e){return A_(e)}function D4(e,t="type"){od(e);function a(_){let f=_[t],h=e[f];if(!Array.isArray(h))throw Object.assign(new Error(`Missing visitor keys for '${f}'.`),{node:_});return h}return a}var c0=D4;var w=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],l0={AccessorProperty:w[0],AnyTypeAnnotation:w[1],ArgumentPlaceholder:w[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:w[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:w[3],AsExpression:w[4],AssignmentExpression:w[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:w[6],BigIntLiteral:w[1],BigIntLiteralTypeAnnotation:w[1],BigIntTypeAnnotation:w[1],BinaryExpression:w[5],BindExpression:["object","callee"],BlockStatement:w[7],BooleanLiteral:w[1],BooleanLiteralTypeAnnotation:w[1],BooleanTypeAnnotation:w[1],BreakStatement:w[8],CallExpression:w[9],CatchClause:["param","body"],ChainExpression:w[3],ClassAccessorProperty:w[0],ClassBody:w[10],ClassDeclaration:w[11],ClassExpression:w[11],ClassImplements:w[12],ClassMethod:w[13],ClassPrivateMethod:w[13],ClassPrivateProperty:w[14],ClassProperty:w[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:w[15],ConditionalExpression:w[16],ConditionalTypeAnnotation:w[17],ContinueStatement:w[8],DebuggerStatement:w[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:w[18],DeclareEnum:w[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:w[20],DeclareFunction:["id","predicate"],DeclareHook:w[21],DeclareInterface:w[22],DeclareModule:w[19],DeclareModuleExports:w[23],DeclareNamespace:w[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:w[24],DeclareVariable:w[21],Decorator:w[3],Directive:w[18],DirectiveLiteral:w[1],DoExpression:w[10],DoWhileStatement:w[25],EmptyStatement:w[1],EmptyTypeAnnotation:w[1],EnumBigIntBody:w[26],EnumBigIntMember:w[27],EnumBooleanBody:w[26],EnumBooleanMember:w[27],EnumDeclaration:w[19],EnumDefaultedMember:w[21],EnumNumberBody:w[26],EnumNumberMember:w[27],EnumStringBody:w[26],EnumStringMember:w[27],EnumSymbolBody:w[26],ExistsTypeAnnotation:w[1],ExperimentalRestProperty:w[6],ExperimentalSpreadProperty:w[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:w[28],ExportNamedDeclaration:w[20],ExportNamespaceSpecifier:w[28],ExportSpecifier:["local","exported"],ExpressionStatement:w[3],File:["program"],ForInStatement:w[29],ForOfStatement:w[29],ForStatement:["init","test","update","body"],FunctionDeclaration:w[30],FunctionExpression:w[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:w[15],GenericTypeAnnotation:w[12],HookDeclaration:w[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:w[16],ImportAttribute:w[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:w[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:w[33],ImportSpecifier:["imported","local"],IndexedAccessType:w[34],InferredPredicate:w[1],InferTypeAnnotation:w[35],InterfaceDeclaration:w[22],InterfaceExtends:w[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:w[1],IntersectionTypeAnnotation:w[36],JsExpressionRoot:w[37],JsonRoot:w[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:w[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:w[1],JSXExpressionContainer:w[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:w[1],JSXMemberExpression:w[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:w[1],JSXSpreadAttribute:w[6],JSXSpreadChild:w[3],JSXText:w[1],KeyofTypeAnnotation:w[6],LabeledStatement:["label","body"],Literal:w[1],LogicalExpression:w[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:w[21],MatchExpression:w[39],MatchExpressionCase:w[40],MatchIdentifierPattern:w[21],MatchLiteralPattern:w[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:w[6],MatchStatement:w[39],MatchStatementCase:w[40],MatchUnaryPattern:w[6],MatchWildcardPattern:w[1],MemberExpression:w[38],MetaProperty:["meta","property"],MethodDefinition:w[42],MixedTypeAnnotation:w[1],ModuleExpression:w[10],NeverTypeAnnotation:w[1],NewExpression:w[9],NGChainedExpression:w[43],NGEmptyExpression:w[1],NGMicrosyntax:w[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:w[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:w[32],NGPipeExpression:["left","right","arguments"],NGRoot:w[37],NullableTypeAnnotation:w[23],NullLiteral:w[1],NullLiteralTypeAnnotation:w[1],NumberLiteralTypeAnnotation:w[1],NumberTypeAnnotation:w[1],NumericLiteral:w[1],ObjectExpression:["properties"],ObjectMethod:w[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:w[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:w[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:w[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:w[9],OptionalIndexedAccessType:w[34],OptionalMemberExpression:w[38],ParenthesizedExpression:w[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:w[1],PipelineTopicExpression:w[3],Placeholder:w[1],PrivateIdentifier:w[1],PrivateName:w[21],Program:w[7],Property:w[32],PropertyDefinition:w[14],QualifiedTypeIdentifier:w[44],QualifiedTypeofIdentifier:w[44],RegExpLiteral:w[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:w[6],SatisfiesExpression:w[4],SequenceExpression:w[43],SpreadElement:w[6],StaticBlock:w[10],StringLiteral:w[1],StringLiteralTypeAnnotation:w[1],StringTypeAnnotation:w[1],Super:w[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:w[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:w[1],TemplateLiteral:["quasis","expressions"],ThisExpression:w[1],ThisTypeAnnotation:w[1],ThrowStatement:w[6],TopicReference:w[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:w[45],TSAbstractKeyword:w[1],TSAbstractMethodDefinition:w[32],TSAbstractPropertyDefinition:w[45],TSAnyKeyword:w[1],TSArrayType:w[2],TSAsExpression:w[4],TSAsyncKeyword:w[1],TSBigIntKeyword:w[1],TSBooleanKeyword:w[1],TSCallSignatureDeclaration:w[46],TSClassImplements:w[47],TSConditionalType:w[17],TSConstructorType:w[46],TSConstructSignatureDeclaration:w[46],TSDeclareFunction:w[31],TSDeclareKeyword:w[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:w[26],TSEnumDeclaration:w[19],TSEnumMember:["id","initializer"],TSExportAssignment:w[3],TSExportKeyword:w[1],TSExternalModuleReference:w[3],TSFunctionType:w[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:w[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:w[35],TSInstantiationExpression:w[47],TSInterfaceBody:w[10],TSInterfaceDeclaration:w[22],TSInterfaceHeritage:w[47],TSIntersectionType:w[36],TSIntrinsicKeyword:w[1],TSJSDocAllType:w[1],TSJSDocNonNullableType:w[23],TSJSDocNullableType:w[23],TSJSDocUnknownType:w[1],TSLiteralType:w[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:w[10],TSModuleDeclaration:w[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:w[21],TSNeverKeyword:w[1],TSNonNullExpression:w[3],TSNullKeyword:w[1],TSNumberKeyword:w[1],TSObjectKeyword:w[1],TSOptionalType:w[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:w[23],TSPrivateKeyword:w[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:w[1],TSPublicKeyword:w[1],TSQualifiedName:w[5],TSReadonlyKeyword:w[1],TSRestType:w[23],TSSatisfiesExpression:w[4],TSStaticKeyword:w[1],TSStringKeyword:w[1],TSSymbolKeyword:w[1],TSTemplateLiteralType:["quasis","types"],TSThisType:w[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:w[23],TSTypeAssertion:w[4],TSTypeLiteral:w[26],TSTypeOperator:w[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:w[48],TSTypeParameterInstantiation:w[48],TSTypePredicate:w[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:w[1],TSUnionType:w[36],TSUnknownKeyword:w[1],TSVoidKeyword:w[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:w[24],TypeAnnotation:w[23],TypeCastExpression:w[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:w[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:w[48],TypeParameterInstantiation:w[48],TypePredicate:w[49],UnaryExpression:w[6],UndefinedTypeAnnotation:w[1],UnionTypeAnnotation:w[36],UnknownTypeAnnotation:w[1],UpdateExpression:w[6],V8IntrinsicIdentifier:w[1],VariableDeclaration:["declarations"],VariableDeclarator:w[27],Variance:w[1],VoidPattern:w[1],VoidTypeAnnotation:w[1],WhileStatement:w[25],WithStatement:["object","body"],YieldExpression:w[6]};var P4=c0(l0),u0=P4;function Bl(e,t){if(!o0(e))return e;if(Array.isArray(e)){for(let _=0;_D<=y);G=E&&_.slice(E,y).trim().length===0}return G?void 0:(W.extra={...W.extra,parenthesized:!0},W)}case"TemplateLiteral":if(c.expressions.length!==c.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(a==="flow"||a==="hermes"||a==="espree"||a==="typescript"||h){let W=tr(c)+1,y=Un(c)-(c.tail?1:2);c.range=[W,y]}break;case"VariableDeclaration":{let W=i0(0,c.declarations,-1);W?.init&&_[Un(W)]!==";"&&(c.range=[tr(c),Un(W)]);break}case"TSParenthesizedType":return c.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(c.types.length===1)return c.types[0];break;case"ImportExpression":a==="hermes"&&c.attributes&&!c.options&&(c.options=c.attributes);break}},onLeave(c){switch(c.type){case"LogicalExpression":if(f0(c))return cd(c);break;case"TSImportType":!c.source&&c.argument.type==="TSLiteralType"&&(c.source=c.argument.literal,delete c.argument);break}}}),e}function f0(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function cd(e){return f0(e)?cd({type:"LogicalExpression",operator:e.operator,left:cd({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[tr(e.left),Un(e.right.left)]}),right:e.right.right,range:[tr(e),Un(e)]}):e}var d0=N4;var I4=/\*\/$/,O4=/^\/\*\*?/,M4=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,L4=/(^|\s+)\/\/([^\n\r]*)/g,m0=/^(\r?\n)+/,J4=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,h0=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,j4=/(\r?\n|^) *\* ?/g,R4=[];function y0(e){let t=e.match(M4);return t?t[0].trimStart():""}function g0(e){e=Wr(0,e.replace(O4,"").replace(I4,""),j4,"$1");let a="";for(;a!==e;)a=e,e=Wr(0,e,J4,` +$1 $2 +`);e=e.replace(m0,"").trimEnd();let _=Object.create(null),f=Wr(0,e,h0,"").replace(m0,"").trimEnd(),h;for(;h=h0.exec(e);){let T=Wr(0,h[2],L4,"");if(typeof _[h[1]]=="string"||Array.isArray(_[h[1]])){let k=_[h[1]];_[h[1]]=[...R4,...Array.isArray(k)?k:[k],T]}else _[h[1]]=T}return{comments:f,pragmas:_}}var b0=["noformat","noprettier"],v0=["format","prettier"];function U4(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var T0=U4;function x0(e){let t=T0(e);t&&(e=e.slice(t.length+1));let a=y0(e),{pragmas:_,comments:f}=g0(a);return{shebang:t,text:e,pragmas:_,comments:f}}function S0(e){let{pragmas:t}=x0(e);return v0.some(a=>Object.prototype.hasOwnProperty.call(t,a))}function w0(e){let{pragmas:t}=x0(e);return b0.some(a=>Object.prototype.hasOwnProperty.call(t,a))}function B4(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:S0,hasIgnorePragma:w0,locStart:tr,locEnd:Un,...e}}var k0=B4;var E0=/^[^"'`]*<\/|^[^/]{2}.*\/>/mu;function q4(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var A0=q4;var C0="module";var D0="commonjs",P0=[C0,D0];function N0(e){if(typeof e=="string"){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/iu.test(e))return C0;if(/\.(?:cjs|cts)$/iu.test(e))return D0}}var F4={loc:!0,range:!0,comment:!0,tokens:!1,loggerFn:!1,project:!1,jsDocParsingMode:"none",suppressDeprecatedPropertyWarnings:!0};function z4(e){let{message:t,location:a}=e;if(!a)return e;let{start:_,end:f}=a;return t0(t,{loc:{start:{line:_.line,column:_.column+1},end:{line:f.line,column:f.column+1}},cause:e})}var V4=e=>e&&/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/iu.test(e);function W4(e,t){let a=[{...F4,filePath:t}],_=N0(t);if(_?a=a.map(h=>({...h,sourceType:_})):a=P0.flatMap(h=>a.map(T=>({...T,sourceType:h}))),V4(t))return a;let f=E0.test(e);return[f,!f].flatMap(h=>a.map(T=>({...T,jsx:h})))}function G4(e,t){let a=t?.filepath;typeof a!="string"&&(a=void 0);let _=A0(e),f=W4(e,a),h;try{h=n0(f.map(T=>()=>e0(_,T)))}catch({errors:[T]}){throw z4(T)}return d0(h,{parser:"typescript",text:e})}var Y4=k0(G4);export{I0 as default,ld as parsers}; diff --git a/shared/node_modules/prettier/plugins/yaml.d.ts b/shared/node_modules/prettier/plugins/yaml.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..23df2a84036713c1f9ec31c96fca9b1abdc1beb9 --- /dev/null +++ b/shared/node_modules/prettier/plugins/yaml.d.ts @@ -0,0 +1,9 @@ +import { Parser, Printer } from "../index.js"; + +export declare const parsers: { + yaml: Parser; +}; + +export declare const printers: { + yaml: Printer; +}; diff --git a/shared/node_modules/prettier/plugins/yaml.js b/shared/node_modules/prettier/plugins/yaml.js new file mode 100644 index 0000000000000000000000000000000000000000..0920da95f62f0ba7c204f22d0fb31d8aca6954e9 --- /dev/null +++ b/shared/node_modules/prettier/plugins/yaml.js @@ -0,0 +1,159 @@ +(function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.yaml=e()}})(function(){"use strict";var Mi=Object.create;var mt=Object.defineProperty;var ki=Object.getOwnPropertyDescriptor;var Pi=Object.getOwnPropertyNames;var vi=Object.getPrototypeOf,Ii=Object.prototype.hasOwnProperty;var ne=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),sr=(t,e)=>{for(var n in e)mt(t,n,{get:e[n],enumerable:!0})},ir=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Pi(e))!Ii.call(t,s)&&s!==n&&mt(t,s,{get:()=>e[s],enumerable:!(r=ki(e,s))||r.enumerable});return t};var or=(t,e,n)=>(n=t!=null?Mi(vi(t)):{},ir(e||!t||!t.__esModule?mt(n,"default",{value:t,enumerable:!0}):n,t)),_i=t=>ir(mt({},"__esModule",{value:!0}),t);var ce=ne(B=>{"use strict";var ie={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},st={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},po="tag:yaml.org,2002:",mo={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Wr(t){let e=[0],n=t.indexOf(` +`);for(;n!==-1;)n+=1,e.push(n),n=t.indexOf(` +`,n);return e}function Kr(t){let e,n;return typeof t=="string"?(e=Wr(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Wr(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function Sn(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=Kr(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` +`;)--i;return r.slice(s,i)}function go({start:t,end:e},n,r=80){let s=ho(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} +${c}${l}${a}`}var xe=class t{static copy(e){return new t(e.start,e.end)}constructor(e,n){this.start=e,this.end=n||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,n){let{start:r,end:s}=this;if(e.length===0||s<=e[0])return this.origStart=r,this.origEnd=s,n;let i=n;for(;ir);)++i;this.origStart=r+i;let o=i;for(;i=s);)++i;return this.origEnd=s+i,o}},oe=class t{static addStringTerminator(e,n,r){if(r[r.length-1]===` +`)return r;let s=t.endOfWhiteSpace(e,n);return s>=e.length||e[s]===` +`?r+` +`:r}static atDocumentBoundary(e,n,r){let s=e[n];if(!s)return!0;let i=e[n-1];if(i&&i!==` +`)return!1;if(r){if(s!==r)return!1}else if(s!==ie.DIRECTIVES_END&&s!==ie.DOCUMENT_END)return!1;let o=e[n+1],a=e[n+2];if(o!==s||a!==s)return!1;let c=e[n+3];return!c||c===` +`||c===" "||c===" "}static endOfIdentifier(e,n){let r=e[n],s=r==="<",i=s?[` +`," "," ",">"]:[` +`," "," ","[","]","{","}",","];for(;r&&i.indexOf(r)===-1;)r=e[n+=1];return s&&r===">"&&(n+=1),n}static endOfIndent(e,n){let r=e[n];for(;r===" ";)r=e[n+=1];return n}static endOfLine(e,n){let r=e[n];for(;r&&r!==` +`;)r=e[n+=1];return n}static endOfWhiteSpace(e,n){let r=e[n];for(;r===" "||r===" ";)r=e[n+=1];return n}static startOfLine(e,n){let r=e[n-1];if(r===` +`)return n;for(;r&&r!==` +`;)r=e[n-=1];return n+1}static endOfBlockIndent(e,n,r){let s=t.endOfIndent(e,r);if(s>r+n)return s;{let i=t.endOfWhiteSpace(e,s),o=e[i];if(!o||o===` +`)return i}return null}static atBlank(e,n,r){let s=e[n];return s===` +`||s===" "||s===" "||r&&!s}static nextNodeIsIndented(e,n,r){return!e||n<0?!1:n>0?!0:r&&e==="-"}static normalizeOffset(e,n){let r=e[n];return r?r!==` +`&&e[n-1]===` +`?n-1:t.endOfWhiteSpace(e,n):n}static foldNewline(e,n,r){let s=0,i=!1,o="",a=e[n+1];for(;a===" "||a===" "||a===` +`;){switch(a){case` +`:s=0,n+=1,o+=` +`;break;case" ":s<=r&&(i=!0),n=t.endOfWhiteSpace(e,n+2)-1;break;case" ":s+=1,n+=1;break}a=e[n+1]}return o||(o=" "),a&&s<=r&&(i=!0),{fold:o,offset:n,error:i}}constructor(e,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=e,this.value=null}getPropValue(e,n,r){if(!this.context)return null;let{src:s}=this.context,i=this.props[e];return i&&s[i.start]===n?s.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e0?e.join(` +`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},ge=class extends Error{constructor(e,n,r){if(!r||!(n instanceof oe))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new xe(this.offset,this.offset+1);let n=e&&Sn(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&go(this.linePos,e);s&&(this.message+=`: + +${s} +`)}delete this.source}},wn=class extends ge{constructor(e,n){super("YAMLReferenceError",e,n)}},it=class extends ge{constructor(e,n){super("YAMLSemanticError",e,n)}},bn=class extends ge{constructor(e,n){super("YAMLSyntaxError",e,n)}},Nn=class extends ge{constructor(e,n){super("YAMLWarning",e,n)}};function yo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var On=class t extends oe{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` +`&&!(r&&(s==="["||s==="]"||s==="{"||s==="}"||s===","));){let o=e[i+1];if(s===":"&&(!o||o===` +`||o===" "||o===" "||r&&o===",")||(s===" "||s===" ")&&o==="#")break;i+=1,s=o}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{src:r}=this.context,s=r[n-1];for(;el?r.slice(l,a+1):c)}else i+=c}let o=r[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new it(this,a)],str:i}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new it(this,a)],str:i}}default:return i}}parseBlockValue(e){let{indent:n,inFlow:r,src:s}=this.context,i=e,o=e;for(let a=s[i];a===` +`&&!oe.atDocumentBoundary(s,i+1);a=s[i]){let c=oe.endOfBlockIndent(s,n,i+1);if(c===null||s[c]==="#")break;s[c]===` +`?i=c:(o=t.endOfLine(s,c,r),i=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,n){this.context=e;let{inFlow:r,src:s}=e,i=n,o=s[i];return o&&o!=="#"&&o!==` +`&&(i=t.endOfLine(s,n,r)),this.valueRange=new xe(n,i),i=oe.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};B.Char=ie;B.Node=oe;B.PlainValue=On;B.Range=xe;B.Type=st;B.YAMLError=ge;B.YAMLReferenceError=wn;B.YAMLSemanticError=it;B.YAMLSyntaxError=bn;B.YAMLWarning=Nn;B._defineProperty=yo;B.defaultTagPrefix=po;B.defaultTags=mo});var Qr=ne(jr=>{"use strict";var u=ce(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ot=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],g=null;for(;l===` +`||l==="#";){if(l==="#"){let h=u.Node.endOfLine(s,c+1);m.push(new u.Range(c,h)),c=h}else{i=!0,o=c+1;let h=u.Node.endOfWhiteSpace(s,o);s[h]===` +`&&m.length===0&&(g=new Ee,o=g.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(g){let h=e.parent.items||e.parent.contents;h&&h.push(g)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function An(t){let e=t;for(;e instanceof ot;)e=e.node;if(!(e instanceof _t))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var _t=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` +`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` +`||l==="#";){if(f&&l===` +`&&!m){let h=new Ee;if(c=h.parse({src:s},c),this.valueRange.end=c,c>=s.length){l=null;break}this.items.push(h),c-=1}else if(l==="#"){if(c=s.length){l=null;break}}if(i=c+1,c=u.Node.endOfIndent(s,i),u.Node.atBlank(s,c)){let h=u.Node.endOfWhiteSpace(s,c),d=s[h];(!d||d===` +`||d==="#")&&(c=h)}l=s[c],f=!0}if(!l)break;if(c!==i+a&&(f||l!==":")){if(cn&&(c=i);break}else if(!this.error){let h="All collection items must start at the same column";this.error=new u.YAMLSyntaxError(this,h)}}if(o.type===u.Type.SEQ_ITEM){if(l!=="-"){i>n&&(c=i);break}}else if(l==="-"&&!this.error){let h=s[c+1];if(!h||h===` +`||h===" "||h===" "){let d="A collection cannot be both a mapping and a sequence";this.error=new u.YAMLSyntaxError(this,d)}}let g=r({atLineStart:f,inCollection:!0,indent:a,lineStart:i,parent:this},c);if(!g)return c;if(this.items.push(g),this.valueRange.end=g.valueRange.end,c=u.Node.normalizeOffset(s,g.range.end),l=s[c],f=!1,m=g.includesTrailingLines,l){let h=c-1,d=s[h];for(;d===" "||d===" ";)d=s[--h];d===` +`&&(i=h+1,f=!0)}let y=An(g);y&&Array.prototype.push.apply(this.items,y)}return c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.items.forEach(r=>{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` +`:if(o){let a=new Ee;i=a.parse({src:r},i),i{n=r.setOrigRanges(e,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(e,n)),this.contents.forEach(r=>{n=r.setOrigRanges(e,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(e,n)),n}toString(){let{contents:e,directives:n,value:r}=this;if(r!=null)return r;let s=n.join("");return e.length>0&&((n.length>0||e[0].type===u.Type.COMMENT)&&(s+=`--- +`),s+=e.join("")),s[s.length-1]!==` +`&&(s+=` +`),s}},Cn=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},le={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Mn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=le.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===le.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` +`||o===" "||o===" ";){if(n-=1,n<=e){if(this.chomping===le.KEEP)break;return""}o===` +`&&(i=n),o=s[n-1]}let a=n+1;i&&(this.chomping===le.KEEP?(a=i,n=this.valueRange.end):n=i);let c=r+this.blockIndent,l=this.type===u.Type.BLOCK_FOLDED,f=!0,m="",g="",y=!1;for(let h=e;ha&&(a=m);r[l]===` +`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==le.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},kn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` +`:{o=c+1;let l=u.Node.endOfWhiteSpace(s,o);if(s[l]===` +`){let f=new Ee;o=f.parse({src:s},o),this.items.push(f)}if(c=u.Node.endOfIndent(s,o),c<=o+i&&(a=s[c],c{if(r instanceof u.Node)n=r.setOrigRanges(e,n);else if(e.length===0)r.origOffset=r.offset;else{let s=n;for(;sr.offset);)++s;r.origOffset=r.offset+s,n=s}}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=n.filter(c=>c instanceof u.Node),o="",a=r.start;return i.forEach(c=>{let l=e.slice(a,c.range.start);a=c.range.end,o+=l+String(c),o[o.length-1]===` +`&&e[a-1]!==` +`&&e[a]===` +`&&(a+=1)}),o+=e.slice(a,r.end),u.Node.addStringTerminator(e,r.end,o)}},Pn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=e[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=='"'&&e.push(new u.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},vn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function Eo(t,e){switch(t){case u.Type.ALIAS:return new Cn(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new Mn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new kn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ot(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new Pn(t,e);case u.Type.QUOTE_SINGLE:return new vn(t,e);default:return null}}var In=class t{static parseType(e,n,r){switch(e[n]){case"*":return u.Type.ALIAS;case">":return u.Type.BLOCK_FOLDED;case"|":return u.Type.BLOCK_LITERAL;case"{":return u.Type.FLOW_MAP;case"[":return u.Type.FLOW_SEQ;case"?":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.SEQ_ITEM:u.Type.PLAIN;case'"':return u.Type.QUOTE_DOUBLE;case"'":return u.Type.QUOTE_SINGLE;default:return u.Type.PLAIN}}constructor(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:g,valueStart:y}=f.parseProps(l),h=Eo(g,m),d=h.parse(f,y);if(h.range=new u.Range(l,d),d<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=d,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new _t(h);return d=w.parse(new t(f),d),w.range=new u.Range(l,d),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ot)return!0;let i=e.range.end;return s[i]===` +`||s[i-1]===` +`?!1:(i=u.Node.endOfWhiteSpace(s,i),s[i]===":")}parseProps(e){let{inFlow:n,parent:r,src:s}=this,i=[],o=!1;e=this.atLineStart?u.Node.endOfIndent(s,e):u.Node.endOfWhiteSpace(s,e);let a=s[e];for(;a===u.Char.ANCHOR||a===u.Char.COMMENT||a===u.Char.TAG||a===` +`;){if(a===` +`){let l=e,f;do f=l+1,l=u.Node.endOfIndent(s,f);while(s[l]===` +`);let m=l-(f+this.indent),g=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!g))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function So(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` +`)));let n=[],r=0;do{let s=new Tn,i=new In({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... +`),n}jr.parse=So});var De=ne(M=>{"use strict";var p=ce();function wo(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} +${e}${t}`:t}function Re(t,e,n){return n?n.indexOf(` +`)===-1?`${t} #${n}`:`${t} +`+n.replace(/^/gm,`${e||""}#`):t}var j=class{};function fe(t,e,n){if(Array.isArray(t))return t.map((r,s)=>fe(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var x=class extends j{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:fe(this.value,e,n)}toString(){return String(this.value)}};function Gr(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Xr=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,Q=class t extends j{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Xr(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Gr(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof x?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof x&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Gr(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let g=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:g,indent:i,inFlow:m,type:null});let y=!1,h=!1,d=this.items.reduce((P,A,C)=>{let L;A&&(!y&&A.spaceBefore&&P.push({type:"comment",str:""}),A.commentBefore&&A.commentBefore.match(/^.*$/gm).forEach(Ci=>{P.push({type:"comment",str:`#${Ci}`})}),A.comment&&(L=A.comment),m&&(!y&&A.spaceBefore||A.commentBefore||A.comment||A.key&&(A.key.commentBefore||A.key.comment)||A.value&&(A.value.commentBefore||A.value.comment))&&(h=!0)),y=!1;let R=f(A,e,()=>L=null,()=>y=!0);return m&&!h&&R.includes(` +`)&&(h=!0),m&&CL.str);if(h||C.reduce((L,R)=>L+R.length+2,2)>t.maxFlowStringSingleLineLength){w=P;for(let L of C)w+=L?` +${l}${c}${L}`:` +`;w+=` +${c}${A}`}else w=`${P} ${C.join(" ")} ${A}`}else{let P=d.map(n);w=P.shift();for(let A of P)w+=A?` +${c}${A}`:` +`}return this.comment?(w+=` +`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(Q,"maxFlowStringSingleLineLength",60);function xt(t){let e=t instanceof x?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var ue=class extends Q{add(e){this.items.push(e)}delete(e){let n=xt(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=xt(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof x?s.value:s}has(e){let n=xt(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},bo=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof j&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends j{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof j?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new x(null)),this.key instanceof j)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=fe(this.key,"",e);if(n instanceof Map){let s=fe(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=bo(this.key,r,e),i=fe(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof j&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof Q){let R="With simple keys, collection cannot be used as a key value";throw new Error(R)}}let f=!o&&(!a||l||(a instanceof j?a instanceof Q||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:g,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:g+y});let d=!1,w=h(a,e,()=>l=null,()=>d=!0);if(w=Re(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Re(w,e.indent,this.comment),n&&n()):d&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} +${g}:`:`${w}:`,this.comment&&(w=Re(w,e.indent,this.comment),n&&n());let P="",A=null;if(c instanceof j){if(c.spaceBefore&&(P=` +`),c.commentBefore){let R=c.commentBefore.replace(/^/gm,`${e.indent}#`);P+=` +${R}`}A=c.comment}else c&&typeof c=="object"&&(c=m.schema.createNode(c,!0));e.implicitKey=!1,!f&&!this.comment&&c instanceof x&&(e.indentAtStart=w.length+1),d=!1,!i&&s>=2&&!e.inFlow&&!f&&c instanceof ue&&c.type!==p.Type.FLOW_SEQ&&!c.tag&&!m.anchors.getName(c)&&(e.indent=e.indent.substr(2));let C=h(c,e,()=>A=null,()=>d=!0),L=" ";return P||this.comment?L=`${P} +${e.indent}`:!f&&c instanceof Q?(!(C[0]==="["||C[0]==="{")||C.includes(` +`))&&(L=` +${e.indent}`):C[0]===` +`&&(L=""),d&&!A&&r&&r(),Re(w+L+C,e.indent,A)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Rt=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof Q){let n=0;for(let r of t.items){let s=Rt(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=Rt(t.key,e),r=Rt(t.value,e);return Math.max(n,r)}return 1},we=class t extends j{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return fe(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=Rt(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function at(t,e){let n=e instanceof x?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var ct=class extends Q{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=at(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=at(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=at(this.items,e),s=r&&r.value;return!n&&s instanceof x?s.value:s}has(e){return!!at(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},zr="<<",Yt=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof ue||(n=new ue,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new x(zr),new ue);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof ct))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},No={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},Oo={trueStr:"true",falseStr:"false"},Ao={asBigInt:!1},Lo={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function xn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof x||(a=new x(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new x(t)}var Zr="flow",_n="block",Dt="quoted",Hr=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` +`);n=t[e+1]}return e};function Bt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let g,y,h=!1,d=-1,w=-1,P=-1;n===_n&&(d=Hr(t,d),d!==-1&&(m=d+c));for(let C;C=t[d+=1];){if(n===Dt&&C==="\\"){switch(w=d,t[d+1]){case"x":d+=3;break;case"u":d+=5;break;case"U":d+=9;break;default:d+=1}P=d}if(C===` +`)n===_n&&(d=Hr(t,d)),m=d+c,g=void 0;else{if(C===" "&&y&&y!==" "&&y!==` +`&&y!==" "){let L=t[d+1];L&&L!==" "&&L!==` +`&&L!==" "&&(g=d)}if(d>=m)if(g)l.push(g),m=g+c,g=void 0;else if(n===Dt){for(;y===" "||y===" ";)y=C,C=t[d+=1],h=!0;let L=d>P+1?d-2:w-1;if(f[L])return t;l.push(L),f[L]=!0,m=L+c,g=void 0}else h=!0}y=C}if(h&&a&&a(),l.length===0)return t;o&&o();let A=t.slice(0,l[0]);for(let C=0;Ct?Object.assign({indentAtStart:t},be.fold):be.fold,Ft=t=>/^(%|---|\.\.\.)/m.test(t);function To(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(Ft(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length";if(!n)return l+` +`;let f="",m="";if(n=n.replace(/[\n\t ]*$/,y=>{let h=y.indexOf(` +`);return h===-1?l+="-":(n===y||h!==y.length-1)&&(l+="+",i&&i()),m=y.replace(/\n$/,""),""}).replace(/^[\n ]*/,y=>{y.indexOf(" ")!==-1&&(l+=a);let h=y.match(/ +$/);return h?(f=y.slice(0,-h[0].length),h[0]):(f=y,"")}),m&&(m=m.replace(/\n+(?!\n|$)/g,`$&${o}`)),f&&(f=f.replace(/\n+/g,`$&${o}`)),t&&(l+=" #"+t.replace(/ ?[\r\n]+/g," "),s&&s()),!n)return`${l}${a} +${o}${m}`;if(c)return n=n.replace(/\n+/g,`$&${o}`),`${l} +${o}${f}${n}${m}`;n=n.replace(/\n+/g,` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let g=Bt(`${f}${n}${m}`,o,_n,be.fold);return`${l} +${o}${g}`}function Co(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` +`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?es(o,e):Se(o,e):$t(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` +`)!==-1)return $t(t,e,n,r);if(l===""&&Ft(o))return e.forceBlockIndent=!0,$t(t,e,n,r);let m=o.replace(/\n+/g,`$& +${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof xn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let g=c?m:Bt(m,l,Zr,Rn(e));return s&&!f&&(g.indexOf(` +`)!==-1||s.indexOf(` +`)!==-1)?(n&&n(),wo(g,l,s)):g}function Mo(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return $t(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return es(c,e);case p.Type.PLAIN:return Co(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function ko({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function ts(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function ns(t,e){let n=e.context.src[e.range.start-1];if(n!==` +`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function rs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function ss(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` +`+s:i.commentBefore=s):s!==void 0&&(t.comment?t.comment+=` +`+s:t.comment=s)}}function Dn(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function Po(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function vo(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return Po(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function Jr(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof Q?a:new x(a)}let i=Dn(t,e);return typeof i=="string"&&s.length>0?xn(i,s,r.scalarFallback):null}function Io({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function _o(t,e,n){try{let r=Jr(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=Io(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=Jr(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var xo=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Ro(t,e){let n={before:[],after:[]},r=!1,s=!1,i=xo(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function Do(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=vo(t,e);if(i)return _o(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=Dn(t,e);return xn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function pe(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Ro(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=Do(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` +`);o&&(i.commentBefore=i.commentBefore?`${i.commentBefore} +${o}`:o);let a=n.after.join(` +`);a&&(i.comment=i.comment?`${i.comment} +${a}`:a)}return e.resolved=i}function $o(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?qo(t,e):Fo(t,e),s=new ct;s.items=r,ss(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,pe(t,c));Bo(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(rs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=pe(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function qo(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof Q)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function Vo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(rs(e,i));let{src:h}=c.context;for(let d=o;d{"use strict";var G=ce(),O=De(),Ko={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new G.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} +${i.commentBefore}`:s.commentBefore),s.comment&&(i.comment=i.comment?`${s.comment} +${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function as(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var jo={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:os,createNode:as},$e=class t extends O.YAMLSeq{constructor(){super(),G._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),G._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),G._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),G._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),G._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};G._defineProperty($e,"tag","tag:yaml.org,2002:omap");function Qo(t,e){let n=os(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new G.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new $e,n)}function Go(t,e,n){let r=as(t,e,n),s=new $e;return s.items=r.items,s}var Ho={identify:t=>t instanceof Map,nodeClass:$e,default:!1,tag:"tag:yaml.org,2002:omap",resolve:Qo,createNode:Go},Ye=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};G._defineProperty(Ye,"tag","tag:yaml.org,2002:set");function Jo(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new G.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new Ye,n)}function Xo(t,e,n){let r=new Ye;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var zo={identify:t=>t instanceof Set,nodeClass:Ye,default:!1,tag:"tag:yaml.org,2002:set",resolve:Jo,createNode:Xo},$n=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},cs=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},Zo={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>$n(e,n.replace(/_/g,"")),stringify:cs},ea={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>$n(e,n.replace(/_/g,"")),stringify:cs},ta={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=$n(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Yn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function Bn(t,e){Yn(!1)&&console.warn(e?`${e}: ${t}`:t)}function na(t){if(Yn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Bn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var is={};function ra(t,e){if(!is[t]&&Yn(!0)){is[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",Bn(n,"DeprecationWarning")}}ee.binary=Ko;ee.floatTime=ea;ee.intTime=Zo;ee.omap=Ho;ee.pairs=jo;ee.set=zo;ee.timestamp=ta;ee.warn=Bn;ee.warnFileDeprecation=na;ee.warnOptionDeprecation=ra});var Wn=ne(bs=>{"use strict";var Vt=ce(),E=De(),$=Fn();function sa(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var ft={createNode:sa,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function ia(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Wt={createNode:ia,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},oa={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Un=[ft,Wt,oa],Kt=t=>typeof t=="bigint"||Number.isInteger(t),Vn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function us(t,e,n){let{value:r}=t;return Kt(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var ps={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},ms={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},hs={identify:t=>Kt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Vn(t,e,8),options:E.intOptions,stringify:t=>us(t,8,"0o")},ds={identify:Kt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Vn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},gs={identify:t=>Kt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Vn(t,e,16),options:E.intOptions,stringify:t=>us(t,16,"0x")},ys={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},Es={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},Ss={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},aa=Un.concat([ps,ms,hs,ds,gs,ys,Es,Ss]),ls=t=>typeof t=="bigint"||Number.isInteger(t),qt=({value:t})=>JSON.stringify(t),ws=[ft,Wt,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:qt},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qt},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:qt},{identify:ls,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>ls(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:qt}];ws.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var fs=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,lt=t=>typeof t=="bigint"||Number.isInteger(t);function Ut(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function qn(t,e,n){let{value:r}=t;if(lt(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var ca=Un.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:fs},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:E.boolOptions,stringify:fs},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>Ut(e,n,2),stringify:t=>qn(t,2,"0b")},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>Ut(e,n,8),stringify:t=>qn(t,8,"0")},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>Ut(e,n,10),stringify:E.stringifyNumber},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>Ut(e,n,16),stringify:t=>qn(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],$.binary,$.omap,$.pairs,$.set,$.intTime,$.floatTime,$.timestamp),la={core:aa,failsafe:Un,json:ws,yaml11:ca},fa={binary:$.binary,bool:ms,float:Ss,floatExp:Es,floatNaN:ys,floatTime:$.floatTime,int:ds,intHex:gs,intOct:hs,intTime:$.intTime,map:ft,null:ps,omap:$.omap,pairs:$.pairs,seq:Wt,set:$.set,timestamp:$.timestamp};function ua(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function pa(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=ua(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?ft:t[Symbol.iterator]?Wt:ft}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function ma(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var ha=(t,e)=>t.keye.key?1:0,ut=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?ha:s||null,!e&&i&&$.warnOptionDeprecation("tags","customTags"),this.tags=ma(la,fa,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return pa(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Vt._defineProperty(ut,"defaultPrefix",Vt.defaultTagPrefix);Vt._defineProperty(ut,"defaultTags",Vt.defaultTags);bs.Schema=ut});var Ls=ne(Ht=>{"use strict";var Y=ce(),S=De(),Ns=Wn(),da={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},ga={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},As={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function Os(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function ya(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Ea(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(Os(r,t.tag)):e.default||s.push(Os(r,e.tag)),s.join(" ")}function jt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=ya(i.tags,t));let a=Ea(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} +${e.indent}${c}`:c}var Kn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},Qt=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>Qt(r,e))):t instanceof S.Pair?(Qt(t.key,e),Qt(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},Sa=t=>Object.keys(Qt(t,{}));function wa(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` +`),n.before=[]));if(t.contents=r||null,!r)t.comment=n.before.concat(n.after).join(` +`)||null;else{let i=n.before.join(` +`);if(i){let o=r instanceof S.Collection&&r.items[0]?r.items[0]:r;o.commentBefore=o.commentBefore?`${i} +${o.commentBefore}`:i}t.comment=n.after.join(` +`)||null}}function ba({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Na(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!As[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function Oa(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(ba(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Na(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` +`)||null}function Be(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var Gt=class t{constructor(e){this.anchors=new Kn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Be(this.contents),this.contents.add(e)}addIn(e,n){Be(this.contents),this.contents.addIn(e,n)}delete(e){return Be(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Be(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Be(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Be(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new Ns.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),Oa(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],wa(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return Sa(this.contents).filter(e=>e.indexOf(Ns.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:jt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:jt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=jt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(jt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` +`)+` +`}};Y._defineProperty(Gt,"defaults",As);Ht.Document=Gt;Ht.defaultOptions=da;Ht.scalarOptions=ga});var Ms=ne(Cs=>{"use strict";var jn=Qr(),Ne=Ls(),Aa=Wn(),La=ce(),Ta=Fn();De();function Ca(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new Aa.Schema(r).createNode(t,e,n)}var Fe=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function Ma(t,e){let n=[],r;for(let s of jn.parse(t)){let i=new Fe(e);i.parse(s,r),n.push(i),r=i}return n}function Ts(t,e){let n=jn.parse(t),r=new Fe(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new La.YAMLSemanticError(n[1],s))}return r}function ka(t,e){let n=Ts(t,e);if(n.warnings.forEach(r=>Ta.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function Pa(t,e){let n=new Fe(e);return n.contents=t,String(n)}var va={createNode:Ca,defaultOptions:Ne.defaultOptions,Document:Fe,parse:ka,parseAllDocuments:Ma,parseCST:jn.parse,parseDocument:Ts,scalarOptions:Ne.scalarOptions,stringify:Pa};Cs.YAML=va});var Ps=ne((Af,ks)=>{ks.exports=Ms().YAML});var vs=ne(H=>{"use strict";var qe=De(),Ue=ce();H.findPair=qe.findPair;H.parseMap=qe.resolveMap;H.parseSeq=qe.resolveSeq;H.stringifyNumber=qe.stringifyNumber;H.stringifyString=qe.stringifyString;H.toJSON=qe.toJSON;H.Type=Ue.Type;H.YAMLError=Ue.YAMLError;H.YAMLReferenceError=Ue.YAMLReferenceError;H.YAMLSemanticError=Ue.YAMLSemanticError;H.YAMLSyntaxError=Ue.YAMLSyntaxError;H.YAMLWarning=Ue.YAMLWarning});var Ja={};sr(Ja,{languages:()=>Ur,options:()=>Vr,parsers:()=>rr,printers:()=>Ha});var ht=(t,e)=>(n,r,...s)=>n|1&&r==null?void 0:(e.call(r)??r[t]).apply(r,s);function xi(t){return this[t<0?this.length+t:t]}var Ri=ht("at",function(){if(Array.isArray(this)||typeof this=="string")return xi}),D=Ri;var Di=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},$i=ht("replaceAll",function(){if(typeof this=="string")return Di}),dt=$i;var Yi=()=>{},je=Yi;var Qe="string",Ge="array",gt="cursor",yt="indent",Ae="align",Et="trim",Le="group",Te="fill",Ce="if-break",St="indent-if-break",Me="line-suffix",wt="line-suffix-boundary",re="line",bt="label",ke="break-parent",Nt=new Set([gt,yt,Ae,Et,Le,Te,Ce,St,Me,wt,re,bt,ke]);function Bi(t){if(typeof t=="string")return Qe;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(Nt.has(e))return e}var Ot=Bi;var Fi=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function qi(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Ot(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Fi([...Nt].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var on=class extends Error{name="InvalidDocError";constructor(e){super(qi(e)),this.doc=e}},ar=on;function Ui(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(Ot(i)){case Ge:return e(i.map(r));case Te:return e({...i,parts:i.parts.map(r)});case Ce:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Ae:case yt:case St:case bt:case Me:return e({...i,contents:r(i.contents)});case Qe:case gt:case Et:case wt:case re:case ke:return e(i);default:throw new ar(i)}}}function cr(t,e=He){return Ui(t,n=>typeof n=="string"?v(e,n.split(` +`)):n)}var Z=je,At=je,lr=je,fr=je;function Je(t,e){return fr(t),Z(e),{type:Ae,contents:e,n:t}}function an(t){return Je(Number.NEGATIVE_INFINITY,t)}function ur(t){return Je({type:"root"},t)}function pr(t){return Je(-1,t)}var Xe={type:ke};function Lt(t){return lr(t),{type:Te,parts:t}}function Pe(t,e={}){return Z(t),At(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function cn(t,e){return Pe(t[0],{...e,expandedStates:t})}function ze(t,e="",n={}){return Z(t),e!==""&&Z(e),{type:Ce,breakContents:t,flatContents:e,groupId:n.groupId}}function v(t,e){Z(t),At(e);let n=[];for(let r=0;r{let s=!!r?.backwards;if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&ot===` +`||t==="\r"||t==="\u2028"||t==="\u2029";function Ki(t,e,n){let r=!!n?.backwards;if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` +`)return e-2;if(hr(s))return e-1}else{if(s==="\r"&&t.charAt(e+1)===` +`)return e+2;if(hr(s))return e+1}return e}var fn=Ki;function ji(t,e){let n=e-1;n=ln(t,n,{backwards:!0}),n=fn(t,n,{backwards:!0}),n=ln(t,n,{backwards:!0});let r=fn(t,n,{backwards:!0});return n!==r}var un=ji;var pn=class extends Error{name="UnexpectedNodeError";constructor(e,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},dr=pn;var gr="format";var yr=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*?(?:\n|$)/u,Er=/^\s*#[^\S\n]*@(?:format|prettier)\s*?(?:\n|$)/u,Sr=/^\s*@(?:format|prettier)\s*$/u;var wr=t=>Sr.test(t),br=t=>Er.test(t),Nr=t=>yr.test(t),Or=t=>`# @${gr} + +${t}`;function Ar(t,e){switch(t.type){case"comment":if(wr(t.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break;case"document":e.directivesEndMarker||delete e.directivesEndMarker,e.documentEndMarker||delete e.documentEndMarker;break}}Ar.ignoredProperties=new Set(["position"]);var Lr=Ar;function Tr(t,e){let{node:n}=t;if(n.type==="root"&&e.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/u.test(e.filepath))return async r=>{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}Tr.getVisitorKeys=()=>[];var Cr=Tr;var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var Qi=10;for(let t=0;t<=Qi;t++)et();function mn(t){return et(t)}function Gi(t,e="type"){mn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var Mr=Gi;var k=[["children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["key","value","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["content","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["indicatorComment","leadingComments","middleComments","trailingComment","endComments"]],kr={root:k[0],document:["head","body","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],documentHead:k[0],documentBody:k[0],directive:k[1],alias:k[1],blockLiteral:k[1],blockFolded:k[0],plain:k[0],quoteSingle:k[1],quoteDouble:k[1],mapping:k[0],mappingItem:k[2],mappingKey:k[3],mappingValue:k[3],sequence:k[0],sequenceItem:k[3],flowMapping:k[0],flowMappingItem:k[2],flowSequence:k[0],flowSequenceItem:k[3],comment:k[1],tag:k[4],anchor:k[4]};var Hi=Mr(kr),Pr=Hi;var tt=t=>t.position.start.offset,vr=t=>t.position.end.offset;function Ji(t){return Array.isArray(t)&&t.length>0}var ve=Ji;function W(t,e){return typeof t?.type=="string"&&e.includes(t.type)}function hn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>hn(r,e,t))}:t,n)}function Ie(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function _r(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;so===0&&o===a.length-1?i:o!==0&&o!==a.length-1?i.trim():o===0?i.trimEnd():i.trimStart());if(n.proseWrap==="preserve")return r.map(i=>i?[i]:[]);let s=[];for(let[i,o]of r.entries()){let a=Rr(o);i>0&&r[i-1].length>0&&a.length>0&&!(t==="quoteDouble"&&D(0,D(0,s,-1),-1).endsWith("\\"))?s[s.length-1]=[...D(0,s,-1),...a]:s.push(a)}return n.proseWrap==="never"?s.map(i=>[i.join(" ")]):s}function $r(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/su)[1],i;if(t.indent===null){let l=s.match(/^(? *)[^\n\r ]/mu);i=l?l.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` +`).map(l=>l.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return c(o.map(l=>l?[l]:[]));let a=[];for(let[l,f]of o.entries()){let m=Rr(f);l>0&&m.length>0&&o[l-1].length>0&&!/^\s/u.test(m[0])&&!/^\s|\s$/u.test(D(0,a,-1))?a[a.length-1]=[...D(0,a,-1),...m]:a.push(m)}return a=a.map(l=>{let f=[];for(let m of l)f.length>0&&/\s$/u.test(D(0,f,-1))?f[f.length-1]+=" "+m:f.push(m);return f}),r.proseWrap==="never"&&(a=a.map(l=>[l.join(" ")])),c(a);function c(l){if(t.chomping==="keep")return D(0,l,-1).length===0?l.slice(0,-1):l;let f=0;for(let m=l.length-1;m>=0&&l[m].length===0;m--)f++;return f===0?l:f>=2&&!n?l.slice(0,-(f-1)):l.slice(0,-f)}}function nt(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var gn=new WeakMap;function Pt(t,e){let{node:n,root:r}=t,s;return gn.has(r)?s=gn.get(r):(s=new Set,gn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),_r(n,e)&&!yn(t.parent))?Tt:""}function yn(t){return I(t)&&!W(t,["documentHead","documentBody","flowMapping","flowSequence"])}function _(t,e){return Je(" ".repeat(t),e)}function zi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=Mt(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),dn(r)&&o.push(" ",n("indicatorComment"));let a=$r(r,{parentIndent:s,isLastDescendant:i,options:e}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(Lt(v(se,f))),l!==a.length-1?c.push(f.length===0?N:ur(He)):r.chomping==="keep"&&i&&c.push(an(f.length===0?N:He));return r.indent===null?o.push(pr(_(e.tabWidth,c))):o.push(an(_(r.indent-1+s,c))),o}var Yr=zi;function vt(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Tt;s&&r.children.length>0&&e.bracketSpacing&&(a=se);let c=D(0,r.children,-1),l=c?.type==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,_(e.tabWidth,[a,Zi(t,e,n),e.trailingComma==="none"?"":ze(","),I(r)?[N,v(N,t.map(n,"endComments"))]:""]),l?"":a,o]}function Zi(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[n(),r?"":[",",se,s.position.start.line!==i.position.start.line?Pt(t,e.originalText):""]],"children")}function eo(t,e,n){let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=n("key"),f=to(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&En(i.content,e)&&!K(i.content)&&s.tag?.value!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",_(2,l)];let m=n("value");if(a)return[": ",_(2,m)];if(te(o)||!nt(i.content))return["? ",_(2,l),N,...t.map(()=>[n(),N],"value","leadingComments"),": ",_(2,m)];if(no(i.content)&&!te(i.content)&&!ae(i.content)&&!K(i.content)&&!I(i)&&!te(o.content)&&!ae(o.content)&&!I(o)&&En(o.content,e))return[l,f,": ",m];let g=Symbol("mappingKey"),y=Pe([ze("? "),Pe(_(2,l),{id:g})]),h=[N,": ",_(2,m)],d=[f,":"];I(o)&&o.content&&W(o.content,["flowMapping","flowSequence"])&&o.content.children.length===0?d.push(" "):te(o.content)||I(o)&&o.content&&!W(o.content,["mapping","sequence"])||s.type==="mapping"&&K(i.content)&&nt(o.content)||W(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?d.push(N):o.content?d.push(se):K(o)&&d.push(" "),d.push(m);let w=_(e.tabWidth,d);return En(i.content,e)&&!te(i.content)&&!ae(i.content)&&!K(i.content)&&!I(i)?cn([[l,w]]):cn([[y,ze(h,w,{groupId:g})]])}function En(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/mu.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` +`);case"always":return!/[\n ]/u.test(t.value);default:return!1}}function to(t){return t.key.content?.type==="alias"}function no(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Br=eo;function ro(t){return hn(t,so)}function so(t){switch(t.type){case"document":Ie(t,"head",()=>t.children[0]),Ie(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Ie(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Ie(t,"key",()=>t.children[0]),Ie(t,"value",()=>t.children[1]);break}return t}var Fr=ro;function io(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&te(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return W(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Mt(t)&&(a=Pt(t,e.originalText)),(i||o)&&(W(r,["sequence","mapping"])&&!ae(r)?s.push(N):s.push(" ")),ae(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),xr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(Pe(oo(t,e,n))),K(r)&&!W(r,["document","documentHead"])&&s.push(mr([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&nt(r)?"":Xe,n("trailingComment")])),yn(r)&&s.push(_(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[un(e.originalText,tt(c))?N:"",n()],"endComments"))])),s.push(a),s}function oo(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=kt(r),i=!(W(s,["blockLiteral","blockFolded"])&&s.chomping==="keep"),o=[];return t.each(({node:a,isFirst:c})=>{c||o.push(N),o.push(n()),co(t)&&(i&&o.push(N),o.push("..."),K(a)&&o.push(" ",n("trailingComment")))},"children"),i&&o.push(N),o}case"document":{let s=[];return lo(t)&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),K(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),ao(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=kt(r);if(W(a,["blockFolded","blockLiteral"]))a.chomping!=="keep"&&(o=[N,N]);else{let c=D(0,s,-1);o=W(c,["mapping"])&&un(e.originalText,tt(i[0]))?[N,N]:N}}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return rt(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/u.test(o)){let c=r.type==="quoteDouble"?'"':"'";return[c,rt(r.type,o,e),c]}if(o.includes('"'))return["'",rt(r.type,r.type==="quoteDouble"?dt(0,dt(0,o,'\\"','"'),"'","'".repeat(2)):o,e),"'"];if(o.includes("'"))return['"',rt(r.type,r.type==="quoteSingle"?dt(0,o,"''","'"):o,e),'"'];let a=e.singleQuote?"'":'"';return[a,rt(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Yr(t,e,n);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",_(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Br(t,e,n);case"flowMapping":return vt(t,e,n);case"flowSequence":return vt(t,e,n);case"flowSequenceItem":return n("content");default:throw new dr(r,"YAML")}}function ao(t){return t.body.children.length>0||I(t.body)}function co(t){let e=t.node;if(e.documentEndMarker||K(e))return!0;if(t.isLast)return!1;let n=t.next;return n.head.children.length>0||I(n.head)}function lo(t){let e=t.node;return e.directivesEndMarker||e.head.children.length>0||I(e.head)||K(e.head)}function rt(t,e,n){let r=Dr(t,e,n);return v(N,r.map(s=>Lt(v(se,s))))}var fo={preprocess:Fr,embed:Cr,print:io,massageAstNode:Lr,insertPragma:Or,getVisitorKeys:Pr},qr=fo;var Ur=[{name:"YAML",type:"data",aceMode:"yaml",extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".clangd",".gemrc","CITATION.cff","glide.lock","pixi.lock",".prettierrc",".stylelintrc",".lintstagedrc"],tmScope:"source.yaml",aliases:["yml"],codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","dockercompose","github-actions-workflow","home-assistant"],linguistLanguageId:407}];var It={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var uo={bracketSpacing:It.bracketSpacing,singleQuote:It.singleQuote,proseWrap:It.proseWrap},Vr=uo;var rr={};sr(rr,{yaml:()=>Ga});var nr=or(Ps(),1);var J=or(vs(),1),Tf=J.default.findPair,Cf=J.default.toJSON,Mf=J.default.parseMap,kf=J.default.parseSeq,Pf=J.default.stringifyNumber,vf=J.default.stringifyString,If=J.default.Type,_f=J.default.YAMLError,xf=J.default.YAMLReferenceError,Is=J.default.YAMLSemanticError,Rf=J.default.YAMLSyntaxError,Df=J.default.YAMLWarning;function F(t,e=null){"children"in t&&t.children.forEach(n=>F(n,t)),"anchor"in t&&t.anchor&&F(t.anchor,t),"tag"in t&&t.tag&&F(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>F(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>F(n,t)),"indicatorComment"in t&&t.indicatorComment&&F(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&F(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>F(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function Oe(t){return`${t.line}:${t.column}`}function _s(t){F(t);let e=Ia(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();_a(r,e,n[0])})}function Ia(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return xs(e,t),e}function xs(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{xs(t,n)})}}function _a(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${Oe(t.position.start)}`);F(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=Rs(l)?l:f}for(;;){if(xa(c,t)){F(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){F(t,a),a.leadingComments.push(t);return}}let i=n.children[1];F(t,i),i.endComments.push(t)}function xa(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||Rs(t));default:return!1}}function Rs(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function Ds(t,e,n){return{...b("root",t),children:e,comments:n}}function pt(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):pt(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):pt(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&pt(t.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error(`Unexpected node type ${JSON.stringify(t.type)}`)}}function X(t,e){return{start:t,end:e}}function Qn(t){return{start:t,end:t}}var me;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(me||(me={}));function $s(t,e){return{...b("anchor",t),value:e}}function Ve(t,e){return{...b("comment",t),value:e}}function Ys(t,e,n){return{anchor:e,tag:t,middleComments:n}}function Bs(t,e){return{...b("tag",t),value:e}}function Jt(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case me.Tag:i=i||c,o=Bs(e.transformRange(c),t.tag);break;case me.Anchor:i=i||c,a=$s(e.transformRange(c),r.anchor);break;case me.Comment:{let f=Ve(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return Ys(o,a,s)}function z(){return{leadingComments:[]}}function he(t=null){return{trailingComment:t}}function q(){return{...z(),...he()}}function Fs(t,e,n){return{...b("alias",t),...q(),...e,value:n}}function qs(t,e){let n=t.cstNode;return Fs(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function Us(t){return{...t,type:"blockFolded"}}function Vs(t,e,n,r,s,i){return{...b("blockValue",t),...z(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var Gn;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(Gn||(Gn={}));function Xt(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=Jt(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${Oe(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${Oe(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:V(i)||null,documentHeadTrailingComment:V(o)||null}}function Da(t,e,n){let r=zt(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function Zs(t,e,n,r){return{...b("documentHead",t),...U(n),...he(r),children:e}}function ei(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=$a(n,e),{position:o,documentEndMarkererPoint:a}=Ya(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),Zs(o,r,i,l)),documentHeadEndMarkerPoint:a}}function $a(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function Ya(t,e,n){let r=zt(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),documentEndMarkererPoint:r===-1?null:n.transformOffset(r)}}function ti(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=ei(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=zs(t,e,r),c=n(a);o&&e.comments.push(o);let l=t.cstNode;return Js(X(c.position.start,i),!!l.directivesEndMarker,!!l.documentEndMarker,c,s,o)}function Zt(t,e,n){return{...b("flowCollection",t),...q(),...U(),...e,children:n}}function ni(t,e,n){return{...Zt(t,e,n),type:"flowMapping"}}function en(t,e,n){return{...b("flowMappingItem",t),...z(),children:[e,n]}}function de(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function tn(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function nn(t,e){let n=e;return r=>t.slice(n,n=r)}function rn(t){let e=[],n=nn(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=tn(l);return Ke(a,e,en,f,m)}),i=n[0],o=V(n);return ni(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function si(t,e,n){return{...Zt(t,e,n),type:"flowSequence"}}function ii(t,e){return{...b("flowSequenceItem",t),children:[e]}}function oi(t,e){let n=de(t.cstNode.items,e),r=rn(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return ii(X(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=tn(l);return Ke(a,e,en,f,m)}}),i=n[0],o=V(n);return si(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function ai(t,e,n){return{...b("mapping",t),...z(),...e,children:n}}function ci(t,e,n){return{...b("mappingItem",t),...z(),children:[e,n]}}function li(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>We(o,e));let r=de(n.items,e),s=Ba(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return Ke(o,e,ci,l,f)});return ai(X(i[0].position.start,V(i).position.end),e.transformContent(t),i)}function Ba(t){let e=[],n=nn(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function pi(t,e){let n=t.cstNode;return fi(e.transformRange({origStart:n.valueRange.origStart,origEnd:ui(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function mi(t){return{...t,type:"quoteDouble"}}function hi(t,e,n){return{...b("quoteValue",t),...e,...q(),value:n}}function sn(t,e){let n=t.cstNode;return hi(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function di(t,e){return mi(sn(t,e))}function gi(t){return{...t,type:"quoteSingle"}}function yi(t,e){return gi(sn(t,e))}function Ei(t,e,n){return{...b("sequence",t),...z(),...U(),...e,children:n}}function Si(t,e){return{...b("sequenceItem",t),...q(),...U(),children:e?[e]:[]}}function wi(t,e){let r=de(t.cstNode.items,e).map((s,i)=>{We(s,e);let o=e.transformNode(t.items[i]);return Si(X(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return Ei(X(r[0].position.start,V(r).position.end),e.transformContent(t),r)}function bi(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return qs(t,e);case"BLOCK_FOLDED":return Ws(t,e);case"BLOCK_LITERAL":return js(t,e);case"COMMENT":return Qs(t,e);case"DIRECTIVE":return Hs(t,e);case"DOCUMENT":return ti(t,e);case"FLOW_MAP":return ri(t,e);case"FLOW_SEQ":return oi(t,e);case"MAP":return li(t,e);case"PLAIN":return pi(t,e);case"QUOTE_DOUBLE":return di(t,e);case"QUOTE_SINGLE":return yi(t,e);case"SEQ":return wi(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}var Xn,zn=class{text;comments=[];#e;#t;constructor(e,n){this.text=n,this.#e=e}setOrigRanges(){if(!this.#e.setOrigRanges())for(let e of this.#e)e.setOrigRanges([],0)}#n(e){if(!Xn){let[o]=this.#e,a=Object.getPrototypeOf(Object.getPrototypeOf(o));Xn=Object.getOwnPropertyDescriptor(a,"rangeAsLinePos").get}if(this.#t??(this.#t={root:{context:{src:this.text}}}),this.text===""&&e.origStart===0&&e.origEnd===0)return{start:{offset:0,line:1,column:1},end:{offset:0,line:1,column:1}};let{start:{line:n,col:r},end:{line:s,col:i}}=Xn.call({range:{start:this.#r(e.origStart),end:this.#r(e.origEnd)},context:this.#t});return{start:{offset:e.origStart,line:n,column:r},end:{offset:e.origEnd,line:s,column:i}}}#r(e){return e<0?0:e>this.text.length?this.text.length:e}transformOffset(e){return this.#n({origStart:e,origEnd:e}).start}transformRange(e){let{start:n,end:r}=this.#n(e);return X(n,r)}transformNode(e){return bi(e,this)}transformContent(e){return Jt(e,this)}},Ni=zn;function Oi(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Ai(t,e){let n=t.source.range||t.source.valueRange;return Oi(t.message,e.text,e.transformRange(n))}function Zn(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(Zn)}return t}function er(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function tr(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(tr),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=er(t.position,Fa,qa,Wa),r=er(t.position,Ua,Va,Ka);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(V(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=V(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function Fa(t){return t.start}function qa(t,e){t.start=e}function Ua(t){return t.end}function Va(t,e){t.end=e}function Wa(t,e){return e.offsett.offset}function Li(t){let e=nr.default.parseCST(t),n=new Ni(e,t);n.setOrigRanges();let r=e.map(i=>new nr.default.Document({merge:!1,keepCstNodes:!0}).parse(i));for(let i of r)for(let o of i.errors)if(!(o instanceof Is&&o.message==='Map keys must be unique; "<<" is repeated'))throw Ai(o,n);r.forEach(i=>pt(i.cstNode));let s=Ds(n.transformRange({origStart:0,origEnd:t.length}),r.map(i=>n.transformNode(i)),n.comments);return _s(s),tr(s),Zn(s),s}function ja(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Ti=ja;function Qa(t){try{let e=Li(t);return delete e.comments,e}catch(e){throw e?.position?Ti(e.message,{loc:e.position,cause:e}):e}}var Ga={astFormat:"yaml",parse:Qa,hasPragma:br,hasIgnorePragma:Nr,locStart:tt,locEnd:vr};var Ha={yaml:qr};return _i(Ja);}); \ No newline at end of file diff --git a/shared/node_modules/prettier/plugins/yaml.mjs b/shared/node_modules/prettier/plugins/yaml.mjs new file mode 100644 index 0000000000000000000000000000000000000000..86145fe5431f8d0da9ecd7eaa124104c70157e84 --- /dev/null +++ b/shared/node_modules/prettier/plugins/yaml.mjs @@ -0,0 +1,159 @@ +var ki=Object.create;var sn=Object.defineProperty;var Pi=Object.getOwnPropertyDescriptor;var vi=Object.getOwnPropertyNames;var Ii=Object.getPrototypeOf,_i=Object.prototype.hasOwnProperty;var ne=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),or=(t,e)=>{for(var n in e)sn(t,n,{get:e[n],enumerable:!0})},xi=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of vi(e))!_i.call(t,s)&&s!==n&&sn(t,s,{get:()=>e[s],enumerable:!(r=Pi(e,s))||r.enumerable});return t};var on=(t,e,n)=>(n=t!=null?ki(Ii(t)):{},xi(e||!t||!t.__esModule?sn(n,"default",{value:t,enumerable:!0}):n,t));var ce=ne(B=>{"use strict";var ie={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},st={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},mo="tag:yaml.org,2002:",ho={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Wr(t){let e=[0],n=t.indexOf(` +`);for(;n!==-1;)n+=1,e.push(n),n=t.indexOf(` +`,n);return e}function Kr(t){let e,n;return typeof t=="string"?(e=Wr(t),n=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Wr(t.context.src)),e=t.lineStarts,n=t.context.src)),{lineStarts:e,src:n}}function wn(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:n,src:r}=Kr(e);if(!n||!r||t>r.length)return null;for(let i=0;i=1)||t>n.length)return null;let s=n[t-1],i=n[t];for(;i&&i>s&&r[i-1]===` +`;)--i;return r.slice(s,i)}function yo({start:t,end:e},n,r=80){let s=go(t.line,n);if(!s)return null;let{col:i}=t;if(s.length>r)if(i<=r-10)s=s.substr(0,r-1)+"\u2026";else{let f=Math.round(r/2);s.length>i+f&&(s=s.substr(0,i+f-1)+"\u2026"),i-=s.length-r,s="\u2026"+s.substr(1-r)}let o=1,a="";e&&(e.line===t.line&&i+(e.col-t.col)<=r+1?o=e.col-t.col:(o=Math.min(s.length+1,r)-i,a="\u2026"));let c=i>1?" ".repeat(i-1):"",l="^".repeat(o);return`${s} +${c}${l}${a}`}var xe=class t{static copy(e){return new t(e.start,e.end)}constructor(e,n){this.start=e,this.end=n||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,n){let{start:r,end:s}=this;if(e.length===0||s<=e[0])return this.origStart=r,this.origEnd=s,n;let i=n;for(;ir);)++i;this.origStart=r+i;let o=i;for(;i=s);)++i;return this.origEnd=s+i,o}},oe=class t{static addStringTerminator(e,n,r){if(r[r.length-1]===` +`)return r;let s=t.endOfWhiteSpace(e,n);return s>=e.length||e[s]===` +`?r+` +`:r}static atDocumentBoundary(e,n,r){let s=e[n];if(!s)return!0;let i=e[n-1];if(i&&i!==` +`)return!1;if(r){if(s!==r)return!1}else if(s!==ie.DIRECTIVES_END&&s!==ie.DOCUMENT_END)return!1;let o=e[n+1],a=e[n+2];if(o!==s||a!==s)return!1;let c=e[n+3];return!c||c===` +`||c===" "||c===" "}static endOfIdentifier(e,n){let r=e[n],s=r==="<",i=s?[` +`," "," ",">"]:[` +`," "," ","[","]","{","}",","];for(;r&&i.indexOf(r)===-1;)r=e[n+=1];return s&&r===">"&&(n+=1),n}static endOfIndent(e,n){let r=e[n];for(;r===" ";)r=e[n+=1];return n}static endOfLine(e,n){let r=e[n];for(;r&&r!==` +`;)r=e[n+=1];return n}static endOfWhiteSpace(e,n){let r=e[n];for(;r===" "||r===" ";)r=e[n+=1];return n}static startOfLine(e,n){let r=e[n-1];if(r===` +`)return n;for(;r&&r!==` +`;)r=e[n-=1];return n+1}static endOfBlockIndent(e,n,r){let s=t.endOfIndent(e,r);if(s>r+n)return s;{let i=t.endOfWhiteSpace(e,s),o=e[i];if(!o||o===` +`)return i}return null}static atBlank(e,n,r){let s=e[n];return s===` +`||s===" "||s===" "||r&&!s}static nextNodeIsIndented(e,n,r){return!e||n<0?!1:n>0?!0:r&&e==="-"}static normalizeOffset(e,n){let r=e[n];return r?r!==` +`&&e[n-1]===` +`?n-1:t.endOfWhiteSpace(e,n):n}static foldNewline(e,n,r){let s=0,i=!1,o="",a=e[n+1];for(;a===" "||a===" "||a===` +`;){switch(a){case` +`:s=0,n+=1,o+=` +`;break;case" ":s<=r&&(i=!0),n=t.endOfWhiteSpace(e,n+2)-1;break;case" ":s+=1,n+=1;break}a=e[n+1]}return o||(o=" "),a&&s<=r&&(i=!0),{fold:o,offset:n,error:i}}constructor(e,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=e,this.value=null}getPropValue(e,n,r){if(!this.context)return null;let{src:s}=this.context,i=this.props[e];return i&&s[i.start]===n?s.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e0?e.join(` +`):null}commentHasRequiredWhitespace(e){let{src:n}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return e!==r||t.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let n=0;nr.setOrigRange(e,n)),n}toString(){let{context:{src:e},range:n,value:r}=this;if(r!=null)return r;let s=e.slice(n.start,n.end);return t.addStringTerminator(e,n.end,s)}},ge=class extends Error{constructor(e,n,r){if(!r||!(n instanceof oe))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new xe(this.offset,this.offset+1);let n=e&&wn(this.offset,e);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let s=e&&yo(this.linePos,e);s&&(this.message+=`: + +${s} +`)}delete this.source}},bn=class extends ge{constructor(e,n){super("YAMLReferenceError",e,n)}},it=class extends ge{constructor(e,n){super("YAMLSemanticError",e,n)}},Nn=class extends ge{constructor(e,n){super("YAMLSyntaxError",e,n)}},On=class extends ge{constructor(e,n){super("YAMLWarning",e,n)}};function Eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var An=class t extends oe{static endOfLine(e,n,r){let s=e[n],i=n;for(;s&&s!==` +`&&!(r&&(s==="["||s==="]"||s==="{"||s==="}"||s===","));){let o=e[i+1];if(s===":"&&(!o||o===` +`||o===" "||o===" "||r&&o===",")||(s===" "||s===" ")&&o==="#")break;i+=1,s=o}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{src:r}=this.context,s=r[n-1];for(;el?r.slice(l,a+1):c)}else i+=c}let o=r[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new it(this,a)],str:i}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new it(this,a)],str:i}}default:return i}}parseBlockValue(e){let{indent:n,inFlow:r,src:s}=this.context,i=e,o=e;for(let a=s[i];a===` +`&&!oe.atDocumentBoundary(s,i+1);a=s[i]){let c=oe.endOfBlockIndent(s,n,i+1);if(c===null||s[c]==="#")break;s[c]===` +`?i=c:(o=t.endOfLine(s,c,r),i=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,n){this.context=e;let{inFlow:r,src:s}=e,i=n,o=s[i];return o&&o!=="#"&&o!==` +`&&(i=t.endOfLine(s,n,r)),this.valueRange=new xe(n,i),i=oe.endOfWhiteSpace(s,i),i=this.parseComment(i),(!this.hasComment||this.valueRange.isEmpty())&&(i=this.parseBlockValue(i)),i}};B.Char=ie;B.Node=oe;B.PlainValue=An;B.Range=xe;B.Type=st;B.YAMLError=ge;B.YAMLReferenceError=bn;B.YAMLSemanticError=it;B.YAMLSyntaxError=Nn;B.YAMLWarning=On;B._defineProperty=Eo;B.defaultTagPrefix=mo;B.defaultTags=ho});var Qr=ne(jr=>{"use strict";var u=ce(),Ee=class extends u.Node{constructor(){super(u.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,n){return this.context=e,this.range=new u.Range(n,n+1),n+1}},ot=class extends u.Node{constructor(e,n){super(e,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{atLineStart:i,lineStart:o}=e;!i&&this.type===u.Type.SEQ_ITEM&&(this.error=new u.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=i?n-o:e.indent,c=u.Node.endOfWhiteSpace(s,n+1),l=s[c],f=l==="#",m=[],g=null;for(;l===` +`||l==="#";){if(l==="#"){let h=u.Node.endOfLine(s,c+1);m.push(new u.Range(c,h)),c=h}else{i=!0,o=c+1;let h=u.Node.endOfWhiteSpace(s,o);s[h]===` +`&&m.length===0&&(g=new Ee,o=g.parse({src:s},o)),c=u.Node.endOfIndent(s,o)}l=s[c]}if(u.Node.nextNodeIsIndented(l,c-(o+a),this.type!==u.Type.SEQ_ITEM)?this.node=r({atLineStart:i,inCollection:!1,indent:a,lineStart:o,parent:this},c):l&&o>n+1&&(c=o-1),this.node){if(g){let h=e.parent.items||e.parent.contents;h&&h.push(g)}m.length&&Array.prototype.push.apply(this.props,m),c=this.node.range.end}else if(f){let h=m[0];this.props.push(h),c=h.end}else c=u.Node.endOfLine(s,n+1);let y=this.node?this.node.valueRange.end:c;return this.valueRange=new u.Range(n,y),c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.node?this.node.setOrigRanges(e,n):n}toString(){let{context:{src:e},node:n,range:r,value:s}=this;if(s!=null)return s;let i=n?e.slice(r.start,n.range.start)+String(n):e.slice(r.start,r.end);return u.Node.addStringTerminator(e,r.end,i)}},ye=class extends u.Node{constructor(){super(u.Type.COMMENT)}parse(e,n){this.context=e;let r=this.parseComment(n);return this.range=new u.Range(n,r),r}};function Ln(t){let e=t;for(;e instanceof ot;)e=e.node;if(!(e instanceof It))return null;let n=e.items.length,r=-1;for(let o=n-1;o>=0;--o){let a=e.items[o];if(a.type===u.Type.COMMENT){let{indent:c,lineStart:l}=a.context;if(c>0&&a.range.start>=l+c)break;r=o}else if(a.type===u.Type.BLANK_LINE)r=o;else break}if(r===-1)return null;let s=e.items.splice(r,n-r),i=s[0].range.start;for(;e.range.end=i,e.valueRange&&e.valueRange.end>i&&(e.valueRange.end=i),e!==t;)e=e.context.parent;return s}var It=class t extends u.Node{static nextContentHasIndent(e,n,r){let s=u.Node.endOfLine(e,n)+1;n=u.Node.endOfWhiteSpace(e,s);let i=e[n];return i?n>=s+r?!0:i!=="#"&&i!==` +`?!1:t.nextContentHasIndent(e,n,r):!1}constructor(e){super(e.type===u.Type.SEQ_ITEM?u.Type.SEQ:u.Type.MAP);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start0}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,i=u.Node.startOfLine(s,n),o=this.items[0];o.context.parent=this,this.valueRange=u.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,c=n;c=u.Node.normalizeOffset(s,c);let l=s[c],f=u.Node.endOfWhiteSpace(s,i)===c,m=!1;for(;l;){for(;l===` +`||l==="#";){if(f&&l===` +`&&!m){let h=new Ee;if(c=h.parse({src:s},c),this.valueRange.end=c,c>=s.length){l=null;break}this.items.push(h),c-=1}else if(l==="#"){if(c=s.length){l=null;break}}if(i=c+1,c=u.Node.endOfIndent(s,i),u.Node.atBlank(s,c)){let h=u.Node.endOfWhiteSpace(s,c),d=s[h];(!d||d===` +`||d==="#")&&(c=h)}l=s[c],f=!0}if(!l)break;if(c!==i+a&&(f||l!==":")){if(cn&&(c=i);break}else if(!this.error){let h="All collection items must start at the same column";this.error=new u.YAMLSyntaxError(this,h)}}if(o.type===u.Type.SEQ_ITEM){if(l!=="-"){i>n&&(c=i);break}}else if(l==="-"&&!this.error){let h=s[c+1];if(!h||h===` +`||h===" "||h===" "){let d="A collection cannot be both a mapping and a sequence";this.error=new u.YAMLSyntaxError(this,d)}}let g=r({atLineStart:f,inCollection:!0,indent:a,lineStart:i,parent:this},c);if(!g)return c;if(this.items.push(g),this.valueRange.end=g.valueRange.end,c=u.Node.normalizeOffset(s,g.range.end),l=s[c],f=!1,m=g.includesTrailingLines,l){let h=c-1,d=s[h];for(;d===" "||d===" ";)d=s[--h];d===` +`&&(i=h+1,f=!0)}let y=Ln(g);y&&Array.prototype.push.apply(this.items,y)}return c}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.items.forEach(r=>{n=r.setOrigRanges(e,n)}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,n[0].range.start)+String(n[0]);for(let o=1;o0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new u.Range(i,i+3),i+3):(s?this.error=new u.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let s=e;for(;r[s-1]==="-";)s-=1;let i=u.Node.endOfWhiteSpace(r,e),o=s===e;for(this.valueRange=new u.Range(i);!u.Node.atDocumentBoundary(r,i,u.Char.DOCUMENT_END);){switch(r[i]){case` +`:if(o){let a=new Ee;i=a.parse({src:r},i),i{n=r.setOrigRanges(e,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(e,n)),this.contents.forEach(r=>{n=r.setOrigRanges(e,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(e,n)),n}toString(){let{contents:e,directives:n,value:r}=this;if(r!=null)return r;let s=n.join("");return e.length>0&&((n.length>0||e[0].type===u.Type.COMMENT)&&(s+=`--- +`),s+=e.join("")),s[s.length-1]!==` +`&&(s+=` +`),s}},Mn=class extends u.Node{parse(e,n){this.context=e;let{src:r}=e,s=u.Node.endOfIdentifier(r,n+1);return this.valueRange=new u.Range(n+1,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},le={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},kn=class extends u.Node{constructor(e,n){super(e,n),this.blockIndent=null,this.chomping=le.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===le.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:n}=this.valueRange,{indent:r,src:s}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=s[n-1];for(;o===` +`||o===" "||o===" ";){if(n-=1,n<=e){if(this.chomping===le.KEEP)break;return""}o===` +`&&(i=n),o=s[n-1]}let a=n+1;i&&(this.chomping===le.KEEP?(a=i,n=this.valueRange.end):n=i);let c=r+this.blockIndent,l=this.type===u.Type.BLOCK_FOLDED,f=!0,m="",g="",y=!1;for(let h=e;ha&&(a=m);r[l]===` +`?i=l:i=o=u.Node.endOfLine(r,l)}return this.chomping!==le.KEEP&&(i=r[o]?o+1:o),this.valueRange=new u.Range(e+1,i),i}parse(e,n){this.context=e;let{src:r}=e,s=this.parseBlockHeader(n);return s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s=this.parseBlockValue(s),s}setOrigRanges(e,n){return n=super.setOrigRanges(e,n),this.header?this.header.setOrigRange(e,n):n}},Pn=class extends u.Node{constructor(e,n){super(e,n),this.items=null}prevNodeIsJsonLike(e=this.items.length){let n=this.items[e-1];return!!n&&(n.jsonLike||n.type===u.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,n){this.context=e;let{parseNode:r,src:s}=e,{indent:i,lineStart:o}=e,a=s[n];this.items=[{char:a,offset:n}];let c=u.Node.endOfWhiteSpace(s,n+1);for(a=s[c];a&&a!=="]"&&a!=="}";){switch(a){case` +`:{o=c+1;let l=u.Node.endOfWhiteSpace(s,o);if(s[l]===` +`){let f=new Ee;o=f.parse({src:s},o),this.items.push(f)}if(c=u.Node.endOfIndent(s,o),c<=o+i&&(a=s[c],c{if(r instanceof u.Node)n=r.setOrigRanges(e,n);else if(e.length===0)r.origOffset=r.offset;else{let s=n;for(;sr.offset);)++s;r.origOffset=r.offset+s,n=s}}),n}toString(){let{context:{src:e},items:n,range:r,value:s}=this;if(s!=null)return s;let i=n.filter(c=>c instanceof u.Node),o="",a=r.start;return i.forEach(c=>{let l=e.slice(a,c.range.start);a=c.range.end,o+=l+String(c),o[o.length-1]===` +`&&e[a-1]!==` +`&&e[a]===` +`&&(a+=1)}),o+=e.slice(a,r.end),u.Node.addStringTerminator(e,r.end,o)}},vn=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=e[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=='"'&&e.push(new u.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,n,r){let{src:s}=this.context,i=s.substr(e,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(a)?(r.push(new u.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,n+2)}`)),s.substr(e-2,n+2)):String.fromCodePoint(a)}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}},In=class t extends u.Node{static endOfQuote(e,n){let r=e[n];for(;r;)if(r==="'"){if(e[n+1]!=="'")break;r=e[n+=2]}else r=e[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:n,end:r}=this.valueRange,{indent:s,src:i}=this.context;i[r-1]!=="'"&&e.push(new u.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=n+1;al?i.slice(l,a+1):c)}else o+=c}return e.length>0?{errors:e,str:o}:o}parse(e,n){this.context=e;let{src:r}=e,s=t.endOfQuote(r,n+1);return this.valueRange=new u.Range(n,s),s=u.Node.endOfWhiteSpace(r,s),s=this.parseComment(s),s}};function So(t,e){switch(t){case u.Type.ALIAS:return new Mn(t,e);case u.Type.BLOCK_FOLDED:case u.Type.BLOCK_LITERAL:return new kn(t,e);case u.Type.FLOW_MAP:case u.Type.FLOW_SEQ:return new Pn(t,e);case u.Type.MAP_KEY:case u.Type.MAP_VALUE:case u.Type.SEQ_ITEM:return new ot(t,e);case u.Type.COMMENT:case u.Type.PLAIN:return new u.PlainValue(t,e);case u.Type.QUOTE_DOUBLE:return new vn(t,e);case u.Type.QUOTE_SINGLE:return new In(t,e);default:return null}}var _n=class t{static parseType(e,n,r){switch(e[n]){case"*":return u.Type.ALIAS;case">":return u.Type.BLOCK_FOLDED;case"|":return u.Type.BLOCK_LITERAL;case"{":return u.Type.FLOW_MAP;case"[":return u.Type.FLOW_SEQ;case"?":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_KEY:u.Type.PLAIN;case":":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.MAP_VALUE:u.Type.PLAIN;case"-":return!r&&u.Node.atBlank(e,n+1,!0)?u.Type.SEQ_ITEM:u.Type.PLAIN;case'"':return u.Type.QUOTE_DOUBLE;case"'":return u.Type.QUOTE_SINGLE;default:return u.Type.PLAIN}}constructor(e={},{atLineStart:n,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){u._defineProperty(this,"parseNode",(c,l)=>{if(u.Node.atDocumentBoundary(this.src,l))return null;let f=new t(this,c),{props:m,type:g,valueStart:y}=f.parseProps(l),h=So(g,m),d=h.parse(f,y);if(h.range=new u.Range(l,d),d<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=d,h.error.source=h,h.range.end=l+1),f.nodeStartsCollection(h)){!h.error&&!f.atLineStart&&f.parent.type===u.Type.DOCUMENT&&(h.error=new u.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let w=new It(h);return d=w.parse(new t(f),d),w.range=new u.Range(l,d),w}return h}),this.atLineStart=n??(e.atLineStart||!1),this.inCollection=r??(e.inCollection||!1),this.inFlow=s??(e.inFlow||!1),this.indent=i??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:n,inFlow:r,src:s}=this;if(n||r)return!1;if(e instanceof ot)return!0;let i=e.range.end;return s[i]===` +`||s[i-1]===` +`?!1:(i=u.Node.endOfWhiteSpace(s,i),s[i]===":")}parseProps(e){let{inFlow:n,parent:r,src:s}=this,i=[],o=!1;e=this.atLineStart?u.Node.endOfIndent(s,e):u.Node.endOfWhiteSpace(s,e);let a=s[e];for(;a===u.Char.ANCHOR||a===u.Char.COMMENT||a===u.Char.TAG||a===` +`;){if(a===` +`){let l=e,f;do f=l+1,l=u.Node.endOfIndent(s,f);while(s[l]===` +`);let m=l-(f+this.indent),g=r.type===u.Type.SEQ_ITEM&&r.context.atLineStart;if(s[l]!=="#"&&!u.Node.nextNodeIsIndented(s[l],m,!g))break;this.atLineStart=!0,this.lineStart=f,o=!1,e=l}else if(a===u.Char.COMMENT){let l=u.Node.endOfLine(s,e+1);i.push(new u.Range(e,l)),e=l}else{let l=u.Node.endOfIdentifier(s,e+1);a===u.Char.TAG&&s[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,l+13))&&(l=u.Node.endOfIdentifier(s,l+5)),i.push(new u.Range(e,l)),o=!0,e=u.Node.endOfWhiteSpace(s,l)}a=s[e]}o&&a===":"&&u.Node.atBlank(s,e+1,!0)&&(e-=1);let c=t.parseType(s,e,n);return{props:i,type:c,valueStart:e}}};function wo(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(s,i)=>(s.length>1&&e.push(i),` +`)));let n=[],r=0;do{let s=new Cn,i=new _n({src:t});r=s.parse(i,r),n.push(s)}while(r{if(e.length===0)return!1;for(let i=1;in.join(`... +`),n}jr.parse=wo});var De=ne(M=>{"use strict";var p=ce();function bo(t,e,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${e}#`)} +${e}${t}`:t}function Re(t,e,n){return n?n.indexOf(` +`)===-1?`${t} #${n}`:`${t} +`+n.replace(/^/gm,`${e||""}#`):t}var j=class{};function fe(t,e,n){if(Array.isArray(t))return t.map((r,s)=>fe(r,String(s),n));if(t&&typeof t.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(t);r&&(n.onCreate=i=>{r.res=i,delete n.onCreate});let s=t.toJSON(e,n);return r&&n.onCreate&&n.onCreate(s),s}return(!n||!n.keep)&&typeof t=="bigint"?Number(t):t}var x=class extends j{constructor(e){super(),this.value=e}toJSON(e,n){return n&&n.keep?this.value:fe(this.value,e,n)}toString(){return String(this.value)}};function Gr(t,e,n){let r=n;for(let s=e.length-1;s>=0;--s){let i=e[s];if(Number.isInteger(i)&&i>=0){let o=[];o[i]=r,r=o}else{let o={};Object.defineProperty(o,i,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=o}}return t.createNode(r,!1)}var Xr=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,Q=class t extends j{constructor(e){super(),p._defineProperty(this,"items",[]),this.schema=e}addIn(e,n){if(Xr(e))this.add(n);else{let[r,...s]=e,i=this.get(r,!0);if(i instanceof t)i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Gr(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn([e,...n]){if(n.length===0)return this.delete(e);let r=this.get(e,!0);if(r instanceof t)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn([e,...n],r){let s=this.get(e,!0);return n.length===0?!r&&s instanceof x?s.value:s:s instanceof t?s.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let n=e.value;return n==null||n instanceof x&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([e,...n]){if(n.length===0)return this.has(e);let r=this.get(e,!0);return r instanceof t?r.hasIn(n):!1}setIn([e,...n],r){if(n.length===0)this.set(e,r);else{let s=this.get(e,!0);if(s instanceof t)s.setIn(n,r);else if(s===void 0&&this.schema)this.set(e,Gr(this.schema,n,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}}toJSON(){return null}toString(e,{blockItem:n,flowChars:r,isMap:s,itemIndent:i},o,a){let{indent:c,indentStep:l,stringify:f}=e,m=this.type===p.Type.FLOW_MAP||this.type===p.Type.FLOW_SEQ||e.inFlow;m&&(i+=l);let g=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:g,indent:i,inFlow:m,type:null});let y=!1,h=!1,d=this.items.reduce((P,A,C)=>{let L;A&&(!y&&A.spaceBefore&&P.push({type:"comment",str:""}),A.commentBefore&&A.commentBefore.match(/^.*$/gm).forEach(Mi=>{P.push({type:"comment",str:`#${Mi}`})}),A.comment&&(L=A.comment),m&&(!y&&A.spaceBefore||A.commentBefore||A.comment||A.key&&(A.key.commentBefore||A.key.comment)||A.value&&(A.value.commentBefore||A.value.comment))&&(h=!0)),y=!1;let R=f(A,e,()=>L=null,()=>y=!0);return m&&!h&&R.includes(` +`)&&(h=!0),m&&CL.str);if(h||C.reduce((L,R)=>L+R.length+2,2)>t.maxFlowStringSingleLineLength){w=P;for(let L of C)w+=L?` +${l}${c}${L}`:` +`;w+=` +${c}${A}`}else w=`${P} ${C.join(" ")} ${A}`}else{let P=d.map(n);w=P.shift();for(let A of P)w+=A?` +${c}${A}`:` +`}return this.comment?(w+=` +`+this.comment.replace(/^/gm,`${c}#`),o&&o()):y&&a&&a(),w}};p._defineProperty(Q,"maxFlowStringSingleLineLength",60);function _t(t){let e=t instanceof x?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var ue=class extends Q{add(e){this.items.push(e)}delete(e){let n=_t(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){let r=_t(e);if(typeof r!="number")return;let s=this.items[r];return!n&&s instanceof x?s.value:s}has(e){let n=_t(e);return typeof n=="number"&&ns.type==="comment"?s.str:`- ${s.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},n,r):JSON.stringify(this)}},No=(t,e,n)=>e===null?"":typeof e!="object"?String(e):t instanceof j&&n&&n.doc?t.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(e),T=class t extends j{constructor(e,n=null){super(),this.key=e,this.value=n,this.type=t.Type.PAIR}get commentBefore(){return this.key instanceof j?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new x(null)),this.key instanceof j)this.key.commentBefore=e;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(e,n){let r=fe(this.key,"",e);if(n instanceof Map){let s=fe(this.value,r,e);n.set(r,s)}else if(n instanceof Set)n.add(r);else{let s=No(this.key,r,e),i=fe(this.value,s,e);s in n?Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0}):n[s]=i}return n}toJSON(e,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(e,n,r){if(!e||!e.doc)return JSON.stringify(this);let{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options,{key:a,value:c}=this,l=a instanceof j&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof Q){let R="With simple keys, collection cannot be used as a key value";throw new Error(R)}}let f=!o&&(!a||l||(a instanceof j?a instanceof Q||a.type===p.Type.BLOCK_FOLDED||a.type===p.Type.BLOCK_LITERAL:typeof a=="object")),{doc:m,indent:g,indentStep:y,stringify:h}=e;e=Object.assign({},e,{implicitKey:!f,indent:g+y});let d=!1,w=h(a,e,()=>l=null,()=>d=!0);if(w=Re(w,e.indent,l),!f&&w.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(e.allNullValues&&!o)return this.comment?(w=Re(w,e.indent,this.comment),n&&n()):d&&!l&&r&&r(),e.inFlow&&!f?w:`? ${w}`;w=f?`? ${w} +${g}:`:`${w}:`,this.comment&&(w=Re(w,e.indent,this.comment),n&&n());let P="",A=null;if(c instanceof j){if(c.spaceBefore&&(P=` +`),c.commentBefore){let R=c.commentBefore.replace(/^/gm,`${e.indent}#`);P+=` +${R}`}A=c.comment}else c&&typeof c=="object"&&(c=m.schema.createNode(c,!0));e.implicitKey=!1,!f&&!this.comment&&c instanceof x&&(e.indentAtStart=w.length+1),d=!1,!i&&s>=2&&!e.inFlow&&!f&&c instanceof ue&&c.type!==p.Type.FLOW_SEQ&&!c.tag&&!m.anchors.getName(c)&&(e.indent=e.indent.substr(2));let C=h(c,e,()=>A=null,()=>d=!0),L=" ";return P||this.comment?L=`${P} +${e.indent}`:!f&&c instanceof Q?(!(C[0]==="["||C[0]==="{")||C.includes(` +`))&&(L=` +${e.indent}`):C[0]===` +`&&(L=""),d&&!A&&r&&r(),Re(w+L+C,e.indent,A)}};p._defineProperty(T,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var xt=(t,e)=>{if(t instanceof we){let n=e.get(t.source);return n.count*n.aliasCount}else if(t instanceof Q){let n=0;for(let r of t.items){let s=xt(r,e);s>n&&(n=s)}return n}else if(t instanceof T){let n=xt(t.key,e),r=xt(t.value,e);return Math.max(n,r)}return 1},we=class t extends j{static stringify({range:e,source:n},{anchors:r,doc:s,implicitKey:i,inStringifyKey:o}){let a=Object.keys(r).find(l=>r[l]===n);if(!a&&o&&(a=s.anchors.getName(n)||s.anchors.newName()),a)return`*${a}${i?" ":""}`;let c=s.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${e}]`)}constructor(e){super(),this.source=e,this.type=p.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return fe(this.source,e,n);let{anchors:r,maxAliasCount:s}=n,i=r.get(this.source);if(!i||i.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(s>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=xt(this.source,r)),i.count*i.aliasCount>s)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new p.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return i.res}toString(e){return t.stringify(this,e)}};p._defineProperty(we,"default",!0);function at(t,e){let n=e instanceof x?e.value:e;for(let r of t)if(r instanceof T&&(r.key===e||r.key===n||r.key&&r.key.value===n))return r}var ct=class extends Q{add(e,n){e?e instanceof T||(e=new T(e.key||e,e.value)):e=new T(e);let r=at(this.items,e.key),s=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(s){let i=this.items.findIndex(o=>s(e,o)<0);i===-1?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}delete(e){let n=at(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){let r=at(this.items,e),s=r&&r.value;return!n&&s instanceof x?s.value:s}has(e){return!!at(this.items,e)}set(e,n){this.add(new T(e,n),!0)}toJSON(e,n,r){let s=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(s);for(let i of this.items)i.addToJSMap(n,s);return s}toString(e,n,r){if(!e)return JSON.stringify(this);for(let s of this.items)if(!(s instanceof T))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return super.toString(e,{blockItem:s=>s.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},n,r)}},zr="<<",$t=class extends T{constructor(e){if(e instanceof T){let n=e.value;n instanceof ue||(n=new ue,n.items.push(e.value),n.range=e.value.range),super(e.key,n),this.range=e.range}else super(new x(zr),new ue);this.type=T.Type.MERGE_PAIR}addToJSMap(e,n){for(let{source:r}of this.value.items){if(!(r instanceof ct))throw new Error("Merge sources must be maps");let s=r.toJSON(null,e,Map);for(let[i,o]of s)n instanceof Map?n.has(i)||n.set(i,o):n instanceof Set?n.add(i):Object.prototype.hasOwnProperty.call(n,i)||Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return n}toString(e,n){let r=this.value;if(r.items.length>1)return super.toString(e,n);this.value=r.items[0];let s=super.toString(e,n);return this.value=r,s}},Oo={defaultType:p.Type.BLOCK_LITERAL,lineWidth:76},Ao={trueStr:"true",falseStr:"false"},Lo={asBigInt:!1},To={nullStr:"null"},be={defaultType:p.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Rn(t,e,n){for(let{format:r,test:s,resolve:i}of e)if(s){let o=t.match(s);if(o){let a=i.apply(null,o);return a instanceof x||(a=new x(a)),r&&(a.format=r),a}}return n&&(t=n(t)),new x(t)}var Zr="flow",xn="block",Rt="quoted",Hr=(t,e)=>{let n=t[e+1];for(;n===" "||n===" ";){do n=t[e+=1];while(n&&n!==` +`);n=t[e+1]}return e};function Yt(t,e,n,{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return t;let c=Math.max(1+i,1+s-e.length);if(t.length<=c)return t;let l=[],f={},m=s-e.length;typeof r=="number"&&(r>s-Math.max(2,i)?l.push(0):m=s-r);let g,y,h=!1,d=-1,w=-1,P=-1;n===xn&&(d=Hr(t,d),d!==-1&&(m=d+c));for(let C;C=t[d+=1];){if(n===Rt&&C==="\\"){switch(w=d,t[d+1]){case"x":d+=3;break;case"u":d+=5;break;case"U":d+=9;break;default:d+=1}P=d}if(C===` +`)n===xn&&(d=Hr(t,d)),m=d+c,g=void 0;else{if(C===" "&&y&&y!==" "&&y!==` +`&&y!==" "){let L=t[d+1];L&&L!==" "&&L!==` +`&&L!==" "&&(g=d)}if(d>=m)if(g)l.push(g),m=g+c,g=void 0;else if(n===Rt){for(;y===" "||y===" ";)y=C,C=t[d+=1],h=!0;let L=d>P+1?d-2:w-1;if(f[L])return t;l.push(L),f[L]=!0,m=L+c,g=void 0}else h=!0}y=C}if(h&&a&&a(),l.length===0)return t;o&&o();let A=t.slice(0,l[0]);for(let C=0;Ct?Object.assign({indentAtStart:t},be.fold):be.fold,Bt=t=>/^(%|---|\.\.\.)/m.test(t);function Co(t,e,n){if(!e||e<0)return!1;let r=e-n,s=t.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function Se(t,e){let{implicitKey:n}=e,{jsonEncoding:r,minMultiLineLength:s}=be.doubleQuoted,i=JSON.stringify(t);if(r)return i;let o=e.indent||(Bt(t)?" ":""),a="",c=0;for(let l=0,f=i[l];f;f=i[++l])if(f===" "&&i[l+1]==="\\"&&i[l+2]==="n"&&(a+=i.slice(c,l)+"\\ ",l+=1,c=l,f="\\"),f==="\\")switch(i[l+1]){case"u":{a+=i.slice(c,l);let m=i.substr(l+2,4);switch(m){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:m.substr(0,2)==="00"?a+="\\x"+m.substr(2):a+=i.substr(l,6)}l+=5,c=l+1}break;case"n":if(n||i[l+2]==='"'||i.length";if(!n)return l+` +`;let f="",m="";if(n=n.replace(/[\n\t ]*$/,y=>{let h=y.indexOf(` +`);return h===-1?l+="-":(n===y||h!==y.length-1)&&(l+="+",i&&i()),m=y.replace(/\n$/,""),""}).replace(/^[\n ]*/,y=>{y.indexOf(" ")!==-1&&(l+=a);let h=y.match(/ +$/);return h?(f=y.slice(0,-h[0].length),h[0]):(f=y,"")}),m&&(m=m.replace(/\n+(?!\n|$)/g,`$&${o}`)),f&&(f=f.replace(/\n+/g,`$&${o}`)),t&&(l+=" #"+t.replace(/ ?[\r\n]+/g," "),s&&s()),!n)return`${l}${a} +${o}${m}`;if(c)return n=n.replace(/\n+/g,`$&${o}`),`${l} +${o}${f}${n}${m}`;n=n.replace(/\n+/g,` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let g=Yt(`${f}${n}${m}`,o,xn,be.fold);return`${l} +${o}${g}`}function Mo(t,e,n,r){let{comment:s,type:i,value:o}=t,{actualString:a,implicitKey:c,indent:l,inFlow:f}=e;if(c&&/[\n[\]{},]/.test(o)||f&&/[[\]{},]/.test(o))return Se(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return c||f||o.indexOf(` +`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?es(o,e):Se(o,e):Dt(t,e,n,r);if(!c&&!f&&i!==p.Type.PLAIN&&o.indexOf(` +`)!==-1)return Dt(t,e,n,r);if(l===""&&Bt(o))return e.forceBlockIndent=!0,Dt(t,e,n,r);let m=o.replace(/\n+/g,`$& +${l}`);if(a){let{tags:y}=e.doc.schema;if(typeof Rn(m,y,y.scalarFallback).value!="string")return Se(o,e)}let g=c?m:Yt(m,l,Zr,Dn(e));return s&&!f&&(g.indexOf(` +`)!==-1||s.indexOf(` +`)!==-1)?(n&&n(),bo(g,l,s)):g}function ko(t,e,n,r){let{defaultType:s}=be,{implicitKey:i,inFlow:o}=e,{type:a,value:c}=t;typeof c!="string"&&(c=String(c),t=Object.assign({},t,{value:c}));let l=m=>{switch(m){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:return Dt(t,e,n,r);case p.Type.QUOTE_DOUBLE:return Se(c,e);case p.Type.QUOTE_SINGLE:return es(c,e);case p.Type.PLAIN:return Mo(t,e,n,r);default:return null}};(a!==p.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(i||o)&&(a===p.Type.BLOCK_FOLDED||a===p.Type.BLOCK_LITERAL))&&(a=p.Type.QUOTE_DOUBLE);let f=l(a);if(f===null&&(f=l(s),f===null))throw new Error(`Unsupported default string type ${s}`);return f}function Po({format:t,minFractionDigits:e,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(r);if(!t&&e&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let i=s.indexOf(".");i<0&&(i=s.length,s+=".");let o=e-(s.length-i-1);for(;o-- >0;)s+="0"}return s}function ts(t,e){let n,r;switch(e.type){case p.Type.FLOW_MAP:n="}",r="flow map";break;case p.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:t.push(new p.YAMLSemanticError(e,"Not a flow collection!?"));return}let s;for(let i=e.items.length-1;i>=0;--i){let o=e.items[i];if(!o||o.type!==p.Type.COMMENT){s=o;break}}if(s&&s.char!==n){let i=`Expected ${r} to end with ${n}`,o;typeof s.offset=="number"?(o=new p.YAMLSemanticError(e,i),o.offset=s.offset+1):(o=new p.YAMLSemanticError(s,i),s.range&&s.range.end&&(o.offset=s.range.end-s.range.start)),t.push(o)}}function ns(t,e){let n=e.context.src[e.range.start-1];if(n!==` +`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,r))}}function rs(t,e){let n=String(e),r=n.substr(0,8)+"..."+n.substr(-8);return new p.YAMLSemanticError(t,`The "${r}" key is too long`)}function ss(t,e){for(let{afterKey:n,before:r,comment:s}of e){let i=t.items[r];i?(n&&i.value&&(i=i.value),s===void 0?(n||!i.commentBefore)&&(i.spaceBefore=!0):i.commentBefore?i.commentBefore+=` +`+s:i.commentBefore=s):s!==void 0&&(t.comment?t.comment+=` +`+s:t.comment=s)}}function $n(t,e){let n=e.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=e),t.errors.push(r)}),n.str):""}function vo(t,e){let{handle:n,suffix:r}=e.tag,s=t.tagPrefixes.find(i=>i.handle===n);if(!s){let i=t.getDefaults().tagPrefixes;if(i&&(s=i.find(o=>o.handle===n)),!s)throw new p.YAMLSemanticError(e,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new p.YAMLSemanticError(e,`The ${n} tag has no suffix.`);if(n==="!"&&(t.version||t.options.version)==="1.0"){if(r[0]==="^")return t.warnings.push(new p.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let i=r.match(/^([a-z0-9-]+)\/(.*)/i);return i?`tag:${i[1]}.yaml.org,2002:${i[2]}`:`tag:${r}`}}return s.prefix+decodeURIComponent(r)}function Io(t,e){let{tag:n,type:r}=e,s=!1;if(n){let{handle:i,suffix:o,verbatim:a}=n;if(a){if(a!=="!"&&a!=="!!")return a;let c=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new p.YAMLSemanticError(e,c))}else if(i==="!"&&!o)s=!0;else try{return vo(t,e)}catch(c){t.errors.push(c)}}switch(r){case p.Type.BLOCK_FOLDED:case p.Type.BLOCK_LITERAL:case p.Type.QUOTE_DOUBLE:case p.Type.QUOTE_SINGLE:return p.defaultTags.STR;case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;case p.Type.PLAIN:return s?p.defaultTags.STR:null;default:return null}}function Jr(t,e,n){let{tags:r}=t.schema,s=[];for(let o of r)if(o.tag===n)if(o.test)s.push(o);else{let a=o.resolve(t,e);return a instanceof Q?a:new x(a)}let i=$n(t,e);return typeof i=="string"&&s.length>0?Rn(i,s,r.scalarFallback):null}function _o({type:t}){switch(t){case p.Type.FLOW_MAP:case p.Type.MAP:return p.defaultTags.MAP;case p.Type.FLOW_SEQ:case p.Type.SEQ:return p.defaultTags.SEQ;default:return p.defaultTags.STR}}function xo(t,e,n){try{let r=Jr(t,e,n);if(r)return n&&e.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=e),t.errors.push(r),null}try{let r=_o(e);if(!r)throw new Error(`The tag ${n} is unavailable`);let s=`The tag ${n} is unavailable, falling back to ${r}`;t.warnings.push(new p.YAMLWarning(e,s));let i=Jr(t,e,r);return i.tag=n,i}catch(r){let s=new p.YAMLReferenceError(e,r.message);return s.stack=r.stack,t.errors.push(s),null}}var Ro=t=>{if(!t)return!1;let{type:e}=t;return e===p.Type.MAP_KEY||e===p.Type.MAP_VALUE||e===p.Type.SEQ_ITEM};function Do(t,e){let n={before:[],after:[]},r=!1,s=!1,i=Ro(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of i)switch(e.context.src[o]){case p.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let m="Comments must be separated from other tokens by white space characters";t.push(new p.YAMLSemanticError(e,m))}let{header:c,valueRange:l}=e;(l&&(o>l.start||c&&o>c.start)?n.after:n.before).push(e.context.src.slice(o+1,a));break}case p.Char.ANCHOR:if(r){let c="A node can have at most one anchor";t.push(new p.YAMLSemanticError(e,c))}r=!0;break;case p.Char.TAG:if(s){let c="A node can have at most one tag";t.push(new p.YAMLSemanticError(e,c))}s=!0;break}return{comments:n,hasAnchor:r,hasTag:s}}function $o(t,e){let{anchors:n,errors:r,schema:s}=t;if(e.type===p.Type.ALIAS){let o=e.rawValue,a=n.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return r.push(new p.YAMLReferenceError(e,l)),null}let c=new we(a);return n._cstAliases.push(c),c}let i=Io(t,e);if(i)return xo(t,e,i);if(e.type!==p.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return r.push(new p.YAMLSyntaxError(e,o)),null}try{let o=$n(t,e);return Rn(o,s.tags,s.tags.scalarFallback)}catch(o){return o.source||(o.source=e),r.push(o),null}}function pe(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:n,hasAnchor:r,hasTag:s}=Do(t.errors,e);if(r){let{anchors:o}=t,a=e.anchor,c=o.getNode(a);c&&(o.map[o.newName(a)]=c),o.map[a]=e}if(e.type===p.Type.ALIAS&&(r||s)){let o="An alias node must not specify any properties";t.errors.push(new p.YAMLSemanticError(e,o))}let i=$o(t,e);if(i){i.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(i.cstNode=e),t.options.keepNodeTypes&&(i.type=e.type);let o=n.before.join(` +`);o&&(i.commentBefore=i.commentBefore?`${i.commentBefore} +${o}`:o);let a=n.after.join(` +`);a&&(i.comment=i.comment?`${i.comment} +${a}`:a)}return e.resolved=i}function Yo(t,e){if(e.type!==p.Type.MAP&&e.type!==p.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new p.YAMLSyntaxError(e,o)),null}let{comments:n,items:r}=e.type===p.Type.FLOW_MAP?Uo(t,e):qo(t,e),s=new ct;s.items=r,ss(s,n);let i=!1;for(let o=0;o{if(f instanceof we){let{type:m}=f.source;return m===p.Type.MAP||m===p.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new p.YAMLSemanticError(e,l))}else for(let c=o+1;c{if(r.length===0)return!1;let{start:s}=r[0];if(e&&s>e.valueRange.start||n[s]!==p.Char.COMMENT)return!1;for(let i=t;i0){c=new p.PlainValue(p.Type.PLAIN,[]),c.context={parent:a,src:a.context.src};let f=a.range.start+1;if(c.range={start:f,end:f},c.valueRange={start:f,end:f},typeof a.range.origStart=="number"){let m=a.range.origStart+1;c.range.origStart=c.range.origEnd=m,c.valueRange.origStart=c.valueRange.origEnd=m}}let l=new T(s,pe(t,c));Fo(a,l),r.push(l),s&&typeof i=="number"&&a.range.start>i+1024&&t.errors.push(rs(e,s)),s=void 0,i=null}break;default:s!==void 0&&r.push(new T(s)),s=pe(t,a),i=a.range.start,a.error&&t.errors.push(a.error);e:for(let c=o+1;;++c){let l=e.items[c];switch(l&&l.type){case p.Type.BLANK_LINE:case p.Type.COMMENT:continue e;case p.Type.MAP_VALUE:break e;default:{let f="Implicit map keys need to be followed by map values";t.errors.push(new p.YAMLSemanticError(a,f));break e}}}if(a.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";t.errors.push(new p.YAMLSemanticError(a,c))}}}return s!==void 0&&r.push(new T(s)),{comments:n,items:r}}function Uo(t,e){let n=[],r=[],s,i=!1,o="{";for(let a=0;ai instanceof T&&i.key instanceof Q)){let i="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new p.YAMLWarning(e,i))}return e.resolved=s,s}function Wo(t,e){let n=[],r=[];for(let s=0;so+1024&&t.errors.push(rs(e,i));let{src:h}=c.context;for(let d=o;d{"use strict";var G=ce(),O=De(),jo={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let n=O.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(r.length);for(let i=0;i{let o;if(typeof Buffer=="function")o=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c1){let o="Each pair must have its own sequence indicator";throw new G.YAMLSemanticError(e,o)}let i=s.items[0]||new O.Pair;s.commentBefore&&(i.commentBefore=i.commentBefore?`${s.commentBefore} +${i.commentBefore}`:s.commentBefore),s.comment&&(i.comment=i.comment?`${s.comment} +${i.comment}`:s.comment),s=i}n.items[r]=s instanceof O.Pair?s:new O.Pair(s)}}return n}function as(t,e,n){let r=new O.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";for(let s of e){let i,o;if(Array.isArray(s))if(s.length===2)i=s[0],o=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let c=Object.keys(s);if(c.length===1)i=c[0],o=s[i];else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else i=s;let a=t.createPair(i,o,n);r.items.push(a)}return r}var Qo={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:os,createNode:as},$e=class t extends O.YAMLSeq{constructor(){super(),G._defineProperty(this,"add",O.YAMLMap.prototype.add.bind(this)),G._defineProperty(this,"delete",O.YAMLMap.prototype.delete.bind(this)),G._defineProperty(this,"get",O.YAMLMap.prototype.get.bind(this)),G._defineProperty(this,"has",O.YAMLMap.prototype.has.bind(this)),G._defineProperty(this,"set",O.YAMLMap.prototype.set.bind(this)),this.tag=t.tag}toJSON(e,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let s of this.items){let i,o;if(s instanceof O.Pair?(i=O.toJSON(s.key,"",n),o=O.toJSON(s.value,i,n)):i=O.toJSON(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};G._defineProperty($e,"tag","tag:yaml.org,2002:omap");function Go(t,e){let n=os(t,e),r=[];for(let{key:s}of n.items)if(s instanceof O.Scalar)if(r.includes(s.value)){let i="Ordered maps must not include duplicate keys";throw new G.YAMLSemanticError(e,i)}else r.push(s.value);return Object.assign(new $e,n)}function Ho(t,e,n){let r=as(t,e,n),s=new $e;return s.items=r.items,s}var Jo={identify:t=>t instanceof Map,nodeClass:$e,default:!1,tag:"tag:yaml.org,2002:omap",resolve:Go,createNode:Ho},Ye=class t extends O.YAMLMap{constructor(){super(),this.tag=t.tag}add(e){let n=e instanceof O.Pair?e:new O.Pair(e);O.findPair(this.items,n.key)||this.items.push(n)}get(e,n){let r=O.findPair(this.items,e);return!n&&r instanceof O.Pair?r.key instanceof O.Scalar?r.key.value:r.key:r}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=O.findPair(this.items,e);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new O.Pair(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,n,r);throw new Error("Set items must all have null values")}};G._defineProperty(Ye,"tag","tag:yaml.org,2002:set");function Xo(t,e){let n=O.resolveMap(t,e);if(!n.hasAllNullValues())throw new G.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new Ye,n)}function zo(t,e,n){let r=new Ye;for(let s of e)r.items.push(t.createPair(s,null,n));return r}var Zo={identify:t=>t instanceof Set,nodeClass:Ye,default:!1,tag:"tag:yaml.org,2002:set",resolve:Xo,createNode:zo},Yn=(t,e)=>{let n=e.split(":").reduce((r,s)=>r*60+Number(s),0);return t==="-"?-n:n},cs=({value:t})=>{if(isNaN(t)||!isFinite(t))return O.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),e+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},ea={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,n)=>Yn(e,n.replace(/_/g,"")),stringify:cs},ta={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,n)=>Yn(e,n.replace(/_/g,"")),stringify:cs},na={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(t,e,n,r,s,i,o,a,c)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,n-1,r,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let f=Yn(c[0],c.slice(1));Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Bn(t){let e={};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function Fn(t,e){Bn(!1)&&console.warn(e?`${e}: ${t}`:t)}function ra(t){if(Bn(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Fn(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var is={};function sa(t,e){if(!is[t]&&Bn(!0)){is[t]=!0;let n=`The option '${t}' will be removed in a future release`;n+=e?`, use '${e}' instead.`:".",Fn(n,"DeprecationWarning")}}ee.binary=jo;ee.floatTime=ta;ee.intTime=ea;ee.omap=Jo;ee.pairs=Qo;ee.set=Zo;ee.timestamp=na;ee.warn=Fn;ee.warnFileDeprecation=ra;ee.warnOptionDeprecation=sa});var Kn=ne(bs=>{"use strict";var Ut=ce(),E=De(),$=qn();function ia(t,e,n){let r=new E.YAMLMap(t);if(e instanceof Map)for(let[s,i]of e)r.items.push(t.createPair(s,i,n));else if(e&&typeof e=="object")for(let s of Object.keys(e))r.items.push(t.createPair(s,e[s],n));return typeof t.sortMapEntries=="function"&&r.items.sort(t.sortMapEntries),r}var ft={createNode:ia,default:!0,nodeClass:E.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:E.resolveMap};function oa(t,e,n){let r=new E.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let s of e){let i=t.createNode(s,n.wrapScalars,null,n);r.items.push(i)}return r}var Vt={createNode:oa,default:!0,nodeClass:E.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:E.resolveSeq},aa={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify(t,e,n,r){return e=Object.assign({actualString:!0},e),E.stringifyString(t,e,n,r)},options:E.strOptions},Vn=[ft,Vt,aa],Wt=t=>typeof t=="bigint"||Number.isInteger(t),Wn=(t,e,n)=>E.intOptions.asBigInt?BigInt(t):parseInt(e,n);function us(t,e,n){let{value:r}=t;return Wt(r)&&r>=0?n+r.toString(e):E.stringifyNumber(t)}var ps={identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},ms={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:E.boolOptions,stringify:({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr},hs={identify:t=>Wt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>Wn(t,e,8),options:E.intOptions,stringify:t=>us(t,8,"0o")},ds={identify:Wt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>Wn(t,t,10),options:E.intOptions,stringify:E.stringifyNumber},gs={identify:t=>Wt(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>Wn(t,e,16),options:E.intOptions,stringify:t=>us(t,16,"0x")},ys={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},Es={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},Ss={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,n){let r=e||n,s=new E.Scalar(parseFloat(t));return r&&r[r.length-1]==="0"&&(s.minFractionDigits=r.length),s},stringify:E.stringifyNumber},ca=Vn.concat([ps,ms,hs,ds,gs,ys,Es,Ss]),ls=t=>typeof t=="bigint"||Number.isInteger(t),Ft=({value:t})=>JSON.stringify(t),ws=[ft,Vt,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:E.resolveString,stringify:Ft},{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ft},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:Ft},{identify:ls,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>E.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>ls(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Ft}];ws.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var fs=({value:t})=>t?E.boolOptions.trueStr:E.boolOptions.falseStr,lt=t=>typeof t=="bigint"||Number.isInteger(t);function qt(t,e,n){let r=e.replace(/_/g,"");if(E.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let i=BigInt(r);return t==="-"?BigInt(-1)*i:i}let s=parseInt(r,n);return t==="-"?-1*s:s}function Un(t,e,n){let{value:r}=t;if(lt(r)){let s=r.toString(e);return r<0?"-"+n+s.substr(1):n+s}return E.stringifyNumber(t)}var la=Vn.concat([{identify:t=>t==null,createNode:(t,e,n)=>n.wrapScalars?new E.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:E.nullOptions,stringify:()=>E.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:E.boolOptions,stringify:fs},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:E.boolOptions,stringify:fs},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,n)=>qt(e,n,2),stringify:t=>Un(t,2,"0b")},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,n)=>qt(e,n,8),stringify:t=>Un(t,8,"0")},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,n)=>qt(e,n,10),stringify:E.stringifyNumber},{identify:lt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,n)=>qt(e,n,16),stringify:t=>Un(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:E.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let n=new E.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let r=e.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:E.stringifyNumber}],$.binary,$.omap,$.pairs,$.set,$.intTime,$.floatTime,$.timestamp),fa={core:ca,failsafe:Vn,json:ws,yaml11:la},ua={binary:$.binary,bool:ms,float:Ss,floatExp:Es,floatNaN:ys,floatTime:$.floatTime,int:ds,intHex:gs,intOct:hs,intTime:$.intTime,map:ft,null:ps,omap:$.omap,pairs:$.pairs,seq:Vt,set:$.set,timestamp:$.timestamp};function pa(t,e,n){if(e){let r=n.filter(i=>i.tag===e),s=r.find(i=>!i.format)||r[0];if(!s)throw new Error(`Tag ${e} not found`);return s}return n.find(r=>(r.identify&&r.identify(t)||r.class&&t instanceof r.class)&&!r.format)}function ma(t,e,n){if(t instanceof E.Node)return t;let{defaultPrefix:r,onTagObj:s,prevObjects:i,schema:o,wrapScalars:a}=n;e&&e.startsWith("!!")&&(e=r+e.slice(2));let c=pa(t,e,o.tags);if(!c){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new E.Scalar(t):t;c=t instanceof Map?ft:t[Symbol.iterator]?Vt:ft}s&&(s(c),delete n.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&i){let f=i.get(t);if(f){let m=new E.Alias(f);return n.aliasNodes.push(m),m}l.value=t,i.set(t,l)}return l.node=c.createNode?c.createNode(n.schema,t,n):a?new E.Scalar(t):t,e&&l.node instanceof E.Node&&(l.node.tag=e),l.node}function ha(t,e,n,r){let s=t[r.replace(/\W/g,"")];if(!s){let i=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${i}`)}if(Array.isArray(n))for(let i of n)s=s.concat(i);else typeof n=="function"&&(s=n(s.slice()));for(let i=0;iJSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${c}`)}s[i]=a}}return s}var da=(t,e)=>t.keye.key?1:0,ut=class t{constructor({customTags:e,merge:n,schema:r,sortMapEntries:s,tags:i}){this.merge=!!n,this.name=r,this.sortMapEntries=s===!0?da:s||null,!e&&i&&$.warnOptionDeprecation("tags","customTags"),this.tags=ha(fa,ua,e||i,r)}createNode(e,n,r,s){let i={defaultPrefix:t.defaultPrefix,schema:this,wrapScalars:n},o=s?Object.assign(s,i):i;return ma(e,r,o)}createPair(e,n,r){r||(r={wrapScalars:!0});let s=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(n,r.wrapScalars,null,r);return new E.Pair(s,i)}};Ut._defineProperty(ut,"defaultPrefix",Ut.defaultTagPrefix);Ut._defineProperty(ut,"defaultTags",Ut.defaultTags);bs.Schema=ut});var Ls=ne(Gt=>{"use strict";var Y=ce(),S=De(),Ns=Kn(),ga={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},ya={get binary(){return S.binaryOptions},set binary(t){Object.assign(S.binaryOptions,t)},get bool(){return S.boolOptions},set bool(t){Object.assign(S.boolOptions,t)},get int(){return S.intOptions},set int(t){Object.assign(S.intOptions,t)},get null(){return S.nullOptions},set null(t){Object.assign(S.nullOptions,t)},get str(){return S.strOptions},set str(t){Object.assign(S.strOptions,t)}},As={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Y.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Y.defaultTagPrefix}]}};function Os(t,e){if((t.version||t.options.version)==="1.0"){let s=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(s)return"!"+s[1];let i=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return i?`!${i[1]}/${i[2]}`:`!${e.replace(/^tag:/,"")}`}let n=t.tagPrefixes.find(s=>e.indexOf(s.prefix)===0);if(!n){let s=t.getDefaults().tagPrefixes;n=s&&s.find(i=>e.indexOf(i.prefix)===0)}if(!n)return e[0]==="!"?e:`!<${e}>`;let r=e.substr(n.prefix.length).replace(/[!,[\]{}]/g,s=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[s]);return n.handle+r}function Ea(t,e){if(e instanceof S.Alias)return S.Alias;if(e.tag){let s=t.filter(i=>i.tag===e.tag);if(s.length>0)return s.find(i=>i.format===e.format)||s[0]}let n,r;if(e instanceof S.Scalar){r=e.value;let s=t.filter(i=>i.identify&&i.identify(r)||i.class&&r instanceof i.class);n=s.find(i=>i.format===e.format)||s.find(i=>!i.format)}else r=e,n=t.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){let s=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Sa(t,e,{anchors:n,doc:r}){let s=[],i=r.anchors.getName(t);return i&&(n[i]=t,s.push(`&${i}`)),t.tag?s.push(Os(r,t.tag)):e.default||s.push(Os(r,e.tag)),s.join(" ")}function Kt(t,e,n,r){let{anchors:s,schema:i}=e.doc,o;if(!(t instanceof S.Node)){let l={aliasNodes:[],onTagObj:f=>o=f,prevObjects:new Map};t=i.createNode(t,!0,null,l);for(let f of l.aliasNodes){f.source=f.source.node;let m=s.getName(f.source);m||(m=s.newName(),s.map[m]=f.source)}}if(t instanceof S.Pair)return t.toString(e,n,r);o||(o=Ea(i.tags,t));let a=Sa(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let c=typeof o.stringify=="function"?o.stringify(t,e,n,r):t instanceof S.Scalar?S.stringifyString(t,e,n,r):t.toString(e,n,r);return a?t instanceof S.Scalar||c[0]==="{"||c[0]==="["?`${a} ${c}`:`${a} +${e.indent}${c}`:c}var jn=class t{static validAnchorNode(e){return e instanceof S.Scalar||e instanceof S.YAMLSeq||e instanceof S.YAMLMap}constructor(e){Y._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,n){return this.setAnchor(e,n),new S.Alias(e)}createMergePair(...e){let n=new S.Merge;return n.value.items=e.map(r=>{if(r instanceof S.Alias){if(r.source instanceof S.YAMLMap)return r}else if(r instanceof S.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(e){let{map:n}=this;return Object.keys(n).find(r=>n[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let s=`${e}${r}`;if(!n.includes(s))return s}}resolveNodes(){let{map:e,_cstAliases:n}=this;Object.keys(e).forEach(r=>{e[r]=e[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(e,n){if(e!=null&&!t.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,s=e&&Object.keys(r).find(i=>r[i]===e);if(s)if(n)s!==n&&(delete r[s],r[n]=e);else return s;else{if(!n){if(!e)return null;n=this.newName()}r[n]=e}return n}},jt=(t,e)=>{if(t&&typeof t=="object"){let{tag:n}=t;t instanceof S.Collection?(n&&(e[n]=!0),t.items.forEach(r=>jt(r,e))):t instanceof S.Pair?(jt(t.key,e),jt(t.value,e)):t instanceof S.Scalar&&n&&(e[n]=!0)}return e},wa=t=>Object.keys(jt(t,{}));function ba(t,e){let n={before:[],after:[]},r,s=!1;for(let i of e)if(i.valueRange){if(r!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Y.YAMLSyntaxError(i,a));break}let o=S.resolveNode(t,i);s&&(o.spaceBefore=!0,s=!1),r=o}else i.comment!==null?(r===void 0?n.before:n.after).push(i.comment):i.type===Y.Type.BLANK_LINE&&(s=!0,r===void 0&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join(` +`),n.before=[]));if(t.contents=r||null,!r)t.comment=n.before.concat(n.after).join(` +`)||null;else{let i=n.before.join(` +`);if(i){let o=r instanceof S.Collection&&r.items[0]?r.items[0]:r;o.commentBefore=o.commentBefore?`${i} +${o.commentBefore}`:i}t.comment=n.after.join(` +`)||null}}function Na({tagPrefixes:t},e){let[n,r]=e.parameters;if(!n||!r){let s="Insufficient parameters given for %TAG directive";throw new Y.YAMLSemanticError(e,s)}if(t.some(s=>s.handle===n)){let s="The %TAG directive must only be given at most once per handle in the same document.";throw new Y.YAMLSemanticError(e,s)}return{handle:n,prefix:r}}function Oa(t,e){let[n]=e.parameters;if(e.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Y.YAMLSemanticError(e,r)}if(!As[n]){let s=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${n}`;t.warnings.push(new Y.YAMLWarning(e,s))}return n}function Aa(t,e,n){let r=[],s=!1;for(let i of e){let{comment:o,name:a}=i;switch(a){case"TAG":try{t.tagPrefixes.push(Na(t,i))}catch(c){t.errors.push(c)}s=!0;break;case"YAML":case"YAML:1.0":if(t.version){let c="The %YAML directive must only be given at most once per document.";t.errors.push(new Y.YAMLSemanticError(i,c))}try{t.version=Oa(t,i)}catch(c){t.errors.push(c)}s=!0;break;default:if(a){let c=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Y.YAMLWarning(i,c))}}o&&r.push(o)}if(n&&!s&&(t.version||n.version||t.options.version)==="1.1"){let i=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=n.tagPrefixes.map(i),t.version=n.version}t.commentBefore=r.join(` +`)||null}function Be(t){if(t instanceof S.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var Qt=class t{constructor(e){this.anchors=new jn(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Be(this.contents),this.contents.add(e)}addIn(e,n){Be(this.contents),this.contents.addIn(e,n)}delete(e){return Be(this.contents),this.contents.delete(e)}deleteIn(e){return S.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(Be(this.contents),this.contents.deleteIn(e))}getDefaults(){return t.defaults[this.version]||t.defaults[this.options.version]||{}}get(e,n){return this.contents instanceof S.Collection?this.contents.get(e,n):void 0}getIn(e,n){return S.isEmptyPath(e)?!n&&this.contents instanceof S.Scalar?this.contents.value:this.contents:this.contents instanceof S.Collection?this.contents.getIn(e,n):void 0}has(e){return this.contents instanceof S.Collection?this.contents.has(e):!1}hasIn(e){return S.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof S.Collection?this.contents.hasIn(e):!1}set(e,n){Be(this.contents),this.contents.set(e,n)}setIn(e,n){S.isEmptyPath(e)?this.contents=n:(Be(this.contents),this.contents.setIn(e,n))}setSchema(e,n){if(!e&&!n&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new Ns.Schema(r)}parse(e,n){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),Aa(this,r,n),i&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],ba(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Y.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Y.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return wa(this.contents).filter(e=>e.indexOf(Ns.Schema.defaultPrefix)!==0)}setTagPrefix(e,n){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(s=>s.handle===e);r?r.prefix=n:this.tagPrefixes.push({handle:e,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==e)}toJSON(e,n){let{keepBlobsInJSON:r,mapAsMap:s,maxAliasCount:i}=this.options,o=r&&(typeof e!="string"||!(this.contents instanceof S.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!s,maxAliasCount:i,stringify:Kt},c=Object.keys(this.anchors.map);c.length>0&&(a.anchors=new Map(c.map(f=>[this.anchors.map[f],{alias:[],aliasCount:0,count:1}])));let l=S.toJSON(this.contents,e,a);if(typeof n=="function"&&a.anchors)for(let{count:f,res:m}of a.anchors.values())n(m,f);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let c=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let s=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:l})=>{s.some(f=>f.indexOf(l)===0)&&(n.push(`%TAG ${c} ${l}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:Kt},o=!1,a=null;if(this.contents){this.contents instanceof S.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,a=this.contents.comment);let c=a?null:()=>o=!0,l=Kt(this.contents,i,()=>a=null,c);n.push(S.addComment(l,"",a))}else this.contents!==void 0&&n.push(Kt(this.contents,i));return this.comment&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(` +`)+` +`}};Y._defineProperty(Qt,"defaults",As);Gt.Document=Qt;Gt.defaultOptions=ga;Gt.scalarOptions=ya});var Ms=ne(Cs=>{"use strict";var Qn=Qr(),Ne=Ls(),La=Kn(),Ta=ce(),Ca=qn();De();function Ma(t,e=!0,n){n===void 0&&typeof e=="string"&&(n=e,e=!0);let r=Object.assign({},Ne.Document.defaults[Ne.defaultOptions.version],Ne.defaultOptions);return new La.Schema(r).createNode(t,e,n)}var Fe=class extends Ne.Document{constructor(e){super(Object.assign({},Ne.defaultOptions,e))}};function ka(t,e){let n=[],r;for(let s of Qn.parse(t)){let i=new Fe(e);i.parse(s,r),n.push(i),r=i}return n}function Ts(t,e){let n=Qn.parse(t),r=new Fe(e).parse(n[0]);if(n.length>1){let s="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new Ta.YAMLSemanticError(n[1],s))}return r}function Pa(t,e){let n=Ts(t,e);if(n.warnings.forEach(r=>Ca.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function va(t,e){let n=new Fe(e);return n.contents=t,String(n)}var Ia={createNode:Ma,defaultOptions:Ne.defaultOptions,Document:Fe,parse:Pa,parseAllDocuments:ka,parseCST:Qn.parse,parseDocument:Ts,scalarOptions:Ne.scalarOptions,stringify:va};Cs.YAML=Ia});var Gn=ne((Lf,ks)=>{ks.exports=Ms().YAML});var Ps=ne(H=>{"use strict";var qe=De(),Ue=ce();H.findPair=qe.findPair;H.parseMap=qe.resolveMap;H.parseSeq=qe.resolveSeq;H.stringifyNumber=qe.stringifyNumber;H.stringifyString=qe.stringifyString;H.toJSON=qe.toJSON;H.Type=Ue.Type;H.YAMLError=Ue.YAMLError;H.YAMLReferenceError=Ue.YAMLReferenceError;H.YAMLSemanticError=Ue.YAMLSemanticError;H.YAMLSyntaxError=Ue.YAMLSyntaxError;H.YAMLWarning=Ue.YAMLWarning});var Ci={};or(Ci,{__parsePrettierYamlConfig:()=>Xa,languages:()=>Ur,options:()=>Vr,parsers:()=>ir,printers:()=>Ja});var mt=(t,e)=>(n,r,...s)=>n|1&&r==null?void 0:(e.call(r)??r[t]).apply(r,s);function Ri(t){return this[t<0?this.length+t:t]}var Di=mt("at",function(){if(Array.isArray(this)||typeof this=="string")return Ri}),D=Di;var $i=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},Yi=mt("replaceAll",function(){if(typeof this=="string")return $i}),ht=Yi;var Bi=()=>{},je=Bi;var Qe="string",Ge="array",dt="cursor",gt="indent",Ae="align",yt="trim",Le="group",Te="fill",Ce="if-break",Et="indent-if-break",Me="line-suffix",St="line-suffix-boundary",re="line",wt="label",ke="break-parent",bt=new Set([dt,gt,Ae,yt,Le,Te,Ce,Et,Me,St,re,wt,ke]);function Fi(t){if(typeof t=="string")return Qe;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(bt.has(e))return e}var Nt=Fi;var qi=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ui(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', +Expected it to be 'string' or 'object'.`;if(Nt(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=qi([...bt].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'. +Expected it to be ${r}.`}var an=class extends Error{name="InvalidDocError";constructor(e){super(Ui(e)),this.doc=e}},ar=an;function Vi(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(Nt(i)){case Ge:return e(i.map(r));case Te:return e({...i,parts:i.parts.map(r)});case Ce:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Le:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Ae:case gt:case Et:case wt:case Me:return e({...i,contents:r(i.contents)});case Qe:case dt:case yt:case St:case re:case ke:return e(i);default:throw new ar(i)}}}function cr(t,e=He){return Vi(t,n=>typeof n=="string"?v(e,n.split(` +`)):n)}var Z=je,Ot=je,lr=je,fr=je;function Je(t,e){return fr(t),Z(e),{type:Ae,contents:e,n:t}}function cn(t){return Je(Number.NEGATIVE_INFINITY,t)}function ur(t){return Je({type:"root"},t)}function pr(t){return Je(-1,t)}var Xe={type:ke};function At(t){return lr(t),{type:Te,parts:t}}function Pe(t,e={}){return Z(t),Ot(e.expandedStates,!0),{type:Le,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function ln(t,e){return Pe(t[0],{...e,expandedStates:t})}function ze(t,e="",n={}){return Z(t),e!==""&&Z(e),{type:Ce,breakContents:t,flatContents:e,groupId:n.groupId}}function v(t,e){Z(t),Ot(e);let n=[];for(let r=0;r{let s=!!r?.backwards;if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&ot===` +`||t==="\r"||t==="\u2028"||t==="\u2029";function ji(t,e,n){let r=!!n?.backwards;if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===` +`)return e-2;if(hr(s))return e-1}else{if(s==="\r"&&t.charAt(e+1)===` +`)return e+2;if(hr(s))return e+1}return e}var un=ji;function Qi(t,e){let n=e-1;n=fn(t,n,{backwards:!0}),n=un(t,n,{backwards:!0}),n=fn(t,n,{backwards:!0});let r=un(t,n,{backwards:!0});return n!==r}var pn=Qi;var mn=class extends Error{name="UnexpectedNodeError";constructor(e,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},dr=mn;var gr="format";var yr=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*?(?:\n|$)/u,Er=/^\s*#[^\S\n]*@(?:format|prettier)\s*?(?:\n|$)/u,Sr=/^\s*@(?:format|prettier)\s*$/u;var wr=t=>Sr.test(t),br=t=>Er.test(t),Nr=t=>yr.test(t),Or=t=>`# @${gr} + +${t}`;function Ar(t,e){switch(t.type){case"comment":if(wr(t.value))return null;break;case"quoteDouble":case"quoteSingle":e.type="quote";break;case"document":e.directivesEndMarker||delete e.directivesEndMarker,e.documentEndMarker||delete e.documentEndMarker;break}}Ar.ignoredProperties=new Set(["position"]);var Lr=Ar;function Tr(t,e){let{node:n}=t;if(n.type==="root"&&e.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/u.test(e.filepath))return async r=>{let s=await r(e.originalText,{parser:"json"});return s?[s,N]:void 0}}Tr.getVisitorKeys=()=>[];var Cr=Tr;var Ze=null;function et(t){if(Ze!==null&&typeof Ze.property){let e=Ze;return Ze=et.prototype=null,e}return Ze=et.prototype=t??Object.create(null),new et}var Gi=10;for(let t=0;t<=Gi;t++)et();function hn(t){return et(t)}function Hi(t,e="type"){hn(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var Mr=Hi;var k=[["children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["key","value","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["content","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],["indicatorComment","leadingComments","middleComments","trailingComment","endComments"]],kr={root:k[0],document:["head","body","children","anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"],documentHead:k[0],documentBody:k[0],directive:k[1],alias:k[1],blockLiteral:k[1],blockFolded:k[0],plain:k[0],quoteSingle:k[1],quoteDouble:k[1],mapping:k[0],mappingItem:k[2],mappingKey:k[3],mappingValue:k[3],sequence:k[0],sequenceItem:k[3],flowMapping:k[0],flowMappingItem:k[2],flowSequence:k[0],flowSequenceItem:k[3],comment:k[1],tag:k[4],anchor:k[4]};var Ji=Mr(kr),Pr=Ji;var tt=t=>t.position.start.offset,vr=t=>t.position.end.offset;function Xi(t){return Array.isArray(t)&&t.length>0}var ve=Xi;function W(t,e){return typeof t?.type=="string"&&e.includes(t.type)}function dn(t,e,n){return e("children"in t?{...t,children:t.children.map(r=>dn(r,e,t))}:t,n)}function Ie(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1})}function _r(t,e){let n=0,r=e.length;for(let s=t.position.end.offset-1;so===0&&o===a.length-1?i:o!==0&&o!==a.length-1?i.trim():o===0?i.trimEnd():i.trimStart());if(n.proseWrap==="preserve")return r.map(i=>i?[i]:[]);let s=[];for(let[i,o]of r.entries()){let a=Rr(o);i>0&&r[i-1].length>0&&a.length>0&&!(t==="quoteDouble"&&D(0,D(0,s,-1),-1).endsWith("\\"))?s[s.length-1]=[...D(0,s,-1),...a]:s.push(a)}return n.proseWrap==="never"?s.map(i=>[i.join(" ")]):s}function $r(t,{parentIndent:e,isLastDescendant:n,options:r}){let s=t.position.start.line===t.position.end.line?"":r.originalText.slice(t.position.start.offset,t.position.end.offset).match(/^[^\n]*\n(.*)$/su)[1],i;if(t.indent===null){let l=s.match(/^(? *)[^\n\r ]/mu);i=l?l.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=t.indent-1+e;let o=s.split(` +`).map(l=>l.slice(i));if(r.proseWrap==="preserve"||t.type==="blockLiteral")return c(o.map(l=>l?[l]:[]));let a=[];for(let[l,f]of o.entries()){let m=Rr(f);l>0&&m.length>0&&o[l-1].length>0&&!/^\s/u.test(m[0])&&!/^\s|\s$/u.test(D(0,a,-1))?a[a.length-1]=[...D(0,a,-1),...m]:a.push(m)}return a=a.map(l=>{let f=[];for(let m of l)f.length>0&&/\s$/u.test(D(0,f,-1))?f[f.length-1]+=" "+m:f.push(m);return f}),r.proseWrap==="never"&&(a=a.map(l=>[l.join(" ")])),c(a);function c(l){if(t.chomping==="keep")return D(0,l,-1).length===0?l.slice(0,-1):l;let f=0;for(let m=l.length-1;m>=0&&l[m].length===0;m--)f++;return f===0?l:f>=2&&!n?l.slice(0,-(f-1)):l.slice(0,-f)}}function nt(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}var yn=new WeakMap;function kt(t,e){let{node:n,root:r}=t,s;return yn.has(r)?s=yn.get(r):(s=new Set,yn.set(r,s)),!s.has(n.position.end.line)&&(s.add(n.position.end.line),_r(n,e)&&!En(t.parent))?Lt:""}function En(t){return I(t)&&!W(t,["documentHead","documentBody","flowMapping","flowSequence"])}function _(t,e){return Je(" ".repeat(t),e)}function Zi(t,e,n){let{node:r}=t,s=t.ancestors.filter(l=>l.type==="sequence"||l.type==="mapping").length,i=Ct(t),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),gn(r)&&o.push(" ",n("indicatorComment"));let a=$r(r,{parentIndent:s,isLastDescendant:i,options:e}),c=[];for(let[l,f]of a.entries())l===0&&c.push(N),c.push(At(v(se,f))),l!==a.length-1?c.push(f.length===0?N:ur(He)):r.chomping==="keep"&&i&&c.push(cn(f.length===0?N:He));return r.indent===null?o.push(pr(_(e.tabWidth,c))):o.push(cn(_(r.indent-1+s,c))),o}var Yr=Zi;function Pt(t,e,n){let{node:r}=t,s=r.type==="flowMapping",i=s?"{":"[",o=s?"}":"]",a=Lt;s&&r.children.length>0&&e.bracketSpacing&&(a=se);let c=D(0,r.children,-1),l=c?.type==="flowMappingItem"&&_e(c.key)&&_e(c.value);return[i,_(e.tabWidth,[a,eo(t,e,n),e.trailingComma==="none"?"":ze(","),I(r)?[N,v(N,t.map(n,"endComments"))]:""]),l?"":a,o]}function eo(t,e,n){return t.map(({isLast:r,node:s,next:i})=>[n(),r?"":[",",se,s.position.start.line!==i.position.start.line?kt(t,e.originalText):""]],"children")}function to(t,e,n){let{node:r,parent:s}=t,{key:i,value:o}=r,a=_e(i),c=_e(o);if(a&&c)return": ";let l=n("key"),f=no(r)?" ":"";if(c)return r.type==="flowMappingItem"&&s.type==="flowMapping"?l:r.type==="mappingItem"&&Sn(i.content,e)&&!K(i.content)&&s.tag?.value!=="tag:yaml.org,2002:set"?[l,f,":"]:["? ",_(2,l)];let m=n("value");if(a)return[": ",_(2,m)];if(te(o)||!nt(i.content))return["? ",_(2,l),N,...t.map(()=>[n(),N],"value","leadingComments"),": ",_(2,m)];if(ro(i.content)&&!te(i.content)&&!ae(i.content)&&!K(i.content)&&!I(i)&&!te(o.content)&&!ae(o.content)&&!I(o)&&Sn(o.content,e))return[l,f,": ",m];let g=Symbol("mappingKey"),y=Pe([ze("? "),Pe(_(2,l),{id:g})]),h=[N,": ",_(2,m)],d=[f,":"];I(o)&&o.content&&W(o.content,["flowMapping","flowSequence"])&&o.content.children.length===0?d.push(" "):te(o.content)||I(o)&&o.content&&!W(o.content,["mapping","sequence"])||s.type==="mapping"&&K(i.content)&&nt(o.content)||W(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?d.push(N):o.content?d.push(se):K(o)&&d.push(" "),d.push(m);let w=_(e.tabWidth,d);return Sn(i.content,e)&&!te(i.content)&&!ae(i.content)&&!K(i.content)&&!I(i)?ln([[l,w]]):ln([[y,ze(h,w,{groupId:g})]])}function Sn(t,e){if(!t)return!0;switch(t.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return t.position.start.line===t.position.end.line;if(/\\$/mu.test(e.originalText.slice(t.position.start.offset,t.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!t.value.includes(` +`);case"always":return!/[\n ]/u.test(t.value);default:return!1}}function no(t){return t.key.content?.type==="alias"}function ro(t){if(!t)return!0;switch(t.type){case"plain":case"quoteDouble":case"quoteSingle":return t.position.start.line===t.position.end.line;case"alias":return!0;default:return!1}}var Br=to;function so(t){return dn(t,io)}function io(t){switch(t.type){case"document":Ie(t,"head",()=>t.children[0]),Ie(t,"body",()=>t.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Ie(t,"content",()=>t.children[0]);break;case"mappingItem":case"flowMappingItem":Ie(t,"key",()=>t.children[0]),Ie(t,"value",()=>t.children[1]);break}return t}var Fr=so;function oo(t,e,n){let{node:r}=t,s=[];r.type!=="mappingValue"&&te(r)&&s.push([v(N,t.map(n,"leadingComments")),N]);let{tag:i,anchor:o}=r;i&&s.push(n("tag")),i&&o&&s.push(" "),o&&s.push(n("anchor"));let a="";return W(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Ct(t)&&(a=kt(t,e.originalText)),(i||o)&&(W(r,["sequence","mapping"])&&!ae(r)?s.push(N):s.push(" ")),ae(r)&&s.push([r.middleComments.length===1?"":N,v(N,t.map(n,"middleComments")),N]),xr(t)?s.push(cr(e.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd())):s.push(Pe(ao(t,e,n))),K(r)&&!W(r,["document","documentHead"])&&s.push(mr([r.type==="mappingValue"&&!r.content?"":" ",t.parent.type==="mappingKey"&&t.getParentNode(2).type==="mapping"&&nt(r)?"":Xe,n("trailingComment")])),En(r)&&s.push(_(r.type==="sequenceItem"?2:0,[N,v(N,t.map(({node:c})=>[pn(e.originalText,tt(c))?N:"",n()],"endComments"))])),s.push(a),s}function ao(t,e,n){let{node:r}=t;switch(r.type){case"root":{let s=Mt(r),i=!(W(s,["blockLiteral","blockFolded"])&&s.chomping==="keep"),o=[];return t.each(({node:a,isFirst:c})=>{c||o.push(N),o.push(n()),lo(t)&&(i&&o.push(N),o.push("..."),K(a)&&o.push(" ",n("trailingComment")))},"children"),i&&o.push(N),o}case"document":{let s=[];return fo(t)&&((r.head.children.length>0||r.head.endComments.length>0)&&s.push(n("head")),K(r.head)?s.push(["---"," ",n(["head","trailingComment"])]):s.push("---")),co(r)&&s.push(n("body")),v(N,s)}case"documentHead":return v(N,[...t.map(n,"children"),...t.map(n,"endComments")]);case"documentBody":{let{children:s,endComments:i}=r,o="";if(s.length>0&&i.length>0){let a=Mt(r);if(W(a,["blockFolded","blockLiteral"]))a.chomping!=="keep"&&(o=[N,N]);else{let c=D(0,s,-1);o=W(c,["mapping"])&&pn(e.originalText,tt(i[0]))?[N,N]:N}}return[v(N,t.map(n,"children")),o,v(N,t.map(n,"endComments"))]}case"directive":return["%",v(" ",[r.name,...r.parameters])];case"comment":return["#",r.value];case"alias":return["*",r.value];case"tag":return e.originalText.slice(r.position.start.offset,r.position.end.offset);case"anchor":return["&",r.value];case"plain":return rt(r.type,e.originalText.slice(r.position.start.offset,r.position.end.offset),e);case"quoteDouble":case"quoteSingle":{let o=e.originalText.slice(r.position.start.offset+1,r.position.end.offset-1);if(r.type==="quoteSingle"&&o.includes("\\")||r.type==="quoteDouble"&&/\\[^"]/u.test(o)){let c=r.type==="quoteDouble"?'"':"'";return[c,rt(r.type,o,e),c]}if(o.includes('"'))return["'",rt(r.type,r.type==="quoteDouble"?ht(0,ht(0,o,'\\"','"'),"'","'".repeat(2)):o,e),"'"];if(o.includes("'"))return['"',rt(r.type,r.type==="quoteSingle"?ht(0,o,"''","'"):o,e),'"'];let a=e.singleQuote?"'":'"';return[a,rt(r.type,o,e),a]}case"blockFolded":case"blockLiteral":return Yr(t,e,n);case"mapping":case"sequence":return v(N,t.map(n,"children"));case"sequenceItem":return["- ",_(2,r.content?n("content"):"")];case"mappingKey":case"mappingValue":return r.content?n("content"):"";case"mappingItem":case"flowMappingItem":return Br(t,e,n);case"flowMapping":return Pt(t,e,n);case"flowSequence":return Pt(t,e,n);case"flowSequenceItem":return n("content");default:throw new dr(r,"YAML")}}function co(t){return t.body.children.length>0||I(t.body)}function lo(t){let e=t.node;if(e.documentEndMarker||K(e))return!0;if(t.isLast)return!1;let n=t.next;return n.head.children.length>0||I(n.head)}function fo(t){let e=t.node;return e.directivesEndMarker||e.head.children.length>0||I(e.head)||K(e.head)}function rt(t,e,n){let r=Dr(t,e,n);return v(N,r.map(s=>At(v(se,s))))}var uo={preprocess:Fr,embed:Cr,print:oo,massageAstNode:Lr,insertPragma:Or,getVisitorKeys:Pr},qr=uo;var Ur=[{name:"YAML",type:"data",aceMode:"yaml",extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".clangd",".gemrc","CITATION.cff","glide.lock","pixi.lock",".prettierrc",".stylelintrc",".lintstagedrc"],tmScope:"source.yaml",aliases:["yml"],codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","dockercompose","github-actions-workflow","home-assistant"],linguistLanguageId:407}];var vt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var po={bracketSpacing:vt.bracketSpacing,singleQuote:vt.singleQuote,proseWrap:vt.proseWrap},Vr=po;var ir={};or(ir,{yaml:()=>Ha});var sr=on(Gn(),1);var J=on(Ps(),1),Cf=J.default.findPair,Mf=J.default.toJSON,kf=J.default.parseMap,Pf=J.default.parseSeq,vf=J.default.stringifyNumber,If=J.default.stringifyString,_f=J.default.Type,xf=J.default.YAMLError,Rf=J.default.YAMLReferenceError,vs=J.default.YAMLSemanticError,Df=J.default.YAMLSyntaxError,$f=J.default.YAMLWarning;function F(t,e=null){"children"in t&&t.children.forEach(n=>F(n,t)),"anchor"in t&&t.anchor&&F(t.anchor,t),"tag"in t&&t.tag&&F(t.tag,t),"leadingComments"in t&&t.leadingComments.forEach(n=>F(n,t)),"middleComments"in t&&t.middleComments.forEach(n=>F(n,t)),"indicatorComment"in t&&t.indicatorComment&&F(t.indicatorComment,t),"trailingComment"in t&&t.trailingComment&&F(t.trailingComment,t),"endComments"in t&&t.endComments.forEach(n=>F(n,t)),Object.defineProperty(t,"_parent",{value:e,enumerable:!1})}function Oe(t){return`${t.line}:${t.column}`}function Is(t){F(t);let e=_a(t),n=t.children.slice();t.comments.sort((r,s)=>r.position.start.offset-s.position.end.offset).filter(r=>!r._parent).forEach(r=>{for(;n.length>1&&r.position.start.line>n[0].position.end.line;)n.shift();xa(r,e,n[0])})}function _a(t){let e=Array.from(new Array(t.position.end.line),()=>({}));for(let n of t.comments)e[n.position.start.line-1].comment=n;return _s(e,t),e}function _s(t,e){if(e.position.start.offset!==e.position.end.offset){if("leadingComments"in e){let{start:n}=e.position,{leadingAttachableNode:r}=t[n.line-1];(!r||n.column1&&e.type!=="document"&&e.type!=="documentHead"){let{end:n}=e.position,{trailingAttachableNode:r}=t[n.line-1];(!r||n.column>=r.position.end.column)&&(t[n.line-1].trailingAttachableNode=e)}if(e.type!=="root"&&e.type!=="document"&&e.type!=="documentHead"&&e.type!=="documentBody"){let{start:n,end:r}=e.position,s=[r.line].concat(n.line===r.line?[]:n.line);for(let i of s){let o=t[i-1].trailingNode;(!o||r.column>=o.position.end.column)&&(t[i-1].trailingNode=e)}}"children"in e&&e.children.forEach(n=>{_s(t,n)})}}function xa(t,e,n){let r=t.position.start.line,{trailingAttachableNode:s}=e[r-1];if(s){if(s.trailingComment)throw new Error(`Unexpected multiple trailing comment at ${Oe(t.position.start)}`);F(t,s),s.trailingComment=t;return}for(let o=r;o>=n.position.start.line;o--){let{trailingNode:a}=e[o-1],c;if(a)c=a;else if(o!==r&&e[o-1].comment)c=e[o-1].comment._parent;else continue;if((c.type==="sequence"||c.type==="mapping")&&(c=c.children[0]),c.type==="mappingItem"){let[l,f]=c.children;c=xs(l)?l:f}for(;;){if(Ra(c,t)){F(t,c),c.endComments.push(t);return}if(!c._parent)break;c=c._parent}break}for(let o=r+1;o<=n.position.end.line;o++){let{leadingAttachableNode:a}=e[o-1];if(a){F(t,a),a.leadingComments.push(t);return}}let i=n.children[1];F(t,i),i.endComments.push(t)}function Ra(t,e){if(t.position.start.offsete.position.end.offset)switch(t.type){case"flowMapping":case"flowSequence":return t.children.length===0||e.position.start.line>t.children[t.children.length-1].position.end.line}if(e.position.end.offsett.position.start.column;case"mappingKey":case"mappingValue":return e.position.start.column>t._parent.position.start.column&&(t.children.length===0||t.children.length===1&&t.children[0].type!=="blockFolded"&&t.children[0].type!=="blockLiteral")&&(t.type==="mappingValue"||xs(t));default:return!1}}function xs(t){return t.position.start!==t.position.end&&(t.children.length===0||t.position.start.offset!==t.children[0].position.start.offset)}function b(t,e){return{type:t,position:e}}function Rs(t,e,n){return{...b("root",t),children:e,comments:n}}function pt(t){switch(t.type){case"DOCUMENT":for(let e=t.contents.length-1;e>=0;e--)t.contents[e].type==="BLANK_LINE"?t.contents.splice(e,1):pt(t.contents[e]);for(let e=t.directives.length-1;e>=0;e--)t.directives[e].type==="BLANK_LINE"&&t.directives.splice(e,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(let e=t.items.length-1;e>=0;e--){let n=t.items[e];"char"in n||(n.type==="BLANK_LINE"?t.items.splice(e,1):pt(n))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":t.node&&pt(t.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error(`Unexpected node type ${JSON.stringify(t.type)}`)}}function X(t,e){return{start:t,end:e}}function Hn(t){return{start:t,end:t}}var me;(function(t){t.Tag="!",t.Anchor="&",t.Comment="#"})(me||(me={}));function Ds(t,e){return{...b("anchor",t),value:e}}function Ve(t,e){return{...b("comment",t),value:e}}function $s(t,e,n){return{anchor:e,tag:t,middleComments:n}}function Ys(t,e){return{...b("tag",t),value:e}}function Ht(t,e,n=()=>!1){let r=t.cstNode,s=[],i=null,o=null,a=null;for(let c of r.props){let l=e.text[c.origStart];switch(l){case me.Tag:i=i||c,o=Ys(e.transformRange(c),t.tag);break;case me.Anchor:i=i||c,a=Ds(e.transformRange(c),r.anchor);break;case me.Comment:{let f=Ve(e.transformRange(c),e.text.slice(c.origStart+1,c.origEnd));e.comments.push(f),!n(f)&&i&&i.origEnd<=c.origStart&&c.origEnd<=r.valueRange.origStart&&s.push(f);break}default:throw new Error(`Unexpected leading character ${JSON.stringify(l)}`)}}return $s(o,a,s)}function z(){return{leadingComments:[]}}function he(t=null){return{trailingComment:t}}function q(){return{...z(),...he()}}function Bs(t,e,n){return{...b("alias",t),...q(),...e,value:n}}function Fs(t,e){let n=t.cstNode;return Bs(e.transformRange({origStart:n.valueRange.origStart-1,origEnd:n.valueRange.origEnd}),e.transformContent(t),n.rawValue)}function qs(t){return{...t,type:"blockFolded"}}function Us(t,e,n,r,s,i){return{...b("blockValue",t),...z(),...e,chomping:n,indent:r,value:s,indicatorComment:i}}var Jn;(function(t){t.CLIP="clip",t.STRIP="strip",t.KEEP="keep"})(Jn||(Jn={}));function Jt(t,e){let n=t.cstNode,r=1,s=n.chomping==="CLIP"?0:1,o=n.header.origEnd-n.header.origStart-r-s!==0,a=e.transformRange({origStart:n.header.origStart,origEnd:n.valueRange.origEnd}),c=null,l=Ht(t,e,f=>{if(!(a.start.offset=0;c--){let l=t.contents[c];if(l.type==="COMMENT"){let f=e.transformNode(l);n&&n.line===f.position.start.line?o.unshift(f):a?r.unshift(f):f.position.start.offset>=t.valueRange.origEnd?i.unshift(f):r.unshift(f)}else a=!0}if(i.length>1)throw new Error(`Unexpected multiple document trailing comments at ${Oe(i[1].position.start)}`);if(o.length>1)throw new Error(`Unexpected multiple documentHead trailing comments at ${Oe(o[1].position.start)}`);return{comments:r,endComments:s,documentTrailingComment:V(i)||null,documentHeadTrailingComment:V(o)||null}}function $a(t,e,n){let r=Xt(n.text.slice(t.valueRange.origEnd),/^\.\.\./),s=r===-1?t.valueRange.origEnd:Math.max(0,t.valueRange.origEnd-1);n.text[s-1]==="\r"&&s--;let i=n.transformRange({origStart:e!==null?e.position.start.offset:s,origEnd:s}),o=r===-1?i.end:n.transformOffset(t.valueRange.origEnd+3);return{position:i,documentEndPoint:o}}function zs(t,e,n,r){return{...b("documentHead",t),...U(n),...he(r),children:e}}function Zs(t,e){let n=t.cstNode,{directives:r,comments:s,endComments:i}=Ya(n,e),{position:o,documentEndMarkererPoint:a}=Ba(n,r,e);return e.comments.push(...s,...i),{createDocumentHeadWithTrailingComment:l=>(l&&e.comments.push(l),zs(o,r,i,l)),documentHeadEndMarkerPoint:a}}function Ya(t,e){let n=[],r=[],s=[],i=!1;for(let o=t.directives.length-1;o>=0;o--){let a=e.transformNode(t.directives[o]);a.type==="comment"?i?r.unshift(a):s.unshift(a):(i=!0,n.unshift(a))}return{directives:n,comments:r,endComments:s}}function Ba(t,e,n){let r=Xt(n.text.slice(0,t.valueRange.origStart),/---\s*$/);r>0&&!/[\r\n]/.test(n.text[r-1])&&(r=-1);let s=r===-1?{origStart:t.valueRange.origStart,origEnd:t.valueRange.origStart}:{origStart:r,origEnd:r+3};return e.length!==0&&(s.origStart=e[0].position.start.offset),{position:n.transformRange(s),documentEndMarkererPoint:r===-1?null:n.transformOffset(r)}}function ei(t,e){let{createDocumentHeadWithTrailingComment:n,documentHeadEndMarkerPoint:r}=Zs(t,e),{documentBody:s,documentEndPoint:i,documentTrailingComment:o,documentHeadTrailingComment:a}=Xs(t,e,r),c=n(a);o&&e.comments.push(o);let l=t.cstNode;return Hs(X(c.position.start,i),!!l.directivesEndMarker,!!l.documentEndMarker,c,s,o)}function zt(t,e,n){return{...b("flowCollection",t),...q(),...U(),...e,children:n}}function ti(t,e,n){return{...zt(t,e,n),type:"flowMapping"}}function Zt(t,e,n){return{...b("flowMappingItem",t),...z(),children:[e,n]}}function de(t,e){let n=[];for(let r of t)r&&"type"in r&&r.type==="COMMENT"?e.comments.push(e.transformNode(r)):n.push(r);return n}function en(t){let[e,n]=["?",":"].map(r=>{let s=t.find(i=>"char"in i&&i.char===r);return s?{origStart:s.origOffset,origEnd:s.origOffset+1}:null});return{additionalKeyRange:e,additionalValueRange:n}}function tn(t,e){let n=e;return r=>t.slice(n,n=r)}function nn(t){let e=[],n=tn(t,1),r=!1;for(let s=1;s{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=en(l);return Ke(a,e,Zt,f,m)}),i=n[0],o=V(n);return ti(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function ri(t,e,n){return{...zt(t,e,n),type:"flowSequence"}}function si(t,e){return{...b("flowSequenceItem",t),children:[e]}}function ii(t,e){let n=de(t.cstNode.items,e),r=nn(n),s=t.items.map((a,c)=>{if(a.type!=="PAIR"){let l=e.transformNode(a);return si(X(l.position.start,l.position.end),l)}else{let l=r[c],{additionalKeyRange:f,additionalValueRange:m}=en(l);return Ke(a,e,Zt,f,m)}}),i=n[0],o=V(n);return ri(e.transformRange({origStart:i.origOffset,origEnd:o.origOffset+1}),e.transformContent(t),s)}function oi(t,e,n){return{...b("mapping",t),...z(),...e,children:n}}function ai(t,e,n){return{...b("mappingItem",t),...z(),children:[e,n]}}function ci(t,e){let n=t.cstNode;n.items.filter(o=>o.type==="MAP_KEY"||o.type==="MAP_VALUE").forEach(o=>We(o,e));let r=de(n.items,e),s=Fa(r),i=t.items.map((o,a)=>{let c=s[a],[l,f]=c[0].type==="MAP_VALUE"?[null,c[0].range]:[c[0].range,c.length===1?null:c[1].range];return Ke(o,e,ai,l,f)});return oi(X(i[0].position.start,V(i).position.end),e.transformContent(t),i)}function Fa(t){let e=[],n=tn(t,0),r=!1;for(let s=0;s=0;r--)if(n.test(t[r]))return r;return-1}function ui(t,e){let n=t.cstNode;return li(e.transformRange({origStart:n.valueRange.origStart,origEnd:fi(e.text,n.valueRange.origEnd-1,/\S/)+1}),e.transformContent(t),n.strValue)}function pi(t){return{...t,type:"quoteDouble"}}function mi(t,e,n){return{...b("quoteValue",t),...e,...q(),value:n}}function rn(t,e){let n=t.cstNode;return mi(e.transformRange(n.valueRange),e.transformContent(t),n.strValue)}function hi(t,e){return pi(rn(t,e))}function di(t){return{...t,type:"quoteSingle"}}function gi(t,e){return di(rn(t,e))}function yi(t,e,n){return{...b("sequence",t),...z(),...U(),...e,children:n}}function Ei(t,e){return{...b("sequenceItem",t),...q(),...U(),children:e?[e]:[]}}function Si(t,e){let r=de(t.cstNode.items,e).map((s,i)=>{We(s,e);let o=e.transformNode(t.items[i]);return Ei(X(e.transformOffset(s.valueRange.origStart),o===null?e.transformOffset(s.valueRange.origStart+1):o.position.end),o)});return yi(X(r[0].position.start,V(r).position.end),e.transformContent(t),r)}function wi(t,e){if(t===null||t.type===void 0&&t.value===null)return null;switch(t.type){case"ALIAS":return Fs(t,e);case"BLOCK_FOLDED":return Vs(t,e);case"BLOCK_LITERAL":return Ks(t,e);case"COMMENT":return js(t,e);case"DIRECTIVE":return Gs(t,e);case"DOCUMENT":return ei(t,e);case"FLOW_MAP":return ni(t,e);case"FLOW_SEQ":return ii(t,e);case"MAP":return ci(t,e);case"PLAIN":return ui(t,e);case"QUOTE_DOUBLE":return hi(t,e);case"QUOTE_SINGLE":return gi(t,e);case"SEQ":return Si(t,e);default:throw new Error(`Unexpected node type ${t.type}`)}}var Zn,er=class{text;comments=[];#e;#t;constructor(e,n){this.text=n,this.#e=e}setOrigRanges(){if(!this.#e.setOrigRanges())for(let e of this.#e)e.setOrigRanges([],0)}#n(e){if(!Zn){let[o]=this.#e,a=Object.getPrototypeOf(Object.getPrototypeOf(o));Zn=Object.getOwnPropertyDescriptor(a,"rangeAsLinePos").get}if(this.#t??(this.#t={root:{context:{src:this.text}}}),this.text===""&&e.origStart===0&&e.origEnd===0)return{start:{offset:0,line:1,column:1},end:{offset:0,line:1,column:1}};let{start:{line:n,col:r},end:{line:s,col:i}}=Zn.call({range:{start:this.#r(e.origStart),end:this.#r(e.origEnd)},context:this.#t});return{start:{offset:e.origStart,line:n,column:r},end:{offset:e.origEnd,line:s,column:i}}}#r(e){return e<0?0:e>this.text.length?this.text.length:e}transformOffset(e){return this.#n({origStart:e,origEnd:e}).start}transformRange(e){let{start:n,end:r}=this.#n(e);return X(n,r)}transformNode(e){return wi(e,this)}transformContent(e){return Ht(e,this)}},bi=er;function Ni(t,e,n){let r=new SyntaxError(t);return r.name="YAMLSyntaxError",r.source=e,r.position=n,r}function Oi(t,e){let n=t.source.range||t.source.valueRange;return Ni(t.message,e.text,e.transformRange(n))}function tr(t){if("children"in t){if(t.children.length===1){let e=t.children[0];if(e.type==="plain"&&e.tag===null&&e.anchor===null&&e.value==="")return t.children.splice(0,1),t}t.children.forEach(tr)}return t}function nr(t,e,n,r){let s=e(t);return i=>{r(s,i)&&n(t,s=i)}}function rr(t){if(t===null||!("children"in t))return;let e=t.children;if(e.forEach(rr),t.type==="document"){let[i,o]=t.children;i.position.start.offset===i.position.end.offset?i.position.start=i.position.end=o.position.start:o.position.start.offset===o.position.end.offset&&(o.position.start=o.position.end=i.position.end)}let n=nr(t.position,qa,Ua,Ka),r=nr(t.position,Va,Wa,ja);"endComments"in t&&t.endComments.length!==0&&(n(t.endComments[0].position.start),r(V(t.endComments).position.end));let s=e.filter(i=>i!==null);if(s.length!==0){let i=s[0],o=V(s);n(i.position.start),r(o.position.end),"leadingComments"in i&&i.leadingComments.length!==0&&n(i.leadingComments[0].position.start),"tag"in i&&i.tag&&n(i.tag.position.start),"anchor"in i&&i.anchor&&n(i.anchor.position.start),"trailingComment"in o&&o.trailingComment&&r(o.trailingComment.position.end)}}function qa(t){return t.start}function Ua(t,e){t.start=e}function Va(t){return t.end}function Wa(t,e){t.end=e}function Ka(t,e){return e.offsett.offset}function Ai(t){let e=sr.default.parseCST(t),n=new bi(e,t);n.setOrigRanges();let r=e.map(i=>new sr.default.Document({merge:!1,keepCstNodes:!0}).parse(i));for(let i of r)for(let o of i.errors)if(!(o instanceof vs&&o.message==='Map keys must be unique; "<<" is repeated'))throw Oi(o,n);r.forEach(i=>pt(i.cstNode));let s=Rs(n.transformRange({origStart:0,origEnd:t.length}),r.map(i=>n.transformNode(i)),n.comments);return Is(s),rr(s),tr(s),s}function Qa(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Li=Qa;function Ga(t){try{let e=Ai(t);return delete e.comments,e}catch(e){throw e?.position?Li(e.message,{loc:e.position,cause:e}):e}}var Ha={astFormat:"yaml",parse:Ga,hasPragma:br,hasIgnorePragma:Nr,locStart:tt,locEnd:vr};var Ja={yaml:qr};var Ti=on(Gn(),1),Xa=Ti.default.parse;export{Xa as __parsePrettierYamlConfig,Ci as default,Ur as languages,Vr as options,ir as parsers,Ja as printers}; diff --git a/shared/node_modules/prettier/standalone.d.ts b/shared/node_modules/prettier/standalone.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..67945fa3239b973990c9f5ef7ed0f741e5f04152 --- /dev/null +++ b/shared/node_modules/prettier/standalone.d.ts @@ -0,0 +1,33 @@ +import { CursorOptions, CursorResult, Options, SupportInfo } from "./index.js"; + +/** + * formatWithCursor both formats the code, and translates a cursor position from unformatted code to formatted code. + * This is useful for editor integrations, to prevent the cursor from moving when code is formatted + * + * The cursorOffset option should be provided, to specify where the cursor is. + * + * ```js + * await prettier.formatWithCursor(" 1", { cursorOffset: 2, parser: "babel" }); + * ``` + * `-> { formatted: "1;\n", cursorOffset: 1 }` + */ +export function formatWithCursor( + source: string, + options: CursorOptions, +): Promise; + +/** + * `format` is used to format text using Prettier. [Options](https://prettier.io/docs/options) may be provided to override the defaults. + */ +export function format(source: string, options?: Options): Promise; + +/** + * `check` checks to see if the file has been formatted with Prettier given those options and returns a `Boolean`. + * This is similar to the `--list-different` parameter in the CLI and is useful for running Prettier in CI scenarios. + */ +export function check(source: string, options?: Options): Promise; + +/** + * Returns an object representing the parsers, languages and file types Prettier supports for the current version. + */ +export function getSupportInfo(): Promise; diff --git a/shared/node_modules/prettier/standalone.js b/shared/node_modules/prettier/standalone.js new file mode 100644 index 0000000000000000000000000000000000000000..b7d102be5434b06636325523f180d5bcd4305e56 --- /dev/null +++ b/shared/node_modules/prettier/standalone.js @@ -0,0 +1,29 @@ +(function(t){function e(){var o=t();return o.default||o}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var f=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};f.prettier=e()}})(function(){"use strict";var Zn=Object.create;var Je=Object.defineProperty;var eo=Object.getOwnPropertyDescriptor;var to=Object.getOwnPropertyNames;var uo=Object.getPrototypeOf,ro=Object.prototype.hasOwnProperty;var no=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yt=(e,t)=>{for(var u in t)Je(e,u,{get:t[u],enumerable:!0})},ku=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of to(t))!ro.call(e,o)&&o!==u&&Je(e,o,{get:()=>t[o],enumerable:!(r=eo(t,o))||r.enumerable});return e};var oo=(e,t,u)=>(u=e!=null?Zn(uo(e)):{},ku(t||!e||!e.__esModule?Je(u,"default",{value:e,enumerable:!0}):u,e)),ao=e=>ku(Je({},"__esModule",{value:!0}),e);var pn=no((af,dn)=>{var bt,At,_t,xt,Bt,$e,bu,Ke,Tt,fn,Nt,Ve,St,wt,Ot,pe,ln,Pt,It,Aa;St=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;Ve=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;bt=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;Ot=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;Nt=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;pe=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;It=/[\t\v\f\ufeff\p{Zs}]+/yu;Ke=/\r?\n|[\r\u2028\u2029]/y;Tt=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;wt=/\/\/.*/y;_t=/[<>.:={}]|\/(?![\/*])/y;At=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;xt=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;Bt=/[^<>{}]+/y;Pt=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;ln=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;$e=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;bu=/^(?:return|throw|yield)$/;fn=RegExp(Ke.source);dn.exports=Aa=function*(e,{jsx:t=!1}={}){var u,r,o,n,a,s,i,D,f,l,d,c,p,F;for({length:s}=e,n=0,a="",F=[{tag:"JS"}],u=[],d=0,c=!1;n":F.pop(),a==="/"||D.tag==="JSXTagEnd"?(l="?JSX",c=!0):F.push({tag:"JSXChildren"});break;case"{":F.push({tag:"InterpolationInJSX",nesting:u.length}),l="?InterpolationInJSX",c=!1;break;case"/":a==="<"&&(F.pop(),F[F.length-1].tag==="JSXChildren"&&F.pop(),F.push({tag:"JSXTagEnd"}))}a=l,yield{type:"JSXPunctuator",value:i[0]};continue}if(At.lastIndex=n,i=At.exec(e)){n=At.lastIndex,a=i[0],yield{type:"JSXIdentifier",value:i[0]};continue}if(xt.lastIndex=n,i=xt.exec(e)){n=xt.lastIndex,a=i[0],yield{type:"JSXString",value:i[0],closed:i[2]!==void 0};continue}break;case"JSXChildren":if(Bt.lastIndex=n,i=Bt.exec(e)){n=Bt.lastIndex,a=i[0],yield{type:"JSXText",value:i[0]};continue}switch(e[n]){case"<":F.push({tag:"JSXTag"}),n++,a="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":F.push({tag:"InterpolationInJSX",nesting:u.length}),n++,a="?InterpolationInJSX",c=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(It.lastIndex=n,i=It.exec(e)){n=It.lastIndex,yield{type:"WhiteSpace",value:i[0]};continue}if(Ke.lastIndex=n,i=Ke.exec(e)){n=Ke.lastIndex,c=!1,bu.test(a)&&(a="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:i[0]};continue}if(Tt.lastIndex=n,i=Tt.exec(e)){n=Tt.lastIndex,fn.test(i[0])&&(c=!1,bu.test(a)&&(a="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:i[0],closed:i[1]!==void 0};continue}if(wt.lastIndex=n,i=wt.exec(e)){n=wt.lastIndex,c=!1,yield{type:"SingleLineComment",value:i[0]};continue}r=String.fromCodePoint(e.codePointAt(n)),n+=r.length,a=r,c=!1,yield{type:D.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:r}}}});var di={};Yt(di,{__debug:()=>li,check:()=>ci,doc:()=>wu,format:()=>Hn,formatWithCursor:()=>Jn,getSupportInfo:()=>fi,util:()=>Pu,version:()=>Yn});var X=(e,t)=>(u,r,...o)=>u|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,o);var io=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},so=X("replaceAll",function(){if(typeof this=="string")return io}),oe=so;var Ne=class{diff(t,u,r={}){let o;typeof r=="function"?(o=r,r={}):"callback"in r&&(o=r.callback);let n=this.castInput(t,r),a=this.castInput(u,r),s=this.removeEmpty(this.tokenize(n,r)),i=this.removeEmpty(this.tokenize(a,r));return this.diffWithOptionsObj(s,i,r,o)}diffWithOptionsObj(t,u,r,o){var n;let a=m=>{if(m=this.postProcess(m,r),o){setTimeout(function(){o(m)},0);return}else return m},s=u.length,i=t.length,D=1,f=s+i;r.maxEditLength!=null&&(f=Math.min(f,r.maxEditLength));let l=(n=r.timeout)!==null&&n!==void 0?n:1/0,d=Date.now()+l,c=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(c[0],u,t,0,r);if(c[0].oldPos+1>=i&&p+1>=s)return a(this.buildValues(c[0].lastComponent,u,t));let F=-1/0,C=1/0,y=()=>{for(let m=Math.max(F,-D);m<=Math.min(C,D);m+=2){let h,E=c[m-1],g=c[m+1];E&&(c[m-1]=void 0);let A=!1;if(g){let Q=g.oldPos-m;A=g&&0<=Q&&Q=i&&p+1>=s)return a(this.buildValues(h.lastComponent,u,t))||!0;c[m]=h,h.oldPos+1>=i&&(C=Math.min(C,m-1)),p+1>=s&&(F=Math.max(F,m+1))}D++};if(o)(function m(){setTimeout(function(){if(D>f||Date.now()>d)return o(void 0);y()||m()},0)})();else for(;D<=f&&Date.now()<=d;){let m=y();if(m)return m}}addToPath(t,u,r,o,n){let a=t.lastComponent;return a&&!n.oneChangePerToken&&a.added===u&&a.removed===r?{oldPos:t.oldPos+o,lastComponent:{count:a.count+1,added:u,removed:r,previousComponent:a.previousComponent}}:{oldPos:t.oldPos+o,lastComponent:{count:1,added:u,removed:r,previousComponent:a}}}extractCommon(t,u,r,o,n){let a=u.length,s=r.length,i=t.oldPos,D=i-o,f=0;for(;D+1d.length?p:d}),f.value=this.join(l)}else f.value=this.join(u.slice(i,i+f.count));i+=f.count,f.added||(D+=f.count)}}return o}};var jt=class extends Ne{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}},vu=new jt;function Ut(e,t,u){return vu.diff(e,t,u)}var Do=()=>{},P=Do;var Lu="cr",Mu="crlf",co="lf",fo=co,Wt="\r",Yu=`\r +`,He=` +`,lo=He;function ju(e){let t=e.indexOf(Wt);return t!==-1?e.charAt(t+1)===He?Mu:Lu:fo}function Se(e){return e===Lu?Wt:e===Mu?Yu:lo}var po=new Map([[He,/\n/gu],[Wt,/\r/gu],[Yu,/\r\n/gu]]);function $t(e,t){let u=po.get(t);return e.match(u)?.length??0}var Fo=/\r\n?/gu;function Uu(e){return oe(0,e,Fo,He)}function mo(e){return this[e<0?this.length+e:e]}var Eo=X("at",function(){if(Array.isArray(this)||typeof this=="string")return mo}),b=Eo;var G="string",j="array",U="cursor",I="indent",k="align",v="trim",x="group",w="fill",B="if-break",R="indent-if-break",L="line-suffix",M="line-suffix-boundary",_="line",O="label",T="break-parent",Xe=new Set([U,I,k,v,x,w,B,R,L,M,_,O,T]);function Wu(e){let t=e.length;for(;t>0&&(e[t-1]==="\r"||e[t-1]===` +`);)t--;return tnew Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function go(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(H(e))throw new Error("doc is valid.");let u=Object.prototype.toString.call(e);if(u!=="[object Object]")return`Unexpected doc '${u}'.`;let r=ho([...Xe].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${r}.`}var Vt=class extends Error{name="InvalidDocError";constructor(t){super(go(t)),this.doc=t}},Z=Vt;var $u={};function yo(e,t,u,r){let o=[e];for(;o.length>0;){let n=o.pop();if(n===$u){u(o.pop());continue}u&&o.push(n,$u);let a=H(n);if(!a)throw new Z(n);if(t?.(n)!==!1)switch(a){case j:case w:{let s=a===j?n:n.parts;for(let i=s.length,D=i-1;D>=0;--D)o.push(s[D]);break}case B:o.push(n.flatContents,n.breakContents);break;case x:if(r&&n.expandedStates)for(let s=n.expandedStates.length,i=s-1;i>=0;--i)o.push(n.expandedStates[i]);else o.push(n.contents);break;case k:case I:case R:case O:case L:o.push(n.contents);break;case G:case U:case v:case M:case _:case T:break;default:throw new Z(n)}}}var we=yo;function Pe(e,t){if(typeof e=="string")return t(e);let u=new Map;return r(e);function r(n){if(u.has(n))return u.get(n);let a=o(n);return u.set(n,a),a}function o(n){switch(H(n)){case j:return t(n.map(r));case w:return t({...n,parts:n.parts.map(r)});case B:return t({...n,breakContents:r(n.breakContents),flatContents:r(n.flatContents)});case x:{let{expandedStates:a,contents:s}=n;return a?(a=a.map(r),s=a[0]):s=r(s),t({...n,contents:s,expandedStates:a})}case k:case I:case R:case O:case L:return t({...n,contents:r(n.contents)});case G:case U:case v:case M:case _:case T:return t(n);default:throw new Z(n)}}}function qe(e,t,u){let r=u,o=!1;function n(a){if(o)return!1;let s=t(a);s!==void 0&&(o=!0,r=s)}return we(e,n),r}function bo(e){if(e.type===x&&e.break||e.type===_&&e.hard||e.type===T)return!0}function Gu(e){return qe(e,bo,!1)}function Vu(e){if(e.length>0){let t=b(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function zu(e){let t=new Set,u=[];function r(n){if(n.type===T&&Vu(u),n.type===x){if(u.push(n),t.has(n))return!1;t.add(n)}}function o(n){n.type===x&&u.pop().break&&Vu(u)}we(e,r,o,!0)}function Ao(e){return e.type===_&&!e.hard?e.soft?"":" ":e.type===B?e.flatContents:e}function Ju(e){return Pe(e,Ao)}function Ku(e){for(e=[...e];e.length>=2&&b(0,e,-2).type===_&&b(0,e,-1).type===T;)e.length-=2;if(e.length>0){let t=Oe(b(0,e,-1));e[e.length-1]=t}return e}function Oe(e){switch(H(e)){case I:case R:case x:case L:case O:{let t=Oe(e.contents);return{...e,contents:t}}case B:return{...e,breakContents:Oe(e.breakContents),flatContents:Oe(e.flatContents)};case w:return{...e,parts:Ku(e.parts)};case j:return Ku(e);case G:return Wu(e);case k:case U:case v:case M:case _:case T:break;default:throw new Z(e)}return e}function Qe(e){return Oe(xo(e))}function _o(e){switch(H(e)){case w:if(e.parts.every(t=>t===""))return"";break;case x:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===x&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case k:case I:case R:case L:if(!e.contents)return"";break;case B:if(!e.flatContents&&!e.breakContents)return"";break;case j:{let t=[];for(let u of e){if(!u)continue;let[r,...o]=Array.isArray(u)?u:[u];typeof r=="string"&&typeof b(0,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case G:case U:case v:case M:case _:case O:case T:break;default:throw new Z(e)}return e}function xo(e){return Pe(e,t=>_o(t))}function Hu(e,t=Ze){return Pe(e,u=>typeof u=="string"?Ie(t,u.split(` +`)):u)}function Bo(e){if(e.type===_)return!0}function Xu(e){return qe(e,Bo,!1)}function Ee(e,t){return e.type===O?{...e,contents:t(e.contents)}:t(e)}var N=P,et=P,qu=P,Qu=P;function ae(e){return N(e),{type:I,contents:e}}function De(e,t){return Qu(e),N(t),{type:k,contents:t,n:e}}function Zu(e){return De(Number.NEGATIVE_INFINITY,e)}function tt(e){return De({type:"root"},e)}function er(e){return De(-1,e)}function ut(e,t,u){N(e);let r=e;if(t>0){for(let o=0;o0?`, { ${i.join(", ")} }`:"";return`indentIfBreak(${r(n.contents)}${D})`}if(n.type===x){let i=[];n.break&&n.break!=="propagated"&&i.push("shouldBreak: true"),n.id&&i.push(`id: ${o(n.id)}`);let D=i.length>0?`, { ${i.join(", ")} }`:"";return n.expandedStates?`conditionalGroup([${n.expandedStates.map(f=>r(f)).join(",")}]${D})`:`group(${r(n.contents)}${D})`}if(n.type===w)return`fill([${n.parts.map(i=>r(i)).join(", ")}])`;if(n.type===L)return"lineSuffix("+r(n.contents)+")";if(n.type===M)return"lineSuffixBoundary";if(n.type===O)return`label(${JSON.stringify(n.label)}, ${r(n.contents)})`;if(n.type===U)return"cursor";throw new Error("Unknown doc type "+n.type)}function o(n){if(typeof n!="symbol")return JSON.stringify(String(n));if(n in t)return t[n];let a=n.description||"symbol";for(let s=0;;s++){let i=a+(s>0?` #${s}`:"");if(!u.has(i))return u.add(i),t[n]=`Symbol.for(${JSON.stringify(i)})`}}}var cr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function zt(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Jt(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var fr="\xA9\xAE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23F1\u23F2\u23F8\u23F9\u23FA\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600\u2601\u2602\u2603\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694\u2695\u2696\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F1\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05\u2B06\u2B07";var To=/[^\x20-\x7F]/u,No=new Set(fr);function So(e){if(!e)return 0;if(!To.test(e))return e.length;e=e.replace(cr(),u=>No.has(u)?" ":" ");let t=0;for(let u of e){let r=u.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||r>=65024&&r<=65039||(t+=zt(r)||Jt(r)?2:1)}return t}var Re=So;var wo={type:0},Oo={type:1},Ht={value:"",length:0,queue:[],get root(){return Ht}};function lr(e,t,u){let r=t.type===1?e.queue.slice(0,-1):[...e.queue,t],o="",n=0,a=0,s=0;for(let p of r)switch(p.type){case 0:f(),u.useTabs?i(1):D(u.tabWidth);break;case 3:{let{string:F}=p;f(),o+=F,n+=F.length;break}case 2:{let{width:F}=p;a+=1,s+=F;break}default:throw new Error(`Unexpected indent comment '${p.type}'.`)}return d(),{...e,value:o,length:n,queue:r};function i(p){o+=" ".repeat(p),n+=u.tabWidth*p}function D(p){o+=" ".repeat(p),n+=p}function f(){u.useTabs?l():d()}function l(){a>0&&i(a),c()}function d(){s>0&&D(s),c()}function c(){a=0,s=0}}function dr(e,t,u){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let r;return typeof t=="number"?t<0?r=Oo:r={type:2,width:t}:r={type:3,string:t},lr(e,r,u)}function pr(e,t){return lr(e,wo,t)}function Po(e){let t=0;for(let u=e.length-1;u>=0;u--){let r=e[u];if(r===" "||r===" ")t++;else break}return t}function Xt(e){let t=Po(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var W=Symbol("MODE_BREAK"),q=Symbol("MODE_FLAT"),qt=Symbol("DOC_FILL_PRINTED_LENGTH");function nt(e,t,u,r,o,n){if(u===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=!1,i=[e],D="";for(;u>=0;){if(i.length===0){if(a===0)return!0;i.push(t[--a]);continue}let{mode:f,doc:l}=i.pop(),d=H(l);switch(d){case G:l&&(s&&(D+=" ",u-=1,s=!1),D+=l,u-=Re(l));break;case j:case w:{let c=d===j?l:l.parts,p=l[qt]??0;for(let F=c.length-1;F>=p;F--)i.push({mode:f,doc:c[F]});break}case I:case k:case R:case O:i.push({mode:f,doc:l.contents});break;case v:{let{text:c,count:p}=Xt(D);D=c,u+=p;break}case x:{if(n&&l.break)return!1;let c=l.break?W:f,p=l.expandedStates&&c===W?b(0,l.expandedStates,-1):l.contents;i.push({mode:c,doc:p});break}case B:{let p=(l.groupId?o[l.groupId]||q:f)===W?l.breakContents:l.flatContents;p&&i.push({mode:f,doc:p});break}case _:if(f===W||l.hard)return!0;l.soft||(s=!0);break;case L:r=!0;break;case M:if(r)return!1;break}}return!1}function Ce(e,t){let u=Object.create(null),r=t.printWidth,o=Se(t.endOfLine),n=0,a=[{indent:Ht,mode:W,doc:e}],s="",i=!1,D=[],f=[],l=[],d=[],c=0;for(zu(e);a.length>0;){let{indent:m,mode:h,doc:E}=a.pop();switch(H(E)){case G:{let g=o!==` +`?oe(0,E,` +`,o):E;g&&(s+=g,a.length>0&&(n+=Re(g)));break}case j:for(let g=E.length-1;g>=0;g--)a.push({indent:m,mode:h,doc:E[g]});break;case U:if(f.length>=2)throw new Error("There are too many 'cursor' in doc.");f.push(c+s.length);break;case I:a.push({indent:pr(m,t),mode:h,doc:E.contents});break;case k:a.push({indent:dr(m,E.n,t),mode:h,doc:E.contents});break;case v:y();break;case x:switch(h){case q:if(!i){a.push({indent:m,mode:E.break?W:q,doc:E.contents});break}case W:{i=!1;let g={indent:m,mode:q,doc:E.contents},A=r-n,J=D.length>0;if(!E.break&&nt(g,a,A,J,u))a.push(g);else if(E.expandedStates){let Q=b(0,E.expandedStates,-1);if(E.break){a.push({indent:m,mode:W,doc:Q});break}else for(let re=1;re=E.expandedStates.length){a.push({indent:m,mode:W,doc:Q});break}else{let Te=E.expandedStates[re],ne={indent:m,mode:q,doc:Te};if(nt(ne,a,A,J,u)){a.push(ne);break}}}else a.push({indent:m,mode:W,doc:E.contents});break}}E.id&&(u[E.id]=b(0,a,-1).mode);break;case w:{let g=r-n,A=E[qt]??0,{parts:J}=E,Q=J.length-A;if(Q===0)break;let re=J[A+0],Te=J[A+1],ne={indent:m,mode:q,doc:re},Rt={indent:m,mode:W,doc:re},Lt=nt(ne,[],g,D.length>0,u,!0);if(Q===1){Lt?a.push(ne):a.push(Rt);break}let Iu={indent:m,mode:q,doc:Te},Mt={indent:m,mode:W,doc:Te};if(Q===2){Lt?a.push(Iu,ne):a.push(Mt,Rt);break}let Xn=J[A+2],qn={indent:m,mode:h,doc:{...E,[qt]:A+2}},Qn=nt({indent:m,mode:q,doc:[re,Te,Xn]},[],g,D.length>0,u,!0);a.push(qn),Qn?a.push(Iu,ne):Lt?a.push(Mt,ne):a.push(Mt,Rt);break}case B:case R:{let g=E.groupId?u[E.groupId]:h;if(g===W){let A=E.type===B?E.breakContents:E.negate?E.contents:ae(E.contents);A&&a.push({indent:m,mode:h,doc:A})}if(g===q){let A=E.type===B?E.flatContents:E.negate?ae(E.contents):E.contents;A&&a.push({indent:m,mode:h,doc:A})}break}case L:D.push({indent:m,mode:h,doc:E.contents});break;case M:D.length>0&&a.push({indent:m,mode:h,doc:ke});break;case _:switch(h){case q:if(E.hard)i=!0;else{E.soft||(s+=" ",n+=1);break}case W:if(D.length>0){a.push({indent:m,mode:h,doc:E},...D.reverse()),D.length=0;break}E.literal?(s+=o,n=0,m.root&&(m.root.value&&(s+=m.root.value),n=m.root.length)):(y(),s+=o+m.value,n=m.length);break}break;case O:a.push({indent:m,mode:h,doc:E.contents});break;case T:break;default:throw new Z(E)}a.length===0&&D.length>0&&(a.push(...D.reverse()),D.length=0)}let p=l.join("")+s,F=[...d,...f];if(F.length!==2)return{formatted:p};let C=F[0];return{formatted:p,cursorNodeStart:C,cursorNodeText:p.slice(C,b(0,F,-1))};function y(){let{text:m,count:h}=Xt(s);m&&(l.push(m),c+=m.length),s="",n-=h,f.length>0&&(d.push(...f.map(E=>Math.min(E,c))),f.length=0)}}function Io(e,t,u=0){let r=0;for(let o=u;o1?b(0,t,-2):null}getValue(){return b(0,this.stack,-1)}getNode(t=0){let u=this.#t(t);return u===-1?null:this.stack[u]}getParentNode(t=0){return this.getNode(t+1)}#t(t){let{stack:u}=this;for(let r=u.length-1;r>=0;r-=2)if(!Array.isArray(u[r])&&--t<0)return r;return-1}call(t,...u){let{stack:r}=this,{length:o}=r,n=b(0,r,-1);for(let a of u)n=n?.[a],r.push(a,n);try{return t(this)}finally{r.length=o}}callParent(t,u=0){let r=this.#t(u+1),o=this.stack.splice(r+1);try{return t(this)}finally{this.stack.push(...o)}}each(t,...u){let{stack:r}=this,{length:o}=r,n=b(0,r,-1);for(let a of u)n=n[a],r.push(a,n);try{for(let a=0;a{r[n]=t(o,n,a)},...u),r}match(...t){let u=this.stack.length-1,r=null,o=this.stack[u--];for(let n of t){if(o===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[u--],o=this.stack[u--]),n&&!n(o,r,a))return!1;r=this.stack[u--],o=this.stack[u--]}return!0}findAncestor(t){for(let u of this.#e())if(t(u))return u}hasAncestor(t){for(let u of this.#e())if(t(u))return!0;return!1}*#e(){let{stack:t}=this;for(let u=t.length-3;u>=0;u-=2){let r=t[u];Array.isArray(r)||(yield r)}}},Fr=Qt;function ko(e){return e!==null&&typeof e=="object"}var ge=ko;function ye(e){return(t,u,r)=>{let o=!!r?.backwards;if(u===!1)return!1;let{length:n}=t,a=u;for(;a>=0&&ae===` +`||e==="\r"||e==="\u2028"||e==="\u2029";function vo(e,t,u){let r=!!u?.backwards;if(t===!1)return!1;let o=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&o===` +`)return t-2;if(Er(o))return t-1}else{if(o==="\r"&&e.charAt(t+1)===` +`)return t+2;if(Er(o))return t+1}return t}var K=vo;function Ro(e,t,u={}){let r=Y(e,u.backwards?t-1:t,u),o=K(e,r,u);return r!==o}var z=Ro;function Lo(e){return Array.isArray(e)&&e.length>0}var Cr=Lo;function*be(e,t){let{getVisitorKeys:u,filter:r=()=>!0}=t,o=n=>ge(n)&&r(n);for(let n of u(e)){let a=e[n];if(Array.isArray(a))for(let s of a)o(s)&&(yield s);else o(a)&&(yield a)}}function*hr(e,t){let u=[e];for(let r=0;r(n??(n=[e,...t]),o(D,n)?[D]:yr(D,n,u))),{locStart:s,locEnd:i}=u;return a.sort((D,f)=>s(D)-s(f)||i(D)-i(f)),r.set(e,a),a}var it=yr;function Mo(e){let t=e.type||e.kind||"(unknown type)",u=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),t+(u?" "+u:"")}function Zt(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Mo(e)}function fe(e,t){t.leading=!0,t.trailing=!1,Zt(e,t)}function ue(e,t,u){t.leading=!1,t.trailing=!1,u&&(t.marker=u),Zt(e,t)}function le(e,t){t.leading=!1,t.trailing=!0,Zt(e,t)}var uu=new WeakMap;function Ar(e,t,u,r,o=[]){let{locStart:n,locEnd:a}=u,s=n(t),i=a(t),D=it(e,o,{cache:uu,locStart:n,locEnd:a,getVisitorKeys:u.getVisitorKeys,filter:u.printer.canAttachComment,getChildren:u.printer.getCommentChildNodes}),f,l,d=0,c=D.length;for(;d>1,F=D[p],C=n(F),y=a(F);if(C<=s&&i<=y)return Ar(F,t,u,F,[F,...o]);if(y<=s){f=F,d=p+1;continue}if(i<=C){l=F,c=p;continue}throw new Error("Comment location overlaps with node location")}if(r?.type==="TemplateLiteral"){let{quasis:p}=r,F=tu(p,t,u);f&&tu(p,f,u)!==F&&(f=null),l&&tu(p,l,u)!==F&&(l=null)}return{enclosingNode:r,precedingNode:f,followingNode:l}}var eu=()=>!1;function _r(e,t){let{comments:u}=e;if(delete e.comments,!Cr(u)||!t.printer.canAttachComment)return;let r=[],{printer:{features:{experimental_avoidAstMutation:o},handleComments:n={}},originalText:a}=t,{ownLine:s=eu,endOfLine:i=eu,remaining:D=eu}=n,f=u.map((l,d)=>({...Ar(e,l,t),comment:l,text:a,options:t,ast:e,isLastComment:u.length-1===d}));for(let[l,d]of f.entries()){let{comment:c,precedingNode:p,enclosingNode:F,followingNode:C,text:y,options:m,ast:h,isLastComment:E}=d,g;if(o?g=[d]:(c.enclosingNode=F,c.precedingNode=p,c.followingNode=C,g=[c,y,m,h,E]),Yo(y,m,f,l))c.placement="ownLine",s(...g)||(C?fe(C,c):p?le(p,c):F?ue(F,c):ue(h,c));else if(jo(y,m,f,l))c.placement="endOfLine",i(...g)||(p?le(p,c):C?fe(C,c):F?ue(F,c):ue(h,c));else if(c.placement="remaining",!D(...g))if(p&&C){let A=r.length;A>0&&r[A-1].followingNode!==C&&br(r,m),r.push(d)}else p?le(p,c):C?fe(C,c):F?ue(F,c):ue(h,c)}if(br(r,t),!o)for(let l of u)delete l.precedingNode,delete l.enclosingNode,delete l.followingNode}var xr=e=>!/[\S\n\u2028\u2029]/u.test(e);function Yo(e,t,u,r){let{comment:o,precedingNode:n}=u[r],{locStart:a,locEnd:s}=t,i=a(o);if(n)for(let D=r-1;D>=0;D--){let{comment:f,precedingNode:l}=u[D];if(l!==n||!xr(e.slice(s(f),i)))break;i=a(f)}return z(e,i,{backwards:!0})}function jo(e,t,u,r){let{comment:o,followingNode:n}=u[r],{locStart:a,locEnd:s}=t,i=s(o);if(n)for(let D=r+1;D0;--a){let{comment:s,precedingNode:i,followingNode:D}=e[a-1];P(i,r),P(D,o);let f=t.originalText.slice(t.locEnd(s),n);if(t.printer.isGap?.(f,t)??/^[\s(]*$/u.test(f))n=t.locStart(s);else break}for(let[s,{comment:i}]of e.entries())s1&&s.comments.sort((i,D)=>t.locStart(i)-t.locStart(D));e.length=0}function tu(e,t,u){let r=u.locStart(t)-1;for(let o=1;o!r.has(i)).length===0)return{leading:"",trailing:""};let n=[],a=[],s;return e.each(()=>{let i=e.node;if(r?.has(i))return;let{leading:D,trailing:f}=i;D?n.push(Wo(e,t)):f&&(s=$o(e,t,s),a.push(s.doc))},"comments"),{leading:n,trailing:a}}function Tr(e,t,u){let{leading:r,trailing:o}=Vo(e,u);return!r&&!o?t:Ee(t,n=>[r,n,o])}function Nr(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:u}=e;for(let r of t){if(!r.printed&&!u.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}var Sr=()=>P;var Me=class extends Error{name="ConfigError"},Ye=class extends Error{name="UndefinedParserError"};var wr={checkIgnorePragma:{category:"Special",type:"boolean",default:!1,description:"Check whether the file's first docblock comment contains '@noprettier' or '@noformat' to determine if it should be formatted.",cliCategory:"Other"},cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"},{value:"mjml",description:"MJML"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function st({plugins:e=[],showDeprecated:t=!1}={}){let u=e.flatMap(o=>o.languages??[]),r=[];for(let o of Go(Object.assign({},...e.map(({options:n})=>n),wr)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(n=>!n.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...Ko(o.choices,u,e)])),o.pluginDefaults=Object.fromEntries(e.filter(n=>n.defaultOptions?.[o.name]!==void 0).map(n=>[n.name,n.defaultOptions[o.name]])),r.push(o));return{languages:u,options:r}}function*Ko(e,t,u){let r=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let n of o.parsers)if(!r.has(n)){r.add(n);let a=u.find(i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,n)),s=o.name;a?.name&&(s+=` (plugin: ${a.name})`),yield{value:n,description:s}}}}function Go(e){let t=[];for(let[u,r]of Object.entries(e)){let o={name:u,...r};Array.isArray(o.default)&&(o.default=b(0,o.default,-1).value),t.push(o)}return t}var zo=Array.prototype.toReversed??function(){return[...this].reverse()},Jo=X("toReversed",function(){if(Array.isArray(this))return zo}),Or=Jo;function Ho(){let e=globalThis,t=e.Deno?.build?.os;return typeof t=="string"?t==="windows":e.navigator?.platform?.startsWith("Win")??e.process?.platform?.startsWith("win")??!1}var Xo=Ho();function Pr(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function qo(e){return e=Pr(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Qo(e){e=Pr(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function ru(e){return Xo?Qo(e):qo(e)}var Ir=e=>String(e).split(/[/\\]/u).pop(),kr=e=>String(e).startsWith("file:");function vr(e,t){if(!t)return;let u=Ir(t).toLowerCase();return e.find(({filenames:r})=>r?.some(o=>o.toLowerCase()===u))??e.find(({extensions:r})=>r?.some(o=>u.endsWith(o)))}function Zo(e,t){if(t)return e.find(({name:u})=>u.toLowerCase()===t)??e.find(({aliases:u})=>u?.includes(t))??e.find(({extensions:u})=>u?.includes(`.${t}`))}var ea=void 0;function Rr(e,t){if(t){if(kr(t))try{t=ru(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:u})=>u?.({filepath:t}))}}function ta(e,t){let u=Or(0,e.plugins).flatMap(o=>o.languages??[]);return(Zo(u,t.language)??vr(u,t.physicalFile)??vr(u,t.file)??Rr(u,t.physicalFile)??Rr(u,t.file)??ea?.(u,t.physicalFile))?.parsers[0]}var Dt=ta;var ie={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(u=>ie.value(u)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(u=>`${ie.key(u)}: ${ie.value(e[u])}`).join(", ")} }`},pair:({key:e,value:t})=>ie.value({[e]:t})};var nu=new Proxy(String,{get:()=>nu}),$=nu,ou=()=>nu;var Lr=(e,t,{descriptor:u})=>{let r=[`${$.yellow(typeof e=="string"?u.key(e):u.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${$.blue(typeof t=="string"?u.key(t):u.pair(t))}`),r.join("; ")+"."};var ct=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ae=Symbol.for("vnopts.VALUE_UNCHANGED");var Mr=" ".repeat(2),jr=(e,t,u)=>{let{text:r,list:o}=u.normalizeExpectedResult(u.schemas[e].expected(u)),n=[];return r&&n.push(Yr(e,t,r,u.descriptor)),o&&n.push([Yr(e,t,o.title,u.descriptor)].concat(o.values.map(a=>Ur(a,u.loggerPrintWidth))).join(` +`)),Wr(n,u.loggerPrintWidth)};function Yr(e,t,u,r){return[`Invalid ${$.red(r.key(e))} value.`,`Expected ${$.blue(u)},`,`but received ${t===ct?$.gray("nothing"):$.red(r.value(t))}.`].join(" ")}function Ur({text:e,list:t},u){let r=[];return e&&r.push(`- ${$.blue(e)}`),t&&r.push([`- ${$.blue(t.title)}:`].concat(t.values.map(o=>Ur(o,u-Mr.length).replace(/^|\n/g,`$&${Mr}`))).join(` +`)),Wr(r,u)}function Wr(e,t){if(e.length===1)return e[0];let[u,r]=e,[o,n]=e.map(a=>a.split(` +`,1)[0].length);return o>t&&o>n?r:u}var _e=[],au=[];function ft(e,t,u){if(e===t)return 0;let r=u?.maxDistance,o=e;e.length>t.length&&(e=t,t=o);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let s=0;for(;sr)return r;if(n===0)return r!==void 0&&a>r?r:a;let i,D,f,l,d=0,c=0;for(;dD?l>D?D+1:l:l>f?f+1:l;if(r!==void 0){let p=D;for(d=0;dr)return r}}return _e.length=n,au.length=n,r!==void 0&&D>r?r:D}function $r(e,t,u){if(!Array.isArray(t)||t.length===0)return;let r=u?.maxDistance,o=e.length;for(let i of t)if(i===e)return i;if(r===0)return;let n,a=Number.POSITIVE_INFINITY,s=new Set;for(let i of t){if(s.has(i))continue;s.add(i);let D=Math.abs(i.length-o);if(D>=a||r!==void 0&&D>r)continue;let f=Number.isFinite(a)?r===void 0?a:Math.min(a,r):r,l=f===void 0?ft(e,i):ft(e,i,{maxDistance:f});if(r!==void 0&&l>r)continue;let d=l;if(f!==void 0&&l===f&&f===r&&(d=ft(e,i)),dr))return n}var lt=(e,t,{descriptor:u,logger:r,schemas:o})=>{let n=[`Ignored unknown option ${$.yellow(u.pair({key:e,value:t}))}.`],a=$r(e,Object.keys(o),{maxDistance:3});a&&n.push(`Did you mean ${$.blue(u.key(a))}?`),r.warn(n.join(" "))};var ua=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function ra(e,t){let u=new e(t),r=Object.create(u);for(let o of ua)o in t&&(r[o]=na(t[o],u,S.prototype[o].length));return r}var S=class{static create(t){return ra(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,u){return!1}deprecated(t,u){return!1}forward(t,u){}redirect(t,u){}overlap(t,u,r){return t}preprocess(t,u){return t}postprocess(t,u){return Ae}};function na(e,t,u){return typeof e=="function"?(...r)=>e(...r.slice(0,u-1),t,...r.slice(u-1)):()=>e}var dt=class extends S{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,u){return u.schemas[this._sourceName].validate(t,u)}redirect(t,u){return this._sourceName}};var pt=class extends S{expected(){return"anything"}validate(){return!0}};var Ft=class extends S{constructor({valueSchema:t,name:u=t.name,...r}){super({...r,name:u}),this._valueSchema=t}expected(t){let{text:u,list:r}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:u&&`an array of ${u}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(t,u){if(!Array.isArray(t))return!1;let r=[];for(let o of t){let n=u.normalizeValidateResult(this._valueSchema.validate(o,u),o);n!==!0&&r.push(n.value)}return r.length===0?!0:{value:r}}deprecated(t,u){let r=[];for(let o of t){let n=u.normalizeDeprecatedResult(this._valueSchema.deprecated(o,u),o);n!==!1&&r.push(...n.map(({value:a})=>({value:[a]})))}return r}forward(t,u){let r=[];for(let o of t){let n=u.normalizeForwardResult(this._valueSchema.forward(o,u),o);r.push(...n.map(Vr))}return r}redirect(t,u){let r=[],o=[];for(let n of t){let a=u.normalizeRedirectResult(this._valueSchema.redirect(n,u),n);"remain"in a&&r.push(a.remain),o.push(...a.redirect.map(Vr))}return r.length===0?{redirect:o}:{redirect:o,remain:r}}overlap(t,u){return t.concat(u)}};function Vr({from:e,to:t}){return{from:[e],to:t}}var mt=class extends S{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};function Gr(e,t){let u=Object.create(null);for(let r of e){let o=r[t];if(u[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);u[o]=r}return u}function zr(e,t){let u=new Map;for(let r of e){let o=r[t];if(u.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);u.set(o,r)}return u}function Jr(){let e=Object.create(null);return t=>{let u=JSON.stringify(t);return e[u]?!0:(e[u]=!0,!1)}}function Hr(e,t){let u=[],r=[];for(let o of e)t(o)?u.push(o):r.push(o);return[u,r]}function Xr(e){return e===Math.floor(e)}function qr(e,t){if(e===t)return 0;let u=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return u!==r?o.indexOf(u)-o.indexOf(r):u!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Qr(e){return(...t)=>{let u=e(...t);return typeof u=="string"?new Error(u):u}}function iu(e){return e===void 0?{}:e}function su(e){if(typeof e=="string")return{text:e};let{text:t,list:u}=e;return oa((t||u)!==void 0,"Unexpected `expected` result, there should be at least one field."),u?{text:t,list:{title:u.title,values:u.values.map(su)}}:{text:t}}function Du(e,t){return e===!0?!0:e===!1?{value:t}:e}function cu(e,t,u=!1){return e===!1?!1:e===!0?u?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Kr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Et(e,t){return e===void 0?[]:Array.isArray(e)?e.map(u=>Kr(u,t)):[Kr(e,t)]}function fu(e,t){let u=Et(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return u.length===0?{remain:t,redirect:u}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:u}:{redirect:u}}function oa(e,t){if(!e)throw new Error(t)}var Ct=class extends S{constructor(t){super(t),this._choices=zr(t.choices.map(u=>u&&typeof u=="object"?u:{value:u}),"value")}expected({descriptor:t}){let u=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(qr).map(t.value),r=u.slice(0,-2),o=u.slice(-2);return{text:r.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:u}}}validate(t){return this._choices.has(t)}deprecated(t){let u=this._choices.get(t);return u&&u.deprecated?{value:t}:!1}forward(t){let u=this._choices.get(t);return u?u.forward:void 0}redirect(t){let u=this._choices.get(t);return u?u.redirect:void 0}};var ht=class extends S{expected(){return"a number"}validate(t,u){return typeof t=="number"}};var gt=class extends ht{expected(){return"an integer"}validate(t,u){return u.normalizeValidateResult(super.validate(t,u),t)===!0&&Xr(t)}};var je=class extends S{expected(){return"a string"}validate(t){return typeof t=="string"}};var Zr=ie,en=lt,tn=jr,un=Lr;var yt=class{constructor(t,u){let{logger:r=console,loggerPrintWidth:o=80,descriptor:n=Zr,unknown:a=en,invalid:s=tn,deprecated:i=un,missing:D=()=>!1,required:f=()=>!1,preprocess:l=c=>c,postprocess:d=()=>Ae}=u||{};this._utils={descriptor:n,logger:r||{warn:()=>{}},loggerPrintWidth:o,schemas:Gr(t,"name"),normalizeDefaultResult:iu,normalizeExpectedResult:su,normalizeDeprecatedResult:cu,normalizeForwardResult:Et,normalizeRedirectResult:fu,normalizeValidateResult:Du},this._unknownHandler=a,this._invalidHandler=Qr(s),this._deprecatedHandler=i,this._identifyMissing=(c,p)=>!(c in p)||D(c,p),this._identifyRequired=f,this._preprocess=l,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Jr()}normalize(t){let u={},o=[this._preprocess(t,this._utils)],n=()=>{for(;o.length!==0;){let a=o.shift(),s=this._applyNormalization(a,u);o.push(...s)}};n();for(let a of Object.keys(this._utils.schemas)){let s=this._utils.schemas[a];if(!(a in u)){let i=iu(s.default(this._utils));"value"in i&&o.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in u))continue;let s=this._utils.schemas[a],i=u[a],D=s.postprocess(i,this._utils);D!==Ae&&(this._applyValidation(D,a,s),u[a]=D)}return this._applyPostprocess(u),this._applyRequiredCheck(u),u}_applyNormalization(t,u){let r=[],{knownKeys:o,unknownKeys:n}=this._partitionOptionKeys(t);for(let a of o){let s=this._utils.schemas[a],i=s.preprocess(t[a],this._utils);this._applyValidation(i,a,s);let D=({from:c,to:p})=>{r.push(typeof p=="string"?{[p]:c}:{[p.key]:p.value})},f=({value:c,redirectTo:p})=>{let F=cu(s.deprecated(c,this._utils),i,!0);if(F!==!1)if(F===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,p,this._utils));else for(let{value:C}of F){let y={key:a,value:C};if(!this._hasDeprecationWarned(y)){let m=typeof p=="string"?{key:p,value:C}:p;this._utils.logger.warn(this._deprecatedHandler(y,m,this._utils))}}};Et(s.forward(i,this._utils),i).forEach(D);let d=fu(s.redirect(i,this._utils),i);if(d.redirect.forEach(D),"remain"in d){let c=d.remain;u[a]=a in u?s.overlap(u[a],c,this._utils):c,f({value:c})}for(let{from:c,to:p}of d.redirect)f({value:c,redirectTo:p})}for(let a of n){let s=t[a];this._applyUnknownHandler(a,s,u,(i,D)=>{r.push({[i]:D})})}return r}_applyRequiredCheck(t){for(let u of Object.keys(this._utils.schemas))if(this._identifyMissing(u,t)&&this._identifyRequired(u))throw this._invalidHandler(u,ct,this._utils)}_partitionOptionKeys(t){let[u,r]=Hr(Object.keys(t).filter(o=>!this._identifyMissing(o,t)),o=>o in this._utils.schemas);return{knownKeys:u,unknownKeys:r}}_applyValidation(t,u,r){let o=Du(r.validate(t,this._utils),t);if(o!==!0)throw this._invalidHandler(u,o.value,this._utils)}_applyUnknownHandler(t,u,r,o){let n=this._unknownHandler(t,u,this._utils);if(n)for(let a of Object.keys(n)){if(this._identifyMissing(a,n))continue;let s=n[a];a in this._utils.schemas?o(a,s):r[a]=s}}_applyPostprocess(t){let u=this._postprocess(t,this._utils);if(u!==Ae){if(u.delete)for(let r of u.delete)delete t[r];if(u.override){let{knownKeys:r,unknownKeys:o}=this._partitionOptionKeys(u.override);for(let n of r){let a=u.override[n];this._applyValidation(a,n,this._utils.schemas[n]),t[n]=a}for(let n of o){let a=u.override[n];this._applyUnknownHandler(n,a,t,(s,i)=>{let D=this._utils.schemas[s];this._applyValidation(i,s,D),t[s]=i})}}}}};var lu;function ia(e,t,{logger:u=!1,isCLI:r=!1,passThrough:o=!1,FlagSchema:n,descriptor:a}={}){if(r){if(!n)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=ie;let s=o?Array.isArray(o)?(d,c)=>o.includes(d)?{[d]:c}:void 0:(d,c)=>({[d]:c}):(d,c,p)=>{let{_:F,...C}=p.schemas;return lt(d,c,{...p,schemas:C})},i=sa(t,{isCLI:r,FlagSchema:n}),D=new yt(i,{logger:u,unknown:s,descriptor:a}),f=u!==!1;f&&lu&&(D._hasDeprecationWarned=lu);let l=D.normalize(e);return f&&(lu=D._hasDeprecationWarned),l}function sa(e,{isCLI:t,FlagSchema:u}){let r=[];t&&r.push(pt.create({name:"_"}));for(let o of e)r.push(Da(o,{isCLI:t,optionInfos:e,FlagSchema:u})),o.alias&&t&&r.push(dt.create({name:o.alias,sourceName:o.name}));return r}function Da(e,{isCLI:t,optionInfos:u,FlagSchema:r}){let{name:o}=e,n={name:o},a,s={};switch(e.type){case"int":a=gt,t&&(n.preprocess=Number);break;case"string":a=je;break;case"choice":a=Ct,n.choices=e.choices.map(i=>i?.redirect?{...i,redirect:{to:{key:e.name,value:i.redirect}}}:i);break;case"boolean":a=mt;break;case"flag":a=r,n.flags=u.flatMap(i=>[i.alias,i.description&&i.name,i.oppositeDescription&&`no-${i.name}`].filter(Boolean));break;case"path":a=je;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?n.validate=(i,D,f)=>e.exception(i)||D.validate(i,f):n.validate=(i,D,f)=>i===void 0||D.validate(i,f),e.redirect&&(s.redirect=i=>i?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let i=n.preprocess||(D=>D);n.preprocess=(D,f,l)=>f.preprocess(i(Array.isArray(D)?b(0,D,-1):D),l)}return e.array?Ft.create({...t?{preprocess:i=>Array.isArray(i)?i:[i]}:{},...s,valueSchema:a.create(n)}):a.create({...n,...s})}var rn=ia;var ca=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return u}},fa=X("findLast",function(){if(Array.isArray(this))return ca}),du=fa;var nn=Symbol.for("PRETTIER_IS_FRONT_MATTER"),pu=[];function la(e){return!!e?.[nn]}var de=la;var on=new Set(["yaml","toml"]),Ue=({node:e})=>de(e)&&on.has(e.language);async function Fu(e,t,u,r){let{node:o}=u,{language:n}=o;if(!on.has(n))return;let a=o.value.trim(),s;if(a){let i=n==="yaml"?n:Dt(r,{language:n});if(!i)return;s=a?await e(a,{parser:i}):""}else s=a;return tt([o.startDelimiter,o.explicitLanguage??"",V,s,s?V:"",o.endDelimiter])}function da(e,t){return Ue({node:e})&&(delete t.end,delete t.raw,delete t.value),t}var mu=da;function pa({node:e}){return e.raw}var Eu=pa;var an=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Fa=e=>Object.keys(e).filter(t=>!an.has(t));function ma(e,t){let u=e?r=>e(r,an):Fa;return t?new Proxy(u,{apply:(r,o,n)=>de(n[0])?pu:Reflect.apply(r,o,n)}):u}var Cu=ma;function gu(e,t){if(!t)throw new Error("parserName is required.");let u=du(0,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(u)return u;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Me(r)}function sn(e,t){if(!t)throw new Error("astFormat is required.");let u=du(0,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(u)return u;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Me(r)}function We({plugins:e,parser:t}){let u=gu(e,t);return yu(u,t)}function yu(e,t){let u=e.parsers[t];return typeof u=="function"?u():u}async function Dn(e,t){let u=e.printers[t],r=typeof u=="function"?await u():u;return Ea(r)}var hu=new WeakMap,Q0=Symbol("PRINTER_NORMALIZED_MARK");function Ea(e){if(hu.has(e))return hu.get(e);let{features:t,getVisitorKeys:u,embed:r,massageAstNode:o,print:n,...a}=e;t=ya(t);let s=t.experimental_frontMatterSupport;u=Cu(u,s.massageAstNode||s.embed||s.print);let i=o;o&&s.massageAstNode&&(i=new Proxy(o,{apply(d,c,p){return mu(...p),Reflect.apply(d,c,p)}}));let D=r;if(r){let d;D=new Proxy(r,{get(c,p,F){return p==="getVisitorKeys"?(d??(d=r.getVisitorKeys?Cu(r.getVisitorKeys,s.massageAstNode||s.embed):u),d):Reflect.get(c,p,F)},apply:(c,p,F)=>s.embed&&Ue(...F)?Fu:Reflect.apply(c,p,F)})}let f=n;s.print&&(f=new Proxy(n,{apply(d,c,p){let[F]=p;return de(F.node)?Eu(F):Reflect.apply(d,c,p)}}));let l={features:t,getVisitorKeys:u,embed:D,massageAstNode:i,print:f,...a};return hu.set(e,l),l}var Ca=["clean","embed","print"],ha=Object.fromEntries(Ca.map(e=>[e,!1]));function ga(e){return{...ha,...e}}function ya(e){return{experimental_avoidAstMutation:!1,...e,experimental_frontMatterSupport:ga(e?.experimental_frontMatterSupport)}}var cn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};async function ba(e,t={}){let u={...e};if(!u.parser)if(u.filepath){if(u.parser=Dt(u,{physicalFile:u.filepath}),!u.parser)throw new Ye(`No parser could be inferred for file "${u.filepath}".`)}else throw new Ye("No parser and no file path given, couldn't infer a parser.");let r=st({plugins:e.plugins,showDeprecated:!0}).options,o={...cn,...Object.fromEntries(r.filter(l=>l.default!==void 0).map(l=>[l.name,l.default]))},n=gu(u.plugins,u.parser),a=await yu(n,u.parser);u.astFormat=a.astFormat,u.locEnd=a.locEnd,u.locStart=a.locStart;let s=n.printers?.[a.astFormat]?n:sn(u.plugins,a.astFormat),i=await Dn(s,a.astFormat);u.printer=i,u.getVisitorKeys=i.getVisitorKeys;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,l])=>l!==void 0)):{},f={...o,...D};for(let[l,d]of Object.entries(f))(u[l]===null||u[l]===void 0)&&(u[l]=d);return u.parser==="json"&&(u.trailingComma="none"),rn(u,r,{passThrough:Object.keys(cn),...t})}var se=ba;var Ff=oo(pn(),1);var Au="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Fn="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",sf=new RegExp("["+Au+"]"),Df=new RegExp("["+Au+Fn+"]");Au=Fn=null;var _u={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},cf=new Set(_u.keyword),ff=new Set(_u.strict),lf=new Set(_u.strictBind);var kt=(e,t)=>u=>e(t(u));function En(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:kt(kt(e.white,e.bgRed),e.bold),gutter:e.gray,marker:kt(e.red,e.bold),message:kt(e.red,e.bold),reset:e.reset}}var gf=En(ou(!0)),yf=En(ou(!1));function _a(){return new Proxy({},{get:()=>e=>e})}var mn=/\r\n|[\n\r\u2028\u2029]/;function xa(e,t,u){let r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:n=2,linesBelow:a=3}=u||{},s=r.line,i=r.column,D=o.line,f=o.column,l=Math.max(s-(n+1),0),d=Math.min(t.length,D+a);s===-1&&(l=0),D===-1&&(d=t.length);let c=D-s,p={};if(c)for(let F=0;F<=c;F++){let C=F+s;if(!i)p[C]=!0;else if(F===0){let y=t[C-1].length;p[C]=[i,y-i+1]}else if(F===c)p[C]=[0,f];else{let y=t[C-F].length;p[C]=[0,y]}}else i===f?i?p[s]=[i,0]:p[s]=!0:p[s]=[i,f-i];return{start:l,end:d,markerLines:p}}function Cn(e,t,u={}){let o=_a(!1),n=e.split(mn),{start:a,end:s,markerLines:i}=xa(t,n,u),D=t.start&&typeof t.start.column=="number",f=String(s).length,d=e.split(mn,s).slice(a,s).map((c,p)=>{let F=a+1+p,y=` ${` ${F}`.slice(-f)} |`,m=i[F],h=!i[F+1];if(m){let E="";if(Array.isArray(m)){let g=c.slice(0,Math.max(m[0]-1,0)).replace(/[^\t]/g," "),A=m[1]||1;E=[` + `,o.gutter(y.replace(/\d/g," "))," ",g,o.marker("^").repeat(A)].join(""),h&&u.message&&(E+=" "+o.message(u.message))}return[o.marker(">"),o.gutter(y),c.length>0?` ${c}`:"",E].join("")}else return` ${o.gutter(y)}${c.length>0?` ${c}`:""}`}).join(` +`);return u.message&&!D&&(d=`${" ".repeat(f+1)}${u.message} +${d}`),d}async function Ba(e,t){let u=await We(t),r=u.preprocess?await u.preprocess(e,t):e;t.originalText=r;let o;try{o=await u.parse(r,t,t)}catch(n){Ta(n,e)}return{text:r,ast:o}}function Ta(e,t){let{loc:u}=e;if(u){let r=Cn(t,u,{highlightCode:!0});throw e.message+=` +`+r,e.codeFrame=r,e}throw e}var Fe=Ba;async function hn(e,t,u,r,o){if(u.embeddedLanguageFormatting!=="auto")return;let{printer:n}=u,{embed:a}=n;if(!a)return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed");let{hasPrettierIgnore:s}=n,{getVisitorKeys:i}=a,D=[];d();let f=e.stack;for(let{print:c,node:p,pathStack:F}of D)try{e.stack=F;let C=await c(l,t,e,u);C&&o.set(p,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=f;function l(c,p){return Na(c,p,u,r)}function d(){let{node:c}=e;if(c===null||typeof c!="object"||s?.(e))return;for(let F of i(c))Array.isArray(c[F])?e.each(d,F):e.call(d,F);let p=a(e,u);if(p){if(typeof p=="function"){D.push({print:p,node:c,pathStack:[...e.stack]});return}o.set(c,p)}}}async function Na(e,t,u,r){let o=await se({...u,...t,parentParser:u.parser,originalText:e,cursorOffset:void 0,rangeStart:void 0,rangeEnd:void 0},{passThrough:!0}),{ast:n}=await Fe(e,o),a=await r(n,o);return Qe(a)}function Sa(e,t,u,r){let{originalText:o,[Symbol.for("comments")]:n,locStart:a,locEnd:s,[Symbol.for("printedComments")]:i}=t,{node:D}=e,f=a(D),l=s(D);for(let c of n)a(c)>=f&&s(c)<=l&&i.add(c);let{printPrettierIgnored:d}=t.printer;return d?d(e,t,u,r):o.slice(f,l)}var gn=Sa;async function Ge(e,t){({ast:e}=await xu(e,t));let u=new Map,r=new Fr(e),o=Sr(t),n=new Map;await hn(r,s,t,Ge,n);let a=await yn(r,t,s,void 0,n);if(Nr(t),t.cursorOffset>=0){if(t.nodeAfterCursor&&!t.nodeBeforeCursor)return[ee,a];if(t.nodeBeforeCursor&&!t.nodeAfterCursor)return[a,ee]}return a;function s(D,f){return D===void 0||D===r?i(f):Array.isArray(D)?r.call(()=>i(f),...D):r.call(()=>i(f),D)}function i(D){o(r);let f=r.node;if(f==null)return"";let l=ge(f)&&D===void 0;if(l&&u.has(f))return u.get(f);let d=yn(r,t,s,D,n);return l&&u.set(f,d),d}}function yn(e,t,u,r,o){let{node:n}=e,{printer:a}=t,s;switch(a.hasPrettierIgnore?.(e)?s=gn(e,t,u,r):o.has(n)?s=o.get(n):s=a.print(e,t,u,r),n){case t.cursorNode:s=Ee(s,i=>[ee,i,ee]);break;case t.nodeBeforeCursor:s=Ee(s,i=>[i,ee]);break;case t.nodeAfterCursor:s=Ee(s,i=>[ee,i]);break}return a.printComment&&!a.willPrintOwnComments?.(e,t)&&(s=Tr(e,s,t)),s}async function xu(e,t){let u=e.comments??[];t[Symbol.for("comments")]=u,t[Symbol.for("printedComments")]=new Set,_r(e,t);let{printer:{preprocess:r}}=t;return e=r?await r(e,t):e,{ast:e,comments:u}}function wa(e,t){let{cursorOffset:u,locStart:r,locEnd:o,getVisitorKeys:n}=t,a=c=>r(c)<=u&&o(c)>=u,s=e,i=[e];for(let c of hr(e,{getVisitorKeys:n,filter:a}))i.push(c),s=c;if(gr(s,{getVisitorKeys:n}))return{cursorNode:s};let D,f,l=-1,d=Number.POSITIVE_INFINITY;for(;i.length>0&&(D===void 0||f===void 0);){s=i.pop();let c=D!==void 0,p=f!==void 0;for(let F of be(s,{getVisitorKeys:n})){if(!c){let C=o(F);C<=u&&C>l&&(D=F,l=C)}if(!p){let C=r(F);C>=u&&Ca(d,i)).filter(Boolean);let D={},f=new Set(o(s));for(let d in s)!Object.prototype.hasOwnProperty.call(s,d)||n?.has(d)||(f.has(d)?D[d]=a(s[d],s):D[d]=s[d]);let l=r(s,D,i);if(l!==null)return l??D}}var bn=Oa;var Pa=Array.prototype.findLastIndex??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return t}return-1},Ia=X("findLastIndex",function(){if(Array.isArray(this))return Pa}),An=Ia;var ka=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function va(e,t){return t=new Set(t),e.find(u=>Bn.has(u.type)&&t.has(u))}function _n(e){let t=An(0,e,u=>u.type!=="Program"&&u.type!=="File");return t===-1?e:e.slice(0,t+1)}function Ra(e,t,{locStart:u,locEnd:r}){let[o,...n]=e,[a,...s]=t;if(o===a)return[o,a];let i=u(o);for(let f of _n(s))if(u(f)>=i)a=f;else break;let D=r(a);for(let f of _n(n)){if(r(f)<=D)o=f;else break;if(o===a)break}return[o,a]}function Tu(e,t,u,r,o=[],n){let{locStart:a,locEnd:s}=u,i=a(e),D=s(e);if(t>D||tr);let s=e.slice(r,o).search(/\S/u),i=s===-1;if(!i)for(r+=s;o>r&&!/\S/u.test(e[o-1]);--o);let D=Tu(u,r,t,(c,p)=>xn(t,c,p),[],"rangeStart");if(!D)return;let f=i?D:Tu(u,o,t,c=>xn(t,c),[],"rangeEnd");if(!f)return;let l,d;if(ka(t)){let c=va(D,f);l=c,d=c}else[l,d]=Ra(D,f,t);return[Math.min(n(l),n(d)),Math.max(a(l),a(d))]}var On="\uFEFF",Nn=Symbol("cursor");async function Pn(e,t,u=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:o}=await Fe(e,t);t.cursorOffset>=0&&(t={...t,...Bu(r,t)});let n=await Ge(r,t,u);u>0&&(n=ut([V,n],u,t.tabWidth));let a=Ce(n,t);if(u>0){let i=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(i),a.cursorNodeStart<0&&(a.cursorNodeStart=0,a.cursorNodeText=a.cursorNodeText.trimStart()),a.cursorNodeStart+a.cursorNodeText.length>i.length&&(a.cursorNodeText=a.cursorNodeText.trimEnd())),a.formatted=i+Se(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let i,D,f,l;if((t.cursorNode||t.nodeBeforeCursor||t.nodeAfterCursor)&&a.cursorNodeText)if(f=a.cursorNodeStart,l=a.cursorNodeText,t.cursorNode)i=t.locStart(t.cursorNode),D=o.slice(i,t.locEnd(t.cursorNode));else{if(!t.nodeBeforeCursor&&!t.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");i=t.nodeBeforeCursor?t.locEnd(t.nodeBeforeCursor):0;let y=t.nodeAfterCursor?t.locStart(t.nodeAfterCursor):o.length;D=o.slice(i,y)}else i=0,D=o,f=0,l=a.formatted;let d=t.cursorOffset-i;if(D===l)return{formatted:a.formatted,cursorOffset:f+d,comments:s};let c=D.split("");c.splice(d,0,Nn);let p=l.split(""),F=Ut(c,p),C=f;for(let y of F)if(y.removed){if(y.value.includes(Nn))break}else C+=y.count;return{formatted:a.formatted,cursorOffset:C,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function Ya(e,t){let{ast:u,text:r}=await Fe(e,t),[o,n]=Tn(r,t,u)??[0,0],a=r.slice(o,n),s=Math.min(o,r.lastIndexOf(` +`,o)+1),i=r.slice(s,o).match(/^\s*/u)[0],D=he(i,t.tabWidth),f=await Pn(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=n?t.cursorOffset-o:-1,endOfLine:"lf"},D),l=f.formatted.trimEnd(),{cursorOffset:d}=t;d>n?d+=l.length-a.length:f.cursorOffset>=0&&(d=f.cursorOffset+o);let c=r.slice(0,o)+l+r.slice(n);if(t.endOfLine!=="lf"){let p=Se(t.endOfLine);d>=0&&p===`\r +`&&(d+=$t(c.slice(0,d),` +`)),c=oe(0,c,` +`,p)}return{formatted:c,cursorOffset:d,comments:f.comments}}function Nu(e,t,u){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?u:t}function Sn(e,t){let{cursorOffset:u,rangeStart:r,rangeEnd:o}=t;return u=Nu(e,u,-1),r=Nu(e,r,0),o=Nu(e,o,e.length),{...t,cursorOffset:u,rangeStart:r,rangeEnd:o}}function In(e,t){let{cursorOffset:u,rangeStart:r,rangeEnd:o,endOfLine:n}=Sn(e,t),a=e.charAt(0)===On;if(a&&(e=e.slice(1),u--,r--,o--),n==="auto"&&(n=ju(e)),e.includes("\r")){let s=i=>$t(e.slice(0,Math.max(i,0)),`\r +`);u-=s(u),r-=s(r),o-=s(o),e=Uu(e)}return{hasBOM:a,text:e,options:Sn(e,{...t,cursorOffset:u,rangeStart:r,rangeEnd:o,endOfLine:n})}}async function wn(e,t){let u=await We(t);return!u.hasPragma||u.hasPragma(e)}async function ja(e,t){return(await We(t)).hasIgnorePragma?.(e)}async function Su(e,t){let{hasBOM:u,text:r,options:o}=In(e,await se(t));if(o.rangeStart>=o.rangeEnd&&r!==""||o.requirePragma&&!await wn(r,o)||o.checkIgnorePragma&&await ja(r,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let n;return o.rangeStart>0||o.rangeEnd=0&&n.cursorOffset++),n}async function kn(e,t,u){let{text:r,options:o}=In(e,await se(t)),n=await Fe(r,o);return u&&(u.preprocessForPrint&&(n.ast=await xu(n.ast,o)),u.massage&&(n.ast=bn(n.ast,o))),n}async function vn(e,t){t=await se(t);let u=await Ge(e,t);return Ce(u,t)}async function Rn(e,t){let u=Dr(e),{formatted:r}=await Su(u,{...t,parser:"__js_expression"});return r}async function Ln(e,t){t=await se(t);let{ast:u}=await Fe(e,t);return t.cursorOffset>=0&&(t={...t,...Bu(u,t)}),Ge(u,t)}async function Mn(e,t){return Ce(e,await se(t))}var wu={};Yt(wu,{builders:()=>Wa,printer:()=>$a,utils:()=>Va});var Wa={join:Ie,line:rt,softline:ar,hardline:V,literalline:Ze,group:Kt,conditionalGroup:ur,fill:tr,lineSuffix:ve,lineSuffixBoundary:ir,cursor:ee,breakParent:ce,ifBreak:rr,trim:sr,indent:ae,indentIfBreak:nr,align:De,addAlignmentToDoc:ut,markAsRoot:tt,dedentToRoot:Zu,dedent:er,hardlineWithoutBreakParent:ke,literallineWithoutBreakParent:Gt,label:or,concat:e=>e},$a={printDocToString:Ce},Va={willBreak:Gu,traverseDoc:we,findInDoc:qe,mapDoc:Pe,removeLines:Ju,stripTrailingHardline:Qe,replaceEndOfLine:Hu,canBreak:Xu};var Yn="3.8.3";var Pu={};Yt(Pu,{addDanglingComment:()=>ue,addLeadingComment:()=>fe,addTrailingComment:()=>le,getAlignmentSize:()=>he,getIndentSize:()=>jn,getMaxContinuousCount:()=>Un,getNextNonSpaceNonCommentCharacter:()=>Wn,getNextNonSpaceNonCommentCharacterIndex:()=>ni,getPreferredQuote:()=>Kn,getStringWidth:()=>Re,hasNewline:()=>z,hasNewlineInRange:()=>Gn,hasSpaces:()=>zn,isNextLineEmpty:()=>Di,isNextLineEmptyAfterIndex:()=>vt,isPreviousLineEmpty:()=>ai,makeString:()=>si,skip:()=>ye,skipEverythingButNewLine:()=>at,skipInlineComment:()=>xe,skipNewline:()=>K,skipSpaces:()=>Y,skipToLineEnd:()=>ot,skipTrailingComment:()=>Be,skipWhitespace:()=>mr});function Ka(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let u=t+2;uMath.max(r,o.length),0)/t.length}var Un=Xa;function qa(e,t){let u=ze(e,t);return u===!1?"":e.charAt(u)}var Wn=qa;var $n=Object.freeze({character:"'",codePoint:39}),Vn=Object.freeze({character:'"',codePoint:34}),Qa=Object.freeze({preferred:$n,alternate:Vn}),Za=Object.freeze({preferred:Vn,alternate:$n});function ei(e,t){let{preferred:u,alternate:r}=t===!0||t==="'"?Qa:Za,{length:o}=e,n=0,a=0;for(let s=0;sa?r:u).character}var Kn=ei;function ti(e,t,u){for(let r=t;rs===r?s:i===t?"\\"+i:i||(u&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+n+t}function Di(e,t){return arguments.length===2||typeof t=="number"?vt(e,t):ii(...arguments)}function me(e,t=1){return async(...u)=>{let r=u[t]??{},o=r.plugins??[];return u[t]={...r,plugins:Array.isArray(o)?o:Object.values(o)},e(...u)}}var Jn=me(Su);async function Hn(e,t){let{formatted:u}=await Jn(e,{...t,cursorOffset:-1});return u}async function ci(e,t){return await Hn(e,t)===e}var fi=me(st,0),li={parse:me(kn),formatAST:me(vn),formatDoc:me(Rn),printToDoc:me(Ln),printDocToString:me(Mn)};return ao(di);}); \ No newline at end of file diff --git a/shared/node_modules/prettier/standalone.mjs b/shared/node_modules/prettier/standalone.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f7580bc204ddb1ff2057dbdf11b1bdea067ee0c9 --- /dev/null +++ b/shared/node_modules/prettier/standalone.mjs @@ -0,0 +1,29 @@ +var Zn=Object.create;var Mt=Object.defineProperty;var eo=Object.getOwnPropertyDescriptor;var to=Object.getOwnPropertyNames;var uo=Object.getPrototypeOf,ro=Object.prototype.hasOwnProperty;var no=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yt=(e,t)=>{for(var u in t)Mt(e,u,{get:t[u],enumerable:!0})},oo=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of to(t))!ro.call(e,o)&&o!==u&&Mt(e,o,{get:()=>t[o],enumerable:!(r=eo(t,o))||r.enumerable});return e};var ao=(e,t,u)=>(u=e!=null?Zn(uo(e)):{},oo(t||!e||!e.__esModule?Mt(u,"default",{value:e,enumerable:!0}):u,e));var dn=no((of,ln)=>{var yt,bt,At,_t,xt,$e,bu,Ke,Bt,cn,Tt,Ve,Nt,St,wt,pe,fn,Ot,Pt,Aa;Nt=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;Ve=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;yt=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;wt=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;Tt=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;pe=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;Pt=/[\t\v\f\ufeff\p{Zs}]+/yu;Ke=/\r?\n|[\r\u2028\u2029]/y;Bt=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;St=/\/\/.*/y;At=/[<>.:={}]|\/(?![\/*])/y;bt=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;_t=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;xt=/[^<>{}]+/y;Ot=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;fn=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;$e=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;bu=/^(?:return|throw|yield)$/;cn=RegExp(Ke.source);ln.exports=Aa=function*(e,{jsx:t=!1}={}){var u,r,o,n,a,s,i,D,f,l,d,c,p,F;for({length:s}=e,n=0,a="",F=[{tag:"JS"}],u=[],d=0,c=!1;n":F.pop(),a==="/"||D.tag==="JSXTagEnd"?(l="?JSX",c=!0):F.push({tag:"JSXChildren"});break;case"{":F.push({tag:"InterpolationInJSX",nesting:u.length}),l="?InterpolationInJSX",c=!1;break;case"/":a==="<"&&(F.pop(),F[F.length-1].tag==="JSXChildren"&&F.pop(),F.push({tag:"JSXTagEnd"}))}a=l,yield{type:"JSXPunctuator",value:i[0]};continue}if(bt.lastIndex=n,i=bt.exec(e)){n=bt.lastIndex,a=i[0],yield{type:"JSXIdentifier",value:i[0]};continue}if(_t.lastIndex=n,i=_t.exec(e)){n=_t.lastIndex,a=i[0],yield{type:"JSXString",value:i[0],closed:i[2]!==void 0};continue}break;case"JSXChildren":if(xt.lastIndex=n,i=xt.exec(e)){n=xt.lastIndex,a=i[0],yield{type:"JSXText",value:i[0]};continue}switch(e[n]){case"<":F.push({tag:"JSXTag"}),n++,a="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":F.push({tag:"InterpolationInJSX",nesting:u.length}),n++,a="?InterpolationInJSX",c=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(Pt.lastIndex=n,i=Pt.exec(e)){n=Pt.lastIndex,yield{type:"WhiteSpace",value:i[0]};continue}if(Ke.lastIndex=n,i=Ke.exec(e)){n=Ke.lastIndex,c=!1,bu.test(a)&&(a="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:i[0]};continue}if(Bt.lastIndex=n,i=Bt.exec(e)){n=Bt.lastIndex,cn.test(i[0])&&(c=!1,bu.test(a)&&(a="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:i[0],closed:i[1]!==void 0};continue}if(St.lastIndex=n,i=St.exec(e)){n=St.lastIndex,c=!1,yield{type:"SingleLineComment",value:i[0]};continue}r=String.fromCodePoint(e.codePointAt(n)),n+=r.length,a=r,c=!1,yield{type:D.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:r}}}});var Hn={};Yt(Hn,{__debug:()=>li,check:()=>ci,doc:()=>wu,format:()=>Jn,formatWithCursor:()=>zn,getSupportInfo:()=>fi,util:()=>Pu,version:()=>Mn});var X=(e,t)=>(u,r,...o)=>u|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,o);var io=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},so=X("replaceAll",function(){if(typeof this=="string")return io}),oe=so;var Ne=class{diff(t,u,r={}){let o;typeof r=="function"?(o=r,r={}):"callback"in r&&(o=r.callback);let n=this.castInput(t,r),a=this.castInput(u,r),s=this.removeEmpty(this.tokenize(n,r)),i=this.removeEmpty(this.tokenize(a,r));return this.diffWithOptionsObj(s,i,r,o)}diffWithOptionsObj(t,u,r,o){var n;let a=m=>{if(m=this.postProcess(m,r),o){setTimeout(function(){o(m)},0);return}else return m},s=u.length,i=t.length,D=1,f=s+i;r.maxEditLength!=null&&(f=Math.min(f,r.maxEditLength));let l=(n=r.timeout)!==null&&n!==void 0?n:1/0,d=Date.now()+l,c=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(c[0],u,t,0,r);if(c[0].oldPos+1>=i&&p+1>=s)return a(this.buildValues(c[0].lastComponent,u,t));let F=-1/0,C=1/0,y=()=>{for(let m=Math.max(F,-D);m<=Math.min(C,D);m+=2){let h,E=c[m-1],g=c[m+1];E&&(c[m-1]=void 0);let A=!1;if(g){let Q=g.oldPos-m;A=g&&0<=Q&&Q=i&&p+1>=s)return a(this.buildValues(h.lastComponent,u,t))||!0;c[m]=h,h.oldPos+1>=i&&(C=Math.min(C,m-1)),p+1>=s&&(F=Math.max(F,m+1))}D++};if(o)(function m(){setTimeout(function(){if(D>f||Date.now()>d)return o(void 0);y()||m()},0)})();else for(;D<=f&&Date.now()<=d;){let m=y();if(m)return m}}addToPath(t,u,r,o,n){let a=t.lastComponent;return a&&!n.oneChangePerToken&&a.added===u&&a.removed===r?{oldPos:t.oldPos+o,lastComponent:{count:a.count+1,added:u,removed:r,previousComponent:a.previousComponent}}:{oldPos:t.oldPos+o,lastComponent:{count:1,added:u,removed:r,previousComponent:a}}}extractCommon(t,u,r,o,n){let a=u.length,s=r.length,i=t.oldPos,D=i-o,f=0;for(;D+1d.length?p:d}),f.value=this.join(l)}else f.value=this.join(u.slice(i,i+f.count));i+=f.count,f.added||(D+=f.count)}}return o}};var jt=class extends Ne{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}},ku=new jt;function Ut(e,t,u){return ku.diff(e,t,u)}var Do=()=>{},P=Do;var Ru="cr",Lu="crlf",co="lf",fo=co,Wt="\r",Mu=`\r +`,Je=` +`,lo=Je;function Yu(e){let t=e.indexOf(Wt);return t!==-1?e.charAt(t+1)===Je?Lu:Ru:fo}function Se(e){return e===Ru?Wt:e===Lu?Mu:lo}var po=new Map([[Je,/\n/gu],[Wt,/\r/gu],[Mu,/\r\n/gu]]);function $t(e,t){let u=po.get(t);return e.match(u)?.length??0}var Fo=/\r\n?/gu;function ju(e){return oe(0,e,Fo,Je)}function mo(e){return this[e<0?this.length+e:e]}var Eo=X("at",function(){if(Array.isArray(this)||typeof this=="string")return mo}),b=Eo;var G="string",j="array",U="cursor",I="indent",k="align",v="trim",x="group",w="fill",B="if-break",R="indent-if-break",L="line-suffix",M="line-suffix-boundary",_="line",O="label",T="break-parent",He=new Set([U,I,k,v,x,w,B,R,L,M,_,O,T]);function Uu(e){let t=e.length;for(;t>0&&(e[t-1]==="\r"||e[t-1]===` +`);)t--;return tnew Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function go(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(H(e))throw new Error("doc is valid.");let u=Object.prototype.toString.call(e);if(u!=="[object Object]")return`Unexpected doc '${u}'.`;let r=ho([...He].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${r}.`}var Vt=class extends Error{name="InvalidDocError";constructor(t){super(go(t)),this.doc=t}},Z=Vt;var Wu={};function yo(e,t,u,r){let o=[e];for(;o.length>0;){let n=o.pop();if(n===Wu){u(o.pop());continue}u&&o.push(n,Wu);let a=H(n);if(!a)throw new Z(n);if(t?.(n)!==!1)switch(a){case j:case w:{let s=a===j?n:n.parts;for(let i=s.length,D=i-1;D>=0;--D)o.push(s[D]);break}case B:o.push(n.flatContents,n.breakContents);break;case x:if(r&&n.expandedStates)for(let s=n.expandedStates.length,i=s-1;i>=0;--i)o.push(n.expandedStates[i]);else o.push(n.contents);break;case k:case I:case R:case O:case L:o.push(n.contents);break;case G:case U:case v:case M:case _:case T:break;default:throw new Z(n)}}}var we=yo;function Pe(e,t){if(typeof e=="string")return t(e);let u=new Map;return r(e);function r(n){if(u.has(n))return u.get(n);let a=o(n);return u.set(n,a),a}function o(n){switch(H(n)){case j:return t(n.map(r));case w:return t({...n,parts:n.parts.map(r)});case B:return t({...n,breakContents:r(n.breakContents),flatContents:r(n.flatContents)});case x:{let{expandedStates:a,contents:s}=n;return a?(a=a.map(r),s=a[0]):s=r(s),t({...n,contents:s,expandedStates:a})}case k:case I:case R:case O:case L:return t({...n,contents:r(n.contents)});case G:case U:case v:case M:case _:case T:return t(n);default:throw new Z(n)}}}function Xe(e,t,u){let r=u,o=!1;function n(a){if(o)return!1;let s=t(a);s!==void 0&&(o=!0,r=s)}return we(e,n),r}function bo(e){if(e.type===x&&e.break||e.type===_&&e.hard||e.type===T)return!0}function Ku(e){return Xe(e,bo,!1)}function $u(e){if(e.length>0){let t=b(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Gu(e){let t=new Set,u=[];function r(n){if(n.type===T&&$u(u),n.type===x){if(u.push(n),t.has(n))return!1;t.add(n)}}function o(n){n.type===x&&u.pop().break&&$u(u)}we(e,r,o,!0)}function Ao(e){return e.type===_&&!e.hard?e.soft?"":" ":e.type===B?e.flatContents:e}function zu(e){return Pe(e,Ao)}function Vu(e){for(e=[...e];e.length>=2&&b(0,e,-2).type===_&&b(0,e,-1).type===T;)e.length-=2;if(e.length>0){let t=Oe(b(0,e,-1));e[e.length-1]=t}return e}function Oe(e){switch(H(e)){case I:case R:case x:case L:case O:{let t=Oe(e.contents);return{...e,contents:t}}case B:return{...e,breakContents:Oe(e.breakContents),flatContents:Oe(e.flatContents)};case w:return{...e,parts:Vu(e.parts)};case j:return Vu(e);case G:return Uu(e);case k:case U:case v:case M:case _:case T:break;default:throw new Z(e)}return e}function qe(e){return Oe(xo(e))}function _o(e){switch(H(e)){case w:if(e.parts.every(t=>t===""))return"";break;case x:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===x&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case k:case I:case R:case L:if(!e.contents)return"";break;case B:if(!e.flatContents&&!e.breakContents)return"";break;case j:{let t=[];for(let u of e){if(!u)continue;let[r,...o]=Array.isArray(u)?u:[u];typeof r=="string"&&typeof b(0,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case G:case U:case v:case M:case _:case O:case T:break;default:throw new Z(e)}return e}function xo(e){return Pe(e,t=>_o(t))}function Ju(e,t=Qe){return Pe(e,u=>typeof u=="string"?Ie(t,u.split(` +`)):u)}function Bo(e){if(e.type===_)return!0}function Hu(e){return Xe(e,Bo,!1)}function Ee(e,t){return e.type===O?{...e,contents:t(e.contents)}:t(e)}var N=P,Ze=P,Xu=P,qu=P;function ae(e){return N(e),{type:I,contents:e}}function De(e,t){return qu(e),N(t),{type:k,contents:t,n:e}}function Qu(e){return De(Number.NEGATIVE_INFINITY,e)}function et(e){return De({type:"root"},e)}function Zu(e){return De(-1,e)}function tt(e,t,u){N(e);let r=e;if(t>0){for(let o=0;o0?`, { ${i.join(", ")} }`:"";return`indentIfBreak(${r(n.contents)}${D})`}if(n.type===x){let i=[];n.break&&n.break!=="propagated"&&i.push("shouldBreak: true"),n.id&&i.push(`id: ${o(n.id)}`);let D=i.length>0?`, { ${i.join(", ")} }`:"";return n.expandedStates?`conditionalGroup([${n.expandedStates.map(f=>r(f)).join(",")}]${D})`:`group(${r(n.contents)}${D})`}if(n.type===w)return`fill([${n.parts.map(i=>r(i)).join(", ")}])`;if(n.type===L)return"lineSuffix("+r(n.contents)+")";if(n.type===M)return"lineSuffixBoundary";if(n.type===O)return`label(${JSON.stringify(n.label)}, ${r(n.contents)})`;if(n.type===U)return"cursor";throw new Error("Unknown doc type "+n.type)}function o(n){if(typeof n!="symbol")return JSON.stringify(String(n));if(n in t)return t[n];let a=n.description||"symbol";for(let s=0;;s++){let i=a+(s>0?` #${s}`:"");if(!u.has(i))return u.add(i),t[n]=`Symbol.for(${JSON.stringify(i)})`}}}var Dr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function zt(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Jt(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var cr="\xA9\xAE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23F1\u23F2\u23F8\u23F9\u23FA\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600\u2601\u2602\u2603\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694\u2695\u2696\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F1\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05\u2B06\u2B07";var To=/[^\x20-\x7F]/u,No=new Set(cr);function So(e){if(!e)return 0;if(!To.test(e))return e.length;e=e.replace(Dr(),u=>No.has(u)?" ":" ");let t=0;for(let u of e){let r=u.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||r>=65024&&r<=65039||(t+=zt(r)||Jt(r)?2:1)}return t}var Re=So;var wo={type:0},Oo={type:1},Ht={value:"",length:0,queue:[],get root(){return Ht}};function fr(e,t,u){let r=t.type===1?e.queue.slice(0,-1):[...e.queue,t],o="",n=0,a=0,s=0;for(let p of r)switch(p.type){case 0:f(),u.useTabs?i(1):D(u.tabWidth);break;case 3:{let{string:F}=p;f(),o+=F,n+=F.length;break}case 2:{let{width:F}=p;a+=1,s+=F;break}default:throw new Error(`Unexpected indent comment '${p.type}'.`)}return d(),{...e,value:o,length:n,queue:r};function i(p){o+=" ".repeat(p),n+=u.tabWidth*p}function D(p){o+=" ".repeat(p),n+=p}function f(){u.useTabs?l():d()}function l(){a>0&&i(a),c()}function d(){s>0&&D(s),c()}function c(){a=0,s=0}}function lr(e,t,u){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let r;return typeof t=="number"?t<0?r=Oo:r={type:2,width:t}:r={type:3,string:t},fr(e,r,u)}function dr(e,t){return fr(e,wo,t)}function Po(e){let t=0;for(let u=e.length-1;u>=0;u--){let r=e[u];if(r===" "||r===" ")t++;else break}return t}function Xt(e){let t=Po(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var W=Symbol("MODE_BREAK"),q=Symbol("MODE_FLAT"),qt=Symbol("DOC_FILL_PRINTED_LENGTH");function rt(e,t,u,r,o,n){if(u===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=!1,i=[e],D="";for(;u>=0;){if(i.length===0){if(a===0)return!0;i.push(t[--a]);continue}let{mode:f,doc:l}=i.pop(),d=H(l);switch(d){case G:l&&(s&&(D+=" ",u-=1,s=!1),D+=l,u-=Re(l));break;case j:case w:{let c=d===j?l:l.parts,p=l[qt]??0;for(let F=c.length-1;F>=p;F--)i.push({mode:f,doc:c[F]});break}case I:case k:case R:case O:i.push({mode:f,doc:l.contents});break;case v:{let{text:c,count:p}=Xt(D);D=c,u+=p;break}case x:{if(n&&l.break)return!1;let c=l.break?W:f,p=l.expandedStates&&c===W?b(0,l.expandedStates,-1):l.contents;i.push({mode:c,doc:p});break}case B:{let p=(l.groupId?o[l.groupId]||q:f)===W?l.breakContents:l.flatContents;p&&i.push({mode:f,doc:p});break}case _:if(f===W||l.hard)return!0;l.soft||(s=!0);break;case L:r=!0;break;case M:if(r)return!1;break}}return!1}function Ce(e,t){let u=Object.create(null),r=t.printWidth,o=Se(t.endOfLine),n=0,a=[{indent:Ht,mode:W,doc:e}],s="",i=!1,D=[],f=[],l=[],d=[],c=0;for(Gu(e);a.length>0;){let{indent:m,mode:h,doc:E}=a.pop();switch(H(E)){case G:{let g=o!==` +`?oe(0,E,` +`,o):E;g&&(s+=g,a.length>0&&(n+=Re(g)));break}case j:for(let g=E.length-1;g>=0;g--)a.push({indent:m,mode:h,doc:E[g]});break;case U:if(f.length>=2)throw new Error("There are too many 'cursor' in doc.");f.push(c+s.length);break;case I:a.push({indent:dr(m,t),mode:h,doc:E.contents});break;case k:a.push({indent:lr(m,E.n,t),mode:h,doc:E.contents});break;case v:y();break;case x:switch(h){case q:if(!i){a.push({indent:m,mode:E.break?W:q,doc:E.contents});break}case W:{i=!1;let g={indent:m,mode:q,doc:E.contents},A=r-n,J=D.length>0;if(!E.break&&rt(g,a,A,J,u))a.push(g);else if(E.expandedStates){let Q=b(0,E.expandedStates,-1);if(E.break){a.push({indent:m,mode:W,doc:Q});break}else for(let re=1;re=E.expandedStates.length){a.push({indent:m,mode:W,doc:Q});break}else{let Te=E.expandedStates[re],ne={indent:m,mode:q,doc:Te};if(rt(ne,a,A,J,u)){a.push(ne);break}}}else a.push({indent:m,mode:W,doc:E.contents});break}}E.id&&(u[E.id]=b(0,a,-1).mode);break;case w:{let g=r-n,A=E[qt]??0,{parts:J}=E,Q=J.length-A;if(Q===0)break;let re=J[A+0],Te=J[A+1],ne={indent:m,mode:q,doc:re},vt={indent:m,mode:W,doc:re},Rt=rt(ne,[],g,D.length>0,u,!0);if(Q===1){Rt?a.push(ne):a.push(vt);break}let Iu={indent:m,mode:q,doc:Te},Lt={indent:m,mode:W,doc:Te};if(Q===2){Rt?a.push(Iu,ne):a.push(Lt,vt);break}let Xn=J[A+2],qn={indent:m,mode:h,doc:{...E,[qt]:A+2}},Qn=rt({indent:m,mode:q,doc:[re,Te,Xn]},[],g,D.length>0,u,!0);a.push(qn),Qn?a.push(Iu,ne):Rt?a.push(Lt,ne):a.push(Lt,vt);break}case B:case R:{let g=E.groupId?u[E.groupId]:h;if(g===W){let A=E.type===B?E.breakContents:E.negate?E.contents:ae(E.contents);A&&a.push({indent:m,mode:h,doc:A})}if(g===q){let A=E.type===B?E.flatContents:E.negate?ae(E.contents):E.contents;A&&a.push({indent:m,mode:h,doc:A})}break}case L:D.push({indent:m,mode:h,doc:E.contents});break;case M:D.length>0&&a.push({indent:m,mode:h,doc:ke});break;case _:switch(h){case q:if(E.hard)i=!0;else{E.soft||(s+=" ",n+=1);break}case W:if(D.length>0){a.push({indent:m,mode:h,doc:E},...D.reverse()),D.length=0;break}E.literal?(s+=o,n=0,m.root&&(m.root.value&&(s+=m.root.value),n=m.root.length)):(y(),s+=o+m.value,n=m.length);break}break;case O:a.push({indent:m,mode:h,doc:E.contents});break;case T:break;default:throw new Z(E)}a.length===0&&D.length>0&&(a.push(...D.reverse()),D.length=0)}let p=l.join("")+s,F=[...d,...f];if(F.length!==2)return{formatted:p};let C=F[0];return{formatted:p,cursorNodeStart:C,cursorNodeText:p.slice(C,b(0,F,-1))};function y(){let{text:m,count:h}=Xt(s);m&&(l.push(m),c+=m.length),s="",n-=h,f.length>0&&(d.push(...f.map(E=>Math.min(E,c))),f.length=0)}}function Io(e,t,u=0){let r=0;for(let o=u;o1?b(0,t,-2):null}getValue(){return b(0,this.stack,-1)}getNode(t=0){let u=this.#t(t);return u===-1?null:this.stack[u]}getParentNode(t=0){return this.getNode(t+1)}#t(t){let{stack:u}=this;for(let r=u.length-1;r>=0;r-=2)if(!Array.isArray(u[r])&&--t<0)return r;return-1}call(t,...u){let{stack:r}=this,{length:o}=r,n=b(0,r,-1);for(let a of u)n=n?.[a],r.push(a,n);try{return t(this)}finally{r.length=o}}callParent(t,u=0){let r=this.#t(u+1),o=this.stack.splice(r+1);try{return t(this)}finally{this.stack.push(...o)}}each(t,...u){let{stack:r}=this,{length:o}=r,n=b(0,r,-1);for(let a of u)n=n[a],r.push(a,n);try{for(let a=0;a{r[n]=t(o,n,a)},...u),r}match(...t){let u=this.stack.length-1,r=null,o=this.stack[u--];for(let n of t){if(o===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[u--],o=this.stack[u--]),n&&!n(o,r,a))return!1;r=this.stack[u--],o=this.stack[u--]}return!0}findAncestor(t){for(let u of this.#e())if(t(u))return u}hasAncestor(t){for(let u of this.#e())if(t(u))return!0;return!1}*#e(){let{stack:t}=this;for(let u=t.length-3;u>=0;u-=2){let r=t[u];Array.isArray(r)||(yield r)}}},pr=Qt;function ko(e){return e!==null&&typeof e=="object"}var ge=ko;function ye(e){return(t,u,r)=>{let o=!!r?.backwards;if(u===!1)return!1;let{length:n}=t,a=u;for(;a>=0&&ae===` +`||e==="\r"||e==="\u2028"||e==="\u2029";function vo(e,t,u){let r=!!u?.backwards;if(t===!1)return!1;let o=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&o===` +`)return t-2;if(mr(o))return t-1}else{if(o==="\r"&&e.charAt(t+1)===` +`)return t+2;if(mr(o))return t+1}return t}var K=vo;function Ro(e,t,u={}){let r=Y(e,u.backwards?t-1:t,u),o=K(e,r,u);return r!==o}var z=Ro;function Lo(e){return Array.isArray(e)&&e.length>0}var Er=Lo;function*be(e,t){let{getVisitorKeys:u,filter:r=()=>!0}=t,o=n=>ge(n)&&r(n);for(let n of u(e)){let a=e[n];if(Array.isArray(a))for(let s of a)o(s)&&(yield s);else o(a)&&(yield a)}}function*Cr(e,t){let u=[e];for(let r=0;r(n??(n=[e,...t]),o(D,n)?[D]:gr(D,n,u))),{locStart:s,locEnd:i}=u;return a.sort((D,f)=>s(D)-s(f)||i(D)-i(f)),r.set(e,a),a}var at=gr;function Mo(e){let t=e.type||e.kind||"(unknown type)",u=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),t+(u?" "+u:"")}function Zt(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Mo(e)}function fe(e,t){t.leading=!0,t.trailing=!1,Zt(e,t)}function ue(e,t,u){t.leading=!1,t.trailing=!1,u&&(t.marker=u),Zt(e,t)}function le(e,t){t.leading=!1,t.trailing=!0,Zt(e,t)}var uu=new WeakMap;function br(e,t,u,r,o=[]){let{locStart:n,locEnd:a}=u,s=n(t),i=a(t),D=at(e,o,{cache:uu,locStart:n,locEnd:a,getVisitorKeys:u.getVisitorKeys,filter:u.printer.canAttachComment,getChildren:u.printer.getCommentChildNodes}),f,l,d=0,c=D.length;for(;d>1,F=D[p],C=n(F),y=a(F);if(C<=s&&i<=y)return br(F,t,u,F,[F,...o]);if(y<=s){f=F,d=p+1;continue}if(i<=C){l=F,c=p;continue}throw new Error("Comment location overlaps with node location")}if(r?.type==="TemplateLiteral"){let{quasis:p}=r,F=tu(p,t,u);f&&tu(p,f,u)!==F&&(f=null),l&&tu(p,l,u)!==F&&(l=null)}return{enclosingNode:r,precedingNode:f,followingNode:l}}var eu=()=>!1;function Ar(e,t){let{comments:u}=e;if(delete e.comments,!Er(u)||!t.printer.canAttachComment)return;let r=[],{printer:{features:{experimental_avoidAstMutation:o},handleComments:n={}},originalText:a}=t,{ownLine:s=eu,endOfLine:i=eu,remaining:D=eu}=n,f=u.map((l,d)=>({...br(e,l,t),comment:l,text:a,options:t,ast:e,isLastComment:u.length-1===d}));for(let[l,d]of f.entries()){let{comment:c,precedingNode:p,enclosingNode:F,followingNode:C,text:y,options:m,ast:h,isLastComment:E}=d,g;if(o?g=[d]:(c.enclosingNode=F,c.precedingNode=p,c.followingNode=C,g=[c,y,m,h,E]),Yo(y,m,f,l))c.placement="ownLine",s(...g)||(C?fe(C,c):p?le(p,c):F?ue(F,c):ue(h,c));else if(jo(y,m,f,l))c.placement="endOfLine",i(...g)||(p?le(p,c):C?fe(C,c):F?ue(F,c):ue(h,c));else if(c.placement="remaining",!D(...g))if(p&&C){let A=r.length;A>0&&r[A-1].followingNode!==C&&yr(r,m),r.push(d)}else p?le(p,c):C?fe(C,c):F?ue(F,c):ue(h,c)}if(yr(r,t),!o)for(let l of u)delete l.precedingNode,delete l.enclosingNode,delete l.followingNode}var _r=e=>!/[\S\n\u2028\u2029]/u.test(e);function Yo(e,t,u,r){let{comment:o,precedingNode:n}=u[r],{locStart:a,locEnd:s}=t,i=a(o);if(n)for(let D=r-1;D>=0;D--){let{comment:f,precedingNode:l}=u[D];if(l!==n||!_r(e.slice(s(f),i)))break;i=a(f)}return z(e,i,{backwards:!0})}function jo(e,t,u,r){let{comment:o,followingNode:n}=u[r],{locStart:a,locEnd:s}=t,i=s(o);if(n)for(let D=r+1;D0;--a){let{comment:s,precedingNode:i,followingNode:D}=e[a-1];P(i,r),P(D,o);let f=t.originalText.slice(t.locEnd(s),n);if(t.printer.isGap?.(f,t)??/^[\s(]*$/u.test(f))n=t.locStart(s);else break}for(let[s,{comment:i}]of e.entries())s1&&s.comments.sort((i,D)=>t.locStart(i)-t.locStart(D));e.length=0}function tu(e,t,u){let r=u.locStart(t)-1;for(let o=1;o!r.has(i)).length===0)return{leading:"",trailing:""};let n=[],a=[],s;return e.each(()=>{let i=e.node;if(r?.has(i))return;let{leading:D,trailing:f}=i;D?n.push(Wo(e,t)):f&&(s=$o(e,t,s),a.push(s.doc))},"comments"),{leading:n,trailing:a}}function Br(e,t,u){let{leading:r,trailing:o}=Vo(e,u);return!r&&!o?t:Ee(t,n=>[r,n,o])}function Tr(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:u}=e;for(let r of t){if(!r.printed&&!u.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}var Nr=()=>P;var Me=class extends Error{name="ConfigError"},Ye=class extends Error{name="UndefinedParserError"};var Sr={checkIgnorePragma:{category:"Special",type:"boolean",default:!1,description:"Check whether the file's first docblock comment contains '@noprettier' or '@noformat' to determine if it should be formatted.",cliCategory:"Other"},cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"},{value:"mjml",description:"MJML"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function it({plugins:e=[],showDeprecated:t=!1}={}){let u=e.flatMap(o=>o.languages??[]),r=[];for(let o of Go(Object.assign({},...e.map(({options:n})=>n),Sr)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(n=>!n.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...Ko(o.choices,u,e)])),o.pluginDefaults=Object.fromEntries(e.filter(n=>n.defaultOptions?.[o.name]!==void 0).map(n=>[n.name,n.defaultOptions[o.name]])),r.push(o));return{languages:u,options:r}}function*Ko(e,t,u){let r=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let n of o.parsers)if(!r.has(n)){r.add(n);let a=u.find(i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,n)),s=o.name;a?.name&&(s+=` (plugin: ${a.name})`),yield{value:n,description:s}}}}function Go(e){let t=[];for(let[u,r]of Object.entries(e)){let o={name:u,...r};Array.isArray(o.default)&&(o.default=b(0,o.default,-1).value),t.push(o)}return t}var zo=Array.prototype.toReversed??function(){return[...this].reverse()},Jo=X("toReversed",function(){if(Array.isArray(this))return zo}),wr=Jo;function Ho(){let e=globalThis,t=e.Deno?.build?.os;return typeof t=="string"?t==="windows":e.navigator?.platform?.startsWith("Win")??e.process?.platform?.startsWith("win")??!1}var Xo=Ho();function Or(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function qo(e){return e=Or(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Qo(e){e=Or(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function ru(e){return Xo?Qo(e):qo(e)}var Pr=e=>String(e).split(/[/\\]/u).pop(),Ir=e=>String(e).startsWith("file:");function kr(e,t){if(!t)return;let u=Pr(t).toLowerCase();return e.find(({filenames:r})=>r?.some(o=>o.toLowerCase()===u))??e.find(({extensions:r})=>r?.some(o=>u.endsWith(o)))}function Zo(e,t){if(t)return e.find(({name:u})=>u.toLowerCase()===t)??e.find(({aliases:u})=>u?.includes(t))??e.find(({extensions:u})=>u?.includes(`.${t}`))}var ea=void 0;function vr(e,t){if(t){if(Ir(t))try{t=ru(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:u})=>u?.({filepath:t}))}}function ta(e,t){let u=wr(0,e.plugins).flatMap(o=>o.languages??[]);return(Zo(u,t.language)??kr(u,t.physicalFile)??kr(u,t.file)??vr(u,t.physicalFile)??vr(u,t.file)??ea?.(u,t.physicalFile))?.parsers[0]}var st=ta;var ie={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(u=>ie.value(u)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(u=>`${ie.key(u)}: ${ie.value(e[u])}`).join(", ")} }`},pair:({key:e,value:t})=>ie.value({[e]:t})};var nu=new Proxy(String,{get:()=>nu}),$=nu,ou=()=>nu;var Rr=(e,t,{descriptor:u})=>{let r=[`${$.yellow(typeof e=="string"?u.key(e):u.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${$.blue(typeof t=="string"?u.key(t):u.pair(t))}`),r.join("; ")+"."};var Dt=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ae=Symbol.for("vnopts.VALUE_UNCHANGED");var Lr=" ".repeat(2),Yr=(e,t,u)=>{let{text:r,list:o}=u.normalizeExpectedResult(u.schemas[e].expected(u)),n=[];return r&&n.push(Mr(e,t,r,u.descriptor)),o&&n.push([Mr(e,t,o.title,u.descriptor)].concat(o.values.map(a=>jr(a,u.loggerPrintWidth))).join(` +`)),Ur(n,u.loggerPrintWidth)};function Mr(e,t,u,r){return[`Invalid ${$.red(r.key(e))} value.`,`Expected ${$.blue(u)},`,`but received ${t===Dt?$.gray("nothing"):$.red(r.value(t))}.`].join(" ")}function jr({text:e,list:t},u){let r=[];return e&&r.push(`- ${$.blue(e)}`),t&&r.push([`- ${$.blue(t.title)}:`].concat(t.values.map(o=>jr(o,u-Lr.length).replace(/^|\n/g,`$&${Lr}`))).join(` +`)),Ur(r,u)}function Ur(e,t){if(e.length===1)return e[0];let[u,r]=e,[o,n]=e.map(a=>a.split(` +`,1)[0].length);return o>t&&o>n?r:u}var _e=[],au=[];function ct(e,t,u){if(e===t)return 0;let r=u?.maxDistance,o=e;e.length>t.length&&(e=t,t=o);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let s=0;for(;sr)return r;if(n===0)return r!==void 0&&a>r?r:a;let i,D,f,l,d=0,c=0;for(;dD?l>D?D+1:l:l>f?f+1:l;if(r!==void 0){let p=D;for(d=0;dr)return r}}return _e.length=n,au.length=n,r!==void 0&&D>r?r:D}function Wr(e,t,u){if(!Array.isArray(t)||t.length===0)return;let r=u?.maxDistance,o=e.length;for(let i of t)if(i===e)return i;if(r===0)return;let n,a=Number.POSITIVE_INFINITY,s=new Set;for(let i of t){if(s.has(i))continue;s.add(i);let D=Math.abs(i.length-o);if(D>=a||r!==void 0&&D>r)continue;let f=Number.isFinite(a)?r===void 0?a:Math.min(a,r):r,l=f===void 0?ct(e,i):ct(e,i,{maxDistance:f});if(r!==void 0&&l>r)continue;let d=l;if(f!==void 0&&l===f&&f===r&&(d=ct(e,i)),dr))return n}var ft=(e,t,{descriptor:u,logger:r,schemas:o})=>{let n=[`Ignored unknown option ${$.yellow(u.pair({key:e,value:t}))}.`],a=Wr(e,Object.keys(o),{maxDistance:3});a&&n.push(`Did you mean ${$.blue(u.key(a))}?`),r.warn(n.join(" "))};var ua=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function ra(e,t){let u=new e(t),r=Object.create(u);for(let o of ua)o in t&&(r[o]=na(t[o],u,S.prototype[o].length));return r}var S=class{static create(t){return ra(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,u){return!1}deprecated(t,u){return!1}forward(t,u){}redirect(t,u){}overlap(t,u,r){return t}preprocess(t,u){return t}postprocess(t,u){return Ae}};function na(e,t,u){return typeof e=="function"?(...r)=>e(...r.slice(0,u-1),t,...r.slice(u-1)):()=>e}var lt=class extends S{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,u){return u.schemas[this._sourceName].validate(t,u)}redirect(t,u){return this._sourceName}};var dt=class extends S{expected(){return"anything"}validate(){return!0}};var pt=class extends S{constructor({valueSchema:t,name:u=t.name,...r}){super({...r,name:u}),this._valueSchema=t}expected(t){let{text:u,list:r}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:u&&`an array of ${u}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(t,u){if(!Array.isArray(t))return!1;let r=[];for(let o of t){let n=u.normalizeValidateResult(this._valueSchema.validate(o,u),o);n!==!0&&r.push(n.value)}return r.length===0?!0:{value:r}}deprecated(t,u){let r=[];for(let o of t){let n=u.normalizeDeprecatedResult(this._valueSchema.deprecated(o,u),o);n!==!1&&r.push(...n.map(({value:a})=>({value:[a]})))}return r}forward(t,u){let r=[];for(let o of t){let n=u.normalizeForwardResult(this._valueSchema.forward(o,u),o);r.push(...n.map($r))}return r}redirect(t,u){let r=[],o=[];for(let n of t){let a=u.normalizeRedirectResult(this._valueSchema.redirect(n,u),n);"remain"in a&&r.push(a.remain),o.push(...a.redirect.map($r))}return r.length===0?{redirect:o}:{redirect:o,remain:r}}overlap(t,u){return t.concat(u)}};function $r({from:e,to:t}){return{from:[e],to:t}}var Ft=class extends S{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};function Kr(e,t){let u=Object.create(null);for(let r of e){let o=r[t];if(u[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);u[o]=r}return u}function Gr(e,t){let u=new Map;for(let r of e){let o=r[t];if(u.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);u.set(o,r)}return u}function zr(){let e=Object.create(null);return t=>{let u=JSON.stringify(t);return e[u]?!0:(e[u]=!0,!1)}}function Jr(e,t){let u=[],r=[];for(let o of e)t(o)?u.push(o):r.push(o);return[u,r]}function Hr(e){return e===Math.floor(e)}function Xr(e,t){if(e===t)return 0;let u=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return u!==r?o.indexOf(u)-o.indexOf(r):u!=="string"?Number(e)-Number(t):e.localeCompare(t)}function qr(e){return(...t)=>{let u=e(...t);return typeof u=="string"?new Error(u):u}}function iu(e){return e===void 0?{}:e}function su(e){if(typeof e=="string")return{text:e};let{text:t,list:u}=e;return oa((t||u)!==void 0,"Unexpected `expected` result, there should be at least one field."),u?{text:t,list:{title:u.title,values:u.values.map(su)}}:{text:t}}function Du(e,t){return e===!0?!0:e===!1?{value:t}:e}function cu(e,t,u=!1){return e===!1?!1:e===!0?u?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Vr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function mt(e,t){return e===void 0?[]:Array.isArray(e)?e.map(u=>Vr(u,t)):[Vr(e,t)]}function fu(e,t){let u=mt(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return u.length===0?{remain:t,redirect:u}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:u}:{redirect:u}}function oa(e,t){if(!e)throw new Error(t)}var Et=class extends S{constructor(t){super(t),this._choices=Gr(t.choices.map(u=>u&&typeof u=="object"?u:{value:u}),"value")}expected({descriptor:t}){let u=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(Xr).map(t.value),r=u.slice(0,-2),o=u.slice(-2);return{text:r.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:u}}}validate(t){return this._choices.has(t)}deprecated(t){let u=this._choices.get(t);return u&&u.deprecated?{value:t}:!1}forward(t){let u=this._choices.get(t);return u?u.forward:void 0}redirect(t){let u=this._choices.get(t);return u?u.redirect:void 0}};var Ct=class extends S{expected(){return"a number"}validate(t,u){return typeof t=="number"}};var ht=class extends Ct{expected(){return"an integer"}validate(t,u){return u.normalizeValidateResult(super.validate(t,u),t)===!0&&Hr(t)}};var je=class extends S{expected(){return"a string"}validate(t){return typeof t=="string"}};var Qr=ie,Zr=ft,en=Yr,tn=Rr;var gt=class{constructor(t,u){let{logger:r=console,loggerPrintWidth:o=80,descriptor:n=Qr,unknown:a=Zr,invalid:s=en,deprecated:i=tn,missing:D=()=>!1,required:f=()=>!1,preprocess:l=c=>c,postprocess:d=()=>Ae}=u||{};this._utils={descriptor:n,logger:r||{warn:()=>{}},loggerPrintWidth:o,schemas:Kr(t,"name"),normalizeDefaultResult:iu,normalizeExpectedResult:su,normalizeDeprecatedResult:cu,normalizeForwardResult:mt,normalizeRedirectResult:fu,normalizeValidateResult:Du},this._unknownHandler=a,this._invalidHandler=qr(s),this._deprecatedHandler=i,this._identifyMissing=(c,p)=>!(c in p)||D(c,p),this._identifyRequired=f,this._preprocess=l,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=zr()}normalize(t){let u={},o=[this._preprocess(t,this._utils)],n=()=>{for(;o.length!==0;){let a=o.shift(),s=this._applyNormalization(a,u);o.push(...s)}};n();for(let a of Object.keys(this._utils.schemas)){let s=this._utils.schemas[a];if(!(a in u)){let i=iu(s.default(this._utils));"value"in i&&o.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in u))continue;let s=this._utils.schemas[a],i=u[a],D=s.postprocess(i,this._utils);D!==Ae&&(this._applyValidation(D,a,s),u[a]=D)}return this._applyPostprocess(u),this._applyRequiredCheck(u),u}_applyNormalization(t,u){let r=[],{knownKeys:o,unknownKeys:n}=this._partitionOptionKeys(t);for(let a of o){let s=this._utils.schemas[a],i=s.preprocess(t[a],this._utils);this._applyValidation(i,a,s);let D=({from:c,to:p})=>{r.push(typeof p=="string"?{[p]:c}:{[p.key]:p.value})},f=({value:c,redirectTo:p})=>{let F=cu(s.deprecated(c,this._utils),i,!0);if(F!==!1)if(F===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,p,this._utils));else for(let{value:C}of F){let y={key:a,value:C};if(!this._hasDeprecationWarned(y)){let m=typeof p=="string"?{key:p,value:C}:p;this._utils.logger.warn(this._deprecatedHandler(y,m,this._utils))}}};mt(s.forward(i,this._utils),i).forEach(D);let d=fu(s.redirect(i,this._utils),i);if(d.redirect.forEach(D),"remain"in d){let c=d.remain;u[a]=a in u?s.overlap(u[a],c,this._utils):c,f({value:c})}for(let{from:c,to:p}of d.redirect)f({value:c,redirectTo:p})}for(let a of n){let s=t[a];this._applyUnknownHandler(a,s,u,(i,D)=>{r.push({[i]:D})})}return r}_applyRequiredCheck(t){for(let u of Object.keys(this._utils.schemas))if(this._identifyMissing(u,t)&&this._identifyRequired(u))throw this._invalidHandler(u,Dt,this._utils)}_partitionOptionKeys(t){let[u,r]=Jr(Object.keys(t).filter(o=>!this._identifyMissing(o,t)),o=>o in this._utils.schemas);return{knownKeys:u,unknownKeys:r}}_applyValidation(t,u,r){let o=Du(r.validate(t,this._utils),t);if(o!==!0)throw this._invalidHandler(u,o.value,this._utils)}_applyUnknownHandler(t,u,r,o){let n=this._unknownHandler(t,u,this._utils);if(n)for(let a of Object.keys(n)){if(this._identifyMissing(a,n))continue;let s=n[a];a in this._utils.schemas?o(a,s):r[a]=s}}_applyPostprocess(t){let u=this._postprocess(t,this._utils);if(u!==Ae){if(u.delete)for(let r of u.delete)delete t[r];if(u.override){let{knownKeys:r,unknownKeys:o}=this._partitionOptionKeys(u.override);for(let n of r){let a=u.override[n];this._applyValidation(a,n,this._utils.schemas[n]),t[n]=a}for(let n of o){let a=u.override[n];this._applyUnknownHandler(n,a,t,(s,i)=>{let D=this._utils.schemas[s];this._applyValidation(i,s,D),t[s]=i})}}}}};var lu;function ia(e,t,{logger:u=!1,isCLI:r=!1,passThrough:o=!1,FlagSchema:n,descriptor:a}={}){if(r){if(!n)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=ie;let s=o?Array.isArray(o)?(d,c)=>o.includes(d)?{[d]:c}:void 0:(d,c)=>({[d]:c}):(d,c,p)=>{let{_:F,...C}=p.schemas;return ft(d,c,{...p,schemas:C})},i=sa(t,{isCLI:r,FlagSchema:n}),D=new gt(i,{logger:u,unknown:s,descriptor:a}),f=u!==!1;f&&lu&&(D._hasDeprecationWarned=lu);let l=D.normalize(e);return f&&(lu=D._hasDeprecationWarned),l}function sa(e,{isCLI:t,FlagSchema:u}){let r=[];t&&r.push(dt.create({name:"_"}));for(let o of e)r.push(Da(o,{isCLI:t,optionInfos:e,FlagSchema:u})),o.alias&&t&&r.push(lt.create({name:o.alias,sourceName:o.name}));return r}function Da(e,{isCLI:t,optionInfos:u,FlagSchema:r}){let{name:o}=e,n={name:o},a,s={};switch(e.type){case"int":a=ht,t&&(n.preprocess=Number);break;case"string":a=je;break;case"choice":a=Et,n.choices=e.choices.map(i=>i?.redirect?{...i,redirect:{to:{key:e.name,value:i.redirect}}}:i);break;case"boolean":a=Ft;break;case"flag":a=r,n.flags=u.flatMap(i=>[i.alias,i.description&&i.name,i.oppositeDescription&&`no-${i.name}`].filter(Boolean));break;case"path":a=je;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?n.validate=(i,D,f)=>e.exception(i)||D.validate(i,f):n.validate=(i,D,f)=>i===void 0||D.validate(i,f),e.redirect&&(s.redirect=i=>i?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let i=n.preprocess||(D=>D);n.preprocess=(D,f,l)=>f.preprocess(i(Array.isArray(D)?b(0,D,-1):D),l)}return e.array?pt.create({...t?{preprocess:i=>Array.isArray(i)?i:[i]}:{},...s,valueSchema:a.create(n)}):a.create({...n,...s})}var un=ia;var ca=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return u}},fa=X("findLast",function(){if(Array.isArray(this))return ca}),du=fa;var rn=Symbol.for("PRETTIER_IS_FRONT_MATTER"),pu=[];function la(e){return!!e?.[rn]}var de=la;var nn=new Set(["yaml","toml"]),Ue=({node:e})=>de(e)&&nn.has(e.language);async function Fu(e,t,u,r){let{node:o}=u,{language:n}=o;if(!nn.has(n))return;let a=o.value.trim(),s;if(a){let i=n==="yaml"?n:st(r,{language:n});if(!i)return;s=a?await e(a,{parser:i}):""}else s=a;return et([o.startDelimiter,o.explicitLanguage??"",V,s,s?V:"",o.endDelimiter])}function da(e,t){return Ue({node:e})&&(delete t.end,delete t.raw,delete t.value),t}var mu=da;function pa({node:e}){return e.raw}var Eu=pa;var on=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Fa=e=>Object.keys(e).filter(t=>!on.has(t));function ma(e,t){let u=e?r=>e(r,on):Fa;return t?new Proxy(u,{apply:(r,o,n)=>de(n[0])?pu:Reflect.apply(r,o,n)}):u}var Cu=ma;function gu(e,t){if(!t)throw new Error("parserName is required.");let u=du(0,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(u)return u;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Me(r)}function an(e,t){if(!t)throw new Error("astFormat is required.");let u=du(0,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(u)return u;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Me(r)}function We({plugins:e,parser:t}){let u=gu(e,t);return yu(u,t)}function yu(e,t){let u=e.parsers[t];return typeof u=="function"?u():u}async function sn(e,t){let u=e.printers[t],r=typeof u=="function"?await u():u;return Ea(r)}var hu=new WeakMap,q0=Symbol("PRINTER_NORMALIZED_MARK");function Ea(e){if(hu.has(e))return hu.get(e);let{features:t,getVisitorKeys:u,embed:r,massageAstNode:o,print:n,...a}=e;t=ya(t);let s=t.experimental_frontMatterSupport;u=Cu(u,s.massageAstNode||s.embed||s.print);let i=o;o&&s.massageAstNode&&(i=new Proxy(o,{apply(d,c,p){return mu(...p),Reflect.apply(d,c,p)}}));let D=r;if(r){let d;D=new Proxy(r,{get(c,p,F){return p==="getVisitorKeys"?(d??(d=r.getVisitorKeys?Cu(r.getVisitorKeys,s.massageAstNode||s.embed):u),d):Reflect.get(c,p,F)},apply:(c,p,F)=>s.embed&&Ue(...F)?Fu:Reflect.apply(c,p,F)})}let f=n;s.print&&(f=new Proxy(n,{apply(d,c,p){let[F]=p;return de(F.node)?Eu(F):Reflect.apply(d,c,p)}}));let l={features:t,getVisitorKeys:u,embed:D,massageAstNode:i,print:f,...a};return hu.set(e,l),l}var Ca=["clean","embed","print"],ha=Object.fromEntries(Ca.map(e=>[e,!1]));function ga(e){return{...ha,...e}}function ya(e){return{experimental_avoidAstMutation:!1,...e,experimental_frontMatterSupport:ga(e?.experimental_frontMatterSupport)}}var Dn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};async function ba(e,t={}){let u={...e};if(!u.parser)if(u.filepath){if(u.parser=st(u,{physicalFile:u.filepath}),!u.parser)throw new Ye(`No parser could be inferred for file "${u.filepath}".`)}else throw new Ye("No parser and no file path given, couldn't infer a parser.");let r=it({plugins:e.plugins,showDeprecated:!0}).options,o={...Dn,...Object.fromEntries(r.filter(l=>l.default!==void 0).map(l=>[l.name,l.default]))},n=gu(u.plugins,u.parser),a=await yu(n,u.parser);u.astFormat=a.astFormat,u.locEnd=a.locEnd,u.locStart=a.locStart;let s=n.printers?.[a.astFormat]?n:an(u.plugins,a.astFormat),i=await sn(s,a.astFormat);u.printer=i,u.getVisitorKeys=i.getVisitorKeys;let D=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,l])=>l!==void 0)):{},f={...o,...D};for(let[l,d]of Object.entries(f))(u[l]===null||u[l]===void 0)&&(u[l]=d);return u.parser==="json"&&(u.trailingComma="none"),un(u,r,{passThrough:Object.keys(Dn),...t})}var se=ba;var pf=ao(dn(),1);var Au="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",pn="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",af=new RegExp("["+Au+"]"),sf=new RegExp("["+Au+pn+"]");Au=pn=null;var _u={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Df=new Set(_u.keyword),cf=new Set(_u.strict),ff=new Set(_u.strictBind);var It=(e,t)=>u=>e(t(u));function mn(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:It(It(e.white,e.bgRed),e.bold),gutter:e.gray,marker:It(e.red,e.bold),message:It(e.red,e.bold),reset:e.reset}}var hf=mn(ou(!0)),gf=mn(ou(!1));function _a(){return new Proxy({},{get:()=>e=>e})}var Fn=/\r\n|[\n\r\u2028\u2029]/;function xa(e,t,u){let r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:n=2,linesBelow:a=3}=u||{},s=r.line,i=r.column,D=o.line,f=o.column,l=Math.max(s-(n+1),0),d=Math.min(t.length,D+a);s===-1&&(l=0),D===-1&&(d=t.length);let c=D-s,p={};if(c)for(let F=0;F<=c;F++){let C=F+s;if(!i)p[C]=!0;else if(F===0){let y=t[C-1].length;p[C]=[i,y-i+1]}else if(F===c)p[C]=[0,f];else{let y=t[C-F].length;p[C]=[0,y]}}else i===f?i?p[s]=[i,0]:p[s]=!0:p[s]=[i,f-i];return{start:l,end:d,markerLines:p}}function En(e,t,u={}){let o=_a(!1),n=e.split(Fn),{start:a,end:s,markerLines:i}=xa(t,n,u),D=t.start&&typeof t.start.column=="number",f=String(s).length,d=e.split(Fn,s).slice(a,s).map((c,p)=>{let F=a+1+p,y=` ${` ${F}`.slice(-f)} |`,m=i[F],h=!i[F+1];if(m){let E="";if(Array.isArray(m)){let g=c.slice(0,Math.max(m[0]-1,0)).replace(/[^\t]/g," "),A=m[1]||1;E=[` + `,o.gutter(y.replace(/\d/g," "))," ",g,o.marker("^").repeat(A)].join(""),h&&u.message&&(E+=" "+o.message(u.message))}return[o.marker(">"),o.gutter(y),c.length>0?` ${c}`:"",E].join("")}else return` ${o.gutter(y)}${c.length>0?` ${c}`:""}`}).join(` +`);return u.message&&!D&&(d=`${" ".repeat(f+1)}${u.message} +${d}`),d}async function Ba(e,t){let u=await We(t),r=u.preprocess?await u.preprocess(e,t):e;t.originalText=r;let o;try{o=await u.parse(r,t,t)}catch(n){Ta(n,e)}return{text:r,ast:o}}function Ta(e,t){let{loc:u}=e;if(u){let r=En(t,u,{highlightCode:!0});throw e.message+=` +`+r,e.codeFrame=r,e}throw e}var Fe=Ba;async function Cn(e,t,u,r,o){if(u.embeddedLanguageFormatting!=="auto")return;let{printer:n}=u,{embed:a}=n;if(!a)return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed");let{hasPrettierIgnore:s}=n,{getVisitorKeys:i}=a,D=[];d();let f=e.stack;for(let{print:c,node:p,pathStack:F}of D)try{e.stack=F;let C=await c(l,t,e,u);C&&o.set(p,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=f;function l(c,p){return Na(c,p,u,r)}function d(){let{node:c}=e;if(c===null||typeof c!="object"||s?.(e))return;for(let F of i(c))Array.isArray(c[F])?e.each(d,F):e.call(d,F);let p=a(e,u);if(p){if(typeof p=="function"){D.push({print:p,node:c,pathStack:[...e.stack]});return}o.set(c,p)}}}async function Na(e,t,u,r){let o=await se({...u,...t,parentParser:u.parser,originalText:e,cursorOffset:void 0,rangeStart:void 0,rangeEnd:void 0},{passThrough:!0}),{ast:n}=await Fe(e,o),a=await r(n,o);return qe(a)}function Sa(e,t,u,r){let{originalText:o,[Symbol.for("comments")]:n,locStart:a,locEnd:s,[Symbol.for("printedComments")]:i}=t,{node:D}=e,f=a(D),l=s(D);for(let c of n)a(c)>=f&&s(c)<=l&&i.add(c);let{printPrettierIgnored:d}=t.printer;return d?d(e,t,u,r):o.slice(f,l)}var hn=Sa;async function Ge(e,t){({ast:e}=await xu(e,t));let u=new Map,r=new pr(e),o=Nr(t),n=new Map;await Cn(r,s,t,Ge,n);let a=await gn(r,t,s,void 0,n);if(Tr(t),t.cursorOffset>=0){if(t.nodeAfterCursor&&!t.nodeBeforeCursor)return[ee,a];if(t.nodeBeforeCursor&&!t.nodeAfterCursor)return[a,ee]}return a;function s(D,f){return D===void 0||D===r?i(f):Array.isArray(D)?r.call(()=>i(f),...D):r.call(()=>i(f),D)}function i(D){o(r);let f=r.node;if(f==null)return"";let l=ge(f)&&D===void 0;if(l&&u.has(f))return u.get(f);let d=gn(r,t,s,D,n);return l&&u.set(f,d),d}}function gn(e,t,u,r,o){let{node:n}=e,{printer:a}=t,s;switch(a.hasPrettierIgnore?.(e)?s=hn(e,t,u,r):o.has(n)?s=o.get(n):s=a.print(e,t,u,r),n){case t.cursorNode:s=Ee(s,i=>[ee,i,ee]);break;case t.nodeBeforeCursor:s=Ee(s,i=>[i,ee]);break;case t.nodeAfterCursor:s=Ee(s,i=>[ee,i]);break}return a.printComment&&!a.willPrintOwnComments?.(e,t)&&(s=Br(e,s,t)),s}async function xu(e,t){let u=e.comments??[];t[Symbol.for("comments")]=u,t[Symbol.for("printedComments")]=new Set,Ar(e,t);let{printer:{preprocess:r}}=t;return e=r?await r(e,t):e,{ast:e,comments:u}}function wa(e,t){let{cursorOffset:u,locStart:r,locEnd:o,getVisitorKeys:n}=t,a=c=>r(c)<=u&&o(c)>=u,s=e,i=[e];for(let c of Cr(e,{getVisitorKeys:n,filter:a}))i.push(c),s=c;if(hr(s,{getVisitorKeys:n}))return{cursorNode:s};let D,f,l=-1,d=Number.POSITIVE_INFINITY;for(;i.length>0&&(D===void 0||f===void 0);){s=i.pop();let c=D!==void 0,p=f!==void 0;for(let F of be(s,{getVisitorKeys:n})){if(!c){let C=o(F);C<=u&&C>l&&(D=F,l=C)}if(!p){let C=r(F);C>=u&&Ca(d,i)).filter(Boolean);let D={},f=new Set(o(s));for(let d in s)!Object.prototype.hasOwnProperty.call(s,d)||n?.has(d)||(f.has(d)?D[d]=a(s[d],s):D[d]=s[d]);let l=r(s,D,i);if(l!==null)return l??D}}var yn=Oa;var Pa=Array.prototype.findLastIndex??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return t}return-1},Ia=X("findLastIndex",function(){if(Array.isArray(this))return Pa}),bn=Ia;var ka=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function va(e,t){return t=new Set(t),e.find(u=>xn.has(u.type)&&t.has(u))}function An(e){let t=bn(0,e,u=>u.type!=="Program"&&u.type!=="File");return t===-1?e:e.slice(0,t+1)}function Ra(e,t,{locStart:u,locEnd:r}){let[o,...n]=e,[a,...s]=t;if(o===a)return[o,a];let i=u(o);for(let f of An(s))if(u(f)>=i)a=f;else break;let D=r(a);for(let f of An(n)){if(r(f)<=D)o=f;else break;if(o===a)break}return[o,a]}function Tu(e,t,u,r,o=[],n){let{locStart:a,locEnd:s}=u,i=a(e),D=s(e);if(t>D||tr);let s=e.slice(r,o).search(/\S/u),i=s===-1;if(!i)for(r+=s;o>r&&!/\S/u.test(e[o-1]);--o);let D=Tu(u,r,t,(c,p)=>_n(t,c,p),[],"rangeStart");if(!D)return;let f=i?D:Tu(u,o,t,c=>_n(t,c),[],"rangeEnd");if(!f)return;let l,d;if(ka(t)){let c=va(D,f);l=c,d=c}else[l,d]=Ra(D,f,t);return[Math.min(n(l),n(d)),Math.max(a(l),a(d))]}var wn="\uFEFF",Tn=Symbol("cursor");async function On(e,t,u=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:o}=await Fe(e,t);t.cursorOffset>=0&&(t={...t,...Bu(r,t)});let n=await Ge(r,t,u);u>0&&(n=tt([V,n],u,t.tabWidth));let a=Ce(n,t);if(u>0){let i=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(i),a.cursorNodeStart<0&&(a.cursorNodeStart=0,a.cursorNodeText=a.cursorNodeText.trimStart()),a.cursorNodeStart+a.cursorNodeText.length>i.length&&(a.cursorNodeText=a.cursorNodeText.trimEnd())),a.formatted=i+Se(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let i,D,f,l;if((t.cursorNode||t.nodeBeforeCursor||t.nodeAfterCursor)&&a.cursorNodeText)if(f=a.cursorNodeStart,l=a.cursorNodeText,t.cursorNode)i=t.locStart(t.cursorNode),D=o.slice(i,t.locEnd(t.cursorNode));else{if(!t.nodeBeforeCursor&&!t.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");i=t.nodeBeforeCursor?t.locEnd(t.nodeBeforeCursor):0;let y=t.nodeAfterCursor?t.locStart(t.nodeAfterCursor):o.length;D=o.slice(i,y)}else i=0,D=o,f=0,l=a.formatted;let d=t.cursorOffset-i;if(D===l)return{formatted:a.formatted,cursorOffset:f+d,comments:s};let c=D.split("");c.splice(d,0,Tn);let p=l.split(""),F=Ut(c,p),C=f;for(let y of F)if(y.removed){if(y.value.includes(Tn))break}else C+=y.count;return{formatted:a.formatted,cursorOffset:C,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function Ya(e,t){let{ast:u,text:r}=await Fe(e,t),[o,n]=Bn(r,t,u)??[0,0],a=r.slice(o,n),s=Math.min(o,r.lastIndexOf(` +`,o)+1),i=r.slice(s,o).match(/^\s*/u)[0],D=he(i,t.tabWidth),f=await On(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=n?t.cursorOffset-o:-1,endOfLine:"lf"},D),l=f.formatted.trimEnd(),{cursorOffset:d}=t;d>n?d+=l.length-a.length:f.cursorOffset>=0&&(d=f.cursorOffset+o);let c=r.slice(0,o)+l+r.slice(n);if(t.endOfLine!=="lf"){let p=Se(t.endOfLine);d>=0&&p===`\r +`&&(d+=$t(c.slice(0,d),` +`)),c=oe(0,c,` +`,p)}return{formatted:c,cursorOffset:d,comments:f.comments}}function Nu(e,t,u){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?u:t}function Nn(e,t){let{cursorOffset:u,rangeStart:r,rangeEnd:o}=t;return u=Nu(e,u,-1),r=Nu(e,r,0),o=Nu(e,o,e.length),{...t,cursorOffset:u,rangeStart:r,rangeEnd:o}}function Pn(e,t){let{cursorOffset:u,rangeStart:r,rangeEnd:o,endOfLine:n}=Nn(e,t),a=e.charAt(0)===wn;if(a&&(e=e.slice(1),u--,r--,o--),n==="auto"&&(n=Yu(e)),e.includes("\r")){let s=i=>$t(e.slice(0,Math.max(i,0)),`\r +`);u-=s(u),r-=s(r),o-=s(o),e=ju(e)}return{hasBOM:a,text:e,options:Nn(e,{...t,cursorOffset:u,rangeStart:r,rangeEnd:o,endOfLine:n})}}async function Sn(e,t){let u=await We(t);return!u.hasPragma||u.hasPragma(e)}async function ja(e,t){return(await We(t)).hasIgnorePragma?.(e)}async function Su(e,t){let{hasBOM:u,text:r,options:o}=Pn(e,await se(t));if(o.rangeStart>=o.rangeEnd&&r!==""||o.requirePragma&&!await Sn(r,o)||o.checkIgnorePragma&&await ja(r,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let n;return o.rangeStart>0||o.rangeEnd=0&&n.cursorOffset++),n}async function In(e,t,u){let{text:r,options:o}=Pn(e,await se(t)),n=await Fe(r,o);return u&&(u.preprocessForPrint&&(n.ast=await xu(n.ast,o)),u.massage&&(n.ast=yn(n.ast,o))),n}async function kn(e,t){t=await se(t);let u=await Ge(e,t);return Ce(u,t)}async function vn(e,t){let u=sr(e),{formatted:r}=await Su(u,{...t,parser:"__js_expression"});return r}async function Rn(e,t){t=await se(t);let{ast:u}=await Fe(e,t);return t.cursorOffset>=0&&(t={...t,...Bu(u,t)}),Ge(u,t)}async function Ln(e,t){return Ce(e,await se(t))}var wu={};Yt(wu,{builders:()=>Wa,printer:()=>$a,utils:()=>Va});var Wa={join:Ie,line:ut,softline:or,hardline:V,literalline:Qe,group:Kt,conditionalGroup:tr,fill:er,lineSuffix:ve,lineSuffixBoundary:ar,cursor:ee,breakParent:ce,ifBreak:ur,trim:ir,indent:ae,indentIfBreak:rr,align:De,addAlignmentToDoc:tt,markAsRoot:et,dedentToRoot:Qu,dedent:Zu,hardlineWithoutBreakParent:ke,literallineWithoutBreakParent:Gt,label:nr,concat:e=>e},$a={printDocToString:Ce},Va={willBreak:Ku,traverseDoc:we,findInDoc:Xe,mapDoc:Pe,removeLines:zu,stripTrailingHardline:qe,replaceEndOfLine:Ju,canBreak:Hu};var Mn="3.8.3";var Pu={};Yt(Pu,{addDanglingComment:()=>ue,addLeadingComment:()=>fe,addTrailingComment:()=>le,getAlignmentSize:()=>he,getIndentSize:()=>Yn,getMaxContinuousCount:()=>jn,getNextNonSpaceNonCommentCharacter:()=>Un,getNextNonSpaceNonCommentCharacterIndex:()=>ni,getPreferredQuote:()=>Vn,getStringWidth:()=>Re,hasNewline:()=>z,hasNewlineInRange:()=>Kn,hasSpaces:()=>Gn,isNextLineEmpty:()=>Di,isNextLineEmptyAfterIndex:()=>kt,isPreviousLineEmpty:()=>ai,makeString:()=>si,skip:()=>ye,skipEverythingButNewLine:()=>ot,skipInlineComment:()=>xe,skipNewline:()=>K,skipSpaces:()=>Y,skipToLineEnd:()=>nt,skipTrailingComment:()=>Be,skipWhitespace:()=>Fr});function Ka(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let u=t+2;uMath.max(r,o.length),0)/t.length}var jn=Xa;function qa(e,t){let u=ze(e,t);return u===!1?"":e.charAt(u)}var Un=qa;var Wn=Object.freeze({character:"'",codePoint:39}),$n=Object.freeze({character:'"',codePoint:34}),Qa=Object.freeze({preferred:Wn,alternate:$n}),Za=Object.freeze({preferred:$n,alternate:Wn});function ei(e,t){let{preferred:u,alternate:r}=t===!0||t==="'"?Qa:Za,{length:o}=e,n=0,a=0;for(let s=0;sa?r:u).character}var Vn=ei;function ti(e,t,u){for(let r=t;rs===r?s:i===t?"\\"+i:i||(u&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+n+t}function Di(e,t){return arguments.length===2||typeof t=="number"?kt(e,t):ii(...arguments)}function me(e,t=1){return async(...u)=>{let r=u[t]??{},o=r.plugins??[];return u[t]={...r,plugins:Array.isArray(o)?o:Object.values(o)},e(...u)}}var zn=me(Su);async function Jn(e,t){let{formatted:u}=await zn(e,{...t,cursorOffset:-1});return u}async function ci(e,t){return await Jn(e,t)===e}var fi=me(it,0),li={parse:me(In),formatAST:me(kn),formatDoc:me(vn),printToDoc:me(Rn),printDocToString:me(Ln)};export{li as __debug,ci as check,Hn as default,wu as doc,Jn as format,zn as formatWithCursor,fi as getSupportInfo,Pu as util,Mn as version}; diff --git a/shared/node_modules/rolldown/LICENSE b/shared/node_modules/rolldown/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..afc0cdbabfb99ed4030bf9be2b852977f1ed72a0 --- /dev/null +++ b/shared/node_modules/rolldown/LICENSE @@ -0,0 +1,25 @@ +MIT License + +Copyright (c) 2024-present VoidZero Inc. & Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +end of terms and conditions + +The licenses of externally maintained libraries from which parts of the Software is derived are listed [here](https://github.com/rolldown/rolldown/blob/main/THIRD-PARTY-LICENSE). diff --git a/shared/node_modules/rolldown/README.md b/shared/node_modules/rolldown/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e1c9c293bbf6fc4eda0f00ca826960deb58dec5c --- /dev/null +++ b/shared/node_modules/rolldown/README.md @@ -0,0 +1,11 @@ +# Rolldown + +> Fast Rust-based bundler for JavaScript with Rollup-compatible API + +- ⚡️ Lightning Fast Performance +- 🔌 Rollup-Compatible APIs +- ⏩ esbuild Feature Parity + +Rolldown is primarily designed to serve as the underlying bundler in [Vite](https://vite.dev/), with the goal to replace esbuild and Rollup with one unified build tool. Although designed for Vite, Rolldown is also fully capable of being used as a standalone, general-purpose bundler. It can serve as a drop-in replacement for Rollup in most cases, and can also be used as an esbuild alternative when better chunking control is needed. + +[Read the Docs to Learn More](https://rolldown.rs). diff --git a/shared/node_modules/rolldown/bin/cli.mjs b/shared/node_modules/rolldown/bin/cli.mjs new file mode 100644 index 0000000000000000000000000000000000000000..814234a5ca3ad686aa259095d82e9212195b9664 --- /dev/null +++ b/shared/node_modules/rolldown/bin/cli.mjs @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import '../dist/cli.mjs'; diff --git a/shared/node_modules/rolldown/dist/cli.d.mts b/shared/node_modules/rolldown/dist/cli.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..619fbdd604fbee4c44b0f702136d170241eeba2a --- /dev/null +++ b/shared/node_modules/rolldown/dist/cli.d.mts @@ -0,0 +1 @@ +export { }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/cli.mjs b/shared/node_modules/rolldown/dist/cli.mjs new file mode 100644 index 0000000000000000000000000000000000000000..9e1d34426e10c777e609ebb84cef0b0297666815 --- /dev/null +++ b/shared/node_modules/rolldown/dist/cli.mjs @@ -0,0 +1,1191 @@ +import { n as onExit, t as watch } from "./shared/watch-eT_pxdfY.mjs"; +import { C as version, S as description } from "./shared/bindingify-input-options-B7_WBoOp.mjs"; +import { t as arraify } from "./shared/misc-CoQm4NHO.mjs"; +import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-abS241_6.mjs"; +import { t as rolldown } from "./shared/rolldown-Bkyb2CgX.mjs"; +import { t as loadConfig } from "./shared/load-config-BDGEgD4M.mjs"; +import path from "node:path"; +import process$1 from "node:process"; +import { performance } from "node:perf_hooks"; +//#region ../../node_modules/.pnpm/cac@7.0.0/node_modules/cac/dist/index.js +function toArr(any) { + return any == null ? [] : Array.isArray(any) ? any : [any]; +} +function toVal(out, key, val, opts) { + var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? "" : String(val) : typeof val === "boolean" ? val : !!~opts.boolean.indexOf(key) ? val === "false" ? false : val === "true" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val; + out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [old, nxt]; +} +function lib_default(args, opts) { + args = args || []; + opts = opts || {}; + var k, arr, arg, name, val, out = { _: [] }; + var i = 0, j = 0, idx = 0, len = args.length; + const alibi = opts.alias !== void 0; + const strict = opts.unknown !== void 0; + const defaults = opts.default !== void 0; + opts.alias = opts.alias || {}; + opts.string = toArr(opts.string); + opts.boolean = toArr(opts.boolean); + if (alibi) for (k in opts.alias) { + arr = opts.alias[k] = toArr(opts.alias[k]); + for (i = 0; i < arr.length; i++) (opts.alias[arr[i]] = arr.concat(k)).splice(i, 1); + } + for (i = opts.boolean.length; i-- > 0;) { + arr = opts.alias[opts.boolean[i]] || []; + for (j = arr.length; j-- > 0;) opts.boolean.push(arr[j]); + } + for (i = opts.string.length; i-- > 0;) { + arr = opts.alias[opts.string[i]] || []; + for (j = arr.length; j-- > 0;) opts.string.push(arr[j]); + } + if (defaults) for (k in opts.default) { + name = typeof opts.default[k]; + arr = opts.alias[k] = opts.alias[k] || []; + if (opts[name] !== void 0) { + opts[name].push(k); + for (i = 0; i < arr.length; i++) opts[name].push(arr[i]); + } + } + const keys = strict ? Object.keys(opts.alias) : []; + for (i = 0; i < len; i++) { + arg = args[i]; + if (arg === "--") { + out._ = out._.concat(args.slice(++i)); + break; + } + for (j = 0; j < arg.length; j++) if (arg.charCodeAt(j) !== 45) break; + if (j === 0) out._.push(arg); + else if (arg.substring(j, j + 3) === "no-") { + name = arg.substring(j + 3); + if (strict && !~keys.indexOf(name)) return opts.unknown(arg); + out[name] = false; + } else { + for (idx = j + 1; idx < arg.length; idx++) if (arg.charCodeAt(idx) === 61) break; + name = arg.substring(j, idx); + val = arg.substring(++idx) || i + 1 === len || ("" + args[i + 1]).charCodeAt(0) === 45 || args[++i]; + arr = j === 2 ? [name] : name; + for (idx = 0; idx < arr.length; idx++) { + name = arr[idx]; + if (strict && !~keys.indexOf(name)) return opts.unknown("-".repeat(j) + name); + toVal(out, name, idx + 1 < arr.length || val, opts); + } + } + } + if (defaults) { + for (k in opts.default) if (out[k] === void 0) out[k] = opts.default[k]; + } + if (alibi) for (k in out) { + arr = opts.alias[k] || []; + while (arr.length > 0) out[arr.shift()] = out[k]; + } + return out; +} +function removeBrackets(v) { + return v.replace(/[<[].+/, "").trim(); +} +function findAllBrackets(v) { + const ANGLED_BRACKET_RE_GLOBAL = /<([^>]+)>/g; + const SQUARE_BRACKET_RE_GLOBAL = /\[([^\]]+)\]/g; + const res = []; + const parse = (match) => { + let variadic = false; + let value = match[1]; + if (value.startsWith("...")) { + value = value.slice(3); + variadic = true; + } + return { + required: match[0].startsWith("<"), + value, + variadic + }; + }; + let angledMatch; + while (angledMatch = ANGLED_BRACKET_RE_GLOBAL.exec(v)) res.push(parse(angledMatch)); + let squareMatch; + while (squareMatch = SQUARE_BRACKET_RE_GLOBAL.exec(v)) res.push(parse(squareMatch)); + return res; +} +function getMriOptions(options) { + const result = { + alias: {}, + boolean: [] + }; + for (const [index, option] of options.entries()) { + if (option.names.length > 1) result.alias[option.names[0]] = option.names.slice(1); + if (option.isBoolean) if (option.negated) { + if (!options.some((o, i) => { + return i !== index && o.names.some((name) => option.names.includes(name)) && typeof o.required === "boolean"; + })) result.boolean.push(option.names[0]); + } else result.boolean.push(option.names[0]); + } + return result; +} +function findLongest(arr) { + return arr.sort((a, b) => { + return a.length > b.length ? -1 : 1; + })[0]; +} +function padRight(str, length) { + return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`; +} +function camelcase(input) { + return input.replaceAll(/([a-z])-([a-z])/g, (_, p1, p2) => { + return p1 + p2.toUpperCase(); + }); +} +function setDotProp(obj, keys, val) { + let current = obj; + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (i === keys.length - 1) { + current[key] = val; + return; + } + if (current[key] == null) { + const nextKeyIsArrayIndex = +keys[i + 1] > -1; + current[key] = nextKeyIsArrayIndex ? [] : {}; + } + current = current[key]; + } +} +function setByType(obj, transforms) { + for (const key of Object.keys(transforms)) { + const transform = transforms[key]; + if (transform.shouldTransform) { + obj[key] = [obj[key]].flat(); + if (typeof transform.transformFunction === "function") obj[key] = obj[key].map(transform.transformFunction); + } + } +} +function getFileName(input) { + const m = /([^\\/]+)$/.exec(input); + return m ? m[1] : ""; +} +function camelcaseOptionName(name) { + return name.split(".").map((v, i) => { + return i === 0 ? camelcase(v) : v; + }).join("."); +} +var CACError = class extends Error { + constructor(message) { + super(message); + this.name = "CACError"; + if (typeof Error.captureStackTrace !== "function") this.stack = new Error(message).stack; + } +}; +var Option = class { + rawName; + description; + /** Option name */ + name; + /** Option name and aliases */ + names; + isBoolean; + required; + config; + negated; + constructor(rawName, description, config) { + this.rawName = rawName; + this.description = description; + this.config = Object.assign({}, config); + rawName = rawName.replaceAll(".*", ""); + this.negated = false; + this.names = removeBrackets(rawName).split(",").map((v) => { + let name = v.trim().replace(/^-{1,2}/, ""); + if (name.startsWith("no-")) { + this.negated = true; + name = name.replace(/^no-/, ""); + } + return camelcaseOptionName(name); + }).sort((a, b) => a.length > b.length ? 1 : -1); + this.name = this.names.at(-1); + if (this.negated && this.config.default == null) this.config.default = true; + if (rawName.includes("<")) this.required = true; + else if (rawName.includes("[")) this.required = false; + else this.isBoolean = true; + } +}; +let runtimeProcessArgs; +let runtimeInfo; +if (typeof process !== "undefined") { + let runtimeName; + if (typeof Deno !== "undefined" && typeof Deno.version?.deno === "string") runtimeName = "deno"; + else if (typeof Bun !== "undefined" && typeof Bun.version === "string") runtimeName = "bun"; + else runtimeName = "node"; + runtimeInfo = `${process.platform}-${process.arch} ${runtimeName}-${process.version}`; + runtimeProcessArgs = process.argv; +} else if (typeof navigator === "undefined") runtimeInfo = `unknown`; +else runtimeInfo = `${navigator.platform} ${navigator.userAgent}`; +var Command = class { + rawName; + description; + config; + cli; + options; + aliasNames; + name; + args; + commandAction; + usageText; + versionNumber; + examples; + helpCallback; + globalCommand; + constructor(rawName, description, config = {}, cli) { + this.rawName = rawName; + this.description = description; + this.config = config; + this.cli = cli; + this.options = []; + this.aliasNames = []; + this.name = removeBrackets(rawName); + this.args = findAllBrackets(rawName); + this.examples = []; + } + usage(text) { + this.usageText = text; + return this; + } + allowUnknownOptions() { + this.config.allowUnknownOptions = true; + return this; + } + ignoreOptionDefaultValue() { + this.config.ignoreOptionDefaultValue = true; + return this; + } + version(version, customFlags = "-v, --version") { + this.versionNumber = version; + this.option(customFlags, "Display version number"); + return this; + } + example(example) { + this.examples.push(example); + return this; + } + /** + * Add a option for this command + * @param rawName Raw option name(s) + * @param description Option description + * @param config Option config + */ + option(rawName, description, config) { + const option = new Option(rawName, description, config); + this.options.push(option); + return this; + } + alias(name) { + this.aliasNames.push(name); + return this; + } + action(callback) { + this.commandAction = callback; + return this; + } + /** + * Check if a command name is matched by this command + * @param name Command name + */ + isMatched(name) { + return this.name === name || this.aliasNames.includes(name); + } + get isDefaultCommand() { + return this.name === "" || this.aliasNames.includes("!"); + } + get isGlobalCommand() { + return this instanceof GlobalCommand; + } + /** + * Check if an option is registered in this command + * @param name Option name + */ + hasOption(name) { + name = name.split(".")[0]; + return this.options.find((option) => { + return option.names.includes(name); + }); + } + outputHelp() { + const { name, commands } = this.cli; + const { versionNumber, options: globalOptions, helpCallback } = this.cli.globalCommand; + let sections = [{ body: `${name}${versionNumber ? `/${versionNumber}` : ""}` }]; + sections.push({ + title: "Usage", + body: ` $ ${name} ${this.usageText || this.rawName}` + }); + if ((this.isGlobalCommand || this.isDefaultCommand) && commands.length > 0) { + const longestCommandName = findLongest(commands.map((command) => command.rawName)); + sections.push({ + title: "Commands", + body: commands.map((command) => { + return ` ${padRight(command.rawName, longestCommandName.length)} ${command.description}`; + }).join("\n") + }, { + title: `For more info, run any command with the \`--help\` flag`, + body: commands.map((command) => ` $ ${name}${command.name === "" ? "" : ` ${command.name}`} --help`).join("\n") + }); + } + let options = this.isGlobalCommand ? globalOptions : [...this.options, ...globalOptions || []]; + if (!this.isGlobalCommand && !this.isDefaultCommand) options = options.filter((option) => option.name !== "version"); + if (options.length > 0) { + const longestOptionName = findLongest(options.map((option) => option.rawName)); + sections.push({ + title: "Options", + body: options.map((option) => { + return ` ${padRight(option.rawName, longestOptionName.length)} ${option.description} ${option.config.default === void 0 ? "" : `(default: ${option.config.default})`}`; + }).join("\n") + }); + } + if (this.examples.length > 0) sections.push({ + title: "Examples", + body: this.examples.map((example) => { + if (typeof example === "function") return example(name); + return example; + }).join("\n") + }); + if (helpCallback) sections = helpCallback(sections) || sections; + console.info(sections.map((section) => { + return section.title ? `${section.title}:\n${section.body}` : section.body; + }).join("\n\n")); + } + outputVersion() { + const { name } = this.cli; + const { versionNumber } = this.cli.globalCommand; + if (versionNumber) console.info(`${name}/${versionNumber} ${runtimeInfo}`); + } + checkRequiredArgs() { + const minimalArgsCount = this.args.filter((arg) => arg.required).length; + if (this.cli.args.length < minimalArgsCount) throw new CACError(`missing required args for command \`${this.rawName}\``); + } + /** + * Check if the parsed options contain any unknown options + * + * Exit and output error when true + */ + checkUnknownOptions() { + const { options, globalCommand } = this.cli; + if (!this.config.allowUnknownOptions) { + for (const name of Object.keys(options)) if (name !== "--" && !this.hasOption(name) && !globalCommand.hasOption(name)) throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); + } + } + /** + * Check if the required string-type options exist + */ + checkOptionValue() { + const { options: parsedOptions, globalCommand } = this.cli; + const options = [...globalCommand.options, ...this.options]; + for (const option of options) { + const value = parsedOptions[option.name.split(".")[0]]; + if (option.required) { + const hasNegated = options.some((o) => o.negated && o.names.includes(option.name)); + if (value === true || value === false && !hasNegated) throw new CACError(`option \`${option.rawName}\` value is missing`); + } + } + } + /** + * Check if the number of args is more than expected + */ + checkUnusedArgs() { + const maximumArgsCount = this.args.some((arg) => arg.variadic) ? Infinity : this.args.length; + if (maximumArgsCount < this.cli.args.length) throw new CACError(`Unused args: ${this.cli.args.slice(maximumArgsCount).map((arg) => `\`${arg}\``).join(", ")}`); + } +}; +var GlobalCommand = class extends Command { + constructor(cli) { + super("@@global@@", "", {}, cli); + } +}; +var CAC = class extends EventTarget { + /** The program name to display in help and version message */ + name; + commands; + globalCommand; + matchedCommand; + matchedCommandName; + /** + * Raw CLI arguments + */ + rawArgs; + /** + * Parsed CLI arguments + */ + args; + /** + * Parsed CLI options, camelCased + */ + options; + showHelpOnExit; + showVersionOnExit; + /** + * @param name The program name to display in help and version message + */ + constructor(name = "") { + super(); + this.name = name; + this.commands = []; + this.rawArgs = []; + this.args = []; + this.options = {}; + this.globalCommand = new GlobalCommand(this); + this.globalCommand.usage(" [options]"); + } + /** + * Add a global usage text. + * + * This is not used by sub-commands. + */ + usage(text) { + this.globalCommand.usage(text); + return this; + } + /** + * Add a sub-command + */ + command(rawName, description, config) { + const command = new Command(rawName, description || "", config, this); + command.globalCommand = this.globalCommand; + this.commands.push(command); + return command; + } + /** + * Add a global CLI option. + * + * Which is also applied to sub-commands. + */ + option(rawName, description, config) { + this.globalCommand.option(rawName, description, config); + return this; + } + /** + * Show help message when `-h, --help` flags appear. + * + */ + help(callback) { + this.globalCommand.option("-h, --help", "Display this message"); + this.globalCommand.helpCallback = callback; + this.showHelpOnExit = true; + return this; + } + /** + * Show version number when `-v, --version` flags appear. + * + */ + version(version, customFlags = "-v, --version") { + this.globalCommand.version(version, customFlags); + this.showVersionOnExit = true; + return this; + } + /** + * Add a global example. + * + * This example added here will not be used by sub-commands. + */ + example(example) { + this.globalCommand.example(example); + return this; + } + /** + * Output the corresponding help message + * When a sub-command is matched, output the help message for the command + * Otherwise output the global one. + * + */ + outputHelp() { + if (this.matchedCommand) this.matchedCommand.outputHelp(); + else this.globalCommand.outputHelp(); + } + /** + * Output the version number. + * + */ + outputVersion() { + this.globalCommand.outputVersion(); + } + setParsedInfo({ args, options }, matchedCommand, matchedCommandName) { + this.args = args; + this.options = options; + if (matchedCommand) this.matchedCommand = matchedCommand; + if (matchedCommandName) this.matchedCommandName = matchedCommandName; + return this; + } + unsetMatchedCommand() { + this.matchedCommand = void 0; + this.matchedCommandName = void 0; + } + /** + * Parse argv + */ + parse(argv, { run = true } = {}) { + if (!argv) { + if (!runtimeProcessArgs) throw new Error("No argv provided and runtime process argv is not available."); + argv = runtimeProcessArgs; + } + this.rawArgs = argv; + if (!this.name) this.name = argv[1] ? getFileName(argv[1]) : "cli"; + let shouldParse = true; + for (const command of this.commands) { + const parsed = this.mri(argv.slice(2), command); + const commandName = parsed.args[0]; + if (command.isMatched(commandName)) { + shouldParse = false; + const parsedInfo = { + ...parsed, + args: parsed.args.slice(1) + }; + this.setParsedInfo(parsedInfo, command, commandName); + this.dispatchEvent(new CustomEvent(`command:${commandName}`, { detail: command })); + } + } + if (shouldParse) { + for (const command of this.commands) if (command.isDefaultCommand) { + shouldParse = false; + const parsed = this.mri(argv.slice(2), command); + this.setParsedInfo(parsed, command); + this.dispatchEvent(new CustomEvent("command:!", { detail: command })); + } + } + if (shouldParse) { + const parsed = this.mri(argv.slice(2)); + this.setParsedInfo(parsed); + } + if (this.options.help && this.showHelpOnExit) { + this.outputHelp(); + run = false; + this.unsetMatchedCommand(); + } + if (this.options.version && this.showVersionOnExit && this.matchedCommandName == null) { + this.outputVersion(); + run = false; + this.unsetMatchedCommand(); + } + const parsedArgv = { + args: this.args, + options: this.options + }; + if (run) this.runMatchedCommand(); + if (!this.matchedCommand && this.args[0]) this.dispatchEvent(new CustomEvent("command:*", { detail: this.args[0] })); + return parsedArgv; + } + mri(argv, command) { + const cliOptions = [...this.globalCommand.options, ...command ? command.options : []]; + const mriOptions = getMriOptions(cliOptions); + let argsAfterDoubleDashes = []; + const doubleDashesIndex = argv.indexOf("--"); + if (doubleDashesIndex !== -1) { + argsAfterDoubleDashes = argv.slice(doubleDashesIndex + 1); + argv = argv.slice(0, doubleDashesIndex); + } + let parsed = lib_default(argv, mriOptions); + parsed = Object.keys(parsed).reduce((res, name) => { + return { + ...res, + [camelcaseOptionName(name)]: parsed[name] + }; + }, { _: [] }); + const args = parsed._; + const options = { "--": argsAfterDoubleDashes }; + const ignoreDefault = command && command.config.ignoreOptionDefaultValue ? command.config.ignoreOptionDefaultValue : this.globalCommand.config.ignoreOptionDefaultValue; + const transforms = Object.create(null); + for (const cliOption of cliOptions) { + if (!ignoreDefault && cliOption.config.default !== void 0) for (const name of cliOption.names) options[name] = cliOption.config.default; + if (Array.isArray(cliOption.config.type) && transforms[cliOption.name] === void 0) { + transforms[cliOption.name] = Object.create(null); + transforms[cliOption.name].shouldTransform = true; + transforms[cliOption.name].transformFunction = cliOption.config.type[0]; + } + } + for (const key of Object.keys(parsed)) if (key !== "_") { + setDotProp(options, key.split("."), parsed[key]); + setByType(options, transforms); + } + return { + args, + options + }; + } + runMatchedCommand() { + const { args, options, matchedCommand: command } = this; + if (!command || !command.commandAction) return; + command.checkUnknownOptions(); + command.checkOptionValue(); + command.checkRequiredArgs(); + command.checkUnusedArgs(); + const actionArgs = []; + command.args.forEach((arg, index) => { + if (arg.variadic) actionArgs.push(args.slice(index)); + else actionArgs.push(args[index]); + }); + actionArgs.push(options); + return command.commandAction.apply(this, actionArgs); + } +}; +/** +* @param name The program name to display in help and version message +*/ +const cac = (name = "") => new CAC(name); +//#endregion +//#region src/cli/arguments/alias.ts +const alias = { + config: { + abbreviation: "c", + hint: "filename" + }, + help: { abbreviation: "h" }, + version: { abbreviation: "v" }, + watch: { abbreviation: "w" }, + dir: { + abbreviation: "d", + requireValue: true + }, + file: { + abbreviation: "o", + requireValue: true + }, + external: { abbreviation: "e" }, + format: { abbreviation: "f" }, + name: { abbreviation: "n" }, + globals: { abbreviation: "g" }, + sourcemap: { abbreviation: "s" }, + minify: { abbreviation: "m" }, + platform: { abbreviation: "p" }, + assetFileNames: { hint: "name" }, + chunkFileNames: { hint: "name" }, + entryFileNames: { hint: "name" }, + externalLiveBindings: { reverse: true }, + treeshake: { reverse: true }, + preserveEntrySignatures: { reverse: true }, + moduleTypes: { hint: "types" } +}; +//#endregion +//#region src/cli/arguments/utils.ts +function setNestedProperty(obj, path, value) { + const keys = path.split("."); + let current = obj; + for (let i = 0; i < keys.length - 1; i++) { + if (!current[keys[i]]) current[keys[i]] = {}; + current = current[keys[i]]; + } + const finalKey = keys[keys.length - 1]; + Object.defineProperty(current, finalKey, { + value, + writable: true, + enumerable: true, + configurable: true + }); +} +function camelCaseToKebabCase(str) { + return str.replace(/[A-Z]/g, (match) => `-${match.toLowerCase()}`); +} +//#endregion +//#region src/cli/arguments/normalize.ts +const reservedKeys = new Set([ + "help", + "version", + "config", + "watch", + "environment" +]); +function normalizeCliOptions(cliOptions, positionals) { + const [data, errors] = validateCliOptions(cliOptions); + if (errors?.length) { + errors.forEach((error) => { + logger.error(`${error}. You can use \`rolldown -h\` to see the help.`); + }); + process.exit(1); + } + const options = data ?? {}; + const result = { + input: {}, + output: {}, + help: options.help ?? false, + version: options.version ?? false, + watch: options.watch ?? false + }; + if (typeof options.config === "string") result.config = options.config; + else if (options.config === true) result.config = ""; + if (options.environment !== void 0) result.environment = options.environment; + const keysOfInput = new Set(getInputCliKeys()); + const keysOfOutput = new Set(getOutputCliKeys()); + for (let [key, value] of Object.entries(options)) { + const [primary] = key.split("."); + if (keysOfInput.has(primary)) setNestedProperty(result.input, key, value); + else if (keysOfOutput.has(primary)) setNestedProperty(result.output, key, value); + else if (!reservedKeys.has(key)) { + logger.error(`Unknown option: ${key}`); + process.exit(1); + } + } + if (!result.config && positionals.length > 0) if (Array.isArray(result.input.input)) result.input.input.push(...positionals); + else result.input.input = positionals; + return result; +} +//#endregion +//#region src/cli/arguments/index.ts +const schemaInfo = getCliSchemaInfo(); +const options = Object.fromEntries(Object.entries(schemaInfo).filter(([_key, info]) => info.type !== "never").map(([key, info]) => { + const config = alias[key]; + let description = info?.description ?? config?.description ?? ""; + if (config?.reverse) { + if (description.startsWith("enable")) description = description.replace("enable", "disable"); + else if (!description.startsWith("Avoid")) description = `disable ${description}`; + } + const result = { + type: info.type === "boolean" ? "boolean" : "string", + description + }; + if (config?.abbreviation) result.short = config.abbreviation; + if (config?.hint) result.hint = config.hint; + const kebabKey = camelCaseToKebabCase(key); + return [config?.reverse ? `no-${kebabKey}` : kebabKey, result]; +})); +const knownKeys = new Set(Object.keys(schemaInfo)); +for (const key of Object.keys(schemaInfo)) { + const dotIdx = key.indexOf("."); + if (dotIdx > 0) knownKeys.add(key.substring(0, dotIdx)); +} +const shortAliases = /* @__PURE__ */ new Set(); +for (const config of Object.values(alias)) if (config?.abbreviation) shortAliases.add(config.abbreviation); +function parseCliArguments() { + const cli = cac("rolldown"); + for (const [key, info] of Object.entries(schemaInfo)) { + if (info.type === "never") continue; + const config = alias[key]; + let rawName = ""; + if (config?.abbreviation) rawName += `-${config.abbreviation}, `; + if (config?.reverse) rawName += `--no-${key}`; + else rawName += `--${key}`; + if (info.type !== "boolean" && !config?.reverse) if (config?.requireValue) rawName += ` <${config?.hint ?? key}>`; + else rawName += ` [${config?.hint ?? key}]`; + cli.option(rawName, info.description ?? config?.description ?? ""); + } + let parsedInput = []; + let parsedOptions = {}; + const cmd = cli.command("[...input]", ""); + cmd.allowUnknownOptions(); + cmd.ignoreOptionDefaultValue(); + cmd.action((input, opts) => { + parsedInput = input; + parsedOptions = opts; + }); + try { + cli.parse(process.argv, { run: true }); + } catch (err) { + if (err?.name === "CACError") { + const match = err.message.match(/option `(.+?)` value is missing/); + if (match) { + const optName = match[1].replace(/ [<[].*/, "").replace(/^-\w, /, ""); + logger.error(`Option \`${optName}\` requires a value but none was provided.`); + } else logger.error(err.message); + process.exit(1); + } + throw err; + } + delete parsedOptions["--"]; + for (const short of shortAliases) delete parsedOptions[short]; + for (const key of Object.keys(parsedOptions)) if (key === "__proto__" || key === "constructor" || key === "prototype" || key.startsWith("__proto__.") || key.startsWith("constructor.") || key.startsWith("prototype.")) delete parsedOptions[key]; + const unknownKeys = Object.keys(parsedOptions).filter((k) => !knownKeys.has(k)); + if (unknownKeys.length > 0) { + unknownKeys.sort(); + const single = unknownKeys.length === 1; + logger.warn(`Option \`${unknownKeys.join(",")}\` ${single ? "is" : "are"} unrecognized. We will ignore ${single ? "this" : "those"} option${single ? "" : "s"}.`); + } + const rawArgs = { ...parsedOptions }; + for (const key of unknownKeys) delete parsedOptions[key]; + for (const [key, value] of Object.entries(parsedOptions)) { + const type = schemaInfo[key]?.type; + if (Array.isArray(value)) { + if (type !== "array" && type !== "object") parsedOptions[key] = value[value.length - 1]; + } else if (type === "array" && typeof value === "string") parsedOptions[key] = [value]; + } + for (const [schemaKey, info] of Object.entries(schemaInfo)) { + if (info.type !== "object") continue; + const parts = schemaKey.split("."); + let parent = parsedOptions; + for (let i = 0; i < parts.length - 1; i++) parent = parent?.[parts[i]]; + const leafKey = parts[parts.length - 1]; + const value = parent?.[leafKey]; + if (value === void 0) continue; + const values = Array.isArray(value) ? value : [value]; + if (typeof values[0] !== "string") continue; + let usedDeprecatedSyntax = false; + const result = {}; + for (const v of values) for (const pair of String(v).split(",")) { + const colonIdx = pair.indexOf(":"); + const eqIdx = pair.indexOf("="); + let k; + let val; + if (colonIdx > 0 && (eqIdx === -1 || colonIdx < eqIdx)) { + k = pair.slice(0, colonIdx); + val = pair.slice(colonIdx + 1); + } else if (eqIdx > 0) { + k = pair.slice(0, eqIdx); + val = pair.slice(eqIdx + 1); + usedDeprecatedSyntax = true; + } else continue; + result[k] = val; + } + if (usedDeprecatedSyntax) { + const optionName = camelCaseToKebabCase(schemaKey); + logger.warn(`Using \`key=value\` syntax for \`--${optionName}\` is deprecated. Use \`key:value\` instead.`); + } + parent[leafKey] = result; + } + return { + ...normalizeCliOptions(parsedOptions, parsedInput), + rawArgs + }; +} +//#endregion +//#region src/utils/clear-screen.ts +const CLEAR_SCREEN = "\x1Bc"; +function getClearScreenFunction(options) { + const isTTY = process.stdout.isTTY; + const isAnyOptionNotAllowingClearScreen = arraify(options).some(({ watch }) => watch === false || watch?.clearScreen === false); + if (isTTY && !isAnyOptionNotAllowingClearScreen) return () => { + process.stdout.write(CLEAR_SCREEN); + }; +} +//#endregion +//#region \0@oxc-project+runtime@0.135.0/helpers/esm/usingCtx.js +function _usingCtx() { + var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) { + var n = Error(); + return n.name = "SuppressedError", n.error = r, n.suppressed = e, n; + }, e = {}, n = []; + function using(r, e) { + if (null != e) { + if (Object(e) !== e) throw new TypeError("using declarations can only be used with objects, functions, null, or undefined."); + if (r) var o = e[Symbol.asyncDispose || Symbol["for"]("Symbol.asyncDispose")]; + if (void 0 === o && (o = e[Symbol.dispose || Symbol["for"]("Symbol.dispose")], r)) var t = o; + if ("function" != typeof o) throw new TypeError("Object is not disposable."); + t && (o = function o() { + try { + t.call(e); + } catch (r) { + return Promise.reject(r); + } + }), n.push({ + v: e, + d: o, + a: r + }); + } else r && n.push({ + d: e, + a: r + }); + return e; + } + return { + e, + u: using.bind(null, !1), + a: using.bind(null, !0), + d: function d() { + var o, t = this.e, s = 0; + function next() { + for (; o = n.pop();) try { + if (!o.a && 1 === s) return s = 0, n.push(o), Promise.resolve().then(next); + if (o.d) { + var r = o.d.call(o.v); + if (o.a) return s |= 2, Promise.resolve(r).then(next, err); + } else s |= 1; + } catch (r) { + return err(r); + } + if (1 === s) return t !== e ? Promise.reject(t) : Promise.resolve(); + if (t !== e) throw t; + } + function err(n) { + return t = t !== e ? new r(n, t) : n, next(); + } + return next(); + } + }; +} +//#endregion +//#region src/cli/commands/bundle.ts +async function bundleWithConfig(configPath, cliOptions, rawArgs = {}) { + if (cliOptions.watch) { + process.env.ROLLUP_WATCH = "true"; + process.env.ROLLDOWN_WATCH = "true"; + } + const config = await loadConfig(configPath); + const resolvedConfig = typeof config === "function" ? await config(rawArgs) : config; + if (typeof resolvedConfig !== "object" || resolvedConfig === null) { + logger.error(`Invalid configuration from ${configPath}: expected object or array, got ${resolvedConfig}`); + process.exit(1); + } + if (cliOptions.watch) await watchInner(resolvedConfig, cliOptions); + else await bundleInner(resolvedConfig, cliOptions); +} +async function bundleWithCliOptions(cliOptions) { + try { + var _usingCtx$1 = _usingCtx(); + if (cliOptions.output.dir || cliOptions.output.file) { + await (cliOptions.watch ? watchInner : bundleInner)({}, cliOptions); + return; + } + if (cliOptions.watch) { + logger.error("You must specify `output.dir` to use watch mode"); + process.exit(1); + } + const { output: outputs } = await _usingCtx$1.a(await rolldown(cliOptions.input)).generate(cliOptions.output); + if (outputs.length === 0) { + logger.error("No output generated"); + process.exit(1); + } + for (const file of outputs) { + if (outputs.length > 1) logger.log(`\n${styleText(["cyan", "bold"], `|→ ${file.fileName}:`)}\n`); + console.log(file.type === "asset" ? file.source : file.code); + } + } catch (_) { + _usingCtx$1.e = _; + } finally { + await _usingCtx$1.d(); + } +} +async function watchInner(config, cliOptions) { + let normalizedConfig = arraify(config).map((option) => { + return { + ...option, + ...cliOptions.input, + output: arraify(option.output || {}).map((output) => { + return { + ...output, + ...cliOptions.output + }; + }) + }; + }); + const watcher = watch(normalizedConfig); + onExit((code) => { + Promise.resolve(watcher.close()).finally(() => { + process.exit(typeof code === "number" ? code : 0); + }); + return true; + }); + const changedFile = []; + watcher.on("change", (id, event) => { + if (event.event === "update") changedFile.push(id); + }); + const clearScreen = getClearScreenFunction(normalizedConfig); + watcher.on("event", async (event) => { + switch (event.code) { + case "START": + clearScreen?.(); + break; + case "BUNDLE_START": + if (changedFile.length > 0) logger.log(`Found ${styleText("bold", changedFile.map(relativeId).join(", "))} changed, rebuilding...`); + changedFile.length = 0; + break; + case "BUNDLE_END": + await event.result.close(); + logger.success(`Rebuilt ${styleText("bold", relativeId(event.output[0]))} in ${styleText("green", ms(event.duration))}.`); + break; + case "ERROR": + await event.result.close(); + logger.error(event.error); + break; + default: break; + } + }); + logger.log(`Waiting for changes...`); +} +async function bundleInner(config, cliOptions) { + const startTime = performance.now(); + const result = []; + const configList = arraify(config); + for (const config of configList) { + const outputList = arraify(config.output || {}); + const build = await rolldown({ + ...config, + ...cliOptions.input + }); + try { + for (const output of outputList) result.push(await build.write({ + ...output, + ...cliOptions.output + })); + } finally { + await build.close(); + } + } + result.forEach(printBundleOutputPretty); + logger.log(``); + const duration = performance.now() - startTime; + logger.success(`rolldown v${version} Finished in ${styleText("green", ms(duration))}`); +} +function printBundleOutputPretty(output) { + const outputEntries = collectOutputEntries(output.output); + printOutputEntries(outputEntries, collectOutputLayoutAdjustmentSizes(outputEntries), ""); +} +function collectOutputEntries(output) { + return output.map((chunk) => ({ + type: chunk.type, + fileName: chunk.fileName, + size: chunk.type === "chunk" ? Buffer.byteLength(chunk.code) : Buffer.byteLength(chunk.source) + })); +} +function collectOutputLayoutAdjustmentSizes(entries) { + let longest = 0; + let biggestSize = 0; + for (const entry of entries) { + if (entry.fileName.length > longest) longest = entry.fileName.length; + if (entry.size > biggestSize) biggestSize = entry.size; + } + const sizePad = displaySize(biggestSize).length; + return { + longest, + biggestSize, + sizePad + }; +} +const numberFormatter = new Intl.NumberFormat("en", { + maximumFractionDigits: 2, + minimumFractionDigits: 2 +}); +function displaySize(bytes) { + return `${numberFormatter.format(bytes / 1e3)} kB`; +} +const CHUNK_GROUPS = [{ + type: "asset", + color: "green" +}, { + type: "chunk", + color: "cyan" +}]; +function printOutputEntries(entries, sizeAdjustment, distPath) { + for (const group of CHUNK_GROUPS) { + const filtered = entries.filter((e) => e.type === group.type); + if (!filtered.length) continue; + for (const entry of filtered.sort((a, z) => a.size - z.size)) { + let log = styleText("dim", withTrailingSlash(distPath)); + log += styleText(group.color, entry.fileName.padEnd(sizeAdjustment.longest + 2)); + log += styleText("dim", entry.type); + log += styleText("dim", ` │ size: ${displaySize(entry.size).padStart(sizeAdjustment.sizePad)}`); + logger.log(log); + } + } +} +function withTrailingSlash(path) { + if (path[path.length - 1] !== "/") return `${path}/`; + return path; +} +function ms(duration) { + return duration < 1e3 ? `${duration.toFixed(2)} ms` : `${(duration / 1e3).toFixed(2)} s`; +} +function relativeId(id) { + if (!path.isAbsolute(id)) return id; + return path.relative(path.resolve(), id); +} +//#endregion +//#region src/cli/commands/help.ts +const examples = [ + { + title: "Bundle with a config file `rolldown.config.mjs`", + command: "rolldown -c rolldown.config.mjs" + }, + { + title: "Bundle the `src/main.ts` to `dist` with `cjs` format", + command: "rolldown src/main.ts -d dist -f cjs" + }, + { + title: "Bundle the `src/main.ts` and handle the `.png` assets to Data URL", + command: "rolldown src/main.ts -d dist --moduleTypes .png=dataurl" + }, + { + title: "Bundle the `src/main.tsx` and minify the output with sourcemap", + command: "rolldown src/main.tsx -d dist -m -s" + }, + { + title: "Create self-executing IIFE using external jQuery as `$` and `_`", + command: "rolldown src/main.ts -d dist -n bundle -f iife -e jQuery,window._ -g jQuery=$" + } +]; +const notes = ["CLI options will override the configuration file.", "For more information, please visit https://rolldown.rs/."]; +/** +* Generates the CLI help text as a string. +*/ +function generateHelpText() { + const lines = []; + lines.push(`${styleText("gray", `${description} (rolldown v${version})`)}`); + lines.push(""); + lines.push(`${styleText(["bold", "underline"], "USAGE")} ${styleText("cyan", "rolldown -c ")} or ${styleText("cyan", "rolldown ")}`); + lines.push(""); + lines.push(`${styleText(["bold", "underline"], "OPTIONS")}`); + lines.push(""); + lines.push(Object.entries(options).sort(([a], [b]) => { + if (options[a].short && !options[b].short) return -1; + if (!options[a].short && options[b].short) return 1; + if (options[a].short && options[b].short) return options[a].short.localeCompare(options[b].short); + return a.localeCompare(b); + }).map(([option, { type, short, hint, description }]) => { + let optionStr = ` --${option} `; + option = camelCaseToKebabCase(option); + if (short) optionStr += `-${short}, `; + if (type === "string") optionStr += `<${hint ?? option}>`; + if (description && description.length > 0) description = description[0].toUpperCase() + description.slice(1); + return styleText("cyan", optionStr.padEnd(30)) + description + (description && description?.endsWith(".") ? "" : "."); + }).join("\n")); + lines.push(""); + lines.push(`${styleText(["bold", "underline"], "EXAMPLES")}`); + lines.push(""); + examples.forEach(({ title, command }, ord) => { + lines.push(` ${ord + 1}. ${title}:`); + lines.push(` ${styleText("cyan", command)}`); + lines.push(""); + }); + lines.push(`${styleText(["bold", "underline"], "NOTES")}`); + lines.push(""); + notes.forEach((note) => { + lines.push(` * ${styleText("gray", note)}`); + }); + return lines.join("\n"); +} +function showHelp() { + logger.log(generateHelpText()); +} +//#endregion +//#region src/cli/version-check.ts +function checkNodeVersion(nodeVersion) { + const currentVersion = nodeVersion.split("."); + const major = parseInt(currentVersion[0], 10); + const minor = parseInt(currentVersion[1], 10); + return major === 20 && minor >= 19 || major === 22 && minor >= 12 || major > 22; +} +//#endregion +//#region src/cli/index.ts +if (!checkNodeVersion(process$1.versions.node)) logger.warn(`You are using Node.js ${process$1.versions.node}. Rolldown requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.`); +async function main() { + const { rawArgs, ...cliOptions } = parseCliArguments(); + if (cliOptions.environment) { + const environment = Array.isArray(cliOptions.environment) ? cliOptions.environment : [cliOptions.environment]; + for (const argument of environment) for (const pair of argument.split(",")) { + const [key, ...value] = pair.split(":"); + process$1.env[key] = value.length === 0 ? String(true) : value.join(":"); + } + } + if (cliOptions.help) { + showHelp(); + return; + } + if (cliOptions.version) { + logger.log(`rolldown v${version}`); + return; + } + if (cliOptions.config || cliOptions.config === "") { + await bundleWithConfig(cliOptions.config, cliOptions, rawArgs); + return; + } + if ("input" in cliOptions.input) { + await bundleWithCliOptions(cliOptions); + return; + } + showHelp(); +} +main().catch((err) => { + logger.error(err); + process$1.exit(1); +}); +//#endregion +export {}; diff --git a/shared/node_modules/rolldown/dist/config.d.mts b/shared/node_modules/rolldown/dist/config.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..a6eda22e07be39d5a74e2b7847c03f3ec31ac53a --- /dev/null +++ b/shared/node_modules/rolldown/dist/config.d.mts @@ -0,0 +1,14 @@ +import { I as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-ChOOV2QZ.mjs"; + +//#region src/utils/load-config.d.ts +/** +* Load config from a file in a way that Rolldown does. +* +* @param configPath The path to the config file. If empty, it will look for `rolldown.config` with supported extensions in the current working directory. +* @returns The loaded config export +* +* @category Config +*/ +declare function loadConfig(configPath: string): Promise; +//#endregion +export { VERSION, defineConfig, loadConfig }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/config.mjs b/shared/node_modules/rolldown/dist/config.mjs new file mode 100644 index 0000000000000000000000000000000000000000..597b3d2720411b872f3883258eb96fc87c66cc8d --- /dev/null +++ b/shared/node_modules/rolldown/dist/config.mjs @@ -0,0 +1,4 @@ +import { x as VERSION } from "./shared/bindingify-input-options-B7_WBoOp.mjs"; +import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs"; +import { t as loadConfig } from "./shared/load-config-BDGEgD4M.mjs"; +export { VERSION, defineConfig, loadConfig }; diff --git a/shared/node_modules/rolldown/dist/experimental-index.d.mts b/shared/node_modules/rolldown/dist/experimental-index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..cf426eed5778488502ecce340a6c9f2c0b9777ce --- /dev/null +++ b/shared/node_modules/rolldown/dist/experimental-index.d.mts @@ -0,0 +1,270 @@ +import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-DgGsNpT9.mjs"; +import { Jt as RolldownOutput, P as BuiltinPlugin, Ut as StringOrRegExp, Xt as freeExternalMemory, Z as defineParallelPlugin, ct as NormalizedOutputOptions, l as InputOptions, zt as OutputOptions } from "./shared/define-config-ChOOV2QZ.mjs"; +import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-C-XSNVrd.mjs"; +import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-Bx1tSad6.mjs"; + +//#region src/api/dev/dev-options.d.ts +type DevOnHmrUpdates = (result: Error | { + updates: BindingClientHmrUpdate[]; + changedFiles: string[]; +}) => void | Promise; +type DevOnOutput = (result: Error | RolldownOutput) => void | Promise; +interface DevWatchOptions { + /** + * If `true`, files are not written to disk. + * @default false + */ + skipWrite?: boolean; + /** + * If `true`, use polling instead of native file system events for watching. + * @default false + */ + usePolling?: boolean; + /** + * Poll interval in milliseconds (only used when usePolling is true). + * @default 100 + */ + pollInterval?: number; + /** + * If `true`, use debounced watcher. If `false`, use non-debounced watcher for immediate responses. + * @default true + */ + useDebounce?: boolean; + /** + * Debounce duration in milliseconds (only used when useDebounce is true). + * @default 10 + */ + debounceDuration?: number; + /** + * Whether to compare file contents for poll-based watchers (only used when usePolling is true). + * When enabled, poll watchers will check file contents to determine if they actually changed. + * @default false + */ + compareContentsForPolling?: boolean; + /** + * Tick rate in milliseconds for debounced watchers (only used when useDebounce is true). + * Controls how frequently the debouncer checks for events to process. + * When not specified, the debouncer will auto-select an appropriate tick rate (1/4 of the debounce duration). + * @default undefined (auto-select) + */ + debounceTickRate?: number; + /** + * Filter to limit which discovered files are registered with the file watcher. + * + * Strings are treated as glob patterns. + * + * @default [] + */ + include?: StringOrRegExp | StringOrRegExp[]; + /** + * Filter to prevent discovered files from being registered with the file watcher. + * + * Strings are treated as glob patterns. + * + * @default [] + */ + exclude?: StringOrRegExp | StringOrRegExp[]; +} +interface DevOptions { + onHmrUpdates?: DevOnHmrUpdates; + onOutput?: DevOnOutput; + /** + * Strategy for triggering rebuilds after HMR updates. + * - `'always'`: Always trigger a rebuild after HMR updates + * - `'auto'`: Trigger rebuild only if HMR updates contain full reload updates + * - `'never'`: Never trigger rebuild after HMR updates (default) + * @default 'auto' + */ + rebuildStrategy?: "always" | "auto" | "never"; + watch?: DevWatchOptions; +} +//#endregion +//#region src/api/dev/dev-engine.d.ts +declare class DevEngine { + #private; + static create(inputOptions: InputOptions, outputOptions?: OutputOptions, devOptions?: DevOptions): Promise; + private constructor(); + run(): Promise; + ensureCurrentBuildFinish(): Promise; + getBundleState(): Promise; + ensureLatestBuildOutput(): Promise; + triggerFullBuild(): void; + invalidate(file: string, firstInvalidatedBy?: string): Promise; + registerModules(clientId: string, modules: string[]): Promise; + removeClient(clientId: string): Promise; + close(): Promise; + /** + * Compile a lazy entry module and return HMR-style patch code. + * + * This is called when a dynamically imported module is first requested at runtime. + * The module was previously stubbed with a proxy, and now we need to compile the + * actual module and its dependencies. + * + * @param moduleId - The absolute file path of the module to compile + * @param clientId - The client ID requesting this compilation + * @returns The compiled JavaScript code as a string (HMR patch format) + */ + compileEntry(moduleId: string, clientId: string): Promise; +} +//#endregion +//#region src/api/dev/index.d.ts +declare const dev: typeof DevEngine.create; +//#endregion +//#region src/api/experimental.d.ts +/** +* This is an experimental API. Its behavior may change in the future. +* +* - Calling this API will only execute the `scan/build` stage of rolldown. +* - `scan` will clean up all resources automatically, but if you want to ensure timely cleanup, you need to wait for the returned promise to resolve. +* +* @example To ensure cleanup of resources, use the returned promise to wait for the scan to complete. +* ```ts +* import { scan } from 'rolldown/api/experimental'; +* +* const cleanupPromise = await scan(...); +* await cleanupPromise; +* // Now all resources have been cleaned up. +* ``` +*/ +declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise>; +//#endregion +//#region src/builtin-plugin/alias-plugin.d.ts +type ViteAliasPluginConfig = { + entries: { + find: string | RegExp; + replacement: string; + }[]; +}; +declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin; +//#endregion +//#region src/builtin-plugin/bundle-analyzer-plugin.d.ts +/** +* A plugin that analyzes bundle composition and generates detailed reports. +* +* The plugin outputs a file containing detailed information about: +* - All chunks and their relationships +* - Modules bundled in each chunk +* - Import dependencies between chunks +* - Reachable modules from each entry point +* +* @example +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin() +* ] +* } +* ``` +* +* @example +* **Custom filename** +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin({ +* fileName: 'bundle-analysis.json' +* }) +* ] +* } +* ``` +* +* @example +* **LLM-friendly markdown output** +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin({ +* format: 'md' +* }) +* ] +* } +* ``` +*/ +declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin; +//#endregion +//#region src/builtin-plugin/transform-plugin.d.ts +type TransformPattern = string | RegExp | readonly (RegExp | string)[]; +type TransformPluginConfig = Omit & { + include?: TransformPattern; + exclude?: TransformPattern; + jsxRefreshInclude?: TransformPattern; + jsxRefreshExclude?: TransformPattern; +}; +declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin; +//#endregion +//#region src/builtin-plugin/vite-manifest-plugin.d.ts +type ViteManifestPluginConfig = Omit & { + isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean; +}; +declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin; +//#endregion +//#region src/experimental-index.d.ts +/** +* In-memory file system for browser builds. +* +* This is a re-export of the {@link https://github.com/streamich/memfs | memfs} package used by the WASI runtime. +* It allows you to read and write files to a virtual filesystem when using rolldown in browser environments. +* +* - `fs`: A Node.js-compatible filesystem API (`IFs` from memfs) +* - `volume`: The underlying `Volume` instance that stores the filesystem state +* +* Returns `undefined` in Node.js builds (only available in browser builds via `@rolldown/browser`). +* +* @example +* ```typescript +* import { memfs } from 'rolldown/experimental'; +* +* // Write files to virtual filesystem before bundling +* memfs?.volume.fromJSON({ +* '/src/index.js': 'export const foo = 42;', +* '/package.json': '{"name": "my-app"}' +* }); +* +* // Read files from the virtual filesystem +* const content = memfs?.fs.readFileSync('/src/index.js', 'utf8'); +* ``` +* +* @see {@link https://github.com/streamich/memfs} for more information on the memfs API. +*/ +declare const memfs: { + fs: any; + volume: any; +} | undefined; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const parse: typeof parse$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const parseSync: typeof parseSync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type ParseResult = ParseResult$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type ParserOptions = ParserOptions$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const minify: typeof minify$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const minifySync: typeof minifySync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type MinifyOptions = MinifyOptions$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type MinifyResult = MinifyResult$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const transform: typeof transform$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const transformSync: typeof transformSync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type TransformOptions = TransformOptions$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type TransformResult = TransformResult$1; +/** @deprecated Use from `rolldown/utils` instead. */ +declare const TsconfigCache: typeof TsconfigCache$1; +/** @deprecated Use from `rolldown/utils` instead. */ +type TsconfigRawOptions = BindingTsconfigRawOptions; +/** @deprecated Use from `rolldown/utils` instead. */ +type TsconfigCompilerOptions = BindingTsconfigCompilerOptions; +//#endregion +export { type BindingClientHmrUpdate, BindingRebuildStrategy, DevEngine, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, MinifyOptions, MinifyResult, ParseResult, ParserOptions, type NapiResolveOptions as ResolveOptions, type ResolveResult, ResolverFactory, TransformOptions, TransformResult, TsconfigCache, TsconfigCompilerOptions, TsconfigRawOptions, bundleAnalyzerPlugin, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, memfs, minify, minifySync, moduleRunnerTransform, oxcRuntimePlugin, parse, parseSync, resolveTsconfig, scan, transform, transformSync, viteAliasPlugin, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWebWorkerPostPlugin }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/experimental-index.mjs b/shared/node_modules/rolldown/dist/experimental-index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e1b3161eea6c4cfa25a04f32dd599f130569f16f --- /dev/null +++ b/shared/node_modules/rolldown/dist/experimental-index.mjs @@ -0,0 +1,325 @@ +import { n as __toESM, t as require_binding } from "./shared/binding-CfwqjDbP.mjs"; +import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-DGbe3BlX.mjs"; +import { o as transformToRollupOutput } from "./shared/bindingify-input-options-B7_WBoOp.mjs"; +import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-abS241_6.mjs"; +import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-C0TrL0_H.mjs"; +import { n as parseSync$1, t as parse$1 } from "./shared/parse-yrGA-p2H.mjs"; +import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DnT9y_13.mjs"; +import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-D3YLh9ff.mjs"; +import { pathToFileURL } from "node:url"; +//#region src/api/dev/dev-engine.ts +var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1); +var DevEngine = class DevEngine { + #inner; + #cachedBuildFinishPromise = null; + static async create(inputOptions, outputOptions = {}, devOptions = {}) { + inputOptions = await PluginDriver.callOptionsHook(inputOptions); + const options = await createBundlerOptions(inputOptions, outputOptions, false); + const userOnHmrUpdates = devOptions.onHmrUpdates; + const bindingOnHmrUpdates = userOnHmrUpdates ? function(rawResult) { + const result = normalizeBindingResult(rawResult); + if (result instanceof Error) { + userOnHmrUpdates(result); + return; + } + const [updates, changedFiles] = result; + userOnHmrUpdates({ + updates, + changedFiles + }); + } : void 0; + const userOnOutput = devOptions.onOutput; + const bindingDevOptions = { + onHmrUpdates: bindingOnHmrUpdates, + onOutput: userOnOutput ? function(rawResult) { + const result = normalizeBindingResult(rawResult); + if (result instanceof Error) { + userOnOutput(result); + return; + } + userOnOutput(transformToRollupOutput(result)); + } : void 0, + rebuildStrategy: devOptions.rebuildStrategy ? devOptions.rebuildStrategy === "always" ? import_binding.BindingRebuildStrategy.Always : devOptions.rebuildStrategy === "auto" ? import_binding.BindingRebuildStrategy.Auto : import_binding.BindingRebuildStrategy.Never : void 0, + watch: devOptions.watch && { + skipWrite: devOptions.watch.skipWrite, + usePolling: devOptions.watch.usePolling, + pollInterval: devOptions.watch.pollInterval, + useDebounce: devOptions.watch.useDebounce, + debounceDuration: devOptions.watch.debounceDuration, + compareContentsForPolling: devOptions.watch.compareContentsForPolling, + debounceTickRate: devOptions.watch.debounceTickRate, + include: normalizedStringOrRegex(devOptions.watch.include), + exclude: normalizedStringOrRegex(devOptions.watch.exclude) + } + }; + return new DevEngine(new import_binding.BindingDevEngine(options.bundlerOptions, bindingDevOptions)); + } + constructor(inner) { + this.#inner = inner; + } + async run() { + await this.#inner.run(); + } + async ensureCurrentBuildFinish() { + if (this.#cachedBuildFinishPromise) return this.#cachedBuildFinishPromise; + const promise = this.#inner.ensureCurrentBuildFinish().then(() => { + this.#cachedBuildFinishPromise = null; + }); + this.#cachedBuildFinishPromise = promise; + return promise; + } + async getBundleState() { + return this.#inner.getBundleState(); + } + async ensureLatestBuildOutput() { + unwrapBindingResult(await this.#inner.ensureLatestBuildOutput()); + } + triggerFullBuild() { + this.#inner.triggerFullBuild(); + } + async invalidate(file, firstInvalidatedBy) { + return unwrapBindingResult(await this.#inner.invalidate(file, firstInvalidatedBy)); + } + async registerModules(clientId, modules) { + await this.#inner.registerModules(clientId, modules); + } + async removeClient(clientId) { + await this.#inner.removeClient(clientId); + } + async close() { + await this.#inner.close(); + } + /** + * Compile a lazy entry module and return HMR-style patch code. + * + * This is called when a dynamically imported module is first requested at runtime. + * The module was previously stubbed with a proxy, and now we need to compile the + * actual module and its dependencies. + * + * @param moduleId - The absolute file path of the module to compile + * @param clientId - The client ID requesting this compilation + * @returns The compiled JavaScript code as a string (HMR patch format) + */ + async compileEntry(moduleId, clientId) { + return this.#inner.compileEntry(moduleId, clientId); + } +}; +//#endregion +//#region src/api/dev/index.ts +const dev = (...args) => DevEngine.create(...args); +//#endregion +//#region src/types/external-memory-handle.ts +const symbolForExternalMemoryHandle = "__rolldown_external_memory_handle__"; +/** +* Frees the external memory held by the given handle. +* +* This is useful when you want to manually release memory held by Rust objects +* (like `OutputChunk` or `OutputAsset`) before they are garbage collected. +* +* @param handle - The object with external memory to free +* @param keepDataAlive - If true, evaluates all lazy fields before freeing memory (default: false). +* This will take time to copy data from Rust to JavaScript, but prevents errors +* when accessing properties after the memory is freed. +* @returns Status object with `freed` boolean and optional `reason` string. +* - `{ freed: true }` if memory was successfully freed +* - `{ freed: false, reason: "..." }` if memory couldn't be freed (e.g., already freed or other references exist) +* +* @example +* ```typescript +* import { freeExternalMemory } from 'rolldown/experimental'; +* +* const output = await bundle.generate(); +* const chunk = output.output[0]; +* +* // Use the chunk... +* +* // Manually free the memory (fast, but accessing properties after will throw) +* const status = freeExternalMemory(chunk); // { freed: true } +* const statusAgain = freeExternalMemory(chunk); // { freed: false, reason: "Memory has already been freed" } +* +* // Keep data alive before freeing (slower, but data remains accessible) +* freeExternalMemory(chunk, true); // Evaluates all lazy fields first +* console.log(chunk.code); // OK - data was copied to JavaScript before freeing +* +* // Without keepDataAlive, accessing chunk properties after freeing will throw an error +* ``` +*/ +function freeExternalMemory(handle, keepDataAlive = false) { + return handle[symbolForExternalMemoryHandle](keepDataAlive); +} +//#endregion +//#region src/api/experimental.ts +/** +* This is an experimental API. Its behavior may change in the future. +* +* - Calling this API will only execute the `scan/build` stage of rolldown. +* - `scan` will clean up all resources automatically, but if you want to ensure timely cleanup, you need to wait for the returned promise to resolve. +* +* @example To ensure cleanup of resources, use the returned promise to wait for the scan to complete. +* ```ts +* import { scan } from 'rolldown/api/experimental'; +* +* const cleanupPromise = await scan(...); +* await cleanupPromise; +* // Now all resources have been cleaned up. +* ``` +*/ +const scan = async (rawInputOptions, rawOutputOptions = {}) => { + validateOption("input", rawInputOptions); + validateOption("output", rawOutputOptions); + const ret = await createBundlerOptions(await PluginDriver.callOptionsHook(rawInputOptions), rawOutputOptions, false); + const bundler = new import_binding.BindingBundler(); + if (RolldownBuild.asyncRuntimeShutdown) (0, import_binding.startAsyncRuntime)(); + async function cleanup() { + await bundler.close(); + await ret.stopWorkers?.(); + (0, import_binding.shutdownAsyncRuntime)(); + RolldownBuild.asyncRuntimeShutdown = true; + } + let cleanupPromise = Promise.resolve(); + try { + unwrapBindingResult(await bundler.scan(ret.bundlerOptions)); + } catch (err) { + await cleanup(); + throw err; + } finally { + cleanupPromise = cleanup(); + } + return cleanupPromise; +}; +//#endregion +//#region src/plugin/parallel-plugin.ts +function defineParallelPlugin(pluginPath) { + return (options) => { + return { _parallel: { + fileUrl: pathToFileURL(pluginPath).href, + options + } }; + }; +} +//#endregion +//#region src/builtin-plugin/alias-plugin.ts +function viteAliasPlugin(config) { + return new BuiltinPlugin("builtin:vite-alias", config); +} +//#endregion +//#region src/builtin-plugin/bundle-analyzer-plugin.ts +/** +* A plugin that analyzes bundle composition and generates detailed reports. +* +* The plugin outputs a file containing detailed information about: +* - All chunks and their relationships +* - Modules bundled in each chunk +* - Import dependencies between chunks +* - Reachable modules from each entry point +* +* @example +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin() +* ] +* } +* ``` +* +* @example +* **Custom filename** +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin({ +* fileName: 'bundle-analysis.json' +* }) +* ] +* } +* ``` +* +* @example +* **LLM-friendly markdown output** +* ```js +* import { bundleAnalyzerPlugin } from 'rolldown/experimental'; +* +* export default { +* plugins: [ +* bundleAnalyzerPlugin({ +* format: 'md' +* }) +* ] +* } +* ``` +*/ +function bundleAnalyzerPlugin(config) { + return new BuiltinPlugin("builtin:bundle-analyzer", config); +} +//#endregion +//#region src/builtin-plugin/transform-plugin.ts +function viteTransformPlugin(config) { + return new BuiltinPlugin("builtin:vite-transform", { + ...config, + include: normalizedStringOrRegex(config.include), + exclude: normalizedStringOrRegex(config.exclude), + jsxRefreshInclude: normalizedStringOrRegex(config.jsxRefreshInclude), + jsxRefreshExclude: normalizedStringOrRegex(config.jsxRefreshExclude), + yarnPnp: typeof process === "object" && !!process.versions?.pnp + }); +} +//#endregion +//#region src/builtin-plugin/vite-manifest-plugin.ts +function viteManifestPlugin(config) { + return new BuiltinPlugin("builtin:vite-manifest", config); +} +//#endregion +//#region src/experimental-index.ts +/** +* In-memory file system for browser builds. +* +* This is a re-export of the {@link https://github.com/streamich/memfs | memfs} package used by the WASI runtime. +* It allows you to read and write files to a virtual filesystem when using rolldown in browser environments. +* +* - `fs`: A Node.js-compatible filesystem API (`IFs` from memfs) +* - `volume`: The underlying `Volume` instance that stores the filesystem state +* +* Returns `undefined` in Node.js builds (only available in browser builds via `@rolldown/browser`). +* +* @example +* ```typescript +* import { memfs } from 'rolldown/experimental'; +* +* // Write files to virtual filesystem before bundling +* memfs?.volume.fromJSON({ +* '/src/index.js': 'export const foo = 42;', +* '/package.json': '{"name": "my-app"}' +* }); +* +* // Read files from the virtual filesystem +* const content = memfs?.fs.readFileSync('/src/index.js', 'utf8'); +* ``` +* +* @see {@link https://github.com/streamich/memfs} for more information on the memfs API. +*/ +const memfs = void 0; +/** @deprecated Use from `rolldown/utils` instead. */ +const parse = parse$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const parseSync = parseSync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const minify = minify$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const minifySync = minifySync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const transform = transform$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const transformSync = transformSync$1; +/** @deprecated Use from `rolldown/utils` instead. */ +const TsconfigCache = TsconfigCache$1; +//#endregion +var BindingRebuildStrategy = import_binding.BindingRebuildStrategy; +var ResolverFactory = import_binding.ResolverFactory; +var isolatedDeclaration = import_binding.isolatedDeclaration; +var isolatedDeclarationSync = import_binding.isolatedDeclarationSync; +var moduleRunnerTransform = import_binding.moduleRunnerTransform; +export { BindingRebuildStrategy, DevEngine, ResolverFactory, TsconfigCache, bundleAnalyzerPlugin, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, memfs, minify, minifySync, moduleRunnerTransform, oxcRuntimePlugin, parse, parseSync, resolveTsconfig, scan, transform, transformSync, viteAliasPlugin, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWebWorkerPostPlugin }; diff --git a/shared/node_modules/rolldown/dist/experimental-runtime-types.d.ts b/shared/node_modules/rolldown/dist/experimental-runtime-types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..224ceb676c36c136a4d6670dbb36db042e9e89cd --- /dev/null +++ b/shared/node_modules/rolldown/dist/experimental-runtime-types.d.ts @@ -0,0 +1,107 @@ +/** + * @typedef {{ type: 'hmr:module-registered', modules: string[] }} DevRuntimeMessage + * @typedef {{ send(message: DevRuntimeMessage): void }} Messenger + */ +export class DevRuntime { + /** + * @param {Messenger} messenger + * @param {string} clientId + */ + constructor(messenger: Messenger, clientId: string); + /** + * Client ID generated at runtime initialization, used for lazy compilation requests. + * @type {string} + */ + clientId: string; + messenger: Messenger; + /** + * @type {Record} + */ + modules: Record; + /** + * @param {string} _moduleId + */ + createModuleHotContext(_moduleId: string): void; + /** + * @param {[string, string][]} _boundaries + */ + applyUpdates(_boundaries: [string, string][]): void; + /** + * @param {string} id + * @param {{ exports: any }} exportsHolder + */ + registerModule(id: string, exportsHolder: { + exports: any; + }): void; + /** + * @param {string} id + */ + loadExports(id: string): any; + /** + * __esmMin + * + * When `dedup` is truthy and `id` is already registered on the runtime, + * skip the factory: another lazy blob got there first. HMR patches pass + * no `dedup` so they always re-run the factory and replace the registered + * exports. + * + * @type {(id: string, fn: any, dedup: any, res: T) => () => T} + * @internal + */ + createEsmInitializer: (id: string, fn: any, dedup: any, res: T) => () => T; + /** + * __commonJSMin + * + * Same dedup gate as createEsmInitializer. With `dedup` truthy and `id` + * registered, reuse the registered exports object; otherwise run the + * factory. + * + * @type {(id: string, cb: any, dedup: any, mod: { exports: any }, registered: any) => () => T} + * @internal + */ + createCjsInitializer: (id: string, cb: any, dedup: any, mod: { + exports: any; + }, registered: any) => () => T; + /** @internal */ + __toESM: any; + /** @internal */ + __toCommonJS: any; + /** @internal */ + __exportAll: any; + /** + * @param {boolean} [isNodeMode] + * @returns {(mod: any) => any} + * @internal + */ + __toDynamicImportESM: (isNodeMode?: boolean) => (mod: any) => any; + /** @internal */ + __reExport: any; + sendModuleRegisteredMessage: (module: string) => void; +} +export type DevRuntimeMessage = { + type: "hmr:module-registered"; + modules: string[]; +}; +export type Messenger = { + send(message: DevRuntimeMessage): void; +}; +declare class Module { + /** + * @param {string} id + */ + constructor(id: string); + /** + * @type {{ exports: any }} + */ + exportsHolder: { + exports: any; + }; + /** + * @type {string} + */ + id: string; + get exports(): any; +} +export {}; diff --git a/shared/node_modules/rolldown/dist/filter-index.d.mts b/shared/node_modules/rolldown/dist/filter-index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..cccea7e0114b47c99a1ff3f9269f58b0e0aa70ed --- /dev/null +++ b/shared/node_modules/rolldown/dist/filter-index.d.mts @@ -0,0 +1,195 @@ +import { N as withFilter } from "./shared/define-config-ChOOV2QZ.mjs"; + +//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts +//#region src/filter/composable-filters.d.ts +type StringOrRegExp = string | RegExp; +type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {}); +type FilterExpressionKind = FilterExpression['kind']; +type FilterExpression = And | Or | Not | Id | ImporterId | ModuleType | Code | Query; +type TopLevelFilterExpression = Include | Exclude; +declare class And { + kind: 'and'; + args: FilterExpression[]; + constructor(...args: FilterExpression[]); +} +declare class Or { + kind: 'or'; + args: FilterExpression[]; + constructor(...args: FilterExpression[]); +} +declare class Not { + kind: 'not'; + expr: FilterExpression; + constructor(expr: FilterExpression); +} +interface QueryFilterObject { + [key: string]: StringOrRegExp | boolean; +} +interface IdParams { + cleanUrl?: boolean; +} +declare class Id { + kind: 'id'; + pattern: StringOrRegExp; + params: IdParams; + constructor(pattern: StringOrRegExp, params?: IdParams); +} +declare class ImporterId { + kind: 'importerId'; + pattern: StringOrRegExp; + params: IdParams; + constructor(pattern: StringOrRegExp, params?: IdParams); +} +declare class ModuleType { + kind: 'moduleType'; + pattern: PluginModuleType; + constructor(pattern: PluginModuleType); +} +declare class Code { + kind: 'code'; + pattern: StringOrRegExp; + constructor(expr: StringOrRegExp); +} +declare class Query { + kind: 'query'; + key: string; + pattern: StringOrRegExp | boolean; + constructor(key: string, pattern: StringOrRegExp | boolean); +} +declare class Include { + kind: 'include'; + expr: FilterExpression; + constructor(expr: FilterExpression); +} +declare class Exclude { + kind: 'exclude'; + expr: FilterExpression; + constructor(expr: FilterExpression); +} +declare function and(...args: FilterExpression[]): And; +declare function or(...args: FilterExpression[]): Or; +declare function not(expr: FilterExpression): Not; +declare function id(pattern: StringOrRegExp, params?: IdParams): Id; +declare function importerId(pattern: StringOrRegExp, params?: IdParams): ImporterId; +declare function moduleType(pattern: PluginModuleType): ModuleType; +declare function code(pattern: StringOrRegExp): Code; +declare function query(key: string, pattern: StringOrRegExp | boolean): Query; +declare function include(expr: FilterExpression): Include; +declare function exclude(expr: FilterExpression): Exclude; +/** + * convert a queryObject to FilterExpression like + * ```js + * and(query(k1, v1), query(k2, v2)) + * ``` + * @param queryFilterObject The query filter object needs to be matched. + * @returns a `And` FilterExpression + */ +declare function queries(queryFilter: QueryFilterObject): And; +declare function interpreter(exprs: TopLevelFilterExpression | TopLevelFilterExpression[], code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string): boolean; +interface InterpreterCtx { + urlSearchParamsCache?: URLSearchParams; +} +declare function interpreterImpl(expr: TopLevelFilterExpression[], code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean; +declare function exprInterpreter(expr: FilterExpression, code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean; //#endregion +//#region src/filter/filter-vite-plugins.d.ts +/** + * Filters out Vite plugins that have `apply: 'serve'` set. + * + * Since Rolldown operates in build mode, plugins marked with `apply: 'serve'` + * are intended only for Vite's dev server and should be excluded from the build process. + * + * @param plugins - Array of plugins (can include nested arrays) + * @returns Filtered array with serve-only plugins removed + * + * @example + * ```ts + * import { defineConfig } from 'rolldown'; + * import { filterVitePlugins } from '@rolldown/pluginutils'; + * import viteReact from '@vitejs/plugin-react'; + * + * export default defineConfig({ + * plugins: filterVitePlugins([ + * viteReact(), + * { + * name: 'dev-only', + * apply: 'serve', // This will be filtered out + * // ... + * } + * ]) + * }); + * ``` + */ +declare function filterVitePlugins(plugins: T | T[] | null | undefined | false): T[]; //#endregion +//#region src/filter/simple-filters.d.ts +/** + * Constructs a RegExp that matches the exact string specified. + * + * This is useful for plugin hook filters. + * + * @param str the string to match. + * @param flags flags for the RegExp. + * + * @example + * ```ts + * import { exactRegex } from '@rolldown/pluginutils'; + * const plugin = { + * name: 'plugin', + * resolveId: { + * filter: { id: exactRegex('foo') }, + * handler(id) {} // will only be called for `foo` + * } + * } + * ``` + */ +declare function exactRegex(str: string, flags?: string): RegExp; +/** + * Constructs a RegExp that matches a value that has the specified prefix. + * + * This is useful for plugin hook filters. + * + * @param str the string to match. + * @param flags flags for the RegExp. + * + * @example + * ```ts + * import { prefixRegex } from '@rolldown/pluginutils'; + * const plugin = { + * name: 'plugin', + * resolveId: { + * filter: { id: prefixRegex('foo') }, + * handler(id) {} // will only be called for IDs starting with `foo` + * } + * } + * ``` + */ +declare function prefixRegex(str: string, flags?: string): RegExp; +type WidenString = T extends string ? string : T; +/** + * Converts a id filter to match with an id with a query. + * + * @param input the id filters to convert. + * + * @example + * ```ts + * import { makeIdFiltersToMatchWithQuery } from '@rolldown/pluginutils'; + * const plugin = { + * name: 'plugin', + * transform: { + * filter: { id: makeIdFiltersToMatchWithQuery(['**' + '/*.js', /\.ts$/]) }, + * // The handler will be called for IDs like: + * // - foo.js + * // - foo.js?foo + * // - foo.txt?foo.js + * // - foo.ts + * // - foo.ts?foo + * // - foo.txt?foo.ts + * handler(code, id) {} + * } + * } + * ``` + */ +declare function makeIdFiltersToMatchWithQuery(input: T): WidenString; +declare function makeIdFiltersToMatchWithQuery(input: readonly T[]): WidenString[]; +declare function makeIdFiltersToMatchWithQuery(input: string | RegExp | readonly (string | RegExp)[]): string | RegExp | (string | RegExp)[]; //#endregion +//#endregion +export { FilterExpression, FilterExpressionKind, QueryFilterObject, TopLevelFilterExpression, and, code, exactRegex, exclude, exprInterpreter, filterVitePlugins, id, importerId, include, interpreter, interpreterImpl, makeIdFiltersToMatchWithQuery, moduleType, not, or, prefixRegex, queries, query, withFilter }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/filter-index.mjs b/shared/node_modules/rolldown/dist/filter-index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..aee93e7ed8931ee164a0492b2ba8e63adf4c79d9 --- /dev/null +++ b/shared/node_modules/rolldown/dist/filter-index.mjs @@ -0,0 +1,380 @@ +import { n as isPromiseLike, t as arraify } from "./shared/misc-CoQm4NHO.mjs"; +//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs +const postfixRE = /[?#].*$/; +function cleanUrl(url) { + return url.replace(postfixRE, ""); +} +function extractQueryWithoutFragment(url) { + const questionMarkIndex = url.indexOf("?"); + if (questionMarkIndex === -1) return ""; + const fragmentIndex = url.indexOf("#", questionMarkIndex); + if (fragmentIndex === -1) return url.substring(questionMarkIndex); + else return url.substring(questionMarkIndex, fragmentIndex); +} +var And = class { + kind; + args; + constructor(...args) { + if (args.length === 0) throw new Error("`And` expects at least one operand"); + this.args = args; + this.kind = "and"; + } +}; +var Or = class { + kind; + args; + constructor(...args) { + if (args.length === 0) throw new Error("`Or` expects at least one operand"); + this.args = args; + this.kind = "or"; + } +}; +var Not = class { + kind; + expr; + constructor(expr) { + this.expr = expr; + this.kind = "not"; + } +}; +var Id = class { + kind; + pattern; + params; + constructor(pattern, params) { + this.pattern = pattern; + this.kind = "id"; + this.params = params ?? { cleanUrl: false }; + } +}; +var ImporterId = class { + kind; + pattern; + params; + constructor(pattern, params) { + this.pattern = pattern; + this.kind = "importerId"; + this.params = params ?? { cleanUrl: false }; + } +}; +var ModuleType = class { + kind; + pattern; + constructor(pattern) { + this.pattern = pattern; + this.kind = "moduleType"; + } +}; +var Code = class { + kind; + pattern; + constructor(expr) { + this.pattern = expr; + this.kind = "code"; + } +}; +var Query = class { + kind; + key; + pattern; + constructor(key, pattern) { + this.pattern = pattern; + this.key = key; + this.kind = "query"; + } +}; +var Include = class { + kind; + expr; + constructor(expr) { + this.expr = expr; + this.kind = "include"; + } +}; +var Exclude = class { + kind; + expr; + constructor(expr) { + this.expr = expr; + this.kind = "exclude"; + } +}; +function and(...args) { + return new And(...args); +} +function or(...args) { + return new Or(...args); +} +function not(expr) { + return new Not(expr); +} +function id(pattern, params) { + return new Id(pattern, params); +} +function importerId(pattern, params) { + return new ImporterId(pattern, params); +} +function moduleType(pattern) { + return new ModuleType(pattern); +} +function code(pattern) { + return new Code(pattern); +} +function query(key, pattern) { + return new Query(key, pattern); +} +function include(expr) { + return new Include(expr); +} +function exclude(expr) { + return new Exclude(expr); +} +/** +* convert a queryObject to FilterExpression like +* ```js +* and(query(k1, v1), query(k2, v2)) +* ``` +* @param queryFilterObject The query filter object needs to be matched. +* @returns a `And` FilterExpression +*/ +function queries(queryFilter) { + return and(...Object.entries(queryFilter).map(([key, value]) => { + return new Query(key, value); + })); +} +function interpreter(exprs, code, id, moduleType, importerId) { + let arr = []; + if (Array.isArray(exprs)) arr = exprs; + else arr = [exprs]; + return interpreterImpl(arr, code, id, moduleType, importerId); +} +function interpreterImpl(expr, code, id, moduleType, importerId, ctx = {}) { + let hasInclude = false; + for (const e of expr) switch (e.kind) { + case "include": + hasInclude = true; + if (exprInterpreter(e.expr, code, id, moduleType, importerId, ctx)) return true; + break; + case "exclude": + if (exprInterpreter(e.expr, code, id, moduleType, importerId, ctx)) return false; + break; + } + return !hasInclude; +} +function exprInterpreter(expr, code, id, moduleType, importerId, ctx = {}) { + switch (expr.kind) { + case "and": return expr.args.every((e) => exprInterpreter(e, code, id, moduleType, importerId, ctx)); + case "or": return expr.args.some((e) => exprInterpreter(e, code, id, moduleType, importerId, ctx)); + case "not": return !exprInterpreter(expr.expr, code, id, moduleType, importerId, ctx); + case "id": { + if (id === void 0) throw new Error("`id` is required for `id` expression"); + let idToMatch = id; + if (expr.params.cleanUrl) idToMatch = cleanUrl(idToMatch); + return typeof expr.pattern === "string" ? idToMatch === expr.pattern : expr.pattern.test(idToMatch); + } + case "importerId": { + if (importerId === void 0) return false; + let importerIdToMatch = importerId; + if (expr.params.cleanUrl) importerIdToMatch = cleanUrl(importerIdToMatch); + return typeof expr.pattern === "string" ? importerIdToMatch === expr.pattern : expr.pattern.test(importerIdToMatch); + } + case "moduleType": + if (moduleType === void 0) throw new Error("`moduleType` is required for `moduleType` expression"); + return moduleType === expr.pattern; + case "code": + if (code === void 0) throw new Error("`code` is required for `code` expression"); + return typeof expr.pattern === "string" ? code.includes(expr.pattern) : expr.pattern.test(code); + case "query": { + if (id === void 0) throw new Error("`id` is required for `Query` expression"); + if (!ctx.urlSearchParamsCache) { + let queryString = extractQueryWithoutFragment(id); + ctx.urlSearchParamsCache = new URLSearchParams(queryString); + } + let urlParams = ctx.urlSearchParamsCache; + if (typeof expr.pattern === "boolean") if (expr.pattern) return urlParams.has(expr.key); + else return !urlParams.has(expr.key); + else if (typeof expr.pattern === "string") return urlParams.get(expr.key) === expr.pattern; + else return expr.pattern.test(urlParams.get(expr.key) ?? ""); + } + default: throw new Error(`Expression ${JSON.stringify(expr)} is not expected.`); + } +} +/** +* Filters out Vite plugins that have `apply: 'serve'` set. +* +* Since Rolldown operates in build mode, plugins marked with `apply: 'serve'` +* are intended only for Vite's dev server and should be excluded from the build process. +* +* @param plugins - Array of plugins (can include nested arrays) +* @returns Filtered array with serve-only plugins removed +* +* @example +* ```ts +* import { defineConfig } from 'rolldown'; +* import { filterVitePlugins } from '@rolldown/pluginutils'; +* import viteReact from '@vitejs/plugin-react'; +* +* export default defineConfig({ +* plugins: filterVitePlugins([ +* viteReact(), +* { +* name: 'dev-only', +* apply: 'serve', // This will be filtered out +* // ... +* } +* ]) +* }); +* ``` +*/ +function filterVitePlugins(plugins) { + if (!plugins) return []; + const pluginArray = Array.isArray(plugins) ? plugins : [plugins]; + const result = []; + for (const plugin of pluginArray) { + if (!plugin) continue; + if (Array.isArray(plugin)) { + result.push(...filterVitePlugins(plugin)); + continue; + } + const pluginWithApply = plugin; + if ("apply" in pluginWithApply) { + const applyValue = pluginWithApply.apply; + if (typeof applyValue === "function") try { + if (applyValue({}, { + command: "build", + mode: "production" + })) result.push(plugin); + } catch { + result.push(plugin); + } + else if (applyValue === "serve") continue; + else result.push(plugin); + } else result.push(plugin); + } + return result; +} +/** +* Constructs a RegExp that matches the exact string specified. +* +* This is useful for plugin hook filters. +* +* @param str the string to match. +* @param flags flags for the RegExp. +* +* @example +* ```ts +* import { exactRegex } from '@rolldown/pluginutils'; +* const plugin = { +* name: 'plugin', +* resolveId: { +* filter: { id: exactRegex('foo') }, +* handler(id) {} // will only be called for `foo` +* } +* } +* ``` +*/ +function exactRegex(str, flags) { + return new RegExp(`^${escapeRegex(str)}$`, flags); +} +/** +* Constructs a RegExp that matches a value that has the specified prefix. +* +* This is useful for plugin hook filters. +* +* @param str the string to match. +* @param flags flags for the RegExp. +* +* @example +* ```ts +* import { prefixRegex } from '@rolldown/pluginutils'; +* const plugin = { +* name: 'plugin', +* resolveId: { +* filter: { id: prefixRegex('foo') }, +* handler(id) {} // will only be called for IDs starting with `foo` +* } +* } +* ``` +*/ +function prefixRegex(str, flags) { + return new RegExp(`^${escapeRegex(str)}`, flags); +} +const escapeRegexRE = /[-/\\^$*+?.()|[\]{}]/g; +function escapeRegex(str) { + return str.replace(escapeRegexRE, "\\$&"); +} +function makeIdFiltersToMatchWithQuery(input) { + if (!Array.isArray(input)) return makeIdFilterToMatchWithQuery(input); + return input.map((i) => makeIdFilterToMatchWithQuery(i)); +} +function makeIdFilterToMatchWithQuery(input) { + if (typeof input === "string") return `${input}{?*,}`; + return makeRegexIdFilterToMatchWithQuery(input); +} +function makeRegexIdFilterToMatchWithQuery(input) { + return new RegExp(input.source.replace(/(? withFilter(p, filterObjectList)); + if (pluginOption == false || pluginOption == null) return pluginOption; + if (Array.isArray(pluginOption)) return pluginOption.map((p) => withFilter(p, filterObjectList)); + let plugin = pluginOption; + let filterObjectIndex = findMatchedFilterObject(plugin.name, filterObjectList); + if (filterObjectIndex === -1) return plugin; + let filterObject = filterObjectList[filterObjectIndex]; + Object.keys(plugin).forEach((key) => { + switch (key) { + case "transform": + case "resolveId": + case "load": + if (!plugin[key]) return; + if (typeof plugin[key] === "object") plugin[key].filter = filterObject[key] ?? plugin[key].filter; + else plugin[key] = { + handler: plugin[key], + filter: filterObject[key] + }; + break; + default: break; + } + }); + return plugin; +} +/** +* A helper function to add plugin hook filters to a plugin or an array of plugins. +* +* @example +* ```ts +* import yaml from '@rollup/plugin-yaml'; +* import { defineConfig } from 'rolldown'; +* import { withFilter } from 'rolldown/filter'; +* +* export default defineConfig({ +* plugins: [ +* // Run the transform hook of the `yaml` plugin +* // only for modules which end in `.yaml` +* withFilter( +* yaml({}), +* { transform: { id: /\.yaml$/ } }, +* ), +* ], +* }); +* ``` +* +* @category Config +*/ +function withFilter(pluginOption, filterObject) { + return withFilterImpl(pluginOption, arraify(filterObject)); +} +function findMatchedFilterObject(pluginName, overrideFilterObjectList) { + if (overrideFilterObjectList.length === 1 && overrideFilterObjectList[0].pluginNamePattern === void 0) return 0; + for (let i = 0; i < overrideFilterObjectList.length; i++) for (let j = 0; j < (overrideFilterObjectList[i].pluginNamePattern ?? []).length; j++) { + let pattern = overrideFilterObjectList[i].pluginNamePattern[j]; + if (typeof pattern === "string" && pattern === pluginName) return i; + else if (pattern instanceof RegExp && pattern.test(pluginName)) return i; + } + return -1; +} +//#endregion +export { and, code, exactRegex, exclude, exprInterpreter, filterVitePlugins, id, importerId, include, interpreter, interpreterImpl, makeIdFiltersToMatchWithQuery, moduleType, not, or, prefixRegex, queries, query, withFilter }; diff --git a/shared/node_modules/rolldown/dist/get-log-filter.d.mts b/shared/node_modules/rolldown/dist/get-log-filter.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..6daf79a7816e6a8e5996122d0eb9bb5a35328797 --- /dev/null +++ b/shared/node_modules/rolldown/dist/get-log-filter.d.mts @@ -0,0 +1,3 @@ +import { a as RolldownLog } from "./shared/logging-BSNejiLS.mjs"; +import { n as getLogFilter, t as GetLogFilter } from "./shared/get-log-filter-BpNVNJ5-.mjs"; +export { GetLogFilter, type RolldownLog, type RolldownLog as RollupLog, getLogFilter as default }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/get-log-filter.mjs b/shared/node_modules/rolldown/dist/get-log-filter.mjs new file mode 100644 index 0000000000000000000000000000000000000000..802927c4caac6de79cd74b5e0e39386d2ba005c8 --- /dev/null +++ b/shared/node_modules/rolldown/dist/get-log-filter.mjs @@ -0,0 +1,68 @@ +//#region src/get-log-filter.ts +/** +* A helper function to generate log filters using the same syntax as the CLI. +* +* @example +* ```ts +* import { defineConfig } from 'rolldown'; +* import { getLogFilter } from 'rolldown/getLogFilter'; +* +* const logFilter = getLogFilter(['code:FOO', 'code:BAR']); +* +* export default defineConfig({ +* input: 'main.js', +* onLog(level, log, handler) { +* if (logFilter(log)) { +* handler(level, log); +* } +* } +* }); +* ``` +* +* @category Config +*/ +const getLogFilter = (filters) => { + if (filters.length === 0) return () => true; + const normalizedFilters = filters.map((filter) => filter.split("&").map((subFilter) => { + const inverted = subFilter.startsWith("!"); + if (inverted) subFilter = subFilter.slice(1); + const [key, ...value] = subFilter.split(":"); + return { + inverted, + key: key.split("."), + parts: value.join(":").split("*") + }; + })); + return (log) => { + nextIntersectedFilter: for (const intersectedFilters of normalizedFilters) { + for (const { inverted, key, parts } of intersectedFilters) { + const isFilterSatisfied = testFilter(log, key, parts); + if (inverted ? isFilterSatisfied : !isFilterSatisfied) continue nextIntersectedFilter; + } + return true; + } + return false; + }; +}; +const testFilter = (log, key, parts) => { + let rawValue = log; + for (let index = 0; index < key.length; index++) { + if (!rawValue) return false; + const part = key[index]; + if (!(part in rawValue)) return false; + rawValue = rawValue[part]; + } + let value = typeof rawValue === "object" ? JSON.stringify(rawValue) : String(rawValue); + if (parts.length === 1) return value === parts[0]; + if (!value.startsWith(parts[0])) return false; + const lastPartIndex = parts.length - 1; + for (let index = 1; index < lastPartIndex; index++) { + const part = parts[index]; + const position = value.indexOf(part); + if (position === -1) return false; + value = value.slice(position + part.length); + } + return value.endsWith(parts[lastPartIndex]); +}; +//#endregion +export { getLogFilter as default }; diff --git a/shared/node_modules/rolldown/dist/index.d.mts b/shared/node_modules/rolldown/dist/index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..3f8fd25a268e628ef4df9a10f476bab3f62d46e4 --- /dev/null +++ b/shared/node_modules/rolldown/dist/index.d.mts @@ -0,0 +1,4 @@ +import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-BSNejiLS.mjs"; +import { z as PreRenderedChunk } from "./shared/binding-DgGsNpT9.mjs"; +import { $ as PluginContextMeta, A as RolldownPluginOption, At as CodeSplittingGroup, B as OutputBundle, Bt as PreRenderedAsset, C as ParallelPluginHooks, Ct as build, D as ResolveIdResult, Dt as BuiltinModuleTag, E as ResolveIdExtraOptions, Et as AdvancedChunksOptions, F as RUNTIME_MODULE_ID, Ft as GeneratedCodePreset, G as EmittedFile, Gt as OutputChunk, H as TransformPluginContext, Ht as PartialNull, I as VERSION, It as GlobalsFunction, J as PluginContext, Jt as RolldownOutput, K as EmittedPrebuiltChunk, Kt as RenderedChunk, L as BundleError, Lt as MinifyOptions, M as TransformResult, Mt as CodeSplittingOptions, Nt as CommentsOptions, O as ResolvedId, Ot as ChunkFileNamesFunction, Pt as GeneratedCodeOptions, Q as MinimalPluginContext, Qt as SourcemapIgnoreListOption, R as ExistingRawSourceMap, Rt as ModuleFormat, S as ObjectHook, St as BuildOptions, T as Plugin, Tt as AdvancedChunksGroup, U as EmittedAsset, V as TreeshakingOptions, W as EmittedChunk, Wt as OutputAsset, X as DefineParallelPluginResult, Y as PluginContextResolveOptions, Yt as SourceMap, Zt as ModuleInfo, _ as HookFilterExtension, _t as RolldownWatcherEvent, a as ChunkOptimizationOptions, at as RolldownFileStats, b as ModuleOptions, bt as rolldown, c as InputOption, ct as NormalizedOutputOptions, d as OptimizationOptions, dt as ChecksOptions, et as GeneralHookFilter, f as WatcherFileWatcherOptions, ft as LoggingFunction, g as FunctionPluginHooks, gt as RolldownWatcher, h as CustomPluginOptions, ht as watch, i as RolldownOptions, it as RolldownDirectoryEntry, j as SourceDescription, jt as CodeSplittingNameFunction, k as RolldownPlugin, kt as ChunkingContext, l as InputOptions, lt as NormalizedInputOptions, m as AsyncPluginHooks, mt as RolldownMagicString, n as RolldownOptionsFunction, nt as ModuleTypeFilter, o as ExternalOption, ot as RolldownFsModule, p as WatcherOptions, pt as WarningHandlerWithDefault, q as GetModuleInfo, qt as RenderedModule, r as defineConfig, rt as BufferEncoding, s as ExternalOptionFunction, st as InternalModuleFormat, t as ConfigExport, tt as HookFilter, u as ModuleTypes, ut as TransformOptions, v as ImportKind, vt as RolldownWatcherWatcherEventMap, w as PartialResolvedId, wt as AddonFunction, x as ModuleType, xt as RolldownBuild, y as LoadResult, yt as WatchOptions, z as SourceMapInput, zt as OutputOptions } from "./shared/define-config-ChOOV2QZ.mjs"; +export { type AddonFunction, type AdvancedChunksGroup, type AdvancedChunksOptions, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, type BuiltinModuleTag, type BundleError, type ChecksOptions, type ChunkFileNamesFunction, type ChunkOptimizationOptions, type ChunkingContext, type CodeSplittingGroup, type CodeSplittingNameFunction, type CodeSplittingOptions, type CommentsOptions, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedChunk, type EmittedFile, type EmittedPrebuiltChunk, type ExistingRawSourceMap, type ExternalOption, type ExternalOptionFunction, type FunctionPluginHooks, type GeneralHookFilter, type GeneratedCodeOptions, type GeneratedCodePreset, type GetModuleInfo, type GlobalsFunction, type HookFilter, type HookFilterExtension, type ImportKind, type InputOption, type InputOptions, type InternalModuleFormat, type LoadResult, type LogLevel, type LogLevelOption, type LogOrStringHandler, type LoggingFunction, type MinifyOptions, type MinimalPluginContext, type ModuleFormat, type ModuleInfo, type ModuleOptions, type ModuleType, type ModuleTypeFilter, type ModuleTypes, type NormalizedInputOptions, type NormalizedOutputOptions, type ObjectHook, type OptimizationOptions, type OutputAsset, type OutputBundle, type OutputChunk, type OutputOptions, type ParallelPluginHooks, type PartialNull, type PartialResolvedId, type Plugin, type PluginContext, type PluginContextMeta, type PluginContextResolveOptions, type PreRenderedAsset, type PreRenderedChunk, RUNTIME_MODULE_ID, type RenderedChunk, type RenderedModule, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownError, type RolldownError as RollupError, type RolldownFileStats, type RolldownFsModule, type RolldownLog, type RolldownLog as RollupLog, type RolldownLogWithString, type RolldownLogWithString as RollupLogWithString, RolldownMagicString, type RolldownOptions, type RolldownOptionsFunction, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RolldownWatcherWatcherEventMap, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, type TransformOptions, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherFileWatcherOptions, type WatcherOptions, build, defineConfig, rolldown, watch }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/index.mjs b/shared/node_modules/rolldown/dist/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..890ff571909e1c4320bb7bfd92051a1c5bbbc24d --- /dev/null +++ b/shared/node_modules/rolldown/dist/index.mjs @@ -0,0 +1,50 @@ +import { n as __toESM, t as require_binding } from "./shared/binding-CfwqjDbP.mjs"; +import { n as onExit, t as watch } from "./shared/watch-eT_pxdfY.mjs"; +import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-B7_WBoOp.mjs"; +import { t as rolldown } from "./shared/rolldown-Bkyb2CgX.mjs"; +import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs"; +import { isMainThread } from "node:worker_threads"; +//#region src/setup.ts +var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1); +if (isMainThread) { + const subscriberGuard = (0, import_binding.initTraceSubscriber)(); + onExit(() => { + subscriberGuard?.close(); + }); +} +//#endregion +//#region src/api/build.ts +/** +* The API similar to esbuild's `build` function. +* +* @example +* ```js +* import { build } from 'rolldown'; +* +* const result = await build({ +* input: 'src/main.js', +* output: { +* file: 'bundle.js', +* }, +* }); +* console.log(result); +* ``` +* +* @experimental +* @category Programmatic APIs +*/ +async function build(options) { + if (Array.isArray(options)) return Promise.all(options.map((opts) => build(opts))); + else { + const { output, write = true, ...inputOptions } = options; + const build = await rolldown(inputOptions); + try { + if (write) return await build.write(output); + else return await build.generate(output); + } finally { + await build.close(); + } + } +} +//#endregion +export { RUNTIME_MODULE_ID, RolldownMagicString, VERSION, build, defineConfig, rolldown, watch }; diff --git a/shared/node_modules/rolldown/dist/parallel-plugin-worker.d.mts b/shared/node_modules/rolldown/dist/parallel-plugin-worker.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..619fbdd604fbee4c44b0f702136d170241eeba2a --- /dev/null +++ b/shared/node_modules/rolldown/dist/parallel-plugin-worker.d.mts @@ -0,0 +1 @@ +export { }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/parallel-plugin-worker.mjs b/shared/node_modules/rolldown/dist/parallel-plugin-worker.mjs new file mode 100644 index 0000000000000000000000000000000000000000..dd97f67fd10a5c50fb8a28cdff2751ce6f9955ee --- /dev/null +++ b/shared/node_modules/rolldown/dist/parallel-plugin-worker.mjs @@ -0,0 +1,28 @@ +import { n as __toESM, t as require_binding } from "./shared/binding-CfwqjDbP.mjs"; +import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-B7_WBoOp.mjs"; +import { parentPort, workerData } from "node:worker_threads"; +//#region src/parallel-plugin-worker.ts +var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1); +const { registryId, pluginInfos, threadNumber } = workerData; +(async () => { + try { + (0, import_binding.registerPlugins)(registryId, await Promise.all(pluginInfos.map(async (pluginInfo) => { + const definePluginImpl = (await import(pluginInfo.fileUrl)).default; + const plugin = await definePluginImpl(pluginInfo.options, { threadNumber }); + return { + index: pluginInfo.index, + plugin: bindingifyPlugin(plugin, {}, {}, new PluginContextData(() => {}, {}, [], []), [], () => {}, "info", false) + }; + }))); + parentPort.postMessage({ type: "success" }); + } catch (error) { + parentPort.postMessage({ + type: "error", + error + }); + } finally { + parentPort.unref(); + } +})(); +//#endregion +export {}; diff --git a/shared/node_modules/rolldown/dist/parallel-plugin.d.mts b/shared/node_modules/rolldown/dist/parallel-plugin.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..988697f02e6ffe1190f52ba69086a5581a3a1518 --- /dev/null +++ b/shared/node_modules/rolldown/dist/parallel-plugin.d.mts @@ -0,0 +1,13 @@ +import { T as Plugin, Vt as MaybePromise } from "./shared/define-config-ChOOV2QZ.mjs"; + +//#region src/plugin/parallel-plugin-implementation.d.ts +type ParallelPluginImplementation = Plugin; +type Context = { + /** + * Thread number + */ + threadNumber: number; +}; +declare function defineParallelPluginImplementation(plugin: (Options: Options, context: Context) => MaybePromise): (Options: Options, context: Context) => MaybePromise; +//#endregion +export { type Context, type ParallelPluginImplementation, defineParallelPluginImplementation }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/parallel-plugin.mjs b/shared/node_modules/rolldown/dist/parallel-plugin.mjs new file mode 100644 index 0000000000000000000000000000000000000000..488aeec79beab914a2c3f8a2abab6269954cd288 --- /dev/null +++ b/shared/node_modules/rolldown/dist/parallel-plugin.mjs @@ -0,0 +1,6 @@ +//#region src/plugin/parallel-plugin-implementation.ts +function defineParallelPluginImplementation(plugin) { + return plugin; +} +//#endregion +export { defineParallelPluginImplementation }; diff --git a/shared/node_modules/rolldown/dist/parse-ast-index.d.mts b/shared/node_modules/rolldown/dist/parse-ast-index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..89d09b5d70a55068ba1a52c8b2bdf7702e6398e0 --- /dev/null +++ b/shared/node_modules/rolldown/dist/parse-ast-index.d.mts @@ -0,0 +1,32 @@ +import { L as ParseResult$1, R as ParserOptions$1 } from "./shared/binding-DgGsNpT9.mjs"; +import { Program } from "@oxc-project/types"; + +//#region src/parse-ast-index.d.ts +/** +* @hidden +*/ +type ParseResult = ParseResult$1; +/** +* @hidden +*/ +type ParserOptions = ParserOptions$1; +/** +* Parse code synchronously and return the AST. +* +* This function is similar to Rollup's `parseAst` function. +* Prefer using {@linkcode parseSync} instead of this function as it has more information in the return value. +* +* @category Utilities +*/ +declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program; +/** +* Parse code asynchronously and return the AST. +* +* This function is similar to Rollup's `parseAstAsync` function. +* Prefer using {@linkcode parseAsync} instead of this function as it has more information in the return value. +* +* @category Utilities +*/ +declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise; +//#endregion +export { ParseResult, ParserOptions, parseAst, parseAstAsync }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/parse-ast-index.mjs b/shared/node_modules/rolldown/dist/parse-ast-index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..490b19388a875ede90c1146a958f6cf17f582f31 --- /dev/null +++ b/shared/node_modules/rolldown/dist/parse-ast-index.mjs @@ -0,0 +1,60 @@ +import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-aMKUxRpj.mjs"; +import { n as parseSync, t as parse } from "./shared/parse-yrGA-p2H.mjs"; +//#region src/parse-ast-index.ts +function wrap(result, filename, sourceText) { + if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors); + return result.program; +} +function normalizeParseError(filename, sourceText, errors) { + let message = `Parse failed with ${errors.length} error${errors.length < 2 ? "" : "s"}:\n`; + const pos = errors[0]?.labels?.[0]?.start; + for (let i = 0; i < errors.length; i++) { + if (i >= 5) { + message += "\n..."; + break; + } + const e = errors[i]; + message += e.message + "\n" + e.labels.map((label) => { + const location = locate(sourceText, label.start, { offsetLine: 1 }); + if (!location) return; + return getCodeFrame(sourceText, location.line, location.column); + }).filter(Boolean).join("\n"); + } + const log = logParseError(message, filename, pos); + if (pos !== void 0 && filename) augmentCodeLocation(log, pos, sourceText, filename); + return error(log); +} +const defaultParserOptions = { + lang: "js", + preserveParens: false +}; +/** +* Parse code synchronously and return the AST. +* +* This function is similar to Rollup's `parseAst` function. +* Prefer using {@linkcode parseSync} instead of this function as it has more information in the return value. +* +* @category Utilities +*/ +function parseAst(sourceText, options, filename) { + return wrap(parseSync(filename ?? "file.js", sourceText, { + ...defaultParserOptions, + ...options + }), filename, sourceText); +} +/** +* Parse code asynchronously and return the AST. +* +* This function is similar to Rollup's `parseAstAsync` function. +* Prefer using {@linkcode parseAsync} instead of this function as it has more information in the return value. +* +* @category Utilities +*/ +async function parseAstAsync(sourceText, options, filename) { + return wrap(await parse(filename ?? "file.js", sourceText, { + ...defaultParserOptions, + ...options + }), filename, sourceText); +} +//#endregion +export { parseAst, parseAstAsync }; diff --git a/shared/node_modules/rolldown/dist/plugins-index.d.mts b/shared/node_modules/rolldown/dist/plugins-index.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..f7be63bac54dddba1f4d9ed7a6006b8b77081f32 --- /dev/null +++ b/shared/node_modules/rolldown/dist/plugins-index.d.mts @@ -0,0 +1,33 @@ +import { m as BindingReplacePluginConfig } from "./shared/binding-DgGsNpT9.mjs"; +import { P as BuiltinPlugin } from "./shared/define-config-ChOOV2QZ.mjs"; +import { t as esmExternalRequirePlugin } from "./shared/constructors-Bx1tSad6.mjs"; + +//#region src/builtin-plugin/replace-plugin.d.ts +/** +* Replaces targeted strings in files while bundling. +* +* @example +* **Basic usage** +* ```js +* replacePlugin({ +* 'process.env.NODE_ENV': JSON.stringify('production'), +* __buildVersion: 15 +* }) +* ``` +* @example +* **With options** +* ```js +* replacePlugin({ +* 'process.env.NODE_ENV': JSON.stringify('production'), +* __buildVersion: 15 +* }, { +* preventAssignment: false, +* }) +* ``` +* +* @see https://rolldown.rs/builtin-plugins/replace +* @category Builtin Plugins +*/ +declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit): BuiltinPlugin; +//#endregion +export { esmExternalRequirePlugin, replacePlugin }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/plugins-index.mjs b/shared/node_modules/rolldown/dist/plugins-index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..cc6eef5a32e9a642d1d8767fa61543cb3ea6554b --- /dev/null +++ b/shared/node_modules/rolldown/dist/plugins-index.mjs @@ -0,0 +1,40 @@ +import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-DGbe3BlX.mjs"; +import { t as esmExternalRequirePlugin } from "./shared/constructors-DnT9y_13.mjs"; +//#region src/builtin-plugin/replace-plugin.ts +/** +* Replaces targeted strings in files while bundling. +* +* @example +* **Basic usage** +* ```js +* replacePlugin({ +* 'process.env.NODE_ENV': JSON.stringify('production'), +* __buildVersion: 15 +* }) +* ``` +* @example +* **With options** +* ```js +* replacePlugin({ +* 'process.env.NODE_ENV': JSON.stringify('production'), +* __buildVersion: 15 +* }, { +* preventAssignment: false, +* }) +* ``` +* +* @see https://rolldown.rs/builtin-plugins/replace +* @category Builtin Plugins +*/ +function replacePlugin(values = {}, options = {}) { + Object.keys(values).forEach((key) => { + const value = values[key]; + if (typeof value !== "string") values[key] = String(value); + }); + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:replace", { + ...options, + values + })); +} +//#endregion +export { esmExternalRequirePlugin, replacePlugin }; diff --git a/shared/node_modules/rolldown/dist/shared/binding-CfwqjDbP.mjs b/shared/node_modules/rolldown/dist/shared/binding-CfwqjDbP.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f1d415533e26a6256f075d5d60caa859e3625ff6 --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/binding-CfwqjDbP.mjs @@ -0,0 +1,584 @@ +import { createRequire } from "node:module"; +//#region \0rolldown/runtime.js +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { + key = keys[i]; + if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { + get: ((k) => from[k]).bind(null, key), + enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable + }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { + value: mod, + enumerable: true +}) : target, mod)); +var __require = /* @__PURE__ */ createRequire(import.meta.url); +//#endregion +//#region src/webcontainer-fallback.cjs +var require_webcontainer_fallback = /* @__PURE__ */ __commonJSMin(((exports, module) => { + const fs = __require("node:fs"); + const childProcess = __require("node:child_process"); + const version = JSON.parse(fs.readFileSync(__require.resolve("rolldown/package.json"), "utf-8")).version; + const baseDir = `/tmp/rolldown-${version}`; + const bindingEntry = `${baseDir}/node_modules/@rolldown/binding-wasm32-wasi/rolldown-binding.wasi.cjs`; + if (!fs.existsSync(bindingEntry)) { + const bindingPkg = `@rolldown/binding-wasm32-wasi@${version}`; + fs.rmSync(baseDir, { + recursive: true, + force: true + }); + fs.mkdirSync(baseDir, { recursive: true }); + console.log(`[rolldown] Downloading ${bindingPkg} on WebContainer...`); + childProcess.execFileSync("pnpm", ["i", bindingPkg], { + cwd: baseDir, + stdio: "inherit" + }); + } + module.exports = __require(bindingEntry); +})); +//#endregion +//#region src/binding.cjs +var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => { + const { readFileSync } = __require("node:fs"); + let nativeBinding = null; + const loadErrors = []; + const isMusl = () => { + let musl = false; + if (process.platform === "linux") { + musl = isMuslFromFilesystem(); + if (musl === null) musl = isMuslFromReport(); + if (musl === null) musl = isMuslFromChildProcess(); + } + return musl; + }; + const isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-"); + const isMuslFromFilesystem = () => { + try { + return readFileSync("/usr/bin/ldd", "utf-8").includes("musl"); + } catch { + return null; + } + }; + const isMuslFromReport = () => { + let report = null; + if (typeof process.report?.getReport === "function") { + process.report.excludeNetwork = true; + report = process.report.getReport(); + } + if (!report) return null; + if (report.header && report.header.glibcVersionRuntime) return false; + if (Array.isArray(report.sharedObjects)) { + if (report.sharedObjects.some(isFileMusl)) return true; + } + return false; + }; + const isMuslFromChildProcess = () => { + try { + return __require("child_process").execSync("ldd --version", { encoding: "utf8" }).includes("musl"); + } catch (e) { + return false; + } + }; + function requireNative() { + if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) try { + return __require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH); + } catch (err) { + loadErrors.push(err); + } + else if (process.platform === "android") if (process.arch === "arm64") { + try { + return __require("./rolldown-binding.android-arm64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-android-arm64"); + const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "arm") { + try { + return __require("./rolldown-binding.android-arm-eabi.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-android-arm-eabi"); + const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on Android ${process.arch}`)); + else if (process.platform === "win32") if (process.arch === "x64") if (process.config?.variables?.shlib_suffix === "dll.a" || process.config?.variables?.node_target_type === "shared_library") { + try { + return __require("./rolldown-binding.win32-x64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-win32-x64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("./rolldown-binding.win32-x64-msvc.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-win32-x64-msvc"); + const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "ia32") { + try { + return __require("./rolldown-binding.win32-ia32-msvc.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-win32-ia32-msvc"); + const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "arm64") { + try { + return __require("./rolldown-binding.win32-arm64-msvc.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-win32-arm64-msvc"); + const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on Windows: ${process.arch}`)); + else if (process.platform === "darwin") { + try { + return __require("./rolldown-binding.darwin-universal.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-darwin-universal"); + const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + if (process.arch === "x64") { + try { + return __require("./rolldown-binding.darwin-x64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-darwin-x64"); + const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "arm64") { + try { + return __require("./rolldown-binding.darwin-arm64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-darwin-arm64"); + const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on macOS: ${process.arch}`)); + } else if (process.platform === "freebsd") if (process.arch === "x64") { + try { + return __require("./rolldown-binding.freebsd-x64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-freebsd-x64"); + const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "arm64") { + try { + return __require("./rolldown-binding.freebsd-arm64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-freebsd-arm64"); + const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on FreeBSD: ${process.arch}`)); + else if (process.platform === "linux") if (process.arch === "x64") if (isMusl()) { + try { + return __require("./rolldown-binding.linux-x64-musl.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-x64-musl"); + const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("../rolldown-binding.linux-x64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-x64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "arm64") if (isMusl()) { + try { + return __require("./rolldown-binding.linux-arm64-musl.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-arm64-musl"); + const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("./rolldown-binding.linux-arm64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-arm64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "arm") if (isMusl()) { + try { + return __require("./rolldown-binding.linux-arm-musleabihf.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-arm-musleabihf"); + const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("./rolldown-binding.linux-arm-gnueabihf.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-arm-gnueabihf"); + const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "loong64") if (isMusl()) { + try { + return __require("./rolldown-binding.linux-loong64-musl.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-loong64-musl"); + const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("./rolldown-binding.linux-loong64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-loong64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "riscv64") if (isMusl()) { + try { + return __require("./rolldown-binding.linux-riscv64-musl.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-riscv64-musl"); + const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else { + try { + return __require("./rolldown-binding.linux-riscv64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-riscv64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } + else if (process.arch === "ppc64") { + try { + return __require("./rolldown-binding.linux-ppc64-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-ppc64-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "s390x") { + try { + return __require("./rolldown-binding.linux-s390x-gnu.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-linux-s390x-gnu"); + const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on Linux: ${process.arch}`)); + else if (process.platform === "openharmony") if (process.arch === "arm64") { + try { + return __require("./rolldown-binding.openharmony-arm64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-openharmony-arm64"); + const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "x64") { + try { + return __require("./rolldown-binding.openharmony-x64.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-openharmony-x64"); + const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else if (process.arch === "arm") { + try { + return __require("./rolldown-binding.openharmony-arm.node"); + } catch (e) { + loadErrors.push(e); + } + try { + const binding = __require("@rolldown/binding-openharmony-arm"); + const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version; + if (bindingPackageVersion !== "1.1.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`); + return binding; + } catch (e) { + loadErrors.push(e); + } + } else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`)); + else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`)); + } + nativeBinding = requireNative(); + const forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error"; + if (!nativeBinding || forceWasi) { + let wasiBinding = null; + let wasiBindingError = null; + try { + wasiBinding = __require("../rolldown-binding.wasi.cjs"); + nativeBinding = wasiBinding; + } catch (err) { + if (forceWasi) wasiBindingError = err; + } + if (!nativeBinding || forceWasi) try { + wasiBinding = __require("@rolldown/binding-wasm32-wasi"); + nativeBinding = wasiBinding; + } catch (err) { + if (forceWasi) { + if (!wasiBindingError) wasiBindingError = err; + else wasiBindingError.cause = err; + loadErrors.push(err); + } + } + if (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) { + const error = /* @__PURE__ */ new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error"); + error.cause = wasiBindingError; + throw error; + } + } + if (!nativeBinding && globalThis.process?.versions?.["webcontainer"]) try { + nativeBinding = require_webcontainer_fallback(); + } catch (err) { + loadErrors.push(err); + } + if (!nativeBinding) { + if (loadErrors.length > 0) throw new Error("Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.", { cause: loadErrors.reduce((err, cur) => { + cur.cause = err; + return cur; + }) }); + throw new Error(`Failed to load native binding`); + } + module.exports = nativeBinding; + module.exports.LegalCommentsMode = nativeBinding.LegalCommentsMode; + module.exports.minify = nativeBinding.minify; + module.exports.minifySync = nativeBinding.minifySync; + module.exports.Severity = nativeBinding.Severity; + module.exports.ParseResult = nativeBinding.ParseResult; + module.exports.ExportExportNameKind = nativeBinding.ExportExportNameKind; + module.exports.ExportImportNameKind = nativeBinding.ExportImportNameKind; + module.exports.ExportLocalNameKind = nativeBinding.ExportLocalNameKind; + module.exports.ImportNameKind = nativeBinding.ImportNameKind; + module.exports.parse = nativeBinding.parse; + module.exports.parseSync = nativeBinding.parseSync; + module.exports.rawTransferSupported = nativeBinding.rawTransferSupported; + module.exports.ResolverFactory = nativeBinding.ResolverFactory; + module.exports.EnforceExtension = nativeBinding.EnforceExtension; + module.exports.ModuleType = nativeBinding.ModuleType; + module.exports.sync = nativeBinding.sync; + module.exports.HelperMode = nativeBinding.HelperMode; + module.exports.isolatedDeclaration = nativeBinding.isolatedDeclaration; + module.exports.isolatedDeclarationSync = nativeBinding.isolatedDeclarationSync; + module.exports.moduleRunnerTransform = nativeBinding.moduleRunnerTransform; + module.exports.moduleRunnerTransformSync = nativeBinding.moduleRunnerTransformSync; + module.exports.transform = nativeBinding.transform; + module.exports.transformSync = nativeBinding.transformSync; + module.exports.BindingBundleEndEventData = nativeBinding.BindingBundleEndEventData; + module.exports.BindingBundleErrorEventData = nativeBinding.BindingBundleErrorEventData; + module.exports.BindingBundler = nativeBinding.BindingBundler; + module.exports.BindingCallableBuiltinPlugin = nativeBinding.BindingCallableBuiltinPlugin; + module.exports.BindingChunkingContext = nativeBinding.BindingChunkingContext; + module.exports.BindingDecodedMap = nativeBinding.BindingDecodedMap; + module.exports.BindingDevEngine = nativeBinding.BindingDevEngine; + module.exports.BindingLoadPluginContext = nativeBinding.BindingLoadPluginContext; + module.exports.BindingMagicString = nativeBinding.BindingMagicString; + module.exports.BindingModuleInfo = nativeBinding.BindingModuleInfo; + module.exports.BindingNormalizedOptions = nativeBinding.BindingNormalizedOptions; + module.exports.BindingOutputAsset = nativeBinding.BindingOutputAsset; + module.exports.BindingOutputChunk = nativeBinding.BindingOutputChunk; + module.exports.BindingPluginContext = nativeBinding.BindingPluginContext; + module.exports.BindingRenderedChunk = nativeBinding.BindingRenderedChunk; + module.exports.BindingRenderedChunkMeta = nativeBinding.BindingRenderedChunkMeta; + module.exports.BindingRenderedModule = nativeBinding.BindingRenderedModule; + module.exports.BindingSourceMap = nativeBinding.BindingSourceMap; + module.exports.BindingTransformPluginContext = nativeBinding.BindingTransformPluginContext; + module.exports.BindingWatcher = nativeBinding.BindingWatcher; + module.exports.BindingWatcherBundler = nativeBinding.BindingWatcherBundler; + module.exports.BindingWatcherChangeData = nativeBinding.BindingWatcherChangeData; + module.exports.BindingWatcherEvent = nativeBinding.BindingWatcherEvent; + module.exports.ParallelJsPluginRegistry = nativeBinding.ParallelJsPluginRegistry; + module.exports.ScheduledBuild = nativeBinding.ScheduledBuild; + module.exports.TraceSubscriberGuard = nativeBinding.TraceSubscriberGuard; + module.exports.TsconfigCache = nativeBinding.TsconfigCache; + module.exports.BindingAttachDebugInfo = nativeBinding.BindingAttachDebugInfo; + module.exports.BindingBuiltinPluginName = nativeBinding.BindingBuiltinPluginName; + module.exports.BindingChunkModuleOrderBy = nativeBinding.BindingChunkModuleOrderBy; + module.exports.BindingLogLevel = nativeBinding.BindingLogLevel; + module.exports.BindingPluginOrder = nativeBinding.BindingPluginOrder; + module.exports.BindingPropertyReadSideEffects = nativeBinding.BindingPropertyReadSideEffects; + module.exports.BindingPropertyWriteSideEffects = nativeBinding.BindingPropertyWriteSideEffects; + module.exports.BindingRebuildStrategy = nativeBinding.BindingRebuildStrategy; + module.exports.collapseSourcemaps = nativeBinding.collapseSourcemaps; + module.exports.enhancedTransform = nativeBinding.enhancedTransform; + module.exports.enhancedTransformSync = nativeBinding.enhancedTransformSync; + module.exports.FilterTokenKind = nativeBinding.FilterTokenKind; + module.exports.initTraceSubscriber = nativeBinding.initTraceSubscriber; + module.exports.registerPlugins = nativeBinding.registerPlugins; + module.exports.resolveTsconfig = nativeBinding.resolveTsconfig; + module.exports.shutdownAsyncRuntime = nativeBinding.shutdownAsyncRuntime; + module.exports.startAsyncRuntime = nativeBinding.startAsyncRuntime; +})); +//#endregion +export { __toESM as n, require_binding as t }; diff --git a/shared/node_modules/rolldown/dist/shared/binding-DgGsNpT9.d.mts b/shared/node_modules/rolldown/dist/shared/binding-DgGsNpT9.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..513033e6d691d6d0a0532a290d47b5cd54e87c22 --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/binding-DgGsNpT9.d.mts @@ -0,0 +1,2024 @@ +//#region src/binding.d.cts +type MaybePromise = T | Promise; +type VoidNullable = T | null | undefined | void; +type BindingStringOrRegex = string | RegExp; +interface CodegenOptions { + /** + * Remove whitespace. + * + * @default true + */ + removeWhitespace?: boolean; + /** + * How to handle legal comments (comments containing `@license`, `@preserve`, or starting with `//!`/`/*!`). + * + * * `"none"` - Do not preserve any legal comments. + * * `"inline"` - Preserve all legal comments inline. + * * `"eof"` - Move all legal comments to the end of the file. + * * `"external"` - Extract legal comments without linking. + * * `{ linked: "path/to/legal.txt" }` - Extract legal comments and add a link comment to the given path. + * + * @default "none" (when minifying) + */ + legalComments?: 'none' | 'inline' | 'eof' | 'external' | { + linked: string; + }; +} +interface CompressOptions { + /** + * Set desired EcmaScript standard version for output. + * + * Set `esnext` to enable all target highering. + * + * Example: + * + * * `'es2015'` + * * `['es2020', 'chrome58', 'edge16', 'firefox57', 'node12', 'safari11']` + * + * @default 'esnext' + * + * @see [oxc#target](https://oxc.rs/docs/guide/usage/transformer/lowering#target) + */ + target?: string | Array; + /** + * Pass true to discard calls to `console.*`. + * + * @default false + */ + dropConsole?: boolean; + /** + * Remove `debugger;` statements. + * + * @default true + */ + dropDebugger?: boolean; + /** + * Pass `true` to drop unreferenced functions and variables. + * + * Simple direct variable assignments do not count as references unless set to `keep_assign`. + * @default true + */ + unused?: boolean | 'keep_assign'; + /** Keep function / class names. */ + keepNames?: CompressOptionsKeepNames; + /** + * Join consecutive var, let and const statements. + * + * @default true + */ + joinVars?: boolean; + /** + * Join consecutive simple statements using the comma operator. + * + * `a; b` -> `a, b` + * + * @default true + */ + sequences?: boolean; + /** + * Set of label names to drop from the code. + * + * Labeled statements matching these names will be removed during minification. + * + * @default [] + */ + dropLabels?: Array; + /** Limit the maximum number of iterations for debugging purpose. */ + maxIterations?: number; + /** Treeshake options. */ + treeshake?: TreeShakeOptions; +} +interface CompressOptionsKeepNames { + /** + * Keep function names so that `Function.prototype.name` is preserved. + * + * This does not guarantee that the `undefined` name is preserved. + * + * @default false + */ + function: boolean; + /** + * Keep class names so that `Class.prototype.name` is preserved. + * + * This does not guarantee that the `undefined` name is preserved. + * + * @default false + */ + class: boolean; +} +interface MangleOptions { + /** + * Pass `true` to mangle names declared in the top level scope. + * + * @default true for modules and commonjs, otherwise false + */ + toplevel?: boolean; + /** + * Preserve `name` property for functions and classes. + * + * @default false + */ + keepNames?: boolean | MangleOptionsKeepNames; + /** Debug mangled names. */ + debug?: boolean; +} +interface MangleOptionsKeepNames { + /** + * Preserve `name` property for functions. + * + * @default false + */ + function: boolean; + /** + * Preserve `name` property for classes. + * + * @default false + */ + class: boolean; +} +interface MinifyOptions { + /** Use when minifying an ES module. */ + module?: boolean; + compress?: boolean | CompressOptions; + mangle?: boolean | MangleOptions; + codegen?: boolean | CodegenOptions; + sourcemap?: boolean; +} +interface MinifyResult { + code: string; + map?: SourceMap; + errors: Array; + /** + * Legal comments extracted from the source code. + * Only populated when `codegen.legalComments` is `"linked"` or `"external"`. + */ + legalComments: Array; +} +interface TreeShakeOptions { + /** + * Whether to respect the pure annotations. + * + * Pure annotations are comments that mark an expression as pure. + * For example: @__PURE__ or #__NO_SIDE_EFFECTS__. + * + * @default true + */ + annotations?: boolean; + /** + * Whether to treat this function call as pure. + * + * This function is called for normal function calls, new calls, and + * tagged template calls. + */ + manualPureFunctions?: Array; + /** + * Whether property read accesses have side effects. + * + * @default 'always' + */ + propertyReadSideEffects?: boolean | 'always'; + /** + * Whether property write accesses (assignments to member expressions) have side effects. + * + * When false, assignments like `obj.prop = value` are considered side-effect-free + * (assuming the object and value expressions themselves are side-effect-free). + * + * @default true + */ + propertyWriteSideEffects?: boolean; + /** + * Whether accessing a global variable has side effects. + * + * Accessing a non-existing global variable will throw an error. + * Global variable may be a getter that has side effects. + * + * @default true + */ + unknownGlobalSideEffects?: boolean; + /** + * Whether invalid import statements have side effects. + * + * Accessing a non-existing import name will throw an error. + * Also import statements that cannot be resolved will throw an error. + * + * @default true + */ + invalidImportSideEffects?: boolean; +} +interface Comment { + type: 'Line' | 'Block'; + value: string; + start: number; + end: number; +} +interface ErrorLabel { + message: string | null; + start: number; + end: number; +} +interface OxcError { + severity: Severity; + message: string; + labels: Array; + helpMessage: string | null; + codeframe: string | null; +} +type Severity = 'Error' | 'Warning' | 'Advice'; +declare class ParseResult { + get program(): import("@oxc-project/types").Program; + get module(): EcmaScriptModule; + get comments(): Array; + get errors(): Array; +} +interface DynamicImport { + start: number; + end: number; + moduleRequest: Span; +} +interface EcmaScriptModule { + /** + * Has ESM syntax. + * + * i.e. `import` and `export` statements, and `import.meta`. + * + * Dynamic imports `import('foo')` are ignored since they can be used in non-ESM files. + */ + hasModuleSyntax: boolean; + /** Import statements. */ + staticImports: Array; + /** Export statements. */ + staticExports: Array; + /** Dynamic import expressions. */ + dynamicImports: Array; + /** Span positions` of `import.meta` */ + importMetas: Array; +} +interface ExportExportName { + kind: ExportExportNameKind; + name: string | null; + start: number | null; + end: number | null; +} +type ExportExportNameKind = /** `export { name } */'Name' | /** `export default expression` */'Default' | /** `export * from "mod" */'None'; +interface ExportImportName { + kind: ExportImportNameKind; + name: string | null; + start: number | null; + end: number | null; +} +type ExportImportNameKind = /** `export { name } */'Name' | /** `export * as ns from "mod"` */'All' | /** `export * from "mod"` */'AllButDefault' | /** Does not have a specifier. */'None'; +interface ExportLocalName { + kind: ExportLocalNameKind; + name: string | null; + start: number | null; + end: number | null; +} +type ExportLocalNameKind = /** `export { name } */'Name' | /** `export default expression` */'Default' | +/** + * If the exported value is not locally accessible from within the module. + * `export default function () {}` + */ +'None'; +interface ImportName { + kind: ImportNameKind; + name: string | null; + start: number | null; + end: number | null; +} +type ImportNameKind = /** `import { x } from "mod"` */'Name' | /** `import * as ns from "mod"` */'NamespaceObject' | /** `import defaultExport from "mod"` */'Default'; +interface ParserOptions { + /** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */ + lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts'; + /** Treat the source text as `script` or `module` code. */ + sourceType?: 'script' | 'module' | 'commonjs' | 'unambiguous' | undefined; + /** + * Return an AST which includes TypeScript-related properties, or excludes them. + * + * `'js'` is default for JS / JSX files. + * `'ts'` is default for TS / TSX files. + * The type of the file is determined from `lang` option, or extension of provided `filename`. + */ + astType?: 'js' | 'ts'; + /** + * Controls whether the `range` property is included on AST nodes. + * The `range` property is a `[number, number]` which indicates the start/end offsets + * of the node in the file contents. + * + * @default false + */ + range?: boolean; + /** + * Emit `ParenthesizedExpression` and `TSParenthesizedType` in AST. + * + * If this option is true, parenthesized expressions are represented by + * (non-standard) `ParenthesizedExpression` and `TSParenthesizedType` nodes that + * have a single `expression` property containing the expression inside parentheses. + * + * @default true + */ + preserveParens?: boolean; + /** + * Produce semantic errors with an additional AST pass. + * Semantic errors depend on symbols and scopes, where the parser does not construct. + * This adds a small performance overhead. + * + * @default false + */ + showSemanticErrors?: boolean; +} +interface Span { + start: number; + end: number; +} +interface StaticExport { + start: number; + end: number; + entries: Array; +} +interface StaticExportEntry { + start: number; + end: number; + moduleRequest: ValueSpan | null; + /** The name under which the desired binding is exported by the module`. */ + importName: ExportImportName; + /** The name used to export this binding by this module. */ + exportName: ExportExportName; + /** The name that is used to locally access the exported value from within the importing module. */ + localName: ExportLocalName; + /** + * Whether the export is a TypeScript `export type`. + * + * Examples: + * + * ```ts + * export type * from 'mod'; + * export type * as ns from 'mod'; + * export type { foo }; + * export { type foo }: + * export type { foo } from 'mod'; + * ``` + */ + isType: boolean; +} +interface StaticImport { + /** Start of import statement. */ + start: number; + /** End of import statement. */ + end: number; + /** + * Import source. + * + * ```js + * import { foo } from "mod"; + * // ^^^ + * ``` + */ + moduleRequest: ValueSpan; + /** + * Import specifiers. + * + * Empty for `import "mod"`. + */ + entries: Array; +} +interface StaticImportEntry { + /** + * The name under which the desired binding is exported by the module. + * + * ```js + * import { foo } from "mod"; + * // ^^^ + * import { foo as bar } from "mod"; + * // ^^^ + * ``` + */ + importName: ImportName; + /** + * The name that is used to locally access the imported value from within the importing module. + * ```js + * import { foo } from "mod"; + * // ^^^ + * import { foo as bar } from "mod"; + * // ^^^ + * ``` + */ + localName: ValueSpan; + /** + * Whether this binding is for a TypeScript type-only import. + * + * `true` for the following imports: + * ```ts + * import type { foo } from "mod"; + * import { type foo } from "mod"; + * ``` + */ + isType: boolean; +} +interface ValueSpan { + value: string; + start: number; + end: number; +} +declare class ResolverFactory { + constructor(options?: NapiResolveOptions | undefined | null); + static default(): ResolverFactory; + /** Clone the resolver using the same underlying cache. */ + cloneWithOptions(options: NapiResolveOptions): ResolverFactory; + /** + * Clear the underlying cache. + * + * Warning: The caller must ensure that there're no ongoing resolution operations when calling this method. Otherwise, it may cause those operations to return an incorrect result. + */ + clearCache(): void; + /** Synchronously resolve `specifier` at an absolute path to a `directory`. */ + sync(directory: string, request: string): ResolveResult; + /** Asynchronously resolve `specifier` at an absolute path to a `directory`. */ + async(directory: string, request: string): Promise; + /** + * Synchronously resolve `specifier` at an absolute path to a `file`. + * + * This method automatically discovers tsconfig.json by traversing parent directories. + */ + resolveFileSync(file: string, request: string): ResolveResult; + /** + * Asynchronously resolve `specifier` at an absolute path to a `file`. + * + * This method automatically discovers tsconfig.json by traversing parent directories. + */ + resolveFileAsync(file: string, request: string): Promise; + /** + * Synchronously resolve `specifier` for TypeScript declaration files. + * + * `file` is the absolute path to the containing file. + * Uses TypeScript's `moduleResolution: "bundler"` algorithm. + */ + resolveDtsSync(file: string, request: string): ResolveResult; + /** + * Asynchronously resolve `specifier` for TypeScript declaration files. + * + * `file` is the absolute path to the containing file. + * Uses TypeScript's `moduleResolution: "bundler"` algorithm. + */ + resolveDtsAsync(file: string, request: string): Promise; +} +/** Node.js builtin module when `Options::builtin_modules` is enabled. */ +interface Builtin { + /** + * Resolved module. + * + * Always prefixed with "node:" in compliance with the ESM specification. + */ + resolved: string; + /** + * Whether the request was prefixed with `node:` or not. + * `fs` -> `false`. + * `node:fs` returns `true`. + */ + isRuntimeModule: boolean; +} +declare enum EnforceExtension { + Auto = 0, + Enabled = 1, + Disabled = 2 +} +type ModuleType = 'module' | 'commonjs' | 'json' | 'wasm' | 'addon'; +/** + * Module Resolution Options + * + * Options are directly ported from [enhanced-resolve](https://github.com/webpack/enhanced-resolve#resolver-options). + * + * See [webpack resolve](https://webpack.js.org/configuration/resolve/) for information and examples + */ +interface NapiResolveOptions { + /** + * Discover tsconfig automatically or use the specified tsconfig.json path. + * + * Default `None` + */ + tsconfig?: 'auto' | TsconfigOptions; + /** + * Alias for [ResolveOptions::alias] and [ResolveOptions::fallback]. + * + * For the second value of the tuple, `None -> AliasValue::Ignore`, Some(String) -> + * AliasValue::Path(String)` + * Create aliases to import or require certain modules more easily. + * A trailing $ can also be added to the given object's keys to signify an exact match. + * Default `{}` + */ + alias?: Record>; + /** + * A list of alias fields in description files. + * Specify a field, such as `browser`, to be parsed according to [this specification](https://github.com/defunctzombie/package-browser-field-spec). + * Can be a path to json object such as `["path", "to", "exports"]`. + * + * Default `[]` + */ + aliasFields?: (string | string[])[]; + /** + * Condition names for exports field which defines entry points of a package. + * The key order in the exports field is significant. During condition matching, earlier entries have higher priority and take precedence over later entries. + * + * Default `[]` + */ + conditionNames?: Array; + /** + * If true, it will not allow extension-less files. + * So by default `require('./foo')` works if `./foo` has a `.js` extension, + * but with this enabled only `require('./foo.js')` will work. + * + * Default to `true` when [ResolveOptions::extensions] contains an empty string. + * Use `Some(false)` to disable the behavior. + * See + * + * Default None, which is the same as `Some(false)` when the above empty rule is not applied. + */ + enforceExtension?: EnforceExtension; + /** + * A list of exports fields in description files. + * Can be a path to json object such as `["path", "to", "exports"]`. + * + * Default `[["exports"]]`. + */ + exportsFields?: (string | string[])[]; + /** + * Fields from `package.json` which are used to provide the internal requests of a package + * (requests starting with # are considered internal). + * + * Can be a path to a JSON object such as `["path", "to", "imports"]`. + * + * Default `[["imports"]]`. + */ + importsFields?: (string | string[])[]; + /** + * An object which maps extension to extension aliases. + * + * Default `{}` + */ + extensionAlias?: Record>; + /** + * Attempt to resolve these extensions in order. + * If multiple files share the same name but have different extensions, + * will resolve the one with the extension listed first in the array and skip the rest. + * + * Default `[".js", ".json", ".node"]` + */ + extensions?: Array; + /** + * Redirect module requests when normal resolving fails. + * + * Default `{}` + */ + fallback?: Record>; + /** + * Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests). + * + * See also webpack configuration [resolve.fullySpecified](https://webpack.js.org/configuration/module/#resolvefullyspecified) + * + * Default `false` + */ + fullySpecified?: boolean; + /** + * A list of main fields in description files + * + * Default `["main"]`. + */ + mainFields?: string | string[]; + /** + * The filename to be used while resolving directories. + * + * Default `["index"]` + */ + mainFiles?: Array; + /** + * A list of directories to resolve modules from, can be absolute path or folder name. + * + * Default `["node_modules"]` + */ + modules?: string | string[]; + /** + * Resolve to a context instead of a file. + * + * Default `false` + */ + resolveToContext?: boolean; + /** + * Prefer to resolve module requests as relative requests instead of using modules from node_modules directories. + * + * Default `false` + */ + preferRelative?: boolean; + /** + * Prefer to resolve server-relative urls as absolute paths before falling back to resolve in ResolveOptions::roots. + * + * Default `false` + */ + preferAbsolute?: boolean; + /** + * A list of resolve restrictions to restrict the paths that a request can be resolved on. + * + * Default `[]` + */ + restrictions?: Array; + /** + * A list of directories where requests of server-relative URLs (starting with '/') are resolved. + * On non-Windows systems these requests are resolved as an absolute path first. + * + * Default `[]` + */ + roots?: Array; + /** + * Whether to resolve symlinks to their symlinked location. + * When enabled, symlinked resources are resolved to their real path, not their symlinked location. + * Note that this may cause module resolution to fail when using tools that symlink packages (like npm link). + * + * Default `true` + */ + symlinks?: boolean; + /** + * Whether to read the `NODE_PATH` environment variable and append its entries to `modules`. + * + * `NODE_PATH` is a deprecated Node.js feature that is not part of ESM resolution. + * Set this to `false` to disable the behavior. + * + * Default `true` + */ + nodePath?: boolean; + /** + * Whether to parse [module.builtinModules](https://nodejs.org/api/module.html#modulebuiltinmodules) or not. + * For example, "zlib" will throw [crate::ResolveError::Builtin] when set to true. + * + * Default `false` + */ + builtinModules?: boolean; + /** + * Resolve [ResolveResult::moduleType]. + * + * Default `false` + */ + moduleType?: boolean; + /** + * Allow `exports` field in `require('../directory')`. + * + * This is not part of the spec but some vite projects rely on this behavior. + * See + * * + * * + * + * Default: `false` + */ + allowPackageExportsInDirectoryResolve?: boolean; +} +interface ResolveResult { + path?: string; + error?: string; + builtin?: Builtin; + /** + * Module type for this path. + * + * Enable with `ResolveOptions#moduleType`. + * + * The module type is computed `ESM_FILE_FORMAT` from the [ESM resolution algorithm specification](https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification). + * + * The algorithm uses the file extension or finds the closest `package.json` with the `type` field. + */ + moduleType?: ModuleType; + /** `package.json` path for the given module. */ + packageJsonPath?: string; +} +/** + * Alias Value for [ResolveOptions::alias] and [ResolveOptions::fallback]. + * Use struct because napi don't support structured union now + */ +interface Restriction { + path?: string; + regex?: string; +} +/** + * Tsconfig Options + * + * Derived from [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin#options) + */ +interface TsconfigOptions { + /** + * Allows you to specify where to find the TypeScript configuration file. + * You may provide + * * a relative path to the configuration file. It will be resolved relative to cwd. + * * an absolute path to the configuration file. + */ + configFile: string; + /** + * Support for Typescript Project References. + * + * * `'auto'`: use the `references` field from tsconfig of `config_file`. + */ + references?: 'auto'; +} +interface SourceMap { + file?: string; + mappings: string; + names: Array; + sourceRoot?: string; + sources: Array; + sourcesContent?: Array; + version: number; + x_google_ignoreList?: Array; +} +interface CompilerAssumptions { + ignoreFunctionLength?: boolean; + noDocumentAll?: boolean; + objectRestNoSymbols?: boolean; + pureGetters?: boolean; + /** + * When using public class fields, assume that they don't shadow any getter in the current class, + * in its subclasses or in its superclass. Thus, it's safe to assign them rather than using + * `Object.defineProperty`. + * + * For example: + * + * Input: + * ```js + * class Test { + * field = 2; + * + * static staticField = 3; + * } + * ``` + * + * When `set_public_class_fields` is `true`, the output will be: + * ```js + * class Test { + * constructor() { + * this.field = 2; + * } + * } + * Test.staticField = 3; + * ``` + * + * Otherwise, the output will be: + * ```js + * import _defineProperty from "@oxc-project/runtime/helpers/defineProperty"; + * class Test { + * constructor() { + * _defineProperty(this, "field", 2); + * } + * } + * _defineProperty(Test, "staticField", 3); + * ``` + * + * NOTE: For TypeScript, if you wanted behavior is equivalent to `useDefineForClassFields: false`, you should + * set both `set_public_class_fields` and [`crate::TypeScriptOptions::remove_class_fields_without_initializer`] + * to `true`. + */ + setPublicClassFields?: boolean; +} +interface DecoratorOptions { + /** + * Enables experimental support for decorators, which is a version of decorators that predates the TC39 standardization process. + * + * Decorators are a language feature which hasn’t yet been fully ratified into the JavaScript specification. + * This means that the implementation version in TypeScript may differ from the implementation in JavaScript when it it decided by TC39. + * + * @see https://www.typescriptlang.org/tsconfig/#experimentalDecorators + * @default false + */ + legacy?: boolean; + /** + * Enables emitting decorator metadata. + * + * This option the same as [emitDecoratorMetadata](https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata) + * in TypeScript, and it only works when `legacy` is true. + * + * @see https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata + * @default false + */ + emitDecoratorMetadata?: boolean; + /** + * Aligns nullable-union `design:type` emission with `--strictNullChecks`. + * + * When `true` (default), `T | null` and `T | undefined` emit `Object`, matching tsc strict. + * When `false`, `null` and `undefined` are elided from the union so the underlying + * primitive constructor is emitted, matching tsc with `--strictNullChecks=false` + * and `babel-plugin-transform-typescript-metadata`. + * + * @see https://www.typescriptlang.org/tsconfig/#strictNullChecks + * @default true + */ + strictNullChecks?: boolean; +} +type HelperMode = +/** +* Runtime mode (default): Helper functions are imported from a runtime package. +* +* Example: +* +* ```js +* import helperName from "@oxc-project/runtime/helpers/helperName"; +* helperName(...arguments); +* ``` +*/ +'Runtime' | +/** + * External mode: Helper functions are accessed from a global `babelHelpers` object. + * + * Example: + * + * ```js + * babelHelpers.helperName(...arguments); + * ``` + */ +'External'; +interface Helpers { + mode?: HelperMode; +} +/** + * TypeScript Isolated Declarations for Standalone DTS Emit (async) + * + * Note: This function can be slower than `isolatedDeclarationSync` due to the overhead of spawning a thread. + */ +declare function isolatedDeclaration(filename: string, sourceText: string, options?: IsolatedDeclarationsOptions | undefined | null): Promise; +interface IsolatedDeclarationsOptions { + /** + * Do not emit declarations for code that has an @internal annotation in its JSDoc comment. + * This is an internal compiler option; use at your own risk, because the compiler does not check that the result is valid. + * + * Default: `false` + * + * See + */ + stripInternal?: boolean; + sourcemap?: boolean; +} +interface IsolatedDeclarationsResult { + code: string; + map?: SourceMap; + errors: Array; +} +/** TypeScript Isolated Declarations for Standalone DTS Emit */ +declare function isolatedDeclarationSync(filename: string, sourceText: string, options?: IsolatedDeclarationsOptions | undefined | null): IsolatedDeclarationsResult; +/** + * Configure how TSX and JSX are transformed. + * + * @see {@link https://oxc.rs/docs/guide/usage/transformer/jsx} + */ +interface JsxOptions { + /** + * Decides which runtime to use. + * + * - 'automatic' - auto-import the correct JSX factories + * - 'classic' - no auto-import + * + * @default 'automatic' + */ + runtime?: 'classic' | 'automatic'; + /** + * Emit development-specific information, such as `__source` and `__self`. + * + * @default false + */ + development?: boolean; + /** + * Toggles whether or not to throw an error if an XML namespaced tag name + * is used. + * + * Though the JSX spec allows this, it is disabled by default since React's + * JSX does not currently have support for it. + * + * @default true + */ + throwIfNamespace?: boolean; + /** + * Mark JSX elements and top-level React method calls as pure for tree shaking. + * + * @default true + */ + pure?: boolean; + /** + * Replaces the import source when importing functions. + * + * @default 'react' + */ + importSource?: string; + /** + * Replace the function used when compiling JSX expressions. It should be a + * qualified name (e.g. `React.createElement`) or an identifier (e.g. + * `createElement`). + * + * Only used for `classic` {@link runtime}. + * + * @default 'React.createElement' + */ + pragma?: string; + /** + * Replace the component used when compiling JSX fragments. It should be a + * valid JSX tag name. + * + * Only used for `classic` {@link runtime}. + * + * @default 'React.Fragment' + */ + pragmaFrag?: string; + /** + * Enable React Fast Refresh . + * + * Conforms to the implementation in {@link https://github.com/facebook/react/tree/v18.3.1/packages/react-refresh} + * + * @default false + */ + refresh?: boolean | ReactRefreshOptions; +} +/** + * Transform JavaScript code to a Vite Node runnable module. + * + * @param filename The name of the file being transformed. + * @param sourceText the source code itself + * @param options The options for the transformation. See {@link + * ModuleRunnerTransformOptions} for more information. + * + * @returns an object containing the transformed code, source maps, and any + * errors that occurred during parsing or transformation. + * + * Note: This function can be slower than `moduleRunnerTransformSync` due to the overhead of spawning a thread. + * + * @deprecated Only works for Vite. + */ +declare function moduleRunnerTransform(filename: string, sourceText: string, options?: ModuleRunnerTransformOptions | undefined | null): Promise; +interface ModuleRunnerTransformOptions { + /** + * Enable source map generation. + * + * When `true`, the `sourceMap` field of transform result objects will be populated. + * + * @default false + * + * @see {@link SourceMap} + */ + sourcemap?: boolean; +} +interface ModuleRunnerTransformResult { + /** + * The transformed code. + * + * If parsing failed, this will be an empty string. + */ + code: string; + /** + * The source map for the transformed code. + * + * This will be set if {@link TransformOptions#sourcemap} is `true`. + */ + map?: SourceMap; + deps: Array; + dynamicDeps: Array; + /** + * Parse and transformation errors. + * + * Oxc's parser recovers from common syntax errors, meaning that + * transformed code may still be available even if there are errors in this + * list. + */ + errors: Array; +} +interface PluginsOptions { + styledComponents?: StyledComponentsOptions; + taggedTemplateEscape?: boolean; +} +/** Dynamic gating for {@link ReactCompilerOptions#dynamicGating}. */ +interface ReactCompilerDynamicGating { + /** Module the gating import comes from. */ + source: string; +} +/** Static gating for {@link ReactCompilerOptions#gating}. */ +interface ReactCompilerGating { + /** Module the gating import comes from. */ + source: string; + /** Imported specifier used as the gate. */ + importSpecifierName: string; +} +/** + * Options for the experimental [React Compiler](https://github.com/facebook/react/pull/36173). + * + * Mirrors the compiler's `PluginOptions`. The deep `environment` configuration + * (inference / validation flags) is not surfaced here. + * + * @see {@link TransformOptions#reactCompiler} + */ +interface ReactCompilerOptions { + /** + * Which functions to compile. + * + * @default 'infer' + */ + compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all'; + /** + * What to do when a function cannot be compiled. + * + * @default 'none' + */ + panicThreshold?: 'none' | 'critical_errors' | 'all_errors'; + /** + * React runtime version target. `17` and `18` require the + * `react-compiler-runtime` package; `19` ships the runtime in `react`. + * + * @default '19' + */ + target?: '17' | '18' | '19'; + /** + * Analyze and report diagnostics only; emit no transformed code. + * + * @default false + */ + noEmit?: boolean; + /** + * Compiler output mode. + * + * @default undefined + */ + outputMode?: 'client' | 'ssr' | 'lint'; + /** + * Compile even functions marked with the `"use no memo"` / `"use no forget"` + * opt-out directives. + * + * @default false + */ + ignoreUseNoForget?: boolean; + /** + * Treat Flow suppression comments as opt-outs. + * + * @default true + */ + flowSuppressions?: boolean; + /** + * Enable `react-native-reanimated` support. + * + * @default false + */ + enableReanimated?: boolean; + /** + * Development mode (extra validation / instrumentation). + * + * @default false + */ + isDev?: boolean; + /** Source file name, used for the fast-refresh hash and in diagnostics. */ + filename?: string; + /** ESLint rules whose suppressions opt a function out of compilation. */ + eslintSuppressionRules?: Array; + /** Extra directives that opt a function out of compilation. */ + customOptOutDirectives?: Array; + /** Also emit a gated (feature-flagged) version of each compiled function. */ + gating?: ReactCompilerGating; + /** Dynamically-gated compilation. */ + dynamicGating?: ReactCompilerDynamicGating; +} +interface ReactRefreshOptions { + /** + * Specify the identifier of the refresh registration variable. + * + * @default `$RefreshReg$`. + */ + refreshReg?: string; + /** + * Specify the identifier of the refresh signature variable. + * + * @default `$RefreshSig$`. + */ + refreshSig?: string; + emitFullSignatures?: boolean; +} +/** + * Configure how styled-components are transformed. + * + * @see {@link https://oxc.rs/docs/guide/usage/transformer/plugins#styled-components} + */ +interface StyledComponentsOptions { + /** + * Enhances the attached CSS class name on each component with richer output to help + * identify your components in the DOM without React DevTools. + * + * @default true + */ + displayName?: boolean; + /** + * Controls whether the `displayName` of a component will be prefixed with the filename + * to make the component name as unique as possible. + * + * @default true + */ + fileName?: boolean; + /** + * Adds a unique identifier to every styled component to avoid checksum mismatches + * due to different class generation on the client and server during server-side rendering. + * + * @default true + */ + ssr?: boolean; + /** + * Transpiles styled-components tagged template literals to a smaller representation + * than what Babel normally creates, helping to reduce bundle size. + * + * @default true + */ + transpileTemplateLiterals?: boolean; + /** + * Minifies CSS content by removing all whitespace and comments from your CSS, + * keeping valuable bytes out of your bundles. + * + * @default true + */ + minify?: boolean; + /** + * Enables transformation of JSX `css` prop when using styled-components. + * + * **Note: This feature is not yet implemented in oxc.** + * + * @default true + */ + cssProp?: boolean; + /** + * Enables "pure annotation" to aid dead code elimination by bundlers. + * + * @default false + */ + pure?: boolean; + /** + * Adds a namespace prefix to component identifiers to ensure class names are unique. + * + * Example: With `namespace: "my-app"`, generates `componentId: "my-app__sc-3rfj0a-1"` + */ + namespace?: string; + /** + * List of file names that are considered meaningless for component naming purposes. + * + * When the `fileName` option is enabled and a component is in a file with a name + * from this list, the directory name will be used instead of the file name for + * the component's display name. + * + * @default `["index"]` + */ + meaninglessFileNames?: Array; + /** + * Import paths to be considered as styled-components imports at the top level. + * + * **Note: This feature is not yet implemented in oxc.** + */ + topLevelImportPaths?: Array; +} +/** + * Options for transforming a JavaScript or TypeScript file. + * + * @see {@link transform} + */ +interface TransformOptions { + /** Treat the source text as `js`, `jsx`, `ts`, `tsx`, or `dts`. */ + lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts'; + /** Treat the source text as `script` or `module` code. */ + sourceType?: 'script' | 'module' | 'commonjs' | 'unambiguous' | undefined; + /** + * The current working directory. Used to resolve relative paths in other + * options. + */ + cwd?: string; + /** + * Enable source map generation. + * + * When `true`, the `sourceMap` field of transform result objects will be populated. + * + * @default false + * + * @see {@link SourceMap} + */ + sourcemap?: boolean; + /** Set assumptions in order to produce smaller output. */ + assumptions?: CompilerAssumptions; + /** + * Configure how TypeScript is transformed. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/typescript} + */ + typescript?: TypeScriptOptions; + /** + * Configure how TSX and JSX are transformed. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/jsx} + */ + jsx?: 'preserve' | JsxOptions; + /** + * Sets the target environment for the generated JavaScript. + * + * The lowest target is `es2015`. + * + * Example: + * + * * `'es2015'` + * * `['es2020', 'chrome58', 'edge16', 'firefox57', 'node12', 'safari11']` + * + * @default `esnext` (No transformation) + * + * @see {@link https://oxc.rs/docs/guide/usage/transformer/lowering#target} + */ + target?: string | Array; + /** Behaviour for runtime helpers. */ + helpers?: Helpers; + /** + * Define Plugin + * @see {@link https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement#define} + */ + define?: Record; + /** + * Inject Plugin + * @see {@link https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement#inject} + */ + inject?: Record; + /** Decorator plugin */ + decorator?: DecoratorOptions; + /** + * Enable the experimental [React Compiler](https://github.com/facebook/react/pull/36173). + * + * `true` enables it with default options; an object enables it with the + * given options; `false` or omitted disables it. When enabled, the compiler + * runs as the first transform and memoizes React components and hooks. + */ + reactCompiler?: boolean | ReactCompilerOptions; + /** + * Third-party plugins to use. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/plugins} + */ + plugins?: PluginsOptions; +} +interface TypeScriptOptions { + jsxPragma?: string; + jsxPragmaFrag?: string; + onlyRemoveTypeImports?: boolean; + allowNamespaces?: boolean; + /** + * When enabled, type-only class fields are only removed if they are prefixed with the declare modifier: + * + * @deprecated + * + * Allowing `declare` fields is built-in support in Oxc without any option. If you want to remove class fields + * without initializer, you can use `remove_class_fields_without_initializer: true` instead. + */ + allowDeclareFields?: boolean; + /** + * When enabled, class fields without initializers are removed. + * + * For example: + * ```ts + * class Foo { + * x: number; + * y: number = 0; + * } + * ``` + * // transform into + * ```js + * class Foo { + * x: number; + * } + * ``` + * + * The option is used to align with the behavior of TypeScript's `useDefineForClassFields: false` option. + * When you want to enable this, you also need to set [`crate::CompilerAssumptions::set_public_class_fields`] + * to `true`. The `set_public_class_fields: true` + `remove_class_fields_without_initializer: true` is + * equivalent to `useDefineForClassFields: false` in TypeScript. + * + * When `set_public_class_fields` is true and class-properties plugin is enabled, the above example transforms into: + * + * ```js + * class Foo { + * constructor() { + * this.y = 0; + * } + * } + * ``` + * + * Defaults to `false`. + */ + removeClassFieldsWithoutInitializer?: boolean; + /** + * When true, optimize const enums by inlining their values at usage sites + * and removing the enum declaration. + * + * @default false + */ + optimizeConstEnums?: boolean; + /** + * When true, optimize regular (non-const) enums by inlining their member + * accesses at usage sites when the member value is statically known. + * + * Non-exported enum declarations are also removed when all members are + * evaluable and no references to the enum as a runtime value exist + * (e.g., `console.log(Foo)`, `typeof Foo`, or passing the enum as an argument). + * + * @default false + */ + optimizeEnums?: boolean; + /** + * Also generate a `.d.ts` declaration file for TypeScript files. + * + * The source file must be compliant with all + * [`isolatedDeclarations`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#isolated-declarations) + * requirements. + * + * @default false + */ + declaration?: IsolatedDeclarationsOptions; + /** + * Rewrite or remove TypeScript import/export declaration extensions. + * + * - When set to `rewrite`, it will change `.ts`, `.mts`, `.cts` extensions to `.js`, `.mjs`, `.cjs` respectively. + * - When set to `remove`, it will remove `.ts`/`.mts`/`.cts`/`.tsx` extension entirely. + * - When set to `true`, it's equivalent to `rewrite`. + * - When set to `false` or omitted, no changes will be made to the extensions. + * + * @default false + */ + rewriteImportExtensions?: 'rewrite' | 'remove' | boolean; +} +/** A decoded source map with mappings as an array of arrays instead of VLQ-encoded string. */ +declare class BindingDecodedMap { + /** The source map version (always 3). */ + get version(): number; + /** The generated file name. */ + get file(): string | null; + /** The list of original source files. */ + get sources(): Array; + /** The original source contents (if `includeContent` was true). */ + get sourcesContent(): Array; + /** The list of symbol names used in mappings. */ + get names(): Array; + /** + * The decoded mappings as an array of line arrays. + * Each line is an array of segments, where each segment is [generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex?]. + */ + get mappings(): Array>>; + /** The list of source indices that should be excluded from debugging. */ + get x_google_ignoreList(): Array | null; +} +declare class BindingMagicString { + constructor(source: string, options?: BindingMagicStringOptions | undefined | null); + get original(): string; + get filename(): string | null; + get indentExclusionRanges(): Array> | Array | null; + get ignoreList(): boolean; + get offset(): number; + set offset(offset: number); + replace(from: string, to: string): this; + replaceAll(from: string, to: string): this; + /** + * Returns the UTF-16 offset past the last match, or -1 if no match was found. + * The JS wrapper uses this to update `lastIndex` on the caller's RegExp. + * Global/sticky behavior is derived from the regex's own flags. + */ + replaceRegex(from: RegExp, to: string): number; + prepend(content: string): this; + append(content: string): this; + prependLeft(index: number, content: string): this; + prependRight(index: number, content: string): this; + appendLeft(index: number, content: string): this; + appendRight(index: number, content: string): this; + overwrite(start: number, end: number, content: string, options?: BindingOverwriteOptions | undefined | null): this; + toString(): string; + hasChanged(): boolean; + length(): number; + isEmpty(): boolean; + remove(start: number, end: number): this; + update(start: number, end: number, content: string, options?: BindingUpdateOptions | undefined | null): this; + relocate(start: number, end: number, to: number): this; + /** + * Alias for `relocate` to match the original magic-string API. + * Moves the characters from `start` to `end` to `index`. + * Returns `this` for method chaining. + */ + move(start: number, end: number, index: number): this; + indent(indentor?: string | undefined | null, options?: BindingIndentOptions | undefined | null): this; + /** Trims whitespace or specified characters from the start and end. */ + trim(charType?: string | undefined | null): this; + /** Trims whitespace or specified characters from the start. */ + trimStart(charType?: string | undefined | null): this; + /** Trims whitespace or specified characters from the end. */ + trimEnd(charType?: string | undefined | null): this; + /** Trims newlines from the start and end. */ + trimLines(): this; + /** + * Deprecated method that throws an error directing users to use prependRight or appendLeft. + * This matches the original magic-string API which deprecated this method. + */ + insert(index: number, content: string): void; + /** Returns a clone of the MagicString instance. */ + clone(): BindingMagicString; + /** Returns the last character of the generated string, or an empty string if empty. */ + lastChar(): string; + /** Returns the content after the last newline in the generated string. */ + lastLine(): string; + /** Returns the guessed indentation string, or `\t` if none is found. */ + getIndentString(): string; + /** Returns a clone with content outside the specified range removed. */ + snip(start: number, end: number): BindingMagicString; + /** + * Resets the portion of the string from `start` to `end` to its original content. + * This undoes any modifications made to that range. + * Supports negative indices (counting from the end). + */ + reset(start: number, end: number): this; + /** + * Returns the content between the specified UTF-16 code unit positions (JS string indices). + * Supports negative indices (counting from the end). + * + * When an index falls in the middle of a surrogate pair, the lone surrogate is + * included in the result (matching the original magic-string / JS behavior). + * This is done by returning a UTF-16 encoded JS string via `napi_create_string_utf16`. + */ + slice(start?: number | undefined | null, end?: number | undefined | null): string; + /** + * Generates a source map for the transformations applied to this MagicString. + * Returns a BindingSourceMap object with version, file, sources, sourcesContent, names, mappings. + */ + generateMap(options?: BindingSourceMapOptions | undefined | null): BindingSourceMap; + /** + * Generates a decoded source map for the transformations applied to this MagicString. + * Returns a BindingDecodedMap object with mappings as an array of arrays. + */ + generateDecodedMap(options?: BindingSourceMapOptions | undefined | null): BindingDecodedMap; +} +declare class BindingNormalizedOptions { + get input(): Array | Record; + get cwd(): string; + get platform(): 'node' | 'browser' | 'neutral'; + get shimMissingExports(): boolean; + get name(): string | null; + get entryFilenames(): string | undefined; + get chunkFilenames(): string | undefined; + get assetFilenames(): string | undefined; + get dir(): string | null; + get file(): string | null; + get format(): 'es' | 'cjs' | 'iife' | 'umd'; + get exports(): 'default' | 'named' | 'none' | 'auto'; + get esModule(): boolean | 'if-default-prop'; + get codeSplitting(): boolean; + get dynamicImportInCjs(): boolean; + get sourcemap(): boolean | 'inline' | 'hidden'; + get sourcemapBaseUrl(): string | null; + get banner(): string | undefined | null | undefined; + get footer(): string | undefined | null | undefined; + get intro(): string | undefined | null | undefined; + get outro(): string | undefined | null | undefined; + get postBanner(): string | undefined | null | undefined; + get postFooter(): string | undefined | null | undefined; + get externalLiveBindings(): boolean; + get extend(): boolean; + get globals(): Record | undefined; + get hashCharacters(): 'base64' | 'base36' | 'hex'; + get sourcemapDebugIds(): boolean; + get sourcemapExcludeSources(): boolean; + get polyfillRequire(): boolean; + get minify(): false | 'dce-only' | MinifyOptions; + get legalComments(): 'none' | 'inline'; + get comments(): BindingCommentsOptions; + get preserveModules(): boolean; + get preserveModulesRoot(): string | undefined; + get virtualDirname(): string; + get topLevelVar(): boolean; + get minifyInternalExports(): boolean; + get context(): string; +} +declare class BindingRenderedChunk { + get name(): string; + get isEntry(): boolean; + get isDynamicEntry(): boolean; + get facadeModuleId(): string | null; + get moduleIds(): Array; + get exports(): Array; + get fileName(): string; + get modules(): BindingModules; + get imports(): Array; + get dynamicImports(): Array; +} +declare class BindingRenderedModule { + get code(): string | null; + get renderedExports(): Array; +} +/** A source map object with properties matching the SourceMap V3 specification. */ +declare class BindingSourceMap { + /** The source map version (always 3). */ + get version(): number; + /** The generated file name. */ + get file(): string | null; + /** The list of original source files. */ + get sources(): Array; + /** The original source contents (if `includeContent` was true). */ + get sourcesContent(): Array; + /** The list of symbol names used in mappings. */ + get names(): Array; + /** The VLQ-encoded mappings string. */ + get mappings(): string; + /** The list of source indices that should be excluded from debugging. */ + get x_google_ignoreList(): Array | null; + /** Returns the source map as a JSON string. */ + toString(): string; + /** Returns the source map as a base64-encoded data URL. */ + toUrl(): string; +} +/** + * Minimal wrapper around a `BundleHandle` for watcher events. + * This is returned from watcher event data to allow calling `result.close()`. + */ +declare class BindingWatcherBundler { + close(): Promise; +} +declare class TsconfigCache { + /** Create a new transform cache with auto tsconfig discovery enabled. */ + constructor(yarnPnp: boolean); + /** + * Clear the cache. + * + * Call this when tsconfig files have changed to ensure fresh resolution. + */ + clear(): void; + /** Get the number of cached entries. */ + size(): number; +} +type BindingBuiltinPluginName = 'builtin:bundle-analyzer' | 'builtin:esm-external-require' | 'builtin:isolated-declaration' | 'builtin:replace' | 'builtin:vite-alias' | 'builtin:vite-build-import-analysis' | 'builtin:vite-dynamic-import-vars' | 'builtin:vite-import-glob' | 'builtin:vite-json' | 'builtin:vite-load-fallback' | 'builtin:vite-manifest' | 'builtin:vite-module-preload-polyfill' | 'builtin:vite-react-refresh-wrapper' | 'builtin:vite-reporter' | 'builtin:vite-resolve' | 'builtin:vite-transform' | 'builtin:vite-wasm-fallback' | 'builtin:vite-web-worker-post' | 'builtin:oxc-runtime'; +interface BindingBundleAnalyzerPluginConfig { + /** Output filename for the bundle analysis data (default: "analyze-data.json") */ + fileName?: string; + /** Output format: "json" (default) or "md" for LLM-friendly markdown */ + format?: 'json' | 'md'; +} +interface BindingBundleState { + lastFullBuildFailed: boolean; + hasStaleOutput: boolean; +} +interface BindingClientHmrUpdate { + clientId: string; + update: BindingHmrUpdate; +} +interface BindingCommentsOptions { + legal?: boolean; + annotation?: boolean; + jsdoc?: boolean; +} +interface BindingCompilerOptions { + baseUrl?: string; + paths?: Record>; + experimentalDecorators?: boolean; + emitDecoratorMetadata?: boolean; + useDefineForClassFields?: boolean; + rewriteRelativeImportExtensions?: boolean; + jsx?: string; + jsxFactory?: string; + jsxFragmentFactory?: string; + jsxImportSource?: string; + verbatimModuleSyntax?: boolean; + preserveValueImports?: boolean; + importsNotUsedAsValues?: string; + target?: string; + module?: string; + allowJs?: boolean; + rootDirs?: Array; +} +/** Enhanced transform options with tsconfig and inputMap support. */ +interface BindingEnhancedTransformOptions { + /** Treat the source text as 'js', 'jsx', 'ts', 'tsx', or 'dts'. */ + lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts'; + /** Treat the source text as 'script', 'module', 'commonjs', or 'unambiguous'. */ + sourceType?: 'script' | 'module' | 'commonjs' | 'unambiguous' | undefined; + /** + * The current working directory. Used to resolve relative paths in other + * options. + */ + cwd?: string; + /** + * Enable source map generation. + * + * When `true`, the `sourceMap` field of transform result objects will be populated. + * + * @default false + */ + sourcemap?: boolean; + /** Set assumptions in order to produce smaller output. */ + assumptions?: CompilerAssumptions; + /** + * Configure how TypeScript is transformed. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/typescript} + */ + typescript?: TypeScriptOptions; + /** + * Configure how TSX and JSX are transformed. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/jsx} + */ + jsx?: 'preserve' | JsxOptions; + /** + * Sets the target environment for the generated JavaScript. + * + * The lowest target is `es2015`. + * + * Example: + * + * * `'es2015'` + * * `['es2020', 'chrome58', 'edge16', 'firefox57', 'node12', 'safari11']` + * + * @default `esnext` (No transformation) + * + * @see {@link https://oxc.rs/docs/guide/usage/transformer/lowering#target} + */ + target?: string | Array; + /** Behaviour for runtime helpers. */ + helpers?: Helpers; + /** + * Define Plugin + * @see {@link https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement#define} + */ + define?: Record; + /** + * Inject Plugin + * @see {@link https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement#inject} + */ + inject?: Record; + /** Decorator plugin */ + decorator?: DecoratorOptions; + /** + * Third-party plugins to use. + * @see {@link https://oxc.rs/docs/guide/usage/transformer/plugins} + */ + plugins?: PluginsOptions; + /** + * Configure tsconfig handling. + * - true: Auto-discover and load the nearest tsconfig.json + * - TsconfigRawOptions: Use the provided inline tsconfig options + */ + tsconfig?: boolean | BindingTsconfigRawOptions; + /** An input source map to collapse with the output source map. */ + inputMap?: SourceMap; +} +/** Result of the enhanced transform API. */ +interface BindingEnhancedTransformResult { + /** + * The transformed code. + * + * If parsing failed, this will be an empty string. + */ + code: string; + /** + * The source map for the transformed code. + * + * This will be set if {@link BindingEnhancedTransformOptions#sourcemap} is `true`. + */ + map?: SourceMap; + /** + * The `.d.ts` declaration file for the transformed code. Declarations are + * only generated if `declaration` is set to `true` and a TypeScript file + * is provided. + * + * If parsing failed and `declaration` is set, this will be an empty string. + * + * @see {@link TypeScriptOptions#declaration} + * @see [declaration tsconfig option](https://www.typescriptlang.org/tsconfig/#declaration) + */ + declaration?: string; + /** + * Declaration source map. Only generated if both + * {@link TypeScriptOptions#declaration declaration} and + * {@link BindingEnhancedTransformOptions#sourcemap sourcemap} are set to `true`. + */ + declarationMap?: SourceMap; + /** + * Helpers used. + * + * @internal + * + * Example: + * + * ```text + * { "_objectSpread": "@oxc-project/runtime/helpers/objectSpread2" } + * ``` + */ + helpersUsed: Record; + /** Parse and transformation errors. */ + errors: Array; + /** Parse and transformation warnings. */ + warnings: Array; + /** Paths to tsconfig files that were loaded during transformation. */ + tsconfigFilePaths: Array; +} +type BindingError = { + type: 'JsError'; + field0: Error; +} | { + type: 'NativeError'; + field0: NativeError; +}; +interface BindingEsmExternalRequirePluginConfig { + external: Array; + skipDuplicateCheck?: boolean; +} +interface BindingHmrBoundaryOutput { + boundary: string; + acceptedVia: string; +} +type BindingHmrUpdate = { + type: 'Patch'; + code: string; + filename: string; + sourcemap?: string; + sourcemapFilename?: string; + hmrBoundaries: Array; +} | { + type: 'FullReload'; + reason?: string; +} | { + type: 'Noop'; +}; +interface BindingHookResolveIdExtraArgs { + custom?: number; + isEntry: boolean; + /** + * - `import-statement`: `import { foo } from './lib.js';` + * - `dynamic-import`: `import('./lib.js')` + * - `require-call`: `require('./lib.js')` + * - `import-rule`: `@import 'bg-color.css'` + * - `url-token`: `url('./icon.png')` + * - `new-url`: `new URL('./worker.js', import.meta.url)` + * - `hot-accept`: `import.meta.hot.accept('./lib.js', () => {})` + */ + kind: 'import-statement' | 'dynamic-import' | 'require-call' | 'import-rule' | 'url-token' | 'new-url' | 'hot-accept'; +} +interface BindingIndentOptions { + exclude?: Array> | Array; +} +interface BindingIsolatedDeclarationPluginConfig { + stripInternal?: boolean; +} +interface BindingLogLocation { + /** 1-based */ + line: number; + /** 0-based position in the line in UTF-16 code units */ + column: number; + file?: string; +} +interface BindingMagicStringOptions { + filename?: string; + offset?: number; + indentExclusionRanges?: Array> | Array; + ignoreList?: boolean; +} +interface BindingModulePreloadOptions { + polyfill: boolean; + resolveDependencies?: (filename: string, deps: string[], context: { + hostId: string; + hostType: 'html' | 'js'; + }) => string[]; +} +interface BindingModules { + values: Array; + keys: Array; +} +interface BindingOverwriteOptions { + contentOnly?: boolean; +} +interface BindingPluginContextResolveOptions { + /** + * - `import-statement`: `import { foo } from './lib.js';` + * - `dynamic-import`: `import('./lib.js')` + * - `require-call`: `require('./lib.js')` + * - `import-rule`: `@import 'bg-color.css'` + * - `url-token`: `url('./icon.png')` + * - `new-url`: `new URL('./worker.js', import.meta.url)` + * - `hot-accept`: `import.meta.hot.accept('./lib.js', () => {})` + */ + importKind?: 'import-statement' | 'dynamic-import' | 'require-call' | 'import-rule' | 'url-token' | 'new-url' | 'hot-accept'; + isEntry?: boolean; + skipSelf?: boolean; + custom?: number; + vitePluginCustom?: BindingVitePluginCustom; +} +declare enum BindingRebuildStrategy { + Always = 0, + Auto = 1, + Never = 2 +} +interface BindingRenderBuiltUrlConfig { + ssr: boolean; + type: 'asset' | 'public'; + hostId: string; + hostType: 'js' | 'css' | 'html'; +} +interface BindingRenderBuiltUrlRet { + relative?: boolean; + runtime?: string; +} +interface BindingReplacePluginConfig { + values: Record; + delimiters?: [string, string]; + preventAssignment?: boolean; + objectGuards?: boolean; + sourcemap?: boolean; +} +interface BindingSourceMapOptions { + /** The filename for the generated file (goes into `map.file`) */ + file?: string; + /** The filename of the original source (goes into `map.sources`) */ + source?: string; + includeContent?: boolean; + /** + * Accepts boolean or string: true, false, "boundary" + * - true: high-resolution sourcemaps (character-level) + * - false: low-resolution sourcemaps (line-level) - default + * - "boundary": high-resolution only at word boundaries + */ + hires?: boolean | string; +} +interface BindingTransformHookExtraArgs { + moduleType: string; +} +interface BindingTsconfig { + files?: Array; + include?: Array; + exclude?: Array; + compilerOptions: BindingCompilerOptions; +} +/** + * TypeScript compiler options for inline tsconfig configuration. + * + * @category Utilities + */ +interface BindingTsconfigCompilerOptions { + /** Specifies the JSX factory function to use. */ + jsx?: 'react' | 'react-jsx' | 'react-jsxdev' | 'preserve' | 'react-native'; + /** Specifies the JSX factory function. */ + jsxFactory?: string; + /** Specifies the JSX fragment factory function. */ + jsxFragmentFactory?: string; + /** Specifies the module specifier for JSX imports. */ + jsxImportSource?: string; + /** Enables experimental decorators. */ + experimentalDecorators?: boolean; + /** Enables decorator metadata emission. */ + emitDecoratorMetadata?: boolean; + /** Preserves module structure of imports/exports. */ + verbatimModuleSyntax?: boolean; + /** Configures how class fields are emitted. */ + useDefineForClassFields?: boolean; + /** The ECMAScript target version. */ + target?: string; + /** @deprecated Use verbatimModuleSyntax instead. */ + preserveValueImports?: boolean; + /** @deprecated Use verbatimModuleSyntax instead. */ + importsNotUsedAsValues?: 'remove' | 'preserve' | 'error'; +} +/** + * Raw tsconfig options for inline configuration. + * + * @category Utilities + */ +interface BindingTsconfigRawOptions { + /** TypeScript compiler options. */ + compilerOptions?: BindingTsconfigCompilerOptions; +} +interface BindingTsconfigResult { + tsconfig: BindingTsconfig; + tsconfigFilePaths: Array; +} +interface BindingUpdateOptions { + overwrite?: boolean; +} +interface BindingViteBuildImportAnalysisPluginConfig { + preloadCode: string; + insertPreload: boolean; + optimizeModulePreloadRelativePaths: boolean; + renderBuiltUrl: boolean; + isRelativeBase: boolean; + v2?: BindingViteBuildImportAnalysisPluginV2Config; +} +interface BindingViteBuildImportAnalysisPluginV2Config { + isSsr: boolean; + urlBase: string; + decodedBase: string; + modulePreload: false | BindingModulePreloadOptions; + renderBuiltUrl?: (filename: string, type: BindingRenderBuiltUrlConfig) => undefined | string | BindingRenderBuiltUrlRet; +} +interface BindingViteDynamicImportVarsPluginConfig { + sourcemap?: boolean; + include?: Array; + exclude?: Array; + resolver?: (id: string, importer: string) => MaybePromise; +} +interface BindingViteImportGlobPluginConfig { + root?: string; + sourcemap?: boolean; + restoreQueryExtension?: boolean; +} +interface BindingViteJsonPluginConfig { + minify?: boolean; + namedExports?: boolean; + stringify?: BindingViteJsonPluginStringify; +} +type BindingViteJsonPluginStringify = boolean | string; +interface BindingViteManifestPluginConfig { + root: string; + outPath: string; + isEnableV2?: boolean; + isLegacy?: (args: BindingNormalizedOptions) => boolean; + cssEntries: () => Record; +} +interface BindingViteModulePreloadPolyfillPluginConfig { + isServer?: boolean; +} +interface BindingVitePluginCustom { + 'vite:import-glob'?: ViteImportGlobMeta; +} +interface BindingViteReactRefreshWrapperPluginConfig { + cwd: string; + include?: Array; + exclude?: Array; + jsxImportSource: string; + reactRefreshHost: string; +} +interface BindingViteReporterPluginConfig { + root: string; + isTty: boolean; + isLib: boolean; + assetsDir: string; + chunkLimit: number; + warnLargeChunks: boolean; + reportCompressedSize: boolean; + logInfo?: (msg: string) => void; +} +interface BindingViteResolvePluginConfig { + resolveOptions: BindingViteResolvePluginResolveOptions; + environmentConsumer: string; + environmentName: string; + builtins: Array; + external: true | string[]; + noExternal: true | Array; + dedupe: Array; + disableCache?: boolean; + legacyInconsistentCjsInterop?: boolean; + finalizeBareSpecifier?: (resolvedId: string, rawId: string, importer: string | null | undefined) => VoidNullable; + finalizeOtherSpecifiers?: (resolvedId: string, rawId: string) => VoidNullable; + resolveSubpathImports: (id: string, importer: string, isRequire: boolean, scan: boolean) => VoidNullable; + onWarn?: (message: string) => void; + onDebug?: (message: string) => void; + yarnPnp: boolean; +} +interface BindingViteResolvePluginResolveOptions { + isBuild: boolean; + isProduction: boolean; + asSrc: boolean; + preferRelative: boolean; + isRequire?: boolean; + root: string; + scan: boolean; + mainFields: Array; + conditions: Array; + externalConditions: Array; + extensions: Array; + tryIndex: boolean; + tryPrefix?: string; + preserveSymlinks: boolean; + tsconfigPaths: boolean; +} +interface BindingViteTransformPluginConfig { + root: string; + include?: Array; + exclude?: Array; + jsxRefreshInclude?: Array; + jsxRefreshExclude?: Array; + isServerConsumer?: boolean; + jsxInject?: string; + transformOptions?: TransformOptions; + yarnPnp?: boolean; +} +interface ExternalMemoryStatus { + freed: boolean; + reason?: string; +} +/** Error emitted from native side, it only contains kind and message, no stack trace. */ +interface NativeError { + kind: string; + message: string; + /** The id of the file associated with the error */ + id?: string; + /** The exporter associated with the error (for import/export errors) */ + exporter?: string; + /** Location information (line, column, file) */ + loc?: BindingLogLocation; + /** Position in the source file in UTF-16 code units */ + pos?: number; +} +interface PreRenderedChunk { + /** The name of this chunk, which is used in naming patterns. */ + name: string; + /** Whether this chunk is a static entry point. */ + isEntry: boolean; + /** Whether this chunk is a dynamic entry point. */ + isDynamicEntry: boolean; + /** The id of a module that this chunk corresponds to. */ + facadeModuleId?: string; + /** The list of ids of modules included in this chunk. */ + moduleIds: Array; + /** Exported variable names from this chunk. */ + exports: Array; +} +interface ViteImportGlobMeta { + isSubImportsPattern?: boolean; +} +//#endregion +export { ExternalMemoryStatus as A, ResolveResult as B, BindingViteManifestPluginConfig as C, BindingViteResolvePluginConfig as D, BindingViteReporterPluginConfig as E, MinifyResult as F, isolatedDeclaration as G, SourceMap as H, NapiResolveOptions as I, isolatedDeclarationSync as K, ParseResult as L, IsolatedDeclarationsResult as M, JsxOptions as N, BindingViteTransformPluginConfig as O, MinifyOptions as P, ParserOptions as R, BindingViteJsonPluginConfig as S, BindingViteReactRefreshWrapperPluginConfig as T, TransformOptions as U, ResolverFactory as V, TsconfigCache as W, BindingTsconfigRawOptions as _, BindingEnhancedTransformOptions as a, BindingViteDynamicImportVarsPluginConfig as b, BindingHookResolveIdExtraArgs as c, BindingPluginContextResolveOptions as d, BindingRebuildStrategy as f, BindingTsconfigCompilerOptions as g, BindingTransformHookExtraArgs as h, BindingClientHmrUpdate as i, IsolatedDeclarationsOptions as j, BindingWatcherBundler as k, BindingIsolatedDeclarationPluginConfig as l, BindingReplacePluginConfig as m, BindingBundleAnalyzerPluginConfig as n, BindingEnhancedTransformResult as o, BindingRenderedChunk as p, moduleRunnerTransform as q, BindingBundleState as r, BindingEsmExternalRequirePluginConfig as s, BindingBuiltinPluginName as t, BindingMagicString as u, BindingTsconfigResult as v, BindingViteModulePreloadPolyfillPluginConfig as w, BindingViteImportGlobPluginConfig as x, BindingViteBuildImportAnalysisPluginConfig as y, PreRenderedChunk as z }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/shared/bindingify-input-options-B7_WBoOp.mjs b/shared/node_modules/rolldown/dist/shared/bindingify-input-options-B7_WBoOp.mjs new file mode 100644 index 0000000000000000000000000000000000000000..3065b4dc120db1303bca84584981f39dd1291a51 --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/bindingify-input-options-B7_WBoOp.mjs @@ -0,0 +1,2241 @@ +import { n as __toESM, t as require_binding } from "./binding-CfwqjDbP.mjs"; +import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-aMKUxRpj.mjs"; +import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DGbe3BlX.mjs"; +import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CoQm4NHO.mjs"; +import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-C0TrL0_H.mjs"; +import { parseAst } from "../parse-ast-index.mjs"; +import path from "node:path"; +import * as filter from "@rolldown/pluginutils"; +import fsp from "node:fs/promises"; +//#region package.json +var version = "1.1.1"; +var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API."; +//#endregion +//#region src/constants/version.ts +/** +* The version of Rolldown. +* @example `'1.0.0'` +* +* @category Plugin APIs +*/ +const VERSION = version; +//#endregion +//#region src/constants/index.ts +/** +* Runtime helper module ID +*/ +const RUNTIME_MODULE_ID = "\0rolldown/runtime.js"; +//#endregion +//#region src/log/logging.ts +const LOG_LEVEL_SILENT = "silent"; +const LOG_LEVEL_ERROR = "error"; +const LOG_LEVEL_WARN = "warn"; +const LOG_LEVEL_INFO = "info"; +const LOG_LEVEL_DEBUG = "debug"; +const logLevelPriority = { + [LOG_LEVEL_DEBUG]: 0, + [LOG_LEVEL_INFO]: 1, + [LOG_LEVEL_WARN]: 2, + [LOG_LEVEL_SILENT]: 3 +}; +//#endregion +//#region src/log/log-handler.ts +const normalizeLog = (log) => typeof log === "string" ? { message: log } : typeof log === "function" ? normalizeLog(log()) : log; +function getLogHandler(level, code, logger, pluginName, logLevel) { + if (logLevelPriority[level] < logLevelPriority[logLevel]) return noop; + return (log, pos) => { + if (pos != null) logger(LOG_LEVEL_WARN, logInvalidLogPosition(pluginName)); + log = normalizeLog(log); + if (log.code && !log.pluginCode) log.pluginCode = log.code; + log.code = code; + log.plugin = pluginName; + logger(level, log); + }; +} +//#endregion +//#region src/utils/normalize-hook.ts +function normalizeHook(hook) { + if (typeof hook === "function" || typeof hook === "string") return { + handler: hook, + options: {}, + meta: {} + }; + if (typeof hook === "object" && hook !== null) { + const { handler, order, ...options } = hook; + return { + handler, + options, + meta: { order } + }; + } + unreachable("Invalid hook type"); +} +//#endregion +//#region src/plugin/minimal-plugin-context.ts +var MinimalPluginContextImpl = class { + pluginName; + hookName; + info; + warn; + debug; + meta; + constructor(onLog, logLevel, pluginName, watchMode, hookName) { + this.pluginName = pluginName; + this.hookName = hookName; + this.debug = getLogHandler(LOG_LEVEL_DEBUG, "PLUGIN_LOG", onLog, pluginName, logLevel); + this.info = getLogHandler(LOG_LEVEL_INFO, "PLUGIN_LOG", onLog, pluginName, logLevel); + this.warn = getLogHandler(LOG_LEVEL_WARN, "PLUGIN_WARNING", onLog, pluginName, logLevel); + this.meta = { + rollupVersion: "4.23.0", + rolldownVersion: VERSION, + watchMode + }; + } + error(e) { + return error(logPluginError(normalizeLog(e), this.pluginName, { hook: this.hookName })); + } +}; +//#endregion +//#region src/types/plain-object-like.ts +const LAZY_FIELDS_KEY = Symbol("__lazy_fields__"); +/** +* Base class for classes that use `@lazyProp` decorated properties. +* +* **Design Pattern in Rolldown:** +* This is a common pattern in Rolldown due to its three-layer architecture: +* TypeScript API → NAPI Bindings → Rust Core +* +* **Why we use getters:** +* For performance - to lazily fetch data from Rust bindings only when needed, +* rather than eagerly fetching all data during object construction. +* +* **The problem:** +* Getters defined on class prototypes are non-enumerable by default, which breaks: +* - Object spread operators ({...obj}) +* - Object.keys() and similar methods +* - Standard JavaScript object semantics +* +* **The solution:** +* This base class automatically converts `@lazyProp` decorated getters into +* own enumerable getters on each instance during construction. +* +* **Result:** +* Objects get both lazy-loading performance benefits AND plain JavaScript object behavior. +* +* @example +* ```typescript +* class MyClass extends PlainObjectLike { +* @lazyProp +* get myProp() { +* return fetchFromRustBinding(); +* } +* } +* ``` +*/ +var PlainObjectLike = class { + constructor() { + setupLazyProperties(this); + } +}; +/** +* Set up lazy properties as own getters on an instance. +* This is called automatically by the `PlainObjectLike` base class constructor. +* +* @param instance - The instance to set up lazy properties on +* @internal +*/ +function setupLazyProperties(instance) { + const lazyFields = instance.constructor[LAZY_FIELDS_KEY]; + if (!lazyFields) return; + for (const [propertyKey, originalGetter] of lazyFields.entries()) { + let cachedValue; + let hasValue = false; + Object.defineProperty(instance, propertyKey, { + get() { + if (!hasValue) { + cachedValue = originalGetter.call(this); + hasValue = true; + } + return cachedValue; + }, + enumerable: true, + configurable: true + }); + } +} +/** +* Get all lazy field names from a class instance. +* +* @param instance - Instance to inspect +* @returns Set of lazy property names +*/ +function getLazyFields(instance) { + const lazyFields = instance.constructor[LAZY_FIELDS_KEY]; + return lazyFields ? new Set(lazyFields.keys()) : /* @__PURE__ */ new Set(); +} +//#endregion +//#region src/decorators/lazy.ts +/** +* Decorator that marks a getter as lazy-evaluated and cached. +* +* **What "lazy" means here:** +* 1. Data is lazily fetched from Rust bindings only when the property is accessed (not eagerly on construction) +* 2. Once fetched, the data is cached for subsequent accesses (performance optimization) +* 3. Despite being a getter, it behaves like a plain object property (enumerable, appears in Object.keys()) +* +* **Important**: Properties decorated with `@lazyProp` are defined as own enumerable +* properties on each instance (not on the prototype). This ensures they: +* - Appear in Object.keys() and Object.getOwnPropertyNames() +* - Are included in object spreads ({...obj}) +* - Are enumerable in for...in loops +* +* Classes using this decorator must extend `PlainObjectLike` base class. +* +* @example +* ```typescript +* class MyClass extends PlainObjectLike { +* @lazyProp +* get expensiveValue() { +* return someExpensiveComputation(); +* } +* } +* ``` +*/ +function lazyProp(target, propertyKey, descriptor) { + if (!target.constructor[LAZY_FIELDS_KEY]) target.constructor[LAZY_FIELDS_KEY] = /* @__PURE__ */ new Map(); + const originalGetter = descriptor.get; + target.constructor[LAZY_FIELDS_KEY].set(propertyKey, originalGetter); + return { + enumerable: false, + configurable: true + }; +} +//#endregion +//#region src/utils/asset-source.ts +function transformAssetSource(bindingAssetSource) { + return bindingAssetSource.inner; +} +function bindingAssetSource(source) { + return { inner: source }; +} +//#endregion +//#region \0@oxc-project+runtime@0.135.0/helpers/esm/decorate.js +function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} +//#endregion +//#region src/types/output-asset-impl.ts +var OutputAssetImpl = class extends PlainObjectLike { + bindingAsset; + type = "asset"; + constructor(bindingAsset) { + super(); + this.bindingAsset = bindingAsset; + } + get fileName() { + return this.bindingAsset.getFileName(); + } + get originalFileName() { + return this.bindingAsset.getOriginalFileName() || null; + } + get originalFileNames() { + return this.bindingAsset.getOriginalFileNames(); + } + get name() { + return this.bindingAsset.getName() ?? void 0; + } + get names() { + return this.bindingAsset.getNames(); + } + get source() { + return transformAssetSource(this.bindingAsset.getSource()); + } + __rolldown_external_memory_handle__(keepDataAlive) { + if (keepDataAlive) this.#evaluateAllLazyFields(); + return this.bindingAsset.dropInner(); + } + #evaluateAllLazyFields() { + for (const field of getLazyFields(this)) this[field]; + } +}; +__decorate([lazyProp], OutputAssetImpl.prototype, "fileName", null); +__decorate([lazyProp], OutputAssetImpl.prototype, "originalFileName", null); +__decorate([lazyProp], OutputAssetImpl.prototype, "originalFileNames", null); +__decorate([lazyProp], OutputAssetImpl.prototype, "name", null); +__decorate([lazyProp], OutputAssetImpl.prototype, "names", null); +__decorate([lazyProp], OutputAssetImpl.prototype, "source", null); +//#endregion +//#region src/utils/transform-rendered-module.ts +function transformToRenderedModule(bindingRenderedModule) { + return { + get code() { + return bindingRenderedModule.code; + }, + get renderedLength() { + return bindingRenderedModule.code?.length || 0; + }, + get renderedExports() { + return bindingRenderedModule.renderedExports; + } + }; +} +//#endregion +//#region src/utils/transform-rendered-chunk.ts +function transformRenderedChunk(chunk) { + let modules = null; + return { + type: "chunk", + get name() { + return chunk.name; + }, + get isEntry() { + return chunk.isEntry; + }, + get isDynamicEntry() { + return chunk.isDynamicEntry; + }, + get facadeModuleId() { + return chunk.facadeModuleId; + }, + get moduleIds() { + return chunk.moduleIds; + }, + get exports() { + return chunk.exports; + }, + get fileName() { + return chunk.fileName; + }, + get imports() { + return chunk.imports; + }, + get dynamicImports() { + return chunk.dynamicImports; + }, + get modules() { + if (!modules) modules = transformChunkModules(chunk.modules); + return modules; + } + }; +} +function transformChunkModules(modules) { + const result = {}; + for (let i = 0; i < modules.values.length; i++) { + let key = modules.keys[i]; + const mod = modules.values[i]; + result[key] = transformToRenderedModule(mod); + } + return result; +} +//#endregion +//#region src/types/output-chunk-impl.ts +var OutputChunkImpl = class extends PlainObjectLike { + bindingChunk; + type = "chunk"; + constructor(bindingChunk) { + super(); + this.bindingChunk = bindingChunk; + } + get fileName() { + return this.bindingChunk.getFileName(); + } + get name() { + return this.bindingChunk.getName(); + } + get exports() { + return this.bindingChunk.getExports(); + } + get isEntry() { + return this.bindingChunk.getIsEntry(); + } + get facadeModuleId() { + return this.bindingChunk.getFacadeModuleId() || null; + } + get isDynamicEntry() { + return this.bindingChunk.getIsDynamicEntry(); + } + get sourcemapFileName() { + return this.bindingChunk.getSourcemapFileName() || null; + } + get preliminaryFileName() { + return this.bindingChunk.getPreliminaryFileName(); + } + get code() { + return this.bindingChunk.getCode(); + } + get modules() { + return transformChunkModules(this.bindingChunk.getModules()); + } + get imports() { + return this.bindingChunk.getImports(); + } + get dynamicImports() { + return this.bindingChunk.getDynamicImports(); + } + get moduleIds() { + return this.bindingChunk.getModuleIds(); + } + get map() { + const mapString = this.bindingChunk.getMap(); + return mapString ? transformToRollupSourceMap(mapString) : null; + } + __rolldown_external_memory_handle__(keepDataAlive) { + if (keepDataAlive) this.#evaluateAllLazyFields(); + return this.bindingChunk.dropInner(); + } + #evaluateAllLazyFields() { + for (const field of getLazyFields(this)) this[field]; + } +}; +__decorate([lazyProp], OutputChunkImpl.prototype, "fileName", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "name", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "exports", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "isEntry", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "facadeModuleId", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "isDynamicEntry", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "sourcemapFileName", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "preliminaryFileName", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "code", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "modules", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "imports", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "dynamicImports", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "moduleIds", null); +__decorate([lazyProp], OutputChunkImpl.prototype, "map", null); +//#endregion +//#region src/utils/transform-to-rollup-output.ts +function transformToRollupSourceMap(map) { + const obj = { + ...JSON.parse(map), + toString() { + return JSON.stringify(obj); + }, + toUrl() { + return `data:application/json;charset=utf-8;base64,${Buffer.from(obj.toString(), "utf-8").toString("base64")}`; + } + }; + return obj; +} +function transformToRollupOutputChunk(bindingChunk) { + return new OutputChunkImpl(bindingChunk); +} +function transformToMutableRollupOutputChunk(bindingChunk, changed) { + const chunk = { + type: "chunk", + get code() { + return bindingChunk.getCode(); + }, + fileName: bindingChunk.getFileName(), + name: bindingChunk.getName(), + get modules() { + return transformChunkModules(bindingChunk.getModules()); + }, + get imports() { + return bindingChunk.getImports(); + }, + get dynamicImports() { + return bindingChunk.getDynamicImports(); + }, + exports: bindingChunk.getExports(), + isEntry: bindingChunk.getIsEntry(), + facadeModuleId: bindingChunk.getFacadeModuleId() || null, + isDynamicEntry: bindingChunk.getIsDynamicEntry(), + get moduleIds() { + return bindingChunk.getModuleIds(); + }, + get map() { + const map = bindingChunk.getMap(); + return map ? transformToRollupSourceMap(map) : null; + }, + sourcemapFileName: bindingChunk.getSourcemapFileName() || null, + preliminaryFileName: bindingChunk.getPreliminaryFileName() + }; + const cache = {}; + return new Proxy(chunk, { + get(target, p) { + if (p in cache) return cache[p]; + const value = target[p]; + cache[p] = value; + return value; + }, + set(_target, p, newValue) { + cache[p] = newValue; + changed.updated.add(bindingChunk.getFileName()); + return true; + }, + has(target, p) { + if (p in cache) return true; + return p in target; + } + }); +} +function transformToRollupOutputAsset(bindingAsset) { + return new OutputAssetImpl(bindingAsset); +} +function transformToMutableRollupOutputAsset(bindingAsset, changed) { + const asset = { + type: "asset", + fileName: bindingAsset.getFileName(), + originalFileName: bindingAsset.getOriginalFileName() || null, + originalFileNames: bindingAsset.getOriginalFileNames(), + get source() { + return transformAssetSource(bindingAsset.getSource()); + }, + name: bindingAsset.getName() ?? void 0, + names: bindingAsset.getNames() + }; + const cache = {}; + return new Proxy(asset, { + get(target, p) { + if (p in cache) return cache[p]; + const value = target[p]; + cache[p] = value; + return value; + }, + set(_target, p, newValue) { + cache[p] = newValue; + changed.updated.add(bindingAsset.getFileName()); + return true; + } + }); +} +function transformToRollupOutput(output) { + const { chunks, assets } = output; + return { output: [...chunks.map((chunk) => transformToRollupOutputChunk(chunk)), ...assets.map((asset) => transformToRollupOutputAsset(asset))] }; +} +function transformToMutableRollupOutput(output, changed) { + const { chunks, assets } = output; + return { output: [...chunks.map((chunk) => transformToMutableRollupOutputChunk(chunk, changed)), ...assets.map((asset) => transformToMutableRollupOutputAsset(asset, changed))] }; +} +function transformToOutputBundle(context, output, changed) { + const bundle = Object.fromEntries(transformToMutableRollupOutput(output, changed).output.map((item) => [item.fileName, item])); + return new Proxy(bundle, { + set(_target, _p, _newValue, _receiver) { + const originalStackTraceLimit = Error.stackTraceLimit; + Error.stackTraceLimit = 2; + const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored. https://rollupjs.org/plugin-development/#generatebundle:~:text=DANGER,this.emitFile."; + const stack = (/* @__PURE__ */ new Error(message)).stack ?? message; + Error.stackTraceLimit = originalStackTraceLimit; + context.warn({ + message: stack, + code: "UNSUPPORTED_BUNDLE_ASSIGNMENT" + }); + return true; + }, + deleteProperty(target, property) { + if (typeof property === "string") changed.deleted.add(property); + return true; + } + }); +} +function collectChangedBundle(changed, bundle) { + const changes = {}; + for (const key in bundle) { + if (changed.deleted.has(key) || !changed.updated.has(key)) continue; + const item = bundle[key]; + if (item.type === "asset") changes[key] = { + filename: item.fileName, + originalFileNames: item.originalFileNames, + source: bindingAssetSource(item.source), + names: item.names + }; + else changes[key] = { + code: item.code, + filename: item.fileName, + name: item.name, + isEntry: item.isEntry, + exports: item.exports, + modules: {}, + imports: item.imports, + dynamicImports: item.dynamicImports, + facadeModuleId: item.facadeModuleId || void 0, + isDynamicEntry: item.isDynamicEntry, + moduleIds: item.moduleIds, + map: bindingifySourcemap(item.map), + sourcemapFilename: item.sourcemapFileName || void 0, + preliminaryFilename: item.preliminaryFileName + }; + } + return { + changes, + deleted: changed.deleted + }; +} +//#endregion +//#region src/binding-magic-string.ts +var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1); +Object.defineProperty(import_binding.BindingMagicString.prototype, "isRolldownMagicString", { + value: true, + writable: false, + configurable: false +}); +function assertString(content, msg) { + if (typeof content !== "string") throw new TypeError(msg); +} +const nativeAppend = import_binding.BindingMagicString.prototype.append; +const nativePrepend = import_binding.BindingMagicString.prototype.prepend; +const nativeAppendLeft = import_binding.BindingMagicString.prototype.appendLeft; +const nativeAppendRight = import_binding.BindingMagicString.prototype.appendRight; +const nativePrependLeft = import_binding.BindingMagicString.prototype.prependLeft; +const nativePrependRight = import_binding.BindingMagicString.prototype.prependRight; +const nativeOverwrite = import_binding.BindingMagicString.prototype.overwrite; +const nativeUpdate = import_binding.BindingMagicString.prototype.update; +import_binding.BindingMagicString.prototype.append = function(content) { + assertString(content, "outro content must be a string"); + return nativeAppend.call(this, content); +}; +import_binding.BindingMagicString.prototype.prepend = function(content) { + assertString(content, "outro content must be a string"); + return nativePrepend.call(this, content); +}; +import_binding.BindingMagicString.prototype.appendLeft = function(index, content) { + assertString(content, "inserted content must be a string"); + return nativeAppendLeft.call(this, index, content); +}; +import_binding.BindingMagicString.prototype.appendRight = function(index, content) { + assertString(content, "inserted content must be a string"); + return nativeAppendRight.call(this, index, content); +}; +import_binding.BindingMagicString.prototype.prependLeft = function(index, content) { + assertString(content, "inserted content must be a string"); + return nativePrependLeft.call(this, index, content); +}; +import_binding.BindingMagicString.prototype.prependRight = function(index, content) { + assertString(content, "inserted content must be a string"); + return nativePrependRight.call(this, index, content); +}; +import_binding.BindingMagicString.prototype.overwrite = function(start, end, content, options) { + assertString(content, "replacement content must be a string"); + return nativeOverwrite.call(this, start, end, content, options); +}; +import_binding.BindingMagicString.prototype.update = function(start, end, content, options) { + assertString(content, "replacement content must be a string"); + return nativeUpdate.call(this, start, end, content, options); +}; +const nativeReplace = import_binding.BindingMagicString.prototype.replace; +const nativeReplaceAll = import_binding.BindingMagicString.prototype.replaceAll; +import_binding.BindingMagicString.prototype.replace = function(searchValue, replacement) { + if (typeof searchValue === "string") return nativeReplace.call(this, searchValue, replacement); + if (searchValue.global) searchValue.lastIndex = 0; + const lastMatchEnd = this.replaceRegex(searchValue, replacement); + if (searchValue.global) searchValue.lastIndex = 0; + else if (searchValue.sticky) searchValue.lastIndex = lastMatchEnd === -1 ? 0 : lastMatchEnd; + return this; +}; +import_binding.BindingMagicString.prototype.replaceAll = function(searchValue, replacement) { + if (typeof searchValue === "string") return nativeReplaceAll.call(this, searchValue, replacement); + if (!searchValue.global) throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument"); + searchValue.lastIndex = 0; + this.replaceRegex(searchValue, replacement); + searchValue.lastIndex = 0; + return this; +}; +/** +* A native MagicString implementation powered by Rust. +* +* @experimental +*/ +const RolldownMagicString = import_binding.BindingMagicString; +//#endregion +//#region src/utils/transform-module-info.ts +function transformModuleInfo(info, option) { + return { + get ast() { + return unsupported("ModuleInfo#ast"); + }, + get code() { + return info.code; + }, + id: info.id, + importers: info.importers, + dynamicImporters: info.dynamicImporters, + importedIds: info.importedIds, + dynamicallyImportedIds: info.dynamicallyImportedIds, + exports: info.exports, + isEntry: info.isEntry, + inputFormat: info.inputFormat, + ...option + }; +} +//#endregion +//#region src/utils/transform-sourcemap.ts +function isEmptySourcemapFiled(array) { + if (!array) return true; + if (array.length === 0 || !array[0]) return true; + return false; +} +function normalizeTransformHookSourcemap(id, originalCode, rawMap) { + if (!rawMap) return; + let map = typeof rawMap === "object" ? rawMap : JSON.parse(rawMap); + if (isEmptySourcemapFiled(map.sourcesContent)) map.sourcesContent = [originalCode]; + if (isEmptySourcemapFiled(map.sources) || map.sources && map.sources.length === 1 && map.sources[0] !== id) map.sources = [id]; + return map; +} +//#endregion +//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js +function e(e, t, n) { + let r = (n) => e(n, ...t); + return n === void 0 ? r : Object.assign(r, { + lazy: n, + lazyArgs: t + }); +} +//#endregion +//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/purry.js +function t$1(t, n, r) { + let i = t.length - n.length; + if (i === 0) return t(...n); + if (i === 1) return e(t, n, r); + throw Error(`Wrong number of arguments`); +} +//#endregion +//#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/partition.js +function t(...t) { + return t$1(n, t); +} +const n = (e, t) => { + let n = [[], []]; + for (let [r, i] of e.entries()) t(i, r, e) ? n[0].push(i) : n[1].push(i); + return n; +}; +//#endregion +//#region src/plugin/bindingify-hook-filter.ts +function generalHookFilterMatcherToFilterExprs(matcher, stringKind) { + if (typeof matcher === "string" || matcher instanceof RegExp) return [filter.include(generateAtomMatcher(stringKind, matcher))]; + if (Array.isArray(matcher)) return matcher.map((m) => filter.include(generateAtomMatcher(stringKind, m))); + let ret = []; + if (matcher.exclude) ret.push(...arraify(matcher.exclude).map((m) => filter.exclude(generateAtomMatcher(stringKind, m)))); + if (matcher.include) ret.push(...arraify(matcher.include).map((m) => filter.include(generateAtomMatcher(stringKind, m)))); + return ret; +} +function generateAtomMatcher(kind, matcher) { + return kind === "code" ? filter.code(matcher) : filter.id(matcher); +} +function transformFilterMatcherToFilterExprs(filterOption) { + if (!filterOption) return; + if (Array.isArray(filterOption)) return filterOption; + const { id, code, moduleType } = filterOption; + let ret = []; + let idIncludes = []; + let idExcludes = []; + let codeIncludes = []; + let codeExcludes = []; + if (id) [idIncludes, idExcludes] = t(generalHookFilterMatcherToFilterExprs(id, "id") ?? [], (m) => m.kind === "include"); + if (code) [codeIncludes, codeExcludes] = t(generalHookFilterMatcherToFilterExprs(code, "code") ?? [], (m) => m.kind === "include"); + ret.push(...idExcludes); + ret.push(...codeExcludes); + let andExprList = []; + if (moduleType) { + let moduleTypes = Array.isArray(moduleType) ? moduleType : moduleType.include ?? []; + andExprList.push(filter.or(...moduleTypes.map((m) => filter.moduleType(m)))); + } + if (idIncludes.length) andExprList.push(filter.or(...idIncludes.map((item) => item.expr))); + if (codeIncludes.length) andExprList.push(filter.or(...codeIncludes.map((item) => item.expr))); + if (andExprList.length) ret.push(filter.include(filter.and(...andExprList))); + return ret; +} +function bindingifyGeneralHookFilter(stringKind, pattern) { + let filterExprs = generalHookFilterMatcherToFilterExprs(pattern, stringKind); + let ret = []; + if (filterExprs) ret = filterExprs.map(bindingifyFilterExpr); + return ret.length > 0 ? { value: ret } : void 0; +} +function bindingifyFilterExpr(expr) { + let list = []; + bindingifyFilterExprImpl(expr, list); + return list; +} +function containsImporterId(expr) { + switch (expr.kind) { + case "and": + case "or": return expr.args.some(containsImporterId); + case "not": + case "include": + case "exclude": return containsImporterId(expr.expr); + case "importerId": return true; + default: return false; + } +} +function assertNoImporterId(filterExprs, hookName) { + if (filterExprs?.some(containsImporterId)) throw new Error(`The \`importerId\` filter can only be used with the \`resolveId\` hook, but it was used with the \`${hookName}\` hook.`); +} +function bindingifyFilterExprImpl(expr, list) { + switch (expr.kind) { + case "and": { + let args = expr.args; + for (let i = args.length - 1; i >= 0; i--) bindingifyFilterExprImpl(args[i], list); + list.push({ + kind: "And", + payload: args.length + }); + break; + } + case "or": { + let args = expr.args; + for (let i = args.length - 1; i >= 0; i--) bindingifyFilterExprImpl(args[i], list); + list.push({ + kind: "Or", + payload: args.length + }); + break; + } + case "not": + bindingifyFilterExprImpl(expr.expr, list); + list.push({ kind: "Not" }); + break; + case "id": + list.push({ + kind: "Id", + payload: expr.pattern + }); + if (expr.params.cleanUrl) list.push({ kind: "CleanUrl" }); + break; + case "importerId": + list.push({ + kind: "ImporterId", + payload: expr.pattern + }); + if (expr.params.cleanUrl) list.push({ kind: "CleanUrl" }); + break; + case "moduleType": + list.push({ + kind: "ModuleType", + payload: expr.pattern + }); + break; + case "code": + list.push({ + kind: "Code", + payload: expr.pattern + }); + break; + case "include": + bindingifyFilterExprImpl(expr.expr, list); + list.push({ kind: "Include" }); + break; + case "exclude": + bindingifyFilterExprImpl(expr.expr, list); + list.push({ kind: "Exclude" }); + break; + case "query": + list.push({ + kind: "QueryKey", + payload: expr.key + }); + list.push({ + kind: "QueryValue", + payload: expr.pattern + }); + break; + default: throw new Error(`Unknown filter expression: ${expr}`); + } +} +function bindingifyResolveIdFilter(filterOption) { + if (!filterOption) return; + if (Array.isArray(filterOption)) return { value: filterOption.map(bindingifyFilterExpr) }; + return filterOption.id ? bindingifyGeneralHookFilter("id", filterOption.id) : void 0; +} +function bindingifyLoadFilter(filterOption) { + if (!filterOption) return; + if (Array.isArray(filterOption)) { + assertNoImporterId(filterOption, "load"); + return { value: filterOption.map(bindingifyFilterExpr) }; + } + return filterOption.id ? bindingifyGeneralHookFilter("id", filterOption.id) : void 0; +} +function bindingifyTransformFilter(filterOption) { + if (!filterOption) return; + let filterExprs = transformFilterMatcherToFilterExprs(filterOption); + assertNoImporterId(filterExprs, "transform"); + let ret = []; + if (filterExprs) ret = filterExprs.map(bindingifyFilterExpr); + return { value: ret.length > 0 ? ret : void 0 }; +} +function bindingifyRenderChunkFilter(filterOption) { + if (!filterOption) return; + if (Array.isArray(filterOption)) { + assertNoImporterId(filterOption, "renderChunk"); + return { value: filterOption.map(bindingifyFilterExpr) }; + } + return filterOption.code ? bindingifyGeneralHookFilter("code", filterOption.code) : void 0; +} +//#endregion +//#region src/plugin/bindingify-plugin-hook-meta.ts +function bindingifyPluginHookMeta(options) { + return { order: bindingPluginOrder(options.order) }; +} +function bindingPluginOrder(order) { + switch (order) { + case "post": return import_binding.BindingPluginOrder.Post; + case "pre": return import_binding.BindingPluginOrder.Pre; + case null: + case void 0: return; + default: throw new Error(`Unknown plugin order: ${order}`); + } +} +//#endregion +//#region src/plugin/fs.ts +const fsModule = { + appendFile: fsp.appendFile, + copyFile: fsp.copyFile, + mkdir: fsp.mkdir, + mkdtemp: fsp.mkdtemp, + readdir: fsp.readdir, + readFile: fsp.readFile, + realpath: fsp.realpath, + rename: fsp.rename, + rmdir: fsp.rmdir, + stat: fsp.stat, + lstat: fsp.lstat, + unlink: fsp.unlink, + writeFile: fsp.writeFile +}; +//#endregion +//#region src/plugin/plugin-context.ts +var PluginContextImpl = class extends MinimalPluginContextImpl { + outputOptions; + context; + data; + onLog; + currentLoadingModule; + fs = fsModule; + getModuleInfo; + constructor(outputOptions, context, plugin, data, onLog, logLevel, watchMode, currentLoadingModule) { + super(onLog, logLevel, plugin.name, watchMode); + this.outputOptions = outputOptions; + this.context = context; + this.data = data; + this.onLog = onLog; + this.currentLoadingModule = currentLoadingModule; + this.getModuleInfo = (id) => this.data.getModuleInfo(id, context); + } + async load(options) { + const id = options.id; + if (id === this.currentLoadingModule) this.onLog(LOG_LEVEL_WARN, logCycleLoading(this.pluginName, this.currentLoadingModule)); + const moduleInfo = this.data.getModuleInfo(id, this.context); + if (moduleInfo && moduleInfo.code !== null) return moduleInfo; + const rawOptions = { + meta: options.meta || {}, + moduleSideEffects: options.moduleSideEffects || null, + invalidate: false + }; + this.data.updateModuleOption(id, rawOptions); + let loadPromise = this.data.loadModulePromiseMap.get(id); + if (!loadPromise) { + loadPromise = this.context.load(id, options.moduleSideEffects ?? void 0, options.packageJsonPath ?? void 0).catch(() => { + this.data.loadModulePromiseMap.delete(id); + }); + this.data.loadModulePromiseMap.set(id, loadPromise); + } + await loadPromise; + return this.data.getModuleInfo(id, this.context); + } + async resolve(source, importer, options) { + let receipt = void 0; + if (options != null) receipt = this.data.saveResolveOptions(options); + const vitePluginCustom = Object.entries(options?.custom ?? {}).reduce((acc, [key, value]) => { + if (key.startsWith("vite:")) (acc ??= {})[key] = value; + return acc; + }, void 0); + const res = await this.context.resolve(source, importer, { + importKind: options?.kind, + custom: receipt, + isEntry: options?.isEntry, + skipSelf: options?.skipSelf, + vitePluginCustom + }); + if (receipt != null) this.data.removeSavedResolveOptions(receipt); + if (res == null) return null; + const info = this.data.getModuleOption(res.id) || {}; + return { + ...res, + external: res.external === "relative" ? unreachable(`The PluginContext resolve result external couldn't be 'relative'`) : res.external, + ...info, + moduleSideEffects: info.moduleSideEffects ?? res.moduleSideEffects ?? null, + packageJsonPath: res.packageJsonPath + }; + } + emitFile = (file) => { + if (file.type === "prebuilt-chunk") return this.context.emitPrebuiltChunk({ + fileName: file.fileName, + name: file.name, + code: file.code, + exports: file.exports, + map: bindingifySourcemap(file.map), + sourcemapFileName: file.sourcemapFileName, + facadeModuleId: file.facadeModuleId, + isEntry: file.isEntry, + isDynamicEntry: file.isDynamicEntry + }); + if (file.type === "chunk") return this.context.emitChunk({ + preserveEntrySignatures: bindingifyPreserveEntrySignatures(file.preserveSignature), + ...file + }); + const fnSanitizedFileName = file.fileName || typeof this.outputOptions.sanitizeFileName !== "function" ? void 0 : this.outputOptions.sanitizeFileName(file.name || "asset"); + const filename = file.fileName ? void 0 : this.getAssetFileNames(file); + return this.context.emitFile({ + ...file, + originalFileName: file.originalFileName || void 0, + source: bindingAssetSource(file.source) + }, filename, fnSanitizedFileName); + }; + getAssetFileNames(file) { + if (typeof this.outputOptions.assetFileNames === "function") return this.outputOptions.assetFileNames({ + type: "asset", + name: file.name, + names: file.name ? [file.name] : [], + originalFileName: file.originalFileName, + originalFileNames: file.originalFileName ? [file.originalFileName] : [], + source: file.source + }); + } + getFileName(referenceId) { + return this.context.getFileName(referenceId); + } + getModuleIds() { + return this.data.getModuleIds(this.context); + } + addWatchFile(id) { + this.context.addWatchFile(id); + } + parse(input, options) { + return parseAst(input, options); + } +}; +//#endregion +//#region src/plugin/load-plugin-context.ts +var LoadPluginContextImpl = class extends PluginContextImpl { + inner; + constructor(outputOptions, context, plugin, data, inner, moduleId, onLog, logLevelOption, watchMode) { + super(outputOptions, context, plugin, data, onLog, logLevelOption, watchMode, moduleId); + this.inner = inner; + } + addWatchFile(id) { + this.inner.addWatchFile(id); + } +}; +//#endregion +//#region src/plugin/transform-plugin-context.ts +var TransformPluginContextImpl = class extends PluginContextImpl { + inner; + moduleId; + moduleSource; + constructor(outputOptions, context, plugin, data, inner, moduleId, moduleSource, onLog, LogLevelOption, watchMode) { + super(outputOptions, context, plugin, data, onLog, LogLevelOption, watchMode, moduleId); + this.inner = inner; + this.moduleId = moduleId; + this.moduleSource = moduleSource; + const getLogHandler = (handler) => (log, pos) => { + log = normalizeLog(log); + if (pos) augmentCodeLocation(log, pos, moduleSource, moduleId); + log.id = moduleId; + log.hook = "transform"; + handler(log); + }; + this.debug = getLogHandler(this.debug); + this.warn = getLogHandler(this.warn); + this.info = getLogHandler(this.info); + } + error(e, pos) { + if (typeof e === "string") e = { message: e }; + if (pos) augmentCodeLocation(e, pos, this.moduleSource, this.moduleId); + e.id = this.moduleId; + e.hook = "transform"; + return error(logPluginError(normalizeLog(e), this.pluginName)); + } + getCombinedSourcemap() { + return JSON.parse(this.inner.getCombinedSourcemap()); + } + addWatchFile(id) { + this.inner.addWatchFile(id); + } + sendMagicString(s) { + this.inner.sendMagicString(s); + } +}; +//#endregion +//#region src/plugin/bindingify-build-hooks.ts +function createPluginContext(args, ctx) { + return new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode); +} +function bindingifyBuildStart(args) { + const hook = args.plugin.buildStart; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, opts) => { + await handler.call(createPluginContext(args, ctx), args.pluginContextData.getInputOptions(opts)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyBuildEnd(args) { + const hook = args.plugin.buildEnd; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, err) => { + await handler.call(createPluginContext(args, ctx), err ? aggregateBindingErrorsIntoJsError(err) : void 0); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyResolveId(args) { + const hook = args.plugin.resolveId; + if (!hook) return {}; + const { handler, meta, options } = normalizeHook(hook); + return { + plugin: async (ctx, specifier, importer, extraOptions) => { + const contextResolveOptions = extraOptions.custom != null ? args.pluginContextData.getSavedResolveOptions(extraOptions.custom) : void 0; + const ret = await handler.call(createPluginContext(args, ctx), specifier, importer ?? void 0, { + ...extraOptions, + custom: contextResolveOptions?.custom + }); + if (ret == null) return; + if (ret === false) return { + id: specifier, + external: true, + normalizeExternalId: true + }; + if (typeof ret === "string") return { + id: ret, + normalizeExternalId: false + }; + let exist = args.pluginContextData.updateModuleOption(ret.id, { + meta: ret.meta || {}, + moduleSideEffects: ret.moduleSideEffects ?? null, + invalidate: false + }); + return { + id: ret.id, + external: ret.external, + normalizeExternalId: false, + moduleSideEffects: exist.moduleSideEffects ?? void 0, + packageJsonPath: ret.packageJsonPath + }; + }, + meta: bindingifyPluginHookMeta(meta), + filter: bindingifyResolveIdFilter(options.filter) + }; +} +function bindingifyResolveDynamicImport(args) { + const hook = args.plugin.resolveDynamicImport; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, specifier, importer) => { + const ret = await handler.call(createPluginContext(args, ctx), specifier, importer ?? void 0); + if (ret == null) return; + if (ret === false) return { + id: specifier, + external: true + }; + if (typeof ret === "string") return { id: ret }; + const result = { + id: ret.id, + external: ret.external, + packageJsonPath: ret.packageJsonPath + }; + if (ret.moduleSideEffects !== null) result.moduleSideEffects = ret.moduleSideEffects; + args.pluginContextData.updateModuleOption(ret.id, { + meta: ret.meta || {}, + moduleSideEffects: ret.moduleSideEffects || null, + invalidate: false + }); + return result; + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyTransform(args) { + const hook = args.plugin.transform; + if (!hook) return {}; + const { handler, meta, options } = normalizeHook(hook); + return { + plugin: async (ctx, code, id, meta) => { + let magicStringInstance, astInstance; + Object.defineProperties(meta, { + magicString: { get() { + if (magicStringInstance) return magicStringInstance; + magicStringInstance = new RolldownMagicString(code); + return magicStringInstance; + } }, + ast: { get() { + if (astInstance) return astInstance; + let lang = "js"; + switch (meta.moduleType) { + case "js": + case "jsx": + case "ts": + case "tsx": + lang = meta.moduleType; + break; + default: break; + } + astInstance = parseAst(code, { + astType: meta.moduleType.includes("ts") ? "ts" : "js", + lang + }); + return astInstance; + } } + }); + const transformCtx = new TransformPluginContextImpl(args.outputOptions, ctx.inner(), args.plugin, args.pluginContextData, ctx, id, code, args.onLog, args.logLevel, args.watchMode); + const ret = await handler.call(transformCtx, code, id, meta); + if (ret == null) return; + if (typeof ret === "string") return { code: ret }; + let moduleOption = args.pluginContextData.updateModuleOption(id, { + meta: ret.meta ?? {}, + moduleSideEffects: ret.moduleSideEffects ?? null, + invalidate: false + }); + let normalizedCode = void 0; + let map = ret.map; + let mapHandledByNativeChannel = false; + if (typeof ret.code === "string") normalizedCode = ret.code; + else if (ret.code instanceof RolldownMagicString) { + let magicString = ret.code; + normalizedCode = magicString.toString(); + let fallbackSourcemap = ctx.sendMagicString(magicString); + if (fallbackSourcemap != void 0) map = fallbackSourcemap; + else mapHandledByNativeChannel = true; + } + return { + code: normalizedCode, + map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, map)) ?? (mapHandledByNativeChannel || ret.map === null ? null : void 0), + moduleSideEffects: moduleOption.moduleSideEffects ?? void 0, + moduleType: ret.moduleType + }; + }, + meta: bindingifyPluginHookMeta(meta), + filter: bindingifyTransformFilter(options.filter) + }; +} +function bindingifyLoad(args) { + const hook = args.plugin.load; + if (!hook) return {}; + const { handler, meta, options } = normalizeHook(hook); + return { + plugin: async (ctx, id) => { + const ret = await handler.call(new LoadPluginContextImpl(args.outputOptions, ctx.inner(), args.plugin, args.pluginContextData, ctx, id, args.onLog, args.logLevel, args.watchMode), id); + if (ret == null) return; + if (typeof ret === "string") return { code: ret }; + let moduleOption = args.pluginContextData.updateModuleOption(id, { + meta: ret.meta || {}, + moduleSideEffects: ret.moduleSideEffects ?? null, + invalidate: false + }); + let map = preProcessSourceMap(ret, id); + return { + code: ret.code, + map: bindingifySourcemap(map), + moduleType: ret.moduleType, + moduleSideEffects: moduleOption.moduleSideEffects ?? void 0 + }; + }, + meta: bindingifyPluginHookMeta(meta), + filter: bindingifyLoadFilter(options.filter) + }; +} +function preProcessSourceMap(ret, id) { + if (!ret.map) return; + let map = typeof ret.map === "object" ? ret.map : JSON.parse(ret.map); + if (!isEmptySourcemapFiled(map.sources)) { + const directory = path.dirname(id) || "."; + const sourceRoot = map.sourceRoot || "."; + map.sources = map.sources.map((source) => path.resolve(directory, sourceRoot, source)); + } + return map; +} +function bindingifyModuleParsed(args) { + const hook = args.plugin.moduleParsed; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, moduleInfo) => { + await handler.call(createPluginContext(args, ctx), transformModuleInfo(moduleInfo, args.pluginContextData.getModuleOption(moduleInfo.id))); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +//#endregion +//#region src/plugin/bindingify-output-hooks.ts +function bindingifyRenderStart(args) { + const hook = args.plugin.renderStart; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, opts) => { + handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), args.pluginContextData.getOutputOptions(opts), args.pluginContextData.getInputOptions(opts)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyRenderChunk(args) { + const hook = args.plugin.renderChunk; + if (!hook) return {}; + const { handler, meta, options } = normalizeHook(hook); + return { + plugin: async (ctx, code, chunk, opts, meta) => { + if (args.pluginContextData.getRenderChunkMeta() == null) args.pluginContextData.setRenderChunkMeta({ chunks: Object.fromEntries(Object.entries(meta.chunks).map(([key, value]) => [key, transformRenderedChunk(value)])) }); + const renderChunkMeta = args.pluginContextData.getRenderChunkMeta(); + let magicStringInstance; + if (args.options.experimental?.nativeMagicString) Object.defineProperty(renderChunkMeta, "magicString", { + get() { + if (magicStringInstance) return magicStringInstance; + magicStringInstance = new RolldownMagicString(code); + return magicStringInstance; + }, + configurable: true + }); + const ret = await handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), code, transformRenderedChunk(chunk), args.pluginContextData.getOutputOptions(opts), renderChunkMeta); + if (ret == null) return; + if (ret instanceof RolldownMagicString) { + const normalizedCode = ret.toString(); + const generatedMap = ret.generateMap(); + return { + code: normalizedCode, + map: bindingifySourcemap({ + file: generatedMap.file, + mappings: generatedMap.mappings, + names: generatedMap.names, + sources: generatedMap.sources, + sourcesContent: generatedMap.sourcesContent.map((s) => s ?? null) + }) + }; + } + if (typeof ret === "string") return { code: ret }; + if (ret.code instanceof RolldownMagicString) { + const magicString = ret.code; + const normalizedCode = magicString.toString(); + if (ret.map === null) return { + code: normalizedCode, + map: null + }; + if (ret.map === void 0) { + const generatedMap = magicString.generateMap(); + return { + code: normalizedCode, + map: bindingifySourcemap({ + file: generatedMap.file, + mappings: generatedMap.mappings, + names: generatedMap.names, + sources: generatedMap.sources, + sourcesContent: generatedMap.sourcesContent.map((s) => s ?? null) + }) + }; + } + return { + code: normalizedCode, + map: bindingifySourcemap(ret.map) + }; + } + if (ret.map === null) return { + code: ret.code, + map: null + }; + return { + code: ret.code, + map: bindingifySourcemap(ret.map) + }; + }, + meta: bindingifyPluginHookMeta(meta), + filter: bindingifyRenderChunkFilter(options.filter) + }; +} +function bindingifyAugmentChunkHash(args) { + const hook = args.plugin.augmentChunkHash; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, chunk) => { + return handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), transformRenderedChunk(chunk)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyRenderError(args) { + const hook = args.plugin.renderError; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, err) => { + handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), aggregateBindingErrorsIntoJsError(err)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyGenerateBundle(args) { + const hook = args.plugin.generateBundle; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, bundle, isWrite, opts) => { + const changed = { + updated: /* @__PURE__ */ new Set(), + deleted: /* @__PURE__ */ new Set() + }; + const context = new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode); + const output = transformToOutputBundle(context, unwrapBindingResult(bundle), changed); + await handler.call(context, args.pluginContextData.getOutputOptions(opts), output, isWrite); + return collectChangedBundle(changed, output); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyWriteBundle(args) { + const hook = args.plugin.writeBundle; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, bundle, opts) => { + const changed = { + updated: /* @__PURE__ */ new Set(), + deleted: /* @__PURE__ */ new Set() + }; + const context = new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode); + const output = transformToOutputBundle(context, unwrapBindingResult(bundle), changed); + await handler.call(context, args.pluginContextData.getOutputOptions(opts), output); + return collectChangedBundle(changed, output); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyCloseBundle(args) { + const hook = args.plugin.closeBundle; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, err) => { + await handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), err ? aggregateBindingErrorsIntoJsError(err) : void 0); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyBanner(args) { + const hook = args.plugin.banner; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, chunk) => { + if (typeof handler === "string") return handler; + return handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), transformRenderedChunk(chunk)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyFooter(args) { + const hook = args.plugin.footer; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, chunk) => { + if (typeof handler === "string") return handler; + return handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), transformRenderedChunk(chunk)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyIntro(args) { + const hook = args.plugin.intro; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, chunk) => { + if (typeof handler === "string") return handler; + return handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), transformRenderedChunk(chunk)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyOutro(args) { + const hook = args.plugin.outro; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, chunk) => { + if (typeof handler === "string") return handler; + return handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), transformRenderedChunk(chunk)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +//#endregion +//#region src/plugin/bindingify-watch-hooks.ts +function bindingifyWatchChange(args) { + const hook = args.plugin.watchChange; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx, id, event) => { + await handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), id, { event }); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +function bindingifyCloseWatcher(args) { + const hook = args.plugin.closeWatcher; + if (!hook) return {}; + const { handler, meta } = normalizeHook(hook); + return { + plugin: async (ctx) => { + await handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode)); + }, + meta: bindingifyPluginHookMeta(meta) + }; +} +//#endregion +//#region src/plugin/generated/hook-usage.ts +var HookUsage = class { + bitflag = BigInt(0); + constructor() {} + union(kind) { + this.bitflag |= BigInt(kind); + } + inner() { + return Number(this.bitflag); + } +}; +function extractHookUsage(plugin) { + let hookUsage = new HookUsage(); + if (plugin.buildStart) hookUsage.union(1); + if (plugin.resolveId) hookUsage.union(2); + if (plugin.resolveDynamicImport) hookUsage.union(4); + if (plugin.load) hookUsage.union(8); + if (plugin.transform) hookUsage.union(16); + if (plugin.moduleParsed) hookUsage.union(32); + if (plugin.buildEnd) hookUsage.union(64); + if (plugin.renderStart) hookUsage.union(128); + if (plugin.renderError) hookUsage.union(256); + if (plugin.renderChunk) hookUsage.union(512); + if (plugin.augmentChunkHash) hookUsage.union(1024); + if (plugin.generateBundle) hookUsage.union(2048); + if (plugin.writeBundle) hookUsage.union(4096); + if (plugin.closeBundle) hookUsage.union(8192); + if (plugin.watchChange) hookUsage.union(16384); + if (plugin.closeWatcher) hookUsage.union(32768); + if (plugin.banner) hookUsage.union(131072); + if (plugin.footer) hookUsage.union(262144); + if (plugin.intro) hookUsage.union(524288); + if (plugin.outro) hookUsage.union(1048576); + return hookUsage; +} +//#endregion +//#region src/plugin/bindingify-plugin.ts +function bindingifyPlugin(plugin, options, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode) { + const args = { + plugin, + options, + outputOptions, + pluginContextData, + onLog, + logLevel, + watchMode, + normalizedOutputPlugins + }; + const { plugin: buildStart, meta: buildStartMeta } = bindingifyBuildStart(args); + const { plugin: resolveId, meta: resolveIdMeta, filter: resolveIdFilter } = bindingifyResolveId(args); + const { plugin: resolveDynamicImport, meta: resolveDynamicImportMeta } = bindingifyResolveDynamicImport(args); + const { plugin: buildEnd, meta: buildEndMeta } = bindingifyBuildEnd(args); + const { plugin: transform, meta: transformMeta, filter: transformFilter } = bindingifyTransform(args); + const { plugin: moduleParsed, meta: moduleParsedMeta } = bindingifyModuleParsed(args); + const { plugin: load, meta: loadMeta, filter: loadFilter } = bindingifyLoad(args); + const { plugin: renderChunk, meta: renderChunkMeta, filter: renderChunkFilter } = bindingifyRenderChunk(args); + const { plugin: augmentChunkHash, meta: augmentChunkHashMeta } = bindingifyAugmentChunkHash(args); + const { plugin: renderStart, meta: renderStartMeta } = bindingifyRenderStart(args); + const { plugin: renderError, meta: renderErrorMeta } = bindingifyRenderError(args); + const { plugin: generateBundle, meta: generateBundleMeta } = bindingifyGenerateBundle(args); + const { plugin: writeBundle, meta: writeBundleMeta } = bindingifyWriteBundle(args); + const { plugin: closeBundle, meta: closeBundleMeta } = bindingifyCloseBundle(args); + const { plugin: banner, meta: bannerMeta } = bindingifyBanner(args); + const { plugin: footer, meta: footerMeta } = bindingifyFooter(args); + const { plugin: intro, meta: introMeta } = bindingifyIntro(args); + const { plugin: outro, meta: outroMeta } = bindingifyOutro(args); + const { plugin: watchChange, meta: watchChangeMeta } = bindingifyWatchChange(args); + const { plugin: closeWatcher, meta: closeWatcherMeta } = bindingifyCloseWatcher(args); + let hookUsage = extractHookUsage(plugin).inner(); + return wrapHandlers({ + name: plugin.name, + buildStart, + buildStartMeta, + resolveId, + resolveIdMeta, + resolveIdFilter, + resolveDynamicImport, + resolveDynamicImportMeta, + buildEnd, + buildEndMeta, + transform, + transformMeta, + transformFilter, + moduleParsed, + moduleParsedMeta, + load, + loadMeta, + loadFilter, + renderChunk, + renderChunkMeta, + renderChunkFilter, + augmentChunkHash, + augmentChunkHashMeta, + renderStart, + renderStartMeta, + renderError, + renderErrorMeta, + generateBundle, + generateBundleMeta, + writeBundle, + writeBundleMeta, + closeBundle, + closeBundleMeta, + banner, + bannerMeta, + footer, + footerMeta, + intro, + introMeta, + outro, + outroMeta, + watchChange, + watchChangeMeta, + closeWatcher, + closeWatcherMeta, + hookUsage + }); +} +function wrapHandlers(plugin) { + for (const hookName of [ + "buildStart", + "resolveId", + "resolveDynamicImport", + "buildEnd", + "transform", + "moduleParsed", + "load", + "renderChunk", + "augmentChunkHash", + "renderStart", + "renderError", + "generateBundle", + "writeBundle", + "closeBundle", + "banner", + "footer", + "intro", + "outro", + "watchChange", + "closeWatcher" + ]) { + const handler = plugin[hookName]; + if (handler) plugin[hookName] = async (...args) => { + try { + return await handler(...args); + } catch (e) { + return error(logPluginError(e, plugin.name, { + hook: hookName, + id: hookName === "transform" ? args[2] : void 0 + })); + } + }; + } + return plugin; +} +//#endregion +//#region src/options/normalized-input-options.ts +var NormalizedInputOptionsImpl = class extends PlainObjectLike { + onLog; + inputPlugins; + inner; + constructor(inner, onLog, inputPlugins) { + super(); + this.onLog = onLog; + this.inputPlugins = inputPlugins; + this.inner = inner; + } + get shimMissingExports() { + return this.inner.shimMissingExports; + } + get input() { + return this.inner.input; + } + get cwd() { + return this.inner.cwd; + } + get platform() { + return this.inner.platform; + } + get context() { + return this.inner.context; + } + get plugins() { + return this.inputPlugins; + } +}; +__decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "shimMissingExports", null); +__decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "input", null); +__decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "cwd", null); +__decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "platform", null); +__decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "context", null); +//#endregion +//#region src/options/normalized-output-options.ts +var NormalizedOutputOptionsImpl = class extends PlainObjectLike { + inner; + outputOptions; + normalizedOutputPlugins; + constructor(inner, outputOptions, normalizedOutputPlugins) { + super(); + this.inner = inner; + this.outputOptions = outputOptions; + this.normalizedOutputPlugins = normalizedOutputPlugins; + } + get dir() { + return this.inner.dir ?? void 0; + } + get entryFileNames() { + return this.inner.entryFilenames || this.outputOptions.entryFileNames; + } + get chunkFileNames() { + return this.inner.chunkFilenames || this.outputOptions.chunkFileNames; + } + get assetFileNames() { + return this.inner.assetFilenames || this.outputOptions.assetFileNames; + } + get format() { + return this.inner.format; + } + get exports() { + return this.inner.exports; + } + get sourcemap() { + return this.inner.sourcemap; + } + get sourcemapBaseUrl() { + return this.inner.sourcemapBaseUrl ?? void 0; + } + get shimMissingExports() { + return this.inner.shimMissingExports; + } + get name() { + return this.inner.name ?? void 0; + } + get file() { + return this.inner.file ?? void 0; + } + get codeSplitting() { + return this.inner.codeSplitting; + } + /** + * @deprecated Use `codeSplitting` instead. + */ + get inlineDynamicImports() { + return !this.inner.codeSplitting; + } + get dynamicImportInCjs() { + return this.inner.dynamicImportInCjs; + } + get externalLiveBindings() { + return this.inner.externalLiveBindings; + } + get banner() { + return normalizeAddon(this.outputOptions.banner); + } + get footer() { + return normalizeAddon(this.outputOptions.footer); + } + get postBanner() { + return normalizeAddon(this.outputOptions.postBanner); + } + get postFooter() { + return normalizeAddon(this.outputOptions.postFooter); + } + get intro() { + return normalizeAddon(this.outputOptions.intro); + } + get outro() { + return normalizeAddon(this.outputOptions.outro); + } + get esModule() { + return this.inner.esModule; + } + get extend() { + return this.inner.extend; + } + get globals() { + return this.inner.globals || this.outputOptions.globals; + } + get paths() { + return this.outputOptions.paths; + } + get hashCharacters() { + return this.inner.hashCharacters; + } + get sourcemapDebugIds() { + return this.inner.sourcemapDebugIds; + } + get sourcemapExcludeSources() { + return this.inner.sourcemapExcludeSources; + } + get sourcemapIgnoreList() { + return this.outputOptions.sourcemapIgnoreList; + } + get sourcemapPathTransform() { + return this.outputOptions.sourcemapPathTransform; + } + get minify() { + let ret = this.inner.minify; + if (typeof ret === "object" && ret !== null) { + delete ret["codegen"]; + delete ret["module"]; + delete ret["sourcemap"]; + } + return ret; + } + get legalComments() { + return this.inner.legalComments; + } + get comments() { + const c = this.inner.comments; + return { + legal: c.legal ?? true, + annotation: c.annotation ?? true, + jsdoc: c.jsdoc ?? true + }; + } + get polyfillRequire() { + return this.inner.polyfillRequire; + } + get plugins() { + return this.normalizedOutputPlugins; + } + get preserveModules() { + return this.inner.preserveModules; + } + get preserveModulesRoot() { + return this.inner.preserveModulesRoot; + } + get virtualDirname() { + return this.inner.virtualDirname; + } + get topLevelVar() { + return this.inner.topLevelVar ?? false; + } + get minifyInternalExports() { + return this.inner.minifyInternalExports ?? false; + } +}; +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "dir", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "entryFileNames", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "chunkFileNames", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "assetFileNames", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "format", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "exports", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemap", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapBaseUrl", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "shimMissingExports", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "name", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "file", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "codeSplitting", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "inlineDynamicImports", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "dynamicImportInCjs", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "externalLiveBindings", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "banner", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "footer", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "postBanner", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "postFooter", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "intro", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "outro", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "esModule", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "extend", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "globals", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "paths", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "hashCharacters", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapDebugIds", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapExcludeSources", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapIgnoreList", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapPathTransform", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "minify", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "legalComments", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "comments", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "polyfillRequire", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "plugins", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "preserveModules", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "preserveModulesRoot", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "virtualDirname", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "topLevelVar", null); +__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "minifyInternalExports", null); +function normalizeAddon(value) { + if (typeof value === "function") return value; + return () => value || ""; +} +//#endregion +//#region src/plugin/plugin-context-data.ts +var PluginContextData = class { + onLog; + outputOptions; + normalizedInputPlugins; + normalizedOutputPlugins; + moduleOptionMap = /* @__PURE__ */ new Map(); + resolveOptionsMap = /* @__PURE__ */ new Map(); + loadModulePromiseMap = /* @__PURE__ */ new Map(); + renderedChunkMeta = null; + normalizedInputOptions = null; + normalizedOutputOptions = null; + constructor(onLog, outputOptions, normalizedInputPlugins, normalizedOutputPlugins) { + this.onLog = onLog; + this.outputOptions = outputOptions; + this.normalizedInputPlugins = normalizedInputPlugins; + this.normalizedOutputPlugins = normalizedOutputPlugins; + } + updateModuleOption(id, option) { + const existing = this.moduleOptionMap.get(id); + if (existing) { + if (option.moduleSideEffects != null) existing.moduleSideEffects = option.moduleSideEffects; + if (option.meta != null) Object.assign(existing.meta, option.meta); + if (option.invalidate != null) existing.invalidate = option.invalidate; + } else { + this.moduleOptionMap.set(id, option); + return option; + } + return existing; + } + getModuleOption(id) { + const option = this.moduleOptionMap.get(id); + if (!option) { + const raw = { + moduleSideEffects: null, + meta: {} + }; + this.moduleOptionMap.set(id, raw); + return raw; + } + return option; + } + getModuleInfo(id, context) { + const bindingInfo = context.getModuleInfo(id); + if (bindingInfo) { + const info = transformModuleInfo(bindingInfo, this.getModuleOption(id)); + return this.proxyModuleInfo(id, info); + } + return null; + } + proxyModuleInfo(id, info) { + let moduleSideEffects = info.moduleSideEffects; + Object.defineProperty(info, "moduleSideEffects", { + get() { + return moduleSideEffects; + }, + set: (v) => { + this.updateModuleOption(id, { + moduleSideEffects: v, + meta: info.meta, + invalidate: true + }); + moduleSideEffects = v; + } + }); + return info; + } + getModuleIds(context) { + return context.getModuleIds().values(); + } + saveResolveOptions(options) { + const index = this.resolveOptionsMap.size; + this.resolveOptionsMap.set(index, options); + return index; + } + getSavedResolveOptions(receipt) { + return this.resolveOptionsMap.get(receipt); + } + removeSavedResolveOptions(receipt) { + this.resolveOptionsMap.delete(receipt); + } + setRenderChunkMeta(meta) { + this.renderedChunkMeta = meta; + } + getRenderChunkMeta() { + return this.renderedChunkMeta; + } + getInputOptions(opts) { + this.normalizedInputOptions ??= new NormalizedInputOptionsImpl(opts, this.onLog, this.normalizedInputPlugins); + return this.normalizedInputOptions; + } + getOutputOptions(opts) { + this.normalizedOutputOptions ??= new NormalizedOutputOptionsImpl(opts, this.outputOptions, this.normalizedOutputPlugins); + return this.normalizedOutputOptions; + } + clear() { + this.renderedChunkMeta = null; + this.loadModulePromiseMap.clear(); + } +}; +//#endregion +//#region src/utils/normalize-transform-options.ts +/** +* Normalizes transform options by extracting `define`, `inject`, and `dropLabels` separately from OXC transform options. +* +* Prioritizes values from `transform.define`, `transform.inject`, and `transform.dropLabels` over deprecated top-level options. +*/ +function normalizeTransformOptions(inputOptions) { + const transform = inputOptions.transform; + const define = transform?.define ? Object.entries(transform.define) : void 0; + const inject = transform?.inject; + const dropLabels = transform?.dropLabels; + let oxcTransformOptions; + if (transform) { + const { define: _define, inject: _inject, dropLabels: _dropLabels, ...rest } = transform; + if (Object.keys(rest).length > 0) { + if (rest.jsx === false) rest.jsx = "disable"; + oxcTransformOptions = rest; + } + } + return { + define, + inject, + dropLabels, + oxcTransformOptions + }; +} +//#endregion +//#region src/utils/bindingify-input-options.ts +function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normalizedInputPlugins, normalizedOutputPlugins, onLog, logLevel, watchMode) { + const pluginContextData = new PluginContextData(onLog, outputOptions, normalizedInputPlugins, normalizedOutputPlugins); + const plugins = rawPlugins.map((plugin) => { + if ("_parallel" in plugin) return; + if (plugin instanceof BuiltinPlugin) switch (plugin.name) { + case "builtin:vite-manifest": return bindingifyManifestPlugin(plugin, pluginContextData); + default: return bindingifyBuiltInPlugin(plugin); + } + return bindingifyPlugin(plugin, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode); + }); + const normalizedTransform = normalizeTransformOptions(inputOptions); + return { + input: bindingifyInput(inputOptions.input), + plugins, + cwd: inputOptions.cwd ?? process.cwd(), + external: bindingifyExternal(inputOptions.external), + resolve: bindingifyResolve(inputOptions.resolve), + platform: inputOptions.platform, + shimMissingExports: inputOptions.shimMissingExports, + logLevel: bindingifyLogLevel(logLevel), + onLog, + treeshake: bindingifyTreeshakeOptions(inputOptions.treeshake), + moduleTypes: inputOptions.moduleTypes, + define: normalizedTransform.define, + inject: bindingifyInject(normalizedTransform.inject), + experimental: bindingifyExperimental(inputOptions.experimental), + profilerNames: outputOptions.generatedCode?.profilerNames, + transform: normalizedTransform.oxcTransformOptions, + watch: bindingifyWatch(inputOptions.watch), + dropLabels: normalizedTransform.dropLabels, + keepNames: outputOptions.keepNames, + checks: inputOptions.checks, + deferSyncScanData: () => { + let ret = []; + pluginContextData.moduleOptionMap.forEach((value, key) => { + if (value.invalidate) ret.push({ + id: key, + sideEffects: value.moduleSideEffects ?? void 0 + }); + }); + return ret; + }, + makeAbsoluteExternalsRelative: bindingifyMakeAbsoluteExternalsRelative(inputOptions.makeAbsoluteExternalsRelative), + devtools: inputOptions.devtools, + invalidateJsSideCache: pluginContextData.clear.bind(pluginContextData), + preserveEntrySignatures: bindingifyPreserveEntrySignatures(inputOptions.preserveEntrySignatures), + optimization: inputOptions.optimization, + context: inputOptions.context, + tsconfig: inputOptions.resolve?.tsconfigFilename ?? inputOptions.tsconfig + }; +} +function bindingifyDevMode(devMode) { + if (devMode) { + if (typeof devMode === "boolean") return devMode ? {} : void 0; + return devMode; + } +} +function bindingifyAttachDebugInfo(attachDebugInfo) { + switch (attachDebugInfo) { + case void 0: return; + case "full": return import_binding.BindingAttachDebugInfo.Full; + case "simple": return import_binding.BindingAttachDebugInfo.Simple; + case "none": return import_binding.BindingAttachDebugInfo.None; + } +} +function bindingifyExternal(external) { + if (external) { + if (typeof external === "function") return (id, importer, isResolved) => { + if (id.startsWith("\0")) return false; + return external(id, importer, isResolved) ?? false; + }; + return arraify(external); + } +} +function bindingifyExperimental(experimental) { + let chunkModulesOrder = import_binding.BindingChunkModuleOrderBy.ExecOrder; + if (experimental?.chunkModulesOrder) switch (experimental.chunkModulesOrder) { + case "exec-order": + chunkModulesOrder = import_binding.BindingChunkModuleOrderBy.ExecOrder; + break; + case "module-id": + chunkModulesOrder = import_binding.BindingChunkModuleOrderBy.ModuleId; + break; + default: throw new Error(`Unexpected chunkModulesOrder: ${experimental.chunkModulesOrder}`); + } + return { + viteMode: experimental?.viteMode, + resolveNewUrlToAsset: experimental?.resolveNewUrlToAsset, + devMode: bindingifyDevMode(experimental?.devMode), + attachDebugInfo: bindingifyAttachDebugInfo(experimental?.attachDebugInfo), + chunkModulesOrder, + chunkImportMap: experimental?.chunkImportMap, + onDemandWrapping: experimental?.onDemandWrapping, + incrementalBuild: experimental?.incrementalBuild, + nativeMagicString: experimental?.nativeMagicString, + chunkOptimization: experimental?.chunkOptimization, + lazyBarrel: experimental?.lazyBarrel + }; +} +function bindingifyResolve(resolve) { + const yarnPnp = typeof process === "object" && !!process.versions?.pnp; + if (resolve) { + const { alias, extensionAlias, ...rest } = resolve; + return { + alias: alias ? Object.entries(alias).map(([name, replacement]) => ({ + find: name, + replacements: replacement === false ? [void 0] : arraify(replacement) + })) : void 0, + extensionAlias: extensionAlias ? Object.entries(extensionAlias).map(([name, value]) => ({ + target: name, + replacements: value + })) : void 0, + yarnPnp, + ...rest + }; + } else return { yarnPnp }; +} +function bindingifyInject(inject) { + if (inject) return Object.entries(inject).map(([alias, item]) => { + if (Array.isArray(item)) { + if (item[1] === "*") return { + tagNamespace: true, + alias, + from: item[0] + }; + return { + tagNamed: true, + alias, + from: item[0], + imported: item[1] + }; + } else return { + tagNamed: true, + imported: "default", + alias, + from: item + }; + }); +} +function bindingifyLogLevel(logLevel) { + switch (logLevel) { + case "silent": return import_binding.BindingLogLevel.Silent; + case "debug": return import_binding.BindingLogLevel.Debug; + case "warn": return import_binding.BindingLogLevel.Warn; + case "info": return import_binding.BindingLogLevel.Info; + default: throw new Error(`Unexpected log level: ${logLevel}`); + } +} +function bindingifyInput(input) { + if (input === void 0) return []; + if (typeof input === "string") return [{ import: input }]; + if (Array.isArray(input)) return input.map((src) => ({ import: src })); + return Object.entries(input).map(([name, import_path]) => { + return { + name, + import: import_path + }; + }); +} +function bindingifyWatch(watch) { + if (watch) { + if (watch.notify) console.warn("The \"watch.notify\" option is deprecated. Please use \"watch.watcher\" instead."); + const watcher = { + ...watch.notify, + ...watch.watcher + }; + return { + buildDelay: watch.buildDelay, + skipWrite: watch.skipWrite, + usePolling: watcher.usePolling, + pollInterval: watcher.pollInterval, + compareContentsForPolling: watcher.compareContentsForPolling, + useDebounce: watcher.useDebounce, + debounceDelay: watcher.debounceDelay, + debounceTickRate: watcher.debounceTickRate, + include: normalizedStringOrRegex(watch.include), + exclude: normalizedStringOrRegex(watch.exclude), + onInvalidate: (...args) => watch.onInvalidate?.(...args) + }; + } +} +function bindingifyTreeshakeOptions(config) { + if (config === false) return; + if (config === true || config === void 0) return { moduleSideEffects: true }; + let normalizedConfig = { + moduleSideEffects: true, + annotations: config.annotations, + manualPureFunctions: config.manualPureFunctions, + unknownGlobalSideEffects: config.unknownGlobalSideEffects, + invalidImportSideEffects: config.invalidImportSideEffects, + commonjs: config.commonjs + }; + switch (config.propertyReadSideEffects) { + case "always": + normalizedConfig.propertyReadSideEffects = import_binding.BindingPropertyReadSideEffects.Always; + break; + case false: + normalizedConfig.propertyReadSideEffects = import_binding.BindingPropertyReadSideEffects.False; + break; + default: + } + switch (config.propertyWriteSideEffects) { + case "always": + normalizedConfig.propertyWriteSideEffects = import_binding.BindingPropertyWriteSideEffects.Always; + break; + case false: + normalizedConfig.propertyWriteSideEffects = import_binding.BindingPropertyWriteSideEffects.False; + break; + default: + } + if (config.moduleSideEffects === void 0) normalizedConfig.moduleSideEffects = true; + else if (config.moduleSideEffects === "no-external") normalizedConfig.moduleSideEffects = [{ + external: true, + sideEffects: false + }, { + external: false, + sideEffects: true + }]; + else normalizedConfig.moduleSideEffects = config.moduleSideEffects; + return normalizedConfig; +} +function bindingifyMakeAbsoluteExternalsRelative(makeAbsoluteExternalsRelative) { + if (makeAbsoluteExternalsRelative === "ifRelativeSource") return { type: "IfRelativeSource" }; + if (typeof makeAbsoluteExternalsRelative === "boolean") return { + type: "Bool", + field0: makeAbsoluteExternalsRelative + }; +} +function bindingifyPreserveEntrySignatures(preserveEntrySignatures) { + if (preserveEntrySignatures == void 0) return; + else if (typeof preserveEntrySignatures === "string") return { + type: "String", + field0: preserveEntrySignatures + }; + else return { + type: "Bool", + field0: preserveEntrySignatures + }; +} +//#endregion +export { version as C, description as S, LOG_LEVEL_INFO as _, RolldownMagicString as a, RUNTIME_MODULE_ID as b, __decorate as c, PlainObjectLike as d, MinimalPluginContextImpl as f, LOG_LEVEL_ERROR as g, LOG_LEVEL_DEBUG as h, transformModuleInfo as i, transformAssetSource as l, normalizeLog as m, PluginContextData as n, transformToRollupOutput as o, normalizeHook as p, bindingifyPlugin as r, transformRenderedChunk as s, bindingifyInputOptions as t, lazyProp as u, LOG_LEVEL_WARN as v, VERSION as x, logLevelPriority as y }; diff --git a/shared/node_modules/rolldown/dist/shared/constructors-Bx1tSad6.d.mts b/shared/node_modules/rolldown/dist/shared/constructors-Bx1tSad6.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..fbc0a9936b9a9b6cf868e8eec976642b9dd77c43 --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/constructors-Bx1tSad6.d.mts @@ -0,0 +1,37 @@ +import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DgGsNpT9.mjs"; +import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-ChOOV2QZ.mjs"; + +//#region src/builtin-plugin/constructors.d.ts +declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin; +type DynamicImportVarsPluginConfig = Omit & { + include?: StringOrRegExp | StringOrRegExp[]; + exclude?: StringOrRegExp | StringOrRegExp[]; +}; +declare function viteDynamicImportVarsPlugin(config?: DynamicImportVarsPluginConfig): BuiltinPlugin; +declare function viteImportGlobPlugin(config?: BindingViteImportGlobPluginConfig): BuiltinPlugin; +declare function viteReporterPlugin(config: BindingViteReporterPluginConfig): BuiltinPlugin; +declare function viteWasmFallbackPlugin(): BuiltinPlugin; +declare function viteLoadFallbackPlugin(): BuiltinPlugin; +declare function viteJsonPlugin(config: BindingViteJsonPluginConfig): BuiltinPlugin; +declare function viteBuildImportAnalysisPlugin(config: BindingViteBuildImportAnalysisPluginConfig): BuiltinPlugin; +declare function viteResolvePlugin(config: Omit): BuiltinPlugin; +declare function isolatedDeclarationPlugin(config?: BindingIsolatedDeclarationPluginConfig): BuiltinPlugin; +declare function viteWebWorkerPostPlugin(): BuiltinPlugin; +/** +* A plugin that converts CommonJS require() calls for external dependencies into ESM import statements. +* +* @see https://rolldown.rs/builtin-plugins/esm-external-require +* @category Builtin Plugins +*/ +declare function esmExternalRequirePlugin(config?: BindingEsmExternalRequirePluginConfig): BuiltinPlugin; +type ViteReactRefreshWrapperPluginConfig = Omit & { + include?: StringOrRegExp | StringOrRegExp[]; + exclude?: StringOrRegExp | StringOrRegExp[]; +}; +/** +* This plugin should not be used for Rolldown. +*/ +declare function oxcRuntimePlugin(): BuiltinPlugin; +declare function viteReactRefreshWrapperPlugin(config: ViteReactRefreshWrapperPluginConfig): BuiltinPlugin; +//#endregion +export { viteDynamicImportVarsPlugin as a, viteLoadFallbackPlugin as c, viteReporterPlugin as d, viteResolvePlugin as f, viteBuildImportAnalysisPlugin as i, viteModulePreloadPolyfillPlugin as l, viteWebWorkerPostPlugin as m, isolatedDeclarationPlugin as n, viteImportGlobPlugin as o, viteWasmFallbackPlugin as p, oxcRuntimePlugin as r, viteJsonPlugin as s, esmExternalRequirePlugin as t, viteReactRefreshWrapperPlugin as u }; \ No newline at end of file diff --git a/shared/node_modules/rolldown/dist/shared/constructors-DnT9y_13.mjs b/shared/node_modules/rolldown/dist/shared/constructors-DnT9y_13.mjs new file mode 100644 index 0000000000000000000000000000000000000000..94e8974319d1c127888093c0787a6a0d6b0c4a3b --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/constructors-DnT9y_13.mjs @@ -0,0 +1,68 @@ +import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DGbe3BlX.mjs"; +//#region src/builtin-plugin/constructors.ts +function viteModulePreloadPolyfillPlugin(config) { + return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config); +} +function viteDynamicImportVarsPlugin(config) { + if (config) { + config.include = normalizedStringOrRegex(config.include); + config.exclude = normalizedStringOrRegex(config.exclude); + } + return new BuiltinPlugin("builtin:vite-dynamic-import-vars", config); +} +function viteImportGlobPlugin(config) { + return new BuiltinPlugin("builtin:vite-import-glob", config); +} +function viteReporterPlugin(config) { + return new BuiltinPlugin("builtin:vite-reporter", config); +} +function viteWasmFallbackPlugin() { + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-wasm-fallback")); +} +function viteLoadFallbackPlugin() { + return new BuiltinPlugin("builtin:vite-load-fallback"); +} +function viteJsonPlugin(config) { + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-json", config)); +} +function viteBuildImportAnalysisPlugin(config) { + return new BuiltinPlugin("builtin:vite-build-import-analysis", config); +} +function viteResolvePlugin(config) { + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-resolve", { + ...config, + yarnPnp: typeof process === "object" && !!process.versions?.pnp + })); +} +function isolatedDeclarationPlugin(config) { + return new BuiltinPlugin("builtin:isolated-declaration", config); +} +function viteWebWorkerPostPlugin() { + return new BuiltinPlugin("builtin:vite-web-worker-post"); +} +/** +* A plugin that converts CommonJS require() calls for external dependencies into ESM import statements. +* +* @see https://rolldown.rs/builtin-plugins/esm-external-require +* @category Builtin Plugins +*/ +function esmExternalRequirePlugin(config) { + const plugin = new BuiltinPlugin("builtin:esm-external-require", config); + plugin.enforce = "pre"; + return plugin; +} +/** +* This plugin should not be used for Rolldown. +*/ +function oxcRuntimePlugin() { + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:oxc-runtime")); +} +function viteReactRefreshWrapperPlugin(config) { + if (config) { + config.include = normalizedStringOrRegex(config.include); + config.exclude = normalizedStringOrRegex(config.exclude); + } + return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-react-refresh-wrapper", config)); +} +//#endregion +export { viteDynamicImportVarsPlugin as a, viteLoadFallbackPlugin as c, viteReporterPlugin as d, viteResolvePlugin as f, viteBuildImportAnalysisPlugin as i, viteModulePreloadPolyfillPlugin as l, viteWebWorkerPostPlugin as m, isolatedDeclarationPlugin as n, viteImportGlobPlugin as o, viteWasmFallbackPlugin as p, oxcRuntimePlugin as r, viteJsonPlugin as s, esmExternalRequirePlugin as t, viteReactRefreshWrapperPlugin as u }; diff --git a/shared/node_modules/rolldown/dist/shared/define-config-ChOOV2QZ.d.mts b/shared/node_modules/rolldown/dist/shared/define-config-ChOOV2QZ.d.mts new file mode 100644 index 0000000000000000000000000000000000000000..819fe3f111be8d7606f8bc29c3f5c0392c49efb7 --- /dev/null +++ b/shared/node_modules/rolldown/dist/shared/define-config-ChOOV2QZ.d.mts @@ -0,0 +1,3901 @@ +import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-BSNejiLS.mjs"; +import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as PreRenderedChunk } from "./binding-DgGsNpT9.mjs"; +import { TopLevelFilterExpression } from "@rolldown/pluginutils"; +import { Program } from "@oxc-project/types"; + +//#region src/types/misc.d.ts +/** @inline */ +type SourcemapPathTransformOption = (relativeSourcePath: string, sourcemapPath: string) => string; +/** @inline */ +type SourcemapIgnoreListOption = (relativeSourcePath: string, sourcemapPath: string) => boolean; +//#endregion +//#region src/types/module-info.d.ts +/** @category Plugin APIs */ +interface ModuleInfo extends ModuleOptions { + /** + * @hidden Not supported by Rolldown + */ + ast: any; + /** + * The source code of the module. + * + * `null` if external or not yet available. + */ + code: string | null; + /** + * The id of the module for convenience + */ + id: string; + /** + * The ids of all modules that statically import this module. + */ + importers: string[]; + /** + * The ids of all modules that dynamically import this module. + */ + dynamicImporters: string[]; + /** + * The module ids statically imported by this module. + */ + importedIds: string[]; + /** + * The module ids dynamically imported by this module. + */ + dynamicallyImportedIds: string[]; + /** + * All exported variables + */ + exports: string[]; + /** + * Whether this module is a user- or plugin-defined entry point. + */ + isEntry: boolean; + /** + * The detected format of the module, based on both its syntax and module definition + * metadata (such as `package.json` `type` and file extensions like `.mjs`/`.cjs`/`.mts`/`.cts`). + * - "esm" for ES modules (has `import`/`export` statements or is defined as ESM by module metadata) + * - "cjs" for CommonJS modules (uses `module.exports`, `exports`, top-level `return`, or is defined as CommonJS by module metadata) + * - "unknown" when the format could not be determined from either syntax or module definition metadata + * + * @experimental + */ + inputFormat: "es" | "cjs" | "unknown"; +} +//#endregion +//#region src/utils/asset-source.d.ts +/** @inline */ +type AssetSource = string | Uint8Array; +//#endregion +//#region src/types/external-memory-handle.d.ts +declare const symbolForExternalMemoryHandle: "__rolldown_external_memory_handle__"; +/** +* Interface for objects that hold external memory that can be explicitly freed. +*/ +interface ExternalMemoryHandle { + /** + * Frees the external memory held by this object. + * @param keepDataAlive - If true, evaluates all lazy fields before freeing memory. + * This will take time but prevents errors when accessing properties after freeing. + * @returns Status object with `freed` boolean and optional `reason` string. + * @internal + */ + [symbolForExternalMemoryHandle]: (keepDataAlive?: boolean) => ExternalMemoryStatus; +} +/** +* Frees the external memory held by the given handle. +* +* This is useful when you want to manually release memory held by Rust objects +* (like `OutputChunk` or `OutputAsset`) before they are garbage collected. +* +* @param handle - The object with external memory to free +* @param keepDataAlive - If true, evaluates all lazy fields before freeing memory (default: false). +* This will take time to copy data from Rust to JavaScript, but prevents errors +* when accessing properties after the memory is freed. +* @returns Status object with `freed` boolean and optional `reason` string. +* - `{ freed: true }` if memory was successfully freed +* - `{ freed: false, reason: "..." }` if memory couldn't be freed (e.g., already freed or other references exist) +* +* @example +* ```typescript +* import { freeExternalMemory } from 'rolldown/experimental'; +* +* const output = await bundle.generate(); +* const chunk = output.output[0]; +* +* // Use the chunk... +* +* // Manually free the memory (fast, but accessing properties after will throw) +* const status = freeExternalMemory(chunk); // { freed: true } +* const statusAgain = freeExternalMemory(chunk); // { freed: false, reason: "Memory has already been freed" } +* +* // Keep data alive before freeing (slower, but data remains accessible) +* freeExternalMemory(chunk, true); // Evaluates all lazy fields first +* console.log(chunk.code); // OK - data was copied to JavaScript before freeing +* +* // Without keepDataAlive, accessing chunk properties after freeing will throw an error +* ``` +*/ +declare function freeExternalMemory(handle: ExternalMemoryHandle, keepDataAlive?: boolean): ExternalMemoryStatus; +//#endregion +//#region src/types/rolldown-output.d.ts +/** +* The information about an asset in the generated bundle. +* +* @category Plugin APIs +*/ +interface OutputAsset extends ExternalMemoryHandle { + type: "asset"; + /** The file name of this asset. */ + fileName: string; + /** @deprecated Use {@linkcode originalFileNames} instead. */ + originalFileName: string | null; + /** The list of the absolute paths to the original file of this asset. */ + originalFileNames: string[]; + /** The content of this asset. */ + source: AssetSource; + /** @deprecated Use {@linkcode names} instead. */ + name: string | undefined; + names: string[]; +} +/** @category Plugin APIs */ +interface SourceMap { + file: string; + mappings: string; + names: string[]; + sources: string[]; + sourcesContent: string[]; + version: number; + debugId?: string; + x_google_ignoreList?: number[]; + toString(): string; + toUrl(): string; +} +/** @category Plugin APIs */ +interface RenderedModule { + /** + * The rendered code of this module. + * + * The unused variables and functions are removed. + */ + readonly code: string | null; + /** + * The length of the rendered code of this module. + */ + renderedLength: number; + /** + * The list of exported names from this module. + * + * The names that are not used are not included. + */ + renderedExports: string[]; +} +/** +* The information about the chunk being rendered. +* +* Unlike {@link OutputChunk}, `code` and `map` are not set as the chunk has not been rendered yet. +* All referenced chunk file names in each property that would contain hashes will contain hash placeholders instead. +* +* @category Plugin APIs +*/ +interface RenderedChunk extends Omit { + type: "chunk"; + /** Information about the modules included in this chunk. */ + modules: { + [id: string]: RenderedModule; + }; + /** The name of this chunk, which is used in naming patterns. */ + name: string; + /** Whether this chunk is a static entry point. */ + isEntry: boolean; + /** Whether this chunk is a dynamic entry point. */ + isDynamicEntry: boolean; + /** The id of a module that this chunk corresponds to. */ + facadeModuleId: string | null; + /** The list of ids of modules included in this chunk. */ + moduleIds: Array; + /** Exported variable names from this chunk. */ + exports: Array; + /** The preliminary file name of this chunk with hash placeholders. */ + fileName: string; + /** External modules imported statically by this chunk. */ + imports: Array; + /** External modules imported dynamically by this chunk. */ + dynamicImports: Array; +} +/** +* The information about a chunk in the generated bundle. +* +* @category Plugin APIs +*/ +interface OutputChunk extends ExternalMemoryHandle { + type: "chunk"; + /** The generated code of this chunk. */ + code: string; + /** The name of this chunk, which is used in naming patterns. */ + name: string; + /** Whether this chunk is a static entry point. */ + isEntry: boolean; + /** Exported variable names from this chunk. */ + exports: string[]; + /** The file name of this chunk. */ + fileName: string; + /** Information about the modules included in this chunk. */ + modules: { + [id: string]: RenderedModule; + }; + /** External modules imported statically by this chunk. */ + imports: string[]; + /** External modules imported dynamically by this chunk. */ + dynamicImports: string[]; + /** The id of a module that this chunk corresponds to. */ + facadeModuleId: string | null; + /** Whether this chunk is a dynamic entry point. */ + isDynamicEntry: boolean; + moduleIds: string[]; + /** The source map of this chunk if present. */ + map: SourceMap | null; + sourcemapFileName: string | null; + /** The preliminary file name of this chunk with hash placeholders. */ + preliminaryFileName: string; +} +/** +* The generated bundle output. +* +* @category Programmatic APIs +*/ +interface RolldownOutput extends ExternalMemoryHandle { + /** + * The list of chunks and assets in the generated bundle. + * + * This includes at least one {@linkcode OutputChunk}. It may also include more + * {@linkcode OutputChunk} and/or {@linkcode OutputAsset}s. + */ + output: [OutputChunk, ...(OutputChunk | OutputAsset)[]]; +} +//#endregion +//#region src/types/utils.d.ts +type MaybePromise = T | Promise; +/** @inline */ +type NullValue = T | undefined | null | void; +type PartialNull = { [P in keyof T]: T[P] | null }; +type MakeAsync = Function_ extends ((this: infer This, ...parameters: infer Arguments) => infer Return) ? (this: This, ...parameters: Arguments) => Return | Promise : never; +type MaybeArray = T | T[]; +/** @inline */ +type StringOrRegExp = string | RegExp; +//#endregion +//#region src/options/output-options.d.ts +type GeneratedCodePreset = "es5" | "es2015"; +interface GeneratedCodeOptions { + /** + * Whether to use Symbol.toStringTag for namespace objects. + * @default false + */ + symbols?: boolean; + /** + * Allows choosing one of the presets listed above while overriding some options. + * + * ```js + * export default { + * output: { + * generatedCode: { + * preset: 'es2015', + * symbols: false + * } + * } + * }; + * ``` + * + * @default 'es2015' + */ + preset?: GeneratedCodePreset; + /** + * Whether to add readable names to internal variables for profiling purposes. + * + * When enabled, generated code will use descriptive variable names that correspond + * to the original module names, making it easier to profile and debug the bundled code. + * + * @default false + * + * + */ + profilerNames?: boolean; +} +/** @inline */ +type ModuleFormat = "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd"; +/** @inline */ +type AddonFunction = (chunk: RenderedChunk) => string | Promise; +/** @inline */ +type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string; +/** @inline */ +type SanitizeFileNameFunction = (name: string) => string; +/** @category Plugin APIs */ +interface PreRenderedAsset { + type: "asset"; + /** @deprecated Use {@linkcode names} instead. */ + name?: string; + names: string[]; + /** @deprecated Use {@linkcode originalFileNames} instead. */ + originalFileName?: string; + /** The list of the absolute paths to the original file of this asset. */ + originalFileNames: string[]; + /** The content of this asset. */ + source: AssetSource; +} +/** @inline */ +type AssetFileNamesFunction = (chunkInfo: PreRenderedAsset) => string; +/** @inline */ +type PathsFunction$1 = (id: string) => string; +/** @inline */ +type ManualChunksFunction = (moduleId: string, meta: { + getModuleInfo: (moduleId: string) => ModuleInfo | null; +}) => string | NullValue; +/** @inline */ +type GlobalsFunction = (name: string) => string; +/** @category Plugin APIs */ +type CodeSplittingNameFunction = (moduleId: string, ctx: ChunkingContext) => string | NullValue; +/** @inline */ +type CodeSplittingTestFunction = (id: string) => boolean | undefined | void; +type MinifyOptions = Omit; +interface CommentsOptions { + /** + * Comments that contain `@license`, `@preserve` or start with `//!` or `/*!` + */ + legal?: boolean; + /** + * Comments that contain `@__PURE__`, `@__NO_SIDE_EFFECTS__` or `@vite-ignore` + */ + annotation?: boolean; + /** + * JSDoc comments + */ + jsdoc?: boolean; +} +/** @inline */ +interface ChunkingContext { + getModuleInfo(moduleId: string): ModuleInfo | null; +} +interface OutputOptions { + /** + * The directory in which all generated chunks are placed. + * + * The {@linkcode file | output.file} option can be used instead if only a single chunk is generated. + * + * + * + * @default 'dist' + */ + dir?: string; + /** + * The file path for the single generated chunk. + * + * The {@linkcode dir | output.dir} option should be used instead if multiple chunks are generated. + */ + file?: string; + /** + * Which exports mode to use. + * + * + * + * @default 'auto' + */ + exports?: "auto" | "named" | "default" | "none"; + /** + * Specify the character set that Rolldown is allowed to use in file hashes. + * + * - `'base64'`: Uses url-safe base64 characters (0-9, a-z, A-Z, -, _). This will produce the shortest hashes. + * - `'base36'`: Uses alphanumeric characters (0-9, a-z) + * - `'hex'`: Uses hexadecimal characters (0-9, a-f) + * + * @default 'base64' + */ + hashCharacters?: "base64" | "base36" | "hex"; + /** + * Expected format of generated code. + * + * - `'es'`, `'esm'` and `'module'` are the same format, all stand for ES module. + * - `'cjs'` and `'commonjs'` are the same format, all stand for CommonJS module. + * - `'iife'` stands for [Immediately Invoked Function Expression](https://developer.mozilla.org/en-US/docs/Glossary/IIFE). + * - `'umd'` stands for [Universal Module Definition](https://github.com/umdjs/umd). + * + * @default 'es' + * + * + */ + format?: ModuleFormat; + /** + * Whether to generate sourcemaps. + * + * - `false`: No sourcemap will be generated. + * - `true`: A separate sourcemap file will be generated. + * - `'inline'`: The sourcemap will be appended to the output file as a data URL. + * - `'hidden'`: A separate sourcemap file will be generated, but the link to the sourcemap (`//# sourceMappingURL` comment) will not be included in the output file. + * + * @default false + */ + sourcemap?: boolean | "inline" | "hidden"; + /** + * The base URL for the links to the sourcemap file in the output file. + * + * By default, relative URLs are generated. If this option is set, an absolute URL with that base URL will be generated. This is useful when deploying source maps to a different location than your code, such as a CDN or separate debugging server. + */ + sourcemapBaseUrl?: string; + /** + * Whether to include [debug IDs](https://github.com/tc39/ecma426/blob/main/proposals/debug-id.md) in the sourcemap. + * + * When `true`, a unique debug ID will be emitted in source and sourcemaps which streamlines identifying sourcemaps across different builds. + * + * @default false + */ + sourcemapDebugIds?: boolean; + /** + * Control which source files are included in the sourcemap ignore list. + * + * Files in the ignore list are excluded from debugger stepping and error stack traces. + * + * - `false`: Include no source files in the ignore list + * - `true`: Include all source files in the ignore list + * - `string`: Files containing this string in their path will be included in the ignore list + * - `RegExp`: Files matching this regular expression will be included in the ignore list + * - `function`: Custom function to determine if a source should be ignored + * + * :::tip Performance + * Using static values (`boolean`, `string`, or `RegExp`) is significantly more performant than functions. + * Calling JavaScript functions from Rust has extremely high overhead, so prefer static patterns when possible. + * ::: + * + * @example + * ```js + * // ✅ Preferred: Use RegExp for better performance + * sourcemapIgnoreList: /node_modules/ + * + * // ✅ Preferred: Use string pattern for better performance + * sourcemapIgnoreList: "vendor" + * + * // ! Use sparingly: Function calls have high overhead + * sourcemapIgnoreList: (source, sourcemapPath) => { + * return source.includes('node_modules') || source.includes('.min.'); + * } + * ``` + * + * @default /node_modules/ + */ + sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption | StringOrRegExp; + /** + * A transformation to apply to each path in a sourcemap. + * + * @example + * ```js + * export default defineConfig({ + * output: { + * sourcemap: true, + * sourcemapPathTransform: (source, sourcemapPath) => { + * // Remove 'src/' prefix from all source paths + * return source.replace(/^src\//, ''); + * }, + * }, + * }); + * ``` + */ + sourcemapPathTransform?: SourcemapPathTransformOption; + /** + * Whether to exclude the original source code from sourcemaps. + * + * When `true`, the `sourcesContent` field is omitted from the generated sourcemap, + * reducing the sourcemap file size. The sourcemap will still contain source file paths + * and mappings, so debugging works if the original files are available. + * + * @default false + */ + sourcemapExcludeSources?: boolean; + /** + * A string to prepend to the bundle before {@linkcode Plugin.renderChunk | renderChunk} hook. + * + * See {@linkcode intro | output.intro}, {@linkcode postBanner | output.postBanner} as well. + * + * + */ + banner?: string | AddonFunction; + /** + * A string to append to the bundle before {@linkcode Plugin.renderChunk | renderChunk} hook. + * + * See {@linkcode outro | output.outro}, {@linkcode postFooter | output.postFooter} as well. + * + * + */ + footer?: string | AddonFunction; + /** + * A string to prepend to the bundle after {@linkcode Plugin.renderChunk | renderChunk} hook and minification. + * + * See {@linkcode banner | output.banner}, {@linkcode intro | output.intro} as well. + * + * + */ + postBanner?: string | AddonFunction; + /** + * A string to append to the bundle after {@linkcode Plugin.renderChunk | renderChunk} hook and minification. + * + * See {@linkcode footer | output.footer}, {@linkcode outro | output.outro} as well. + * + * + */ + postFooter?: string | AddonFunction; + /** + * A string to prepend inside any {@link OutputOptions.format | format}-specific wrapper. + * + * See {@linkcode banner | output.banner}, {@linkcode postBanner | output.postBanner} as well. + * + * + */ + intro?: string | AddonFunction; + /** + * A string to append inside any {@link OutputOptions.format | format}-specific wrapper. + * + * See {@linkcode footer | output.footer}, {@linkcode postFooter | output.postFooter} as well. + * + * + */ + outro?: string | AddonFunction; + /** + * Whether to extend the global variable defined by the {@linkcode OutputOptions.name | name} option in `umd` or `iife` {@link OutputOptions.format | formats}. + * + * When `true`, the global variable will be defined as `global.name = global.name || {}`. + * When `false`, the global defined by name will be overwritten like `global.name = {}`. + * + * @default false + */ + extend?: boolean; + /** + * Whether to add a `__esModule: true` property when generating exports for non-ES {@link OutputOptions.format | formats}. + * + * This property signifies that the exported value is the namespace of an ES module and that the default export of this module corresponds to the `.default` property of the exported object. + * + * - `true`: Always add the property when using {@link OutputOptions.exports | named exports mode}, which is similar to what other tools do. + * - `"if-default-prop"`: Only add the property when using {@link OutputOptions.exports | named exports mode} and there also is a default export. The subtle difference is that if there is no default export, consumers of the CommonJS version of your library will get all named exports as default export instead of an error or `undefined`. + * - `false`: Never add the property even if the default export would become a property `.default`. + * + * @default 'if-default-prop' + * + * + */ + esModule?: boolean | "if-default-prop"; + /** + * The pattern to use for naming custom emitted assets to include in the build output, or a function that is called per asset with {@linkcode PreRenderedAsset} to return such a pattern. + * + * Patterns support the following placeholders: + * - `[extname]`: The file extension of the asset including a leading dot, e.g. `.css`. + * - `[ext]`: The file extension without a leading dot, e.g. css. + * - `[hash]`: A hash based on the content of the asset. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character set, see {@linkcode hashCharacters | output.hashCharacters}. + * - `[name]`: The file name of the asset excluding any extension. + * + * Forward slashes (`/`) can be used to place files in sub-directories. + * + * See also {@linkcode chunkFileNames | output.chunkFileNames}, {@linkcode entryFileNames | output.entryFileNames}. + * + * @default 'assets/[name]-[hash][extname]' + */ + assetFileNames?: string | AssetFileNamesFunction; + /** + * The pattern to use for chunks created from entry points, or a function that is called per entry chunk with {@linkcode PreRenderedChunk} to return such a pattern. + * + * Patterns support the following placeholders: + * - `[format]`: The rendering format defined in the output options. The value is any of {@linkcode InternalModuleFormat}. + * - `[hash]`: A hash based only on the content of the final generated chunk, including transformations in `renderChunk` and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character set, see {@linkcode hashCharacters | output.hashCharacters}. + * - `[name]`: The file name (without extension) of the entry point, unless the object form of input was used to define a different name. + * + * Forward slashes (`/`) can be used to place files in sub-directories. This pattern will also be used for every file when setting the {@linkcode preserveModules | output.preserveModules} option. + * + * See also {@linkcode assetFileNames | output.assetFileNames}, {@linkcode chunkFileNames | output.chunkFileNames}. + * + * @default '[name].js' + */ + entryFileNames?: string | ChunkFileNamesFunction; + /** + * The pattern to use for naming shared chunks created when code-splitting, or a function that is called per chunk with {@linkcode PreRenderedChunk} to return such a pattern. + * + * Patterns support the following placeholders: + * - `[format]`: The rendering format defined in the output options. The value is any of {@linkcode InternalModuleFormat}. + * - `[hash]`: A hash based only on the content of the final generated chunk, including transformations in `renderChunk` and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character set, see {@linkcode hashCharacters | output.hashCharacters}. + * - `[name]`: The name of the chunk. This can be explicitly set via the {@linkcode codeSplitting | output.codeSplitting} option or when the chunk is created by a plugin via `this.emitFile`. Otherwise, it will be derived from the chunk contents. + * + * Forward slashes (`/`) can be used to place files in sub-directories. + * + * See also {@linkcode assetFileNames | output.assetFileNames}, {@linkcode entryFileNames | output.entryFileNames}. + * + * @default '[name]-[hash].js' + */ + chunkFileNames?: string | ChunkFileNamesFunction; + /** + * Whether to enable chunk name sanitization (removal of non-URL-safe characters like `\0`, `?` and `*`). + * + * Set `false` to disable the sanitization. You can also provide a custom sanitization function. + * + * @default true + */ + sanitizeFileName?: boolean | SanitizeFileNameFunction; + /** + * Control code minification + * + * Rolldown uses Oxc Minifier under the hood. See Oxc's [minification documentation](https://oxc.rs/docs/guide/usage/minifier#features) for more details. + * + * - `true`: Enable full minification including code compression and dead code elimination + * - `false`: Disable minification + * - `'dce-only'`: Only perform dead code elimination without code compression (default) + * - `MinifyOptions`: Fine-grained control over minification settings + * + * @default 'dce-only' + */ + minify?: boolean | "dce-only" | MinifyOptions; + /** + * Specifies the global variable name that contains the exports of `umd` / `iife` {@link OutputOptions.format | formats}. + * + * @example + * ```js + * export default defineConfig({ + * output: { + * format: 'iife', + * name: 'MyBundle', + * } + * }); + * ``` + * ```js + * // output + * var MyBundle = (function () { + * // ... + * })(); + * ``` + * + * + */ + name?: string; + /** + * Specifies `id: variableName` pairs necessary for {@link InputOptions.external | external} imports in `umd` / `iife` {@link OutputOptions.format | formats}. + * + * @example + * ```js + * export default defineConfig({ + * external: ['jquery'], + * output: { + * format: 'iife', + * name: 'MyBundle', + * globals: { + * jquery: '$', + * } + * } + * }); + * ``` + * ```js + * // input + * import $ from 'jquery'; + * ``` + * ```js + * // output + * var MyBundle = (function ($) { + * // ... + * })($); + * ``` + */ + globals?: Record | GlobalsFunction; + /** + * Maps {@link InputOptions.external | external} module IDs to paths. + * + * Allows customizing the path used when importing external dependencies. + * This is particularly useful for loading dependencies from CDNs or custom locations. + * + * - Object form: Maps module IDs to their replacement paths + * - Function form: Takes a module ID and returns its replacement path + * + * @example + * ```js + * { + * paths: { + * 'd3': 'https://cdn.jsdelivr.net/npm/d3@7' + * } + * } + * ``` + * + * @example + * ```js + * { + * paths: (id) => { + * if (id.startsWith('lodash')) { + * return `https://cdn.jsdelivr.net/npm/${id}` + * } + * return id + * } + * } + * ``` + */ + paths?: Record | PathsFunction$1; + /** + * Which language features Rolldown can safely use in generated code. + * + * This will not transpile any user code but only change the code Rolldown uses in wrappers and helpers. + */ + generatedCode?: Partial; + /** + * Whether to generate code to support live bindings for {@link InputOptions.external | external} imports. + * + * With the default value of `true`, Rolldown will generate code to support live bindings for external imports. + * + * When set to `false`, Rolldown will assume that exports from external modules do not change. This will allow Rolldown to generate smaller code. Note that this can cause issues when there are circular dependencies involving an external dependency. + * + * @default true + * + * + */ + externalLiveBindings?: boolean; + /** + * @deprecated Please use `codeSplitting: false` instead. + * + * Whether to inline dynamic imports instead of creating new chunks to create a single bundle. + * + * This option can be used only when a single input is provided. + * + * @default false + */ + inlineDynamicImports?: boolean; + /** + * Whether to keep external dynamic imports as `import(...)` expressions in CommonJS output. + * + * If set to `false`, external dynamic imports will be rewritten to use `require(...)` calls. + * This may be necessary to support environments that do not support dynamic `import()` in CommonJS modules like old Node.js versions. + * + * @default true + */ + dynamicImportInCjs?: boolean; + /** + * Allows you to do manual chunking. Provided for Rollup compatibility. + * + * You could use this option for migration purpose. Under the hood, + * + * ```js + * { + * manualChunks: (moduleId, meta) => { + * if (moduleId.includes('node_modules')) { + * return 'vendor'; + * } + * return null; + * } + * } + * ``` + * + * will be transformed to + * + * ```js + * { + * codeSplitting: { + * groups: [ + * { + * name(moduleId) { + * if (moduleId.includes('node_modules')) { + * return 'vendor'; + * } + * return null; + * }, + * }, + * ], + * } + * } + * + * ``` + * + * Note that unlike Rollup, object form is not supported. + * + * @deprecated + * Please use {@linkcode codeSplitting | output.codeSplitting} instead. + * + * :::warning + * If `manualChunks` and `codeSplitting` are both specified, `manualChunks` option will be ignored. + * ::: + */ + manualChunks?: ManualChunksFunction; + /** + * Controls how code splitting is performed. + * + * - `true`: Default behavior, automatic code splitting. **(default)** + * - `false`: Inline all dynamic imports into a single bundle (equivalent to deprecated `inlineDynamicImports: true`). + * - `object`: Advanced manual code splitting configuration. + * + * For deeper understanding, please refer to the in-depth [documentation](https://rolldown.rs/in-depth/manual-code-splitting). + * + * + * + * @example + * **Basic vendor chunk** + * ```js + * export default defineConfig({ + * output: { + * codeSplitting: { + * minSize: 20000, + * groups: [ + * { + * name: 'vendor', + * test: /node_modules/, + * }, + * ], + * }, + * }, + * }); + * ``` + * + * + * @default true + */ + codeSplitting?: boolean | CodeSplittingOptions; + /** + * @deprecated Please use {@linkcode codeSplitting | output.codeSplitting} instead. + * + * Allows you to do manual chunking. + * + * :::warning + * If `advancedChunks` and `codeSplitting` are both specified, `advancedChunks` option will be ignored. + * ::: + */ + advancedChunks?: { + includeDependenciesRecursively?: boolean; + minSize?: number; + maxSize?: number; + maxModuleSize?: number; + minModuleSize?: number; + minShareCount?: number; + groups?: CodeSplittingGroup[]; + }; + /** + * Controls how legal comments are preserved in the output. + * + * - `none`: no legal comments + * - `inline`: preserve legal comments that contain `@license`, `@preserve` or starts with `//!` `/*!` + * + * @deprecated Use `comments.legal` instead. When both `legalComments` and `comments.legal` are set, `comments.legal` takes priority. + */ + legalComments?: "none" | "inline"; + /** + * Control which comments are preserved in the output. + * + * - `true`: Preserve legal, annotation, and JSDoc comments (default) + * - `false`: Strip all comments + * - Object: Granular control over comment categories + * + * Note: Regular line and block comments without these markers + * are always removed regardless of this option. + * + * When both `legalComments` and `comments.legal` are set, `comments.legal` takes priority. + * + * @default true + */ + comments?: boolean | CommentsOptions; + /** + * The list of plugins to use only for this output. + * + * @see {@linkcode InputOptions.plugins | plugins} + */ + plugins?: RolldownOutputPluginOption; + /** + * Whether to add a polyfill for `require()` function in non-CommonJS formats. + * + * This option is useful when you want to inject your own `require` implementation. + * + * @default true + */ + polyfillRequire?: boolean; + /** + * This option is not implemented yet. + * @hidden + */ + hoistTransitiveImports?: false; + /** + * Whether to use preserve modules mode. + * + * + * + * @default false + */ + preserveModules?: boolean; + /** + * Specifies the directory name for "virtual" files that might be emitted by plugins when using {@link OutputOptions.preserveModules | preserve modules mode}. + * + * @default '_virtual' + */ + virtualDirname?: string; + /** + * A directory path to input modules that should be stripped away from {@linkcode dir | output.dir} when using {@link OutputOptions.preserveModules | preserve modules mode}. + * + * + */ + preserveModulesRoot?: string; + /** + * Whether to convert top-level `let` and `const` declarations into `var` declarations. + * + * Enabling this option can improve runtime performance of the generated code in + * certain environments by avoiding Temporal Dead Zone (TDZ) checks. Only declarations + * in the module's top-level scope are rewritten — declarations inside nested scopes + * (functions, blocks, etc.) are left as-is. + * + * Note: + * - Top-level `class X {}` declarations are always emitted as `var X = class {}` so + * rolldown can hoist them alongside other top-level bindings; this transform is + * independent of `topLevelVar`. + * - Top-level `function` declarations are never rewritten. + * + * @default false + * + * + */ + topLevelVar?: boolean; + /** + * Whether to minify internal exports as single letter variables to allow for better minification. + * + * @default + * `true` for format `es` or if `output.minify` is `true` or object, `false` otherwise + * + * + */ + minifyInternalExports?: boolean; + /** + * Clean output directory ({@linkcode dir | output.dir}) before emitting output. + * + * @default false + * + * + */ + cleanDir?: boolean; + /** + * Keep `name` property of functions and classes after bundling. + * + * When enabled, the bundler will preserve the original `name` property value of functions and + * classes in the output. This is useful for debugging and some frameworks that rely on it for + * registration and binding purposes. + * + * + * + * @default false + */ + keepNames?: boolean; + /** + * Lets modules be executed in the order they are declared. + * + * This is done by injecting runtime helpers to ensure that modules are executed in the order they are imported. External modules won't be affected. + * + * > [!WARNING] + * > Enabling this option may negatively increase bundle size. It is recommended to use this option only when absolutely necessary. + * @default false + */ + strictExecutionOrder?: boolean; + /** + * Whether to always output `"use strict"` directive in non-ES module outputs. + * + * - `true` - Always emit `"use strict"` at the top of the output (not applicable for ESM format since ESM is always strict). + * - `false` - Never emit `"use strict"` in the output. + * - `'auto'` - Respect the `"use strict"` directives from the source code. + * + * See [In-depth directive guide](https://rolldown.rs/in-depth/directives) for more details. + * + * @default 'auto' + */ + strict?: boolean | "auto"; +} +/** +* Built-in module tag names computed by rolldown. +* +* - `'$initial'` — the module is statically imported by at least one user-defined entry point, or is part of its static dependency chain. +*/ +type BuiltinModuleTag = "$initial"; +type CodeSplittingGroup = { + /** + * Name of the group. It will be also used as the name of the chunk and replace the `[name]` placeholder in the {@linkcode OutputOptions.chunkFileNames | output.chunkFileNames} option. + * + * For example, + * + * ```js + * import { defineConfig } from 'rolldown'; + * + * export default defineConfig({ + * output: { + * codeSplitting: { + * groups: [ + * { + * name: 'libs', + * test: /node_modules/, + * }, + * ], + * }, + * }, + * }); + * ``` + * will create a chunk named `libs-[hash].js` in the end. + * + * It's ok to have the same name for different groups. Rolldown will deduplicate the chunk names if necessary. + * + * #### Dynamic `name()` + * + * If `name` is a function, it will be called with the module id as the argument. The function should return a string or `null`. If it returns `null`, the module will be ignored by this group. + * + * Notice, each returned new name will be treated as a separate group. + * + * For example, + * + * ```js + * import { defineConfig } from 'rolldown'; + * + * export default defineConfig({ + * output: { + * codeSplitting: { + * groups: [ + * { + * name: (moduleId) => moduleId.includes('node_modules') ? 'libs' : 'app', + * minSize: 100 * 1024, + * }, + * ], + * }, + * }, + * }); + * ``` + * + * :::warning + * Constraints like `minSize`, `maxSize`, etc. are applied separately for different names returned by the function. + * ::: + */ + name: string | CodeSplittingNameFunction; + /** + * Controls which modules are captured in this group. + * + * - If `test` is a string, the module whose id contains the string will be captured. + * - If `test` is a regular expression, the module whose id matches the regular expression will be captured. + * - If `test` is a function, modules for which `test(id)` returns `true` will be captured. + * - If `test` is empty, any module will be considered as matched. + * + * :::warning + * When using regular expression, it's recommended to use `[\\/]` to match the path separator instead of `/` to avoid potential issues on Windows. + * - ✅ Recommended: `/node_modules[\\/]react/` + * - ❌ Not recommended: `/node_modules/react/` + * ::: + */ + test?: StringOrRegExp | CodeSplittingTestFunction; + /** + * Priority of the group. Group with higher priority will be chosen first to match modules and create chunks. When converting the group to a chunk, modules of that group will be removed from other groups. + * + * If two groups have the same priority, the group whose index is smaller will be chosen. + * + * @example + * ```js + * import { defineConfig } from 'rolldown'; + * + * export default defineConfig({ + * output: { + * codeSplitting: { + * groups: [ + * { + * name: 'react', + * test: /node_modules[\\/]react/, + * priority: 2, + * }, + * { + * name: 'other-libs', + * test: /node_modules/, + * priority: 1, + * }, + * ], + * }, + * }, + * }); + * ``` + * + * @default 0 + */ + priority?: number; + /** + * Minimum size in bytes of the desired chunk. If the accumulated size of the captured modules by this group is smaller than this value, it will be ignored. Modules in this group will fall back to the `automatic chunking` if they are not captured by any other group. + * + * @default 0 + */ + minSize?: number; + /** + * Controls if a module should be captured based on how many entry chunks reference it. + * + * @default 1 + */ + minShareCount?: number; + /** + * If the accumulated size in bytes of the captured modules by this group is larger than this value, this group will be split into multiple groups that each has size close to this value. + * + * @default Infinity + */ + maxSize?: number; + /** + * Controls whether a module can only be captured if its size in bytes is smaller than or equal to this value. + * + * @default Infinity + */ + maxModuleSize?: number; + /** + * Controls whether a module can only be captured if its size in bytes is larger than or equal to this value. + * + * @default 0 + */ + minModuleSize?: number; + /** + * When `false` (default), all matching modules are merged into a single chunk. + * Every entry that uses any of these modules must load the entire chunk — even + * modules it doesn't need. + * + * When `true`, matching modules are grouped by which entries actually import them. + * Modules shared by the same set of entries go into the same chunk, while modules + * shared by a different set go into a separate chunk. This way, each entry only + * loads the code it actually uses. + * + * Example: entries A, B, C all match a `"vendor"` group. + * - `moduleX` is used by A, B, C + * - `moduleY` is used by A, B only + * + * With `entriesAware: false` → one `vendor.js` chunk with both modules; C loads `moduleY` unnecessarily. + * With `entriesAware: true` → `vendor.js` (moduleX, loaded by all) + `vendor2.js` (moduleY, loaded by A and B only). + * + * @default false + */ + entriesAware?: boolean; + /** + * Size threshold in bytes for merging small `entriesAware` subgroups into the + * closest neighboring subgroup. + * + * This option only works when {@linkcode CodeSplittingGroup.entriesAware | entriesAware} + * is `true`. Set to `0` to disable subgroup merging. + * + * @default 0 + */ + entriesAwareMergeThreshold?: number; + /** + * Whether to include captured modules' dependencies. + * + * Enabling this option reduces the chance of generating circular chunks. + * + * If you want to disable this behavior, it's recommended to both set + * - {@linkcode InputOptions.preserveEntrySignatures | preserveEntrySignatures}: `false | 'allow-extension'` + * - {@linkcode OutputOptions.strictExecutionOrder | strictExecutionOrder}: `true` + * + * to avoid generating invalid chunks. + * + * @default true + */ + includeDependenciesRecursively?: boolean; + /** + * Filter modules by tags. Only modules that have **all** specified tags + * are captured by this group. Combines with `test` and other filters — + * a module must match all criteria. + * + * Built-in tags: `'$initial'` (module is statically imported by a user-defined entry or part of its dependency chain). + * + * @see {@link https://rolldown.rs/in-depth/manual-code-splitting | Manual Code Splitting} + * + * @example + * ```js + * { name: 'initial-deps', tags: ['$initial'], maxSize: 1048576 } + * ``` + */ + tags?: BuiltinModuleTag[]; +}; +/** +* Alias for {@linkcode CodeSplittingGroup}. Use this type for the `codeSplitting.groups` option. +* +* @deprecated Please use {@linkcode CodeSplittingGroup} instead. +*/ +type AdvancedChunksGroup = CodeSplittingGroup; +/** +* Configuration options for advanced code splitting. +*/ +type CodeSplittingOptions = { + /** + * Global fallback of {@linkcode CodeSplittingGroup.includeDependenciesRecursively | group.includeDependenciesRecursively}, if it's not specified in the group. + */ + includeDependenciesRecursively?: boolean; + /** + * Global fallback of {@linkcode CodeSplittingGroup.minSize | group.minSize}, if it's not specified in the group. + */ + minSize?: number; + /** + * Global fallback of {@linkcode CodeSplittingGroup.maxSize | group.maxSize}, if it's not specified in the group. + */ + maxSize?: number; + /** + * Global fallback of {@linkcode CodeSplittingGroup.maxModuleSize | group.maxModuleSize}, if it's not specified in the group. + */ + maxModuleSize?: number; + /** + * Global fallback of {@linkcode CodeSplittingGroup.minModuleSize | group.minModuleSize}, if it's not specified in the group. + */ + minModuleSize?: number; + /** + * Global fallback of {@linkcode CodeSplittingGroup.minShareCount | group.minShareCount}, if it's not specified in the group. + */ + minShareCount?: number; + /** + * Groups to be used for code splitting. + */ + groups?: CodeSplittingGroup[]; +}; +/** +* Alias for {@linkcode CodeSplittingOptions}. Use this type for the `codeSplitting` option. +* +* @deprecated Please use {@linkcode CodeSplittingOptions} instead. +*/ +type AdvancedChunksOptions = CodeSplittingOptions; +//#endregion +//#region src/api/build.d.ts +/** +* The options for {@linkcode build} function. +* +* @experimental +* @category Programmatic APIs +*/ +type BuildOptions = InputOptions & { + /** + * Write the output to the file system + * + * @default true + */ + write?: boolean; + output?: OutputOptions; +}; +/** +* Build a single output. +* +* @param options The build options. +* @returns A Promise that resolves to the build output. +*/ +declare function build(options: BuildOptions): Promise; +/** +* Build multiple outputs __sequentially__. +* +* @param options The build options. +* @returns A Promise that resolves to the build outputs for each option. +*/ +declare function build(options: BuildOptions[]): Promise; +//#endregion +//#region src/api/rolldown/rolldown-build.d.ts +/** +* The bundle object returned by {@linkcode rolldown} function. +* +* @category Programmatic APIs +*/ +declare class RolldownBuild { + #private; + /** @internal */ + static asyncRuntimeShutdown: boolean; + /** @hidden should not be used directly */ + constructor(inputOptions: InputOptions); + /** + * Whether the bundle has been closed. + * + * If the bundle is closed, calling other methods will throw an error. + */ + get closed(): boolean; + /** + * Generate bundles in-memory. + * + * If you directly want to write bundles to disk, use the {@linkcode write} method instead. + * + * @param outputOptions The output options. + * @returns The generated bundle. + * @throws {@linkcode BundleError} When an error occurs during the build. + */ + generate(outputOptions?: OutputOptions): Promise; + /** + * Generate and write bundles to disk. + * + * If you want to generate bundles in-memory, use the {@linkcode generate} method instead. + * + * @param outputOptions The output options. + * @returns The generated bundle. + * @throws {@linkcode BundleError} When an error occurs during the build. + */ + write(outputOptions?: OutputOptions): Promise; + /** + * Close the bundle and free resources. + * + * This method should be called even if the {@linkcode generate} method + * or the {@linkcode write} method threw an error. It should be called + * even if neither of the methods are called. + * + * This method is called automatically when using `using` syntax. + * + * @example + * ```js + * import { rolldown } from 'rolldown'; + * + * { + * using bundle = await rolldown({ input: 'src/main.js' }); + * const output = await bundle.generate({ format: 'esm' }); + * console.log(output); + * // bundle.close() is called automatically here + * } + * ``` + */ + close(): Promise; + /** @hidden documented in close method */ + [Symbol.asyncDispose](): Promise; + /** + * @experimental + * @hidden not ready for public usage yet + */ + get watchFiles(): Promise; +} +//#endregion +//#region src/api/rolldown/index.d.ts +/** +* The API compatible with Rollup's `rollup` function. +* +* Unlike Rollup, the module graph is not built until the methods of the bundle object are called. +* +* @param input The input options object. +* @returns A Promise that resolves to a bundle object. +* +* @example +* ```js +* import { rolldown } from 'rolldown'; +* +* let bundle, failed = false; +* try { +* bundle = await rolldown({ +* input: 'src/main.js', +* }); +* await bundle.write({ +* format: 'esm', +* }); +* } catch (e) { +* console.error(e); +* failed = true; +* } +* if (bundle) { +* await bundle.close(); +* } +* process.exitCode = failed ? 1 : 0; +* ``` +* +* @category Programmatic APIs +*/ +declare const rolldown: (input: InputOptions) => Promise; +//#endregion +//#region src/options/watch-options.d.ts +/** @category Programmatic APIs */ +interface WatchOptions extends InputOptions { + output?: OutputOptions | OutputOptions[]; +} +//#endregion +//#region src/api/watch/watch-emitter.d.ts +type ChangeEvent$1 = "create" | "update" | "delete"; +type RolldownWatchBuild = BindingWatcherBundler; +/** +* - `START`: the watcher is (re)starting +* - `BUNDLE_START`: building an individual bundle +* - `BUNDLE_END`: finished building a bundle +* - `duration`: the build duration in milliseconds +* - `output`: an array of the {@linkcode OutputOptions.file | file} or {@linkcode OutputOptions.dir | dir} option values of the generated outputs +* - `result`: the bundle object that can be used to generate additional outputs. This is especially important when the watch.skipWrite option is used. You should call `event.result.close()` once you are done generating outputs, or if you do not generate outputs. This will allow plugins to clean up resources via the `closeBundle` hook. +* - `END`: finished building all bundles +* - `ERROR`: encountered an error while bundling +* - `error`: the error that was thrown +* - `result`: the bundle object +* +* @category Programmatic APIs +*/ +type RolldownWatcherEvent = { + code: "START"; +} | { + code: "BUNDLE_START"; +} | { + code: "BUNDLE_END"; + duration: number; + output: readonly string[]; + result: RolldownWatchBuild; +} | { + code: "END"; +} | { + code: "ERROR"; + error: Error; + result: RolldownWatchBuild; +}; +/** +* +* @category Programmatic APIs +*/ +type RolldownWatcherWatcherEventMap = { + event: [data: RolldownWatcherEvent]; /** a file was modified */ + change: [id: string, change: { + event: ChangeEvent$1; + }]; /** a new run was triggered */ + restart: []; /** the watcher was closed */ + close: []; +}; +/** +* @category Programmatic APIs +*/ +interface RolldownWatcher { + /** + * Register a listener for events defined in {@linkcode RolldownWatcherWatcherEventMap}. + */ + on(event: E, listener: (...args: RolldownWatcherWatcherEventMap[E]) => MaybePromise): this; + /** + * Unregister a listener for events defined in {@linkcode RolldownWatcherWatcherEventMap}. + */ + off(event: E, listener: (...args: RolldownWatcherWatcherEventMap[E]) => MaybePromise): this; + /** + * Unregister all listeners for a specific event defined in {@linkcode RolldownWatcherWatcherEventMap}. + */ + clear(event: E): void; + /** + * Close the watcher and stop listening for file changes. + */ + close(): Promise; +} +//#endregion +//#region src/api/watch/index.d.ts +/** +* The API compatible with Rollup's `watch` function. +* +* This function will rebuild the bundle when it detects that the individual modules have changed on disk. +* +* Note that when using this function, it is your responsibility to call `event.result.close()` in response to the `BUNDLE_END` event to avoid resource leaks. +* +* @param input The watch options object or the list of them. +* @returns A watcher object. +* +* @example +* ```js +* import { watch } from 'rolldown'; +* +* const watcher = watch({ /* ... *\/ }); +* watcher.on('event', (event) => { +* if (event.code === 'BUNDLE_END') { +* console.log(event.duration); +* event.result.close(); +* } +* }); +* +* // Stop watching +* watcher.close(); +* ``` +* +* @experimental +* @category Programmatic APIs +*/ +declare function watch(input: WatchOptions | WatchOptions[]): RolldownWatcher; +//#endregion +//#region src/binding-magic-string.d.ts +interface RolldownMagicString extends BindingMagicString { + readonly isRolldownMagicString: true; + /** Accepts a string or RegExp pattern. RegExp supports `$&`, `$$`, and `$N` substitutions. */ + replace(from: string | RegExp, to: string): this; + /** Accepts a string or RegExp pattern. RegExp must have the global (`g`) flag. */ + replaceAll(from: string | RegExp, to: string): this; +} +type RolldownMagicStringConstructor = Omit & { + new (...args: ConstructorParameters): RolldownMagicString; + prototype: RolldownMagicString; +}; +/** +* A native MagicString implementation powered by Rust. +* +* @experimental +*/ +declare const RolldownMagicString: RolldownMagicStringConstructor; +//#endregion +//#region src/log/log-handler.d.ts +type LoggingFunction = (log: RolldownLog | string | (() => RolldownLog | string)) => void; +type LoggingFunctionWithPosition = (log: RolldownLog | string | (() => RolldownLog | string), pos?: number | { + column: number; + line: number; +}) => void; +type WarningHandlerWithDefault = (warning: RolldownLog, defaultHandler: LoggingFunction) => void; +//#endregion +//#region src/options/generated/checks-options.d.ts +interface ChecksOptions { + /** + * Whether to emit warnings when detecting circular dependency. + * + * Circular dependencies lead to a bigger bundle size and sometimes cause execution order issues and are better to avoid. + * + * + * @default false + * */ + circularDependency?: boolean; + /** + * Whether to emit warnings when detecting uses of direct `eval`s. + * + * See [Avoiding Direct `eval` in Troubleshooting page](https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval) for more details. + * @default true + * */ + eval?: boolean; + /** + * Whether to emit warnings when the `output.globals` option is missing when needed. + * + * See [`output.globals`](https://rolldown.rs/reference/OutputOptions.globals). + * @default true + * */ + missingGlobalName?: boolean; + /** + * Whether to emit warnings when the `output.name` option is missing when needed. + * + * See [`output.name`](https://rolldown.rs/reference/OutputOptions.name). + * @default true + * */ + missingNameOptionForIifeExport?: boolean; + /** + * Whether to emit warnings when a `#__PURE__` / `@__PURE__` annotation has no effect due to its position. + * + * Annotations placed where they cannot annotate a call expression (e.g. before a non-call expression, + * before a statement declaration, or between an identifier and `=` in a variable declarator) are + * ignored by the parser. Matches Rollup's `INVALID_ANNOTATION` log code. + * @default true + * */ + invalidAnnotation?: boolean; + /** + * Whether to emit warnings when the way to export values is ambiguous. + * + * See [`output.exports`](https://rolldown.rs/reference/OutputOptions.exports). + * @default true + * */ + mixedExports?: boolean; + /** + * Whether to emit warnings when an entrypoint cannot be resolved. + * @default true + * */ + unresolvedEntry?: boolean; + /** + * Whether to emit warnings when an import cannot be resolved. + * @default true + * */ + unresolvedImport?: boolean; + /** + * Whether to emit warnings when files generated have the same name with different contents. + * + * + * @default true + * */ + filenameConflict?: boolean; + /** + * Whether to emit warnings when a CommonJS variable is used in an ES module. + * + * CommonJS variables like `module` and `exports` are treated as global variables in ES modules and may not work as expected. + * + * + * @default true + * */ + commonJsVariableInEsm?: boolean; + /** + * Whether to emit warnings when an imported variable is not exported. + * + * If the code is importing a variable that is not exported by the imported module, the value will always be `undefined`. This might be a mistake in the code. + * + * + * @default true + * */ + importIsUndefined?: boolean; + /** + * Whether to emit warnings when `import.meta` is not supported with the output format and is replaced with an empty object (`{}`). + * + * See [`import.meta` in Non-ESM Output Formats page](https://rolldown.rs/in-depth/non-esm-output-formats#import-meta) for more details. + * @default true + * */ + emptyImportMeta?: boolean; + /** + * Whether to emit warnings when detecting tolerated transform. + * @default true + * */ + toleratedTransform?: boolean; + /** + * Whether to emit warnings when a namespace is called as a function. + * + * A module namespace object is an object and not a function. Calling it as a function will cause a runtime error. + * + * + * @default true + * */ + cannotCallNamespace?: boolean; + /** + * Whether to emit warnings when a config value is overridden by another config value with a higher priority. + * + * + * @default true + * */ + configurationFieldConflict?: boolean; + /** + * Whether to emit warnings when a plugin that is covered by a built-in feature is used. + * + * Using built-in features is generally more performant than using plugins. + * @default true + * */ + preferBuiltinFeature?: boolean; + /** + * Whether to emit warnings when Rolldown could not clean the output directory. + * + * See [`output.cleanDir`](https://rolldown.rs/reference/OutputOptions.cleanDir). + * @default true + * */ + couldNotCleanDirectory?: boolean; + /** + * Whether to emit warnings when plugins take significant time during the build process. + * + * + * @default true + * */ + pluginTimings?: boolean; + /** + * Whether to emit warnings when both the code and postBanner contain shebang + * + * Having multiple shebangs in a file is a syntax error. + * @default true + * */ + duplicateShebang?: boolean; + /** + * Whether to emit warnings when a tsconfig option or combination of options is not supported. + * @default true + * */ + unsupportedTsconfigOption?: boolean; + /** + * Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting. + * @default true + * */ + ineffectiveDynamicImport?: boolean; + /** + * Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000). + * + * Such modules can significantly slow down module resolution. Consider using + * [`@rolldown/plugin-transform-imports`](https://github.com/rolldown/plugins/tree/main/packages/transform-imports) + * to rewrite barrel imports at the source level so the barrel file is never loaded. + * + * See [Large barrel modules](https://rolldown.rs/in-depth/lazy-barrel-optimization#large-barrel-modules) for more details. + * @default true + * */ + largeBarrelModules?: boolean; + /** + * Whether to emit warnings when a plugin transforms code without generating a sourcemap. + * @default true + * */ + sourcemapBroken?: boolean; +} +//#endregion +//#region src/options/transform-options.d.ts +interface TransformOptions extends Omit { + /** + * Replace global variables or [property accessors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_accessors) with the provided values. + * + * See Oxc's [`define` option](https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement.html#define) for more details. + * + * @example + * **Replace the global variable `IS_PROD` with `true`** + * ```js [rolldown.config.js] + * export default defineConfig({ + * transform: { define: { IS_PROD: 'true' } } + * }) + * ``` + * Result: + * ```js + * // Input + * if (IS_PROD) { + * console.log('Production mode') + * } + * + * // After bundling + * if (true) { + * console.log('Production mode') + * } + * ``` + * + * **Replace the property accessor `process.env.NODE_ENV` with `'production'`** + * ```js [rolldown.config.js] + * export default defineConfig({ + * transform: { define: { 'process.env.NODE_ENV': "'production'" } } + * }) + * ``` + * Result: + * ```js + * // Input + * if (process.env.NODE_ENV === 'production') { + * console.log('Production mode') + * } + * + * // After bundling + * if ('production' === 'production') { + * console.log('Production mode') + * } + * ``` + */ + define?: Record; + /** + * Inject import statements on demand. + * + * The API is aligned with `@rollup/plugin-inject`. + * + * See Oxc's [`inject` option](https://oxc.rs/docs/guide/usage/transformer/global-variable-replacement.html#inject) for more details. + * + * #### Supported patterns + * ```js + * { + * // import { Promise } from 'es6-promise' + * Promise: ['es6-promise', 'Promise'], + * + * // import { Promise as P } from 'es6-promise' + * P: ['es6-promise', 'Promise'], + * + * // import $ from 'jquery' + * $: 'jquery', + * + * // import * as fs from 'node:fs' + * fs: ['node:fs', '*'], + * + * // Inject shims for property access pattern + * 'Object.assign': path.resolve( 'src/helpers/object-assign.js' ), + * } + * ``` + */ + inject?: Record; + /** + * Remove labeled statements with these label names. + * + * Labeled statements are JavaScript statements prefixed with a label identifier. + * This option allows you to strip specific labeled statements from the output, + * which is useful for removing debug-only code in production builds. + * + * @example + * ```js rolldown.config.js + * export default defineConfig({ + * transform: { dropLabels: ['DEBUG', 'DEV'] } + * }) + * ``` + * Result: + * ```js + * // Input + * DEBUG: console.log('Debug info'); + * DEV: { + * console.log('Development mode'); + * } + * console.log('Production code'); + * + * // After bundling + * console.log('Production code'); + * ``` + */ + dropLabels?: string[]; + /** + * Controls how JSX syntax is transformed. + * + * - If set to `false`, an error will be thrown if JSX syntax is encountered. + * - If set to `'react'`, JSX syntax will be transformed to classic runtime React code. + * - If set to `'react-jsx'`, JSX syntax will be transformed to automatic runtime React code. + * - If set to `'preserve'`, JSX syntax will be preserved as-is. + */ + jsx?: false | "react" | "react-jsx" | "preserve" | JsxOptions; +} +//#endregion +//#region src/options/normalized-input-options.d.ts +/** @category Plugin APIs */ +interface NormalizedInputOptions { + /** @see {@linkcode InputOptions.input | input} */ + input: string[] | Record; + /** @see {@linkcode InputOptions.cwd | cwd} */ + cwd: string; + /** @see {@linkcode InputOptions.platform | platform} */ + platform: InputOptions["platform"]; + /** @see {@linkcode InputOptions.shimMissingExports | shimMissingExports} */ + shimMissingExports: boolean; + /** @see {@linkcode InputOptions.context | context} */ + context: string; + /** @see {@linkcode InputOptions.plugins | plugins} */ + plugins: RolldownPlugin[]; +} +//#endregion +//#region src/options/normalized-output-options.d.ts +type PathsFunction = (id: string) => string; +/** +* A normalized version of {@linkcode ModuleFormat}. +* @category Plugin APIs +*/ +type InternalModuleFormat = "es" | "cjs" | "iife" | "umd"; +/** @category Plugin APIs */ +interface NormalizedOutputOptions { + /** @see {@linkcode OutputOptions.name | name} */ + name: string | undefined; + /** @see {@linkcode OutputOptions.file | file} */ + file: string | undefined; + /** @see {@linkcode OutputOptions.dir | dir} */ + dir: string | undefined; + /** @see {@linkcode OutputOptions.entryFileNames | entryFileNames} */ + entryFileNames: string | ChunkFileNamesFunction; + /** @see {@linkcode OutputOptions.chunkFileNames | chunkFileNames} */ + chunkFileNames: string | ChunkFileNamesFunction; + /** @see {@linkcode OutputOptions.assetFileNames | assetFileNames} */ + assetFileNames: string | AssetFileNamesFunction; + /** @see {@linkcode OutputOptions.format | format} */ + format: InternalModuleFormat; + /** @see {@linkcode OutputOptions.exports | exports} */ + exports: NonNullable; + /** @see {@linkcode OutputOptions.sourcemap | sourcemap} */ + sourcemap: boolean | "inline" | "hidden"; + /** @see {@linkcode OutputOptions.sourcemapBaseUrl | sourcemapBaseUrl} */ + sourcemapBaseUrl: string | undefined; + /** @see {@linkcode OutputOptions.codeSplitting | codeSplitting} */ + codeSplitting: boolean; + /** @deprecated Use `codeSplitting` instead. */ + inlineDynamicImports: boolean; + /** @see {@linkcode OutputOptions.dynamicImportInCjs | dynamicImportInCjs} */ + dynamicImportInCjs: boolean; + /** @see {@linkcode OutputOptions.externalLiveBindings | externalLiveBindings} */ + externalLiveBindings: boolean; + /** @see {@linkcode OutputOptions.banner | banner} */ + banner: AddonFunction; + /** @see {@linkcode OutputOptions.footer | footer} */ + footer: AddonFunction; + /** @see {@linkcode OutputOptions.postBanner | postBanner} */ + postBanner: AddonFunction; + /** @see {@linkcode OutputOptions.postFooter | postFooter} */ + postFooter: AddonFunction; + /** @see {@linkcode OutputOptions.intro | intro} */ + intro: AddonFunction; + /** @see {@linkcode OutputOptions.outro | outro} */ + outro: AddonFunction; + /** @see {@linkcode OutputOptions.esModule | esModule} */ + esModule: boolean | "if-default-prop"; + /** @see {@linkcode OutputOptions.extend | extend} */ + extend: boolean; + /** @see {@linkcode OutputOptions.globals | globals} */ + globals: Record | GlobalsFunction; + /** @see {@linkcode OutputOptions.paths | paths} */ + paths: Record | PathsFunction | undefined; + /** @see {@linkcode OutputOptions.hashCharacters | hashCharacters} */ + hashCharacters: "base64" | "base36" | "hex"; + /** @see {@linkcode OutputOptions.sourcemapDebugIds | sourcemapDebugIds} */ + sourcemapDebugIds: boolean; + /** @see {@linkcode OutputOptions.sourcemapExcludeSources | sourcemapExcludeSources} */ + sourcemapExcludeSources: boolean; + /** @see {@linkcode OutputOptions.sourcemapIgnoreList | sourcemapIgnoreList} */ + sourcemapIgnoreList: boolean | SourcemapIgnoreListOption | StringOrRegExp | undefined; + /** @see {@linkcode OutputOptions.sourcemapPathTransform | sourcemapPathTransform} */ + sourcemapPathTransform: SourcemapPathTransformOption | undefined; + /** @see {@linkcode OutputOptions.minify | minify} */ + minify: false | MinifyOptions | "dce-only"; + /** + * @deprecated Use `comments.legal` instead. + * @see {@linkcode OutputOptions.legalComments | legalComments} + */ + legalComments: "none" | "inline"; + /** @see {@linkcode OutputOptions.comments | comments} */ + comments: Required; + /** @see {@linkcode OutputOptions.polyfillRequire | polyfillRequire} */ + polyfillRequire: boolean; + /** @see {@linkcode OutputOptions.plugins | plugins} */ + plugins: RolldownPlugin[]; + /** @see {@linkcode OutputOptions.preserveModules | preserveModules} */ + preserveModules: boolean; + /** @see {@linkcode OutputOptions.virtualDirname | virtualDirname} */ + virtualDirname: string; + /** @see {@linkcode OutputOptions.preserveModulesRoot | preserveModulesRoot} */ + preserveModulesRoot?: string; + /** @see {@linkcode OutputOptions.topLevelVar | topLevelVar} */ + topLevelVar?: boolean; + /** @see {@linkcode OutputOptions.minifyInternalExports | minifyInternalExports} */ + minifyInternalExports?: boolean; +} +//#endregion +//#region src/plugin/fs.d.ts +/** @category Plugin APIs */ +interface RolldownFsModule { + appendFile(path: string, data: string | Uint8Array, options?: { + encoding?: BufferEncoding | null; + mode?: string | number; + flag?: string | number; + }): Promise; + copyFile(source: string, destination: string, mode?: string | number): Promise; + mkdir(path: string, options?: { + recursive?: boolean; + mode?: string | number; + }): Promise; + mkdtemp(prefix: string): Promise; + readdir(path: string, options?: { + withFileTypes?: false; + }): Promise; + readdir(path: string, options?: { + withFileTypes: true; + }): Promise; + readFile(path: string, options?: { + encoding?: null; + flag?: string | number; + signal?: AbortSignal; + }): Promise; + readFile(path: string, options?: { + encoding: BufferEncoding; + flag?: string | number; + signal?: AbortSignal; + }): Promise; + realpath(path: string): Promise; + rename(oldPath: string, newPath: string): Promise; + rmdir(path: string, options?: { + recursive?: boolean; + }): Promise; + stat(path: string): Promise; + lstat(path: string): Promise; + unlink(path: string): Promise; + writeFile(path: string, data: string | Uint8Array, options?: { + encoding?: BufferEncoding | null; + mode?: string | number; + flag?: string | number; + }): Promise; +} +/** @category Plugin APIs */ +type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "base64url" | "latin1" | "binary" | "hex"; +/** @category Plugin APIs */ +interface RolldownDirectoryEntry { + isFile(): boolean; + isDirectory(): boolean; + isSymbolicLink(): boolean; + name: string; +} +/** @category Plugin APIs */ +interface RolldownFileStats { + isFile(): boolean; + isDirectory(): boolean; + isSymbolicLink(): boolean; + size: number; + mtime: Date; + ctime: Date; + atime: Date; + birthtime: Date; +} +//#endregion +//#region src/plugin/hook-filter.d.ts +/** @category Plugin APIs */ +type GeneralHookFilter = MaybeArray | { + include?: MaybeArray; + exclude?: MaybeArray; +}; +interface FormalModuleTypeFilter { + include?: ModuleType[]; +} +/** @category Plugin APIs */ +type ModuleTypeFilter = ModuleType[] | FormalModuleTypeFilter; +/** +* A filter to be used to do a pre-test to determine whether the hook should be called. +* +* See [Plugin Hook Filters page](https://rolldown.rs/apis/plugin-api/hook-filters) for more details. +* +* @category Plugin APIs +*/ +interface HookFilter { + /** + * A filter based on the module `id`. + * + * If the value is a string, it is treated as a glob pattern. + * The string type is not available for {@linkcode Plugin.resolveId | resolveId} hook. + * + * @example + * Include all `id`s that contain `node_modules` in the path. + * ```js + * { id: '**'+'/node_modules/**' } + * ``` + * @example + * Include all `id`s that contain `node_modules` or `src` in the path. + * ```js + * { id: ['**'+'/node_modules/**', '**'+'/src/**'] } + * ``` + * @example + * Include all `id`s that start with `http` + * ```js + * { id: /^http/ } + * ``` + * @example + * Exclude all `id`s that contain `node_modules` in the path. + * ```js + * { id: { exclude: '**'+'/node_modules/**' } } + * ``` + * @example + * Formal pattern to define includes and excludes. + * ```js + * { id : { + * include: ['**'+'/foo/**', /bar/], + * exclude: ['**'+'/baz/**', /qux/] + * }} + * ``` + */ + id?: GeneralHookFilter; + /** + * A filter based on the module's `moduleType`. + * + * Only available for {@linkcode Plugin.transform | transform} hook. + */ + moduleType?: ModuleTypeFilter; + /** + * A filter based on the module's code. + * + * Only available for {@linkcode Plugin.transform | transform} hook. + */ + code?: GeneralHookFilter; +} +//#endregion +//#region src/plugin/minimal-plugin-context.d.ts +/** @category Plugin APIs */ +interface PluginContextMeta { + /** + * A property for Rollup compatibility. A dummy value is set by Rolldown. + * @example `'4.23.0'` + */ + rollupVersion: string; + /** + * The currently running version of Rolldown. + * @example `'1.0.0'` + */ + rolldownVersion: string; + /** + * Whether Rolldown was started via {@linkcode watch | rolldown.watch()} or + * from the command line with `--watch`. + */ + watchMode: boolean; +} +/** @category Plugin APIs */ +interface MinimalPluginContext { + /** + * Similar to {@linkcode warn | this.warn}, except that it will also abort + * the bundling process with an error. + * + * If an Error instance is passed, it will be used as-is, otherwise a new Error + * instance will be created with the given error message and all additional + * provided properties. + * + * In all hooks except the {@linkcode Plugin.onLog | onLog} hook, the error will + * be augmented with {@linkcode RolldownLog.code | code: "PLUGIN_ERROR"} and + * {@linkcode RolldownLog.plugin | plugin: plugin.name} properties. + * If a `code` property already exists and the code does not start with `PLUGIN_`, + * it will be renamed to {@linkcode RolldownLog.pluginCode | pluginCode}. + * + * @group Logging Methods + */ + error: (e: RolldownError | string) => never; + /** + * Generate a `"info"` level log. + * + * {@linkcode RolldownLog.code | code} will be set to `"PLUGIN_LOG"` by Rolldown. + * As these logs are displayed by default, use them for information that is not a warning + * but makes sense to display to all users on every build. + * + * + * + * @inlineType LoggingFunction + * @group Logging Methods + */ + info: LoggingFunction; + /** + * Generate a `"warn"` level log. + * + * Just like internally generated warnings, these logs will be first passed to and + * filtered by plugin {@linkcode Plugin.onLog | onLog} hooks before they are forwarded + * to custom {@linkcode InputOptions.onLog | onLog} or + * {@linkcode InputOptions.onwarn | onwarn} handlers or printed to the console. + * + * We encourage you to use objects with a {@linkcode RolldownLog.pluginCode | pluginCode} + * property as that will allow users to easily filter for those logs in an `onLog` handler. + * + * + * + * @inlineType LoggingFunction + * @group Logging Methods + */ + warn: LoggingFunction; + /** + * Generate a `"debug"` level log. + * + * {@linkcode RolldownLog.code | code} will be set to `"PLUGIN_LOG"` by Rolldown. + * Make sure to add a distinctive {@linkcode RolldownLog.pluginCode | pluginCode} to + * those logs for easy filtering. + * + * + * + * @inlineType LoggingFunction + * @group Logging Methods + */ + debug: LoggingFunction; + /** An object containing potentially useful metadata. */ + meta: PluginContextMeta; +} +//#endregion +//#region src/plugin/parallel-plugin.d.ts +type ParallelPlugin = { + _parallel: { + fileUrl: string; + options: unknown; + }; +}; +/** @internal */ +type DefineParallelPluginResult = (options: Options) => ParallelPlugin; +declare function defineParallelPlugin(pluginPath: string): DefineParallelPluginResult; +//#endregion +//#region src/plugin/plugin-context.d.ts +/** +* Either a {@linkcode name} or a {@linkcode fileName} can be supplied. +* If a {@linkcode fileName} is provided, it will be used unmodified as the name +* of the generated file, throwing an error if this causes a conflict. +* Otherwise, if a {@linkcode name} is supplied, this will be used as substitution +* for `[name]` in the corresponding +* {@linkcode OutputOptions.assetFileNames | output.assetFileNames} pattern, possibly +* adding a unique number to the end of the file name to avoid conflicts. +* If neither a {@linkcode name} nor {@linkcode fileName} is supplied, a default name will be used. +* +* @category Plugin APIs +*/ +interface EmittedAsset { + type: "asset"; + name?: string; + fileName?: string; + /** + * An absolute path to the original file if this asset corresponds to a file on disk. + * + * This property will be passed on to subsequent plugin hooks that receive a + * {@linkcode PreRenderedAsset} or an {@linkcode OutputAsset} like + * {@linkcode Plugin.generateBundle | generateBundle}. + * In watch mode, Rolldown will also automatically watch this file for changes and + * trigger a rebuild if it changes. Therefore, it is not necessary to call + * {@linkcode PluginContext.addWatchFile | this.addWatchFile} for this file. + */ + originalFileName?: string; + source: AssetSource; +} +/** +* Either a {@linkcode name} or a {@linkcode fileName} can be supplied. +* If a {@linkcode fileName} is provided, it will be used unmodified as the name +* of the generated file, throwing an error if this causes a conflict. +* Otherwise, if a {@linkcode name} is supplied, this will be used as substitution +* for `[name]` in the corresponding +* {@linkcode OutputOptions.chunkFileNames | output.chunkFileNames} pattern, possibly +* adding a unique number to the end of the file name to avoid conflicts. +* If neither a {@linkcode name} nor {@linkcode fileName} is supplied, a default name will be used. +* +* @category Plugin APIs +*/ +interface EmittedChunk { + type: "chunk"; + name?: string; + fileName?: string; + /** + * When provided, this will override + * {@linkcode InputOptions.preserveEntrySignatures | preserveEntrySignatures} for this particular + * chunk. + */ + preserveSignature?: "strict" | "allow-extension" | "exports-only" | false; + /** + * The module id of the entry point of the chunk. + * + * It will be passed through build hooks just like regular entry points, + * starting with {@linkcode Plugin.resolveId | resolveId}. + */ + id: string; + /** + * The value to be passed to {@linkcode Plugin.resolveId | resolveId}'s {@linkcode importer} parameter when resolving the entry point. + * This is important to properly resolve relative paths. If it is not provided, + * paths will be resolved relative to the current working directory. + */ + importer?: string; +} +/** @category Plugin APIs */ +interface EmittedPrebuiltChunk { + type: "prebuilt-chunk"; + fileName: string; + /** + * A semantic name for the chunk. If not provided, `fileName` will be used. + */ + name?: string; + /** + * The code of this chunk. + */ + code: string; + /** + * The list of exported variable names from this chunk. + * + * This should be provided if the chunk exports any variables. + */ + exports?: string[]; + /** + * The corresponding source map for this chunk. + */ + map?: SourceMap; + sourcemapFileName?: string; + /** + * The module id of the facade module for this chunk, if any. + */ + facadeModuleId?: string; + /** + * Whether this chunk corresponds to an entry point. + */ + isEntry?: boolean; + /** + * Whether this chunk corresponds to a dynamic entry point. + */ + isDynamicEntry?: boolean; +} +/** @inline @category Plugin APIs */ +type EmittedFile = EmittedAsset | EmittedChunk | EmittedPrebuiltChunk; +/** @category Plugin APIs */ +interface PluginContextResolveOptions { + /** + * The value for {@linkcode ResolveIdExtraOptions.kind | kind} passed to + * {@linkcode Plugin.resolveId | resolveId} hooks. + */ + kind?: BindingPluginContextResolveOptions["importKind"]; + /** + * The value for {@linkcode ResolveIdExtraOptions.isEntry | isEntry} passed to + * {@linkcode Plugin.resolveId | resolveId} hooks. + * + * @default `false` if there's an importer, `true` otherwise. + */ + isEntry?: boolean; + /** + * Whether the {@linkcode Plugin.resolveId | resolveId} hook of the plugin from + * which {@linkcode PluginContext.resolve | this.resolve} is called will be skipped + * when resolving. + * + * + * + * @default true + */ + skipSelf?: boolean; + /** + * Plugin-specific options. + * + * See [Custom resolver options section](https://rolldown.rs/apis/plugin-api/inter-plugin-communication#custom-resolver-options) for more details. + */ + custom?: CustomPluginOptions; +} +/** @inline */ +type GetModuleInfo = (moduleId: string) => ModuleInfo | null; +/** @category Plugin APIs */ +interface PluginContext extends MinimalPluginContext { + /** + * Provides abstract access to the file system. + */ + fs: RolldownFsModule; + /** + * Emits a new file that is included in the build output. + * You can emit chunks, prebuilt chunks or assets. + * + * + * + * @returns A `referenceId` for the emitted file that can be used in various places to reference the emitted file. + */ + emitFile(file: EmittedFile): string; + /** + * Get the file name of a chunk or asset that has been emitted via + * {@linkcode emitFile | this.emitFile}. + * + * @returns The file name of the emitted file. Relative to {@linkcode OutputOptions.dir | output.dir}. + */ + getFileName(referenceId: string): string; + /** + * Get all module ids in the current module graph. + * + * @returns + * An iterator of module ids. It can be iterated via + * ```js + * for (const moduleId of this.getModuleIds()) { + * // ... + * } + * ``` + * or converted into an array via `Array.from(this.getModuleIds())`. + */ + getModuleIds(): IterableIterator; + /** + * Get additional information about the module in question. + * + * + * + * @returns Module information for that module. `null` if the module could not be found. + * @group Methods + */ + getModuleInfo: GetModuleInfo; + /** + * Adds additional files to be monitored in watch mode so that changes to these files will trigger rebuilds. + * + * + */ + addWatchFile(id: string): void; + /** + * Loads and parses the module corresponding to the given id, attaching additional + * meta information to the module if provided. This will trigger the same + * {@linkcode Plugin.load | load}, {@linkcode Plugin.transform | transform} and + * {@linkcode Plugin.moduleParsed | moduleParsed} hooks as if the module was imported + * by another module. + * + * + */ + load(options: { + id: string; + resolveDependencies?: boolean; + } & Partial>): Promise; + /** + * Use Rolldown's internal parser to parse code to an [ESTree-compatible](https://github.com/estree/estree) AST. + */ + parse(input: string, options?: ParserOptions | null): Program; + /** + * Resolve imports to module ids (i.e. file names) using the same plugins that Rolldown uses, + * and determine if an import should be external. + * + * When calling this function from a {@linkcode Plugin.resolveId | resolveId} hook, you should + * always check if it makes sense for you to pass along the + * {@link PluginContextResolveOptions | options}. + * + * @returns + * If `Promise` is returned, the import could not be resolved by Rolldown or any plugin + * but was not explicitly marked as external by the user. + * If an absolute external id is returned that should remain absolute in the output either + * via the + * {@linkcode InputOptions.makeAbsoluteExternalsRelative | makeAbsoluteExternalsRelative} + * option or by explicit plugin choice in the {@linkcode Plugin.resolveId | resolveId} hook, + * `external` will be `"absolute"` instead of `true`. + */ + resolve(source: string, importer?: string, options?: PluginContextResolveOptions): Promise; +} +//#endregion +//#region src/plugin/transform-plugin-context.d.ts +/** @category Plugin APIs */ +interface TransformPluginContext extends PluginContext { + /** + * Same as {@linkcode PluginContext.debug}, but a `position` param can be supplied. + * + * @inlineType LoggingFunctionWithPosition + * @group Logging Methods + */ + debug: LoggingFunctionWithPosition; + /** + * Same as {@linkcode PluginContext.info}, but a `position` param can be supplied. + * + * @inlineType LoggingFunctionWithPosition + * @group Logging Methods + */ + info: LoggingFunctionWithPosition; + /** + * Same as {@linkcode PluginContext.warn}, but a `position` param can be supplied. + * + * @inlineType LoggingFunctionWithPosition + * @group Logging Methods + */ + warn: LoggingFunctionWithPosition; + /** + * Same as {@linkcode PluginContext.error}, but the `id` of the current module will + * also be added and a `position` param can be supplied. + */ + error(e: RolldownError | string, pos?: number | { + column: number; + line: number; + }): never; + /** + * Get the combined source maps of all previous plugins. + */ + getCombinedSourcemap(): SourceMap; +} +//#endregion +//#region src/types/module-side-effects.d.ts +interface ModuleSideEffectsRule { + test?: RegExp; + external?: boolean; + sideEffects: boolean; +} +type ModuleSideEffectsOption = boolean | readonly string[] | ModuleSideEffectsRule[] | ((id: string, external: boolean) => boolean | undefined) | "no-external"; +/** +* When passing an object, you can fine-tune the tree-shaking behavior. +*/ +type TreeshakingOptions = { + /** + * **Values:** + * + * - **`true`**: All modules are assumed to have side effects and will be included in the bundle even if none of their exports are used. + * - **`false`**: No modules have side effects. This enables aggressive tree-shaking, removing any modules whose exports are not used. + * - **`string[]`**: Array of module IDs that have side effects. Only modules in this list will be preserved if unused; all others can be tree-shaken when their exports are unused. + * - **`'no-external'`**: Assumes no external modules have side effects while preserving the default behavior for local modules. + * - **`ModuleSideEffectsRule[]`**: Array of rules with `test`, `external`, and `sideEffects` properties for fine-grained control. + * - **`function`**: Function that receives `(id, external)` and returns whether the module has side effects. + * + * **Important:** Setting this to `false` or using an array/string assumes that your modules and their dependencies have no side effects other than their exports. Only use this if you're certain that removing unused modules won't break your application. + * + * > [!NOTE] + * > **Performance: Prefer `ModuleSideEffectsRule[]` over functions** + * > + * > When possible, use rule-based configuration instead of functions. Rules are processed entirely in Rust, while JavaScript functions require runtime calls between Rust and JavaScript, which can hurt CPU utilization during builds. + * > + * > **Functions should be a last resort**: Only use the function signature when your logic cannot be expressed with patterns or simple string matching. + * > + * > **Rule advantages**: `ModuleSideEffectsRule[]` provides better performance by avoiding Rust-JavaScript runtime calls, clearer intent, and easier maintenance. + * + * @example + * ```js + * // Assume no modules have side effects (aggressive tree-shaking) + * treeshake: { + * moduleSideEffects: false + * } + * + * // Only specific modules have side effects (string array) + * treeshake: { + * moduleSideEffects: [ + * 'lodash', + * 'react-dom', + * ] + * } + * + * // Use rules for pattern matching and granular control + * treeshake: { + * moduleSideEffects: [ + * { test: /^node:/, sideEffects: true }, + * { test: /\.css$/, sideEffects: true }, + * { test: /some-package/, sideEffects: false, external: false }, + * ] + * } + * + * // Custom function to determine side effects + * treeshake: { + * moduleSideEffects: (id, external) => { + * if (external) return false; // external modules have no side effects + * return id.includes('/side-effects/') || id.endsWith('.css'); + * } + * } + * + * // Assume no external modules have side effects + * treeshake: { + * moduleSideEffects: 'no-external', + * } + * ``` + * + * **Common Use Cases:** + * - **CSS files**: `{ test: /\.css$/, sideEffects: true }` - preserve CSS imports + * - **Polyfills**: Add specific polyfill modules to the array + * - **Plugins**: Modules that register themselves globally on import + * - **Library development**: Set to `false` for libraries where unused exports should be removed + * + * @default true + */ + moduleSideEffects?: ModuleSideEffectsOption; + /** + * Whether to respect `/*@__PURE__*\/` annotations and other tree-shaking hints in the code. + * + * See [related Oxc documentation](https://oxc.rs/docs/guide/usage/minifier/dead-code-elimination#pure-annotations) for more details. + * + * @default true + */ + annotations?: boolean; + /** + * Array of function names that should be considered pure (no side effects) even if they can't be automatically detected as pure. + * + * See [related Oxc documentation](https://oxc.rs/docs/guide/usage/minifier/dead-code-elimination#define-pure-functions) for more details. + * + * @example + * ```js + * treeshake: { + * manualPureFunctions: ['console.log', 'debug.trace'] + * } + * ``` + * @default [] + */ + manualPureFunctions?: readonly string[]; + /** + * Whether to assume that accessing unknown global properties might have side effects. + * + * See [related Oxc documentation](https://oxc.rs/docs/guide/usage/minifier/dead-code-elimination#ignoring-global-variable-access-side-effects) for more details. + * + * @default true + */ + unknownGlobalSideEffects?: boolean; + /** + * Whether to assume that invalid import statements might have side effects. + * + * See [related Oxc documentation](https://oxc.rs/docs/guide/usage/minifier/dead-code-elimination#ignoring-invalid-import-statement-side-effects) for more details. + * + * @default false + */ + invalidImportSideEffects?: boolean; + /** + * Whether to enable tree-shaking for CommonJS modules. When `true`, unused exports from CommonJS modules can be eliminated from the bundle, similar to ES modules. When disabled, CommonJS modules will always be included in their entirety. + * + * This option allows rolldown to analyze `exports.property` assignments in CommonJS modules and remove unused exports while preserving the module's side effects. + * + * @example + * ```js + * // source.js (CommonJS) + * exports.used = 'This will be kept'; + * exports.unused = 'This will be tree-shaken away'; + * + * // main.js + * import { used } from './source.js'; + * // With commonjs: true, only the 'used' export is included in the bundle + * // With commonjs: false, both exports are included + * ``` + * @default true + */ + commonjs?: boolean; + /** + * Controls whether reading properties from objects is considered to have side effects. + * + * Set to `false` for more aggressive tree-shaking behavior. + * + * See [related Oxc documentation](https://oxc.rs/docs/guide/usage/minifier/dead-code-elimination#ignoring-property-read-side-effects) for more details. + * + * @default 'always' + */ + propertyReadSideEffects?: false | "always"; + /** + * Controls whether writing properties to objects is considered to have side effects. + * + * Set to `false` for more aggressive behavior. + * + * @default 'always' + */ + propertyWriteSideEffects?: false | "always"; +}; +//#endregion +//#region src/types/output-bundle.d.ts +/** @category Plugin APIs */ +interface OutputBundle { + [fileName: string]: OutputAsset | OutputChunk; +} +//#endregion +//#region src/types/sourcemap.d.ts +/** @category Plugin APIs */ +interface ExistingRawSourceMap { + file?: string | null; + mappings: string; + names?: string[]; + sources?: (string | null)[]; + sourcesContent?: (string | null | undefined)[]; + sourceRoot?: string; + version?: number; + x_google_ignoreList?: number[]; +} +/** @inline @category Plugin APIs */ +type SourceMapInput = ExistingRawSourceMap | string | null; +//#endregion +//#region src/utils/error.d.ts +/** +* The error type that is thrown by Rolldown for the whole build. +*/ +type BundleError = Error & { + /** + * The individual errors that happened during the build. + * + * This property is a getter to avoid unnecessary expansion of error details when the error is logged. + */ + errors?: RolldownError[]; +}; +//#endregion +//#region src/constants/version.d.ts +/** +* The version of Rolldown. +* @example `'1.0.0'` +* +* @category Plugin APIs +*/ +declare const VERSION: string; +//#endregion +//#region src/constants/index.d.ts +/** +* Runtime helper module ID +*/ +declare const RUNTIME_MODULE_ID = "\0rolldown/runtime.js"; +//#endregion +//#region src/builtin-plugin/utils.d.ts +declare class BuiltinPlugin { + name: BindingBuiltinPluginName; + _options?: unknown; + /** Vite-specific option to control plugin ordering */ + enforce?: "pre" | "post"; + constructor(name: BindingBuiltinPluginName, _options?: unknown); +} +//#endregion +//#region src/constants/plugin.d.ts +declare const ENUMERATED_INPUT_PLUGIN_HOOK_NAMES: readonly ["options", "buildStart", "resolveId", "load", "transform", "moduleParsed", "buildEnd", "onLog", "resolveDynamicImport", "closeBundle", "closeWatcher", "watchChange"]; +declare const ENUMERATED_OUTPUT_PLUGIN_HOOK_NAMES: readonly ["augmentChunkHash", "outputOptions", "renderChunk", "renderStart", "renderError", "writeBundle", "generateBundle"]; +declare const ENUMERATED_PLUGIN_HOOK_NAMES: [...typeof ENUMERATED_INPUT_PLUGIN_HOOK_NAMES, ...typeof ENUMERATED_OUTPUT_PLUGIN_HOOK_NAMES, "footer", "banner", "intro", "outro"]; +/** +* Names of all defined hooks. It's like +* ```ts +* type DefinedHookNames = { +* options: 'options', +* buildStart: 'buildStart', +* ... +* } +* ``` +*/ +type DefinedHookNames = { readonly [K in (typeof ENUMERATED_PLUGIN_HOOK_NAMES)[number]]: K }; +/** +* Names of all defined hooks. It's like +* ```js +* const DEFINED_HOOK_NAMES ={ +* options: 'options', +* buildStart: 'buildStart', +* ... +* } +* ``` +*/ +declare const DEFINED_HOOK_NAMES: DefinedHookNames; +//#endregion +//#region src/plugin/with-filter.d.ts +type OverrideFilterObject = { + transform?: HookFilterExtension<"transform">["filter"]; + resolveId?: HookFilterExtension<"resolveId">["filter"]; + load?: HookFilterExtension<"load">["filter"]; + pluginNamePattern?: StringOrRegExp[]; +}; +/** +* A helper function to add plugin hook filters to a plugin or an array of plugins. +* +* @example +* ```ts +* import yaml from '@rollup/plugin-yaml'; +* import { defineConfig } from 'rolldown'; +* import { withFilter } from 'rolldown/filter'; +* +* export default defineConfig({ +* plugins: [ +* // Run the transform hook of the `yaml` plugin +* // only for modules which end in `.yaml` +* withFilter( +* yaml({}), +* { transform: { id: /\.yaml$/ } }, +* ), +* ], +* }); +* ``` +* +* @category Config +*/ +declare function withFilter>(pluginOption: T, filterObject: OverrideFilterObject | OverrideFilterObject[]): T; +//#endregion +//#region src/plugin/index.d.ts +type ModuleSideEffects = boolean | "no-treeshake" | null; +/** @category Plugin APIs */ +type ModuleType = "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | (string & {}); +/** @category Plugin APIs */ +type ImportKind = BindingHookResolveIdExtraArgs["kind"]; +/** @category Plugin APIs */ +interface CustomPluginOptions { + [plugin: string]: any; +} +/** @category Plugin APIs */ +interface ModuleOptions { + moduleSideEffects: ModuleSideEffects; + /** See [Custom module meta-data section](https://rolldown.rs/apis/plugin-api/inter-plugin-communication#custom-module-meta-data) for more details. */ + meta: CustomPluginOptions; + invalidate?: boolean; + packageJsonPath?: string; +} +/** @category Plugin APIs */ +interface ResolvedId extends ModuleOptions { + external: boolean | "absolute"; + id: string; +} +interface SpecifiedModuleOptions { + /** + * Indicates whether the module has side effects to Rolldown. + * + * - If `false` is set and no other module imports anything from this module, then this module will not be included in the bundle even if the module would have side effects. + * - If `true` is set, Rolldown will use its default algorithm to include all statements in the module that has side effects. + * - If `"no-treeshake"` is set, treeshaking will be disabled for this module, and this module will be included in one of the chunks even if it is empty. + * + * The precedence of this option is as follows (highest to lowest): + * 1. {@linkcode Plugin.transform | transform} hook's returned `moduleSideEffects` option + * 2. {@linkcode Plugin.load | load} hook's returned `moduleSideEffects` option + * 3. {@linkcode Plugin.resolveId | resolveId} hook's returned `moduleSideEffects` option + * 4. {@linkcode TreeshakingOptions.moduleSideEffects | treeshake.moduleSideEffects} option + * 5. `sideEffects` field in the `package.json` file + * 6. `true` (default) + */ + moduleSideEffects?: ModuleSideEffects | null; +} +/** @category Plugin APIs */ +interface PartialResolvedId extends SpecifiedModuleOptions, Partial> { + /** + * Whether this id should be treated as external. + * + * Relative external ids, i.e. ids starting with `./` or `../`, will not be internally + * converted to an absolute id and converted back to a relative id in the output, + * but are instead included in the output unchanged. + * If you want relative ids to be re-normalized and deduplicated instead, return + * an absolute file system location as id and choose `external: "relative"`. + * + * - If `true`, absolute ids will be converted to relative ids based on the user's choice for the {@linkcode InputOptions.makeAbsoluteExternalsRelative | makeAbsoluteExternalsRelative} option. + * - If `'relative'`, absolute ids will always be converted to relative ids. + * - If `'absolute'`, absolute ids will always be kept as absolute ids. + */ + external?: boolean | "absolute" | "relative"; + id: string; +} +/** @category Plugin APIs */ +interface SourceDescription extends SpecifiedModuleOptions, Partial> { + code: string; + /** + * The source map for the transformation. + * + * If the transformation does not move code, you can preserve existing sourcemaps by setting this to `null`. + * + * See [Source Code Transformations section](https://rolldown.rs/apis/plugin-api/transformations#source-code-transformations) for more details. + */ + map?: SourceMapInput; + moduleType?: ModuleType; +} +/** @inline */ +interface ResolveIdExtraOptions { + /** + * Plugin-specific options. + * + * See [Custom resolver options section](https://rolldown.rs/apis/plugin-api/inter-plugin-communication#custom-resolver-options) for more details. + */ + custom?: CustomPluginOptions; + /** + * Whether this is resolution for an entry point. + * + * + */ + isEntry: boolean; + /** + * The kind of import being resolved. + * + * - `import-statement`: `import { foo } from './lib.js';` + * - `dynamic-import`: `import('./lib.js')` + * - `require-call`: `require('./lib.js')` + * - `import-rule`: `@import 'bg-color.css'` (experimental) + * - `url-token`: `url('./icon.png')` (experimental) + * - `new-url`: `new URL('./worker.js', import.meta.url)` (experimental) + * - `hot-accept`: `import.meta.hot.accept('./lib.js', () => {})` (experimental) + */ + kind: BindingHookResolveIdExtraArgs["kind"]; +} +/** @inline @category Plugin APIs */ +type ResolveIdResult = string | NullValue | false | PartialResolvedId; +/** @inline @category Plugin APIs */ +type LoadResult = NullValue | string | SourceDescription; +/** @inline @category Plugin APIs */ +type TransformResult = NullValue | string | (Omit & { + code?: string | RolldownMagicString; +}); +type RenderedChunkMeta = { + /** + * Contains information about all chunks that are being rendered. + * This is useful to explore the entire chunk graph. + */ + chunks: Record; + /** + * A lazily-created MagicString instance for the chunk's code. + * Use this to perform string transformations with automatic source map support. + * This is only available when `experimental.nativeMagicString` is enabled. + */ + magicString?: RolldownMagicString; +}; +/** @category Plugin APIs */ +interface FunctionPluginHooks { + /** + * A function that receives and filters logs and warnings generated by Rolldown and + * plugins before they are passed to the {@linkcode InputOptions.onLog | onLog} option + * or printed to the console. + * + * If `false` is returned, the log will be filtered out. + * Otherwise, the log will be handed to the `onLog` hook of the next plugin, + * the {@linkcode InputOptions.onLog | onLog} option, or printed to the console. + * Plugins can also change the log level of a log or turn a log into an error by passing + * the `log` object to {@linkcode MinimalPluginContext.error | this.error}, + * {@linkcode MinimalPluginContext.warn | this.warn}, + * {@linkcode MinimalPluginContext.info | this.info} or + * {@linkcode MinimalPluginContext.debug | this.debug} and returning `false`. + * + * + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.onLog]: (this: MinimalPluginContext, level: LogLevel, log: RolldownLog) => NullValue | boolean; + /** + * Replaces or manipulates the options object passed to {@linkcode rolldown | rolldown()}. + * + * Returning `null` does not replace anything. + * + * If you just need to read the options, it is recommended to use + * the {@linkcode buildStart} hook as that hook has access to the options + * after the transformations from all `options` hooks have been taken into account. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.options]: (this: MinimalPluginContext, options: InputOptions) => NullValue | InputOptions; + /** + * Replaces or manipulates the output options object passed to + * {@linkcode RolldownBuild.generate | bundle.generate()} or + * {@linkcode RolldownBuild.write | bundle.write()}. + * + * Returning null does not replace anything. + * + * If you just need to read the output options, it is recommended to use + * the {@linkcode renderStart} hook as this hook has access to the output options + * after the transformations from all `outputOptions` hooks have been taken into account. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.outputOptions]: (this: MinimalPluginContext, options: OutputOptions) => NullValue | OutputOptions; + /** + * Called on each {@linkcode rolldown | rolldown()} build. + * + * This is the recommended hook to use when you need access to the options passed to {@linkcode rolldown | rolldown()} as it takes the transformations by all options hooks into account and also contains the right default values for unset options. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.buildStart]: (this: PluginContext, options: NormalizedInputOptions) => void; + /** + * Defines a custom resolver. + * + * A resolver can be useful for e.g. locating third-party dependencies. + * + * Returning `null` defers to other `resolveId` hooks and eventually the default resolution behavior. + * Returning `false` signals that `source` should be treated as an external module and not included in the bundle. If this happens for a relative import, the id will be renormalized the same way as when the {@linkcode InputOptions.external} option is used. + * If you return an object, then it is possible to resolve an import to a different id while excluding it from the bundle at the same time. + * + * Note that while `resolveId` will be called for each import of a module and can therefore + * resolve to the same `id` many times, values for `external`, `meta` or `moduleSideEffects` + * can only be set once before the module is loaded. The reason is that after this call, + * Rolldown will continue with the {@linkcode load} and {@linkcode transform} hooks for that + * module that may override these values and should take precedence if they do so. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.resolveId]: (this: PluginContext, source: string, importer: string | undefined, extraOptions: ResolveIdExtraOptions) => ResolveIdResult; + /** + * Defines a custom resolver for dynamic imports. + * + * @deprecated + * This hook exists only for Rollup compatibility. Please use {@linkcode resolveId} instead. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.resolveDynamicImport]: (this: PluginContext, source: string, importer: string | undefined) => ResolveIdResult; + /** + * Defines a custom loader. + * + * Returning `null` defers to other `load` hooks or the built-in loading mechanism. + * + * You can use {@linkcode PluginContext.getModuleInfo | this.getModuleInfo()} to find out the previous values of `meta`, `moduleSideEffects` inside this hook. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.load]: (this: PluginContext, id: string) => MaybePromise; + /** + * Can be used to transform individual modules. + * + * Note that it's possible to return only properties and no code transformations. + * + * You can use {@linkcode PluginContext.getModuleInfo | this.getModuleInfo()} to find out the previous values of `meta`, `moduleSideEffects` inside this hook. + * + * + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.transform]: (this: TransformPluginContext, code: string, id: string, meta: BindingTransformHookExtraArgs & { + moduleType: ModuleType; + magicString?: RolldownMagicString; + ast?: Program; + }) => TransformResult; + /** + * This hook is called each time a module has been fully parsed by Rolldown. + * + * This hook will wait until all imports are resolved so that the information in + * {@linkcode ModuleInfo.importedIds | moduleInfo.importedIds}, + * {@linkcode ModuleInfo.dynamicallyImportedIds | moduleInfo.dynamicallyImportedIds} + * are complete and accurate. Note however that information about importing modules + * may be incomplete as additional importers could be discovered later. + * If you need this information, use the {@linkcode buildEnd} hook. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.moduleParsed]: (this: PluginContext, moduleInfo: ModuleInfo) => void; + /** + * Called when Rolldown has finished bundling, but before Output Generation Hooks. + * If an error occurred during the build, it is passed on to this hook. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.buildEnd]: (this: PluginContext, err?: Error) => void; + /** + * Called initially each time {@linkcode RolldownBuild.generate | bundle.generate()} or + * {@linkcode RolldownBuild.write | bundle.write()} is called. + * + * To get notified when generation has completed, use the {@linkcode generateBundle} and + * {@linkcode renderError} hooks. + * + * This is the recommended hook to use when you need access to the output options passed to + * {@linkcode RolldownBuild.generate | bundle.generate()} or + * {@linkcode RolldownBuild.write | bundle.write()} as it takes the transformations by all outputOptions hooks into account and also contains the right default values for unset options. + * + * It also receives the input options passed to {@linkcode rolldown | rolldown()} so that + * plugins that can be used as output plugins, i.e. plugins that only use generate phase hooks, + * can get access to them. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.renderStart]: (this: PluginContext, outputOptions: NormalizedOutputOptions, inputOptions: NormalizedInputOptions) => void; + /** + * Can be used to transform individual chunks. Called for each Rolldown output chunk file. + * + * Returning null will apply no transformations. If you change code in this hook and want to support source maps, you need to return a map describing your changes, see [Source Code Transformations section](https://rolldown.rs/apis/plugin-api/transformations#source-code-transformations). + * + * `chunk` is mutable and changes applied in this hook will propagate to other plugins and + * to the generated bundle. + * That means if you add or remove imports or exports in this hook, you should update + * {@linkcode RenderedChunk.imports | imports}, {@linkcode RenderedChunk.importedBindings | importedBindings} and/or {@linkcode RenderedChunk.exports | exports} accordingly. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.renderChunk]: (this: PluginContext, code: string, chunk: RenderedChunk, outputOptions: NormalizedOutputOptions, meta: RenderedChunkMeta) => NullValue | string | RolldownMagicString | { + code: string | RolldownMagicString; + map?: SourceMapInput; + }; + /** + * Can be used to augment the hash of individual chunks. Called for each Rolldown output chunk. + * + * Returning a falsy value will not modify the hash. + * Truthy values will be used as an additional source for hash calculation. + * + * + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.augmentChunkHash]: (this: PluginContext, chunk: RenderedChunk) => string | void; + /** + * Called when Rolldown encounters an error during + * {@linkcode RolldownBuild.generate | bundle.generate()} or + * {@linkcode RolldownBuild.write | bundle.write()}. + * + * To get notified when generation completes successfully, use the + * {@linkcode generateBundle} hook. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.renderError]: (this: PluginContext, error: Error) => void; + /** + * Called at the end of {@linkcode RolldownBuild.generate | bundle.generate()} or + * immediately before the files are written in + * {@linkcode RolldownBuild.write | bundle.write()}. + * + * To modify the files after they have been written, use the {@linkcode writeBundle} hook. + * + * + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.generateBundle]: (this: PluginContext, outputOptions: NormalizedOutputOptions, bundle: OutputBundle, isWrite: boolean) => void; + /** + * Called only at the end of {@linkcode RolldownBuild.write | bundle.write()} once + * all files have been written. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.writeBundle]: (this: PluginContext, outputOptions: NormalizedOutputOptions, bundle: OutputBundle) => void; + /** + * Can be used to clean up any external service that may be running. + * + * Rolldown's CLI will make sure this hook is called after each run, but it is the responsibility + * of users of the JavaScript API to manually call + * {@linkcode RolldownBuild.close | bundle.close()} once they are done generating bundles. + * For that reason, any plugin relying on this feature should carefully mention this in + * its documentation. + * + * If a plugin wants to retain resources across builds in watch mode, they can check for + * {@linkcode PluginContextMeta.watchMode | this.meta.watchMode} in this hook and perform + * the necessary cleanup for watch mode in closeWatcher. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.closeBundle]: (this: PluginContext, error?: Error) => void; + /** + * Notifies a plugin whenever Rolldown has detected a change to a monitored file in watch mode. + * + * If a build is currently running, this hook is called once the build finished. + * It will be called once for every file that changed. + * + * This hook cannot be used by output plugins. + * + * If you need to be notified immediately when a file changed, you can use the {@linkcode WatcherOptions.onInvalidate | watch.onInvalidate} option. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.watchChange]: (this: PluginContext, id: string, event: { + event: ChangeEvent; + }) => void; + /** + * Notifies a plugin when the watcher process will close so that all open resources can be closed too. + * + * This hook cannot be used by output plugins. + * + * @group Build Hooks + */ + [DEFINED_HOOK_NAMES.closeWatcher]: (this: PluginContext) => void; +} +type ChangeEvent = "create" | "update" | "delete"; +type PluginOrder = "pre" | "post" | null; +/** @inline */ +type ObjectHookMeta = { + order?: PluginOrder; +}; +/** +* A hook in a function or an object form with additional properties. +* +* @typeParam T - The type of the hook function. +* @typeParam O - Additional properties that are specific to some hooks. +* +* +* +* @category Plugin APIs +*/ +type ObjectHook = T | ({ + handler: T; +} & ObjectHookMeta & O); +type SyncPluginHooks = DefinedHookNames["augmentChunkHash" | "onLog" | "outputOptions"]; +/** @category Plugin APIs */ +type AsyncPluginHooks = Exclude; +type FirstPluginHooks = DefinedHookNames["load" | "resolveDynamicImport" | "resolveId"]; +type SequentialPluginHooks = DefinedHookNames["augmentChunkHash" | "generateBundle" | "onLog" | "options" | "outputOptions" | "renderChunk" | "transform"]; +interface AddonHooks { + /** + * A hook equivalent to {@linkcode OutputOptions.banner | output.banner} option. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.banner]: AddonHook; + /** + * A hook equivalent to {@linkcode OutputOptions.footer | output.footer} option. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.footer]: AddonHook; + /** + * A hook equivalent to {@linkcode OutputOptions.intro | output.intro} option. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.intro]: AddonHook; + /** + * A hook equivalent to {@linkcode OutputOptions.outro | output.outro} option. + * + * @group Output Generation Hooks + */ + [DEFINED_HOOK_NAMES.outro]: AddonHook; +} +type OutputPluginHooks = DefinedHookNames["augmentChunkHash" | "generateBundle" | "outputOptions" | "renderChunk" | "renderError" | "renderStart" | "writeBundle"]; +/** @internal */ +type ParallelPluginHooks = Exclude; +/** @category Plugin APIs */ +type HookFilterExtension = K extends "transform" ? { + filter?: HookFilter | TopLevelFilterExpression[]; +} : K extends "load" ? { + filter?: Pick | TopLevelFilterExpression[]; +} : K extends "resolveId" ? { + filter?: { + id?: GeneralHookFilter; + } | TopLevelFilterExpression[]; +} : K extends "renderChunk" ? { + filter?: Pick | TopLevelFilterExpression[]; +} : {}; +type PluginHooks = { [K in keyof FunctionPluginHooks]: ObjectHook : FunctionPluginHooks[K], HookFilterExtension & (K extends ParallelPluginHooks ? { + /** + * @deprecated + * this is only for rollup Plugin type compatibility. + * hooks always work as `sequential: true`. + */ + sequential?: boolean; +} : {})> }; +type AddonHookFunction = (this: PluginContext, chunk: RenderedChunk) => string | Promise; +type AddonHook = string | AddonHookFunction; +interface OutputPlugin extends Partial<{ [K in keyof PluginHooks as K & OutputPluginHooks]: PluginHooks[K] }>, Partial<{ [K in keyof AddonHooks]: ObjectHook }> { + /** The name of the plugin, for use in error messages and logs. */ + name: string; + /** The version of the plugin, for use in inter-plugin communication scenarios. */ + version?: string; +} +/** +* The Plugin interface. +* +* See [Plugin API document](https://rolldown.rs/apis/plugin-api) for details. +* +* @typeParam A - The type of the {@link Plugin.api | api} property. +* +* @category Plugin APIs +*/ +interface Plugin extends OutputPlugin, Partial { + /** + * Used for inter-plugin communication. + */ + api?: A; +} +type RolldownPlugin = Plugin | BuiltinPlugin | ParallelPlugin; +type RolldownPluginOption = MaybePromise> | { + name: string; +} | false | RolldownPluginOption[]>; +type RolldownOutputPlugin = OutputPlugin | BuiltinPlugin; +type RolldownOutputPluginOption = MaybePromise | { + name: string; +} | false | RolldownOutputPluginOption[]>; +//#endregion +//#region src/options/input-options.d.ts +/** +* @inline +*/ +type InputOption = string | string[] | Record; +/** +* @param id The id of the module being checked. +* @param parentId The id of the module importing the id being checked. +* @param isResolved Whether the id has been resolved. +* @returns Whether the module should be treated as external. +*/ +type ExternalOptionFunction = (id: string, parentId: string | undefined, isResolved: boolean) => NullValue; +/** @inline */ +type ExternalOption = StringOrRegExp | StringOrRegExp[] | ExternalOptionFunction; +interface ChunkOptimizationOptions { + /** + * Merge common chunks into existing entry chunks when it is safe. + * + * This can reduce the number of emitted chunks by moving shared/common modules + * into an entry chunk that already depends on them. Rolldown only applies the + * merge when it does not create a circular chunk dependency or change strict + * entry export signatures. This pass also covers safe empty-facade cleanup. + * + * @default true + */ + mergeCommonChunks?: boolean; + /** + * Avoid emitting redundant chunk loads for dynamic entries. + * + * This pass can reduce dynamic-entry dependent chunks when the shared modules + * are guaranteed to be loaded by every importer of that dynamic entry. + * + * @default true + */ + avoidRedundantChunkLoads?: boolean; +} +type ModuleTypes = Record; +interface WatcherFileWatcherOptions { + /** + * Whether to use polling-based file watching instead of native OS events. + * + * Polling is useful for environments where native FS events are unreliable, + * such as network mounts, Docker volumes, or WSL2. + * + * @default false + */ + usePolling?: boolean; + /** + * Interval between each poll in milliseconds. + * + * This option is only used when {@linkcode usePolling} is `true`. + * + * @default 100 + */ + pollInterval?: number; + /** + * Whether to compare file contents for poll-based watchers. + * When enabled, poll watchers will check file contents to determine if they actually changed. + * + * This option is only used when {@linkcode usePolling} is `true`. + * + * @default false + */ + compareContentsForPolling?: boolean; + /** + * Whether to use debounced event delivery at the filesystem level. + * This coalesces rapid filesystem events before they reach the build coordinator. + * @default false + */ + useDebounce?: boolean; + /** + * Debounce delay in milliseconds for fs-level debounced watchers. + * Only used when {@linkcode useDebounce} is `true`. + * @default 10 + */ + debounceDelay?: number; + /** + * Tick rate in milliseconds for the debouncer's internal polling. + * Only used when {@linkcode useDebounce} is `true`. + * When undefined, auto-selects 1/4 of debounceDelay. + */ + debounceTickRate?: number; +} +interface WatcherOptions { + /** + * Whether to skip the {@linkcode RolldownBuild.write | bundle.write()} step when a rebuild is triggered. + * @default false + */ + skipWrite?: boolean; + /** + * Configures how long Rolldown will wait for further changes until it triggers + * a rebuild in milliseconds. + * + * Even if this value is set to 0, there's a small debounce timeout configured + * in the file system watcher. Setting this to a value greater than 0 will mean + * that Rolldown will only trigger a rebuild if there was no change for the + * configured number of milliseconds. If several configurations are watched, + * Rolldown will use the largest configured build delay. + * + * This option is useful if you use a tool that regenerates multiple source files + * very slowly. Rebuilding immediately after the first change could cause Rolldown + * to generate a broken intermediate build before generating a successful final + * build, which can be confusing and distracting. + * + * @default 0 + */ + buildDelay?: number; + /** + * File watcher options for configuring how file changes are detected. + */ + watcher?: WatcherFileWatcherOptions; + /** + * @deprecated Use {@linkcode watcher} instead. + */ + notify?: WatcherFileWatcherOptions; + /** + * Filter to limit the file-watching to certain files. + * + * Strings are treated as glob patterns. + * Note that this only filters the module graph but does not allow adding + * additional watch files. + * + * @example + * ```js + * export default defineConfig({ + * watch: { + * include: 'src/**', + * }, + * }) + * ``` + * @default [] + */ + include?: StringOrRegExp | StringOrRegExp[]; + /** + * Filter to prevent files from being watched. + * + * Strings are treated as glob patterns. + * + * @example + * ```js + * export default defineConfig({ + * watch: { + * exclude: 'node_modules/**', + * }, + * }) + * ``` + * @default [] + */ + exclude?: StringOrRegExp | StringOrRegExp[]; + /** + * An optional function that will be called immediately every time + * a module changes that is part of the build. + * + * This is different from the {@linkcode Plugin.watchChange | watchChange} plugin hook, which is + * only called once the running build has finished. This may for + * instance be used to prevent additional steps from being performed + * if we know another build will be started anyway once the current + * build finished. This callback may be called multiple times per + * build as it tracks every change. + * + * @param id The id of the changed module. + */ + onInvalidate?: (id: string) => void; + /** + * Whether to clear the screen when a rebuild is triggered. + * @default true + */ + clearScreen?: boolean; +} +/** @inline */ +type MakeAbsoluteExternalsRelative = boolean | "ifRelativeSource"; +type DevModeOptions = boolean | { + host?: string; + port?: number; + implement?: string; + lazy?: boolean; +}; +type OptimizationOptions = { + /** + * Inline imported constant values during bundling instead of preserving variable references. + * + * When enabled, constant values from imported modules will be inlined at their usage sites, + * potentially reducing bundle size and improving runtime performance by eliminating variable lookups. + * + * **Options:** + * - `true`: equivalent to `{ mode: 'all', pass: 1 }`, enabling constant inlining for all eligible constants with a single pass. + * - `false`: Disable constant inlining + * - `{ mode: 'smart' | 'all', pass?: number }`: + * - `mode: 'smart'`: Only inline constants in specific scenarios where it is likely to reduce bundle size and improve performance. + * Smart mode inlines constants in these specific scenarios: + * 1. `if (test) {} else {}` - condition expressions in if statements + * 2. `test ? a : b` - condition expressions in ternary operators + * 3. `test1 || test2` - logical OR expressions + * 4. `test1 && test2` - logical AND expressions + * 5. `test1 ?? test2` - nullish coalescing expressions + * - `mode: 'all'`: Inline all imported constants wherever they are used. + * - `pass`: Number of passes to perform for inlining constants. + * + * @example + * ```js + * // Input files: + * // constants.js + * export const API_URL = 'https://api.example.com'; + * + * // main.js + * import { API_URL } from './constants.js'; + * console.log(API_URL); + * + * // With inlineConst: true, the bundled output becomes: + * console.log('https://api.example.com'); + * + * // Instead of: + * const API_URL = 'https://api.example.com'; + * console.log(API_URL); + * ``` + * + * @default { mode: 'smart', pass: 1 } + */ + inlineConst?: boolean | { + mode?: "all" | "smart"; + pass?: number; + }; + /** + * Use PIFE pattern for module wrappers. + * + * Enabling this option improves the start up performance of the generated bundle with the cost of a slight increase in bundle size. + * + * + * + * @default true + */ + pifeForModuleWrappers?: boolean; +}; +/** @inline */ +type AttachDebugOptions = "none" | "simple" | "full"; +/** @inline */ +type ChunkModulesOrder = "exec-order" | "module-id"; +/** @inline */ +type OnLogFunction = (level: LogLevel, log: RolldownLog, defaultHandler: LogOrStringHandler) => void; +/** @inline */ +type OnwarnFunction = (warning: RolldownLog, defaultHandler: (warning: RolldownLogWithString | (() => RolldownLogWithString)) => void) => void; +interface InputOptions { + /** + * Defines entries and location(s) of entry modules for the bundle. Relative paths are resolved based on the {@linkcode cwd} option. + * + */ + input?: InputOption; + /** + * The list of plugins to use. + * + * Falsy plugins will be ignored, which can be used to easily activate or deactivate plugins. Nested plugins will be flattened. Async plugins will be awaited and resolved. + * + * See [Plugin API document](https://rolldown.rs/apis/plugin-api) for more details about creating plugins. + * + * @example + * ```js + * import { defineConfig } from 'rolldown' + * + * export default defineConfig({ + * plugins: [ + * examplePlugin1(), + * // Conditional plugins + * process.env.ENV1 && examplePlugin2(), + * // Nested plugins arrays are flattened + * [examplePlugin3(), examplePlugin4()], + * ] + * }) + * ``` + */ + plugins?: RolldownPluginOption; + /** + * Specifies which modules should be treated as external and not bundled. External modules will be left as import statements in the output. + * + */ + external?: ExternalOption; + /** + * Options for built-in module resolution feature. + */ + resolve?: { + /** + * Substitute one package for another. + * + * One use case for this feature is replacing a node-only package with a browser-friendly package in third-party code that you don't control. + * + * @example + * ```js + * resolve: { + * alias: { + * '@': '/src', + * 'utils': './src/utils', + * } + * } + * ``` + * > [!WARNING] + * > `resolve.alias` will not call [`resolveId`](/reference/Interface.Plugin#resolveid) hooks of other plugin. + * > If you want to call `resolveId` hooks of other plugin, use `viteAliasPlugin` from `rolldown/experimental` instead. + * > You could find more discussion in [this issue](https://github.com/rolldown/rolldown/issues/3615) + */ + alias?: Record; + /** + * Fields in package.json to check for aliased paths. + * + * This option is expected to be used for `browser` field support. + * + * @default + * - `[['browser']]` for `browser` platform + * - `[]` for other platforms + */ + aliasFields?: string[][]; + /** + * Condition names to use when resolving exports in package.json. + * + * @default + * Defaults based on platform and import kind: + * - `browser` platform + * - `["import", "browser", "default"]` for import statements + * - `["require", "browser", "default"]` for require() calls + * - `node` platform + * - `["import", "node", "default"]` for import statements + * - `["require", "node", "default"]` for require() calls + * - `neutral` platform + * - `["import", "default"]` for import statements + * - `["require", "default"]` for require() calls + */ + conditionNames?: string[]; + /** + * Map of extensions to alternative extensions. + * + * With writing `import './foo.js'` in a file, you want to resolve it to `foo.ts` instead of `foo.js`. + * You can achieve this by setting: `extensionAlias: { '.js': ['.ts', '.js'] }`. + */ + extensionAlias?: Record; + /** + * Fields in package.json to check for exports. + * + * @default `[['exports']]` + */ + exportsFields?: string[][]; + /** + * Extensions to try when resolving files. These are tried in order from first to last. + * + * @default `['.tsx', '.ts', '.jsx', '.js', '.json']` + */ + extensions?: string[]; + /** + * Fields in package.json to check for entry points. + * + * @default + * Defaults based on platform: + * - `node` platform: `['main', 'module']` + * - `browser` platform: `['browser', 'module', 'main']` + * - `neutral` platform: `[]` + */ + mainFields?: string[]; + /** + * Filenames to try when resolving directories. + * @default ['index'] + */ + mainFiles?: string[]; + /** + * Directories to search for modules. + * @default ['node_modules'] + */ + modules?: string[]; + /** + * Whether to follow symlinks when resolving modules. + * @default true + */ + symlinks?: boolean; + /** + * @deprecated Use the top-level {@linkcode tsconfig} option instead. + */ + tsconfigFilename?: string; + }; + /** + * The working directory to use when resolving relative paths in the configuration. + * @default process.cwd() + */ + cwd?: string; + /** + * Expected platform where the code run. + * + * When the platform is set to neutral: + * - When bundling is enabled the default output format is set to esm, which uses the export syntax introduced with ECMAScript 2015 (i.e. ES6). You can change the output format if this default is not appropriate. + * - The main fields setting is empty by default. If you want to use npm-style packages, you will likely have to configure this to be something else such as main for the standard main field used by node. + * - The conditions setting does not automatically include any platform-specific values. + * + * @default + * - `'node'` if the format is `'cjs'` + * - `'browser'` for other formats + * + */ + platform?: "node" | "browser" | "neutral"; + /** + * When `true`, creates shim variables for missing exports instead of throwing an error. + * @default false + * + */ + shimMissingExports?: boolean; + /** + * Controls tree-shaking (dead code elimination). + * + * See the [In-depth Dead Code Elimination Guide](https://rolldown.rs/in-depth/dead-code-elimination) for more details. + * + * When `false`, tree-shaking will be disabled. + * When `true`, it is equivalent to setting each options to the default value. + * + * @default true + */ + treeshake?: boolean | TreeshakingOptions; + /** + * Controls the verbosity of console logging during the build. + * + * + * + * @default 'info' + */ + logLevel?: LogLevelOption; + /** + * A function that intercepts log messages. If not supplied, logs are printed to the console. + * + * + * + * @example + * ```js + * export default defineConfig({ + * onLog(level, log, defaultHandler) { + * if (log.code === 'CIRCULAR_DEPENDENCY') { + * return; // Ignore circular dependency warnings + * } + * if (level === 'warn') { + * defaultHandler('error', log); // turn other warnings into errors + * } else { + * defaultHandler(level, log); // otherwise, just print the log + * } + * } + * }) + * ``` + */ + onLog?: OnLogFunction; + /** + * A function that will intercept warning messages. + * + * + * + * @deprecated + * This is a legacy API. Consider using {@linkcode onLog} instead for better control over all log types. + * + * + */ + onwarn?: OnwarnFunction; + /** + * Maps file patterns to module types, controlling how files are processed. + * + * This is conceptually similar to [esbuild's `loader`](https://esbuild.github.io/api/#loader) option, allowing you to specify how each file extensions should be handled. + * + * See [the In-Depth Guide](https://rolldown.rs/in-depth/module-types) for more details. + * + * @example + * ```js + * import { defineConfig } from 'rolldown' + * + * export default defineConfig({ + * moduleTypes: { + * '.frag': 'text', + * } + * }) + * ``` + */ + moduleTypes?: ModuleTypes; + /** + * Experimental features that may change in future releases and can introduce behavior change without a major version bump. + * @experimental + */ + experimental?: { + /** + * Enable Vite compatible mode. + * @default false + * @hidden This option is only meant to be used by Vite. It is not recommended to use this option directly. + */ + viteMode?: boolean; + /** + * When enabled, `new URL()` calls will be transformed to a stable asset URL which includes the updated name and content hash. + * It is necessary to pass `import.meta.url` as the second argument to the + * `new URL` constructor, otherwise no transform will be applied. + * :::warning + * JavaScript and TypeScript files referenced via `new URL('./file.js', import.meta.url)` or `new URL('./file.ts', import.meta.url)` will **not** be transformed or bundled. The file will be copied as-is, meaning TypeScript files remain untransformed and dependencies are not resolved. + * + * The expected behavior for JS/TS files is still being discussed and may + * change in future releases. See [#7258](https://github.com/rolldown/rolldown/issues/7258) for more context. + * ::: + * @example + * ```js + * // main.js + * const url = new URL('./styles.css', import.meta.url); + * console.log(url); + * + * // Example output after bundling WITHOUT the option (default) + * const url = new URL('./styles.css', import.meta.url); + * console.log(url); + * + * // Example output after bundling WITH `experimental.resolveNewUrlToAsset` set to `true` + * const url = new URL('assets/styles-CjdrdY7X.css', import.meta.url); + * console.log(url); + * ``` + * @default false + */ + resolveNewUrlToAsset?: boolean; + /** + * Dev mode related options. + * @hidden not ready for public usage yet + */ + devMode?: DevModeOptions; + /** + * Control which order should be used when rendering modules in a chunk. + * + * Available options: + * - `exec-order`: Almost equivalent to the topological order of the module graph, but specially handling when module graph has cycle. + * - `module-id`: This is more friendly for gzip compression, especially for some javascript static asset lib (e.g. icon library) + * + * > [!NOTE] + * > Try to sort the modules by their module id if possible (Since rolldown scope hoist all modules in the chunk, we only try to sort those modules by module id if we could ensure runtime behavior is correct after sorting). + * + * @default 'exec-order' + */ + chunkModulesOrder?: ChunkModulesOrder; + /** + * Attach debug information to the output bundle. + * + * Available modes: + * - `none`: No debug information is attached. + * - `simple`: Attach comments indicating which files the bundled code comes from. These comments could be removed by the minifier. + * - `full`: Attach detailed debug information to the output bundle. These comments are using legal comment syntax, so they won't be removed by the minifier. + * + * @default 'simple' + * + * + */ + attachDebugInfo?: AttachDebugOptions; + /** + * Enables automatic generation of a chunk import map asset during build. + * + * This map only includes chunks with hashed filenames, where keys are derived from the facade module + * name or primary chunk name. It produces stable and unique hash-based filenames, effectively preventing + * cascading cache invalidation caused by content hashes and maximizing browser cache reuse. + * + * The output defaults to `importmap.json` unless overridden via `fileName`. A base URL prefix + * (default `"/"`) can be applied to all paths. The resulting JSON is a valid import map and can be + * directly injected into HTML via `