v1.5.0
AtheraStudio Code
- var AtheraPrettier=(()=>{var q_=Object.create;var cf=Object.defineProperty;var U_=Object.getOwnPropertyDescriptor;var V_=Object.getOwnPropertyNames;var $_=Object.getPrototypeOf,z_=Object.prototype.hasOwnProperty;var H_=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var pf=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},wo=(e,t)=>{for(var r in t)cf(e,r,{get:t[r],enumerable:!0})},Hx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of V_(t))!z_.call(e,i)&&i!==r&&cf(e,i,{get:()=>t[i],enumerable:!(n=U_(t,i))||n.enumerable});return e};var W_=(e,t,r)=>(r=e!=null?q_($_(e)):{},Hx(t||!e||!e.__esModule?cf(r,"default",{value:e,enumerable:!0}):r,e)),G_=e=>Hx(cf({},"__esModule",{value:!0}),e);var In,Jt=H_(()=>{In={env:{},platform:"browser",version:"",versions:{},argv:[],cwd:function(){return"/"}}});var r_=pf((t_,tx)=>{Jt();(function(e){function t(){var n=e();return n.default||n}if(typeof t_=="object"&&typeof tx=="object")tx.exports=t();else if(typeof define=="function"&&define.amd)define(t);else{var r=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};r.prettier=t()}})(function(){"use strict";var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i=(y,F)=>{for(var T in F)e(y,T,{get:F[T],enumerable:!0})},s=(y,F,T,B)=>{if(F&&typeof F=="object"||typeof F=="function")for(let N of r(F))!n.call(y,N)&&N!==T&&e(y,N,{get:()=>F[N],enumerable:!(B=t(F,N))||B.enumerable});return y},a=y=>s(e({},"__esModule",{value:!0}),y),o={};i(o,{__debug:()=>yr,check:()=>F2,doc:()=>wl,format:()=>ef,formatWithCursor:()=>Il,getSupportInfo:()=>A2,util:()=>Od,version:()=>Ld});var u=(y,F)=>(T,B,...N)=>T|1&&B==null?void 0:(F.call(B)??B[y]).apply(B,N),h=String.prototype.replaceAll??function(y,F){return y.global?this.replace(y,F):this.split(y).join(F)},c=u("replaceAll",function(){if(typeof this=="string")return h}),p=c,d=class{diff(y,F,T={}){let B;typeof T=="function"?(B=T,T={}):"callback"in T&&(B=T.callback);let N=this.castInput(y,T),L=this.castInput(F,T),z=this.removeEmpty(this.tokenize(N,T)),X=this.removeEmpty(this.tokenize(L,T));return this.diffWithOptionsObj(z,X,T,B)}diffWithOptionsObj(y,F,T,B){var N;let L=Pe=>{if(Pe=this.postProcess(Pe,T),B){setTimeout(function(){B(Pe)},0);return}else return Pe},z=F.length,X=y.length,J=1,ue=z+X;T.maxEditLength!=null&&(ue=Math.min(ue,T.maxEditLength));let me=(N=T.timeout)!==null&&N!==void 0?N:1/0,ge=Date.now()+me,De=[{oldPos:-1,lastComponent:void 0}],Se=this.extractCommon(De[0],F,y,0,T);if(De[0].oldPos+1>=X&&Se+1>=z)return L(this.buildValues(De[0].lastComponent,F,y));let ye=-1/0,Ue=1/0,_e=()=>{for(let Pe=Math.max(ye,-J);Pe<=Math.min(Ue,J);Pe+=2){let At,Qt=De[Pe-1],Gt=De[Pe+1];Qt&&(De[Pe-1]=void 0);let gr=!1;if(Gt){let or=Gt.oldPos-Pe;gr=Gt&&0<=or&&or<z}let xr=Qt&&Qt.oldPos+1<X;if(!gr&&!xr){De[Pe]=void 0;continue}if(!xr||gr&&Qt.oldPos<Gt.oldPos?At=this.addToPath(Gt,!0,!1,0,T):At=this.addToPath(Qt,!1,!0,1,T),Se=this.extractCommon(At,F,y,Pe,T),At.oldPos+1>=X&&Se+1>=z)return L(this.buildValues(At.lastComponent,F,y))||!0;De[Pe]=At,At.oldPos+1>=X&&(Ue=Math.min(Ue,Pe-1)),Se+1>=z&&(ye=Math.max(ye,Pe+1))}J++};if(B)(function Pe(){setTimeout(function(){if(J>ue||Date.now()>ge)return B(void 0);_e()||Pe()},0)})();else for(;J<=ue&&Date.now()<=ge;){let Pe=_e();if(Pe)return Pe}}addToPath(y,F,T,B,N){let L=y.lastComponent;return L&&!N.oneChangePerToken&&L.added===F&&L.removed===T?{oldPos:y.oldPos+B,lastComponent:{count:L.count+1,added:F,removed:T,previousComponent:L.previousComponent}}:{oldPos:y.oldPos+B,lastComponent:{count:1,added:F,removed:T,previousComponent:L}}}extractCommon(y,F,T,B,N){let L=F.length,z=T.length,X=y.oldPos,J=X-B,ue=0;for(;J+1<L&&X+1<z&&this.equals(T[X+1],F[J+1],N);)J++,X++,ue++,N.oneChangePerToken&&(y.lastComponent={count:1,previousComponent:y.lastComponent,added:!1,removed:!1});return ue&&!N.oneChangePerToken&&(y.lastComponent={count:ue,previousComponent:y.lastComponent,added:!1,removed:!1}),y.oldPos=X,J}equals(y,F,T){return T.comparator?T.comparator(y,F):y===F||!!T.ignoreCase&&y.toLowerCase()===F.toLowerCase()}removeEmpty(y){let F=[];for(let T=0;T<y.length;T++)y[T]&&F.push(y[T]);return F}castInput(y,F){return y}tokenize(y,F){return Array.from(y)}join(y){return y.join("")}postProcess(y,F){return y}get useLongestToken(){return!1}buildValues(y,F,T){let B=[],N;for(;y;)B.push(y),N=y.previousComponent,delete y.previousComponent,y=N;B.reverse();let L=B.length,z=0,X=0,J=0;for(;z<L;z++){let ue=B[z];if(ue.removed)ue.value=this.join(T.slice(J,J+ue.count)),J+=ue.count;else{if(!ue.added&&this.useLongestToken){let me=F.slice(X,X+ue.count);me=me.map(function(ge,De){let Se=T[J+De];return Se.length>ge.length?Se:ge}),ue.value=this.join(me)}else ue.value=this.join(F.slice(X,X+ue.count));X+=ue.count,ue.added||(J+=ue.count)}}return B}},f=class extends d{tokenize(y){return y.slice()}join(y){return y}removeEmpty(y){return y}},D=new f;function g(y,F,T){return D.diff(y,F,T)}var x=()=>{},A=x,C="cr",k="crlf",P="lf",v=P,w="\r",I=`\r
- `,O=`
- `,R=O;function M(y){let F=y.indexOf(w);return F!==-1?y.charAt(F+1)===O?k:C:v}function W(y){return y===C?w:y===k?I:R}var K=new Map([[O,/\n/g],[w,/\r/g],[I,/\r\n/g]]);function H(y,F){let T=K.get(F);return y.match(T)?.length??0}var Z=/\r\n?/g;function $(y){return p(0,y,Z,O)}var Y=Symbol.for("comments");function de(y){return this[y<0?this.length+y:y]}var Te=u("at",function(){if(Array.isArray(this)||typeof this=="string")return de}),ve=Te,S="string",Me="array",Ae="cursor",j="indent",pe="align",Ie="trim",xe="group",ae="fill",Q="if-break",ne="indent-if-break",we="line-suffix",Be="line-suffix-boundary",Le="line",qe="label",ut="break-parent",et=new Set([Ae,j,pe,Ie,xe,ae,Q,ne,we,Be,Le,qe,ut]);function Nt(y){let F=y.length;for(;F>0&&(y[F-1]==="\r"||y[F-1]===`
- `);)F--;return F<y.length?y.slice(0,F):y}function vt(y,F,T){if(!y.has(F)){let B=T(F);y.set(F,B)}return y.get(F)}function tt(y){if(typeof y=="string")return S;if(Array.isArray(y))return Me;if(!y)return;let{type:F}=y;if(et.has(F))return F}var rt=tt,Mt=y=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(y);function sr(y){let F=y===null?"null":typeof y;if(F!=="string"&&F!=="object")return`Unexpected doc '${F}',
- Expected it to be 'string' or 'object'.`;if(rt(y))throw new Error("doc is valid.");let T=Object.prototype.toString.call(y);if(T!=="[object Object]")return`Unexpected doc '${T}'.`;let B=Mt([...et].map(N=>`'${N}'`));return`Unexpected doc.type '${y.type}'.
- Expected it to be ${B}.`}var $t=class extends Error{name="InvalidDocError";constructor(y){super(sr(y)),this.doc=y}},Pt=$t,Ut={};function er(y,F,T,B){let N=[y];for(;N.length>0;){let L=N.pop();if(L===Ut){T(N.pop());continue}T&&N.push(L,Ut);let z=rt(L);if(!z)throw new Pt(L);if(F?.(L)!==!1)switch(z){case Me:case ae:{let X=z===Me?L:L.parts;for(let J=X.length,ue=J-1;ue>=0;--ue)N.push(X[ue]);break}case Q:N.push(L.flatContents,L.breakContents);break;case xe:if(B&&L.expandedStates)for(let X=L.expandedStates.length,J=X-1;J>=0;--J)N.push(L.expandedStates[J]);else N.push(L.contents);break;case pe:case j:case ne:case qe:case we:N.push(L.contents);break;case S:case Ae:case Ie:case Be:case Le:case ut:break;default:throw new Pt(L)}}}var he=er;function Fe(y,F){if(typeof y=="string")return F(y);let T=new Map;return B(y);function B(L){return vt(T,L,N)}function N(L){switch(rt(L)){case Me:return F(L.map(B));case ae:return F({...L,parts:L.parts.map(B)});case Q:return F({...L,breakContents:B(L.breakContents),flatContents:B(L.flatContents)});case xe:{let{expandedStates:z,contents:X}=L;return z?(z=z.map(B),X=z[0]):X=B(X),F({...L,contents:X,expandedStates:z})}case pe:case j:case ne:case qe:case we:return F({...L,contents:B(L.contents)});case S:case Ae:case Ie:case Be:case Le:case ut:return F(L);default:throw new Pt(L)}}}function Qe(y,F,T){let B=T,N=!1;function L(z){if(N)return!1;let X=F(z);X!==void 0&&(N=!0,B=X)}return he(y,L),B}function lt(y){if(y.type===xe&&y.break||y.type===Le&&y.hard||y.type===ut)return!0}function ct(y){return Qe(y,lt,!1)}function Rt(y){if(y.length>0){let F=ve(0,y,-1);!F.expandedStates&&!F.break&&(F.break="propagated")}return null}function Mr(y){let F=new Set,T=[];function B(L){if(L.type===ut&&Rt(T),L.type===xe){if(T.push(L),F.has(L))return!1;F.add(L)}}function N(L){L.type===xe&&T.pop().break&&Rt(T)}he(y,B,N,!0)}function kr(y){return y.type===Le&&!y.hard?y.soft?"":" ":y.type===Q?y.flatContents:y}function Dr(y){return Fe(y,kr)}function Tr(y){for(y=[...y];y.length>=2&&ve(0,y,-2).type===Le&&ve(0,y,-1).type===ut;)y.length-=2;if(y.length>0){let F=wt(ve(0,y,-1));y[y.length-1]=F}return y}function wt(y){switch(rt(y)){case j:case ne:case xe:case we:case qe:{let F=wt(y.contents);return{...y,contents:F}}case Q:return{...y,breakContents:wt(y.breakContents),flatContents:wt(y.flatContents)};case ae:return{...y,parts:Tr(y.parts)};case Me:return Tr(y);case S:return Nt(y);case pe:case Ae:case Ie:case Be:case Le:case ut:break;default:throw new Pt(y)}return y}function Yt(y){return wt(ui(y))}function Rr(y){switch(rt(y)){case ae:{let{parts:F}=y;if(F.every(T=>T===""))return"";if(F.length===1)return F[0];break}case xe:if(!y.contents&&!y.id&&!y.break&&!y.expandedStates)return"";if(y.contents.type===xe&&y.contents.id===y.id&&y.contents.break===y.break&&y.contents.expandedStates===y.expandedStates)return y.contents;break;case pe:case j:case ne:case we:if(!y.contents)return"";break;case Q:if(!y.flatContents&&!y.breakContents)return"";break;case Me:{let F=[];for(let T of y){if(!T)continue;let[B,...N]=Array.isArray(T)?T:[T];typeof B=="string"&&typeof ve(0,F,-1)=="string"?F[F.length-1]+=B:F.push(B),F.push(...N)}return F.length===0?"":F.length===1?F[0]:F}case S:case Ae:case Ie:case Be:case Le:case qe:case ut:break;default:throw new Pt(y)}return y}function ui(y){return Fe(y,F=>Rr(F))}function Mi(y,F=Sp){return Fe(y,T=>typeof T=="string"?Pu(F,T.split(`
- `)):T)}function yt(y){if(y.type===Le)return!0}function Wt(y){return Qe(y,yt,!1)}function hn(y,F){return y.type===qe?{...y,contents:F(y.contents)}:F(y)}var vr=A,ys=A,sa=A,dn=A;function Jn(y){return vr(y),{type:j,contents:y}}function Ri(y,F){return dn(y),vr(F),{type:pe,contents:F,n:y}}function mD(y){return Ri(Number.NEGATIVE_INFINITY,y)}function _u(y){return Ri({type:"root"},y)}function Ap(y){return Ri(-1,y)}function bp(y,F,T){vr(y);let B=y;if(F>0){for(let N=0;N<Math.floor(F/T);++N)B=Jn(B);B=Ri(F%T,B),B=Ri(Number.NEGATIVE_INFINITY,B)}return B}var aa={type:ut},li={type:Ae};function DD(y){return sa(y),{type:ae,parts:y}}function Bu(y,F={}){return vr(y),ys(F.expandedStates,!0),{type:xe,id:F.id,contents:y,break:!!F.shouldBreak,expandedStates:F.expandedStates}}function kp(y,F){return Bu(y[0],{...F,expandedStates:y})}function yD(y,F="",T={}){return vr(y),F!==""&&vr(F),{type:Q,breakContents:y,flatContents:F,groupId:T.groupId}}function Tp(y,F){return vr(y),{type:ne,contents:y,groupId:F.groupId,negate:F.negate}}function Pu(y,F){vr(y),ys(F);let T=[];for(let B=0;B<F.length;B++)B!==0&&T.push(y),T.push(F[B]);return T}function gD(y,F){return vr(F),y?{type:qe,label:y,contents:F}:F}var Iu={type:Le},vp={type:Le,soft:!0},Nu={type:Le,hard:!0},_n=[Nu,aa],Lu={type:Le,hard:!0,literal:!0},Sp=[Lu,aa];function uo(y){return vr(y),{type:we,contents:y}}var wp={type:Be},_p={type:Ie};function ar(y){if(!y)return"";if(Array.isArray(y)){let F=[];for(let T of y)if(Array.isArray(T))F.push(...ar(T));else{let B=ar(T);B!==""&&F.push(B)}return F}return y.type===Q?{...y,breakContents:ar(y.breakContents),flatContents:ar(y.flatContents)}:y.type===xe?{...y,contents:ar(y.contents),expandedStates:y.expandedStates?.map(ar)}:y.type===ae?{type:"fill",parts:y.parts.map(ar)}:y.contents?{...y,contents:ar(y.contents)}:y}function Bp(y){let F=Object.create(null),T=new Set;return B(ar(y));function B(L,z,X){if(typeof L=="string")return JSON.stringify(L);if(Array.isArray(L)){let J=L.map(B).filter(Boolean);return J.length===1?J[0]:`[${J.join(", ")}]`}if(L.type===Le){let J=X?.[z+1]?.type===ut;return L.literal?J?"literalline":"literallineWithoutBreakParent":L.hard?J?"hardline":"hardlineWithoutBreakParent":L.soft?"softline":"line"}if(L.type===ut)return X?.[z-1]?.type===Le&&X[z-1].hard?void 0:"breakParent";if(L.type===Ie)return"trim";if(L.type===j)return"indent("+B(L.contents)+")";if(L.type===pe)return L.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+B(L.contents)+")":L.n<0?"dedent("+B(L.contents)+")":L.n.type==="root"?"markAsRoot("+B(L.contents)+")":"align("+JSON.stringify(L.n)+", "+B(L.contents)+")";if(L.type===Q)return"ifBreak("+B(L.breakContents)+(L.flatContents?", "+B(L.flatContents):"")+(L.groupId?(L.flatContents?"":', ""')+`, { groupId: ${N(L.groupId)} }`:"")+")";if(L.type===ne){let J=[];L.negate&&J.push("negate: true"),L.groupId&&J.push(`groupId: ${N(L.groupId)}`);let ue=J.length>0?`, { ${J.join(", ")} }`:"";return`indentIfBreak(${B(L.contents)}${ue})`}if(L.type===xe){let J=[];L.break&&L.break!=="propagated"&&J.push("shouldBreak: true"),L.id&&J.push(`id: ${N(L.id)}`);let ue=J.length>0?`, { ${J.join(", ")} }`:"";return L.expandedStates?`conditionalGroup([${L.expandedStates.map(me=>B(me)).join(",")}]${ue})`:`group(${B(L.contents)}${ue})`}if(L.type===ae)return`fill([${L.parts.map(J=>B(J)).join(", ")}])`;if(L.type===we)return"lineSuffix("+B(L.contents)+")";if(L.type===Be)return"lineSuffixBoundary";if(L.type===qe)return`label(${JSON.stringify(L.label)}, ${B(L.contents)})`;if(L.type===Ae)return"cursor";throw new Error("Unknown doc type "+L.type)}function N(L){if(typeof L!="symbol")return JSON.stringify(String(L));if(L in F)return F[L];let z=L.description||"symbol";for(let X=0;;X++){let J=z+(X>0?` #${X}`:"");if(!T.has(J))return T.add(J),F[L]=`Symbol.for(${JSON.stringify(J)})`}}}var Pp=()=>/[#*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,xD=12288,Ip=65510,Np=[12288,12288,65281,65376,65504,65510],Lp=4352,Op=262141,Ou=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],Mu=(y,F)=>{let T=0,B=Math.floor(y.length/2)-1;for(;T<=B;){let N=Math.floor((T+B)/2),L=N*2;if(F<y[L])B=N-1;else if(F>y[L+1])T=N+1;else return!0}return!1},Mp=19968,[Rp,jp]=ED(Ou);function ED(y){let F=y[0],T=y[1];for(let B=0;B<y.length;B+=2){let N=y[B],L=y[B+1];if(Mp>=N&&Mp<=L)return[N,L];L-N>T-F&&(F=N,T=L)}return[F,T]}var qp=y=>y<xD||y>Ip?!1:Mu(Np,y),Up=y=>y>=Rp&&y<=jp?!0:y<Lp||y>Op?!1:Mu(Ou,y),CD=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC3F\uDC41\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])$/,Vp=y=>CD.test(y),Ru=/[^\x20-\x7F]/;function $p(y){if(!y)return 0;if(!Ru.test(y))return y.length;let F=0;y=y.replace(Pp(),T=>(F+=Vp(T)?1:2,""));for(let T of y){let B=T.codePointAt(0);B<=31||B>=127&&B<=159||B>=768&&B<=879||B>=65024&&B<=65039||(F+=qp(B)||Up(B)?2:1)}return F}var lo=$p,FD={type:0},zp={type:1},ju={value:"",length:0,queue:[],get root(){return ju}};function Hp(y,F,T){let B=F.type===1?y.queue.slice(0,-1):[...y.queue,F],N="",L=0,z=0,X=0;for(let ye of B)switch(ye.type){case 0:me(),T.useTabs?J(1):ue(T.tabWidth);break;case 3:{let{string:Ue}=ye;me(),N+=Ue,L+=Ue.length;break}case 2:{let{width:Ue}=ye;z+=1,X+=Ue;break}default:throw new Error(`Unexpected indent comment '${ye.type}'.`)}return De(),{...y,value:N,length:L,queue:B};function J(ye){N+=" ".repeat(ye),L+=T.tabWidth*ye}function ue(ye){N+=" ".repeat(ye),L+=ye}function me(){T.useTabs?ge():De()}function ge(){z>0&&J(z),Se()}function De(){X>0&&ue(X),Se()}function Se(){z=0,X=0}}function Wp(y,F,T){if(!F)return y;if(F.type==="root")return{...y,root:y};if(F===Number.NEGATIVE_INFINITY)return y.root;let B;return typeof F=="number"?F<0?B=zp:B={type:2,width:F}:B={type:3,string:F},Hp(y,B,T)}function Gp(y,F){return Hp(y,FD,F)}function AD(y){let F=0;for(let T=y.length-1;T>=0;T--){let B=y[T];if(B===" "||B===" ")F++;else break}return F}function qu(y){let F=AD(y);return{text:F===0?y:y.slice(0,y.length-F),count:F}}var Jp=class{#e=[];#t="";#n=0;#i=[];#r=[];#s(){let y=this.#t;y!==""&&(this.#e.push(y),this.#n+=y.length,this.#t="");for(let F of this.#r)this.#i.push(Math.min(F,this.#n));this.#r.length=0}markPosition(){if(this.#i.length+this.#r.length>=2)throw new Error("There are too many 'cursor' in doc.");this.#r.push(this.#n+this.#t.length)}write(y){this.#t+=y}trim(){let{text:y,count:F}=qu(this.#t);return this.#t=y,this.#s(),F}finish(){return this.#s(),{text:this.#e.join(""),positions:this.#i}}},bD=Jp,$r=Symbol("MODE_BREAK"),fn=Symbol("MODE_FLAT"),gs=Symbol("DOC_FILL_PRINTED_LENGTH");function co(y,F,T,B,N,L){if(T===Number.POSITIVE_INFINITY)return!0;let z=F.length,X=!1,J=[y],ue="";for(;T>=0;){if(J.length===0){if(z===0)return!0;J.push(F[--z]);continue}let{mode:me,doc:ge}=J.pop(),De=rt(ge);switch(De){case S:ge&&(X&&(ue+=" ",T-=1,X=!1),ue+=ge,T-=lo(ge));break;case Me:case ae:{let Se=De===Me?ge:ge.parts,ye=ge[gs]??0;for(let Ue=Se.length-1;Ue>=ye;Ue--)J.push({mode:me,doc:Se[Ue]});break}case j:case pe:case ne:case qe:J.push({mode:me,doc:ge.contents});break;case Ie:{let{text:Se,count:ye}=qu(ue);ue=Se,T+=ye;break}case xe:{if(L&&ge.break)return!1;let Se=ge.break?$r:me,ye=ge.expandedStates&&Se===$r?ve(0,ge.expandedStates,-1):ge.contents;J.push({mode:Se,doc:ye});break}case Q:{let Se=(ge.groupId?N[ge.groupId]||fn:me)===$r?ge.breakContents:ge.flatContents;Se&&J.push({mode:me,doc:Se});break}case Le:if(me===$r||ge.hard)return!0;ge.soft||(X=!0);break;case we:B=!0;break;case Be:if(B)return!1;break}}return!1}function oa(y,F){let T=Object.create(null),B=F.printWidth,N=W(F.endOfLine),L=0,z=[{indent:ju,mode:$r,doc:y}],X=!1,J=[],ue=new bD;for(Mr(y);z.length>0;){let{indent:ye,mode:Ue,doc:_e}=z.pop();switch(rt(_e)){case S:{let Pe=N!==`
- `?p(0,_e,`
- `,N):_e;Pe&&(ue.write(Pe),z.length>0&&(L+=lo(Pe)));break}case Me:for(let Pe=_e.length-1;Pe>=0;Pe--)z.push({indent:ye,mode:Ue,doc:_e[Pe]});break;case Ae:ue.markPosition();break;case j:z.push({indent:Gp(ye,F),mode:Ue,doc:_e.contents});break;case pe:z.push({indent:Wp(ye,_e.n,F),mode:Ue,doc:_e.contents});break;case Ie:L-=ue.trim();break;case xe:{let Pe=(function(){if(Ue===fn&&!X)return{indent:ye,mode:_e.break?$r:fn,doc:_e.contents};X=!1;let At=B-L,Qt=J.length>0,Gt={indent:ye,mode:fn,doc:_e.contents};if(!_e.break&&co(Gt,z,At,Qt,T))return Gt;if(!_e.expandedStates)return{indent:ye,mode:$r,doc:_e.contents};if(!_e.break)for(let gr=1;gr<_e.expandedStates.length-1;gr++){let xr={indent:ye,mode:fn,doc:_e.expandedStates[gr]};if(co(xr,z,At,Qt,T))return xr}return{indent:ye,mode:$r,doc:ve(0,_e.expandedStates,-1)}})();z.push(Pe),_e.id&&(T[_e.id]=Pe.mode);break}case ae:{let Pe=B-L,At=_e[gs]??0,{parts:Qt}=_e,Gt=Qt.length-At;if(Gt===0)break;let gr=Qt[At+0],xr=Qt[At+1],or={indent:ye,mode:fn,doc:gr},Vi={indent:ye,mode:$r,doc:gr},bs=co(or,[],Pe,J.length>0,T,!0);if(Gt===1){bs?z.push(or):z.push(Vi);break}let Ao={indent:ye,mode:fn,doc:xr},fa={indent:ye,mode:$r,doc:xr};if(Gt===2){bs?z.push(Ao,or):z.push(fa,Vi);break}let ma=Qt[At+2],Dn={indent:ye,mode:Ue,doc:{..._e,[gs]:At+2}},Da=co({indent:ye,mode:fn,doc:[gr,xr,ma]},[],Pe,J.length>0,T,!0);z.push(Dn),Da?z.push(Ao,or):bs?z.push(fa,or):z.push(fa,Vi);break}case Q:case ne:{let Pe=_e.groupId?T[_e.groupId]:Ue;if(Pe===$r){let At=_e.type===Q?_e.breakContents:_e.negate?_e.contents:Jn(_e.contents);At&&z.push({indent:ye,mode:Ue,doc:At})}if(Pe===fn){let At=_e.type===Q?_e.flatContents:_e.negate?Jn(_e.contents):_e.contents;At&&z.push({indent:ye,mode:Ue,doc:At})}break}case we:J.push({indent:ye,mode:Ue,doc:_e.contents});break;case Be:J.length>0&&z.push({indent:ye,mode:Ue,doc:Nu});break;case Le:switch(Ue){case fn:if(!_e.hard){_e.soft||(ue.write(" "),L+=1);break}X=!0;case $r:if(J.length>0){z.push({indent:ye,mode:Ue,doc:_e},...J.reverse()),J.length=0;break}_e.literal?(ue.write(N),L=0,ye.root&&(ye.root.value&&ue.write(ye.root.value),L=ye.root.length)):(ue.trim(),ue.write(N+ye.value),L=ye.length);break}break;case qe:z.push({indent:ye,mode:Ue,doc:_e.contents});break;case ut:break;default:throw new Pt(_e)}z.length===0&&J.length>0&&(z.push(...J.reverse()),J.length=0)}let{text:me,positions:ge}=ue.finish();if(ge.length!==2)return{formatted:me};let[De,Se]=ge;return{formatted:me,cursorNodeStart:De,cursorNodeText:me.slice(De,Se)}}function Kp(y,F,T=0){let B=0;for(let N=T;N<y.length;++N)y[N]===" "?B=B+F-B%F:B++;return B}var Uu=Kp,Xp=class{constructor(y){this.stack=[y]}get key(){let{stack:y,siblings:F}=this;return ve(0,y,F===null?-2:-4)??null}get index(){return this.siblings===null?null:ve(0,this.stack,-2)}get node(){return ve(0,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:y}=this,F=ve(0,y,-3);return Array.isArray(F)?F:null}get next(){let{siblings:y}=this;return y===null?null:y[this.index+1]}get previous(){let{siblings:y}=this;return y===null?null:y[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:y,index:F}=this;return y!==null&&F===y.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...this.#t()]}getName(){let{stack:y}=this,{length:F}=y;return F>1?ve(0,y,-2):null}getValue(){return ve(0,this.stack,-1)}getNode(y=0){let F=this.#e(y);return F===-1?null:this.stack[F]}getParentNode(y=0){return this.getNode(y+1)}#e(y){let{stack:F}=this;for(let T=F.length-1;T>=0;T-=2)if(!Array.isArray(F[T])&&--y<0)return T;return-1}call(y,...F){let{stack:T}=this,{length:B}=T,N=ve(0,T,-1);for(let L of F)N=N?.[L],T.push(L,N);try{return y(this)}finally{T.length=B}}callParent(y,F=0){let T=this.#e(F+1),B=this.stack.splice(T+1);try{return y(this)}finally{this.stack.push(...B)}}each(y,...F){let{stack:T}=this,{length:B}=T,N=ve(0,T,-1);for(let L of F)N=N[L],T.push(L,N);try{for(let L=0;L<N.length;++L)T.push(L,N[L]),y(this,L,N),T.length-=2}finally{T.length=B}}map(y,...F){let T=[];return this.each((B,N,L)=>{T[N]=y(B,N,L)},...F),T}match(...y){let F=this.stack.length-1,T=null,B=this.stack[F--];for(let N of y){if(B===void 0)return!1;let L=null;if(typeof T=="number"&&(L=T,T=this.stack[F--],B=this.stack[F--]),N&&!N(B,T,L))return!1;T=this.stack[F--],B=this.stack[F--]}return!0}findAncestor(y){for(let F of this.#t())if(y(F))return F}hasAncestor(y){for(let F of this.#t())if(y(F))return!0;return!1}*#t(){let{stack:y}=this;for(let F=y.length-3;F>=0;F-=2){let T=y[F];Array.isArray(T)||(yield T)}}},kD=Xp;function Yp(y){return Array.isArray(y)&&y.length>0}var Vu=Yp;function TD(y){return y!==null&&typeof y=="object"}var po=TD;function xs(y){return(F,T,B)=>{if(T===!1)return!1;let N=!!B?.backwards,{length:L}=F,z=T;for(;z>=0&&z<L;){let X=F.charAt(z);if(y instanceof RegExp){if(!y.test(X))return z}else if(!y.includes(X))return z;N?z--:z++}return z===-1||z===L?z:!1}}var vD=xs(/\s/),Kn=xs(" "),$u=xs(",; "),Es=xs(/[^\n\r]/),Qp=y=>y===`
- `||y==="\r"||y==="\u2028"||y==="\u2029";function Zp(y,F,T){if(F===!1)return!1;let B=!!T?.backwards,N=y.charAt(F);if(B){if(y.charAt(F-1)==="\r"&&N===`
- `)return F-2;if(Qp(N))return F-1}else{if(N==="\r"&&y.charAt(F+1)===`
- `)return F+2;if(Qp(N))return F+1}return F}var ci=Zp;function SD(y,F,T={}){let B=Kn(y,T.backwards?F-1:F,T),N=ci(y,B,T);return B!==N}var Xn=SD;function*ua(y,F){let{getVisitorKeys:T,filter:B=()=>!0}=F,N=L=>po(L)&&B(L);for(let L of T(y)){let z=y[L];if(Array.isArray(z))for(let X of z)N(X)&&(yield X);else N(z)&&(yield z)}}function*wD(y,F){let T=[y];for(let B=0;B<T.length;B++){let N=T[B];for(let L of ua(N,F))yield L,T.push(L)}}function eh(y,F){return ua(y,F).next().done}function th(y,F,T){let{filter:B}=T;if(!B)return[];let N,L=(T.getChildren?.(y,T)??[...ua(y,{getVisitorKeys:T.getVisitorKeys})]).flatMap(J=>(N??(N=[y,...F]),B(J,N)?[J]:rh(J,N,T))),{locStart:z,locEnd:X}=T;return L.sort((J,ue)=>z(J)-z(ue)||X(J)-X(ue)),L}function rh(y,F,T){return vt(T.cache,y,B=>th(B,F,T))}var zu=rh;function nh(y){let F=y.type||y.kind||"(unknown type)",T=String(y.name||y.id&&(typeof y.id=="object"?y.id.name:y.id)||y.key&&(typeof y.key=="object"?y.key.name:y.key)||y.value&&(typeof y.value=="object"?"":String(y.value))||y.operator||"");return T.length>20&&(T=T.slice(0,19)+"\u2026"),F+(T?" "+T:"")}function Hu(y,F){(y.comments??(y.comments=[])).push(F),F.printed=!1,F.nodeDescription=nh(y)}function Cs(y,F){F.leading=!0,F.trailing=!1,Hu(y,F)}function pi(y,F,T){F.leading=!1,F.trailing=!1,T&&(F.marker=T),Hu(y,F)}function la(y,F){F.leading=!1,F.trailing=!0,Hu(y,F)}var Wu=new WeakMap;function Gu(y,F,T,B,N=[]){let{locStart:L,locEnd:z}=T,X=L(F),J=z(F),ue=zu(y,N,{cache:Wu,locStart:L,locEnd:z,getVisitorKeys:T.getVisitorKeys,filter:T.printer.canAttachComment,getChildren:T.printer.getCommentChildNodes}),me,ge,De=0,Se=ue.length;for(;De<Se;){let ye=De+Se>>1,Ue=ue[ye],_e=L(Ue),Pe=z(Ue);if(_e<=X&&J<=Pe)return Gu(Ue,F,T,Ue,[Ue,...N]);if(Pe<=X){me=Ue,De=ye+1;continue}if(J<=_e){ge=Ue,Se=ye;continue}throw new Error("Comment location overlaps with node location")}if(B?.type==="TemplateLiteral"){let{quasis:ye}=B,Ue=Yu(ye,F,T);me&&Yu(ye,me,T)!==Ue&&(me=null),ge&&Yu(ye,ge,T)!==Ue&&(ge=null)}return{enclosingNode:B,precedingNode:me,followingNode:ge}}var Ju=()=>!1;function ih(y,F){let{comments:T}=y;if(delete y.comments,!Vu(T)||!F.printer.canAttachComment)return;let B=[],{printer:{features:{experimental_avoidAstMutation:N},handleComments:L={}},originalText:z}=F,{ownLine:X=Ju,endOfLine:J=Ju,remaining:ue=Ju}=L,me=T.map((De,Se)=>({...Gu(y,De,F),comment:De,text:z,options:F,ast:y,isLastComment:T.length-1===Se,placement:void 0})),ge=!N;for(let[De,Se]of me.entries()){let{comment:ye,precedingNode:Ue,enclosingNode:_e,followingNode:Pe,text:At,options:Qt,ast:Gt,isLastComment:gr}=Se,xr=_D(At,Qt,me,De)?"ownLine":sh(At,Qt,me,De)?"endOfLine":"remaining",or;if(N?(Se.placement=xr,or=[Se]):or=[ye,At,Qt,Gt,gr],ge&&(ye.enclosingNode=_e,ye.precedingNode=Ue,ye.followingNode=Pe),ye.placement=xr,xr==="ownLine")X(...or)||(Pe?Cs(Pe,ye):Ue?la(Ue,ye):pi(_e||Gt,ye));else if(xr==="endOfLine")J(...or)||(Ue?la(Ue,ye):Pe?Cs(Pe,ye):pi(_e||Gt,ye));else if(!ue(...or))if(Ue&&Pe){let Vi=B.length;Vi>0&&B[Vi-1].followingNode!==Pe&&Xu(B,Qt),B.push(Se)}else Ue?la(Ue,ye):Pe?Cs(Pe,ye):pi(_e||Gt,ye)}if(Xu(B,F),ge)for(let De of T)delete De.precedingNode,delete De.enclosingNode,delete De.followingNode}var Ku=y=>!/[\S\n\u2028\u2029]/.test(y);function _D(y,F,T,B){let{comment:N,precedingNode:L}=T[B],{locStart:z,locEnd:X}=F,J=z(N);if(L)for(let ue=B-1;ue>=0;ue--){let{comment:me,precedingNode:ge}=T[ue];if(ge!==L||!Ku(y.slice(X(me),J)))break;J=z(me)}return Xn(y,J,{backwards:!0})}function sh(y,F,T,B){let{comment:N,followingNode:L}=T[B],{locStart:z,locEnd:X}=F,J=X(N);if(L)for(let ue=B+1;ue<T.length;ue++){let{comment:me,followingNode:ge}=T[ue];if(ge!==L||!Ku(y.slice(J,z(me))))break;J=X(me)}return Xn(y,J)}function Xu(y,F){let T=y.length;if(T===0)return;let{precedingNode:B,followingNode:N}=y[0],L=F.locStart(N),z;for(z=T;z>0;--z){let{comment:X,precedingNode:J,followingNode:ue}=y[z-1];A(J,B),A(ue,N);let me=F.originalText.slice(F.locEnd(X),L);if(F.printer.isGap?.(me,F)??/^[\s(]*$/.test(me))L=F.locStart(X);else break}for(let[X,{comment:J}]of y.entries())X<z?la(B,J):Cs(N,J);for(let X of[B,N])X.comments&&X.comments.length>1&&X.comments.sort((J,ue)=>F.locStart(J)-F.locStart(ue));y.length=0}function Yu(y,F,T){let B=T.locStart(F)-1;for(let N=1;N<y.length;++N)if(B<T.locStart(y[N]))return N-1;return 0}function ah(y,F){let T=F-1;T=Kn(y,T,{backwards:!0}),T=ci(y,T,{backwards:!0}),T=Kn(y,T,{backwards:!0});let B=ci(y,T,{backwards:!0});return T!==B}var Qu=ah,Zu=()=>!0;function el(y,F){let T=y.node;return T.printed=!0,F.printer.printComment(y,F)}function BD(y,F){let T=y.node,B=[el(y,F)],{printer:N,originalText:L,locStart:z,locEnd:X}=F;if(N.isBlockComment?.(T)){let ue=" ";Xn(L,X(T))&&(Xn(L,z(T),{backwards:!0})?ue=_n:ue=Iu),B.push(ue)}else B.push(_n);let J=ci(L,Kn(L,X(T)));return J!==!1&&Xn(L,J)&&B.push(_n),B}function oh(y,F,T){let B=y.node,N=el(y,F),{printer:L,originalText:z,locStart:X}=F,J=L.isBlockComment?.(B);if(T?.hasLineSuffix&&!T?.isBlock||Xn(z,X(B),{backwards:!0})){let ue=Qu(z,X(B));return{doc:uo([_n,ue?_n:"",N]),isBlock:J,hasLineSuffix:!0}}return!J||T?.hasLineSuffix?{doc:[uo([" ",N]),aa],isBlock:J,hasLineSuffix:!0}:{doc:[" ",N],isBlock:J,hasLineSuffix:!1}}function uh(y,F,T){let B=F[Symbol.for("printedComments")],N=T?.filter??Zu,L=new Set(y.node?.comments?.filter(z=>!B?.has(z)&&z.leading&&N(z)));return L.size===0?"":y.map(({node:z})=>L.has(z)?BD(y,F):"","comments").filter(Boolean)}function lh(y,F,T){let B=y.node?.comments,N=new Set(B?.filter(me=>me.trailing)),L=F[Symbol.for("printedComments")],z=T?.filter??Zu,X=new Set(B?.filter(me=>N.has(me)&&!L?.has(me)&&z(me)));if(X.size===0)return"";let J=[],ue;return y.each(({node:me})=>{N.has(me)&&(ue=oh(y,F,ue),X.has(me)&&J.push(ue.doc))},"comments"),J}function ch(y,F,T,B){let N=uh(y,T,B),L=lh(y,T,B);return N||L?hn(F,z=>[N,z,L]):F}function ph(y){let{[Y]:F,[Symbol.for("printedComments")]:T}=y;for(let B of F){if(!B.printed&&!T.has(B))throw new Error('Comment "'+B.value.trim()+'" was not printed. Please report this error!');delete B.printed}}var PD=()=>A,tl=class extends Error{name="ConfigError"},rl=class extends Error{name="UndefinedParserError"},ID=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),ca=ID,hh={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:y=>typeof y=="string"||typeof y=="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:y=>typeof y=="string"||typeof y=="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 dh({plugins:y=[],showDeprecated:F=!1}={}){let T=y.flatMap(N=>N.languages??[]),B=[];for(let N of mh(Object.assign({},...y.map(({options:L})=>L),hh)))!F&&N.deprecated||(Array.isArray(N.choices)&&(F||(N.choices=N.choices.filter(L=>!L.deprecated)),N.name==="parser"&&(N.choices=[...N.choices,...fh(N.choices,T,y)])),N.pluginDefaults=Object.fromEntries(y.filter(L=>L.defaultOptions?.[N.name]!==void 0).map(L=>[L.name,L.defaultOptions[N.name]])),B.push(N));return{languages:T,options:B}}function*fh(y,F,T){let B=new Set(y.map(N=>N.value));for(let N of F)if(N.parsers){for(let L of N.parsers)if(!B.has(L)){B.add(L);let z=T.find(J=>J.parsers&&ca(J.parsers,L)),X=N.name;z?.name&&(X+=` (plugin: ${z.name})`),yield{value:L,description:X}}}}function mh(y){let F=[];for(let[T,B]of Object.entries(y)){let N={name:T,...B};Array.isArray(N.default)&&(N.default=ve(0,N.default,-1).value),F.push(N)}return F}var nx=Array.prototype.toReversed??function(){return[...this].reverse()},ND=u("toReversed",function(){if(Array.isArray(this))return nx}),Dh=ND;function LD(){let y=globalThis,F=y.process?.platform;if(typeof F=="string")return F.startsWith("win");let T=y.Deno?.build?.os;return typeof T=="string"?T==="windows":y.navigator?.platform?.startsWith("Win")??!1}var yh=LD();function nl(y){if(y=y instanceof URL?y:new URL(y),y.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${y.protocol}"`);return y}function OD(y){return y=nl(y),decodeURIComponent(y.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function gh(y){y=nl(y);let F=decodeURIComponent(y.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return y.hostname!==""&&(F=`\\\\${y.hostname}${F}`),F}function xh(y){return yh?gh(y):OD(y)}var MD=y=>String(y).split(/[/\\]/).pop(),Eh=y=>String(y).startsWith("file:");function il(y,F){if(!F)return;let T=MD(F).toLowerCase();return y.find(({filenames:B})=>B?.some(N=>N.toLowerCase()===T))??y.find(({extensions:B})=>B?.some(N=>T.endsWith(N)))}function RD(y,F){if(F)return y.find(({name:T})=>T.toLowerCase()===F)??y.find(({aliases:T})=>T?.includes(F))??y.find(({extensions:T})=>T?.includes(`.${F}`))}var Ch=void 0;function sl(y,F){if(F){if(Eh(F))try{F=xh(F)}catch{return}if(typeof F=="string")return y.find(({isSupported:T})=>T?.({filepath:F}))}}function jD(y,F){let T=Dh(0,y.plugins).flatMap(B=>B.languages??[]);return(RD(T,F.language)??il(T,F.physicalFile)??il(T,F.file)??sl(T,F.physicalFile)??sl(T,F.file)??Ch?.(T,F.physicalFile))?.parsers[0]}var al=jD,ji={key:y=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(y)?y:JSON.stringify(y),value(y){if(y===null||typeof y!="object")return JSON.stringify(y);if(Array.isArray(y))return`[${y.map(T=>ji.value(T)).join(", ")}]`;let F=Object.keys(y);return F.length===0?"{}":`{ ${F.map(T=>`${ji.key(T)}: ${ji.value(y[T])}`).join(", ")} }`},pair:({key:y,value:F})=>ji.value({[y]:F})},Fh=new Proxy(String,{get:()=>Fh}),mn=Fh,Ah=(y,F,{descriptor:T})=>{let B=[`${mn.yellow(typeof y=="string"?T.key(y):T.pair(y))} is deprecated`];return F&&B.push(`we now treat it as ${mn.blue(typeof F=="string"?T.key(F):T.pair(F))}`),B.join("; ")+"."},bh=Symbol.for("vnopts.VALUE_NOT_EXIST"),pa=Symbol.for("vnopts.VALUE_UNCHANGED"),ol=" ".repeat(2),qD=(y,F,T)=>{let{text:B,list:N}=T.normalizeExpectedResult(T.schemas[y].expected(T)),L=[];return B&&L.push(ul(y,F,B,T.descriptor)),N&&L.push([ul(y,F,N.title,T.descriptor)].concat(N.values.map(z=>ll(z,T.loggerPrintWidth))).join(`
- `)),Fs(L,T.loggerPrintWidth)};function ul(y,F,T,B){return[`Invalid ${mn.red(B.key(y))} value.`,`Expected ${mn.blue(T)},`,`but received ${F===bh?mn.gray("nothing"):mn.red(B.value(F))}.`].join(" ")}function ll({text:y,list:F},T){let B=[];return y&&B.push(`- ${mn.blue(y)}`),F&&B.push([`- ${mn.blue(F.title)}:`].concat(F.values.map(N=>ll(N,T-ol.length).replace(/^|\n/g,`$&${ol}`))).join(`
- `)),Fs(B,T)}function Fs(y,F){if(y.length===1)return y[0];let[T,B]=y,[N,L]=y.map(z=>z.split(`
- `,1)[0].length);return N>F&&N>L?B:T}var qi=[],ho=[];function cl(y,F,T){if(y===F)return 0;let B=T?.maxDistance,N=y;y.length>F.length&&(y=F,F=N);let L=y.length,z=F.length;for(;L>0&&y.charCodeAt(~-L)===F.charCodeAt(~-z);)L--,z--;let X=0;for(;X<L&&y.charCodeAt(X)===F.charCodeAt(X);)X++;if(L-=X,z-=X,B!==void 0&&z-L>B)return B;if(L===0)return B!==void 0&&z>B?B:z;let J,ue,me,ge,De=0,Se=0;for(;De<L;)ho[De]=y.charCodeAt(X+De),qi[De]=++De;for(;Se<z;){for(J=F.charCodeAt(X+Se),me=Se++,ue=Se,De=0;De<L;De++)ge=J===ho[De]?me:me+1,me=qi[De],ue=qi[De]=me>ue?ge>ue?ue+1:ge:ge>me?me+1:ge;if(B!==void 0){let ye=ue;for(De=0;De<L;De++)qi[De]<ye&&(ye=qi[De]);if(ye>B)return B}}return qi.length=L,ho.length=L,B!==void 0&&ue>B?B:ue}function kh(y,F,T){if(!Array.isArray(F)||F.length===0)return;let B=T?.maxDistance,N=y.length;for(let J of F)if(J===y)return J;if(B===0)return;let L,z=Number.POSITIVE_INFINITY,X=new Set;for(let J of F){if(X.has(J))continue;X.add(J);let ue=Math.abs(J.length-N);if(ue>=z||B!==void 0&&ue>B)continue;let me=Number.isFinite(z)?B===void 0?z:Math.min(z,B):B,ge=me===void 0?cl(y,J):cl(y,J,{maxDistance:me});if(B!==void 0&&ge>B)continue;let De=ge;if(me!==void 0&&ge===me&&me===B&&(De=cl(y,J)),De<z&&(z=De,L=J,z===0))break}if(!(B!==void 0&&z>B))return L}var pl=(y,F,{descriptor:T,logger:B,schemas:N})=>{let L=[`Ignored unknown option ${mn.yellow(T.pair({key:y,value:F}))}.`],z=kh(y,Object.keys(N),{maxDistance:3});z&&L.push(`Did you mean ${mn.blue(T.key(z))}?`),B.warn(L.join(" "))},UD=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Th(y,F){let T=new y(F),B=Object.create(T);for(let N of UD)N in F&&(B[N]=VD(F[N],T,Yn.prototype[N].length));return B}var Yn=class{static create(y){return Th(this,y)}constructor(y){this.name=y.name}default(y){}expected(y){return"nothing"}validate(y,F){return!1}deprecated(y,F){return!1}forward(y,F){}redirect(y,F){}overlap(y,F,T){return y}preprocess(y,F){return y}postprocess(y,F){return pa}};function VD(y,F,T){return typeof y=="function"?(...B)=>y(...B.slice(0,T-1),F,...B.slice(T-1)):()=>y}var vh=class extends Yn{constructor(y){super(y),this._sourceName=y.sourceName}expected(y){return y.schemas[this._sourceName].expected(y)}validate(y,F){return F.schemas[this._sourceName].validate(y,F)}redirect(y,F){return this._sourceName}},Sh=class extends Yn{expected(){return"anything"}validate(){return!0}},$D=class extends Yn{constructor({valueSchema:y,name:F=y.name,...T}){super({...T,name:F}),this._valueSchema=y}expected(y){let{text:F,list:T}=y.normalizeExpectedResult(this._valueSchema.expected(y));return{text:F&&`an array of ${F}`,list:T&&{title:"an array of the following values",values:[{list:T}]}}}validate(y,F){if(!Array.isArray(y))return!1;let T=[];for(let B of y){let N=F.normalizeValidateResult(this._valueSchema.validate(B,F),B);N!==!0&&T.push(N.value)}return T.length===0?!0:{value:T}}deprecated(y,F){let T=[];for(let B of y){let N=F.normalizeDeprecatedResult(this._valueSchema.deprecated(B,F),B);N!==!1&&T.push(...N.map(({value:L})=>({value:[L]})))}return T}forward(y,F){let T=[];for(let B of y){let N=F.normalizeForwardResult(this._valueSchema.forward(B,F),B);T.push(...N.map(hl))}return T}redirect(y,F){let T=[],B=[];for(let N of y){let L=F.normalizeRedirectResult(this._valueSchema.redirect(N,F),N);"remain"in L&&T.push(L.remain),B.push(...L.redirect.map(hl))}return T.length===0?{redirect:B}:{redirect:B,remain:T}}overlap(y,F){return y.concat(F)}};function hl({from:y,to:F}){return{from:[y],to:F}}var wh=class extends Yn{expected(){return"true or false"}validate(y){return typeof y=="boolean"}};function ix(y,F){let T=Object.create(null);for(let B of y){let N=B[F];if(T[N])throw new Error(`Duplicate ${F} ${JSON.stringify(N)}`);T[N]=B}return T}function As(y,F){let T=new Map;for(let B of y){let N=B[F];if(T.has(N))throw new Error(`Duplicate ${F} ${JSON.stringify(N)}`);T.set(N,B)}return T}function _h(){let y=Object.create(null);return F=>{let T=JSON.stringify(F);return y[T]?!0:(y[T]=!0,!1)}}function Bh(y,F){let T=[],B=[];for(let N of y)F(N)?T.push(N):B.push(N);return[T,B]}function ha(y){return y===Math.floor(y)}function zD(y,F){if(y===F)return 0;let T=typeof y,B=typeof F,N=["undefined","object","boolean","number","string"];return T!==B?N.indexOf(T)-N.indexOf(B):T!=="string"?Number(y)-Number(F):y.localeCompare(F)}function Ph(y){return(...F)=>{let T=y(...F);return typeof T=="string"?new Error(T):T}}function dl(y){return y===void 0?{}:y}function Ih(y){if(typeof y=="string")return{text:y};let{text:F,list:T}=y;return Oh((F||T)!==void 0,"Unexpected `expected` result, there should be at least one field."),T?{text:F,list:{title:T.title,values:T.values.map(Ih)}}:{text:F}}function fl(y,F){return y===!0?!0:y===!1?{value:F}:y}function ml(y,F,T=!1){return y===!1?!1:y===!0?T?!0:[{value:F}]:"value"in y?[y]:y.length===0?!1:y}function Nh(y,F){return typeof y=="string"||"key"in y?{from:F,to:y}:"from"in y?{from:y.from,to:y.to}:{from:F,to:y.to}}function fo(y,F){return y===void 0?[]:Array.isArray(y)?y.map(T=>Nh(T,F)):[Nh(y,F)]}function Lh(y,F){let T=fo(typeof y=="object"&&"redirect"in y?y.redirect:y,F);return T.length===0?{remain:F,redirect:T}:typeof y=="object"&&"remain"in y?{remain:y.remain,redirect:T}:{redirect:T}}function Oh(y,F){if(!y)throw new Error(F)}var Mh=class extends Yn{constructor(y){super(y),this._choices=As(y.choices.map(F=>F&&typeof F=="object"?F:{value:F}),"value")}expected({descriptor:y}){let F=Array.from(this._choices.keys()).map(N=>this._choices.get(N)).filter(({hidden:N})=>!N).map(N=>N.value).sort(zD).map(y.value),T=F.slice(0,-2),B=F.slice(-2);return{text:T.concat(B.join(" or ")).join(", "),list:{title:"one of the following values",values:F}}}validate(y){return this._choices.has(y)}deprecated(y){let F=this._choices.get(y);return F&&F.deprecated?{value:y}:!1}forward(y){let F=this._choices.get(y);return F?F.forward:void 0}redirect(y){let F=this._choices.get(y);return F?F.redirect:void 0}},HD=class extends Yn{expected(){return"a number"}validate(y,F){return typeof y=="number"}},Rh=class extends HD{expected(){return"an integer"}validate(y,F){return F.normalizeValidateResult(super.validate(y,F),y)===!0&&ha(y)}},Dl=class extends Yn{expected(){return"a string"}validate(y){return typeof y=="string"}},WD=ji,jh=pl,qh=qD,GD=Ah,Uh=class{constructor(y,F){let{logger:T=console,loggerPrintWidth:B=80,descriptor:N=WD,unknown:L=jh,invalid:z=qh,deprecated:X=GD,missing:J=()=>!1,required:ue=()=>!1,preprocess:me=De=>De,postprocess:ge=()=>pa}=F||{};this._utils={descriptor:N,logger:T||{warn:()=>{}},loggerPrintWidth:B,schemas:ix(y,"name"),normalizeDefaultResult:dl,normalizeExpectedResult:Ih,normalizeDeprecatedResult:ml,normalizeForwardResult:fo,normalizeRedirectResult:Lh,normalizeValidateResult:fl},this._unknownHandler=L,this._invalidHandler=Ph(z),this._deprecatedHandler=X,this._identifyMissing=(De,Se)=>!(De in Se)||J(De,Se),this._identifyRequired=ue,this._preprocess=me,this._postprocess=ge,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=_h()}normalize(y){let F={},T=[this._preprocess(y,this._utils)],B=()=>{for(;T.length!==0;){let N=T.shift(),L=this._applyNormalization(N,F);T.push(...L)}};B();for(let N of Object.keys(this._utils.schemas)){let L=this._utils.schemas[N];if(!(N in F)){let z=dl(L.default(this._utils));"value"in z&&T.push({[N]:z.value})}}B();for(let N of Object.keys(this._utils.schemas)){if(!(N in F))continue;let L=this._utils.schemas[N],z=F[N],X=L.postprocess(z,this._utils);X!==pa&&(this._applyValidation(X,N,L),F[N]=X)}return this._applyPostprocess(F),this._applyRequiredCheck(F),F}_applyNormalization(y,F){let T=[],{knownKeys:B,unknownKeys:N}=this._partitionOptionKeys(y);for(let L of B){let z=this._utils.schemas[L],X=z.preprocess(y[L],this._utils);this._applyValidation(X,L,z);let J=({from:ge,to:De})=>{T.push(typeof De=="string"?{[De]:ge}:{[De.key]:De.value})},ue=({value:ge,redirectTo:De})=>{let Se=ml(z.deprecated(ge,this._utils),X,!0);if(Se!==!1)if(Se===!0)this._hasDeprecationWarned(L)||this._utils.logger.warn(this._deprecatedHandler(L,De,this._utils));else for(let{value:ye}of Se){let Ue={key:L,value:ye};if(!this._hasDeprecationWarned(Ue)){let _e=typeof De=="string"?{key:De,value:ye}:De;this._utils.logger.warn(this._deprecatedHandler(Ue,_e,this._utils))}}};fo(z.forward(X,this._utils),X).forEach(J);let me=Lh(z.redirect(X,this._utils),X);if(me.redirect.forEach(J),"remain"in me){let ge=me.remain;F[L]=L in F?z.overlap(F[L],ge,this._utils):ge,ue({value:ge})}for(let{from:ge,to:De}of me.redirect)ue({value:ge,redirectTo:De})}for(let L of N){let z=y[L];this._applyUnknownHandler(L,z,F,(X,J)=>{T.push({[X]:J})})}return T}_applyRequiredCheck(y){for(let F of Object.keys(this._utils.schemas))if(this._identifyMissing(F,y)&&this._identifyRequired(F))throw this._invalidHandler(F,bh,this._utils)}_partitionOptionKeys(y){let[F,T]=Bh(Object.keys(y).filter(B=>!this._identifyMissing(B,y)),B=>B in this._utils.schemas);return{knownKeys:F,unknownKeys:T}}_applyValidation(y,F,T){let B=fl(T.validate(y,this._utils),y);if(B!==!0)throw this._invalidHandler(F,B.value,this._utils)}_applyUnknownHandler(y,F,T,B){let N=this._unknownHandler(y,F,this._utils);if(N)for(let L of Object.keys(N)){if(this._identifyMissing(L,N))continue;let z=N[L];L in this._utils.schemas?B(L,z):T[L]=z}}_applyPostprocess(y){let F=this._postprocess(y,this._utils);if(F!==pa){if(F.delete)for(let T of F.delete)delete y[T];if(F.override){let{knownKeys:T,unknownKeys:B}=this._partitionOptionKeys(F.override);for(let N of T){let L=F.override[N];this._applyValidation(L,N,this._utils.schemas[N]),y[N]=L}for(let N of B){let L=F.override[N];this._applyUnknownHandler(N,L,y,(z,X)=>{let J=this._utils.schemas[z];this._applyValidation(X,z,J),y[z]=X})}}}}},mo;function JD(y,F,{logger:T=!1,isCLI:B=!1,passThrough:N=!1,FlagSchema:L,descriptor:z}={}){if(B){if(!L)throw new Error("'FlagSchema' option is required.");if(!z)throw new Error("'descriptor' option is required.")}else z=ji;let X=N?Array.isArray(N)?(De,Se)=>N.includes(De)?{[De]:Se}:void 0:(De,Se)=>({[De]:Se}):(De,Se,ye)=>{let{_:Ue,..._e}=ye.schemas;return pl(De,Se,{...ye,schemas:_e})},J=Vh(F,{isCLI:B,FlagSchema:L}),ue=new Uh(J,{logger:T,unknown:X,descriptor:z}),me=T!==!1;me&&mo&&(ue._hasDeprecationWarned=mo);let ge=ue.normalize(y);return me&&(mo=ue._hasDeprecationWarned),ge}function Vh(y,{isCLI:F,FlagSchema:T}){let B=[];F&&B.push(Sh.create({name:"_"}));for(let N of y)B.push($h(N,{isCLI:F,optionInfos:y,FlagSchema:T})),N.alias&&F&&B.push(vh.create({name:N.alias,sourceName:N.name}));return B}function $h(y,{isCLI:F,optionInfos:T,FlagSchema:B}){let{name:N}=y,L={name:N},z,X={};switch(y.type){case"int":z=Rh,F&&(L.preprocess=Number);break;case"string":z=Dl;break;case"choice":z=Mh,L.choices=y.choices.map(J=>J?.redirect?{...J,redirect:{to:{key:y.name,value:J.redirect}}}:J);break;case"boolean":z=wh;break;case"flag":z=B,L.flags=T.flatMap(J=>[J.alias,J.description&&J.name,J.oppositeDescription&&`no-${J.name}`].filter(Boolean));break;case"path":z=Dl;break;default:throw new Error(`Unexpected type ${y.type}`)}if(y.exception?L.validate=(J,ue,me)=>y.exception(J)||ue.validate(J,me):L.validate=(J,ue,me)=>J===void 0||ue.validate(J,me),y.redirect&&(X.redirect=J=>J?{to:typeof y.redirect=="string"?y.redirect:{key:y.redirect.option,value:y.redirect.value}}:void 0),y.deprecated&&(X.deprecated=!0),F&&!y.array){let J=L.preprocess||(ue=>ue);L.preprocess=(ue,me,ge)=>me.preprocess(J(Array.isArray(ue)?ve(0,ue,-1):ue),ge)}return y.array?$D.create({...F?{preprocess:J=>Array.isArray(J)?J:[J]}:{},...X,valueSchema:z.create(L)}):z.create({...L,...X})}var KD=JD,zh=Array.prototype.findLast??function(y){for(let F=this.length-1;F>=0;F--){let T=this[F];if(y(T,F,this))return T}},Hh=u("findLast",function(){if(Array.isArray(this))return zh}),Wh=Hh,Gh=Symbol.for("PRETTIER_IS_FRONT_MATTER"),Jh=[];function XD(y){return!!y?.[Gh]}var Do=XD,yl=new Set(["yaml","toml"]),YD=({node:y})=>Do(y)&&yl.has(y.language);async function QD(y,F,T,B){let{node:N}=T,{language:L}=N;if(!yl.has(L))return;let z=N.value.trim(),X;if(z){let J=L==="yaml"?L:al(B,{language:L});if(!J)return;X=z?await y(z,{parser:J}):""}else X=z;return _u([N.startDelimiter,N.explicitLanguage??"",_n,X,X?_n:"",N.endDelimiter])}function Kh(y,F){return YD({node:y})&&(delete F.end,delete F.raw,delete F.value),F}var Xh=Kh;function ZD({node:y}){return y.raw}var Yh=ZD,Qh=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Zh=y=>Object.keys(y).filter(F=>!Qh.has(F));function ed(y,F){let T=y?B=>y(B,Qh):Zh;return F?new Proxy(T,{apply:(B,N,L)=>Do(L[0])?Jh:Reflect.apply(B,N,L)}):T}var td=ed;function gl(y,F){if(!F)throw new Error("parserName is required.");let T=Wh(0,y,N=>N.parsers&&ca(N.parsers,F));if(T)return T;let B=`Couldn't resolve parser "${F}".`;throw B+=" Plugins must be explicitly added to the standalone bundle.",new tl(B)}function rd(y,F){if(!F)throw new Error("astFormat is required.");let T=Wh(0,y,N=>N.printers&&ca(N.printers,F));if(T)return T;let B=`Couldn't find plugin for AST format "${F}".`;throw B+=" Plugins must be explicitly added to the standalone bundle.",new tl(B)}function xl({plugins:y,parser:F}){let T=gl(y,F);return El(T,F)}function El(y,F){let T=y.parsers[F];return typeof T=="function"?T():T}async function nd(y,F){let T=y.printers[F],B=typeof T=="function"?await T():T;return sd(B)}function e2(y){let{features:F,getVisitorKeys:T,embed:B,massageAstNode:N,print:L,...z}=y;F=ud(F);let X=F.experimental_frontMatterSupport;T=td(T,X.massageAstNode||X.embed||X.print);let J=N;N&&X.massageAstNode&&(J=new Proxy(N,{apply(ge,De,Se){return Xh(...Se),Reflect.apply(ge,De,Se)}}));let ue=B;if(B){let ge;ue=new Proxy(B,{get(De,Se,ye){return Se==="getVisitorKeys"?(ge??(ge=B.getVisitorKeys?td(B.getVisitorKeys,X.massageAstNode||X.embed):T),ge):Reflect.get(De,Se,ye)},apply:(De,Se,ye)=>X.embed&&YD(...ye)?QD:Reflect.apply(De,Se,ye)})}let me=L;return X.print&&(me=new Proxy(L,{apply(ge,De,Se){let[ye]=Se;return Do(ye.node)?Yh(ye):Reflect.apply(ge,De,Se)}})),{features:F,getVisitorKeys:T,embed:ue,massageAstNode:J,print:me,...z}}var id=new WeakMap;function sd(y){return vt(id,y,e2)}var t2=["clean","embed","print"],ad=Object.fromEntries(t2.map(y=>[y,!1]));function od(y){return{...ad,...y}}function ud(y){return{experimental_avoidAstMutation:!1,...y,experimental_frontMatterSupport:od(y?.experimental_frontMatterSupport)}}var ld={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};async function cd(y,F={}){let T={...y};if(!T.parser){if(!T.filepath)throw new rl("No parser and no file path given, couldn't infer a parser.");if(T.parser=al(T,{physicalFile:T.filepath}),!T.parser)throw new rl(`No parser could be inferred for file "${T.filepath}".`)}let B=dh({plugins:y.plugins,showDeprecated:!0}).options,N={...ld,...Object.fromEntries(B.filter(ge=>ge.default!==void 0).map(ge=>[ge.name,ge.default]))},L=gl(T.plugins,T.parser),z=await El(L,T.parser);T.astFormat=z.astFormat,T.locEnd=z.locEnd,T.locStart=z.locStart;let X=L.printers?.[z.astFormat]?L:rd(T.plugins,z.astFormat),J=await nd(X,z.astFormat);T.printer=J,T.getVisitorKeys=J.getVisitorKeys;let ue=X.defaultOptions?Object.fromEntries(Object.entries(X.defaultOptions).filter(([,ge])=>ge!==void 0)):{},me={...N,...ue};for(let[ge,De]of Object.entries(me))T[ge]??(T[ge]=De);return T.parser==="json"&&(T.trailingComma="none"),KD(T,B,{passThrough:Object.keys(ld),...F})}var Ui=cd,pd=/\r\n|[\n\r\u2028\u2029]/;function hd(y,F,T,B){let N={column:null,line:-1,...y.start},L={...N,...y.end},{linesAbove:z=2,linesBelow:X=3}=T||{},J=N.line-B,ue=N.column,me=L.line-B,ge=L.column,De=Math.max(J-(z+1),0),Se=Math.min(F.length,me+X);J===-1&&(De=0),me===-1&&(Se=F.length);let ye=me-J,Ue={};if(ye)for(let _e=0;_e<=ye;_e++){let Pe=_e+J;if(ue==null)Ue[Pe]=!0;else if(_e===0){let At=F[Pe-1].length;Ue[Pe]=[ue,At-ue]}else if(_e===ye)Ue[Pe]=[0,ge];else{let At=F[Pe-1].length;Ue[Pe]=[0,At]}}else if(ue===ge)ue!=null?Ue[J]=[ue,0]:Ue[J]=!0;else{let _e=ue??0,Pe=ge??_e;Ue[J]=[_e,Pe-_e]}return{start:De,end:Se,markerLines:Ue}}function dd(y,F,T={},B){let{defs:N,highlight:L}=B||{defs:{gutter:String,marker:String,message:String,reset:String},highlight:String},z=(T.startLine||1)-1,X=y.split(pd),{start:J,end:ue,markerLines:me}=hd(F,X,T,z),ge=F.start&&typeof F.start.column=="number",De=String(ue+z).length,Se=L(y).split(pd,ue).slice(J,ue).map((ye,Ue)=>{let _e=J+1+Ue,Pe=` ${` ${_e+z}`.slice(-De)} |`,At=me[_e],Qt=!me[_e+1];if(At){let Gt="";if(Array.isArray(At)){let gr=ye.slice(0,At[0]).replace(/[^\t]/g," "),xr=At[1]||1;Gt=[`
- `,N.gutter(Pe.replace(/\d/g," "))," ",gr,N.marker("^").repeat(xr)].join(""),Qt&&T.message&&(Gt+=" "+N.message(T.message))}return[N.marker(">"),N.gutter(Pe),ye.length>0?` ${ye}`:"",Gt].join("")}else return` ${N.gutter(Pe)}${ye.length>0?` ${ye}`:""}`}).join(`
- `);return T.message&&!ge&&(Se=`${" ".repeat(De+1)}${T.message}
- ${Se}`),N.reset(Se)}function r2(y,F,T={}){return dd(y,F,T)}async function fd(y,F){let T=await xl(F),B=T.preprocess?await T.preprocess(y,F):y;F.originalText=B;let N;try{N=await T.parse(B,F,F)}catch(L){md(L,y)}return{text:B,ast:N}}function md(y,F){let{loc:T}=y;if(T){let{start:B,end:N}=T;B&&(B={line:B.line,column:B.column-1}),N&&(N={line:N.line,column:N.column-1});let L=r2(F,{start:B,end:N},{highlightCode:!0});y.message+=`
- `+L,y.codeFrame=L}throw y}var yo=fd;async function n2(y,F,T,B,N){if(T.embeddedLanguageFormatting!=="auto")return;let{printer:L}=T,{embed:z}=L;if(!z)return;if(z.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:X}=L,{getVisitorKeys:J}=z,ue=[];De();let me=y.stack;for(let{print:Se,node:ye,pathStack:Ue}of ue)try{y.stack=Ue;let _e=await Se(ge,F,y,T);_e&&N.set(ye,_e)}catch(_e){if(globalThis.PRETTIER_DEBUG)throw _e}y.stack=me;function ge(Se,ye){return Dd(Se,ye,T,B)}function De(){let{node:Se}=y;if(Se===null||typeof Se!="object"||X?.(y))return;for(let Ue of J(Se))Array.isArray(Se[Ue])?y.each(De,Ue):y.call(De,Ue);let ye=z(y,T);if(ye){if(typeof ye=="function"){ue.push({print:ye,node:Se,pathStack:[...y.stack]});return}N.set(Se,ye)}}}async function Dd(y,F,T,B){let N=await Ui({...T,...F,parentParser:T.parser,originalText:y,cursorOffset:void 0,rangeStart:void 0,rangeEnd:void 0},{passThrough:!0}),{ast:L}=await yo(y,N),z=await B(L,N);return Yt(z)}function yd(y,F,T,B){let{originalText:N,[Y]:L,locStart:z,locEnd:X,[Symbol.for("printedComments")]:J}=F,{node:ue}=y,me=z(ue),ge=X(ue);for(let Se of L)z(Se)>=me&&X(Se)<=ge&&J.add(Se);let{printPrettierIgnored:De}=F.printer;return De?De(y,F,T,B):N.slice(me,ge)}var i2=yd;async function da(y,F){({ast:y}=await gd(y,F));let T=new Map,B=new kD(y),N=PD(F),L=new Map;await n2(B,X,F,da,L);let z=await Cl(B,F,X,void 0,L);if(ph(F),F.cursorOffset>=0){if(F.nodeAfterCursor&&!F.nodeBeforeCursor)return[li,z];if(F.nodeBeforeCursor&&!F.nodeAfterCursor)return[z,li]}return z;function X(ue,me){return ue===void 0||ue===B?J(me):Array.isArray(ue)?B.call(()=>J(me),...ue):B.call(()=>J(me),ue)}function J(ue){N(B);let me=B.node;if(me==null)return"";let ge=po(me)&&ue===void 0;if(ge&&T.has(me))return T.get(me);let De=Cl(B,F,X,ue,L);return ge&&T.set(me,De),De}}function Cl(y,F,T,B,N){let{node:L}=y,{printer:z}=F,X;switch(z.hasPrettierIgnore?.(y)?X=i2(y,F,T,B):N.has(L)?X=N.get(L):X=z.print(y,F,T,B),L){case F.cursorNode:X=hn(X,J=>[li,J,li]);break;case F.nodeBeforeCursor:X=hn(X,J=>[J,li]);break;case F.nodeAfterCursor:X=hn(X,J=>[li,J]);break}return z.printComment&&Vu(L.comments)&&!z.willPrintOwnComments?.(y,F)&&(X=ch(y,X,F)),X}async function gd(y,F){let T=y.comments??[];F[Y]=T,F[Symbol.for("printedComments")]=new Set,ih(y,F);let{printer:{preprocess:B}}=F;return y=B?await B(y,F):y,{ast:y,comments:T}}function xd(y,F){let{cursorOffset:T,locStart:B,locEnd:N,getVisitorKeys:L}=F,z=Se=>B(Se)<=T&&N(Se)>=T,X=y,J=[y];for(let Se of wD(y,{getVisitorKeys:L,filter:z}))J.push(Se),X=Se;if(eh(X,{getVisitorKeys:L}))return{cursorNode:X};let ue,me,ge=-1,De=Number.POSITIVE_INFINITY;for(;J.length>0&&(ue===void 0||me===void 0);){X=J.pop();let Se=ue!==void 0,ye=me!==void 0;for(let Ue of ua(X,{getVisitorKeys:L})){if(!Se){let _e=N(Ue);_e<=T&&_e>ge&&(ue=Ue,ge=_e)}if(!ye){let _e=B(Ue);_e>=T&&_e<De&&(me=Ue,De=_e)}}}return{nodeBeforeCursor:ue,nodeAfterCursor:me}}var Fl=xd;function s2(y,F){let{printer:T}=F,B=T.massageAstNode;if(!B)return y;let{getVisitorKeys:N}=T,{ignoredProperties:L}=B;return z(y);function z(X,J){if(!po(X))return X;if(Array.isArray(X))return X.map(De=>z(De,J)).filter(Boolean);let ue={},me=new Set(N(X));for(let De in X)!ca(X,De)||L?.has(De)||(me.has(De)?ue[De]=z(X[De],X):ue[De]=X[De]);let ge=B(X,ue,J);if(ge!==null)return ge??ue}}var Ed=s2,Cd=Array.prototype.findLastIndex??function(y){for(let F=this.length-1;F>=0;F--){let T=this[F];if(y(T,F,this))return F}return-1},a2=u("findLastIndex",function(){if(Array.isArray(this))return Cd}),Fd=a2;function Ad(y,F){return F=new Set(F),y.find(T=>kd.has(T.type)&&F.has(T))}function o2(y){let F=Fd(0,y,T=>T.type!=="Program"&&T.type!=="File");return F===-1?y:y.slice(0,F+1)}function u2(y,F,{locStart:T,locEnd:B}){let[N,...L]=y,[z,...X]=F;if(N===z)return[N,z];let J=T(N);for(let me of o2(X))if(T(me)>=J)z=me;else break;let ue=B(z);for(let me of o2(L)){if(B(me)<=ue)N=me;else break;if(N===z)break}return[N,z]}function go(y,F,T,B,N=[],L,z){let{locStart:X,locEnd:J}=z,ue=X(y),me=J(y);if(F>me||F<ue||L==="rangeEnd"&&F===ue||L==="rangeStart"&&F===me)return;let ge=[y,...N],De=zu(y,ge,{cache:Wu,locStart:X,locEnd:J,getVisitorKeys:T.getVisitorKeys,filter:T.printer.canAttachComment,getChildren:T.printer.getCommentChildNodes});for(let Se of De){let ye=go(Se,F,T,B,ge,L,z);if(ye)return ye}if(B(y,N[0]))return ge}function bd(y,F){return F!=="DeclareExportDeclaration"&&y!=="TypeParameterDeclaration"&&(y==="Directive"||y==="TypeAlias"||y==="TSExportAssignment"||y.startsWith("Declare")||y.startsWith("TSDeclare")||y.endsWith("Statement")||y.endsWith("Declaration"))}var kd=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Td=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Al(y,F,T){if(!F)return!1;switch(y.parser){case"flow":case"hermes":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"oxc":case"oxc-ts":case"yuku":case"yuku-ts":case"__babel_estree":return bd(F.type,T?.type);case"json":case"json5":case"jsonc":case"json-stringify":return kd.has(F.type);case"graphql":return Td.has(F.kind);case"vue":return F.tag!=="root"}return!1}function l2(y,F,T){let{rangeStart:B,rangeEnd:N}=F;A(N>B);let L=y.slice(B,N).search(/\S/),z=L===-1;if(!z)for(B+=L;N>B&&!/\S/.test(y[N-1]);--N);let X=F.printer.features?.experimental_locForRangeFormat??F,J=go(T,B,F,(ye,Ue)=>Al(F,ye,Ue),[],"rangeStart",X);if(!J)return;let ue=z?J:go(T,N,F,ye=>Al(F,ye),[],"rangeEnd",X);if(!ue)return;let me,ge;if(T.type==="JsonRoot"){let ye=Ad(J,ue);me=ye,ge=ye}else[me,ge]=u2(J,ue,F);let{locStart:De,locEnd:Se}=X;return[Math.min(De(me),De(ge)),Math.max(Se(me),Se(ge))]}var bl="\uFEFF",kl=Symbol("cursor");async function vd(y,F,T=0){if(!y||y.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:B,text:N}=await yo(y,F);F.cursorOffset>=0&&(F={...F,...Fl(B,F)});let L=await da(B,F,T);T>0&&(L=bp([_n,L],T,F.tabWidth));let z=oa(L,F);if(T>0){let J=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(J),z.cursorNodeStart<0&&(z.cursorNodeStart=0,z.cursorNodeText=z.cursorNodeText.trimStart()),z.cursorNodeStart+z.cursorNodeText.length>J.length&&(z.cursorNodeText=z.cursorNodeText.trimEnd())),z.formatted=J+W(F.endOfLine)}let X=F[Y];if(F.cursorOffset>=0){let J,ue,me,ge;if((F.cursorNode||F.nodeBeforeCursor||F.nodeAfterCursor)&&z.cursorNodeText)if(me=z.cursorNodeStart,ge=z.cursorNodeText,F.cursorNode)J=F.locStart(F.cursorNode),ue=N.slice(J,F.locEnd(F.cursorNode));else{if(!F.nodeBeforeCursor&&!F.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");J=F.nodeBeforeCursor?F.locEnd(F.nodeBeforeCursor):0;let Pe=F.nodeAfterCursor?F.locStart(F.nodeAfterCursor):N.length;ue=N.slice(J,Pe)}else J=0,ue=N,me=0,ge=z.formatted;let De=F.cursorOffset-J;if(ue===ge)return{formatted:z.formatted,cursorOffset:me+De,comments:X};let Se=ue.split("");Se.splice(De,0,kl);let ye=ge.split(""),Ue=g(Se,ye),_e=me;for(let Pe of Ue)if(Pe.removed){if(Pe.value.includes(kl))break}else _e+=Pe.count;return{formatted:z.formatted,cursorOffset:_e,comments:X}}return{formatted:z.formatted,cursorOffset:-1,comments:X}}async function Sd(y,F){let{ast:T,text:B}=await yo(y,F),[N,L]=l2(B,F,T)??[0,0],z=B.slice(N,L),X=Math.min(N,B.lastIndexOf(`
- `,N)+1),J=B.slice(X,N).match(/^\s*/)[0],ue=Uu(J,F.tabWidth),me=await vd(z,{...F,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:F.cursorOffset>N&&F.cursorOffset<=L?F.cursorOffset-N:-1,endOfLine:"lf"},ue),ge=me.formatted.trimEnd(),{cursorOffset:De}=F;De>L?De+=ge.length-z.length:me.cursorOffset>=0&&(De=me.cursorOffset+N);let Se=B.slice(0,N)+ge+B.slice(L);if(F.endOfLine!=="lf"){let ye=W(F.endOfLine);De>=0&&ye===`\r
- `&&(De+=H(Se.slice(0,De),`
- `)),Se=p(0,Se,`
- `,ye)}return{formatted:Se,cursorOffset:De,comments:me.comments}}function xo(y,F,T){return typeof F!="number"||Number.isNaN(F)||F<0||F>y.length?T:F}function wd(y,F){let{cursorOffset:T,rangeStart:B,rangeEnd:N}=F;return T=xo(y,T,-1),B=xo(y,B,0),N=xo(y,N,y.length),{...F,cursorOffset:T,rangeStart:B,rangeEnd:N}}function Tl(y,F){let{cursorOffset:T,rangeStart:B,rangeEnd:N,endOfLine:L}=wd(y,F),z=y.charAt(0)===bl;if(z&&(y=y.slice(1),T--,B--,N--),L==="auto"&&(L=M(y)),y.includes("\r")){let X=J=>H(y.slice(0,Math.max(J,0)),`\r
- `);T-=X(T),B-=X(B),N-=X(N),y=$(y)}return{hasBOM:z,text:y,options:wd(y,{...F,cursorOffset:T,rangeStart:B,rangeEnd:N,endOfLine:L})}}async function vl(y,F){let T=await xl(F);return!T.hasPragma||T.hasPragma(y)}async function c2(y,F){return(await xl(F)).hasIgnorePragma?.(y)}async function Sl(y,F){let{hasBOM:T,text:B,options:N}=Tl(y,await Ui(F));if(N.rangeStart>=N.rangeEnd&&B!==""||N.requirePragma&&!await vl(B,N)||N.checkIgnorePragma&&await c2(B,N))return{formatted:y,cursorOffset:F.cursorOffset,comments:[]};let L;return N.rangeStart>0||N.rangeEnd<B.length?L=await Sd(B,N):(!N.requirePragma&&N.insertPragma&&N.printer.insertPragma&&!await vl(B,N)&&(B=N.printer.insertPragma(B)),L=await vd(B,N)),T&&(L.formatted=bl+L.formatted,L.cursorOffset>=0&&L.cursorOffset++),L}async function _d(y,F,T){let{text:B,options:N}=Tl(y,await Ui(F)),L=await yo(B,N);return T&&(T.preprocessForPrint&&(L.ast=await gd(L.ast,N)),T.massage&&(L.ast=Ed(L.ast,N))),L}async function p2(y,F){F=await Ui(F);let T=await da(y,F);return oa(T,F)}async function Bd(y,F){let T=Bp(y),{formatted:B}=await Sl(T,{...F,parser:"__js_expression"});return B}async function Pd(y,F){F=await Ui(F);let{ast:T}=await yo(y,F);return F.cursorOffset>=0&&(F={...F,...Fl(T,F)}),da(T,F)}async function h2(y,F){return oa(y,await Ui(F))}var wl={};i(wl,{builders:()=>d2,printer:()=>Id,utils:()=>Nd});var d2={join:Pu,line:Iu,softline:vp,hardline:_n,literalline:Sp,group:Bu,conditionalGroup:kp,fill:DD,lineSuffix:uo,lineSuffixBoundary:wp,cursor:li,breakParent:aa,ifBreak:yD,trim:_p,indent:Jn,indentIfBreak:Tp,align:Ri,addAlignmentToDoc:bp,markAsRoot:_u,dedentToRoot:mD,dedent:Ap,hardlineWithoutBreakParent:Nu,literallineWithoutBreakParent:Lu,label:gD,concat:y=>y},Id={printDocToString:oa},Nd={willBreak:ct,traverseDoc:he,findInDoc:Qe,mapDoc:Fe,removeLines:Dr,stripTrailingHardline:Yt,replaceEndOfLine:Mi,canBreak:Wt},Ld="3.9.9",Od={};i(Od,{addDanglingComment:()=>pi,addLeadingComment:()=>Cs,addTrailingComment:()=>la,getAlignmentSize:()=>Uu,getIndentSize:()=>qd,getMaxContinuousCount:()=>Vd,getNextNonSpaceNonCommentCharacter:()=>Bl,getNextNonSpaceNonCommentCharacterIndex:()=>Xd,getPreferredQuote:()=>Wd,getStringWidth:()=>lo,hasNewline:()=>Xn,hasNewlineInRange:()=>g2,hasSpaces:()=>Kd,isNextLineEmpty:()=>C2,isNextLineEmptyAfterIndex:()=>Fo,isPreviousLineEmpty:()=>E2,makeString:()=>Zd,skip:()=>xs,skipEverythingButNewLine:()=>Es,skipInlineComment:()=>Eo,skipNewline:()=>ci,skipSpaces:()=>Kn,skipToLineEnd:()=>$u,skipTrailingComment:()=>Co,skipWhitespace:()=>vD});function Md(y,F){if(F===!1)return!1;if(y.charAt(F)==="/"&&y.charAt(F+1)==="*"){for(let T=F+2;T<y.length;++T)if(y.charAt(T)==="*"&&y.charAt(T+1)==="/")return T+2}return F}var Eo=Md;function f2(y,F){return F===!1?!1:y.charAt(F)==="/"&&y.charAt(F+1)==="/"?Es(y,F):F}var Co=f2;function Rd(y,F){let T=null,B=F;for(;B!==T;)T=B,B=Kn(y,B),B=Eo(y,B),B=Co(y,B),B=ci(y,B);return B}var _l=Rd;function jd(y,F){let T=null,B=F;for(;B!==T;)T=B,B=$u(y,B),B=Eo(y,B),B=Kn(y,B);return B=Co(y,B),B=ci(y,B),B!==!1&&Xn(y,B)}var Fo=jd;function m2(y,F){let T=y.lastIndexOf(`
- `);return T===-1?0:Uu(y.slice(T+1).match(/^[\t ]*/)[0],F)}var qd=m2;function Ud(y){if(typeof y!="string")throw new TypeError("Expected a string");return y.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function D2(y,F){let T=y.matchAll(new RegExp(`(?:${Ud(F)})+`,"g"));return T.reduce||(T=[...T]),T.reduce((B,[N])=>Math.max(B,N.length),0)/F.length}var Vd=D2;function $d(y,F){let T=_l(y,F);return T===!1?"":y.charAt(T)}var Bl=$d,zd=Object.freeze({character:"'",codePoint:39}),Pl=Object.freeze({character:'"',codePoint:34}),Hd=Object.freeze({preferred:zd,alternate:Pl}),y2=Object.freeze({preferred:Pl,alternate:zd});function Wd(y,F){let{preferred:T,alternate:B}=F===!0||F==="'"?Hd:y2,{length:N}=y,L=0,z=0;for(let X=0;X<N;X++){let J=y.charCodeAt(X);J===T.codePoint?L++:J===B.codePoint&&z++}return(L>z?B:T).character}function Gd(y,F,T){for(let B=F;B<T;++B)if(y.charAt(B)===`
- `)return!0;return!1}var g2=Gd;function Jd(y,F,T={}){return Kn(y,T.backwards?F-1:F,T)!==F}var Kd=Jd;function x2(y,F,T){return _l(y,T(F))}function Xd(y,F){return arguments.length===2||typeof F=="number"?_l(y,F):x2(...arguments)}function Yd(y,F,T){return Qu(y,T(F))}function E2(y,F){return arguments.length===2||typeof F=="number"?Qu(y,F):Yd(...arguments)}function Qd(y,F,T){return Fo(y,T(F))}function Zd(y,F,T){let B=F==='"'?"'":'"',N=p(0,y,/\\(.)|(["'])/gs,(L,z,X)=>z===B?z:X===F?"\\"+X:X||(T&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(z)?z:"\\"+z));return F+N+F}function C2(y,F){return arguments.length===2||typeof F=="number"?Fo(y,F):Qd(...arguments)}function hi(y,F=1){return async(...T)=>{let B=T[F]??{},N=B.plugins??[];return T[F]={...B,plugins:Array.isArray(N)?N:Object.values(N)},await y(...T)}}var Il=hi(Sl);async function ef(y,F){let{formatted:T}=await Il(y,{...F,cursorOffset:-1});return T}async function F2(y,F){return await ef(y,F)===y}var A2=hi(dh,0),yr={parse:hi(_d),formatAST:hi(p2),formatDoc:hi(Bd),printToDoc:hi(Pd),printDocToString:hi(h2)};return a(o)})});var s_=pf((Nae,i_)=>{Jt();function n_(){var e=new Error("ENOENT");throw e.code="ENOENT",e}i_.exports={existsSync:function(){return!1},readFileSync:n_,statSync:n_,promises:{readFile:function(){return Promise.reject(new Error("ENOENT"))}}}});var o_=pf((Oae,a_)=>{Jt();function Fp(e){var t=[];return e.split("/").forEach(function(r){!r||r==="."||(r===".."?t.pop():t.push(r))}),"/"+t.join("/")}a_.exports={sep:"/",delimiter:":",join:function(){return Fp([].slice.call(arguments).join("/"))},resolve:function(){return Fp([].slice.call(arguments).join("/"))},normalize:Fp,dirname:function(e){return Fp(e+"/..")},basename:function(e,t){var r=String(e).split("/").pop();return t&&r.slice(-t.length)===t?r.slice(0,-t.length):r},extname:function(e){var t=/\.[^./]*$/.exec(e);return t?t[0]:""},isAbsolute:function(e){return String(e).charAt(0)==="/"},relative:function(e,t){return t},parse:function(e){return{root:"/",dir:Fp(e+"/.."),base:String(e).split("/").pop(),ext:"",name:String(e).split("/").pop()}}}});var l_=pf((fD,u_)=>{Jt();(function(e,t){typeof fD=="object"&&typeof u_<"u"?t(fD,r_(),s_(),o_()):typeof define=="function"&&define.amd?define(["exports","prettier/standalone","fs","path"],t):t(((e=typeof globalThis<"u"?globalThis:e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.php={}),e.prettier,e.fs,e.path)})(fD,(function(e,t,r,n){"use strict";function i(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var s={exports:{}},a={attributeIndex:0,attributeListDepth:{},matchST_ATTRIBUTE(){let l=this.input();if(this.is_WHITESPACE()){do this.input();while(this.is_WHITESPACE());return this.unput(1),null}switch(l){case"]":return this.attributeListDepth[this.attributeIndex]===0?(delete this.attributeListDepth[this.attributeIndex],this.attributeIndex--,this.popState()):this.attributeListDepth[this.attributeIndex]--,"]";case"(":case")":case":":case"=":case"|":case"&":case"^":case"-":case"+":case"*":case"%":case"~":case"<":case">":case"!":case".":return this.consume_TOKEN();case"[":return this.attributeListDepth[this.attributeIndex]++,"[";case",":return",";case'"':return this.ST_DOUBLE_QUOTES();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case"/":return this._input[this.offset]==="/"?this.T_COMMENT():this._input[this.offset]==="*"?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN()}if(this.is_LABEL_START()||l==="\\"){for(;this.offset<this.size;){let m=this.input();if(!this.is_LABEL()&&m!=="\\"){m&&this.unput(1);break}}return this.T_STRING()}if(this.is_NUM())return this.consume_NUM();throw new Error(`Bad terminal sequence "${l}" at line ${this.yylineno} (offset ${this.offset})`)}},o={T_COMMENT(){for(;this.offset<this.size;){let l=this.input();if(l===`
- `||l==="\r")return this.tok.T_COMMENT;if(l==="?"&&!this.aspTagMode&&this._input[this.offset]===">")return this.unput(1),this.tok.T_COMMENT;if(l==="%"&&this.aspTagMode&&this._input[this.offset]===">")return this.unput(1),this.tok.T_COMMENT}return this.tok.T_COMMENT},T_DOC_COMMENT(){let l=this.input(),m=this.tok.T_COMMENT;if(l==="*"){if(l=this.input(),this.is_WHITESPACE()&&(m=this.tok.T_DOC_COMMENT),l==="/")return m;this.unput(1)}for(;this.offset<this.size;)if(l=this.input(),l==="*"&&this._input[this.offset]==="/"){this.input();break}return m}},u={nextINITIAL(){return this.conditionStack.length>1&&this.conditionStack[this.conditionStack.length-1]==="INITIAL"?this.popState():this.begin("ST_IN_SCRIPTING"),this},matchINITIAL(){for(;this.offset<this.size;){let l=this.input();if(l=="<"){if(l=this.ahead(1),l=="?"){if(this.tryMatch("?=")){this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}if(this.tryMatchCaseless("?php")&&(l=this._input[this.offset+4],l===" "||l===" "||l===`
- `||l==="\r")){this.unput(1).appendToken(this.tok.T_OPEN_TAG,6).nextINITIAL();break}if(this.short_tags){this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}else if(this.asp_tags&&l=="%"){if(this.tryMatch("%=")){this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}}return this.yytext.length>0&&this.tok.T_INLINE_HTML}},h={consume_NUM(){let l=this.yytext[0],m=l===".";if(l==="0")if(l=this.input(),l==="x"||l==="X"){if(l=this.input(),l!=="_"&&this.is_HEX())return this.consume_HNUM();this.unput(l?2:1)}else if(l==="b"||l==="B"){if(l=this.input(),l!=="_"&&l==="0"||l==="1")return this.consume_BNUM();this.unput(l?2:1)}else if(l==="o"||l==="O"){if(l=this.input(),l!=="_"&&this.is_OCTAL())return this.consume_ONUM();this.unput(l?2:1)}else this.is_NUM()||l&&this.unput(1);for(;this.offset<this.size;){let E=l;if(l=this.input(),l==="_"){if(E==="_"){this.unput(2);break}if(E==="."){this.unput(1);break}if(E==="e"||E==="E"){this.unput(2);break}}else{if(l==="."){if(m){this.unput(1);break}if(E==="_"){this.unput(2);break}m=!0;continue}if(l==="e"||l==="E"){if(E==="_"){this.unput(1);break}let b=2;if(l=this.input(),l!=="+"&&l!=="-"||(b=3,l=this.input()),this.is_NUM_START())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(l?b:b-1);break}}if(!this.is_NUM()){l&&this.unput(1);break}}return m?this.tok.T_DNUMBER:this.yytext.length<9||this.yytext.length<10||this.yytext.length==10&&this.yytext<"2147483648"?this.tok.T_LNUMBER:this.tok.T_DNUMBER},consume_HNUM(){for(;this.offset<this.size;){let l=this.input();if(!this.is_HEX()){l&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_LNUM(){for(;this.offset<this.size;){let l=this.input();if(!this.is_NUM()){l&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_BNUM(){let l;for(;this.offset<this.size;)if(l=this.input(),l!=="0"&&l!=="1"&&l!=="_"){l&&this.unput(1);break}return this.tok.T_LNUMBER},consume_ONUM(){for(;this.offset<this.size;){let l=this.input();if(!this.is_OCTAL()){l&&this.unput(1);break}}return this.tok.T_LNUMBER}},c={matchST_LOOKING_FOR_PROPERTY(){let l=this.input();if(l==="-"){if(l=this.input(),l===">")return this.tok.T_OBJECT_OPERATOR;l&&this.unput(1)}else{if(this.is_WHITESPACE())return this.tok.T_WHITESPACE;if(this.is_LABEL_START())return this.consume_LABEL(),this.popState(),this.tok.T_STRING}return this.popState(),l&&this.unput(1),!1},matchST_LOOKING_FOR_VARNAME(){let l=this.input();if(this.popState(),this.begin("ST_IN_SCRIPTING"),this.is_LABEL_START()){if(this.consume_LABEL(),l=this.input(),l==="["||l==="}")return this.unput(1),this.tok.T_STRING_VARNAME;this.unput(this.yytext.length)}else l&&this.unput(1);return!1},matchST_VAR_OFFSET(){let l=this.input();if(this.is_NUM_START())return this.consume_NUM(),this.tok.T_NUM_STRING;if(l==="]")return this.popState(),"]";if(l==="$"){if(this.input(),this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_VARIABLE;throw new Error("Unexpected terminal")}if(this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_STRING;if(this.is_WHITESPACE()||l==="\\"||l==="'"||l==="#")return this.tok.T_ENCAPSED_AND_WHITESPACE;if(l==="["||l==="{"||l==="}"||l==='"'||l==="`"||this.is_TOKEN())return l;throw new Error("Unexpected terminal")}},p={matchST_IN_SCRIPTING(){let l=this.input();switch(l){case" ":case" ":case`
- `:case"\r":case`\r
- `:return this.T_WHITESPACE();case"#":return this.version>=800&&this._input[this.offset]==="["?(this.input(),this.attributeListDepth[++this.attributeIndex]=0,this.begin("ST_ATTRIBUTE"),this.tok.T_ATTRIBUTE):this.T_COMMENT();case"/":return this._input[this.offset]==="/"?this.T_COMMENT():this._input[this.offset]==="*"?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case'"':return this.ST_DOUBLE_QUOTES();case"`":return this.begin("ST_BACKQUOTE"),"`";case"?":if(!this.aspTagMode&&this.tryMatch(">")){this.input();let m=this._input[this.offset];return m!==`
- `&&m!=="\r"||this.input(),this.conditionStack.length>1&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG}return this.consume_TOKEN();case"%":return this.aspTagMode&&this._input[this.offset]===">"?(this.input(),l=this._input[this.offset],l!==`
- `&&l!=="\r"||this.input(),this.aspTagMode=!1,this.conditionStack.length>1&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"{":return this.begin("ST_IN_SCRIPTING"),"{";case"}":return this.conditionStack.length>2&&this.popState(),"}";default:if(l==="."){if(l=this.input(),this.is_NUM_START())return this.consume_NUM();l&&this.unput(1)}if(this.is_NUM_START())return this.consume_NUM();if(this.is_LABEL_START())return this.consume_LABEL().T_STRING();if(this.is_TOKEN())return this.consume_TOKEN()}throw new Error('Bad terminal sequence "'+l+'" at line '+this.yylineno+" (offset "+this.offset+")")},T_WHITESPACE(){for(;this.offset<this.size;){let l=this.input();if(l!==" "&&l!==" "&&l!==`
- `&&l!=="\r"){l&&this.unput(1);break}}return this.tok.T_WHITESPACE}};let d=[`
- `,"\r"],f=[`
- `,"\r",";"],D=f.concat([" "," ",",","]",")","/","=","!","."]);var g={T_CONSTANT_ENCAPSED_STRING(){let l;for(;this.offset<this.size;)if(l=this.input(),l=="\\")this.input();else if(l=="'")break;return this.tok.T_CONSTANT_ENCAPSED_STRING},is_HEREDOC(){let l=this.offset;if(this._input[this.offset-1]==="<"&&this._input[this.offset]==="<"&&this._input[this.offset+1]==="<"){if(this.offset+=3,this.is_TABSPACE())for(;this.offset<this.size&&(this.offset++,this.is_TABSPACE()););let m=this._input[this.offset-1];if(m==="'"||m==='"'?this.offset++:m=null,this.is_LABEL_START()){let E=this.offset-1;for(;this.offset<this.size&&(this.offset++,this.is_LABEL()););let b=this._input.substring(E,this.offset-1);if((!m||m===this._input[this.offset-1])&&(m&&this.offset++,d.includes(this._input[this.offset-1])))return this.heredoc_label.label=b,this.heredoc_label.length=b.length,this.heredoc_label.finished=!1,E=this.offset-l,this.offset=l,this.consume(E),m==="'"?this.begin("ST_NOWDOC"):this.begin("ST_HEREDOC"),this.prematch_ENDOFDOC(),this.tok.T_START_HEREDOC}}return this.offset=l,!1},ST_DOUBLE_QUOTES(){let l;for(;this.offset<this.size;)if(l=this.input(),l=="\\")this.input();else{if(l=='"')break;if(l=="$"){if(l=this.input(),l=="{"||this.is_LABEL_START()){this.unput(2);break}l&&this.unput(1)}else if(l=="{"){if(l=this.input(),l=="$"){this.unput(2);break}l&&this.unput(1)}}if(l=='"')return this.tok.T_CONSTANT_ENCAPSED_STRING;{let m=1;return this.yytext[0]!=="b"&&this.yytext[0]!=="B"||(m=2),this.yytext.length>2&&this.appendToken(this.tok.T_ENCAPSED_AND_WHITESPACE,this.yytext.length-m),this.unput(this.yytext.length-m),this.begin("ST_DOUBLE_QUOTES"),this.yytext}},isDOC_MATCH(l,m){let E=this._input[l-2];if(!d.includes(E))return!1;let b=!1,_=!1,q=0,G=this._input[l-1];if(this.version>=703){for(;G===" "||G===" ";)G===" "?b=!0:G===" "&&(_=!0),G=this._input[l+q],q++;if(l+=q,d.includes(this._input[l-1]))return!1}if(this._input.substring(l-1,l-1+this.heredoc_label.length)===this.heredoc_label.label){let V=this._input[l-1+this.heredoc_label.length];if((this.version>=703?D:f).includes(V)){if(m){if(this.consume(q),b&&_)throw new Error("Parse error: mixing spaces and tabs in ending marker at line "+this.yylineno+" (offset "+this.offset+")")}else this.heredoc_label.indentation=q,this.heredoc_label.indentation_uses_spaces=b,this.heredoc_label.first_encaps_node=!0;return!0}}return!1},prematch_ENDOFDOC(){this.heredoc_label.indentation_uses_spaces=!1,this.heredoc_label.indentation=0,this.heredoc_label.first_encaps_node=!0;let l=this.offset+1;for(;l<this._input.length;){if(this.isDOC_MATCH(l,!1))return;if(!d.includes(this._input[l-1]))for(;!d.includes(this._input[l++])&&l<this._input.length;);l++}},matchST_NOWDOC(){if(this.isDOC_MATCH(this.offset,!0))return this.consume(this.heredoc_label.length),this.popState(),this.tok.T_END_HEREDOC;let l=this._input[this.offset-1];for(;this.offset<this.size;)if(d.includes(l)){if(l=this.input(),this.isDOC_MATCH(this.offset,!0))return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else l=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_HEREDOC(){let l=this.input();if(this.isDOC_MATCH(this.offset,!0))return this.consume(this.heredoc_label.length-1),this.popState(),this.tok.T_END_HEREDOC;for(;this.offset<this.size;)if(l==="\\"&&(l=this.input(),d.includes(l)||(l=this.input())),d.includes(l)){if(l=this.input(),this.isDOC_MATCH(this.offset,!0))return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else if(l==="$"){if(l=this.input(),l==="{")return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){let m=this.offset,E=this.consume_VARIABLE();return this.yytext.length>this.offset-m+2?(this.appendToken(E,this.offset-m+2),this.unput(this.offset-m+2),this.tok.T_ENCAPSED_AND_WHITESPACE):E}}else if(l==="{"){if(l=this.input(),l==="$")return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN)}else l=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},consume_VARIABLE(){this.consume_LABEL();let l=this.input();if(l=="[")return this.unput(1),this.begin("ST_VAR_OFFSET"),this.tok.T_VARIABLE;if(l==="-"){if(this.input()===">")return this.input(),this.is_LABEL_START()&&this.begin("ST_LOOKING_FOR_PROPERTY"),this.unput(3),this.tok.T_VARIABLE;this.unput(2)}else l&&this.unput(1);return this.tok.T_VARIABLE},matchST_BACKQUOTE(){let l=this.input();if(l==="$"){if(l=this.input(),l==="{")return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if(l==="{"){if(this._input[this.offset]==="$")return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if(l==="`")return this.popState(),"`";for(;this.offset<this.size;){if(l==="\\")this.input();else{if(l==="`"){this.unput(1),this.popState(),this.appendToken("`",1);break}if(l==="$"){if(l=this.input(),l==="{")return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){let m=this.offset,E=this.consume_VARIABLE();return this.yytext.length>this.offset-m+2?(this.appendToken(E,this.offset-m+2),this.unput(this.offset-m+2),this.tok.T_ENCAPSED_AND_WHITESPACE):E}continue}if(l==="{"){if(l=this.input(),l==="$")return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);continue}}l=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_DOUBLE_QUOTES(){let l=this.input();if(l==="$"){if(l=this.input(),l==="{")return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if(l==="{"){if(this._input[this.offset]==="$")return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if(l==='"')return this.popState(),'"';for(;this.offset<this.size;){if(l==="\\")this.input();else{if(l==='"'){this.unput(1),this.popState(),this.appendToken('"',1);break}if(l==="$"){if(l=this.input(),l==="{")return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){let m=this.offset,E=this.consume_VARIABLE();return this.yytext.length>this.offset-m+2?(this.appendToken(E,this.offset-m+2),this.unput(this.offset-m+2),this.tok.T_ENCAPSED_AND_WHITESPACE):E}l&&this.unput(1)}else if(l==="{"){if(l=this.input(),l==="$")return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);l&&this.unput(1)}}l=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE}},x={T_STRING(){let l=this.yytext.toLowerCase(),m=this.keywords[l];if(typeof m!="number"){if(l==="yield")this.version>=700&&this.tryMatch(" from")?(this.consume(5),m=this.tok.T_YIELD_FROM):m=this.tok.T_YIELD;else if(m=this.tok.T_STRING,l==="b"||l==="B"){let E=this.input();if(E==='"')return this.ST_DOUBLE_QUOTES();if(E==="'")return this.T_CONSTANT_ENCAPSED_STRING();E&&this.unput(1)}}if(m===this.tok.T_ENUM){if(this.version<801)return this.tok.T_STRING;let E=this.offset,b=this.input();for(;b==" ";)b=this.input();let _=!1;if(this.is_LABEL_START()){for(;this.is_LABEL();)b+=this.input();let q=b.slice(0,-1).toLowerCase();_=q!=="extends"&&q!=="implements"}return this.unput(this.offset-E),_?this.tok.T_ENUM:this.tok.T_STRING}if(this.offset<this.size&&m!==this.tok.T_YIELD_FROM){let E=this.input();if(E==="\\"){m=l==="namespace"?this.tok.T_NAME_RELATIVE:this.tok.T_NAME_QUALIFIED;do{if(this._input[this.offset]==="{"){this.input();break}this.consume_LABEL(),E=this.input()}while(E==="\\")}E&&this.unput(1)}return m},consume_TOKEN(){let l=this._input[this.offset-1],m=this.tokenTerminals[l];return m?m.apply(this,[]):this.yytext},tokenTerminals:{$(){return this.offset++,this.is_LABEL_START()?(this.offset--,this.consume_LABEL(),this.tok.T_VARIABLE):(this.offset--,"$")},"-"(){let l=this._input[this.offset];return l===">"?(this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_OBJECT_OPERATOR):l==="-"?(this.input(),this.tok.T_DEC):l==="="?(this.input(),this.tok.T_MINUS_EQUAL):"-"},"\\"(){if(this.offset<this.size){if(this.input(),this.is_LABEL_START()){let l;do{if(this._input[this.offset]==="{"){this.input();break}this.consume_LABEL(),l=this.input()}while(l==="\\");return this.unput(1),this.tok.T_NAME_FULLY_QUALIFIED}this.unput(1)}return this.tok.T_NS_SEPARATOR},"/"(){return this._input[this.offset]==="="?(this.input(),this.tok.T_DIV_EQUAL):"/"},":"(){return this._input[this.offset]===":"?(this.input(),this.tok.T_DOUBLE_COLON):":"},"("(){let l=this.offset;if(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this.is_LABEL_START()){let m=this.yytext.length;this.consume_LABEL();let E=this.yytext.substring(m-1).toLowerCase(),b=this.castKeywords[E];if(typeof b=="number"&&(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this._input[this.offset-1]===")"))return b}return this.unput(this.offset-l),"("},"="(){let l=this._input[this.offset];return l===">"?(this.input(),this.tok.T_DOUBLE_ARROW):l==="="?this._input[this.offset+1]==="="?(this.consume(2),this.tok.T_IS_IDENTICAL):(this.input(),this.tok.T_IS_EQUAL):"="},"+"(){let l=this._input[this.offset];return l==="+"?(this.input(),this.tok.T_INC):l==="="?(this.input(),this.tok.T_PLUS_EQUAL):"+"},"!"(){return this._input[this.offset]==="="?this._input[this.offset+1]==="="?(this.consume(2),this.tok.T_IS_NOT_IDENTICAL):(this.input(),this.tok.T_IS_NOT_EQUAL):"!"},"?"(){return this.version>=700&&this._input[this.offset]==="?"?this.version>=704&&this._input[this.offset+1]==="="?(this.consume(2),this.tok.T_COALESCE_EQUAL):(this.input(),this.tok.T_COALESCE):this.version>=800&&this._input[this.offset]==="-"&&this._input[this.offset+1]===">"?(this.consume(1),this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_NULLSAFE_OBJECT_OPERATOR):"?"},"<"(){let l=this._input[this.offset];return l==="<"?(l=this._input[this.offset+1],l==="="?(this.consume(2),this.tok.T_SL_EQUAL):l==="<"&&this.is_HEREDOC()?this.tok.T_START_HEREDOC:(this.input(),this.tok.T_SL)):l==="="?(this.input(),this.version>=700&&this._input[this.offset]===">"?(this.input(),this.tok.T_SPACESHIP):this.tok.T_IS_SMALLER_OR_EQUAL):l===">"?(this.input(),this.tok.T_IS_NOT_EQUAL):"<"},">"(){let l=this._input[this.offset];return l==="="?(this.input(),this.tok.T_IS_GREATER_OR_EQUAL):l===">"?(l=this._input[this.offset+1],l==="="?(this.consume(2),this.tok.T_SR_EQUAL):(this.input(),this.tok.T_SR)):">"},"*"(){let l=this._input[this.offset];return l==="="?(this.input(),this.tok.T_MUL_EQUAL):l==="*"?(this.input(),this._input[this.offset]==="="?(this.input(),this.tok.T_POW_EQUAL):this.tok.T_POW):"*"},"."(){let l=this._input[this.offset];return l==="="?(this.input(),this.tok.T_CONCAT_EQUAL):l==="."&&this._input[this.offset+1]==="."?(this.consume(2),this.tok.T_ELLIPSIS):"."},"%"(){return this._input[this.offset]==="="?(this.input(),this.tok.T_MOD_EQUAL):"%"},"&"(){let l=this._input[this.offset];return l==="="?(this.input(),this.tok.T_AND_EQUAL):l==="&"?(this.input(),this.tok.T_BOOLEAN_AND):"&"},"|"(){let l=this._input[this.offset];return l==="="?(this.input(),this.tok.T_OR_EQUAL):l==="|"?(this.input(),this.tok.T_BOOLEAN_OR):l===">"?(this.input(),this.tok.T_PIPE):"|"},"^"(){return this._input[this.offset]==="="?(this.input(),this.tok.T_XOR_EQUAL):"^"}}},A={is_NUM(){let l=this._input.charCodeAt(this.offset-1);return l>47&&l<58||l===95},is_NUM_START(){let l=this._input.charCodeAt(this.offset-1);return l>47&&l<58},is_LABEL(){let l=this._input.charCodeAt(this.offset-1);return l>96&&l<123||l>64&&l<91||l===95||l>47&&l<58||l>126},is_LABEL_START(){let l=this._input.charCodeAt(this.offset-1);return l>64&&l<91||l>96&&l<123||l===95||l>126},consume_LABEL(){for(;this.offset<this.size;){let l=this.input();if(!this.is_LABEL()){l&&this.unput(1);break}}return this},is_TOKEN(){let l=this._input[this.offset-1];return";:,.\\[]()|^&+-/*=%!~$<>?@".indexOf(l)!==-1},is_WHITESPACE(){let l=this._input[this.offset-1];return l===" "||l===" "||l===`
- `||l==="\r"},is_TABSPACE(){let l=this._input[this.offset-1];return l===" "||l===" "},consume_TABSPACE(){for(;this.offset<this.size;){let l=this.input();if(!this.is_TABSPACE()){l&&this.unput(1);break}}return this},is_HEX(){let l=this._input.charCodeAt(this.offset-1);return l>47&&l<58||l>64&&l<71||l>96&&l<103||l===95},is_OCTAL(){let l=this._input.charCodeAt(this.offset-1);return l>47&&l<56||l===95}};let C=function(l){this.engine=l,this.tok=this.engine.tokens.names,this.EOF=1,this.debug=!1,this.all_tokens=!0,this.comment_tokens=!1,this.mode_eval=!1,this.asp_tags=!1,this.short_tags=!1,this.version=803,this.yyprevcol=0,this.keywords={__class__:this.tok.T_CLASS_C,__trait__:this.tok.T_TRAIT_C,__function__:this.tok.T_FUNC_C,__method__:this.tok.T_METHOD_C,__line__:this.tok.T_LINE,__file__:this.tok.T_FILE,__dir__:this.tok.T_DIR,__namespace__:this.tok.T_NS_C,exit:this.tok.T_EXIT,die:this.tok.T_EXIT,function:this.tok.T_FUNCTION,const:this.tok.T_CONST,return:this.tok.T_RETURN,try:this.tok.T_TRY,catch:this.tok.T_CATCH,finally:this.tok.T_FINALLY,throw:this.tok.T_THROW,if:this.tok.T_IF,elseif:this.tok.T_ELSEIF,endif:this.tok.T_ENDIF,else:this.tok.T_ELSE,while:this.tok.T_WHILE,endwhile:this.tok.T_ENDWHILE,do:this.tok.T_DO,for:this.tok.T_FOR,endfor:this.tok.T_ENDFOR,foreach:this.tok.T_FOREACH,endforeach:this.tok.T_ENDFOREACH,declare:this.tok.T_DECLARE,enddeclare:this.tok.T_ENDDECLARE,instanceof:this.tok.T_INSTANCEOF,as:this.tok.T_AS,switch:this.tok.T_SWITCH,endswitch:this.tok.T_ENDSWITCH,case:this.tok.T_CASE,default:this.tok.T_DEFAULT,break:this.tok.T_BREAK,continue:this.tok.T_CONTINUE,goto:this.tok.T_GOTO,echo:this.tok.T_ECHO,print:this.tok.T_PRINT,class:this.tok.T_CLASS,interface:this.tok.T_INTERFACE,trait:this.tok.T_TRAIT,enum:this.tok.T_ENUM,extends:this.tok.T_EXTENDS,implements:this.tok.T_IMPLEMENTS,new:this.tok.T_NEW,clone:this.tok.T_CLONE,var:this.tok.T_VAR,eval:this.tok.T_EVAL,include:this.tok.T_INCLUDE,include_once:this.tok.T_INCLUDE_ONCE,require:this.tok.T_REQUIRE,require_once:this.tok.T_REQUIRE_ONCE,namespace:this.tok.T_NAMESPACE,use:this.tok.T_USE,insteadof:this.tok.T_INSTEADOF,global:this.tok.T_GLOBAL,isset:this.tok.T_ISSET,empty:this.tok.T_EMPTY,__halt_compiler:this.tok.T_HALT_COMPILER,static:this.tok.T_STATIC,abstract:this.tok.T_ABSTRACT,final:this.tok.T_FINAL,private:this.tok.T_PRIVATE,protected:this.tok.T_PROTECTED,public:this.tok.T_PUBLIC,unset:this.tok.T_UNSET,list:this.tok.T_LIST,array:this.tok.T_ARRAY,callable:this.tok.T_CALLABLE,or:this.tok.T_LOGICAL_OR,and:this.tok.T_LOGICAL_AND,xor:this.tok.T_LOGICAL_XOR,match:this.tok.T_MATCH,readonly:this.tok.T_READ_ONLY},this.castKeywords={int:this.tok.T_INT_CAST,integer:this.tok.T_INT_CAST,real:this.tok.T_DOUBLE_CAST,double:this.tok.T_DOUBLE_CAST,float:this.tok.T_DOUBLE_CAST,string:this.tok.T_STRING_CAST,binary:this.tok.T_STRING_CAST,array:this.tok.T_ARRAY_CAST,object:this.tok.T_OBJECT_CAST,bool:this.tok.T_BOOL_CAST,boolean:this.tok.T_BOOL_CAST,unset:this.tok.T_UNSET_CAST}};C.prototype.setInput=function(l){return this._input=l,this.size=l.length,this.yylineno=1,this.offset=0,this.yyprevcol=0,this.yytext="",this.yylloc={first_offset:0,first_line:1,first_column:0,prev_offset:0,prev_line:1,prev_column:0,last_line:1,last_column:0},this.tokens=[],this.version>703?this.keywords.fn=this.tok.T_FN:delete this.keywords.fn,this.done=this.offset>=this.size,!this.all_tokens&&this.mode_eval?(this.conditionStack=["INITIAL"],this.begin("ST_IN_SCRIPTING")):(this.conditionStack=[],this.begin("INITIAL")),this.heredoc_label={label:"",length:0,indentation:0,indentation_uses_spaces:!1,finished:!1,first_encaps_node:!1,toString(){this.label}},this},C.prototype.input=function(){let l=this._input[this.offset];return l?(this.yytext+=l,this.offset++,l==="\r"&&this._input[this.offset]===`
- `&&(this.yytext+=`
- `,this.offset++),l===`
- `||l==="\r"?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++,l):""},C.prototype.unput=function(l){if(l===1)this.offset--,this._input[this.offset]===`
- `&&this._input[this.offset-1]==="\r"&&(this.offset--,l++),this._input[this.offset]==="\r"||this._input[this.offset]===`
- `?(this.yylloc.last_line--,this.yylineno--,this.yylloc.last_column=this.yyprevcol):this.yylloc.last_column--,this.yytext=this.yytext.substring(0,this.yytext.length-l);else if(l>0)if(this.offset-=l,l<this.yytext.length){this.yytext=this.yytext.substring(0,this.yytext.length-l),this.yylloc.last_line=this.yylloc.first_line,this.yylloc.last_column=this.yyprevcol=this.yylloc.first_column;for(let m=0;m<this.yytext.length;m++){let E=this.yytext[m];E==="\r"?(E=this.yytext[++m],this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0,E!==`
- `&&(E==="\r"?this.yylloc.last_line++:this.yylloc.last_column++)):E===`
- `?(this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++}this.yylineno=this.yylloc.last_line}else this.yytext="",this.yylloc.last_line=this.yylineno=this.yylloc.first_line,this.yylloc.last_column=this.yylloc.first_column;return this},C.prototype.tryMatch=function(l){return l===this.ahead(l.length)},C.prototype.tryMatchCaseless=function(l){return l===this.ahead(l.length).toLowerCase()},C.prototype.ahead=function(l){let m=this._input.substring(this.offset,this.offset+l);return m[m.length-1]==="\r"&&this._input[this.offset+l+1]===`
- `&&(m+=`
- `),m},C.prototype.consume=function(l){for(let m=0;m<l;m++){let E=this._input[this.offset];if(!E)break;this.yytext+=E,this.offset++,E==="\r"&&this._input[this.offset]===`
- `&&(this.yytext+=`
- `,this.offset++,m++),E===`
- `||E==="\r"?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++}return this},C.prototype.getState=function(){return{yytext:this.yytext,offset:this.offset,yylineno:this.yylineno,yyprevcol:this.yyprevcol,yylloc:{first_offset:this.yylloc.first_offset,first_line:this.yylloc.first_line,first_column:this.yylloc.first_column,last_line:this.yylloc.last_line,last_column:this.yylloc.last_column},heredoc_label:this.heredoc_label}},C.prototype.setState=function(l){return this.yytext=l.yytext,this.offset=l.offset,this.yylineno=l.yylineno,this.yyprevcol=l.yyprevcol,this.yylloc=l.yylloc,l.heredoc_label&&(this.heredoc_label=l.heredoc_label),this},C.prototype.appendToken=function(l,m){return this.tokens.push([l,m]),this},C.prototype.lex=function(){this.yylloc.prev_offset=this.offset,this.yylloc.prev_line=this.yylloc.last_line,this.yylloc.prev_column=this.yylloc.last_column;let l=this.next()||this.lex();if(!this.all_tokens){for(;l===this.tok.T_WHITESPACE||!this.comment_tokens&&(l===this.tok.T_COMMENT||l===this.tok.T_DOC_COMMENT)||l===this.tok.T_OPEN_TAG;)l=this.next()||this.lex();if(l==this.tok.T_OPEN_TAG_WITH_ECHO)return this.tok.T_ECHO;if(l===this.tok.T_CLOSE_TAG)return";"}return this.yylloc.prev_offset||(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column),l},C.prototype.begin=function(l){if(this.conditionStack.push(l),this.curCondition=l,this.stateCb=this["match"+l],typeof this.stateCb!="function")throw new Error('Undefined condition state "'+l+'"');return this},C.prototype.popState=function(){let l=this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0];if(this.curCondition=this.conditionStack[this.conditionStack.length-1],this.stateCb=this["match"+this.curCondition],typeof this.stateCb!="function")throw new Error('Undefined condition state "'+this.curCondition+'"');return l},C.prototype.next=function(){let l;if(this._input||(this.done=!0),this.yylloc.first_offset=this.offset,this.yylloc.first_line=this.yylloc.last_line,this.yylloc.first_column=this.yylloc.last_column,this.yytext="",this.done)return this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column,this.EOF;if(this.tokens.length>0?(l=this.tokens.shift(),typeof l[1]=="object"?this.setState(l[1]):this.consume(l[1]),l=l[0]):l=this.stateCb.apply(this,[]),this.offset>=this.size&&this.tokens.length===0&&(this.done=!0),this.debug){let m=l;m=typeof m=="number"?this.engine.tokens.values[m]:'"'+m+'"';let E=new Error(m+" from "+this.yylloc.first_line+","+this.yylloc.first_column+" - to "+this.yylloc.last_line+","+this.yylloc.last_column+' "'+this.yytext+'"');console.error(E.stack)}return l},[a,o,u,h,c,p,g,x,A].forEach((function(l){for(let m in l)C.prototype[m]=l[m]}));var k=C,P=function(l,m,E){this.line=l,this.column=m,this.offset=E},v={read_array(){let l,m=!1,E=this.node("array");this.token===this.tok.T_ARRAY?(this.next().expect("("),l=")"):(m=!0,l="]");let b=[];return this.next().token!==l&&(b=this.read_array_pair_list(m)),this.expect(l),this.next(),E(m,b)},read_array_pair_list(l){let m=this;return this.read_list((function(){return m.read_array_pair(l)}),",",!0)},read_array_pair(l){if(!l&&this.token===")"||l&&this.token==="]")return;if(this.token===",")return this.node("noop")();let m=this.node("entry"),E,b=null,_=!1,q=!1;if(this.token==="&")this.next(),_=!0,E=this.read_variable(!0,!1);else if(this.token===this.tok.T_ELLIPSIS&&this.version>=704)this.next(),this.token==="&"&&this.error(),q=!0,E=this.read_expr();else{let G=this.read_expr();this.token===this.tok.T_DOUBLE_ARROW?(this.next(),b=G,this.token==="&"?(this.next(),_=!0,E=this.read_variable(!0,!1)):E=this.read_expr()):E=G}return m(b,E,_,q)}},w={read_class_declaration_statement(l){let m=this.node("class"),E=this.read_class_modifiers();if(this.token!==this.tok.T_CLASS)return this.error(this.tok.T_CLASS),this.next(),null;this.next().expect(this.tok.T_STRING);let b=this.node("identifier"),_=this.text();this.next(),b=b(_);let q=this.read_extends_from(),G=this.read_implements_list();this.expect("{");let V=m(b,q,G,this.next().read_class_body(!0,!1),E);return l&&(V.attrGroups=l),V},read_class_modifiers(){let l=this.read_class_modifier({readonly:0,final_or_abstract:0});return[0,0,l.final_or_abstract,l.readonly]},read_class_modifier(l){return this.token===this.tok.T_READ_ONLY?(this.next(),l.readonly=1,l=this.read_class_modifier(l)):l.final_or_abstract===0&&this.token===this.tok.T_ABSTRACT?(this.next(),l.final_or_abstract=1,l=this.read_class_modifier(l)):l.final_or_abstract===0&&this.token===this.tok.T_FINAL&&(this.next(),l.final_or_abstract=2,l=this.read_class_modifier(l)),l},read_class_body(l,m){let E=[],b=[];for(;this.token!==this.EOF&&this.token!=="}";){if(this.token===this.tok.T_COMMENT){E.push(this.read_comment());continue}if(this.token===this.tok.T_DOC_COMMENT){E.push(this.read_doc_comment());continue}if(this.token===this.tok.T_USE){E=E.concat(this.read_trait_use_statement());continue}if(m&&this.token===this.tok.T_CASE){let G=this.read_enum_case();this.expect(";")&&this.next(),E=E.concat(G);continue}this.token===this.tok.T_ATTRIBUTE&&(b=this.read_attr_list());let _=this.position(),q=this.read_member_flags(!1);if(this.token!==this.tok.T_CONST)if(l&&this.token===this.tok.T_VAR&&(this.next().expect(this.tok.T_VARIABLE),q[0]=null,q[1]=0),this.token===this.tok.T_FUNCTION)E.push(this.read_function(!1,q,b,_)),b=[];else if(l&&(this.token===this.tok.T_VARIABLE||this.version>=801&&this.token===this.tok.T_READ_ONLY||this.version>=704&&(this.token==="?"||this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE||this.token===this.tok.T_NAMESPACE||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_STRING))){let G=this.read_variable_list(q,b);b=[],this.expect(";"),this.next(),E=E.concat(G)}else this.error([this.tok.T_CONST,...l?[this.tok.T_VARIABLE]:[],...m?[this.tok.T_CASE]:[],this.tok.T_FUNCTION]),this.next();else{let G=this.read_constant_list(q,b);this.expect(";")&&this.next(),E=E.concat(G)}}return this.expect("}"),this.next(),E},read_variable_list(l,m){let E=this.node("propertystatement"),b=this.read_list((function(){let _=this.node("property"),q=!1;this.token===this.tok.T_READ_ONLY&&(q=!0,this.next());let[G,V]=this.read_optional_type();this.expect(this.tok.T_VARIABLE);let re=this.node("identifier"),ee=this.text().substring(1);this.next(),re=re(ee);let U=null;return this.expect([",",";","="]),this.token==="="&&(U=this.next().read_expr()),_(re,U,q,G,V,m||[])}),",");return E(null,b,l)},read_constant_list(l,m){this.expect(this.tok.T_CONST)&&this.next();let[E,b]=this.version>=803?this.read_optional_type():[!1,null],_=this.node("classconstant"),q=this.read_list((function(){let G=this.node("constant"),V=null,re=null;if(this.token===this.tok.T_STRING||this.version>=700&&this.is("IDENTIFIER")){V=this.node("identifier");let ee=this.text();this.next(),V=V(ee)}else this.expect("IDENTIFIER");return this.expect("=")&&(re=this.next().read_expr()),G(V,re)}),",");return _(null,q,l,E,b,m||[])},read_member_flags(l){let m=[-1,-1,-1];if(this.is("T_MEMBER_FLAGS")){let E=0,b=0;do{switch(this.token){case this.tok.T_PUBLIC:E=0,b=0;break;case this.tok.T_PROTECTED:E=0,b=1;break;case this.tok.T_PRIVATE:E=0,b=2;break;case this.tok.T_STATIC:E=1,b=1;break;case this.tok.T_ABSTRACT:E=2,b=1;break;case this.tok.T_FINAL:E=2,b=2}l&&(E===0&&b===2?(this.expect([this.tok.T_PUBLIC,this.tok.T_PROTECTED]),b=-1):E===2&&b===1&&(this.error(),b=-1)),m[E]!==-1?this.error():b!==-1&&(m[E]=b)}while(this.next().is("T_MEMBER_FLAGS"))}return m[1]===-1&&(m[1]=0),m[2]===-1&&(m[2]=0),m},read_optional_type(){let l=this.token==="?";if(l&&this.next(),this.peekSkipComments()==="=")return[!1,null];let m=this.read_types();if(l&&!m&&this.raiseError("Expecting a type definition combined with nullable operator"),!l&&!m)return[!1,null];if(this.token==="|"){m=[m];do{this.next();let E=this.read_type();if(!E){this.raiseError("Expecting a type definition");break}m.push(E)}while(this.token==="|")}return[l,m]},peekSkipComments(){let l=this.lexer.getState(),m;do m=this.lexer.lex();while(m===this.tok.T_COMMENT||m===this.tok.T_WHITESPACE);return this.lexer.setState(l),m},read_interface_declaration_statement(l){let m=this.node("interface");if(this.token!==this.tok.T_INTERFACE)return this.error(this.tok.T_INTERFACE),this.next(),null;this.next().expect(this.tok.T_STRING);let E=this.node("identifier"),b=this.text();this.next(),E=E(b);let _=this.read_interface_extends_list();return this.expect("{"),m(E,_,this.next().read_interface_body(),l||[])},read_interface_body(){let l,m=[];for(;this.token!==this.EOF&&this.token!=="}";){if(this.token===this.tok.T_COMMENT){m.push(this.read_comment());continue}if(this.token===this.tok.T_DOC_COMMENT){m.push(this.read_doc_comment());continue}let E=this.position();l=this.read_attr_list();let b=this.read_member_flags(!0);if(this.token===this.tok.T_CONST){let _=this.read_constant_list(b,l);this.expect(";")&&this.next(),m=m.concat(_)}else if(this.token===this.tok.T_FUNCTION){let _=this.read_function_declaration(2,b,l,E);_.parseFlags(b),m.push(_),this.expect(";")&&this.next()}else this.error([this.tok.T_CONST,this.tok.T_FUNCTION]),this.next()}return this.expect("}")&&this.next(),m},read_trait_declaration_statement(){let l=this.node("trait");if(this.token!==this.tok.T_TRAIT)return this.error(this.tok.T_TRAIT),this.next(),null;this.next().expect(this.tok.T_STRING);let m=this.node("identifier"),E=this.text();return this.next(),m=m(E),this.expect("{"),l(m,this.next().read_class_body(!0,!1))},read_trait_use_statement(){let l=this.node("traituse");this.expect(this.tok.T_USE)&&this.next();let m=[this.read_namespace_name()],E=null;for(;this.token===",";)m.push(this.next().read_namespace_name());if(this.token==="{"){for(E=[];this.next().token!==this.EOF&&this.token!=="}";)E.push(this.read_trait_use_alias()),this.expect(";");this.expect("}")&&this.next()}else this.expect(";")&&this.next();return l(m,E)},read_trait_use_alias(){let l=this.node(),m,E=null;if(this.is("IDENTIFIER")){m=this.node("identifier");let b=this.text();this.next(),m=m(b)}else if(m=this.read_namespace_name(),this.token===this.tok.T_DOUBLE_COLON)if(this.next(),this.token===this.tok.T_STRING||this.version>=700&&this.is("IDENTIFIER")){E=m,m=this.node("identifier");let b=this.text();this.next(),m=m(b)}else this.expect(this.tok.T_STRING);else m=m.name;if(this.token===this.tok.T_INSTEADOF)return l("traitprecedence",E,m,this.next().read_name_list());if(this.token===this.tok.T_AS){let b=null,_=null;if(this.next().is("T_MEMBER_FLAGS")&&(b=this.read_member_flags()),this.token===this.tok.T_STRING||this.version>=700&&this.is("IDENTIFIER")){_=this.node("identifier");let q=this.text();this.next(),_=_(q)}else b===!1&&this.expect(this.tok.T_STRING);return l("traitalias",E,m,_,b)}return this.expect([this.tok.T_AS,this.tok.T_INSTEADOF]),l("traitalias",E,m,null,null)}},I={read_comment(){let l=this.text(),m=this.ast.prepare(l.substring(0,2)==="/*"?"commentblock":"commentline",null,this),E=this.lexer.yylloc.first_offset,b=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),m=m(l),m.offset=E,this.prev=b,m},read_doc_comment(){let l=this.ast.prepare("commentblock",null,this),m=this.lexer.yylloc.first_offset,E=this.text(),b=this.prev;return this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset],this.lex(),l=l(E),l.offset=m,this.prev=b,l}},O={read_expr(l){let m=this.node();if(this.token==="@")return l||(l=this.next().read_expr()),m("silent",l);if(l||(l=this.read_expr_item()),this.token==="|")return m("bin","|",l,this.next().read_expr());if(this.token==="&")return m("bin","&",l,this.next().read_expr());if(this.token==="^")return m("bin","^",l,this.next().read_expr());if(this.token===".")return m("bin",".",l,this.next().read_expr());if(this.token==="+")return m("bin","+",l,this.next().read_expr());if(this.token==="-")return m("bin","-",l,this.next().read_expr());if(this.token==="*")return m("bin","*",l,this.next().read_expr());if(this.token==="/")return m("bin","/",l,this.next().read_expr());if(this.token==="%")return m("bin","%",l,this.next().read_expr());if(this.token===this.tok.T_POW)return m("bin","**",l,this.next().read_expr());if(this.token===this.tok.T_SL)return m("bin","<<",l,this.next().read_expr());if(this.token===this.tok.T_SR)return m("bin",">>",l,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_OR)return m("bin","||",l,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_OR)return m("bin","or",l,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_AND)return m("bin","&&",l,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_AND)return m("bin","and",l,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_XOR)return m("bin","xor",l,this.next().read_expr());if(this.token===this.tok.T_IS_IDENTICAL)return m("bin","===",l,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_IDENTICAL)return m("bin","!==",l,this.next().read_expr());if(this.token===this.tok.T_IS_EQUAL)return m("bin","==",l,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_EQUAL)return m("bin","!=",l,this.next().read_expr());if(this.token==="<")return m("bin","<",l,this.next().read_expr());if(this.token===">")return m("bin",">",l,this.next().read_expr());if(this.token===this.tok.T_IS_SMALLER_OR_EQUAL)return m("bin","<=",l,this.next().read_expr());if(this.token===this.tok.T_IS_GREATER_OR_EQUAL)return m("bin",">=",l,this.next().read_expr());if(this.token===this.tok.T_SPACESHIP)return m("bin","<=>",l,this.next().read_expr());if(this.token===this.tok.T_INSTANCEOF&&(l=m("bin","instanceof",l,this.next().read_class_name_reference()),this.token!==";"&&this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF&&(l=this.read_expr(l))),this.token===this.tok.T_NULLSAFE_OBJECT_OPERATOR&&(l=m("nullsafepropertylookup",l,this.read_what()),l=this.recursive_variable_chain_scan(l,!1,!0)),this.token===this.tok.T_COALESCE)return m("bin","??",l,this.next().read_expr());if(this.token===this.tok.T_PIPE)return this.version<805&&this.raiseError("PHP 8.5+ is required to use pipe operator"),m("bin","|>",l,this.next().read_expr());if(this.token==="?"){let E=null;return this.next().token!==":"&&(E=this.read_expr()),this.expect(":")&&this.next(),m("retif",l,E,this.read_expr())}return m.destroy(l),l},read_expr_cast(l){return this.node("cast")(l,this.text(),this.next().read_expr())},read_isset_variable(){return this.read_expr()},read_isset_variables(){return this.read_function_list(this.read_isset_variable,",")},read_internal_functions_in_yacc(){let l=null;switch(this.token){case this.tok.T_ISSET:{l=this.node("isset"),this.next().expect("(")&&this.next();let m=this.read_isset_variables();this.expect(")")&&this.next(),l=l(m)}break;case this.tok.T_EMPTY:{l=this.node("empty"),this.next().expect("(")&&this.next();let m=this.read_expr();this.expect(")")&&this.next(),l=l(m)}break;case this.tok.T_INCLUDE:l=this.node("include")(!1,!1,this.next().read_expr());break;case this.tok.T_INCLUDE_ONCE:l=this.node("include")(!0,!1,this.next().read_expr());break;case this.tok.T_EVAL:{l=this.node("eval"),this.next().expect("(")&&this.next();let m=this.read_expr();this.expect(")")&&this.next(),l=l(m)}break;case this.tok.T_REQUIRE:l=this.node("include")(!1,!0,this.next().read_expr());break;case this.tok.T_REQUIRE_ONCE:l=this.node("include")(!0,!0,this.next().read_expr())}return l},read_optional_expr(l){return this.token!==l?this.read_expr():null},read_exit_expr(){let l=null;return this.token==="("&&(this.next(),l=this.read_optional_expr(")"),this.expect(")")&&this.next()),l},read_expr_item(){let l,m,E=[];if(this.token==="+")return this.node("unary")("+",this.next().read_expr());if(this.token==="-")return this.node("unary")("-",this.next().read_expr());if(this.token==="!")return this.node("unary")("!",this.next().read_expr());if(this.token==="~")return this.node("unary")("~",this.next().read_expr());if(this.token==="(")return m=this.next().read_expr(),m.parenthesizedExpression=!0,this.expect(")")&&this.next(),this.handleDereferencable(m);if(this.token==="`")return this.read_encapsed_string("`");if(this.token===this.tok.T_LIST){let b=null,_=this.innerList;l=this.node("list"),_||(b=this.node("assign")),this.next().expect("(")&&this.next(),this.innerList||(this.innerList=!0);let q=this.read_array_pair_list(!1);this.expect(")")&&this.next();let G=!1;for(let V=0;V<q.length;V++)if(q[V]!==null&&q[V].kind!=="noop"){G=!0;break}return G||this.raiseError("Fatal Error : Cannot use empty list on line "+this.lexer.yylloc.first_line),_?l(q,!1):(this.innerList=!1,this.expect("=")?b(l(q,!1),this.next().read_expr(),"="):l(q,!1))}if(this.token===this.tok.T_ATTRIBUTE&&(E=this.read_attr_list()),this.token===this.tok.T_CLONE)return this.node("clone")(this.next().read_expr());switch(this.token){case this.tok.T_INC:return this.node("pre")("+",this.next().read_variable(!1,!1));case this.tok.T_DEC:return this.node("pre")("-",this.next().read_variable(!1,!1));case this.tok.T_NEW:return m=this.read_new_expr(),this.token===this.tok.T_OBJECT_OPERATOR&&this.version<804&&this.raiseError("New without parenthesis is not allowed before PHP 8.4"),this.handleDereferencable(m);case this.tok.T_ISSET:case this.tok.T_EMPTY:case this.tok.T_INCLUDE:case this.tok.T_INCLUDE_ONCE:case this.tok.T_EVAL:case this.tok.T_REQUIRE:case this.tok.T_REQUIRE_ONCE:return this.read_internal_functions_in_yacc();case this.tok.T_MATCH:return this.read_match_expression();case this.tok.T_INT_CAST:return this.read_expr_cast("int");case this.tok.T_DOUBLE_CAST:return this.read_expr_cast("float");case this.tok.T_STRING_CAST:return this.read_expr_cast(this.text().indexOf("binary")!==-1?"binary":"string");case this.tok.T_ARRAY_CAST:return this.read_expr_cast("array");case this.tok.T_OBJECT_CAST:return this.read_expr_cast("object");case this.tok.T_BOOL_CAST:return this.read_expr_cast("bool");case this.tok.T_UNSET_CAST:return this.read_expr_cast("unset");case this.tok.T_THROW:return this.version<800&&this.raiseError("PHP 8+ is required to use throw as an expression"),this.node("throw")(this.next().read_expr());case this.tok.T_EXIT:{let b=this.lexer.yytext.toLowerCase()==="die";return l=this.node("exit"),this.next(),l(this.read_exit_expr(),b)}case this.tok.T_PRINT:return this.node("print")(this.next().read_expr());case this.tok.T_YIELD:{let b=null,_=null;return l=this.node("yield"),this.next().is("EXPR")&&(b=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW&&(_=b,b=this.next().read_expr())),l(b,_)}case this.tok.T_YIELD_FROM:return l=this.node("yieldfrom"),m=this.next().read_expr(),l(m);case this.tok.T_FN:case this.tok.T_FUNCTION:return this.read_inline_function(void 0,E);case this.tok.T_STATIC:{let b=[this.token,this.lexer.getState()];if(this.next(),this.token===this.tok.T_FUNCTION||this.version>=704&&this.token===this.tok.T_FN)return this.read_inline_function([0,1,0],E);this.lexer.tokens.push(b),this.next()}}if(this.is("VARIABLE")){l=this.node(),m=this.read_variable(!1,!1);let b=m.kind==="identifier"||m.kind==="staticlookup"&&m.offset.kind==="identifier";switch(this.token){case"=":return b&&this.error("VARIABLE"),this.next().token=="&"?this.read_assignref(l,m):l("assign",m,this.read_expr(),"=");case this.tok.T_PLUS_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"+=");case this.tok.T_MINUS_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"-=");case this.tok.T_MUL_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"*=");case this.tok.T_POW_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"**=");case this.tok.T_DIV_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"/=");case this.tok.T_CONCAT_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),".=");case this.tok.T_MOD_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"%=");case this.tok.T_AND_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"&=");case this.tok.T_OR_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"|=");case this.tok.T_XOR_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"^=");case this.tok.T_SL_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"<<=");case this.tok.T_SR_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),">>=");case this.tok.T_COALESCE_EQUAL:return b&&this.error("VARIABLE"),l("assign",m,this.next().read_expr(),"??=");case this.tok.T_INC:return b&&this.error("VARIABLE"),this.next(),l("post","+",m);case this.tok.T_DEC:return b&&this.error("VARIABLE"),this.next(),l("post","-",m);default:l.destroy(m)}}else{if(this.is("SCALAR")){if(l=this.node(),m=this.read_scalar(),m.kind==="array"&&m.shortForm&&this.token==="="){let b=this.convertToList(m);return m.loc&&(b.loc=m.loc),l("assign",b,this.next().read_expr(),"=")}return l.destroy(m),this.handleDereferencable(m)}this.error("EXPR"),this.next()}return m},convertToList(l){let m=l.items.map((b=>(b.value&&b.value.kind==="array"&&b.value.shortForm&&(b.value=this.convertToList(b.value)),b))),E=this.node("list")(m,!0);return l.loc&&(E.loc=l.loc),l.leadingComments&&(E.leadingComments=l.leadingComments),l.trailingComments&&(E.trailingComments=l.trailingComments),E},read_assignref(l,m){let E;return this.next(),this.token===this.tok.T_NEW?(this.version>=700&&this.error(),E=this.read_new_expr()):E=this.read_variable(!1,!1),l("assignref",m,E)},read_inline_function(l,m){if(this.token===this.tok.T_FUNCTION){let re=this.read_function(!0,l,m);return re.attrGroups=m,re}!this.version>=704&&this.raiseError("Arrow Functions are not allowed");let E=this.node("arrowfunc");this.expect(this.tok.T_FN)&&this.next();let b=this.is_reference();this.expect("(")&&this.next();let _=this.read_parameter_list();this.expect(")")&&this.next();let q=!1,G=null;this.token===":"&&(this.next().token==="?"&&(q=!0,this.next()),G=this.read_types()),this.expect(this.tok.T_DOUBLE_ARROW)&&this.next();let V=E(_,b,this.read_expr(),G,q,!!l);return V.attrGroups=m,V},read_match_expression(){let l=this.node("match");this.expect(this.tok.T_MATCH)&&this.next(),this.version<800&&this.raiseError("Match statements are not allowed before PHP 8"),this.expect("(")&&this.next();let m=this.read_expr();this.expect(")")&&this.next(),this.expect("{")&&this.next();let E=this.read_match_arms();return this.expect("}")&&this.next(),l(m,E)},read_match_arms(){return this.read_list((()=>this.read_match_arm()),",",!0)},read_match_arm(){if(this.token!=="}")return this.node("matcharm")(this.read_match_arm_conds(),this.read_expr())},read_match_arm_conds(){let l=[];if(this.token===this.tok.T_DEFAULT)l=null,this.next();else for(l.push(this.read_expr());this.token===",";){if(this.next(),this.token===this.tok.T_DOUBLE_ARROW)return this.next(),l;l.push(this.read_expr())}return this.expect(this.tok.T_DOUBLE_ARROW)&&this.next(),l},read_attribute(){let l=this.text(),m=[];return this.next(),this.token==="("&&(m=this.read_argument_list()),this.node("attribute")(l,m)},read_attr_list(){let l=[];if(this.token===this.tok.T_ATTRIBUTE)do{let m=this.node("attrgroup")([]);for(this.next(),m.attrs.push(this.read_attribute());this.token===",";)this.next(),this.token!=="]"&&m.attrs.push(this.read_attribute());l.push(m),this.expect("]"),this.next()}while(this.token===this.tok.T_ATTRIBUTE);return l},read_new_expr(){let l=this.node("new");this.expect(this.tok.T_NEW)&&this.next();let m=[];if(this.token==="("){this.next();let q=this.read_expr();return this.expect(")"),this.next(),this.token==="("&&(m=this.read_argument_list()),l(q,m)}let E=this.read_attr_list(),b=this.token===this.tok.T_READ_ONLY;if(b&&(this.version<803&&this.raiseError("Anonymous readonly classes are not allowed before PHP 8.3"),this.next()),this.token===this.tok.T_CLASS){let q=this.node("class");this.next().token==="("&&(m=this.read_argument_list());let G=this.read_extends_from(),V=this.read_implements_list(),re=null;this.expect("{")&&(re=this.next().read_class_body(!0,!1));let ee=q(null,G,V,re,[0,0,0,b?1:0]);return ee.attrGroups=E,l(ee,m)}let _=this.read_new_class_name();for(;this.token==="[";){let q=this.node("offsetlookup"),G=this.next().read_encaps_var_offset();this.expect("]")&&this.next(),_=q(_,G)}return this.token==="("&&(m=this.read_argument_list()),l(_,m)},read_new_class_name(){if(this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_STRING||this.token===this.tok.T_NAMESPACE){let l=this.read_namespace_name(!0);return this.token===this.tok.T_DOUBLE_COLON&&(l=this.read_static_getter(l)),l}if(this.is("VARIABLE"))return this.read_variable(!0,!1);this.expect([this.tok.T_STRING,"VARIABLE"])},handleDereferencable(l){for(;this.token!==this.EOF;)if(this.token===this.tok.T_OBJECT_OPERATOR||this.token===this.tok.T_DOUBLE_COLON||this.token===this.tok.T_NULLSAFE_OBJECT_OPERATOR)l=this.recursive_variable_chain_scan(l,!1,!1,!0);else if(this.token===this.tok.T_CURLY_OPEN||this.token==="[")l=this.read_dereferencable(l);else{if(this.token!=="(")return l;l=this.node("call")(l,this.read_argument_list())}return l}},R={read_enum_declaration_statement(l){let m=this.node("enum");if(!this.expect(this.tok.T_ENUM))return null;this.next().expect(this.tok.T_STRING);let E=this.node("identifier"),b=this.text();this.next(),E=E(b);let _=this.read_enum_value_type(),q=this.read_implements_list();this.expect("{");let G=m(E,_,q,this.next().read_class_body(!1,!0));return l&&(G.attrGroups=l),G},read_enum_value_type(){return this.token===":"?this.next().read_namespace_name():null},read_enum_case(){this.expect(this.tok.T_CASE);let l=this.node("enumcase"),m=this.node("identifier"),E=this.next().text();this.next(),m=m(E);let b=this.token==="="?this.next().read_expr():null;return this.expect(";"),l(m,b)}},M={is_reference(){return this.token==="&"&&(this.next(),!0)},is_variadic(){return this.token===this.tok.T_ELLIPSIS&&(this.next(),!0)},read_function(l,m,E,b){let _=this.read_function_declaration(l?1:m?2:0,m&&m[1]===1,E||[],b);return m&&m[2]==1?(_.parseFlags(m),this.expect(";")&&this.next()):(this.expect("{")&&(_.body=this.read_code_block(!1),_.loc&&_.body.loc&&(_.loc.end=_.body.loc.end)),!l&&m&&_.parseFlags(m)),_},read_function_declaration(l,m,E,b){let _="function";l===1?_="closure":l===2&&(_="method");let q=this.node(_);this.expect(this.tok.T_FUNCTION)&&this.next();let G=this.is_reference(),V=!1,re=[],ee=null,U=!1;if(l!==1){let Ee=this.node("identifier");l===2?this.version>=700?this.token===this.tok.T_STRING||this.is("IDENTIFIER")?(V=this.text(),this.next()):this.version<704&&this.error("IDENTIFIER"):this.token===this.tok.T_STRING?(V=this.text(),this.next()):this.error("IDENTIFIER"):this.version>=700?this.token===this.tok.T_STRING?(V=this.text(),this.next()):this.version>=704?this.expect("(")||this.next():(this.error(this.tok.T_STRING),this.next()):(this.expect(this.tok.T_STRING)&&(V=this.text()),this.next()),V=Ee(V)}this.expect("(")&&this.next();let oe=this.read_parameter_list(V.name==="__construct");return this.expect(")")&&this.next(),l===1&&(re=this.read_lexical_vars()),this.token===":"&&(this.next().token==="?"&&(U=!0,this.next()),ee=this.read_types()),(Ee=>(Ee.attrGroups=E||[],b&&Ee.loc&&(Ee.loc.start=b,Ee.loc.source&&(Ee.loc.source=this.lexer._input.substr(Ee.loc.start.offset,Ee.loc.end.offset-Ee.loc.start.offset))),Ee))(l===1?q(oe,G,re,ee,U,m):q(V,oe,G,ee,U))},read_lexical_vars(){let l=[];return this.token===this.tok.T_USE&&(this.next(),this.expect("(")&&this.next(),l=this.read_lexical_var_list(),this.expect(")")&&this.next()),l},read_list_with_dangling_comma(l){let m=[];for(;this.token!=this.EOF;){if(m.push(l()),this.token!=","){if(this.token==")")break;this.error([",",")"]);break}if(this.next(),this.version>=800&&this.token===")")return m}return m},read_lexical_var_list(){return this.read_list_with_dangling_comma(this.read_lexical_var.bind(this))},read_lexical_var(){if(this.token==="&")return this.read_byref(this.read_lexical_var.bind(this));let l=this.node("variable");this.expect(this.tok.T_VARIABLE);let m=this.text().substring(1);return this.next(),l(m,!1)},read_parameter_list(l){if(this.token!==")"){let m=!1;return this.read_list_with_dangling_comma(function(){let E=this.read_parameter(l);return E&&(m&&this.raiseError("Unexpected parameter after a variadic parameter"),E.variadic&&(m=!0)),E}.bind(this),",")}return[]},read_parameter(l){let m=this.node("parameter"),E=null,b=null,_=!1,q=!1,G=[];this.token===this.tok.T_ATTRIBUTE&&(G=this.read_attr_list()),this.version>=801&&this.token===this.tok.T_READ_ONLY&&(l?(this.next(),q=!0):this.raiseError("readonly properties can be used only on class constructor"));let V=this.read_promoted();!q&&this.version>=801&&this.token===this.tok.T_READ_ONLY&&(l?(this.next(),q=!0):this.raiseError("readonly properties can be used only on class constructor")),this.token==="?"&&(this.next(),_=!0);let re=this.read_types();_&&!re&&this.raiseError("Expecting a type definition combined with nullable operator");let ee=this.is_reference(),U=this.is_variadic();if(this.expect(this.tok.T_VARIABLE)){E=this.node("identifier");let fe=this.text().substring(1);this.next(),E=E(fe)}this.token=="="&&(b=this.next().read_expr());let oe=m(E,re,b,ee,U,q,_,V);return G&&(oe.attrGroups=G),oe},read_types(){let l="unset",m="union",E="intersection",b=[],_=l,q=this.read_type();if(!q)return null;for(b.push(q);this.token==="|"||this.version>=801&&this.token==="&";){let G=this.peek();if(G===this.tok.T_ELLIPSIS||G===this.tok.T_VARIABLE)break;_===l?_=this.token==="|"?m:E:(_===m&&this.token!=="|"||_===E&&this.token!=="&")&&this.raiseError('Unexpect token "'+this.token+'", "|" and "&" can not be mixed'),this.next(),b.push(this.read_type())}return b.length===1?b[0]:_===E?this.node("intersectiontype")(b):this.node("uniontype")(b)},read_promoted(){return this.token===this.tok.T_PUBLIC?(this.next(),1):this.token===this.tok.T_PROTECTED?(this.next(),2):this.token===this.tok.T_PRIVATE?(this.next(),4):0},read_argument_list(){let l=[];return this.expect("(")&&this.next(),this.version>=801&&this.token===this.tok.T_ELLIPSIS&&this.peek()===")"?(l.push(this.node("variadicplaceholder")()),this.next()):this.token!==")"&&(l=this.read_non_empty_argument_list()),this.expect(")")&&this.next(),l},read_non_empty_argument_list(){let l=!1;return this.read_function_list(function(){let m=this.read_argument();if(m){let E=m.kind==="variadic";l&&!E&&this.raiseError("Unexpected non-variadic argument after a variadic argument"),E&&(l=!0)}return m}.bind(this),",")},read_argument(){return this.token===this.tok.T_ELLIPSIS?this.node("variadic")(this.next().read_expr()):(this.token===this.tok.T_STRING||Object.values(this.lexer.keywords).includes(this.token))&&this.peek()===":"?(this.version<800&&this.raiseError("PHP 8+ is required to use named arguments"),this.node("namedargument")(this.text(),this.next().next().read_expr())):this.read_expr()},read_type(){let l=this.node();if(this.token===this.tok.T_ARRAY||this.token===this.tok.T_CALLABLE){let m=this.text();return this.next(),l("typereference",m.toLowerCase(),m)}if(this.token===this.tok.T_NAME_RELATIVE||this.token===this.tok.T_NAME_QUALIFIED||this.token===this.tok.T_NAME_FULLY_QUALIFIED||this.token===this.tok.T_STRING||this.token===this.tok.T_STATIC){let m=this.text(),E=[this.token,this.lexer.getState()];return this.next(),this.token!==this.tok.T_NS_SEPARATOR&&this.ast.typereference.types.indexOf(m.toLowerCase())>-1?l("typereference",m.toLowerCase(),m):(this.lexer.tokens.push(E),this.next(),l.destroy(),this.read_namespace_name())}return l.destroy(),null}},W={read_if(){let l=this.node("if"),m=this.next().read_if_expr(),E,b=null,_=!1;if(this.token===":"){_=!0,this.next(),E=this.node("block");let q=[];for(;this.token!==this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){b=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){b=this.read_else_short();break}q.push(this.read_inner_statement())}E=E(null,q),this.expect(this.tok.T_ENDIF)&&this.next(),this.expectEndOfStatement()}else E=this.read_statement(),this.token===this.tok.T_ELSEIF?b=this.read_if():this.token===this.tok.T_ELSE&&(b=this.next().read_statement());return l(m,E,b,_)},read_if_expr(){this.expect("(")&&this.next();let l=this.read_expr();return this.expect(")")&&this.next(),l},read_elseif_short(){let l=null,m=this.node("if"),E=this.next().read_if_expr();this.expect(":")&&this.next();let b=this.node("block"),_=[];for(;this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){l=this.read_elseif_short();break}if(this.token===this.tok.T_ELSE){l=this.read_else_short();break}_.push(this.read_inner_statement())}return m(E,b(null,_),l,!0)},read_else_short(){this.next().expect(":")&&this.next();let l=this.node("block"),m=[];for(;this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;)m.push(this.read_inner_statement());return l(null,m)}},K={read_while(){let l=this.node("while"),m;this.expect(this.tok.T_WHILE)&&this.next();let E=!1;this.expect("(")&&this.next();let b=this.read_expr();return this.expect(")")&&this.next(),this.token===":"?(E=!0,m=this.read_short_form(this.tok.T_ENDWHILE)):m=this.read_statement(),l(b,m,E)},read_do(){let l=this.node("do");this.expect(this.tok.T_DO)&&this.next();let m=null,E=this.read_statement();return this.expect(this.tok.T_WHILE)&&(this.next().expect("(")&&this.next(),m=this.read_expr(),this.expect(")")&&this.next(),this.expect(";")&&this.next()),l(m,E)},read_for(){let l=this.node("for");this.expect(this.tok.T_FOR)&&this.next();let m,E=[],b=[],_=[],q=!1;return this.expect("(")&&this.next(),this.token!==";"?(E=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),this.token!==";"?(b=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),this.token!==")"?(_=this.read_list(this.read_expr,","),this.expect(")")&&this.next()):this.next(),this.token===":"?(q=!0,m=this.read_short_form(this.tok.T_ENDFOR)):m=this.read_statement(),l(E,b,_,m,q)},read_foreach(){let l=this.node("foreach");this.expect(this.tok.T_FOREACH)&&this.next();let m,E=null,b=null,_=!1;this.expect("(")&&this.next();let q=this.read_expr();return this.expect(this.tok.T_AS)&&(this.next(),b=this.read_foreach_variable(),this.token===this.tok.T_DOUBLE_ARROW&&(E=b,b=this.next().read_foreach_variable())),E&&E.kind==="list"&&this.raiseError("Fatal Error : Cannot use list as key element"),this.expect(")")&&this.next(),this.token===":"?(_=!0,m=this.read_short_form(this.tok.T_ENDFOREACH)):m=this.read_statement(),l(q,E,b,m,_)},read_foreach_variable(){if(this.token===this.tok.T_LIST||this.token==="["){let l=this.token==="[",m=this.node("list");this.next(),!l&&this.expect("(")&&this.next();let E=this.read_array_pair_list(l);return this.expect(l?"]":")")&&this.next(),m(E,l)}return this.read_variable(!1,!1)}},H={read_start(){return this.token==this.tok.T_NAMESPACE?this.read_namespace():this.read_top_statement()}},Z={read_namespace(){let l=this.node("namespace"),m,E;return this.expect(this.tok.T_NAMESPACE)&&this.next(),E=this.token==="{"?{name:[""]}:this.read_namespace_name(),this.currentNamespace=E,this.token===";"?(this.currentNamespace=E,m=this.next().read_top_statements(),this.expect(this.EOF),l(E.name,m,!1)):this.token==="{"?(this.currentNamespace=E,m=this.next().read_top_statements(),this.expect("}")&&this.next(),m.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&m.push(this.node("noop")()),l(E.name,m,!0)):(this.error(["{",";"]),this.currentNamespace=E,m=this.read_top_statements(),this.expect(this.EOF),l(E,m,!1))},read_namespace_name(l){let m=this.node(),E,b=this.text();switch(this.token){case this.tok.T_NAME_RELATIVE:E=this.ast.name.RELATIVE_NAME,b=b.replace(/^namespace\\/,"");break;case this.tok.T_NAME_QUALIFIED:E=this.ast.name.QUALIFIED_NAME;break;case this.tok.T_NAME_FULLY_QUALIFIED:E=this.ast.name.FULL_QUALIFIED_NAME;break;default:if(E=this.ast.name.UNQUALIFIED_NAME,!this.expect(this.tok.T_STRING))return m("name","",this.ast.name.FULL_QUALIFIED_NAME)}if(this.next(),l||this.token!=="("){if(b.toLowerCase()==="parent")return m("parentreference",b);if(b.toLowerCase()==="self")return m("selfreference",b)}return m("name",b,E)},read_use_statement(){let l=this.node("usegroup"),m=[],E=null;this.expect(this.tok.T_USE)&&this.next();let b=this.read_use_type();return m.push(this.read_use_declaration(!1)),this.token===","?m=m.concat(this.next().read_use_declarations(!1)):this.token==="{"&&(E=m[0].name,m=this.next().read_use_declarations(b===null),this.expect("}")&&this.next()),l=l(E,b,m),this.expect(";")&&this.next(),l},read_class_name_reference(){return this.read_variable(!0,!1)},read_use_declaration(l){let m=this.node("useitem"),E=null;l&&(E=this.read_use_type());let b=this.read_namespace_name(),_=this.read_use_alias();return m(b.name,_,E)},read_use_declarations(l){let m=[this.read_use_declaration(l)];for(;this.token===",";){if(this.next(),l){if(this.token!==this.tok.T_NAME_RELATIVE&&this.token!==this.tok.T_NAME_QUALIFIED&&this.token!==this.tok.T_NAME_FULLY_QUALIFIED&&this.token!==this.tok.T_FUNCTION&&this.token!==this.tok.T_CONST&&this.token!==this.tok.T_STRING)break}else if(this.token!==this.tok.T_NAME_RELATIVE&&this.token!==this.tok.T_NAME_QUALIFIED&&this.token!==this.tok.T_NAME_FULLY_QUALIFIED&&this.token!==this.tok.T_STRING&&this.token!==this.tok.T_NS_SEPARATOR)break;m.push(this.read_use_declaration(l))}return m},read_use_alias(){let l=null;if(this.token===this.tok.T_AS&&this.next().expect(this.tok.T_STRING)){let m=this.node("identifier"),E=this.text();this.next(),l=m(E)}return l},read_use_type(){return this.token===this.tok.T_FUNCTION?(this.next(),this.ast.useitem.TYPE_FUNCTION):this.token===this.tok.T_CONST?(this.next(),this.ast.useitem.TYPE_CONST):null}};let $={"\\":"\\",$:"$",n:`
- `,r:"\r",t:" ",f:"\f",v:"\v",e:"\x1B"};var Y={resolve_special_chars:(l,m)=>m?l.replace(/\\"/,'"').replace(/\\([\\$nrtfve]|[xX][0-9a-fA-F]{1,2}|[0-7]{1,3}|u{([0-9a-fA-F]+)})/g,((E,b,_)=>$[b]?$[b]:b[0]==="x"||b[0]==="X"?String.fromCodePoint(parseInt(b.substr(1),16)):b[0]==="u"?String.fromCodePoint(parseInt(_,16)):String.fromCodePoint(parseInt(b,8)))):l.replace(/\\\\/g,"\\").replace(/\\'/g,"'"),remove_heredoc_leading_whitespace_chars(l,m,E,b){if(m===0)return l;this.check_heredoc_indentation_level(l,m,E,b);let _=E?" ":" ",q=new RegExp(`\\n${_}{${m}}`,"g"),G=new RegExp(`^${_}{${m}}`);return b&&(l=l.replace(G,"")),l.replace(q,`
- `)},check_heredoc_indentation_level(l,m,E,b){let _=l.length,q=0,G=0,V=!0,re=E?" ":" ",ee=!1;if(!b){if(q=l.indexOf(`
- `),q===-1)return;q++}for(;q<_;)V?l[q]===re?G++:ee=!0:V=!1,l[q]!==`
- `&&ee&&G<m?this.raiseError(`Invalid body indentation level (expecting an indentation at least ${m})`):ee=!1,l[q]===`
- `&&(V=!0,G=0),q++},read_dereferencable_scalar(){let l=null;switch(this.token){case this.tok.T_CONSTANT_ENCAPSED_STRING:{let m=this.node("string"),E=this.text(),b=0;E[0]!=="b"&&E[0]!=="B"||(b=1);let _=E[b]==='"';this.next(),m=m(_,this.resolve_special_chars(E.substring(b+1,E.length-1),_),b===1,E),l=this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(m):m}break;case this.tok.T_ARRAY:case"[":l=this.read_array()}return l},read_scalar(){if(this.is("T_MAGIC_CONST"))return this.get_magic_constant();{let l,m;switch(this.token){case this.tok.T_LNUMBER:case this.tok.T_DNUMBER:{let E=this.node("number");return l=this.text(),this.next(),E(l,null)}case this.tok.T_START_HEREDOC:if(this.lexer.curCondition==="ST_NOWDOC"){let E=this.lexer.yylloc.first_offset;m=this.node("nowdoc"),l=this.next().text(),this.lexer.heredoc_label.indentation>0&&(l=l.substring(0,l.length-this.lexer.heredoc_label.indentation));let b=l[l.length-1];b===`
- `?l=l[l.length-2]==="\r"?l.substring(0,l.length-2):l.substring(0,l.length-1):b==="\r"&&(l=l.substring(0,l.length-1)),this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE)&&this.next(),this.expect(this.tok.T_END_HEREDOC)&&this.next();let _=this.lexer._input.substring(E,this.lexer.yylloc.first_offset);return m=m(this.remove_heredoc_leading_whitespace_chars(l,this.lexer.heredoc_label.indentation,this.lexer.heredoc_label.indentation_uses_spaces,this.lexer.heredoc_label.first_encaps_node),_,this.lexer.heredoc_label.label),this.lexer.heredoc_label.finished=!0,m}return this.read_encapsed_string(this.tok.T_END_HEREDOC);case'"':return this.read_encapsed_string('"');case'b"':case'B"':return this.read_encapsed_string('"',!0);case this.tok.T_CONSTANT_ENCAPSED_STRING:case this.tok.T_ARRAY:case"[":return this.read_dereferencable_scalar();default:{let E=this.error("SCALAR");return this.next(),E}}}},read_dereferencable(l){let m,E,b=this.node("offsetlookup");return this.token==="["?(E=this.next().read_expr(),this.expect("]")&&this.next(),m=b(l,E)):this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES&&(E=this.read_encapsed_string_item(!1),m=b(l,E)),m},read_encapsed_string_item(l){let m=this.node("encapsedpart"),E,b,_,q=null,G=!1,V=this.node();if(this.token===this.tok.T_ENCAPSED_AND_WHITESPACE){let re=this.text();this.next(),V=V("string",!1,this.version>=703&&!this.lexer.heredoc_label.finished?this.remove_heredoc_leading_whitespace_chars(this.resolve_special_chars(re,l),this.lexer.heredoc_label.indentation,this.lexer.heredoc_label.indentation_uses_spaces,this.lexer.heredoc_label.first_encaps_node):re,!1,re)}else if(this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES){if(q="simple",G=!0,this.next().token===this.tok.T_STRING_VARNAME){_=this.node("variable");let re=this.text();this.next(),V.destroy(),this.token==="["?(_=_(re,!1),b=this.node("offsetlookup"),E=this.next().read_expr(),this.expect("]")&&this.next(),V=b(_,E)):V=_(re,!1)}else V=V("variable",this.read_expr(),!1);this.expect("}")&&this.next()}else if(this.token===this.tok.T_CURLY_OPEN)q="complex",V.destroy(),V=this.next().read_variable(!1,!1),this.expect("}")&&this.next();else if(this.token===this.tok.T_VARIABLE){if(q="simple",V.destroy(),V=this.read_simple_variable(),this.token==="["&&(b=this.node("offsetlookup"),E=this.next().read_encaps_var_offset(),this.expect("]")&&this.next(),V=b(V,E)),this.token===this.tok.T_OBJECT_OPERATOR){b=this.node("propertylookup"),this.next().expect(this.tok.T_STRING);let re=this.node("identifier");_=this.text(),this.next(),V=b(V,re(_))}}else{this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE);let re=this.text();this.next(),V.destroy(),V=V("string",!1,re,!1,re)}return this.lexer.heredoc_label.first_encaps_node=!1,m(V,q,G)},read_encapsed_string(l){let m=arguments.length>1&&arguments[1]!==void 0&&arguments[1],E=this.lexer.yylloc.first_offset,b=this.node("encapsed");this.next();let _=this.lexer.yylloc.prev_offset-(m?1:0),q=[],G;for(G=l==="`"?this.ast.encapsed.TYPE_SHELL:l==='"'?this.ast.encapsed.TYPE_STRING:this.ast.encapsed.TYPE_HEREDOC;this.token!==l&&this.token!==this.EOF;)q.push(this.read_encapsed_string_item(!0));if(q.length>0&&q[q.length-1].kind==="encapsedpart"&&q[q.length-1].expression.kind==="string"){let V=q[q.length-1].expression,re=V.value[V.value.length-1];re===`
- `?V.value[V.value.length-2]==="\r"?V.value=V.value.substring(0,V.value.length-2):V.value=V.value.substring(0,V.value.length-1):re==="\r"&&(V.value=V.value.substring(0,V.value.length-1))}return this.expect(l)&&this.next(),b=b(q,this.lexer._input.substring(G==="heredoc"?E:_-1,this.lexer.yylloc.first_offset),G),l===this.tok.T_END_HEREDOC&&(b.label=this.lexer.heredoc_label.label,this.lexer.heredoc_label.finished=!0),b},get_magic_constant(){let l=this.node("magic"),m=this.text();return this.next(),l(m.toUpperCase(),m)}},de={read_top_statements(){let l=[];for(;this.token!==this.EOF&&this.token!=="}";){let m=this.read_top_statement();m&&(Array.isArray(m)?l=l.concat(m):l.push(m))}return l},read_top_statement(){let l=[];switch(this.token===this.tok.T_ATTRIBUTE&&(l=this.read_attr_list()),this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1,l);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_READ_ONLY:case this.tok.T_CLASS:return this.read_class_declaration_statement(l);case this.tok.T_INTERFACE:return this.read_interface_declaration_statement(l);case this.tok.T_TRAIT:return this.read_trait_declaration_statement();case this.tok.T_ENUM:return this.read_enum_declaration_statement(l);case this.tok.T_USE:return this.read_use_statement();case this.tok.T_CONST:{let m=this.node("constantstatement"),E=this.next().read_const_list();return this.expectEndOfStatement(),m(null,E)}case this.tok.T_NAMESPACE:return this.read_namespace();case this.tok.T_HALT_COMPILER:{let m=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),this.expect(";"),this.lexer.done=!0,m(this.lexer._input.substring(this.lexer.offset))}default:return this.read_statement()}},read_inner_statements(){let l=[];for(;this.token!=this.EOF&&this.token!=="}";){let m=this.read_inner_statement();m&&(Array.isArray(m)?l=l.concat(m):l.push(m))}return l},read_const_list(){return this.read_list((function(){this.expect(this.tok.T_STRING);let l=this.node("constant"),m=this.node("identifier"),E=this.text();return this.next(),m=m(E),this.expect("=")?l(m,this.next().read_expr()):l(m,null)}),",",!1)},read_declare_list(){let l=[];for(;this.token!=this.EOF&&this.token!==")";){this.expect(this.tok.T_STRING);let m=this.node("declaredirective"),E=this.node("identifier"),b=this.text();this.next(),E=E(b);let _=null;if(this.expect("=")&&(_=this.next().read_expr()),l.push(m(E,_)),this.token!==",")break;this.next()}return l},read_inner_statement(){let l=[];switch(this.token===this.tok.T_ATTRIBUTE&&(l=this.read_attr_list()),this.token){case this.tok.T_FUNCTION:{let m=this.read_function(!1,!1);return m.attrGroups=l,m}case this.tok.T_ABSTRACT:case this.tok.T_FINAL:case this.tok.T_CLASS:return this.read_class_declaration_statement();case this.tok.T_INTERFACE:return this.read_interface_declaration_statement();case this.tok.T_TRAIT:return this.read_trait_declaration_statement();case this.tok.T_ENUM:return this.read_enum_declaration_statement();case this.tok.T_HALT_COMPILER:{this.raiseError("__HALT_COMPILER() can only be used from the outermost scope");let m=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),m=m(this.lexer._input.substring(this.lexer.offset)),this.expect(";")&&this.next(),m}default:return this.read_statement()}},read_statement(){switch(this.token){case"{":return this.read_code_block(!1);case this.tok.T_IF:return this.read_if();case this.tok.T_SWITCH:return this.read_switch();case this.tok.T_FOR:return this.read_for();case this.tok.T_FOREACH:return this.read_foreach();case this.tok.T_WHILE:return this.read_while();case this.tok.T_DO:return this.read_do();case this.tok.T_COMMENT:return this.read_comment();case this.tok.T_DOC_COMMENT:return this.read_doc_comment();case this.tok.T_RETURN:{let l=this.node("return");this.next();let m=this.read_optional_expr(";");return this.expectEndOfStatement(),l(m)}case this.tok.T_BREAK:case this.tok.T_CONTINUE:{let l=this.node(this.token===this.tok.T_CONTINUE?"continue":"break");this.next();let m=this.read_optional_expr(";");return this.expectEndOfStatement(),l(m)}case this.tok.T_GLOBAL:{let l=this.node("global"),m=this.next().read_list(this.read_simple_variable,",");return this.expectEndOfStatement(),l(m)}case this.tok.T_STATIC:{let l=[this.token,this.lexer.getState()],m=this.node();if(this.next().token===this.tok.T_DOUBLE_COLON){this.lexer.tokens.push(l);let b=this.next().read_expr();return this.expectEndOfStatement(b),m("expressionstatement",b)}if(this.token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);let E=this.read_variable_declarations();return this.expectEndOfStatement(),m("static",E)}case this.tok.T_ECHO:{let l=this.node("echo"),m=this.text(),E=m==="<?="||m==="<%=",b=this.next().read_function_list(this.read_expr,",");return this.expectEndOfStatement(),l(b,E)}case this.tok.T_INLINE_HTML:{let l=this.text(),m=this.lexer.yylloc.first_offset>0?this.lexer._input[this.lexer.yylloc.first_offset-1]:null,E=m==="\r"||m===`
- `;E&&m===`
- `&&this.lexer.yylloc.first_offset>1&&this.lexer._input[this.lexer.yylloc.first_offset-2]==="\r"&&(m=`\r
- `);let b=this.node("inline");return this.next(),b(l,E?m+l:l)}case this.tok.T_UNSET:{let l=this.node("unset");this.next().expect("(")&&this.next();let m=this.read_function_list(this.read_variable,",");return this.expect(")")&&this.next(),this.expect(";")&&this.next(),l(m)}case this.tok.T_DECLARE:{let l=this.node("declare"),m=[],E;this.next().expect("(")&&this.next();let b=this.read_declare_list();if(this.expect(")")&&this.next(),this.token===":"){for(this.next();this.token!=this.EOF&&this.token!==this.tok.T_ENDDECLARE;)m.push(this.read_top_statement());m.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&m.push(this.node("noop")()),this.expect(this.tok.T_ENDDECLARE)&&this.next(),this.expectEndOfStatement(),E=this.ast.declare.MODE_SHORT}else if(this.token==="{"){for(this.next();this.token!=this.EOF&&this.token!=="}";)m.push(this.read_top_statement());m.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&m.push(this.node("noop")()),this.expect("}")&&this.next(),E=this.ast.declare.MODE_BLOCK}else this.expect(";")&&this.next(),E=this.ast.declare.MODE_NONE;return l(b,m,E)}case this.tok.T_TRY:return this.read_try();case this.tok.T_THROW:{let l=this.node("throw"),m=this.next().read_expr();return this.expectEndOfStatement(),l(m)}case";":return this.next(),null;case this.tok.T_STRING:{let l=this.node(),m=[this.token,this.lexer.getState()],E=this.text(),b=this.node("identifier");if(this.next().token===":")return b=b(E),this.next(),l("label",b);b.destroy(),l.destroy(),this.lexer.tokens.push(m);let _=this.node("expressionstatement"),q=this.next().read_expr();return this.expectEndOfStatement(q),_(q)}case this.tok.T_GOTO:{let l=this.node("goto"),m=null;if(this.next().expect(this.tok.T_STRING)){m=this.node("identifier");let E=this.text();this.next(),m=m(E),this.expectEndOfStatement()}return l(m)}default:{let l=this.node("expressionstatement"),m=this.read_expr();return this.expectEndOfStatement(m),l(m)}}},read_code_block(l){let m=this.node("block");this.expect("{")&&this.next();let E=l?this.read_top_statements():this.read_inner_statements();return E.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&E.push(this.node("noop")()),this.expect("}")&&this.next(),m(null,E)}},Te={read_switch(){let l=this.node("switch");this.expect(this.tok.T_SWITCH)&&this.next(),this.expect("(")&&this.next();let m=this.read_expr();this.expect(")")&&this.next();let E=this.token===":";return l(m,this.read_switch_case_list(),E)},read_switch_case_list(){let l=null,m=this.node("block"),E=[];for(this.token==="{"?l="}":this.token===":"?l=this.tok.T_ENDSWITCH:this.expect(["{",":"]),this.next(),this.token===";"&&this.next();this.token!==this.EOF&&this.token!==l;)E.push(this.read_case_list(l));return E.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&E.push(this.node("noop")()),this.expect(l)&&this.next(),l===this.tok.T_ENDSWITCH&&this.expectEndOfStatement(),m(null,E)},read_case_list(l){let m=this.node("case"),E=null;this.token===this.tok.T_CASE?E=this.next().read_expr():this.token===this.tok.T_DEFAULT?this.next():this.expect([this.tok.T_CASE,this.tok.T_DEFAULT]),this.expect([":",";"])&&this.next();let b=this.node("block"),_=[];for(;this.token!==this.EOF&&this.token!==l&&this.token!==this.tok.T_CASE&&this.token!==this.tok.T_DEFAULT;)_.push(this.read_inner_statement());return m(E,b(null,_))}},ve={read_try(){this.expect(this.tok.T_TRY);let l=this.node("try"),m=null,E=[],b=this.next().read_statement();for(;this.token===this.tok.T_CATCH;){let _=this.node("catch");this.next().expect("(")&&this.next();let q=this.read_list(this.read_namespace_name,"|",!1),G=null;(this.version<800||this.token===this.tok.T_VARIABLE)&&(G=this.read_variable(!0,!1)),this.expect(")"),E.push(_(this.next().read_statement(),q,G))}return this.token===this.tok.T_FINALLY&&(m=this.next().read_statement()),l(b,E,m)}},S={read_short_form(l){let m=this.node("block"),E=[];for(this.expect(":")&&this.next();this.token!=this.EOF&&this.token!==l;)E.push(this.read_inner_statement());return E.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&E.push(this.node("noop")()),this.expect(l)&&this.next(),this.expectEndOfStatement(),m(null,E)},read_function_list(l,m){let E=[];do{if(this.token==m&&this.version>=703&&E.length>0){E.push(this.node("noop")());break}if(E.push(l.apply(this,[])),this.token!=m||this.next().token==")"&&this.version>=703)break}while(this.token!=this.EOF);return E},read_list(l,m,E){let b=[];if(this.token==m&&(E&&b.push(typeof l=="function"?this.node("noop")():null),this.next()),typeof l=="function")do{let _=l.apply(this,[]);if(_&&b.push(_),this.token!=m)break}while(this.next().token!=this.EOF);else{if(!this.expect(l))return[];for(b.push(this.text());this.next().token!=this.EOF&&this.token==m&&this.next().token==l;)b.push(this.text())}return b},read_name_list(){return this.read_list(this.read_namespace_name,",",!1)},read_byref(l){let m=this.node("byref");this.next(),m=m(null);let E=l();return E&&(this.ast.swapLocations(E,m,E,this),E.byref=!0),E},read_variable_declarations(){return this.read_list((function(){let l=this.node("staticvariable"),m=this.node("variable");if(this.expect(this.tok.T_VARIABLE)){let E=this.text().substring(1);this.next(),m=m(E,!1)}else m=m("#ERR",!1);return this.token==="="?l(m,this.next().read_expr()):m}),",")},read_extends_from(){return this.token===this.tok.T_EXTENDS?this.next().read_namespace_name():null},read_interface_extends_list(){return this.token===this.tok.T_EXTENDS?this.next().read_name_list():null},read_implements_list(){return this.token===this.tok.T_IMPLEMENTS?this.next().read_name_list():null}},Me={read_variable(l,m){let E;if(this.token==="&")return this.read_byref(this.read_variable.bind(this,l,m));if(this.is([this.tok.T_VARIABLE,"$"]))E=this.read_reference_variable(m);else if(this.is([this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_NAMESPACE])){E=this.node();let b=this.read_namespace_name();if(this.token!=this.tok.T_DOUBLE_COLON&&this.token!="("&&["parentreference","selfreference"].indexOf(b.kind)===-1){let _=b.name.toLowerCase();_==="true"?E=b.destroy(E("boolean",!0,b.name)):_==="false"?E=b.destroy(E("boolean",!1,b.name)):_==="null"?E=b.destroy(E("nullkeyword",b.name)):(E.destroy(b),E=b)}else E.destroy(b),E=b}else if(this.token===this.tok.T_STATIC){E=this.node("staticreference");let b=this.text();this.next(),E=E(b)}else this.expect("VARIABLE");return this.token===this.tok.T_DOUBLE_COLON&&(E=this.read_static_getter(E,m)),this.recursive_variable_chain_scan(E,l,m)},read_static_getter(l,m){let E=this.node("staticlookup"),b,_;return this.next().is([this.tok.T_VARIABLE,"$"])?b=this.read_reference_variable(m):this.token===this.tok.T_STRING||this.token===this.tok.T_CLASS||this.version>=700&&this.is("IDENTIFIER")?(b=this.node("identifier"),_=this.text(),this.next(),b=b(_)):this.token==="{"?(b=this.node("literal"),_=this.next().read_expr(),this.expect("}")&&this.next(),b=b("literal",_,null)):(this.error([this.tok.T_VARIABLE,this.tok.T_STRING]),b=this.node("identifier"),_=this.text(),this.next(),b=b(_)),E(l,b)},read_what(){let l,m,E=arguments.length>0&&arguments[0]!==void 0&&arguments[0];switch(this.next().token){case this.tok.T_STRING:l=this.node("identifier"),m=this.text(),this.next(),l=l(m),E&&this.token===this.tok.T_OBJECT_OPERATOR&&this.error();break;case this.tok.T_VARIABLE:l=this.node("variable"),m=this.text().substring(1),this.next(),l=l(m,!1);break;case this.tok.T_CLASS:E||this.error(),l=this.node("identifier"),m=this.text(),this.next(),l=l(m,!1);break;case"$":l=this.node(),this.next().expect(["$","{",this.tok.T_VARIABLE]),this.token==="{"?(m=this.next().read_expr(),this.expect("}")&&this.next(),l=l("variable",m,!0)):(m=this.read_expr(),l=l("variable",m,!1));break;case"{":l=this.node("encapsedpart"),m=this.next().read_expr(),this.expect("}")&&this.next(),l=l(m,"complex",!1);break;default:this.error([this.tok.T_STRING,this.tok.T_VARIABLE,"$","{"]),l=this.node("identifier"),m=this.text(),this.next(),l=l(m)}return l},recursive_variable_chain_scan(l,m,E){let b,_;e:for(;this.token!=this.EOF;)switch(this.token){case"(":if(m)return l;l=this.node("call")(l,this.read_argument_list());break;case"[":case"{":{let q=this.token==="[";b=this.node("offsetlookup"),this.next(),_=!1,E?(_=this.read_encaps_var_offset(),this.expect(q?"]":"}")&&this.next()):(q?this.token!=="]":this.token!=="}")?(_=this.read_expr(),this.expect(q?"]":"}")&&this.next()):this.next(),l=b(l,_);break}case this.tok.T_DOUBLE_COLON:l.kind==="staticlookup"&&l.offset.kind==="identifier"&&this.error(),b=this.node("staticlookup"),l=b(l,this.read_what(!0));break;case this.tok.T_OBJECT_OPERATOR:b=this.node("propertylookup"),l=b(l,this.read_what());break;case this.tok.T_NULLSAFE_OBJECT_OPERATOR:b=this.node("nullsafepropertylookup"),l=b(l,this.read_what());break;default:break e}return l},read_encaps_var_offset(){let l=this.node();if(this.token===this.tok.T_STRING){let m=this.text();this.next(),l=l("identifier",m)}else if(this.token===this.tok.T_NUM_STRING){let m=this.text();this.next(),l=l("number",m,null)}else if(this.token==="-"){this.next();let m=-1*this.text();this.expect(this.tok.T_NUM_STRING)&&this.next(),l=l("number",m,null)}else if(this.token===this.tok.T_VARIABLE){let m=this.text().substring(1);this.next(),l=l("variable",m,!1)}else{this.expect([this.tok.T_STRING,this.tok.T_NUM_STRING,"-",this.tok.T_VARIABLE]);let m=this.text();this.next(),l=l("identifier",m)}return l},read_reference_variable(l){let m,E=this.read_simple_variable();for(;this.token!=this.EOF;){let b=this.node();if(this.token!="{"||l){b.destroy();break}m=this.next().read_expr(),this.expect("}")&&this.next(),E=b("offsetlookup",E,m)}return E},read_simple_variable(){let l,m=this.node("variable");if(this.expect([this.tok.T_VARIABLE,"$"])&&this.token===this.tok.T_VARIABLE)l=this.text().substring(1),this.next(),m=m(l,!1);else switch(this.token==="$"&&this.next(),this.token){case"{":{let E=this.next().read_expr();this.expect("}")&&this.next(),m=m(E,!0);break}case"$":m=m(this.read_simple_variable(),!1);break;case this.tok.T_VARIABLE:{l=this.text().substring(1);let E=this.node("variable");this.next(),m=m(E(l,!1),!1);break}default:this.error(["{","$",this.tok.T_VARIABLE]),l=this.text(),this.next(),m=m(l,!1)}return m}};let Ae=P;function j(l){return l!="."&&l!=","&&!isNaN(parseFloat(l))&&isFinite(l)}let pe=function(l,m){this.lexer=l,this.ast=m,this.tok=l.tok,this.EOF=l.EOF,this.token=null,this.prev=null,this.debug=!1,this.version=803,this.extractDoc=!1,this.extractTokens=!1,this.suppressErrors=!1;let E=function(b){return[b,null]};this.entries={IDENTIFIER:new Map([this.tok.T_ABSTRACT,this.tok.T_ARRAY,this.tok.T_AS,this.tok.T_BREAK,this.tok.T_CALLABLE,this.tok.T_CASE,this.tok.T_CATCH,this.tok.T_CLASS,this.tok.T_CLASS_C,this.tok.T_CLONE,this.tok.T_CONST,this.tok.T_CONTINUE,this.tok.T_DECLARE,this.tok.T_DEFAULT,this.tok.T_DIR,this.tok.T_DO,this.tok.T_ECHO,this.tok.T_ELSE,this.tok.T_ELSEIF,this.tok.T_EMPTY,this.tok.T_ENDDECLARE,this.tok.T_ENDFOR,this.tok.T_ENDFOREACH,this.tok.T_ENDIF,this.tok.T_ENDSWITCH,this.tok.T_ENDWHILE,this.tok.T_ENUM,this.tok.T_EVAL,this.tok.T_EXIT,this.tok.T_EXTENDS,this.tok.T_FILE,this.tok.T_FINAL,this.tok.T_FINALLY,this.tok.T_FN,this.tok.T_FOR,this.tok.T_FOREACH,this.tok.T_FUNC_C,this.tok.T_FUNCTION,this.tok.T_GLOBAL,this.tok.T_GOTO,this.tok.T_IF,this.tok.T_IMPLEMENTS,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_INSTANCEOF,this.tok.T_INSTEADOF,this.tok.T_INTERFACE,this.tok.T_ISSET,this.tok.T_LINE,this.tok.T_LIST,this.tok.T_LOGICAL_AND,this.tok.T_LOGICAL_OR,this.tok.T_LOGICAL_XOR,this.tok.T_MATCH,this.tok.T_METHOD_C,this.tok.T_NAMESPACE,this.tok.T_NEW,this.tok.T_NS_C,this.tok.T_PRINT,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_PUBLIC,this.tok.T_READ_ONLY,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_RETURN,this.tok.T_STATIC,this.tok.T_SWITCH,this.tok.T_THROW,this.tok.T_TRAIT,this.tok.T_TRY,this.tok.T_UNSET,this.tok.T_USE,this.tok.T_VAR,this.tok.T_WHILE,this.tok.T_YIELD].map(E)),VARIABLE:new Map([this.tok.T_VARIABLE,"$","&",this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_NAMESPACE,this.tok.T_STATIC].map(E)),SCALAR:new Map([this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(E)),T_MAGIC_CONST:new Map([this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(E)),T_MEMBER_FLAGS:new Map([this.tok.T_PUBLIC,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_STATIC,this.tok.T_ABSTRACT,this.tok.T_FINAL].map(E)),EOS:new Map([";",this.EOF,this.tok.T_INLINE_HTML].map(E)),EXPR:new Map(["@","-","+","!","~","(","`",this.tok.T_LIST,this.tok.T_CLONE,this.tok.T_INC,this.tok.T_DEC,this.tok.T_NEW,this.tok.T_ISSET,this.tok.T_EMPTY,this.tok.T_MATCH,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_EVAL,this.tok.T_INT_CAST,this.tok.T_DOUBLE_CAST,this.tok.T_STRING_CAST,this.tok.T_ARRAY_CAST,this.tok.T_OBJECT_CAST,this.tok.T_BOOL_CAST,this.tok.T_UNSET_CAST,this.tok.T_EXIT,this.tok.T_PRINT,this.tok.T_YIELD,this.tok.T_STATIC,this.tok.T_FUNCTION,this.tok.T_FN,this.tok.T_VARIABLE,"$",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAME_RELATIVE,this.tok.T_NAME_QUALIFIED,this.tok.T_NAME_FULLY_QUALIFIED,this.tok.T_STRING,this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(E))}};pe.prototype.getTokenName=function(l){return j(l)?l==this.EOF?"the end of file (EOF)":this.lexer.engine.tokens.values[l]:"'"+l+"'"},pe.prototype.parse=function(l,m){this._errors=[],this.filename=m||"eval",this.currentNamespace=[""],this.extractDoc?this._docs=[]:this._docs=null,this.extractTokens?this._tokens=[]:this._tokens=null,this._docIndex=0,this._lastNode=null,this.lexer.setInput(l),this.lexer.all_tokens=this.extractTokens,this.lexer.comment_tokens=this.extractDoc,this.length=this.lexer._input.length,this.innerList=!1,this.innerListForm=!1;let E=this.node("program"),b=[];for(this.next();this.token!=this.EOF;)b.push(this.read_start());b.length===0&&this.extractDoc&&this._docs.length>this._docIndex&&b.push(this.node("noop")()),this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset];let _=E(b,this._errors,this._docs,this._tokens);if(this.debug){let q=this.ast.checkNodes();if(q.length>0)throw q.forEach((function(G){G.position&&console.log("Node at line "+G.position.line+", column "+G.position.column),console.log(G.stack.join(`
- `))})),new Error("Some nodes are not closed")}return _},pe.prototype.raiseError=function(l,m,E,b){if(l+=" on line "+this.lexer.yylloc.first_line,!this.suppressErrors){let q=new SyntaxError(l,this.filename,this.lexer.yylloc.first_line);throw q.lineNumber=this.lexer.yylloc.first_line,q.fileName=this.filename,q.columnNumber=this.lexer.yylloc.first_column,q}let _=this.ast.prepare("error",null,this)(l,b,this.lexer.yylloc.first_line,E);return this._errors.push(_),_},pe.prototype.error=function(l){let m="Parse Error : syntax error",E=this.getTokenName(this.token),b="";if(this.token!==this.EOF){if(j(this.token)){let _=this.text();_.length>10&&(_=_.substring(0,7)+"..."),E="'"+_+"' ("+E+")"}m+=", unexpected "+E}return l&&!Array.isArray(l)&&((j(l)||l.length===1)&&(b=", expecting "+this.getTokenName(l)),m+=b),this.raiseError(m,b,l,E)},pe.prototype.position=function(){return new Ae(this.lexer.yylloc.first_line,this.lexer.yylloc.first_column,this.lexer.yylloc.first_offset)},pe.prototype.node=function(l){if(this.extractDoc){let m=null;this._docIndex<this._docs.length&&(m=this._docs.slice(this._docIndex),this._docIndex=this._docs.length,this.debug&&(console.log(new Error("Append docs on "+l)),console.log(m)));let E=this.ast.prepare(l,m,this);return E.postBuild=function(b){if(this._docIndex<this._docs.length)if(this._lastNode){let _=this.prev[2],q=this._docIndex;for(;q<this._docs.length&&!(this._docs[q].offset>_);q++);q>this._docIndex&&(this._lastNode.setTrailingComments(this._docs.slice(this._docIndex,q)),this._docIndex=q)}else this.token===this.EOF&&(b.setTrailingComments(this._docs.slice(this._docIndex)),this._docIndex=this._docs.length);this._lastNode=b}.bind(this),E}return this.ast.prepare(l,null,this)},pe.prototype.expectEndOfStatement=function(l){if(this.token===";")l&&this.lexer.yytext===";"&&l.includeToken(this);else if(this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF)return this.error(";"),!1;return this.next(),!0};let Ie=["parser.next","parser.node","parser.showlog"];pe.prototype.showlog=function(){let l=new Error().stack.split(`
- `),m;for(let E=2;E<l.length;E++){m=l[E].trim();let b=!1;for(let _=0;_<Ie.length;_++)if(m.substring(3,3+Ie[_].length)===Ie[_]){b=!0;break}if(!b)break}return console.log("Line "+this.lexer.yylloc.first_line+" : "+this.getTokenName(this.token)+">"+this.lexer.yytext+"< @-->"+m),this},pe.prototype.expect=function(l){if(Array.isArray(l)){if(l.indexOf(this.token)===-1)return this.error(l),!1}else if(this.token!=l)return this.error(l),!1;return!0},pe.prototype.text=function(){return this.lexer.yytext},pe.prototype.next=function(){if(this.token===";"&&this.lexer.yytext!==";"||(this.prev=[this.lexer.yylloc.last_line,this.lexer.yylloc.last_column,this.lexer.offset]),this.lex(),this.debug&&this.showlog(),this.extractDoc)for(;this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT;)this.token===this.tok.T_COMMENT?this._docs.push(this.read_comment()):this._docs.push(this.read_doc_comment());return this},pe.prototype.peek=function(){let l=this.lexer.getState(),m=this.lexer.lex();return this.lexer.setState(l),m},pe.prototype.lex=function(){if(this.extractTokens)do{if(this.token=this.lexer.lex()||this.EOF,this.token===this.EOF)return this;let l=this.lexer.yytext;if(l=Object.prototype.hasOwnProperty.call(this.lexer.engine.tokens.values,this.token)?[this.lexer.engine.tokens.values[this.token],l,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset]:[null,l,this.lexer.yylloc.first_line,this.lexer.yylloc.first_offset,this.lexer.offset],this._tokens.push(l),this.token===this.tok.T_CLOSE_TAG)return this.token=";",this;if(this.token===this.tok.T_OPEN_TAG_WITH_ECHO)return this.token=this.tok.T_ECHO,this}while(this.token===this.tok.T_WHITESPACE||!this.extractDoc&&(this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT)||this.token===this.tok.T_OPEN_TAG);else this.token=this.lexer.lex()||this.EOF;return this},pe.prototype.is=function(l){return Array.isArray(l)?l.indexOf(this.token)!==-1:this.entries[l].has(this.token)},[v,w,I,O,R,M,W,K,H,Z,Y,de,Te,ve,S,Me].forEach((function(l){for(let m in l){if(Object.prototype.hasOwnProperty.call(pe.prototype,m))throw new Error("Function "+m+" is already defined - collision");pe.prototype[m]=l[m]}}));var xe=pe;let ae={T_HALT_COMPILER:101,T_USE:102,T_ENCAPSED_AND_WHITESPACE:103,T_OBJECT_OPERATOR:104,T_STRING:105,T_DOLLAR_OPEN_CURLY_BRACES:106,T_STRING_VARNAME:107,T_CURLY_OPEN:108,T_NUM_STRING:109,T_ISSET:110,T_EMPTY:111,T_INCLUDE:112,T_INCLUDE_ONCE:113,T_EVAL:114,T_REQUIRE:115,T_REQUIRE_ONCE:116,T_NAMESPACE:117,T_NS_SEPARATOR:118,T_AS:119,T_IF:120,T_ENDIF:121,T_WHILE:122,T_DO:123,T_FOR:124,T_SWITCH:125,T_BREAK:126,T_CONTINUE:127,T_RETURN:128,T_GLOBAL:129,T_STATIC:130,T_ECHO:131,T_INLINE_HTML:132,T_UNSET:133,T_FOREACH:134,T_DECLARE:135,T_TRY:136,T_THROW:137,T_GOTO:138,T_FINALLY:139,T_CATCH:140,T_ENDDECLARE:141,T_LIST:142,T_CLONE:143,T_PLUS_EQUAL:144,T_MINUS_EQUAL:145,T_MUL_EQUAL:146,T_DIV_EQUAL:147,T_CONCAT_EQUAL:148,T_MOD_EQUAL:149,T_AND_EQUAL:150,T_OR_EQUAL:151,T_XOR_EQUAL:152,T_SL_EQUAL:153,T_SR_EQUAL:154,T_INC:155,T_DEC:156,T_BOOLEAN_OR:157,T_BOOLEAN_AND:158,T_LOGICAL_OR:159,T_LOGICAL_AND:160,T_LOGICAL_XOR:161,T_SL:162,T_SR:163,T_IS_IDENTICAL:164,T_IS_NOT_IDENTICAL:165,T_IS_EQUAL:166,T_IS_NOT_EQUAL:167,T_IS_SMALLER_OR_EQUAL:168,T_IS_GREATER_OR_EQUAL:169,T_INSTANCEOF:170,T_INT_CAST:171,T_DOUBLE_CAST:172,T_STRING_CAST:173,T_ARRAY_CAST:174,T_OBJECT_CAST:175,T_BOOL_CAST:176,T_UNSET_CAST:177,T_EXIT:178,T_PRINT:179,T_YIELD:180,T_YIELD_FROM:181,T_FUNCTION:182,T_DOUBLE_ARROW:183,T_DOUBLE_COLON:184,T_ARRAY:185,T_CALLABLE:186,T_CLASS:187,T_ABSTRACT:188,T_TRAIT:189,T_FINAL:190,T_EXTENDS:191,T_INTERFACE:192,T_IMPLEMENTS:193,T_VAR:194,T_PUBLIC:195,T_PROTECTED:196,T_PRIVATE:197,T_CONST:198,T_NEW:199,T_INSTEADOF:200,T_ELSEIF:201,T_ELSE:202,T_ENDSWITCH:203,T_CASE:204,T_DEFAULT:205,T_ENDFOR:206,T_ENDFOREACH:207,T_ENDWHILE:208,T_CONSTANT_ENCAPSED_STRING:209,T_LNUMBER:210,T_DNUMBER:211,T_LINE:212,T_FILE:213,T_DIR:214,T_TRAIT_C:215,T_METHOD_C:216,T_FUNC_C:217,T_NS_C:218,T_START_HEREDOC:219,T_END_HEREDOC:220,T_CLASS_C:221,T_VARIABLE:222,T_OPEN_TAG:223,T_OPEN_TAG_WITH_ECHO:224,T_CLOSE_TAG:225,T_WHITESPACE:226,T_COMMENT:227,T_DOC_COMMENT:228,T_ELLIPSIS:229,T_COALESCE:230,T_POW:231,T_POW_EQUAL:232,T_SPACESHIP:233,T_COALESCE_EQUAL:234,T_FN:235,T_NULLSAFE_OBJECT_OPERATOR:236,T_MATCH:237,T_ATTRIBUTE:238,T_ENUM:239,T_READ_ONLY:240,T_NAME_RELATIVE:241,T_NAME_QUALIFIED:242,T_NAME_FULLY_QUALIFIED:243,T_PIPE:244},Q={values:Object.entries(ae).reduce(((l,m)=>{let[E,b]=m;return{...l,[b]:E}}),{}),names:ae};var ne=Object.freeze(Q),we=function(l,m,E){this.source=l,this.start=m,this.end=E};let Be=function(l,m,E){this.kind=l,m&&(this.leadingComments=m),E&&(this.loc=E)};Be.prototype.setTrailingComments=function(l){this.trailingComments=l},Be.prototype.destroy=function(l){if(!l)throw new Error("Node already initialized, you must swap with another node");return this.leadingComments&&(l.leadingComments?l.leadingComments=Array.concat(this.leadingComments,l.leadingComments):l.leadingComments=this.leadingComments),this.trailingComments&&(l.trailingComments?l.trailingComments=Array.concat(this.trailingComments,l.trailingComments):l.trailingComments=this.trailingComments),l},Be.prototype.includeToken=function(l){return this.loc&&(this.loc.end&&(this.loc.end.line=l.lexer.yylloc.last_line,this.loc.end.column=l.lexer.yylloc.last_column,this.loc.end.offset=l.lexer.offset),l.ast.withSource&&(this.loc.source=l.lexer._input.substring(this.loc.start.offset,l.lexer.offset))),this},Be.extends=function(l,m){return m.prototype=Object.create(this.prototype),m.extends=this.extends,m.prototype.constructor=m,m.kind=l,m};var Le=Be;let qe=Le,ut="expression";var et=qe.extends(ut,(function(l,m,E){qe.apply(this,[l||ut,m,E])}));let Nt=et,vt="array";var tt=Nt.extends(vt,(function(l,m,E,b){Nt.apply(this,[vt,E,b]),this.items=m,this.shortForm=l}));let rt=et,Mt="arrowfunc";var sr=rt.extends(Mt,(function(l,m,E,b,_,q,G,V){rt.apply(this,[Mt,G,V]),this.arguments=l,this.byref=m,this.body=E,this.type=b,this.nullable=_,this.isStatic=q||!1}));let $t=et,Pt="assign";var Ut=$t.extends(Pt,(function(l,m,E,b,_){$t.apply(this,[Pt,b,_]),this.left=l,this.right=m,this.operator=E}));let er=et,he="assignref";var Fe=er.extends(he,(function(l,m,E,b){er.apply(this,[he,E,b]),this.left=l,this.right=m}));let Qe=Le,lt="attribute";var ct=Qe.extends(lt,(function(l,m,E,b){Qe.apply(this,[lt,E,b]),this.name=l,this.args=m}));let Rt=Le,Mr="attrgroup";var kr=Rt.extends(Mr,(function(l,m,E){Rt.apply(this,[Mr,m,E]),this.attrs=l||[]}));let Dr=et,Tr="operation";var wt=Dr.extends(Tr,(function(l,m,E){Dr.apply(this,[l||Tr,m,E])}));let Yt=wt;var Rr=Yt.extends("bin",(function(l,m,E,b,_){Yt.apply(this,["bin",b,_]),this.type=l,this.left=m,this.right=E}));let ui=Le,Mi="statement";var yt=ui.extends(Mi,(function(l,m,E){ui.apply(this,[l||Mi,m,E])}));let Wt=yt,hn="block";var vr=Wt.extends(hn,(function(l,m,E,b){Wt.apply(this,[l||hn,E,b]),this.children=m.filter(Boolean)}));let ys=et,sa="literal";var dn=ys.extends(sa,(function(l,m,E,b,_){ys.apply(this,[l||sa,b,_]),this.value=m,E&&(this.raw=E)}));let Jn=dn,Ri="boolean";var mD=Jn.extends(Ri,(function(l,m,E,b){Jn.apply(this,[Ri,l,m,E,b])}));let _u=yt,Ap="break";var bp=_u.extends(Ap,(function(l,m,E){_u.apply(this,[Ap,m,E]),this.level=l}));let aa=et,li="byref";var DD=aa.extends(li,(function(l,m,E){aa.apply(this,[li,m,E]),this.what=l}));let Bu=et,kp="call";var yD=Bu.extends(kp,(function(l,m,E,b){Bu.apply(this,[kp,E,b]),this.what=l,this.arguments=m}));let Tp=yt,Pu="case";var gD=Tp.extends(Pu,(function(l,m,E,b){Tp.apply(this,[Pu,E,b]),this.test=l,this.body=m}));let Iu=wt,vp="cast";var Nu=Iu.extends(vp,(function(l,m,E,b,_){Iu.apply(this,[vp,b,_]),this.type=l,this.raw=m,this.expr=E}));let _n=yt,Lu="catch";var Sp=_n.extends(Lu,(function(l,m,E,b,_){_n.apply(this,[Lu,b,_]),this.body=l,this.what=m,this.variable=E}));let uo=yt,wp="declaration",_p=uo.extends(wp,(function(l,m,E,b){uo.apply(this,[l||wp,E,b]),this.name=m}));_p.prototype.parseFlags=function(l){this.isAbstract=l[2]===1,this.isFinal=l[2]===2,this.isReadonly=l[3]===1,this.kind!=="class"&&(l[0]===-1?this.visibility="":l[0]===null?this.visibility=null:l[0]===0?this.visibility="public":l[0]===1?this.visibility="protected":l[0]===2&&(this.visibility="private"),this.isStatic=l[1]===1)};var ar=_p;let Bp=ar,Pp="class";var xD=Bp.extends(Pp,(function(l,m,E,b,_,q,G){Bp.apply(this,[Pp,l,q,G]),this.isAnonymous=!l,this.extends=m,this.implements=E,this.body=b,this.attrGroups=[],this.parseFlags(_)}));let Ip=yt,Np="constantstatement";var Lp=Ip.extends(Np,(function(l,m,E,b){Ip.apply(this,[l||Np,E,b]),this.constants=m}));let Op=Lp,Ou="classconstant",Mu=Op.extends(Ou,(function(l,m,E,b,_,q,G,V){Op.apply(this,[l||Ou,m,G,V]),this.parseFlags(E),this.nullable=b,this.type=_,this.attrGroups=q}));Mu.prototype.parseFlags=function(l){l[0]===-1?this.visibility="":l[0]===null?this.visibility=null:l[0]===0?this.visibility="public":l[0]===1?this.visibility="protected":l[0]===2&&(this.visibility="private"),this.final=l[2]===2};var Mp=Mu;let Rp=et,jp="clone";var ED=Rp.extends(jp,(function(l,m,E){Rp.apply(this,[jp,m,E]),this.what=l}));let qp=et,Up="closure";var CD=qp.extends(Up,(function(l,m,E,b,_,q,G,V){qp.apply(this,[Up,G,V]),this.uses=E,this.arguments=l,this.byref=m,this.type=b,this.nullable=_,this.isStatic=q||!1,this.body=null,this.attrGroups=[]}));let Vp=Le;var Ru=Vp.extends("comment",(function(l,m,E,b){Vp.apply(this,[l,E,b]),this.value=m}));let $p=Ru,lo="commentblock";var FD=$p.extends(lo,(function(l,m,E){$p.apply(this,[lo,l,m,E])}));let zp=Ru,ju="commentline";var Hp=zp.extends(ju,(function(l,m,E){zp.apply(this,[ju,l,m,E])}));let Wp=Le,Gp="constant";var AD=Wp.extends(Gp,(function(l,m,E,b){Wp.apply(this,[Gp,E,b]),this.name=l,this.value=m}));let qu=yt,Jp="continue";var bD=qu.extends(Jp,(function(l,m,E){qu.apply(this,[Jp,m,E]),this.level=l}));let $r=vr,fn="declare",gs=$r.extends(fn,(function(l,m,E,b,_){$r.apply(this,[fn,m,b,_]),this.directives=l,this.mode=E}));gs.MODE_SHORT="short",gs.MODE_BLOCK="block",gs.MODE_NONE="none";var co=gs;let oa=Le,Kp="declaredirective";var Uu=oa.extends(Kp,(function(l,m,E,b){oa.apply(this,[Kp,E,b]),this.key=l,this.value=m}));let Xp=yt;var kD=Xp.extends("do",(function(l,m,E,b){Xp.apply(this,["do",E,b]),this.test=l,this.body=m}));let Yp=yt,Vu="echo";var TD=Yp.extends(Vu,(function(l,m,E,b){Yp.apply(this,[Vu,E,b]),this.shortForm=m,this.expressions=l}));let po=et,xs="empty";var vD=po.extends(xs,(function(l,m,E){po.apply(this,[xs,m,E]),this.expression=l}));let Kn=dn,$u="encapsed",Es=Kn.extends($u,(function(l,m,E,b,_){Kn.apply(this,[$u,l,m,b,_]),this.type=E}));Es.TYPE_STRING="string",Es.TYPE_SHELL="shell",Es.TYPE_HEREDOC="heredoc",Es.TYPE_OFFSET="offset";var Qp=Es;let Zp=et,ci="encapsedpart";var SD=Zp.extends(ci,(function(l,m,E,b,_){Zp.apply(this,[ci,b,_]),this.expression=l,this.syntax=m,this.curly=E}));let Xn=et,ua="entry";var wD=Xn.extends(ua,(function(l,m,E,b,_,q){Xn.apply(this,[ua,_,q]),this.key=l,this.value=m,this.byRef=E,this.unpack=b}));let eh=ar,th="enum";var rh=eh.extends(th,(function(l,m,E,b,_,q){eh.apply(this,[th,l,_,q]),this.valueType=m,this.implements=E,this.body=b,this.attrGroups=[]}));let zu=Le,nh="enumcase";var Hu=zu.extends(nh,(function(l,m,E,b){zu.apply(this,[nh,E,b]),this.name=l,this.value=m}));let Cs=Le,pi="error";var la=Cs.extends(pi,(function(l,m,E,b,_,q){Cs.apply(this,[pi,_,q]),this.message=l,this.token=m,this.line=E,this.expected=b}));let Wu=et,Gu="eval";var Ju=Wu.extends(Gu,(function(l,m,E){Wu.apply(this,[Gu,m,E]),this.source=l}));let ih=et,Ku="exit";var _D=ih.extends(Ku,(function(l,m,E,b){ih.apply(this,[Ku,E,b]),this.expression=l,this.useDie=m}));let sh=yt,Xu="expressionstatement";var Yu=sh.extends(Xu,(function(l,m,E){sh.apply(this,[Xu,m,E]),this.expression=l}));let ah=yt;var Qu=ah.extends("for",(function(l,m,E,b,_,q,G){ah.apply(this,["for",q,G]),this.init=l,this.test=m,this.increment=E,this.shortForm=_,this.body=b}));let Zu=yt,el="foreach";var BD=Zu.extends(el,(function(l,m,E,b,_,q,G){Zu.apply(this,[el,q,G]),this.source=l,this.key=m,this.value=E,this.shortForm=_,this.body=b}));let oh=ar,uh="function";var lh=oh.extends(uh,(function(l,m,E,b,_,q,G){oh.apply(this,[uh,l,q,G]),this.arguments=m,this.byref=E,this.type=b,this.nullable=_,this.body=null,this.attrGroups=[]}));let ch=yt,ph="global";var PD=ch.extends(ph,(function(l,m,E){ch.apply(this,[ph,m,E]),this.items=l}));let tl=yt,rl="goto";var ID=tl.extends(rl,(function(l,m,E){tl.apply(this,[rl,m,E]),this.label=l}));let ca=yt,hh="halt";var dh=ca.extends(hh,(function(l,m,E){ca.apply(this,[hh,m,E]),this.after=l}));let fh=Le,mh="identifier";var ND=fh.extends(mh,(function(l,m,E){fh.apply(this,[mh,m,E]),this.name=l}));let Dh=yt;var LD=Dh.extends("if",(function(l,m,E,b,_,q){Dh.apply(this,["if",_,q]),this.test=l,this.body=m,this.alternate=E,this.shortForm=b}));let yh=et,nl="include";var OD=yh.extends(nl,(function(l,m,E,b,_){yh.apply(this,[nl,b,_]),this.once=l,this.require=m,this.target=E}));let gh=dn,xh="inline";var MD=gh.extends(xh,(function(l,m,E,b){gh.apply(this,[xh,l,m,E,b])}));let Eh=ar,il="interface";var RD=Eh.extends(il,(function(l,m,E,b,_,q){Eh.apply(this,[il,l,_,q]),this.extends=m,this.body=E,this.attrGroups=b}));let Ch=ar,sl="intersectiontype";var jD=Ch.extends(sl,(function(l,m,E){Ch.apply(this,[sl,null,m,E]),this.types=l}));let al=et,ji="isset";var Fh=al.extends(ji,(function(l,m,E){al.apply(this,[ji,m,E]),this.variables=l}));let mn=yt,Ah="label";var bh=mn.extends(Ah,(function(l,m,E){mn.apply(this,[Ah,m,E]),this.name=l}));let pa=et,ol="list";var qD=pa.extends(ol,(function(l,m,E,b){pa.apply(this,[ol,E,b]),this.items=l,this.shortForm=m}));let ul=et,ll="lookup";var Fs=ul.extends(ll,(function(l,m,E,b,_){ul.apply(this,[l||ll,b,_]),this.what=m,this.offset=E}));let qi=dn,ho="magic";var cl=qi.extends(ho,(function(l,m,E,b){qi.apply(this,[ho,l,m,E,b])}));let kh=et,pl="match";var UD=kh.extends(pl,(function(l,m,E,b){kh.apply(this,[pl,E,b]),this.cond=l,this.arms=m}));let Th=et,Yn="matcharm";var VD=Th.extends(Yn,(function(l,m,E,b){Th.apply(this,[Yn,E,b]),this.conds=l,this.body=m}));let vh=lh,Sh="method";var $D=vh.extends(Sh,(function(){vh.apply(this,arguments),this.kind=Sh}));let hl=Le,wh="reference";var As=hl.extends(wh,(function(l,m,E){hl.apply(this,[l||wh,m,E])}));let _h=As,Bh="name",ha=_h.extends(Bh,(function(l,m,E,b){_h.apply(this,[Bh,E,b]),this.name=l.replace(/\\$/,""),this.resolution=m}));ha.UNQUALIFIED_NAME="uqn",ha.QUALIFIED_NAME="qn",ha.FULL_QUALIFIED_NAME="fqn",ha.RELATIVE_NAME="rn";var zD=ha;let Ph=vr,dl="namespace";var Ih=Ph.extends(dl,(function(l,m,E,b,_){Ph.apply(this,[dl,m,b,_]),this.name=l,this.withBrackets=E||!1}));let fl=et,ml="namedargument";var Nh=fl.extends(ml,(function(l,m,E,b){fl.apply(this,[ml,E,b]),this.name=l,this.value=m}));let fo=et;var Lh=fo.extends("new",(function(l,m,E,b){fo.apply(this,["new",E,b]),this.what=l,this.arguments=m}));let Oh=Le,Mh="noop";var HD=Oh.extends(Mh,(function(l,m){Oh.apply(this,[Mh,l,m])}));let Rh=dn,Dl="nowdoc";var WD=Rh.extends(Dl,(function(l,m,E,b,_){Rh.apply(this,[Dl,l,m,b,_]),this.label=E}));let jh=Le,qh="nullkeyword";var GD=jh.extends(qh,(function(l,m,E){jh.apply(this,[qh,m,E]),this.raw=l}));let Uh=Fs,mo="nullsafepropertylookup";var JD=Uh.extends(mo,(function(l,m,E,b){Uh.apply(this,[mo,l,m,E,b])}));let Vh=dn,$h="number";var KD=Vh.extends($h,(function(l,m,E,b){Vh.apply(this,[$h,l,m,E,b])}));let zh=Fs,Hh="offsetlookup";var Wh=zh.extends(Hh,(function(l,m,E,b){zh.apply(this,[Hh,l,m,E,b])}));let Gh=ar,Jh="parameter";var XD=Gh.extends(Jh,(function(l,m,E,b,_,q,G,V,re,ee){Gh.apply(this,[Jh,l,re,ee]),this.value=E,this.type=m,this.byref=b,this.variadic=_,this.readonly=q,this.nullable=G,this.flags=V||0,this.attrGroups=[]}));let Do=As,yl="parentreference";var QD=Do.extends(yl,(function(l,m,E){Do.apply(this,[yl,m,E]),this.raw=l}));let Kh=wt,Xh="post";var ZD=Kh.extends(Xh,(function(l,m,E,b){Kh.apply(this,[Xh,E,b]),this.type=l,this.what=m}));let Yh=wt;var Qh=Yh.extends("pre",(function(l,m,E,b){Yh.apply(this,["pre",E,b]),this.type=l,this.what=m}));let Zh=et,ed="print";var td=Zh.extends(ed,(function(l,m,E){Zh.apply(this,[ed,m,E]),this.expression=l}));let gl=vr,rd="program";var xl=gl.extends(rd,(function(l,m,E,b,_,q){gl.apply(this,[rd,l,_,q]),this.errors=m,E&&(this.comments=E),b&&(this.tokens=b)}));let El=yt,nd="property";var e2=El.extends(nd,(function(l,m,E,b,_,q,G,V){El.apply(this,[nd,G,V]),this.name=l,this.value=m,this.readonly=E,this.nullable=b,this.type=_,this.attrGroups=q}));let id=Fs,sd="propertylookup";var t2=id.extends(sd,(function(l,m,E,b){id.apply(this,[sd,l,m,E,b])}));let ad=yt,od="propertystatement",ud=ad.extends(od,(function(l,m,E,b,_){ad.apply(this,[od,b,_]),this.properties=m,this.parseFlags(E)}));ud.prototype.parseFlags=function(l){l[0]===-1?this.visibility="":l[0]===null?this.visibility=null:l[0]===0?this.visibility="public":l[0]===1?this.visibility="protected":l[0]===2&&(this.visibility="private"),this.isStatic=l[1]===1};var ld=ud;let cd=et,Ui="retif";var pd=cd.extends(Ui,(function(l,m,E,b,_){cd.apply(this,[Ui,b,_]),this.test=l,this.trueExpr=m,this.falseExpr=E}));let hd=yt,dd="return";var r2=hd.extends(dd,(function(l,m,E){hd.apply(this,[dd,m,E]),this.expr=l}));let fd=As,md="selfreference";var n2=fd.extends(md,(function(l,m,E){fd.apply(this,[md,m,E]),this.raw=l}));let Dd=et,yd="silent";var i2=Dd.extends(yd,(function(l,m,E){Dd.apply(this,[yd,m,E]),this.expr=l}));let da=yt,Cl="static";var gd=da.extends(Cl,(function(l,m,E){da.apply(this,[Cl,m,E]),this.variables=l}));let xd=Le,Fl="staticvariable";var s2=xd.extends(Fl,(function(l,m,E,b){xd.apply(this,[Fl,E,b]),this.variable=l,this.defaultValue=m}));let Ed=Fs,Cd="staticlookup";var a2=Ed.extends(Cd,(function(l,m,E,b){Ed.apply(this,[Cd,l,m,E,b])}));let Fd=As,Ad="staticreference";var u2=Fd.extends(Ad,(function(l,m,E){Fd.apply(this,[Ad,m,E]),this.raw=l}));let go=dn,bd="string";var kd=go.extends(bd,(function(l,m,E,b,_,q){go.apply(this,[bd,m,b,_,q]),this.unicode=E,this.isDoubleQuote=l}));let Td=yt,Al="switch";var l2=Td.extends(Al,(function(l,m,E,b,_){Td.apply(this,[Al,b,_]),this.test=l,this.body=m,this.shortForm=E}));let bl=yt,kl="throw";var vd=bl.extends(kl,(function(l,m,E){bl.apply(this,[kl,m,E]),this.what=l}));let Sd=ar,xo="trait";var wd=Sd.extends(xo,(function(l,m,E,b){Sd.apply(this,[xo,l,E,b]),this.body=m}));let Tl=Le,vl="traitalias";var c2=Tl.extends(vl,(function(l,m,E,b,_,q){Tl.apply(this,[vl,_,q]),this.trait=l,this.method=m,this.as=E,this.visibility="",b&&(b[0]===0?this.visibility="public":b[0]===1?this.visibility="protected":b[0]===2&&(this.visibility="private"))}));let Sl=Le,_d="traitprecedence";var p2=Sl.extends(_d,(function(l,m,E,b,_){Sl.apply(this,[_d,b,_]),this.trait=l,this.method=m,this.instead=E}));let Bd=Le,Pd="traituse";var h2=Bd.extends(Pd,(function(l,m,E,b){Bd.apply(this,[Pd,E,b]),this.traits=l,this.adaptations=m}));let wl=yt;var d2=wl.extends("try",(function(l,m,E,b,_){wl.apply(this,["try",b,_]),this.body=l,this.catches=m,this.always=E}));let Id=As,Nd="typereference",Ld=Id.extends(Nd,(function(l,m,E,b){Id.apply(this,[Nd,E,b]),this.name=l,this.raw=m}));Ld.types=["int","float","string","bool","object","array","callable","iterable","void","static"];var Od=Ld;let Md=wt,Eo="unary";var f2=Md.extends(Eo,(function(l,m,E,b){Md.apply(this,[Eo,E,b]),this.type=l,this.what=m}));let Co=ar,Rd="uniontype";var _l=Co.extends(Rd,(function(l,m,E){Co.apply(this,[Rd,null,m,E]),this.types=l}));let jd=yt,Fo="unset";var m2=jd.extends(Fo,(function(l,m,E){jd.apply(this,[Fo,m,E]),this.variables=l}));let qd=yt,Ud="usegroup";var D2=qd.extends(Ud,(function(l,m,E,b,_){qd.apply(this,[Ud,b,_]),this.name=l,this.type=m,this.items=E}));let Vd=yt,$d="useitem",Bl=Vd.extends($d,(function(l,m,E,b,_){Vd.apply(this,[$d,b,_]),this.name=l,this.alias=m,this.type=E}));Bl.TYPE_CONST="const",Bl.TYPE_FUNCTION="function";var zd=Bl;let Pl=et,Hd="variable";var y2=Pl.extends(Hd,(function(l,m,E,b){Pl.apply(this,[Hd,E,b]),this.name=l,this.curly=m||!1}));let Wd=et,Gd="variadic";var g2=Wd.extends(Gd,(function(l,m,E){Wd.apply(this,[Gd,m,E]),this.what=l}));let Jd=Le,Kd="variadicplaceholder";var x2=Jd.extends(Kd,(function(l,m){Jd.apply(this,[Kd,l,m])}));let Xd=yt,Yd="while";var E2=Xd.extends(Yd,(function(l,m,E,b,_){Xd.apply(this,[Yd,b,_]),this.test=l,this.body=m,this.shortForm=E}));let Qd=et,Zd="yield";var C2=Qd.extends(Zd,(function(l,m,E,b){Qd.apply(this,[Zd,E,b]),this.value=l,this.key=m}));let hi=et,Il="yieldfrom";var ef=hi.extends(Il,(function(l,m,E){hi.apply(this,[Il,m,E]),this.value=l}));let F2=we,A2=P,yr=function(l,m){this.withPositions=l,this.withSource=m};yr.precedence={},[["or"],["xor"],["and"],["="],["?"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","!=","===","!==","<=>"],["<","<=",">",">="],["<<",">>"],["+","-","."],["*","/","%"],["!"],["instanceof"],["cast","silent"],["**"]].forEach((function(l,m){l.forEach((function(E){yr.precedence[E]=m+1}))})),yr.prototype.isRightAssociative=function(l){return l==="**"||l==="??"},yr.prototype.swapLocations=function(l,m,E,b){this.withPositions&&(l.loc.start=m.loc.start,l.loc.end=E.loc.end,this.withSource&&(l.loc.source=b.lexer._input.substring(l.loc.start.offset,l.loc.end.offset)))},yr.prototype.resolveLocations=function(l,m,E,b){this.withPositions&&(l.loc.start.offset>m.loc.start.offset&&(l.loc.start=m.loc.start),l.loc.end.offset<E.loc.end.offset&&(l.loc.end=E.loc.end),this.withSource&&(l.loc.source=b.lexer._input.substring(l.loc.start.offset,l.loc.end.offset)))},yr.prototype.resolvePrecedence=function(l,m){let E,b,_;return l.kind==="call"?this.resolveLocations(l,l.what,l,m):l.kind==="propertylookup"||l.kind==="staticlookup"||l.kind==="offsetlookup"&&l.offset?this.resolveLocations(l,l.what,l.offset,m):l.kind==="bin"?l.right&&!l.right.parenthesizedExpression&&(l.right.kind==="bin"?(b=yr.precedence[l.type],_=yr.precedence[l.right.type],b&&_&&_<=b&&(l.type!==l.right.type||!this.isRightAssociative(l.type))&&(E=l.right,l.right=l.right.left,this.swapLocations(l,l.left,l.right,m),E.left=this.resolvePrecedence(l,m),this.swapLocations(E,E.left,E.right,m),l=E)):l.right.kind==="retif"&&(b=yr.precedence[l.type],_=yr.precedence["?"],b&&_&&_<=b&&(E=l.right,l.right=l.right.test,this.swapLocations(l,l.left,l.right,m),E.test=this.resolvePrecedence(l,m),this.swapLocations(E,E.test,E.falseExpr,m),l=E))):l.kind!=="silent"&&l.kind!=="cast"||!l.expr||l.expr.parenthesizedExpression?l.kind==="unary"?l.what&&!l.what.parenthesizedExpression&&(l.what.kind==="bin"?(E=l.what,l.what=l.what.left,this.swapLocations(l,l,l.what,m),E.left=this.resolvePrecedence(l,m),this.swapLocations(E,E.left,E.right,m),l=E):l.what.kind==="retif"&&(E=l.what,l.what=l.what.test,this.swapLocations(l,l,l.what,m),E.test=this.resolvePrecedence(l,m),this.swapLocations(E,E.test,E.falseExpr,m),l=E)):l.kind==="retif"?l.falseExpr&&l.falseExpr.kind==="retif"&&!l.falseExpr.parenthesizedExpression&&(E=l.falseExpr,l.falseExpr=E.test,this.swapLocations(l,l.test,l.falseExpr,m),E.test=this.resolvePrecedence(l,m),this.swapLocations(E,E.test,E.falseExpr,m),l=E):l.kind==="assign"?l.right&&l.right.kind==="bin"&&!l.right.parenthesizedExpression&&(b=yr.precedence["="],_=yr.precedence[l.right.type],b&&_&&_<b&&(E=l.right,l.right=l.right.left,E.left=l,this.swapLocations(E,E.left,l.right,m),l=E)):l.kind==="expressionstatement"&&this.swapLocations(l,l.expression,l,m):l.expr.kind==="bin"?(E=l.expr,l.expr=l.expr.left,this.swapLocations(l,l,l.expr,m),E.left=this.resolvePrecedence(l,m),this.swapLocations(E,E.left,E.right,m),l=E):l.expr.kind==="retif"&&(E=l.expr,l.expr=l.expr.test,this.swapLocations(l,l,l.expr,m),E.test=this.resolvePrecedence(l,m),this.swapLocations(E,E.test,E.falseExpr,m),l=E),l},yr.prototype.prepare=function(l,m,E){let b=null;(this.withPositions||this.withSource)&&(b=E.position());let _=this,q=function(){let G=Array.prototype.slice.call(arguments);if(G.push(m),_.withPositions||_.withSource){let ee=null;_.withSource&&(ee=E.lexer._input.substring(b.offset,E.prev[2]));let U=new F2(ee,b,new A2(E.prev[0],E.prev[1],E.prev[2]));G.push(U)}l||(l=G.shift());let V=_[l];if(typeof V!="function")throw new Error('Undefined node "'+l+'"');let re=Object.create(V.prototype);return V.apply(re,G),q.instance=re,q.trailingComments&&(re.trailingComments=q.trailingComments),typeof q.postBuild=="function"&&q.postBuild(re),E.debug&&delete _.stack[q.stackUid],_.resolvePrecedence(re,E)};return E.debug&&(this.stack||(this.stack={},this.stackUid=1),this.stack[++this.stackUid]={position:b,stack:new Error().stack.split(`
- `).slice(3,5)},q.stackUid=this.stackUid),q.setTrailingComments=function(G){q.instance?q.instance.setTrailingComments(G):q.trailingComments=G},q.destroy=function(G){m&&(G?G.leadingComments?G.leadingComments=m.concat(G.leadingComments):G.leadingComments=m:E._docIndex=E._docs.length-m.length),E.debug&&delete _.stack[q.stackUid]},q},yr.prototype.checkNodes=function(){let l=[];for(let m in this.stack)Object.prototype.hasOwnProperty.call(this.stack,m)&&(this.stack[m].key=m,l.push(this.stack[m]));return this.stack={},l},[tt,sr,Ut,Fe,ct,kr,Rr,vr,mD,bp,DD,yD,gD,Nu,Sp,xD,Mp,ED,CD,Ru,FD,Hp,AD,Lp,bD,ar,co,Uu,kD,TD,vD,Qp,SD,wD,rh,Hu,la,Ju,_D,et,Yu,Qu,BD,lh,PD,ID,dh,ND,LD,OD,MD,RD,jD,Fh,bh,qD,dn,Fs,cl,UD,VD,$D,zD,Ih,Nh,Lh,Le,HD,WD,GD,JD,KD,Wh,wt,XD,QD,ZD,Qh,td,xl,e2,t2,ld,As,pd,r2,n2,i2,yt,gd,s2,a2,u2,kd,l2,vd,wd,c2,p2,h2,d2,Od,f2,_l,m2,D2,zd,y2,g2,x2,E2,C2,ef].forEach((function(l){yr.prototype[l.kind]=l}));let y=k,F=xe,T=ne,B=yr;function N(l,m){let E=Object.keys(l),b=E.length;for(;b--;){let _=E[b],q=l[_];q===null?delete m[_]:typeof q=="function"?m[_]=q.bind(m):Array.isArray(q)?m[_]=Array.isArray(m[_])?m[_].concat(q):q:m[_]=typeof q=="object"&&typeof m[_]=="object"?N(q,m[_]):q}return m}let L=function(l){if(typeof this=="function")return new this(l);if(this.tokens=T,this.lexer=new y(this),this.ast=new B,this.parser=new F(this.lexer,this.ast),l&&typeof l=="object"){if(l.parser&&(l.lexer||(l.lexer={}),l.parser.version)){if(typeof l.parser.version=="string"){let m=l.parser.version.split(".");if(m=100*parseInt(m[0])+parseInt(m[1]),isNaN(m))throw new Error("Bad version number : "+l.parser.version);l.parser.version=m}else if(typeof l.parser.version!="number")throw new Error("Expecting a number for version");if(l.parser.version<500||l.parser.version>900)throw new Error("Can only handle versions between 5.x to 8.x")}N(l,this),this.lexer.version=this.parser.version}},z=function(l){return typeof l.write=="function"?l.toString():l};L.create=function(l){return new L(l)},L.parseEval=function(l,m){return new L(m).parseEval(l)},L.prototype.parseEval=function(l){return this.lexer.mode_eval=!0,this.lexer.all_tokens=!1,l=z(l),this.parser.parse(l,"eval")},L.parseCode=function(l,m,E){return typeof m!="object"||E||(E=m,m="unknown"),new L(E).parseCode(l,m)},L.prototype.parseCode=function(l,m){return this.lexer.mode_eval=!1,this.lexer.all_tokens=!1,l=z(l),this.parser.parse(l,m)},L.tokenGetAll=function(l,m){return new L(m).tokenGetAll(l)},L.prototype.tokenGetAll=function(l){this.lexer.mode_eval=!1,this.lexer.all_tokens=!0,l=z(l);let m=this.lexer.EOF,E=this.tokens.values;this.lexer.setInput(l);let b=this.lexer.lex()||m,_=[];for(;b!=m;){let q=this.lexer.yytext;Object.prototype.hasOwnProperty.call(E,b)&&(q=[E[b],q,this.lexer.yylloc.first_line]),_.push(q),b=this.lexer.lex()||m}return _},s.exports=L,s.exports.tokens=T,s.exports.lexer=y,s.exports.AST=B,s.exports.parser=F,s.exports.combine=N,s.exports.Engine=L,s.exports.default=L;var X=i(s.exports);let J="PHP",ue=[5,5.1,5.2,5.3,5.4,5.5,5.6,7,7.1,7.2,7.3,7.4,8,8.1,8.2,8.3,8.4,8.5],me=Math.max(...ue),ge="";function De(){let l=In.cwd(),m=null,E=n.join(l,"composer.json");if(r.existsSync(E)&&(m=E),!m){let b=n.dirname(l);for(;b!==n.parse(b).root;){let _=n.join(b,"composer.json");if(r.existsSync(_)){m=_;break}b=n.dirname(b)}}if(m)try{let b=r.readFileSync(m,"utf8"),_=JSON.parse(b);if(_.require&&_.require.php){let q=_.require.php.match(/^(?:[^0-9]*)?([0-9]+)\.\*/);if(q)return parseFloat(`${q[1]}.0`);let G=_.require.php.match(/^(?:[^0-9]*)?([0-9]+)\.([0-9]+)/);return G?parseFloat(`${G[1]}.${G[2]}`):(ge=`Could not decode PHP version (${_.require.php}})`,null)}}catch(b){ge=`Error reading composer.json: ${b.message}`}else ge="Could not find composer.json";return null}var Se={phpVersion:{since:"0.13.0",category:J,type:"choice",default:"auto",description:"Minimum target PHP version.",choices:[...ue.map((l=>({value:l.toFixed(1)}))),{value:"composer",description:"Use the PHP version defined in composer.json"},{value:"auto",description:`Try composer.json, else latest PHP Version (${me})`}]},trailingCommaPHP:{since:"0.0.0",category:J,type:"boolean",default:!0,description:"Print trailing commas wherever possible when multi-line."},braceStyle:{since:"0.10.0",category:J,type:"choice",default:"per-cs",description:"Print one space or newline for code blocks (classes and functions).",choices:[{value:"psr-2",description:"(deprecated) Use per-cs"},{value:"per-cs",description:"Use the PER Coding Style brace style."},{value:"1tbs",description:"Use 1tbs brace style."}]},singleQuote:{since:"0.0.0",category:J,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."}};function ye(l,m){let E=m&&m.parentParser==="markdown";if(!l&&E)return"";(function(V){if(V)if(V.phpVersion==="auto")V.phpVersion=De()??me;else if(V.phpVersion==="composer"){let re=De();if(re===null)throw new Error(`Could not determine PHP version from composer; ${ge}`);V.phpVersion=re}else V.phpVersion=parseFloat(V.phpVersion)})(m),l=l.replace(/\?>\n<\?/g,`?>
- ___PSEUDO_INLINE_PLACEHOLDER___<?`);let b=new X({parser:{extractDoc:!0,version:`${me}`},ast:{withPositions:!0,withSource:!0}}),_=l.indexOf("<?php")!==-1,q=E&&!_,G;try{G=q?b.parseEval(l):b.parseCode(l)}catch(V){throw V instanceof SyntaxError&&"lineNumber"in V&&(V.loc={start:{line:V.lineNumber,column:V.columnNumber}},delete V.lineNumber,delete V.columnNumber),V}return G.extra={parseAsEval:q},G.comments.forEach((V=>{V.value[V.value.length-1]===`
- `&&(V.value=V.value.slice(0,-1),V.loc.end.offset=V.loc.end.offset-1)})),G}let Ue=l=>m=>m.loc?.[l]?.offset,_e=Ue("start"),Pe=Ue("end"),{hasNewline:At,skipEverythingButNewLine:Qt,skipNewline:Gt}=t.util;function gr(l){return l.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e)/,"")}let xr=new Map([["or"],["xor"],["and"],["=","+=","-=","*=","**=","/=",".=","%=","&=","|=","^=","<<=",">>="],["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!==","<>","<=>"],["<",">","<=",">="],[">>","<<"],["+","-","."],["*","/","%"],["!"],["instanceof"],["++","--","~"],["**"]].flatMap(((l,m)=>l.map((E=>[E,m])))));function or(l){return xr.get(l)}let Vi=["==","!=","===","!==","<>","<=>"],bs=["*","/","%"],Ao=[">>","<<"];function fa(l,m){return or(m)===or(l)&&l!=="**"&&(!Vi.includes(l)||!Vi.includes(m))&&!(m==="%"&&bs.includes(l)||l==="%"&&bs.includes(m))&&(m===l||!bs.includes(m)||!bs.includes(l))&&(!Ao.includes(l)||!Ao.includes(m))}function ma(l){let m=l.children||l.body||l.adaptations;return Array.isArray(m)?m:null}function Dn(l){return l.length>0?l[l.length-1]:null}function Da(l){let{node:m}=l;if(m.kind==="program"){let b=ma(m);return!(!b||b.length===0)&&b[0].kind==="inline"}if(m.kind==="switch"){if(!m.body)return!1;let b=ma(m.body);if(b.length===0)return!1;let[_]=b;if(!_.body)return!1;let q=ma(_.body);return q.length!==0&&q[0].kind==="inline"}let E=(function(b){let{body:_}=b;return _?(_.kind==="block"&&(_=_.children),_[0]):null})(m);return!!E&&E.kind==="inline"}function b2(l){return l.kind==="nowdoc"||l.kind==="encapsed"&&l.type==="heredoc"}function tf(l){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=l.getNode(m),b=l.getNode(m+1),_=l.getNode(m+2);if(!b)return!1;if(_&&["call","new","echo"].includes(_.kind)&&!["call","array"].includes(b.kind)||b.kind==="parameter"){let q=_.arguments.length-1;return _.arguments.indexOf(b)!==q}if(_&&_.kind==="for"){let q=_.init.indexOf(b);if(q!==-1)return q!==_.init.length-1;let G=_.test.indexOf(b);if(G!==-1)return G!==_.test.length-1;let V=_.increment.indexOf(b);if(V!==-1)return V!==_.increment.length-1}if(b.kind==="bin")return b.left===E||tf(l,m+1);if(b.kind==="case"&&b.test===E)return!0;if(b.kind==="staticvariable"){let q=_.variables.length-1;return _.variables.indexOf(b)!==q}if(b.kind==="entry"){if(b.key===E)return!0;let q=_.items.length-1;return _.items.indexOf(b)!==q}if(["call","new"].includes(b.kind)){let q=b.arguments.length-1;return b.arguments.indexOf(E)!==q}if(b.kind==="echo"){let q=b.expressions.length-1;return b.expressions.indexOf(E)!==q}if(b.kind==="array"){let q=b.items.length-1;return b.items.indexOf(E)!==q}return b.kind==="retif"&&tf(l,m+1)}function sx(l){let m=l.replace(/^\\/,"");return m.indexOf("\\")!==-1?m:l}function yn(l){return l.comments&&l.comments.some((m=>!m.leading&&!m.trailing))}function jr(l){return l.kind==="propertylookup"||l.kind==="nullsafepropertylookup"||l.kind==="staticlookup"||l.kind==="offsetlookup"}function c_(l){let{node:m}=l;return!["try","catch"].includes(m.kind)&&Da(l)}function p_(l){let{node:m}=l;if(["try","catch"].includes(m.kind))return!0;if(m.kind==="switch"){let E=ma(m.body);if(E.length===0)return!0;let b=Dn(E);if(!b.body)return!0;let _=ma(b.body);return _.length===0||_[0].kind!=="inline"}return!Da(l)}function k2(l){return["program","declare","namespace"].includes(l.kind)}function T2(l){return["name","parentreference","selfreference","staticreference"].includes(l.kind)}function bo(l){return l.kind==="bin"&&["||","&&"].includes(l.type)?"logical":l.kind}function rf(l){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"body",{node:E}=l;return E[m]&&E[m].children&&E[m].children.length===0&&(!E[m].comments||E[m].comments.length===0)}function h_(l,m){let E=_e(m);return E=Qt(l,E),E=Gt(l,E),At(l,E)}function ax(l){return l.kind==="nowdoc"||l.kind==="encapsed"&&l.type==="heredoc"||l.kind==="entry"&&(l.value.kind==="nowdoc"||l.value.kind==="encapsed"&&l.value.type==="heredoc")}function v2(l,m){let E=(function(b,_){let q=[].concat(_),G,V=-1;for(;G=b.getParentNode(++V);)if(q.indexOf(G.kind)!==-1)return V;return-1})(l,m);return E===-1?null:l.getParentNode(E)}let ox=new Map(["__construct","__destruct","__call","__callStatic","__get","__set","__isset","__unset","__sleep","__wakeup","__toString","__invoke","__set_state","__clone","__debugInfo"].map((l=>[l.toLowerCase(),l])));function ux(l){let m=l.toLowerCase();return ox.has(m)?ox.get(m):l}function nf(l){let m=new Set(l);return E=>m.has(E?.kind)}let d_=nf(["variadicplaceholder","namedargument","nullkeyword","identifier","parameter","variable","variadic","boolean","literal","number","string","clone","cast"]),f_=nf(["array"]),lx=nf(["nullsafepropertylookup","propertylookup","staticlookup","offsetlookup","call","new"]),m_=nf(["arrowfunc"]);function cx(l){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return lx(l)&&m.push(l),l.what?cx(l.what,m):m}function px(l){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;if(m<=0)return!1;let E=b=>px(b,m-1);if(d_(l))return!0;if(f_(l))return l.items.every((b=>b===null||E(b)));if(lx(l)){let b=cx(l);return b.shift(),b.length<=m&&b.every((_=>jr(_)?E(_.offset):_.arguments.every(E)))}return!!m_(l)&&l.arguments.length<=m&&l.arguments.every(E)}let{addLeadingComment:Qn,addDanglingComment:Qr,addTrailingComment:Zn,skipNewline:D_,hasNewline:sf,hasNewlineInRange:y_,getNextNonSpaceNonCommentCharacterIndex:Nl,isNextLineEmpty:g_,isPreviousLineEmpty:x_}=t.util,{join:hx,indent:E_,hardline:di,cursor:dx,lineSuffix:fx,breakParent:C_}=t.doc.builders;function af(l,m){let{children:E}=l;E.length===0?Qr(l,m):Qn(E[0],m)}function S2(l,m){l.kind==="block"?af(l,m):Qn(l,m)}function mx(l,m,E,b,_){let q=Nl(l,Pe(_)),G=l.charAt(q);return m&&m.kind==="identifier"&&E&&(E.kind==="function"||E.kind==="method")&&G===")"?(Zn(E,_),!0):!(!E||E.kind!=="function"&&E.kind!=="method"||!b||b.kind!=="block")&&(af(b,_),!0)}function w2(l,m,E,b,_){if(!E||E.kind!=="if"||!b)return!1;let q=Nl(l,Pe(_));return l.charAt(q)===")"?(Zn(m,_),!0):m===E.body&&b===E.alternate?(Qr(E,_),!0):b.kind==="if"?(S2(b.body,_),!0):E.body===b&&(Qn(b,_),!0)}function _2(l,m,E){if(l&&["class","interface","trait"].includes(l.kind)){if(l.__parent_new_arguments?.includes(m))return!1;if(m&&l.extends){if(Array.isArray(l.extends)){if(l.extends.some((b=>{if(m&&m===b)return Qr(m,E),!0})))return!0}else if(m===l.extends)return Qr(m,E),!0}if(m&&l.implements&&l.implements.some((b=>{if(m&&m===b)return Qr(m,E),!0})))return!0;if(!(l.body&&l.body.length>0))return Qr(l,E),!0}return!!(m&&m.kind==="class"&&m.isAnonymous&&m.leadingComments&&E.kind==="commentblock")}function B2(l,m,E,b){if(m&&(m.kind==="function"||m.kind==="method")){let _=0;for(let V=0;V<m.arguments.length;V++)_=Pe(m.arguments[V])>_?Pe(m.arguments[V]):_;let q=m.body&&_e(b)>_&&Pe(b)<_e(m.body),G=Nl(l,Pe(b));if(m.type&&q&&l.charAt(G)!==")")return Pe(b)<_e(m.type)?(Qr(m.type,b),!0):(Zn(m.type,b),!0)}return!1}function P2(l,m,E,b,_){return!(!E||!["function","method","parameter"].includes(E.kind))&&m.kind==="typereference"&&b.kind==="identifier"&&(Zn(m,_),!0)}function Dx(l,m){return!(!l||!["label","goto"].includes(l.kind))&&(Zn(l,m),!0)}function I2(l,m,E,b){return E&&E.kind==="inline"?(E.leadingComments||(E.leadingComments=[]),E.leadingComments.includes(b)||E.leadingComments.push(b),!0):!(l||E||!m||m.kind!=="inline")&&(Qr(m,b),!0)}function yx(l,m,E){return!(!l||l.kind!=="try"||!m)&&(m.kind==="block"?(af(m,E),!0):m.kind==="try"?(S2(m.always,E),!0):m.kind==="catch"&&(S2(m.body,E),!0))}function gx(l,m,E,b){return E||m||!l||l.kind!=="namespace"||l.withBrackets?!(m||!l||l.kind!=="namespace"||l.withBrackets)&&(Qr(l,b),!0):(Zn(l,b),!0)}function xx(l,m,E,b){return!(!l||l.kind!=="declare")&&(!m||m.kind!=="noop")&&(E&&l.directives[0]!==E?!(!E||!m)&&(Qn(E,b),!0):(l.mode==="none"?Zn(l,b):Qr(l,b),!0))}function N2(l,m,E,b,_){if(!E||E.kind!=="while"||!b)return!1;let q=Nl(l,Pe(_));return l.charAt(q)===")"?(Zn(m,_),!0):b.kind==="block"&&(af(b,_),!0)}function L2(l,m){return l.node.printed=!0,m.printer.printComment(l,m)}function tr(l,m,E,b){let _=[],q=l.getValue();return q&&q.comments?(l.each((()=>{let G=l.node;!G||G.leading||G.trailing||b&&!b(G)||_.push(L2(l,m))}),"comments"),_.length===0?"":E?hx(di,_):E_([di,hx(di,_)])):""}function Ll(l){return l.comments&&l.comments.some((m=>m.leading))}function Ol(l){return l.comments&&l.comments.some((m=>m.trailing))}function ya(l,m){let E=[];return l.forEach(((b,_,q)=>{b.printed=!0;let G=q.length===_+1;E.push(b.value),G||E.push(di),g_(m.originalText,Pe(b))&&!G&&E.push(di)})),E}function O2(l){return l.kind==="commentblock"}function Ex(l,m,E){let{node:b}=l;return b&&b===m.cursorNode?[dx,E,dx]:E}function M2(l,m,E,b){let{node:_}=l,q=m(l),G=_&&_.comments;if(!G||G.length===0)return Ex(l,E,q);let V=[],re=[b?";":"",q];return l.each((ee=>{let{node:U}=ee,{leading:oe,trailing:fe}=U;if(oe){let Ee=(function(He,Je,st){let Xe=L2(He,st);if(!Xe)return"";let ft=He.node;return st.printer.isBlockComment&&st.printer.isBlockComment(ft)?[Xe,sf(st.originalText,Pe(ft))?di:" "]:[Xe,di]})(l,0,E);if(!Ee)return;V.push(Ee);let le=E.originalText;sf(le,D_(le,Pe(U)))&&V.push(di)}else fe&&re.push((function(Ee,le,He){let Je=L2(Ee,He);if(!Je)return"";let st=Ee.node,Xe=He.printer.isBlockComment&&He.printer.isBlockComment(st);if(sf(He.originalText,_e(st),{backwards:!0})){let ft=x_(He.originalText,_e(st));return fx([di,ft?di:"",Je])}return Xe?[" ",Je]:[fx([" ",Je]),Xe?"":C_]})(l,0,E))}),"comments"),Ex(l,E,V.concat(re))}function Cx(l,m){let{parent:E}=l;if(!E)return!1;let{key:b,node:_}=l;if(["program","expressionstatement","namespace","declare","block","include","print","return","echo"].includes(E.kind))return!1;switch(_.kind){case"pre":case"post":if(E.kind==="unary")return _.kind==="pre"&&(_.type==="+"&&E.type==="+"||_.type==="-"&&E.type==="-");case"unary":switch(E.kind){case"unary":return _.type===E.type&&(_.type==="+"||_.type==="-");case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":case"call":return b==="what";case"bin":return E.type==="**"&&b==="left";default:return!1}case"bin":switch(E.kind){case"assign":case"retif":return["and","xor","or"].includes(_.type);case"silent":case"cast":return _.parenthesizedExpression;case"pre":case"post":case"unary":return!0;case"call":case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":return b==="what";case"bin":{let G=E.type,V=or(G),re=_.type,ee=or(re);return V>ee||G==="||"&&re==="&&"||V===ee&&b==="right"||V===ee&&!fa(G,re)||(V<ee&&re==="%"?G==="+"||G==="-":(q=G,!(!Ao.includes(q)&&q!=="|"&&q!=="^"&&q!=="&")))}default:return!1}case"propertylookup":case"nullsafepropertylookup":case"staticlookup":return E.kind==="call"&&b==="what"&&_.parenthesizedExpression;case"clone":case"new":{let G=_.kind==="clone"||_.kind==="new"&&m.phpVersion<8.4;switch(E.kind){case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":case"call":return b==="what"&&G;default:return!1}}case"yield":case"yieldfrom":switch(E.kind){case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":case"call":return b==="what";case"retif":return b==="test";case"assign":return _.kind==="yield"&&!(!_.key&&!_.value);default:return _.kind==="yieldfrom"||!(!_.key&&!_.value)}case"assign":return(E.kind!=="for"||!E.init.includes(_)&&!E.increment.includes(_))&&E.kind!=="assign"&&E.kind!=="staticvariable"&&!["if","do","while","foreach","switch"].includes(E.kind)&&E.kind!=="silent"&&E.kind!=="call";case"retif":switch(E.kind){case"cast":return!0;case"unary":case"bin":case"retif":return!(b==="test"&&!E.trueExpr);case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":case"call":return b==="what";default:return!1}case"closure":switch(E.kind){case"call":return b==="what";case"propertylookup":case"nullsafepropertylookup":return!0;default:return!1}case"silent":case"cast":return _.parenthesizedExpression;case"string":case"array":switch(E.kind){case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":case"call":return(!["string","array"].includes(_.kind)||E.kind!=="offsetlookup")&&b==="what";default:return!1}case"print":case"include":return E.kind==="bin"}var q;return!1}let{breakParent:Fx,join:ur,line:_t,lineSuffix:F_,group:Ke,conditionalGroup:ko,indent:Ze,dedent:A_,ifBreak:ks,hardline:$e,hardlineWithoutBreakParent:b_,softline:xt,literalline:To,align:k_,dedentToRoot:T_}=t.doc.builders,{willBreak:Ts}=t.doc.utils,{isNextLineEmptyAfterIndex:v_,hasNewline:S_,hasNewlineInRange:Ax,getNextNonSpaceNonCommentCharacterIndex:w_,isNextLineEmpty:ga,isPreviousLineEmpty:__}=t.util;function Ml(l,m){return!!l.trailingCommaPHP&&l.phpVersion>=m}function R2(l){return l.braceStyle!=="1tbs"}function j2(l,m,E){return[arguments.length>3&&arguments[3]!==void 0&&arguments[3]?"?":"","->",E("offset")]}function bx(l,m,E){return j2(l,m,E,!0)}function kx(l,m,E){let{node:b}=l,_=!["variable","identifier"].includes(b.offset.kind);return["::",_?"{":"",E("offset"),_?"}":""]}function Tx(l,m,E){let{node:b}=l,_=b.offset&&b.offset.kind==="number"||v2(l,"encapsed");return["[",b.offset?Ke([Ze([_?"":xt,E("offset")]),_?"":xt]):"","]"]}function vx(l){return l.kind==="array"&&(l.items.length>0||l.comments)||l.kind==="function"||l.kind==="method"||l.kind==="closure"}function fi(l,m,E){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"arguments",_=l.node[b];if(_.length===0)return["(",tr(l,m,!0),")"];let q=!1,G=!1,V=l.map((Ee=>{let{node:le,isLast:He,isFirst:Je}=Ee,st=[E()];return He||(ga(m.originalText,Pe(le))?(Je&&(G=!0),q=!0,st.push(",",$e,$e)):st.push(",",_t)),st}),b),{node:re}=l,ee=Dn(_),U=Ml(m,7.3)&&["call","new","unset","isset"].includes(re.kind)||Ml(m,8)&&["function","closure","method","arrowfunc","attribute"].includes(re.kind)?Ze([ee&&ax(ee)?$e:"",","]):"",oe=(function(Ee){if(Ee.length!==2)return!1;let[le,He]=Ee;return!(le.comments&&le.comments.length||le.kind!=="function"&&le.kind!=="method"&&le.kind!=="closure"||He.kind==="retif"||vx(He))})(_),fe=(function(Ee){let le=Dn(Ee),He=(Je=Ee).length>1?Je[Je.length-2]:null;var Je;return!Ll(le)&&!Ol(le)&&vx(le)&&(!He||He.kind!==le.kind)})(_);if(oe||fe){let Ee=(oe?V.slice(1).some(Ts):V.slice(0,-1).some(Ts))||q,le;l.each((st=>{let{isLast:Xe,isFirst:ft}=st;oe&&ft&&(le=[E([],{expandFirstArg:!0}),V.length>1?",":"",G?$e:_t,G?$e:"",V.slice(1)]),fe&&Xe&&(le=[...V.slice(0,-1),E([],{expandLastArg:!0})])}),b);let He=V.some(Ts),Je=["(",...le,")"];return[He?Fx:"",ko([He?ks(Ke(["(",Ze([_t,...V]),U,_t,")"],{shouldBreak:!0}),Je):Je,oe?["(",Ke(le[0],{shouldBreak:!0}),...le.slice(1),")"]:["(",...V.slice(0,-1),Ke(Dn(le),{shouldBreak:!0}),")"],Ke(["(",Ze([_t,...V]),ks(U),_t,")"],{shouldBreak:!0})],{shouldBreak:Ee})]}return Ke(["(",Ze([xt,...V]),ks(U),xt,")"],{shouldBreak:V.some(Ts)||q})}function Sx(l){return l.kind==="array"&&l.items.length!==0}function Rl(l){return l.right.kind==="array"&&l.right.items.length!==0}function wx(l,m,E,b,_){let q=[],{node:G}=l;if(G.kind==="bin"){fa(G.type,G.left.type)?q=q.concat(l.call((()=>wx(l,m,E,!0,_)),"left")):q.push(m("left"));let V=Rl(G)?[G.type," ",m("right")]:[G.type,_t,m("right")],{parent:re}=l,ee=!(_&&["||","&&"].includes(G.type))&&bo(re)!==bo(G)&&bo(G.left)!==bo(G)&&bo(G.right)!==bo(G),U=b2(G.left)||G.left.kind==="bin"&&b2(G.left.right);q.push(U?"":" ",ee?Ke(V):V),b&&G.comments&&(q=M2(l,(()=>q),E))}else q.push(m());return q}function _x(l,m,E){let{node:b}=l;switch(b.kind){case"propertylookup":return j2(l,m,E);case"nullsafepropertylookup":return bx(l,m,E);case"staticlookup":return kx(l,0,E);case"offsetlookup":return Tx(l,0,E);default:throw new Error(`Have not implemented lookup kind ${b.kind} yet.`)}}function Bx(l){let{opening:m=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l.type==="heredoc")return m?`<<<${l.label}`:l.label;let E={string:'"',shell:"`"};if(E[l.type])return E[l.type];throw new Error(`Unimplemented encapsed type ${l.type}`)}function B_(l,m,E){let b=[],_=[];return l.each((q=>{let{node:G}=q;b.push(_),b.push(Ke(E())),_=[",",_t],G&&ga(m.originalText,Pe(G))&&_.push(xt)}),"items"),b}function jl(l,m,E){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"children",{node:_,parent:q}=l,G=-1,V=[],re=[];l.map((()=>{let{node:U,next:oe,isFirst:fe,isLast:Ee,index:le}=l,He=U.kind==="inline",Je=E(),st=!Ee&&!He&&(oe&&oe.kind==="case"?!Da(l):oe&&oe.kind!=="inline"),Xe=[Je,st?$e:"",st&&ga(m.originalText,Pe(U))?$e:""],ft=_.kind==="block"&&q&&["function","closure","method","try","catch"].includes(q.kind),dt=ft&&fe?"":" ";if(He||!He&&Ee&&G>=0){let qr=G;if(He&&(G=le),He&&!fe||!He&&Ee){let zr=(He?qr:G)+1,Sr=Ee&&!He?le+1:le,Pn=l.siblings[He?qr:G],mi=Pn?(function(ws){let Di=ws.split(`
- `).pop();return Di.length-Di.trimLeft().length+1})(Pn.raw):"",Ss=Sr-zr>1,vo=Ss?ft&&!Pn||k2(_)&&zr===0?"":$e:"",xa=Ss&&U.kind!=="halt"?ft&&Ee?"":$e:"";Ss&&(dt=""),re.push({start:zr,end:Sr,alignment:mi,before:vo,after:xa})}}if(He){let qr=oe&&oe.kind==="echo"&&oe.shortForm?"<?=":"<?php",zr=U.leadingComments&&U.leadingComments.length?[fe&&_.kind!=="namespace"&&!ft?"<?php":"",_.kind!=="namespace"&&ft?"":$e,ya(U.leadingComments,m),$e,"?>"]:k2(_)&&fe&&_.kind!=="namespace"?"":[dt,"?>"],Sr=l.getNode(le+1),Pn=Sr&&Sr.children&&Sr.children.length;Xe=[zr,Xe,U.comments&&U.comments.length?[qr,$e,Pn?ya(U.comments,m):"",$e]:k2(_)&&Ee?"":[qr," "]]}V.push(Xe)}),b);let ee=(function(U,oe){if(oe.length===0)return U;let fe=0;return oe.reduce(((Ee,le)=>{let{start:He,end:Je,alignment:st,before:Xe,after:ft}=le,dt=[Xe||"",...U.slice(He,Je),ft||""],qr=Ee.concat(U.slice(fe,He),st?T_(Ke(k_(new Array(st).join(" "),dt))):Ke(dt),Je===U.length-1?U.slice(Je):"");return fe=Je,qr}),[])})(V,re);if(_.kind==="program"&&!_.extra.parseAsEval){let U=[],[oe]=_.children;if(!oe||oe.kind!=="inline"){let fe=m.originalText.trim().match(/^<\?(php|=)(\s+)?\S/),Ee=[fe&&fe[2]&&fe[2].includes(`
- `)?[$e,fe[2].split(`
- `).length>2?$e:""]:" ",_.comments?ya(_.comments,m):""],le=oe&&oe.kind==="echo"&&oe.shortForm;U.push([le?"<?=":"<?php",Ee])}if(U.push(ee),/\?>\n?$/.test(m.originalText)){let fe=Dn(_.children),Ee=fe?[Ax(m.originalText.trimEnd(),Pe(fe),Pe(_))?fe.kind==="inline"&&fe.comments&&fe.comments.length?"":$e:" ",ga(m.originalText,Pe(fe))?$e:""]:_.comments?$e:"";U.push(F_([Ee,"?>"]))}return U}return ee}function Px(l,m,E,b){return l.map((_=>{let{node:q,isLast:G}=_,V=[];return V.push(E()),G||(V.push($e),ga(m.originalText,Pe(q))&&V.push($e)),V}),b)}function Bn(l,m,E){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"extends",_=arguments.length>4&&arguments[4]!==void 0?arguments[4]:" ",q=arguments.length>5&&arguments[5]!==void 0?arguments[5]:" ",G=l.node[b],V=yn(G)?[$e,l.call((()=>tr(l,m,!0)),b),$e]:_,re=Array.isArray(G)?Ke(ur(",",l.map((ee=>{let{node:U}=ee,oe=E();return yn(U)?[$e,tr(l,m,!0),$e,oe]:[q,oe]}),b))):[q,E(b)];return Ze([V,b,Ts(V)?Ze(re):re])}function vs(l,m,E){let{inline:b=!1}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},_=[];return l.node.attrGroups?(l.each((()=>{let q=["#["];!b&&_.length>0&&_.push($e),q.push(xt),l.each((()=>{let G=l.node;q.length>2&&q.push(",",_t);let V=[G.name];G.args.length>0&&V.push(fi(l,m,E,"args")),q.push(Ke(V))}),"attrs"),_.push(Ke([Ze(q),ks(Ml(m,8)?",":""),xt,"]",b?ks(xt," "):""]))}),"attrGroups"),_.length===0?[]:[..._,b?"":$e]):[]}function $i(l,m,E){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"body",{node:_}=l;if(!_[b])return";";let q=E(b);return[_.shortForm?":":" {",Ze(_[b].kind!=="block"||_[b].children&&_[b].children.length>0||_[b].comments&&_[b].comments.length>0?[c_(l)?_.kind==="switch"?" ":"":$e,q]:""),_.kind==="if"&&b==="body"?"":[p_(l)?$e:"",_.shortForm?["end",_.kind,";"]:"}"]]}function of(l,m,E,b,_,q,G){if(!b)return m;let V=uf(l,b,_,q,G);return Ke([m,E,V])}function Ix(l){return!!jr(l)&&(!(l.what.kind!=="variable"&&!T2(l.what))||Ix(l.what))}function uf(l,m,E,b,_){let q=b?"&":"";if((function(V,re){return re.comments&&re.comments.some((ee=>ee.leading&&sf(V,Pe(ee))))})(_.originalText,m))return Ze([$e,q,E]);let G=m.kind==="cast"?m.expr:m;return G.kind==="bin"&&G.type!=="|>"&&!Rl(G)||G.kind==="retif"&&(!G.trueExpr&&!Sx(G.falseExpr)||G.test.kind==="bin"&&!Rl(G.test))||(l.kind==="variable"||l.kind==="string"||jr(l))&&(G.kind==="string"&&!Nx(G)||Ix(G))?Ke(Ze([_t,q,E])):[" ",q,E]}function Nx(l){return l.raw.includes(`
- `)}function lf(l,m){return(l.kind==="string"||l.kind==="encapsed"&&(l.type==="string"||l.type==="shell"))&&Nx(l)&&!S_(m,_e(l),{backwards:!0})}function Lx(l,m,E){return Ke(l.map((b=>{let{isFirst:_}=b;return _?[m()]:[E,m()]}),"types"))}let P_=new Set(["loc","range","raw","comments","leadingComments","trailingComments","parenthesizedExpression","parent","prev","start","end","tokens","errors","extra"]);function Ox(l,m){if(l.kind==="string"&&delete m.isDoubleQuote,["array","list"].includes(l.kind)&&delete m.shortForm,l.kind==="inline"){if(l.value.includes("___PSEUDO_INLINE_PLACEHOLDER___"))return null;m.value=m.value.replace(/\n/g,"")}if((l.kind==="continue"||l.kind==="break")&&l.level){let{level:E}=m;E.kind==="number"&&(m.level=E.value==="1"?null:E)}if(l.kind==="block"&&l.children.length===1&&l.children[0].kind==="block")for(;m.children[0].kind==="block";)m.children=m.children[0].children;if(l.kind==="number"&&(m.value=gr(l.value)),["foreach","for","if","while","do"].includes(l.kind)&&(l.body&&l.body.kind!=="block"?m.body={kind:"block",children:[m.body]}:m.body=m.body?m.body:null,l.alternate&&l.alternate.kind!=="block"?m.alternate={kind:"block",children:[m.alternate]}:m.alternate=m.alternate?m.alternate:null),l.kind==="usegroup"&&typeof l.name=="string"&&(m.name=m.name.replace(/^\\/,"")),l.kind==="useitem"&&(m.name=m.name.replace(/^\\/,"")),l.kind==="method"&&l.name.kind==="identifier"&&(m.name.name=ux(m.name.name)),l.kind==="noop")return null}Ox.ignoredProperties=P_;let Mx=/@prettier|@format/,Rx=(function(l){let m=new Map;return E=>(m.has(E)||m.set(E,l(E)),m.get(E))})((l=>{let m=ye(l),[E]=m.children,[b]=m.comments.filter((_=>_.kind==="commentblock"));if(E&&b&&b.loc.start.line<E.loc.start.line)return b})),{join:I_,hardline:N_}=t.doc.builders;function jx(l,m){let{extend:E,override:b}=m,_={};for(let q in l)_[q==="languageId"?"linguistLanguageId":q]=l[q];if(E)for(let q in E)_[q]=(_[q]||[]).concat(E[q]);for(let q in b)_[q]=b[q];return _}let L_=[jx({name:"PHP",type:"programming",color:"#4F5D95",extensions:[".php",".aw",".ctp",".fcgi",".inc",".php3",".php4",".php5",".phps",".phpt"],tmScope:"text.html.php",aceMode:"php",languageId:272,aliases:["inc"],codemirrorMode:"php",codemirrorMimeType:"application/x-httpd-php",interpreters:["php"],filenames:[".php",".php_cs",".php_cs.dist","Phakefile"]},{override:{parsers:["php"],vscodeLanguageIds:["php"]}}),jx({name:"HTML+PHP",type:"markup",color:"#4f5d95",extensions:[".phtml"],tmScope:"text.html.php",aceMode:"php",languageId:151,codemirrorMode:"php",codemirrorMimeType:"application/x-httpd-php",group:"HTML"},{override:{parsers:["php"],vscodeLanguageIds:["php"]}})],O_={php:{parse:ye,astFormat:"php",locStart:_e,locEnd:Pe,hasPragma:function(l){if(!Mx.test(l))return!1;let m=Rx(l);if(m){let{value:E}=m;return Mx.test(E)}return!1}}},M_=new Set(["kind","loc","errors","extra","comments","leadingComments","enclosingNode","precedingNode","followingNode"]),R_={php:{print:function(l,m,E){let{node:b}=l;if(typeof b=="string")return b;let _=(function(V,re,ee){let{node:U}=V;switch(U.kind){case"program":return Ke([jl(V,re,ee),tr(V,re,!0,(oe=>!oe.printed))]);case"expressionstatement":return ee("expression");case"block":return[jl(V,re,ee),tr(V,re,!0)];case"declare":{let oe=fe=>ur(", ",fe.map(ee,"directives"));return["block","short"].includes(U.mode)?["declare(",oe(V),")",U.mode==="block"?" {":":",U.children.length>0?Ze([$e,jl(V,re,ee)]):"",tr(V,re),$e,U.mode==="block"?"}":"enddeclare;"]:["declare(",oe(V),")",V.next?.kind==="inline"?"":";"]}case"declaredirective":return[ee("key"),"=",ee("value")];case"namespace":return["namespace ",U.name&&typeof U.name=="string"?[U.name,U.withBrackets?" ":""]:"",U.withBrackets?"{":";",yn(U)?[" ",tr(V,re,!0)]:"",U.children.length>0?U.withBrackets?Ze([$e,jl(V,re,ee)]):[U.children[0].kind==="inline"?"":[$e,h_(re.originalText,U)?$e:""],jl(V,re,ee)]:"",U.withBrackets?[$e,"}"]:""];case"usegroup":return Ke(["use ",U.type?[U.type," "]:"",Ze([U.name?[sx(U.name),"\\{",xt]:"",ur([",",_t],V.map(ee,"items"))]),U.name?[ks(Ml(re,7.2)?",":""),xt,"}"]:""]);case"useitem":return[U.type?[U.type," "]:"",sx(U.name),yn(U)?[" ",tr(V,re,!0)]:"",U.alias?[" as ",ee("alias")]:""];case"class":case"enum":case"interface":case"trait":return(function(oe,fe,Ee){let{node:le}=oe,He=le.kind==="class"&&le.isAnonymous,Je=vs(oe,fe,Ee,{inline:He}),st=He?[]:[...Je];le.isFinal&&st.push("final "),le.isAbstract&&st.push("abstract "),le.isReadonly&&!He&&st.push("readonly "),st.push(He?"":le.kind),le.name&&st.push(" ",Ee("name")),le.kind==="enum"&&le.valueType&&st.push(": ",Ee("valueType")),le.extends&&le.implements?st.push(ko([[Bn(oe,fe,Ee,"extends"),Bn(oe,fe,Ee,"implements")],[Bn(oe,fe,Ee,"extends"),Bn(oe,fe,Ee,"implements"," ",$e)],[Bn(oe,fe,Ee,"extends",$e," "),Bn(oe,fe,Ee,"implements",$e,le.implements.length>1?$e:" ")]],{shouldBreak:yn(le.extends)})):(le.extends&&st.push(ko([Bn(oe,fe,Ee,"extends"),Bn(oe,fe,Ee,"extends"," ",$e),Bn(oe,fe,Ee,"extends",$e,le.extends.length>1?$e:" ")])),le.implements&&st.push(ko([Bn(oe,fe,Ee,"implements"),Bn(oe,fe,Ee,"implements"," ",$e),Bn(oe,fe,Ee,"implements",$e,le.implements.length>1?$e:" ")])));let Xe=le.body&&le.body.length===0&&!yn(le),ft=Ke([Ke(st),R2(fe)&&!Xe?He?_t:$e:" "]),dt=["{",Ze([Xe?"":$e,Px(oe,fe,Ee,"body")]),tr(oe,fe,!0),Xe?"":$e,"}"];return[ft,dt]})(V,re,ee);case"traitprecedence":return[ee("trait"),"::",ee("method")," insteadof ",ur(", ",V.map(ee,"instead"))];case"traitalias":return[U.trait?[ee("trait"),"::"]:"",U.method?ee("method"):""," as ",ur(" ",[...U.visibility?[U.visibility]:[],...U.as?[ee("as")]:[]])];case"traituse":return Ke(["use ",Ze(Ke(ur([",",_t],V.map(ee,"traits")))),U.adaptations?[" {",U.adaptations.length>0?[Ze([$e,Px(V,re,ee,"adaptations")]),$e]:yn(U)?[_t,tr(V,re,!0),_t]:"","}"]:""]);case"function":case"closure":case"method":return(function(oe,fe,Ee){let{node:le}=oe,He=vs(oe,fe,Ee,{inline:le.kind==="closure"}),Je=[];le.isFinal&&Je.push("final "),le.isAbstract&&Je.push("abstract "),le.visibility&&Je.push(le.visibility," "),le.isStatic&&Je.push("static "),Je.push("function "),le.byref&&Je.push("&"),le.name&&Je.push(Ee("name")),Je.push(fi(oe,fe,Ee)),le.uses&&le.uses.length>0&&Je.push(Ke([" use ",fi(oe,fe,Ee,"uses")])),le.type&&Je.push([": ",yn(le.type)?[oe.call((()=>tr(oe,fe,!0)),"type")," "]:"",le.nullable?"?":"",Ee("type")]);let st=Je;if(!le.body)return[...He,st];let Xe=["{",Ze([rf(oe)?"":$e,Ee("body")]),rf(oe)?"":$e,"}"];return le.kind==="closure"?[...He,st," ",Xe]:le.arguments.length===0?[...He,st,R2(fe)&&!rf(oe)?$e:" ",Xe]:Je.some(Ts)?[...He,st," ",Xe]:[...He,ko([[st,R2(fe)&&!rf(oe)?$e:" ",Xe],[st," ",Xe]])]})(V,re,ee);case"arrowfunc":return[U.parenthesizedExpression?"(":"",...vs(V,re,ee,{inline:!0}),U.isStatic?"static ":"","fn",fi(V,re,ee),U.type?[": ",U.nullable?"?":"",ee("type")]:""," => ",ee("body"),U.parenthesizedExpression?")":""];case"parameter":{let oe="";U.flags===1?oe="public ":U.flags===2?oe="protected ":U.flags===4&&(oe="private ");let fe=[...vs(V,re,ee,{inline:!0}),oe,U.readonly?"readonly ":"",U.nullable?"?":"",U.type?[ee("type")," "]:"",U.byref?"&":"",U.variadic?"...":"","$",ee("name")];return U.value?Ke([fe,yn(U)?" ":"",tr(V,re,!0)," =",uf(U.name,U.value,ee("value"),!1,re)]):fe}case"variadic":return["...",ee("what")];case"property":return Ke([U.readonly?"readonly ":"",U.type?[U.nullable?"?":"",ee("type")," "]:"","$",ee("name"),U.value?[" =",uf(U.name,U.value,ee("value"),!1,re)]:""]);case"propertystatement":{let oe=[];V.each((()=>{oe.push(...vs(V,re,ee))}),"properties");let fe=V.map(ee,"properties"),Ee=U.properties.some((Je=>Je.value)),le;fe.length!==1||U.properties[0].comments?fe.length>0&&(le=Ze(fe[0])):[le]=fe;let He=U.visibility||U.visibility===null;return Ke([...oe,He?[U.visibility===null?"var":U.visibility,""]:"",U.isStatic?[He?" ":"","static"]:"",le?[" ",le]:"",Ze(fe.slice(1).map((Je=>[",",Ee?$e:_t,Je])))])}case"if":{let oe=[],fe=$i(V,re,ee,"body"),Ee=Ke(["if (",Ke([Ze([xt,ee("test")]),xt]),")",fe]);if(oe.push(Ee,Da(V)||!U.body?"":$e),U.alternate){oe.push(U.shortForm?"":"} ");let le=Ol(U.body)&&U.body.comments.some((Je=>Je.trailing&&!O2(Je)))||(function(Je){if(!Je.comments)return!1;let st=Dn(Je.comments.filter((Xe=>!Xe.leading&&!Xe.trailing)));return st&&!O2(st)})(U),He=!le;oe.push(He?"":$e),yn(U)&&oe.push(ga(re.originalText,Pe(U.body))?$e:"",tr(V,re,!0),le?$e:" "),oe.push("else",Ke(U.alternate.kind==="if"?ee("alternate"):$i(V,re,ee,"alternate")))}else oe.push(U.body?U.shortForm?"endif;":"}":"");return oe}case"do":return["do",$i(V,re,ee,"body")," while (",Ke([Ze([xt,ee("test")]),xt]),")"];case"while":case"switch":return Ke([U.kind," (",Ke([Ze([xt,ee("test")]),xt]),")",$i(V,re,ee,"body")]);case"for":{let oe=$i(V,re,ee,"body"),fe=tr(V,re,!0),Ee=fe?[fe,xt]:"";return U.init.length||U.test.length||U.increment.length?[Ee,Ke(["for (",Ke([Ze([xt,Ke(ur([",",_t],V.map(ee,"init"))),";",_t,Ke(ur([",",_t],V.map(ee,"test"))),";",_t,Ke(ur([",",_t],V.map(ee,"increment")))]),xt]),")",oe])]:[Ee,Ke(["for (;;)",oe])]}case"foreach":{let oe=$i(V,re,ee,"body"),fe=tr(V,re,!0);return[fe?[fe,xt]:"",Ke(["foreach (",Ke([Ze([xt,ee("source"),_t,"as ",Ke(U.key?Ze(ur([" =>",_t],[ee("key"),ee("value")])):ee("value"))]),xt]),")",oe])]}case"try":{let oe=[];return oe.push("try",$i(V,re,ee,"body")),U.catches&&oe.push(V.map(ee,"catches")),U.always&&oe.push(" finally",$i(V,re,ee,"always")),oe}case"catch":return[" catch",U.what?[" (",ur(" | ",V.map(ee,"what")),U.variable?[" ",ee("variable")]:"",")"]:"",$i(V,re,ee,"body")];case"case":return[U.test?["case ",U.test.comments?Ze(ee("test")):ee("test"),":"]:"default:",U.body&&U.body.children&&U.body.children.length?Ze([Da(V)?"":$e,ee("body")]):""];case"break":case"continue":return U.level&&U.level.kind==="number"&&U.level.value!=="1"?[`${U.kind} `,ee("level")]:U.kind;case"call":return U.arguments.length===1&&lf(U.arguments[0],re.originalText)?[ee("what"),"(",ur(", ",V.map(ee,"arguments")),")"]:jr(U.what)?(function(oe,fe,Ee){let le=[];function He(pt){let{originalText:Ht}=fe,Er=w_(Ht,Pe(pt));return Ht.charAt(Er)===")"?v_(Ht,Er+1,fe):ga(Ht,Pe(pt))}function Je(pt){let{node:Ht}=pt;if(Ht.kind!=="call"||!jr(Ht.what)&&Ht.what.kind!=="call")if(jr(Ht)){let Er=null;Er=Ht.kind==="propertylookup"?j2(pt,fe,Ee):Ht.kind==="nullsafepropertylookup"?bx(pt,fe,Ee):Ht.kind==="staticlookup"?kx(pt,fe,Ee):Tx(pt,fe,Ee),le.unshift({node:Ht,needsParens:Cx(pt,fe),printed:M2(pt,(()=>Er),fe)}),pt.call((ql=>Je(ql)),"what")}else le.unshift({node:Ht,printed:Ee()});else le.unshift({node:Ht,printed:[M2(pt,(()=>fi(pt,fe,Ee)),fe),He(Ht)?$e:""]}),pt.call((Er=>Je(Er)),"what")}let{node:st}=oe;le.unshift({node:st,printed:fi(oe,fe,Ee)}),oe.call((pt=>Je(pt)),"what");for(let pt=0;pt<le.length;++pt)le[pt].node.kind==="call"&&le[pt-1]&&["propertylookup","nullsafepropertylookup","staticlookup"].includes(le[pt-1].node.kind)&&le[pt-1].needsParens&&(le[0].printed=["(",le[0].printed],le[pt-1].printed=[le[pt-1].printed,")"]);let Xe=[],ft=[le[0]],dt=1;for(;dt<le.length&&(le[dt].node.kind==="call"||jr(le[dt].node)&&le[dt].node.offset&&le[dt].node.offset.kind==="number");++dt)ft.push(le[dt]);if(le[0].node.kind!=="call")for(;dt+1<le.length&&jr(le[dt].node)&&jr(le[dt+1].node);++dt)ft.push(le[dt]);Xe.push(ft),ft=[];let qr=!1;for(;dt<le.length;++dt){if(qr&&jr(le[dt].node)){if(le[dt].node.kind==="offsetlookup"&&le[dt].node.offset&&le[dt].node.offset.kind==="number"){ft.push(le[dt]);continue}Xe.push(ft),ft=[],qr=!1}le[dt].node.kind==="call"&&(qr=!0),ft.push(le[dt]),le[dt].node.comments&&Ol(le[dt].node)&&(Xe.push(ft),ft=[],qr=!1)}ft.length>0&&Xe.push(ft);function zr(pt){let Ht=pt[1].length&&pt[1][0].node.kind==="offsetlookup";if(pt[0].length===1){let So=pt[0][0].node;return So.kind==="variable"&&(So.name==="this"||Sr&&Er(So.name))||T2(So)}function Er(So){return So.length<fe.tabWidth}let ql=Dn(pt[0]).node;return jr(ql)&&(ql.offset.kind==="identifier"||ql.offset.kind==="variable")&&Ht}let Sr=oe.parent.kind==="expressionstatement",Pn=Xe.length>=2&&!Xe[1][0].node.comments&&zr(Xe);function mi(pt){let Ht=[];for(let Er=0;Er<pt.length;Er++)pt[Er+1]&&pt[Er+1].needsParens?(Ht.push("(",pt[Er].printed,pt[Er+1].printed,")"),Er++):Ht.push(pt[Er].printed);return Ht}function Ss(pt){return pt.length===0?"":Ze(Ke([$e,ur($e,pt.map(mi))]))}let vo=Xe.map(mi),xa=vo,ws=Pn?3:2,Di=Xe.slice(0,ws).flat(),qx=Di.slice(1,-1).some((pt=>Ll(pt.node)))||Di.slice(0,-1).some((pt=>Ol(pt.node)))||Xe[ws]&&Ll(Xe[ws][0].node),j_=v2(oe,"encapsed");if(Xe.length<=ws&&!qx||j_)return Ke(xa);let Ux=Dn(Pn?Xe.slice(1,2)[0]:Xe[0]).node,Vx=Ux.kind!=="call"&&He(Ux),$x=[mi(Xe[0]),Pn?Xe.slice(1,2).map(mi):"",Vx?$e:"",Ss(Xe.slice(Pn?2:1))],zx=le.filter((pt=>pt.node.kind==="call"));return qx||zx.length>2&&zx.some((pt=>!pt.node.arguments.every((Ht=>px(Ht)))))||vo.slice(0,-1).some(Ts)?Ke($x):[Ts(xa)||Vx?Fx:"",ko([xa,$x])]})(V,re,ee):[ee("what"),fi(V,re,ee)];case"new":{let oe=U.what&&U.what.kind==="class"&&U.what.isAnonymous;if(!oe&&U.arguments.length===1&&lf(U.arguments[0],re.originalText))return["new ",...V.call(vs,"what"),ee("what"),"(",ur(", ",V.map(ee,"arguments")),")"];let fe=[];if(fe.push("new "),oe)fe.push(U.what.leadingComments&&U.what.leadingComments[0].kind==="commentblock"?[ya(U.what.leadingComments,re)," "]:"",...V.call((()=>vs(V,re,ee,{inline:!0})),"what"),U.what.isReadonly?"readonly class":"class",U.arguments.length>0?[" ",fi(V,re,ee)]:"",Ke(ee("what")));else{let Ee=["call","offsetlookup"].includes(U.what.kind),le=[Ee?"(":"",ee("what"),Ee?")":"",fi(V,re,ee)];fe.push(Ll(U.what)?Ze(le):le)}return fe}case"clone":return["clone ",U.what.comments?Ze(ee("what")):ee("what")];case"propertylookup":case"nullsafepropertylookup":case"staticlookup":case"offsetlookup":{let{parent:oe}=V,fe,Ee=0;do fe=V.getParentNode(Ee),Ee++;while(fe&&jr(fe));let le=v2(V,"encapsed")||fe&&(fe.kind==="new"||fe.kind==="assign"&&fe.left.kind!=="variable")||U.kind==="offsetlookup"||(T2(U.what)||U.what.kind==="variable")&&["identifier","variable","encapsedpart"].includes(U.offset.kind)&&oe&&!jr(oe);return[ee("what"),le?_x(V,re,ee):Ke(Ze([xt,_x(V,re,ee)]))]}case"exit":return Ke([U.useDie?"die":"exit","(",U.expression?lf(U.expression,re.originalText)?ee("expression"):[Ze([xt,ee("expression")]),xt]:tr(V,re),")"]);case"global":return Ke(["global ",Ze(ur([",",_t],V.map(ee,"items")))]);case"include":return[U.require?"require":"include",U.once?"_once":""," ",U.target.comments?Ze(ee("target")):ee("target")];case"label":return[ee("name"),":"];case"goto":return["goto ",ee("label")];case"throw":return["throw ",U.what.comments?Ze(ee("what")):ee("what")];case"silent":return["@",ee("expr")];case"halt":return[yn(U)?[tr(V,re,!0),$e]:"","__halt_compiler();",U.after];case"eval":return Ke(["eval(",lf(U.source,re.originalText)?ee("source"):[Ze([xt,ee("source")]),xt],")"]);case"echo":{let oe=V.map(ee,"expressions"),fe;return oe.length!==1||U.expressions[0].comments?oe.length>0&&(fe=b2(U.expressions[0])||U.expressions[0].comments?Ze(oe[0]):A_(oe[0])):[fe]=oe,Ke([U.shortForm?"":"echo ",fe||"",Ze(oe.slice(1).map((Ee=>[",",_t,Ee])))])}case"print":return["print ",U.expression.comments?Ze(ee("expression")):ee("expression")];case"return":{let oe=[];if(oe.push("return"),U.expr){let fe=ee("expr");oe.push(" ",U.expr.comments?Ze(fe):fe)}return yn(U)&&oe.push(" ",tr(V,re,!0)),oe}case"isset":case"unset":return Ke([U.kind,fi(V,re,ee,"variables")]);case"empty":return Ke(["empty(",Ze([xt,ee("expression")]),xt,")"]);case"variable":{let{parent:oe,grandparent:fe}=V,Ee=oe.kind==="assign"?"":U.byref?"&":"",le=oe.kind==="encapsedpart"&&oe.syntax==="simple"&&oe.curly||fe&&oe.kind==="offsetlookup"&&fe.kind==="encapsedpart"&&fe.syntax==="simple"&&fe.curly?"":"$",He=U.curly?"{":"",Je=U.curly?"}":"";return[Ee,le,He,ee("name"),Je]}case"constantstatement":case"classconstant":{let oe=vs(V,re,ee),fe=V.map(ee,"constants"),Ee;return fe.length!==1||U.constants[0].comments?fe.length>0&&(Ee=Ze(fe[0])):[Ee]=fe,Ke([...oe,U.final?"final ":"",U.visibility?[U.visibility," "]:"","const",U.type?[U.nullable?" ?":" ",ee("type")]:"",Ee?[" ",Ee]:"",Ze(fe.slice(1).map((le=>[",",$e,le])))])}case"constant":return of(U.name,ee("name")," =",U.value,ee("value"),!1,re);case"static":{let oe=V.map(ee,"variables"),fe=U.variables.some((le=>le.defaultValue)),Ee;return oe.length!==1||U.variables[0].comments?oe.length>0&&(Ee=Ze(oe[0])):[Ee]=oe,Ke(["static",Ee?[" ",Ee]:"",Ze(oe.slice(1).map((le=>[",",fe?$e:_t,le])))])}case"staticvariable":return of(U.variable,ee("variable")," =",U.defaultValue,ee("defaultValue"),!1,re);case"list":case"array":{let oe=U.kind==="array"&&re.phpVersion>=5.4||U.kind==="list"&&(U.shortForm||re.phpVersion>=7.1),fe=oe?"[":[U.kind,"("],Ee=oe?"]":")";if(U.items.length===0)return yn(U)?Ke([fe,tr(V,re),xt,Ee]):[fe,Ee];let le=Dn(U.items),He=le&&le.kind==="noop",[Je]=U.items.filter((Xe=>Xe.kind!=="noop")).sort(((Xe,ft)=>_e(Xe)-_e(ft))),st=!(!Je||!Je.key)&&Je&&Ax(re.originalText,_e(U),_e(Je));return Ke([fe,Ze([xt,B_(V,re,ee)]),He?",":"",ks(!He&&Ml(re,5)?[le&&ax(le)?$e:"",","]:""),tr(V,re,!0),xt,Ee],{shouldBreak:st})}case"entry":{let oe=U.byRef?"&":"",fe=U.unpack?"...":"";return U.key?of(U.key,ee("key")," =>",U.value,ee("value"),oe,re):[oe,fe,ee("value")]}case"yield":{let oe=[U.key?[ee("key")," => "]:"",ee("value")];return["yield",U.key||U.value?" ":"",U.value&&U.value.comments?Ze(oe):oe]}case"yieldfrom":return["yield from ",U.value.comments?Ze(ee("value")):ee("value")];case"unary":return[U.type,ee("what")];case"pre":return[U.type+U.type,ee("what")];case"post":return[ee("what"),U.type+U.type];case"cast":return["(",U.type,") ",U.expr.comments?Ze(ee("expr")):ee("expr")];case"assignref":case"assign":{let oe=U.kind==="assignref";return of(U.left,ee("left"),[" ",oe?"=":U.operator],U.right,ee("right"),oe,re)}case"bin":{if(U.type==="|>"){let{parent:ft,grandparent:dt}=V,qr=ft.kind==="expressionstatement"||ft.kind==="assign"&&dt&&dt.kind==="expressionstatement";return(function(zr,Sr){let Pn=arguments.length>2&&arguments[2]!==void 0&&arguments[2],mi=[];function Ss(){let{node:Di}=zr;Di.kind==="bin"&&Di.type==="|>"?(mi.push(zr.call(Sr,"left")),zr.call(Ss,"right")):mi.push(Sr())}Ss();let[vo,...xa]=mi,ws=Pn?ks([b_,";"],";"):"";return Ke([vo,Ze(xa.flatMap((Di=>[_t,"|> ",Di]))),ws])})(V,ee,qr)}let{parent:oe,grandparent:fe}=V,Ee=U!==oe.body&&(oe.kind==="if"||oe.kind==="while"||oe.kind==="switch"||oe.kind==="do"),le=wx(V,ee,re,!1,Ee);if(Ee)return le;if(oe.kind==="unary"||jr(oe)&&oe.kind!=="offsetlookup")return Ke([Ze([xt,...le]),xt]);let He=U!==oe.body&&oe.kind==="for"||oe.kind==="retif"&&fe&&fe.kind!=="return",Je=["assign","property","constant","staticvariable","entry"].includes(oe.kind),st=U.left.kind==="bin"&&fa(U.type,U.left.type);if(He||Rl(U)&&!st||!Rl(U)&&Je)return Ke(le);let Xe=le.slice(1);return Ke([le.length>0?le[0]:"",Ze(Xe)])}case"retif":{let oe=[],{parent:fe}=V,Ee,le=0;do Ee=V.getParentNode(le),le++;while(Ee&&Ee.kind==="retif");let He=Ee||fe,Je=U.falseExpr.kind==="bin"?Ze(ee("falseExpr")):ee("falseExpr"),st=[U.trueExpr?_t:" ","?",U.trueExpr?[" ",U.trueExpr.kind==="bin"?Ze(ee("trueExpr")):ee("trueExpr"),_t]:"",":",U.trueExpr?[" ",Je]:[Sx(U.falseExpr)?" ":_t,Je]];oe.push(st);let Xe=Sr=>fe===He?Ke(Sr):Sr,ft=V.grandparent,dt=fe.kind==="cast"&&ft?ft:fe,qr=["propertylookup","nullsafepropertylookup","staticlookup"].includes(dt.kind),zr=ee("test");if(!U.trueExpr){let Sr=[zr,dt.kind==="bin"||["print","echo","return","include"].includes(He.kind)?Ze(oe):oe];return dt.kind==="call"&&dt.what===U||dt.kind==="unary"||jr(dt)&&dt.kind!=="offsetlookup"?Ke([Ze([xt,Sr]),xt]):Xe(Sr)}return Xe([U.test.kind==="retif"?Ze(zr):zr,Ze(oe),qr?xt:""])}case"boolean":return U.value?"true":"false";case"number":return gr(U.value);case"string":{let{parent:oe}=V;if(oe.kind==="encapsedpart"){let le=V.grandparent,He=0,Je=re.phpVersion>=7.3,st=To;if(le.type==="heredoc"){st=Je?$e:To;let Xe=le.raw.split(`
- `);He=Xe[Xe.length-1].search(/\S/),He===-1&&(He=Xe[Xe.length-2].search(/\S/))}return ur(st,U.raw.split(`
- `).map(((Xe,ft)=>ft>0||U.loc.start.column===0?Xe.substring(He):Xe)))}let fe=(function(le,He){if(le.isDoubleQuote===He.singleQuote){let Je=le.raw.slice(le.raw[0]==="b"?2:1,-1).match(/\\([$nrtfve]|[xX][0-9a-fA-F]{1,2}|[0-7]{1,3}|u{([0-9a-fA-F]+)})|\r?\n|'|"|\$/);return le.isDoubleQuote?Je:!Je}return le.isDoubleQuote})(U,re)?'"':"'",Ee=U.raw;return U.raw[0]==="b"&&(Ee=Ee.slice(1)),['"',"'"].includes(Ee[0])&&(Ee=Ee.substr(1)),['"',"'"].includes(Ee[Ee.length-1])&&(Ee=Ee.substr(0,Ee.length-1)),[U.raw[0]==="b"?"b":"",fe,ur(To,Ee.split(`
- `)),fe]}case"intersectiontype":return Lx(V,ee,"&");case"uniontype":return Lx(V,ee,"|");case"encapsedpart":{let oe=U.syntax==="simple"&&U.curly||U.syntax==="complex"?[U.curly?"$":"","{"]:"",fe=U.syntax==="simple"&&U.curly||U.syntax==="complex"?"}":"";return[oe,ee("expression"),fe]}case"encapsed":switch(U.type){case"string":case"shell":case"heredoc":{let oe=re.phpVersion>=7.3?$e:To;return[Bx(U),U.type==="heredoc"?oe:"",...V.map(ee,"value"),Bx(U,{opening:!1}),U.type==="heredoc"&&tf(V)?$e:""]}default:throw new Error(`Have not implemented kind ${U.type} yet.`)}case"inline":return ur(To,U.raw.replace("___PSEUDO_INLINE_PLACEHOLDER___","").split(`
- `));case"magic":return U.value;case"nowdoc":{let oe=re.phpVersion>=7.3?$e:To;return["<<<'",U.label,"'",oe,ur(oe,U.value.split(`
- `)),oe,U.label,tf(V)?$e:""]}case"name":return[U.resolution==="rn"?"namespace\\":"",U.name];case"literal":return ee("value");case"parentreference":return"parent";case"selfreference":return"self";case"staticreference":return"static";case"typereference":return U.name;case"nullkeyword":return"null";case"identifier":{let{parent:oe}=V;return oe.kind==="method"&&(U.name=ux(U.name)),ee("name")}case"match":{let oe=V.map((()=>{let fe=V.node,Ee=Ll(fe)?[ya(fe.leadingComments,re),$e]:[],le=!V.isLast||re.trailingCommaPHP?",":"",He=Ol(fe)?[" ",ya(fe.comments.filter((ft=>ft.trailing)),re)]:[],Je=fe.conds===null?"default":V.map((ft=>{let{isFirst:dt}=ft;return[",",_t,ee()].slice(dt?2:0)}),"conds"),st=ee("body"),Xe=!V.isFirst&&__(re.originalText,_e(fe))?$e:"";return["",$e,Xe,...Ee,Ke([Ke([Je,Ze(_t)]),"=> ",st,le,...He])].slice(V.isFirst?1:0)}),"arms");return Ke(["match (",Ke([Ze([xt,ee("cond")]),xt]),") {",Ke(Ze([...oe]))," ",xt,"}"])}case"noop":return U.comments?ya(U.comments,re):"";case"namedargument":return[U.name,": ",ee("value")];case"enumcase":return Ke(["case ",ee("name"),U.value?[" =",uf(U.name,U.value,ee("value"),!1,re)]:""]);case"variadicplaceholder":return"...";default:throw new Error(`Have not implemented kind '${U.kind}' yet.`)}})(l,m,E),q=[],G=Cx(l,m);return G&&q.unshift("("),q.push(_),G&&q.push(")"),(function(V){let{node:re,parent:ee}=V;if(!ee)return!1;if(["for","foreach","while","do","if","switch"].includes(ee.kind)&&re.kind!=="block"&&re.kind!=="if"&&(ee.body===re||ee.alternate===re))return!0;if(!(function(U){return["block","program","namespace","class","enum","interface","trait","traituse","declare"].includes(U.kind)})(ee)||re.kind==="echo"&&re.shortForm)return!1;if(re.kind==="traituse")return!re.adaptations;if(re.kind==="method"&&re.isAbstract)return!0;if(re.kind==="method"){let{parent:U}=V;if(U&&U.kind==="interface")return!0}if(re.kind==="expressionstatement"){let U=re.expression;if(U.kind==="bin"&&U.type==="|>"||U.kind==="assign"&&U.right.kind==="bin"&&U.right.type==="|>")return!1}return["expressionstatement","do","usegroup","classconstant","propertystatement","traitprecedence","traitalias","goto","constantstatement","enumcase","global","static","echo","unset","return","break","continue","throw"].includes(re.kind)})(l)&&q.push(";"),(function(V){let{node:re}=V,ee=re.kind==="program",U=re.children&&Dn(re.children);if(!ee||U&&["halt","inline"].includes(U.kind))return!1;if(U&&(U.kind==="declare"||U.kind==="namespace")){let oe=U.children.length>0&&Dn(U.children);if(oe&&["halt","inline"].includes(oe.kind))return!1}return!0})(l)&&q.push($e),q},getVisitorKeys:function(l,m){return Object.keys(l).filter((E=>!m.has(E)&&!M_.has(E)))},insertPragma:function(l){let m=Rx(l);if(m){let{start:{offset:b},end:{offset:_}}=m.loc,q=l.substring(0,b),G=l.substring(_);return`${q}${(function(V){let re=V.split(`
- `);if(re.length===1){let[,U]=/\/*\*\*(.*)\*\//.exec(re[0]);re=["/**",` * ${U.trim()}`," */"]}let ee=re.findIndex((U=>/@\S/.test(U)))||1;return re.splice(ee,0," * @format"),re.join(`
- `)})(m.value)}${G}`}return l.startsWith("<?php")?`${l.substring(0,5)}
- /**
- * @format
- */
- ${l.substring(5)}`:l},massageAstNode:Ox,getCommentChildNodes:function(l){if(l.kind==="new"&&l.what.kind==="class")return l.what.__parent_new_arguments=[...l.arguments],[l.what]},canAttachComment:function(l){return l.kind&&l.kind!=="commentblock"&&l.kind!=="commentline"},isBlockComment:O2,handleComments:{ownLine:function(l,m,E){let{precedingNode:b,enclosingNode:_,followingNode:q}=l;return mx(m,b,_,q,l)||(function(G,V,re){return G&&jr(G)&&V&&["identifier","variable","encapsed"].includes(V.kind)?(Qn(G,re),!0):!1})(_,q,l)||w2(m,b,_,q,l)||N2(m,b,_,q,l)||yx(_,q,l)||_2(_,q,l)||P2(m,b,_,q,l)||B2(m,_,q,l)||(function(G,V,re,ee){return!re&&G&&(G.kind==="for"||G.kind==="foreach")?(G.body&&G.body.kind!=="block"?Qn(re,ee):Qn(G,ee),!0):!1})(_,0,q,l)||I2(_,b,q,l)||xx(_,b,q,l)},endOfLine:function(l,m,E){let{precedingNode:b,enclosingNode:_,followingNode:q}=l;return(function(G,V,re,ee,U){return!V&&!ee&&re&&re.kind==="array"?(Zn(re,U),!0):!1})(0,b,_,q,l)||(function(G,V,re,ee,U){return re&&re.kind==="return"&&!re.expr?(Zn(re,U),!0):!1})(0,0,_,0,l)||mx(m,b,_,q,l)||(function(G,V,re,ee,U){let oe=V&&!y_(U,Pe(V),_e(ee));return(!V||!oe)&&G&&G.kind==="retif"&&re?(Qn(re,ee),!0):!1})(_,b,q,l,m)||w2(m,b,_,q,l)||N2(m,b,_,q,l)||yx(_,q,l)||_2(_,q,l)||P2(m,b,_,q,l)||B2(m,_,q,l)||(function(G,V){return G&&G.kind==="entry"?(Qn(G,V),!0):!1})(_,l)||(function(G,V,re){return V&&V.kind==="call"&&G&&V.what===G&&V.arguments.length>0?(Qn(V.arguments[0],re),!0):!1})(b,_,l)||(function(G,V,re){if(G&&G.kind==="assign"&&V){let ee=G.loc.start.offset+G.loc.source.indexOf("=");if(re.loc.start.offset>ee)return Qn(V,re),!0}return!1})(_,q,l)||I2(_,b,q,l)||gx(_,b,q,l)||xx(_,b,q,l)||Dx(_,l)},remaining:function(l,m,E){let{precedingNode:b,enclosingNode:_,followingNode:q}=l;return w2(m,b,_,q,l)||N2(m,b,_,q,l)||(function(G,V,re){let ee=Nl(G,Pe(re));return G.charAt(ee)!==")"?!1:V&&(V.kind==="function"||V.kind==="closure"||V.kind==="method"||V.kind==="call"||V.kind==="new")&&V.arguments.length===0?(Qr(V,re),!0):!1})(m,_,l)||_2(_,q,l)||(function(G,V,re){return G&&G.kind==="traituse"&&G.adaptations&&!G.adaptations.length?(Qr(G,re),!0):!1})(_,0,l)||P2(m,b,_,q,l)||B2(m,_,q,l)||Dx(_,l)||(function(G,V,re,ee){return V&&V.kind==="halt"?(Qr(V,ee),!0):G&&G.kind==="halt"?(Qr(G,ee),!0):!1})(b,_,0,l)||(function(G,V){return G&&(G.kind==="continue"||G.kind==="break")&&!G.label?(Zn(G,V),!0):!1})(_,l)||I2(_,b,q,l)||gx(_,b,q,l)}},willPrintOwnComments(l){let{node:m}=l;return m&&m.kind==="noop"},printComment(l){let m=l.node;switch(m.kind){case"commentblock":{if(!m.value.includes(`
- `))return m.value;let E=m.value.split(`
- `);return E.slice(1,E.length-1).every((b=>b.trim()[0]==="*"))?I_(N_,E.map(((b,_)=>(_>0?" ":"")+(_<E.length-1?b.trim():b.trimLeft())))):m.value}case"commentline":return m.value.trimRight();default:throw new Error(`Not a comment: ${JSON.stringify(m)}`)}},hasPrettierIgnore(l){let m=_=>_.value.includes("prettier-ignore")&&!_.value.includes("prettier-ignore-start")&&!_.value.includes("prettier-ignore-end"),{node:E,parent:b}=l;return E&&E.kind!=="classconstant"&&E.comments&&E.comments.length>0&&E.comments.some(m)||E&&E.kind==="constant"&&b&&b.kind==="classconstant"&&b.comments&&b.comments.length>0&&b.comments.some(m)}}};e.defaultOptions={tabWidth:4},e.languages=L_,e.options=Se,e.parsers=O_,e.printers=R_}))});var wne={};wo(wne,{format:()=>vne,plugins:()=>Sne});Jt();Jt();var J_=Object.defineProperty,X2=(e,t)=>{for(var r in t)J_(e,r,{get:t[r],enumerable:!0})},K_={};X2(K_,{__debug:()=>Y9,check:()=>K9,doc:()=>yC,format:()=>CC,formatWithCursor:()=>kf,getSupportInfo:()=>X9,util:()=>gC,version:()=>A9});var zl=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i),X_=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},Y_=zl("replaceAll",function(){if(typeof this=="string")return X_}),Df=Y_,Q_=class{diff(e,t,r={}){let n;typeof r=="function"?(n=r,r={}):"callback"in r&&(n=r.callback);let i=this.castInput(e,r),s=this.castInput(t,r),a=this.removeEmpty(this.tokenize(i,r)),o=this.removeEmpty(this.tokenize(s,r));return this.diffWithOptionsObj(a,o,r,n)}diffWithOptionsObj(e,t,r,n){var i;let s=A=>{if(A=this.postProcess(A,r),n){setTimeout(function(){n(A)},0);return}else return A},a=t.length,o=e.length,u=1,h=a+o;r.maxEditLength!=null&&(h=Math.min(h,r.maxEditLength));let c=(i=r.timeout)!==null&&i!==void 0?i:1/0,p=Date.now()+c,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,r);if(d[0].oldPos+1>=o&&f+1>=a)return s(this.buildValues(d[0].lastComponent,t,e));let D=-1/0,g=1/0,x=()=>{for(let A=Math.max(D,-u);A<=Math.min(g,u);A+=2){let C,k=d[A-1],P=d[A+1];k&&(d[A-1]=void 0);let v=!1;if(P){let I=P.oldPos-A;v=P&&0<=I&&I<a}let w=k&&k.oldPos+1<o;if(!v&&!w){d[A]=void 0;continue}if(!w||v&&k.oldPos<P.oldPos?C=this.addToPath(P,!0,!1,0,r):C=this.addToPath(k,!1,!0,1,r),f=this.extractCommon(C,t,e,A,r),C.oldPos+1>=o&&f+1>=a)return s(this.buildValues(C.lastComponent,t,e))||!0;d[A]=C,C.oldPos+1>=o&&(g=Math.min(g,A-1)),f+1>=a&&(D=Math.max(D,A+1))}u++};if(n)(function A(){setTimeout(function(){if(u>h||Date.now()>p)return n(void 0);x()||A()},0)})();else for(;u<=h&&Date.now()<=p;){let A=x();if(A)return A}}addToPath(e,t,r,n,i){let s=e.lastComponent;return s&&!i.oneChangePerToken&&s.added===t&&s.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:s.count+1,added:t,removed:r,previousComponent:s.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:s}}}extractCommon(e,t,r,n,i){let s=t.length,a=r.length,o=e.oldPos,u=o-n,h=0;for(;u+1<s&&o+1<a&&this.equals(r[o+1],t[u+1],i);)u++,o++,h++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return h&&!i.oneChangePerToken&&(e.lastComponent={count:h,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=o,u}equals(e,t,r){return r.comparator?r.comparator(e,t):e===t||!!r.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,r){let n=[],i;for(;e;)n.push(e),i=e.previousComponent,delete e.previousComponent,e=i;n.reverse();let s=n.length,a=0,o=0,u=0;for(;a<s;a++){let h=n[a];if(h.removed)h.value=this.join(r.slice(u,u+h.count)),u+=h.count;else{if(!h.added&&this.useLongestToken){let c=t.slice(o,o+h.count);c=c.map(function(p,d){let f=r[u+d];return f.length>p.length?f:p}),h.value=this.join(c)}else h.value=this.join(t.slice(o,o+h.count));o+=h.count,h.added||(u+=h.count)}}return n}},Z_=class extends Q_{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}},e8=new Z_;function t8(e,t,r){return e8.diff(e,t,r)}var r8=()=>{},Bs=r8,xE="cr",EE="crlf",n8="lf",i8=n8,Y2="\r",CE=`\r
- `,yf=`
- `,s8=yf;function a8(e){let t=e.indexOf(Y2);return t!==-1?e.charAt(t+1)===yf?EE:xE:i8}function Q2(e){return e===xE?Y2:e===EE?CE:s8}var o8=new Map([[yf,/\n/g],[Y2,/\r/g],[CE,/\r\n/g]]);function FE(e,t){let r=o8.get(t);return e.match(r)?.length??0}var u8=/\r\n?/g;function l8(e){return Df(0,e,u8,yf)}var gf=Symbol.for("comments");function c8(e){return this[e<0?this.length+e:e]}var p8=zl("at",function(){if(Array.isArray(this)||typeof this=="string")return c8}),wr=p8,ba="string",Wi="array",Is="cursor",Gi="indent",Ji="align",Ki="trim",Zr="group",Ei="fill",gn="if-break",Xi="indent-if-break",Yi="line-suffix",Qi="line-suffix-boundary",_r="line",Ci="label",Ln="break-parent",AE=new Set([Is,Gi,Ji,Ki,Zr,Ei,gn,Xi,Yi,Qi,_r,Ci,Ln]);function h8(e){let t=e.length;for(;t>0&&(e[t-1]==="\r"||e[t-1]===`
- `);)t--;return t<e.length?e.slice(0,t):e}function Z2(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function d8(e){if(typeof e=="string")return ba;if(Array.isArray(e))return Wi;if(!e)return;let{type:t}=e;if(AE.has(t))return t}var ka=d8,f8=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function m8(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(ka(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=f8([...AE].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
- Expected it to be ${n}.`}var D8=class extends Error{name="InvalidDocError";constructor(e){super(m8(e)),this.doc=e}},Po=D8,Wx={};function y8(e,t,r,n){let i=[e];for(;i.length>0;){let s=i.pop();if(s===Wx){r(i.pop());continue}r&&i.push(s,Wx);let a=ka(s);if(!a)throw new Po(s);if(t?.(s)!==!1)switch(a){case Wi:case Ei:{let o=a===Wi?s:s.parts;for(let u=o.length,h=u-1;h>=0;--h)i.push(o[h]);break}case gn:i.push(s.flatContents,s.breakContents);break;case Zr:if(n&&s.expandedStates)for(let o=s.expandedStates.length,u=o-1;u>=0;--u)i.push(s.expandedStates[u]);else i.push(s.contents);break;case Ji:case Gi:case Xi:case Ci:case Yi:i.push(s.contents);break;case ba:case Is:case Ki:case Qi:case _r:case Ln:break;default:throw new Po(s)}}}var e0=y8;function xf(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(s){return Z2(r,s,i)}function i(s){switch(ka(s)){case Wi:return t(s.map(n));case Ei:return t({...s,parts:s.parts.map(n)});case gn:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Zr:{let{expandedStates:a,contents:o}=s;return a?(a=a.map(n),o=a[0]):o=n(o),t({...s,contents:o,expandedStates:a})}case Ji:case Gi:case Xi:case Ci:case Yi:return t({...s,contents:n(s.contents)});case ba:case Is:case Ki:case Qi:case _r:case Ln:return t(s);default:throw new Po(s)}}}function t0(e,t,r){let n=r,i=!1;function s(a){if(i)return!1;let o=t(a);o!==void 0&&(i=!0,n=o)}return e0(e,s),n}function g8(e){if(e.type===Zr&&e.break||e.type===_r&&e.hard||e.type===Ln)return!0}function x8(e){return t0(e,g8,!1)}function Gx(e){if(e.length>0){let t=wr(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function E8(e){let t=new Set,r=[];function n(s){if(s.type===Ln&&Gx(r),s.type===Zr){if(r.push(s),t.has(s))return!1;t.add(s)}}function i(s){s.type===Zr&&r.pop().break&&Gx(r)}e0(e,n,i,!0)}function C8(e){return e.type===_r&&!e.hard?e.soft?"":" ":e.type===gn?e.flatContents:e}function F8(e){return xf(e,C8)}function Jx(e){for(e=[...e];e.length>=2&&wr(0,e,-2).type===_r&&wr(0,e,-1).type===Ln;)e.length-=2;if(e.length>0){let t=Ul(wr(0,e,-1));e[e.length-1]=t}return e}function Ul(e){switch(ka(e)){case Gi:case Xi:case Zr:case Yi:case Ci:{let t=Ul(e.contents);return{...e,contents:t}}case gn:return{...e,breakContents:Ul(e.breakContents),flatContents:Ul(e.flatContents)};case Ei:return{...e,parts:Jx(e.parts)};case Wi:return Jx(e);case ba:return h8(e);case Ji:case Is:case Ki:case Qi:case _r:case Ln:break;default:throw new Po(e)}return e}function bE(e){return Ul(b8(e))}function A8(e){switch(ka(e)){case Ei:{let{parts:t}=e;if(t.every(r=>r===""))return"";if(t.length===1)return t[0];break}case Zr:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Zr&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ji:case Gi:case Xi:case Yi:if(!e.contents)return"";break;case gn:if(!e.flatContents&&!e.breakContents)return"";break;case Wi:{let t=[];for(let r of e){if(!r)continue;let[n,...i]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof wr(0,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case ba:case Is:case Ki:case Qi:case _r:case Ci:case Ln:break;default:throw new Po(e)}return e}function b8(e){return xf(e,t=>A8(t))}function k8(e,t=PE){return xf(e,r=>typeof r=="string"?wE(t,r.split(`
- `)):r)}function T8(e){if(e.type===_r)return!0}function v8(e){return t0(e,T8,!1)}function df(e,t){return e.type===Ci?{...e,contents:t(e.contents)}:t(e)}var xi=Bs,kE=Bs,S8=Bs,w8=Bs;function mf(e){return xi(e),{type:Gi,contents:e}}function Io(e,t){return w8(e),xi(t),{type:Ji,contents:t,n:e}}function _8(e){return Io(Number.NEGATIVE_INFINITY,e)}function TE(e){return Io({type:"root"},e)}function B8(e){return Io(-1,e)}function vE(e,t,r){xi(e);let n=e;if(t>0){for(let i=0;i<Math.floor(t/r);++i)n=mf(n);n=Io(t%r,n),n=Io(Number.NEGATIVE_INFINITY,n)}return n}var Ef={type:Ln},Fa={type:Is};function P8(e){return S8(e),{type:Ei,parts:e}}function SE(e,t={}){return xi(e),kE(t.expandedStates,!0),{type:Zr,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function I8(e,t){return SE(e[0],{...t,expandedStates:e})}function N8(e,t="",r={}){return xi(e),t!==""&&xi(t),{type:gn,breakContents:e,flatContents:t,groupId:r.groupId}}function L8(e,t){return xi(e),{type:Xi,contents:e,groupId:t.groupId,negate:t.negate}}function wE(e,t){xi(e),kE(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}function O8(e,t){return xi(t),e?{type:Ci,label:e,contents:t}:t}var _E={type:_r},M8={type:_r,soft:!0},r0={type:_r,hard:!0},Hi=[r0,Ef],BE={type:_r,hard:!0,literal:!0},PE=[BE,Ef];function W2(e){return xi(e),{type:Yi,contents:e}}var R8={type:Qi},j8={type:Ki};function zi(e){if(!e)return"";if(Array.isArray(e)){let t=[];for(let r of e)if(Array.isArray(r))t.push(...zi(r));else{let n=zi(r);n!==""&&t.push(n)}return t}return e.type===gn?{...e,breakContents:zi(e.breakContents),flatContents:zi(e.flatContents)}:e.type===Zr?{...e,contents:zi(e.contents),expandedStates:e.expandedStates?.map(zi)}:e.type===Ei?{type:"fill",parts:e.parts.map(zi)}:e.contents?{...e,contents:zi(e.contents)}:e}function q8(e){let t=Object.create(null),r=new Set;return n(zi(e));function n(s,a,o){if(typeof s=="string")return JSON.stringify(s);if(Array.isArray(s)){let u=s.map(n).filter(Boolean);return u.length===1?u[0]:`[${u.join(", ")}]`}if(s.type===_r){let u=o?.[a+1]?.type===Ln;return s.literal?u?"literalline":"literallineWithoutBreakParent":s.hard?u?"hardline":"hardlineWithoutBreakParent":s.soft?"softline":"line"}if(s.type===Ln)return o?.[a-1]?.type===_r&&o[a-1].hard?void 0:"breakParent";if(s.type===Ki)return"trim";if(s.type===Gi)return"indent("+n(s.contents)+")";if(s.type===Ji)return s.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(s.contents)+")":s.n<0?"dedent("+n(s.contents)+")":s.n.type==="root"?"markAsRoot("+n(s.contents)+")":"align("+JSON.stringify(s.n)+", "+n(s.contents)+")";if(s.type===gn)return"ifBreak("+n(s.breakContents)+(s.flatContents?", "+n(s.flatContents):"")+(s.groupId?(s.flatContents?"":', ""')+`, { groupId: ${i(s.groupId)} }`:"")+")";if(s.type===Xi){let u=[];s.negate&&u.push("negate: true"),s.groupId&&u.push(`groupId: ${i(s.groupId)}`);let h=u.length>0?`, { ${u.join(", ")} }`:"";return`indentIfBreak(${n(s.contents)}${h})`}if(s.type===Zr){let u=[];s.break&&s.break!=="propagated"&&u.push("shouldBreak: true"),s.id&&u.push(`id: ${i(s.id)}`);let h=u.length>0?`, { ${u.join(", ")} }`:"";return s.expandedStates?`conditionalGroup([${s.expandedStates.map(c=>n(c)).join(",")}]${h})`:`group(${n(s.contents)}${h})`}if(s.type===Ei)return`fill([${s.parts.map(u=>n(u)).join(", ")}])`;if(s.type===Yi)return"lineSuffix("+n(s.contents)+")";if(s.type===Qi)return"lineSuffixBoundary";if(s.type===Ci)return`label(${JSON.stringify(s.label)}, ${n(s.contents)})`;if(s.type===Is)return"cursor";throw new Error("Unknown doc type "+s.type)}function i(s){if(typeof s!="symbol")return JSON.stringify(String(s));if(s in t)return t[s];let a=s.description||"symbol";for(let o=0;;o++){let u=a+(o>0?` #${o}`:"");if(!r.has(u))return r.add(u),t[s]=`Symbol.for(${JSON.stringify(u)})`}}}var U8=()=>/[#*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,V8=12288,$8=65510,z8=[12288,12288,65281,65376,65504,65510],H8=4352,W8=262141,IE=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],NE=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){let i=Math.floor((r+n)/2),s=i*2;if(t<e[s])n=i-1;else if(t>e[s+1])r=i+1;else return!0}return!1},Kx=19968,[G8,J8]=K8(IE);function K8(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){let i=e[n],s=e[n+1];if(Kx>=i&&Kx<=s)return[i,s];s-i>r-t&&(t=i,r=s)}return[t,r]}var X8=e=>e<V8||e>$8?!1:NE(z8,e),Y8=e=>e>=G8&&e<=J8?!0:e<H8||e>W8?!1:NE(IE,e),Q8=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC3F\uDC41\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])$/,Z8=e=>Q8.test(e),eB=/[^\x20-\x7F]/;function tB(e){if(!e)return 0;if(!eB.test(e))return e.length;let t=0;e=e.replace(U8(),r=>(t+=Z8(r)?1:2,""));for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(t+=X8(n)||Y8(n)?2:1)}return t}var n0=tB,rB={type:0},nB={type:1},LE={value:"",length:0,queue:[],get root(){return LE}};function OE(e,t,r){let n=t.type===1?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,a=0,o=0;for(let D of n)switch(D.type){case 0:c(),r.useTabs?u(1):h(r.tabWidth);break;case 3:{let{string:g}=D;c(),i+=g,s+=g.length;break}case 2:{let{width:g}=D;a+=1,o+=g;break}default:throw new Error(`Unexpected indent comment '${D.type}'.`)}return d(),{...e,value:i,length:s,queue:n};function u(D){i+=" ".repeat(D),s+=r.tabWidth*D}function h(D){i+=" ".repeat(D),s+=D}function c(){r.useTabs?p():d()}function p(){a>0&&u(a),f()}function d(){o>0&&h(o),f()}function f(){a=0,o=0}}function iB(e,t,r){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let n;return typeof t=="number"?t<0?n=nB:n={type:2,width:t}:n={type:3,string:t},OE(e,n,r)}function sB(e,t){return OE(e,rB,t)}function aB(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n===" "||n===" ")t++;else break}return t}function ME(e){let t=aB(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var oB=class{#e=[];#t="";#n=0;#i=[];#r=[];#s(){let e=this.#t;e!==""&&(this.#e.push(e),this.#n+=e.length,this.#t="");for(let t of this.#r)this.#i.push(Math.min(t,this.#n));this.#r.length=0}markPosition(){if(this.#i.length+this.#r.length>=2)throw new Error("There are too many 'cursor' in doc.");this.#r.push(this.#n+this.#t.length)}write(e){this.#t+=e}trim(){let{text:e,count:t}=ME(this.#t);return this.#t=e,this.#s(),t}finish(){return this.#s(),{text:this.#e.join(""),positions:this.#i}}},uB=oB,Nn=Symbol("MODE_BREAK"),yi=Symbol("MODE_FLAT"),G2=Symbol("DOC_FILL_PRINTED_LENGTH");function hf(e,t,r,n,i,s){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,o=!1,u=[e],h="";for(;r>=0;){if(u.length===0){if(a===0)return!0;u.push(t[--a]);continue}let{mode:c,doc:p}=u.pop(),d=ka(p);switch(d){case ba:p&&(o&&(h+=" ",r-=1,o=!1),h+=p,r-=n0(p));break;case Wi:case Ei:{let f=d===Wi?p:p.parts,D=p[G2]??0;for(let g=f.length-1;g>=D;g--)u.push({mode:c,doc:f[g]});break}case Gi:case Ji:case Xi:case Ci:u.push({mode:c,doc:p.contents});break;case Ki:{let{text:f,count:D}=ME(h);h=f,r+=D;break}case Zr:{if(s&&p.break)return!1;let f=p.break?Nn:c,D=p.expandedStates&&f===Nn?wr(0,p.expandedStates,-1):p.contents;u.push({mode:f,doc:D});break}case gn:{let f=(p.groupId?i[p.groupId]||yi:c)===Nn?p.breakContents:p.flatContents;f&&u.push({mode:c,doc:f});break}case _r:if(c===Nn||p.hard)return!0;p.soft||(o=!0);break;case Yi:n=!0;break;case Qi:if(n)return!1;break}}return!1}function Cf(e,t){let r=Object.create(null),n=t.printWidth,i=Q2(t.endOfLine),s=0,a=[{indent:LE,mode:Nn,doc:e}],o=!1,u=[],h=new uB;for(E8(e);a.length>0;){let{indent:D,mode:g,doc:x}=a.pop();switch(ka(x)){case ba:{let A=i!==`
- `?Df(0,x,`
- `,i):x;A&&(h.write(A),a.length>0&&(s+=n0(A)));break}case Wi:for(let A=x.length-1;A>=0;A--)a.push({indent:D,mode:g,doc:x[A]});break;case Is:h.markPosition();break;case Gi:a.push({indent:sB(D,t),mode:g,doc:x.contents});break;case Ji:a.push({indent:iB(D,x.n,t),mode:g,doc:x.contents});break;case Ki:s-=h.trim();break;case Zr:{let A=(function(){if(g===yi&&!o)return{indent:D,mode:x.break?Nn:yi,doc:x.contents};o=!1;let C=n-s,k=u.length>0,P={indent:D,mode:yi,doc:x.contents};if(!x.break&&hf(P,a,C,k,r))return P;if(!x.expandedStates)return{indent:D,mode:Nn,doc:x.contents};if(!x.break)for(let v=1;v<x.expandedStates.length-1;v++){let w={indent:D,mode:yi,doc:x.expandedStates[v]};if(hf(w,a,C,k,r))return w}return{indent:D,mode:Nn,doc:wr(0,x.expandedStates,-1)}})();a.push(A),x.id&&(r[x.id]=A.mode);break}case Ei:{let A=n-s,C=x[G2]??0,{parts:k}=x,P=k.length-C;if(P===0)break;let v=k[C+0],w=k[C+1],I={indent:D,mode:yi,doc:v},O={indent:D,mode:Nn,doc:v},R=hf(I,[],A,u.length>0,r,!0);if(P===1){R?a.push(I):a.push(O);break}let M={indent:D,mode:yi,doc:w},W={indent:D,mode:Nn,doc:w};if(P===2){R?a.push(M,I):a.push(W,O);break}let K=k[C+2],H={indent:D,mode:g,doc:{...x,[G2]:C+2}},Z=hf({indent:D,mode:yi,doc:[v,w,K]},[],A,u.length>0,r,!0);a.push(H),Z?a.push(M,I):R?a.push(W,I):a.push(W,O);break}case gn:case Xi:{let A=x.groupId?r[x.groupId]:g;if(A===Nn){let C=x.type===gn?x.breakContents:x.negate?x.contents:mf(x.contents);C&&a.push({indent:D,mode:g,doc:C})}if(A===yi){let C=x.type===gn?x.flatContents:x.negate?mf(x.contents):x.contents;C&&a.push({indent:D,mode:g,doc:C})}break}case Yi:u.push({indent:D,mode:g,doc:x.contents});break;case Qi:u.length>0&&a.push({indent:D,mode:g,doc:r0});break;case _r:switch(g){case yi:if(!x.hard){x.soft||(h.write(" "),s+=1);break}o=!0;case Nn:if(u.length>0){a.push({indent:D,mode:g,doc:x},...u.reverse()),u.length=0;break}x.literal?(h.write(i),s=0,D.root&&(D.root.value&&h.write(D.root.value),s=D.root.length)):(h.trim(),h.write(i+D.value),s=D.length);break}break;case Ci:a.push({indent:D,mode:g,doc:x.contents});break;case Ln:break;default:throw new Po(x)}a.length===0&&u.length>0&&(a.push(...u.reverse()),u.length=0)}let{text:c,positions:p}=h.finish();if(p.length!==2)return{formatted:c};let[d,f]=p;return{formatted:c,cursorNodeStart:d,cursorNodeText:c.slice(d,f)}}function lB(e,t,r=0){let n=0;for(let i=r;i<e.length;++i)e[i]===" "?n=n+t-n%t:n++;return n}var i0=lB,cB=class{constructor(e){this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return wr(0,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:wr(0,this.stack,-2)}get node(){return wr(0,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=wr(0,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...this.#t()]}getName(){let{stack:e}=this,{length:t}=e;return t>1?wr(0,e,-2):null}getValue(){return wr(0,this.stack,-1)}getNode(e=0){let t=this.#e(e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}#e(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1}call(e,...t){let{stack:r}=this,{length:n}=r,i=wr(0,r,-1);for(let s of t)i=i?.[s],r.push(s,i);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=this.#e(t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,i=wr(0,r,-1);for(let s of t)i=i[s],r.push(s,i);try{for(let s=0;s<i.length;++s)r.push(s,i[s]),e(this,s,i),r.length-=2}finally{r.length=n}}map(e,...t){let r=[];return this.each((n,i,s)=>{r[i]=e(n,i,s)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let i of e){if(n===void 0)return!1;let s=null;if(typeof r=="number"&&(s=r,r=this.stack[t--],n=this.stack[t--]),i&&!i(n,r,s))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of this.#t())if(e(t))return t}hasAncestor(e){for(let t of this.#t())if(e(t))return!0;return!1}*#t(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}}},pB=cB;function hB(e){return Array.isArray(e)&&e.length>0}var RE=hB;function dB(e){return e!==null&&typeof e=="object"}var s0=dB;function Hl(e){return(t,r,n)=>{if(r===!1)return!1;let i=!!n?.backwards,{length:s}=t,a=r;for(;a>=0&&a<s;){let o=t.charAt(a);if(e instanceof RegExp){if(!e.test(o))return a}else if(!e.includes(o))return a;i?a--:a++}return a===-1||a===s?a:!1}}var fB=Hl(/\s/),Ps=Hl(" "),jE=Hl(",; "),qE=Hl(/[^\n\r]/),Xx=e=>e===`
- `||e==="\r"||e==="\u2028"||e==="\u2029";function mB(e,t,r){if(t===!1)return!1;let n=!!r?.backwards,i=e.charAt(t);if(n){if(e.charAt(t-1)==="\r"&&i===`
- `)return t-2;if(Xx(i))return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
- `)return t+2;if(Xx(i))return t+1}return t}var Aa=mB;function DB(e,t,r={}){let n=Ps(e,r.backwards?t-1:t,r),i=Aa(e,n,r);return n!==i}var _s=DB;function*Ff(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,i=s=>s0(s)&&n(s);for(let s of r(e)){let a=e[s];if(Array.isArray(a))for(let o of a)i(o)&&(yield o);else i(a)&&(yield a)}}function*yB(e,t){let r=[e];for(let n=0;n<r.length;n++){let i=r[n];for(let s of Ff(i,t))yield s,r.push(s)}}function gB(e,t){return Ff(e,t).next().done}function xB(e,t,r){let{filter:n}=r;if(!n)return[];let i,s=(r.getChildren?.(e,r)??[...Ff(e,{getVisitorKeys:r.getVisitorKeys})]).flatMap(u=>(i??(i=[e,...t]),n(u,i)?[u]:UE(u,i,r))),{locStart:a,locEnd:o}=r;return s.sort((u,h)=>a(u)-a(h)||o(u)-o(h)),s}function UE(e,t,r){return Z2(r.cache,e,n=>xB(n,t,r))}var VE=UE;function EB(e){let t=e.type||e.kind||"(unknown type)",r=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 r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function a0(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=EB(e)}function Vl(e,t){t.leading=!0,t.trailing=!1,a0(e,t)}function Ea(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),a0(e,t)}function $l(e,t){t.leading=!1,t.trailing=!0,a0(e,t)}var $E=new WeakMap;function zE(e,t,r,n,i=[]){let{locStart:s,locEnd:a}=r,o=s(t),u=a(t),h=VE(e,i,{cache:$E,locStart:s,locEnd:a,getVisitorKeys:r.getVisitorKeys,filter:r.printer.canAttachComment,getChildren:r.printer.getCommentChildNodes}),c,p,d=0,f=h.length;for(;d<f;){let D=d+f>>1,g=h[D],x=s(g),A=a(g);if(x<=o&&u<=A)return zE(g,t,r,g,[g,...i]);if(A<=o){c=g,d=D+1;continue}if(u<=x){p=g,f=D;continue}throw new Error("Comment location overlaps with node location")}if(n?.type==="TemplateLiteral"){let{quasis:D}=n,g=U2(D,t,r);c&&U2(D,c,r)!==g&&(c=null),p&&U2(D,p,r)!==g&&(p=null)}return{enclosingNode:n,precedingNode:c,followingNode:p}}var q2=()=>!1;function CB(e,t){let{comments:r}=e;if(delete e.comments,!RE(r)||!t.printer.canAttachComment)return;let n=[],{printer:{features:{experimental_avoidAstMutation:i},handleComments:s={}},originalText:a}=t,{ownLine:o=q2,endOfLine:u=q2,remaining:h=q2}=s,c=r.map((d,f)=>({...zE(e,d,t),comment:d,text:a,options:t,ast:e,isLastComment:r.length-1===f,placement:void 0})),p=!i;for(let[d,f]of c.entries()){let{comment:D,precedingNode:g,enclosingNode:x,followingNode:A,text:C,options:k,ast:P,isLastComment:v}=f,w=FB(C,k,c,d)?"ownLine":AB(C,k,c,d)?"endOfLine":"remaining",I;if(i?(f.placement=w,I=[f]):I=[D,C,k,P,v],p&&(D.enclosingNode=x,D.precedingNode=g,D.followingNode=A),D.placement=w,w==="ownLine")o(...I)||(A?Vl(A,D):g?$l(g,D):Ea(x||P,D));else if(w==="endOfLine")u(...I)||(g?$l(g,D):A?Vl(A,D):Ea(x||P,D));else if(!h(...I))if(g&&A){let O=n.length;O>0&&n[O-1].followingNode!==A&&Yx(n,k),n.push(f)}else g?$l(g,D):A?Vl(A,D):Ea(x||P,D)}if(Yx(n,t),p)for(let d of r)delete d.precedingNode,delete d.enclosingNode,delete d.followingNode}var HE=e=>!/[\S\n\u2028\u2029]/.test(e);function FB(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:a,locEnd:o}=t,u=a(i);if(s)for(let h=n-1;h>=0;h--){let{comment:c,precedingNode:p}=r[h];if(p!==s||!HE(e.slice(o(c),u)))break;u=a(c)}return _s(e,u,{backwards:!0})}function AB(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:a,locEnd:o}=t,u=o(i);if(s)for(let h=n+1;h<r.length;h++){let{comment:c,followingNode:p}=r[h];if(p!==s||!HE(e.slice(u,a(c))))break;u=o(c)}return _s(e,u)}function Yx(e,t){let r=e.length;if(r===0)return;let{precedingNode:n,followingNode:i}=e[0],s=t.locStart(i),a;for(a=r;a>0;--a){let{comment:o,precedingNode:u,followingNode:h}=e[a-1];Bs(u,n),Bs(h,i);let c=t.originalText.slice(t.locEnd(o),s);if(t.printer.isGap?.(c,t)??/^[\s(]*$/.test(c))s=t.locStart(o);else break}for(let[o,{comment:u}]of e.entries())o<a?$l(n,u):Vl(i,u);for(let o of[n,i])o.comments&&o.comments.length>1&&o.comments.sort((u,h)=>t.locStart(u)-t.locStart(h));e.length=0}function U2(e,t,r){let n=r.locStart(t)-1;for(let i=1;i<e.length;++i)if(n<r.locStart(e[i]))return i-1;return 0}function bB(e,t){let r=t-1;r=Ps(e,r,{backwards:!0}),r=Aa(e,r,{backwards:!0}),r=Ps(e,r,{backwards:!0});let n=Aa(e,r,{backwards:!0});return r!==n}var o0=bB,WE=()=>!0;function GE(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function kB(e,t){let r=e.node,n=[GE(e,t)],{printer:i,originalText:s,locStart:a,locEnd:o}=t;if(i.isBlockComment?.(r)){let h=" ";_s(s,o(r))&&(_s(s,a(r),{backwards:!0})?h=Hi:h=_E),n.push(h)}else n.push(Hi);let u=Aa(s,Ps(s,o(r)));return u!==!1&&_s(s,u)&&n.push(Hi),n}function TB(e,t,r){let n=e.node,i=GE(e,t),{printer:s,originalText:a,locStart:o}=t,u=s.isBlockComment?.(n);if(r?.hasLineSuffix&&!r?.isBlock||_s(a,o(n),{backwards:!0})){let h=o0(a,o(n));return{doc:W2([Hi,h?Hi:"",i]),isBlock:u,hasLineSuffix:!0}}return!u||r?.hasLineSuffix?{doc:[W2([" ",i]),Ef],isBlock:u,hasLineSuffix:!0}:{doc:[" ",i],isBlock:u,hasLineSuffix:!1}}function vB(e,t,r){let n=t[Symbol.for("printedComments")],i=r?.filter??WE,s=new Set(e.node?.comments?.filter(a=>!n?.has(a)&&a.leading&&i(a)));return s.size===0?"":e.map(({node:a})=>s.has(a)?kB(e,t):"","comments").filter(Boolean)}function SB(e,t,r){let n=e.node?.comments,i=new Set(n?.filter(c=>c.trailing)),s=t[Symbol.for("printedComments")],a=r?.filter??WE,o=new Set(n?.filter(c=>i.has(c)&&!s?.has(c)&&a(c)));if(o.size===0)return"";let u=[],h;return e.each(({node:c})=>{i.has(c)&&(h=TB(e,t,h),o.has(c)&&u.push(h.doc))},"comments"),u}function wB(e,t,r,n){let i=vB(e,r,n),s=SB(e,r,n);return i||s?df(t,a=>[i,a,s]):t}function _B(e){let{[gf]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}var BB=()=>Bs,JE=class extends Error{name="ConfigError"},Qx=class extends Error{name="UndefinedParserError"},PB=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),Af=PB,IB={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 KE({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(i=>i.languages??[]),n=[];for(let i of LB(Object.assign({},...e.map(({options:s})=>s),IB)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(s=>!s.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...NB(i.choices,r,e)])),i.pluginDefaults=Object.fromEntries(e.filter(s=>s.defaultOptions?.[i.name]!==void 0).map(s=>[s.name,s.defaultOptions[i.name]])),n.push(i));return{languages:r,options:n}}function*NB(e,t,r){let n=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let s of i.parsers)if(!n.has(s)){n.add(s);let a=r.find(u=>u.parsers&&Af(u.parsers,s)),o=i.name;a?.name&&(o+=` (plugin: ${a.name})`),yield{value:s,description:o}}}}function LB(e){let t=[];for(let[r,n]of Object.entries(e)){let i={name:r,...n};Array.isArray(i.default)&&(i.default=wr(0,i.default,-1).value),t.push(i)}return t}var OB=Array.prototype.toReversed??function(){return[...this].reverse()},MB=zl("toReversed",function(){if(Array.isArray(this))return OB}),RB=MB;function jB(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var qB=jB();function XE(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 UB(e){return e=XE(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function VB(e){e=XE(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 $B(e){return qB?VB(e):UB(e)}var zB=e=>String(e).split(/[/\\]/).pop(),HB=e=>String(e).startsWith("file:");function Zx(e,t){if(!t)return;let r=zB(t).toLowerCase();return e.find(({filenames:n})=>n?.some(i=>i.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(i=>r.endsWith(i)))}function WB(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var GB=void 0;function eE(e,t){if(t){if(HB(t))try{t=$B(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function JB(e,t){let r=RB(0,e.plugins).flatMap(n=>n.languages??[]);return(WB(r,t.language)??Zx(r,t.physicalFile)??Zx(r,t.file)??eE(r,t.physicalFile)??eE(r,t.file)??GB?.(r,t.physicalFile))?.parsers[0]}var YE=JB,Bo={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(r=>Bo.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Bo.key(r)}: ${Bo.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Bo.value({[e]:t})},QE=new Proxy(String,{get:()=>QE}),gi=QE,KB=(e,t,{descriptor:r})=>{let n=[`${gi.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${gi.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},ZE=Symbol.for("vnopts.VALUE_NOT_EXIST"),ff=Symbol.for("vnopts.VALUE_UNCHANGED"),tE=" ".repeat(2),XB=(e,t,r)=>{let{text:n,list:i}=r.normalizeExpectedResult(r.schemas[e].expected(r)),s=[];return n&&s.push(rE(e,t,n,r.descriptor)),i&&s.push([rE(e,t,i.title,r.descriptor)].concat(i.values.map(a=>eC(a,r.loggerPrintWidth))).join(`
- `)),tC(s,r.loggerPrintWidth)};function rE(e,t,r,n){return[`Invalid ${gi.red(n.key(e))} value.`,`Expected ${gi.blue(r)},`,`but received ${t===ZE?gi.gray("nothing"):gi.red(n.value(t))}.`].join(" ")}function eC({text:e,list:t},r){let n=[];return e&&n.push(`- ${gi.blue(e)}`),t&&n.push([`- ${gi.blue(t.title)}:`].concat(t.values.map(i=>eC(i,r-tE.length).replace(/^|\n/g,`$&${tE}`))).join(`
- `)),tC(n,r)}function tC(e,t){if(e.length===1)return e[0];let[r,n]=e,[i,s]=e.map(a=>a.split(`
- `,1)[0].length);return i>t&&i>s?n:r}var _o=[],V2=[];function $2(e,t,r){if(e===t)return 0;let n=r?.maxDistance,i=e;e.length>t.length&&(e=t,t=i);let s=e.length,a=t.length;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-a);)s--,a--;let o=0;for(;o<s&&e.charCodeAt(o)===t.charCodeAt(o);)o++;if(s-=o,a-=o,n!==void 0&&a-s>n)return n;if(s===0)return n!==void 0&&a>n?n:a;let u,h,c,p,d=0,f=0;for(;d<s;)V2[d]=e.charCodeAt(o+d),_o[d]=++d;for(;f<a;){for(u=t.charCodeAt(o+f),c=f++,h=f,d=0;d<s;d++)p=u===V2[d]?c:c+1,c=_o[d],h=_o[d]=c>h?p>h?h+1:p:p>c?c+1:p;if(n!==void 0){let D=h;for(d=0;d<s;d++)_o[d]<D&&(D=_o[d]);if(D>n)return n}}return _o.length=s,V2.length=s,n!==void 0&&h>n?n:h}function YB(e,t,r){if(!Array.isArray(t)||t.length===0)return;let n=r?.maxDistance,i=e.length;for(let u of t)if(u===e)return u;if(n===0)return;let s,a=Number.POSITIVE_INFINITY,o=new Set;for(let u of t){if(o.has(u))continue;o.add(u);let h=Math.abs(u.length-i);if(h>=a||n!==void 0&&h>n)continue;let c=Number.isFinite(a)?n===void 0?a:Math.min(a,n):n,p=c===void 0?$2(e,u):$2(e,u,{maxDistance:c});if(n!==void 0&&p>n)continue;let d=p;if(c!==void 0&&p===c&&c===n&&(d=$2(e,u)),d<a&&(a=d,s=u,a===0))break}if(!(n!==void 0&&a>n))return s}var rC=(e,t,{descriptor:r,logger:n,schemas:i})=>{let s=[`Ignored unknown option ${gi.yellow(r.pair({key:e,value:t}))}.`],a=YB(e,Object.keys(i),{maxDistance:3});a&&s.push(`Did you mean ${gi.blue(r.key(a))}?`),n.warn(s.join(" "))},QB=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function ZB(e,t){let r=new e(t),n=Object.create(r);for(let i of QB)i in t&&(n[i]=e6(t[i],r,Ns.prototype[i].length));return n}var Ns=class{static create(e){return ZB(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return ff}};function e6(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var t6=class extends Ns{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},r6=class extends Ns{expected(){return"anything"}validate(){return!0}},n6=class extends Ns{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let i=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);i!==!0&&r.push(i.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);i!==!1&&r.push(...i.map(({value:s})=>({value:[s]})))}return r}forward(e,t){let r=[];for(let n of e){let i=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...i.map(nE))}return r}redirect(e,t){let r=[],n=[];for(let i of e){let s=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in s&&r.push(s.remain),n.push(...s.redirect.map(nE))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function nE({from:e,to:t}){return{from:[e],to:t}}var i6=class extends Ns{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function s6(e,t){let r=Object.create(null);for(let n of e){let i=n[t];if(r[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r[i]=n}return r}function a6(e,t){let r=new Map;for(let n of e){let i=n[t];if(r.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);r.set(i,n)}return r}function o6(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function u6(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}function l6(e){return e===Math.floor(e)}function c6(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function p6(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function iE(e){return e===void 0?{}:e}function nC(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return h6((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(nC)}}:{text:t}}function sE(e,t){return e===!0?!0:e===!1?{value:t}:e}function aE(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function oE(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 J2(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>oE(r,t)):[oE(e,t)]}function uE(e,t){let r=J2(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function h6(e,t){if(!e)throw new Error(t)}var d6=class extends Ns{constructor(e){super(e),this._choices=a6(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(c6).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},f6=class extends Ns{expected(){return"a number"}validate(e,t){return typeof e=="number"}},m6=class extends f6{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&l6(e)}},lE=class extends Ns{expected(){return"a string"}validate(e){return typeof e=="string"}},D6=Bo,y6=rC,g6=XB,x6=KB,E6=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:i=D6,unknown:s=y6,invalid:a=g6,deprecated:o=x6,missing:u=()=>!1,required:h=()=>!1,preprocess:c=d=>d,postprocess:p=()=>ff}=t||{};this._utils={descriptor:i,logger:r||{warn:()=>{}},loggerPrintWidth:n,schemas:s6(e,"name"),normalizeDefaultResult:iE,normalizeExpectedResult:nC,normalizeDeprecatedResult:aE,normalizeForwardResult:J2,normalizeRedirectResult:uE,normalizeValidateResult:sE},this._unknownHandler=s,this._invalidHandler=p6(a),this._deprecatedHandler=o,this._identifyMissing=(d,f)=>!(d in f)||u(d,f),this._identifyRequired=h,this._preprocess=c,this._postprocess=p,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=o6()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=()=>{for(;r.length!==0;){let i=r.shift(),s=this._applyNormalization(i,t);r.push(...s)}};n();for(let i of Object.keys(this._utils.schemas)){let s=this._utils.schemas[i];if(!(i in t)){let a=iE(s.default(this._utils));"value"in a&&r.push({[i]:a.value})}}n();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let s=this._utils.schemas[i],a=t[i],o=s.postprocess(a,this._utils);o!==ff&&(this._applyValidation(o,i,s),t[i]=o)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:i}=this._partitionOptionKeys(e);for(let s of n){let a=this._utils.schemas[s],o=a.preprocess(e[s],this._utils);this._applyValidation(o,s,a);let u=({from:p,to:d})=>{r.push(typeof d=="string"?{[d]:p}:{[d.key]:d.value})},h=({value:p,redirectTo:d})=>{let f=aE(a.deprecated(p,this._utils),o,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,d,this._utils));else for(let{value:D}of f){let g={key:s,value:D};if(!this._hasDeprecationWarned(g)){let x=typeof d=="string"?{key:d,value:D}:d;this._utils.logger.warn(this._deprecatedHandler(g,x,this._utils))}}};J2(a.forward(o,this._utils),o).forEach(u);let c=uE(a.redirect(o,this._utils),o);if(c.redirect.forEach(u),"remain"in c){let p=c.remain;t[s]=s in t?a.overlap(t[s],p,this._utils):p,h({value:p})}for(let{from:p,to:d}of c.redirect)h({value:p,redirectTo:d})}for(let s of i){let a=e[s];this._applyUnknownHandler(s,a,t,(o,u)=>{r.push({[o]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,ZE,this._utils)}_partitionOptionKeys(e){let[t,r]=u6(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=sE(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let i=this._unknownHandler(e,t,this._utils);if(i)for(let s of Object.keys(i)){if(this._identifyMissing(s,i))continue;let a=i[s];s in this._utils.schemas?n(s,a):r[s]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==ff){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let i of r){let s=t.override[i];this._applyValidation(s,i,this._utils.schemas[i]),e[i]=s}for(let i of n){let s=t.override[i];this._applyUnknownHandler(i,s,e,(a,o)=>{let u=this._utils.schemas[a];this._applyValidation(o,a,u),e[a]=o})}}}}},z2;function C6(e,t,{logger:r=!1,isCLI:n=!1,passThrough:i=!1,FlagSchema:s,descriptor:a}={}){if(n){if(!s)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=Bo;let o=i?Array.isArray(i)?(d,f)=>i.includes(d)?{[d]:f}:void 0:(d,f)=>({[d]:f}):(d,f,D)=>{let{_:g,...x}=D.schemas;return rC(d,f,{...D,schemas:x})},u=F6(t,{isCLI:n,FlagSchema:s}),h=new E6(u,{logger:r,unknown:o,descriptor:a}),c=r!==!1;c&&z2&&(h._hasDeprecationWarned=z2);let p=h.normalize(e);return c&&(z2=h._hasDeprecationWarned),p}function F6(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(r6.create({name:"_"}));for(let i of e)n.push(A6(i,{isCLI:t,optionInfos:e,FlagSchema:r})),i.alias&&t&&n.push(t6.create({name:i.alias,sourceName:i.name}));return n}function A6(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:i}=e,s={name:i},a,o={};switch(e.type){case"int":a=m6,t&&(s.preprocess=Number);break;case"string":a=lE;break;case"choice":a=d6,s.choices=e.choices.map(u=>u?.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":a=i6;break;case"flag":a=n,s.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":a=lE;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?s.validate=(u,h,c)=>e.exception(u)||h.validate(u,c):s.validate=(u,h,c)=>u===void 0||h.validate(u,c),e.redirect&&(o.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){let u=s.preprocess||(h=>h);s.preprocess=(h,c,p)=>c.preprocess(u(Array.isArray(h)?wr(0,h,-1):h),p)}return e.array?n6.create({...t?{preprocess:u=>Array.isArray(u)?u:[u]}:{},...o,valueSchema:a.create(s)}):a.create({...s,...o})}var b6=C6,k6=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let r=this[t];if(e(r,t,this))return r}},T6=zl("findLast",function(){if(Array.isArray(this))return k6}),iC=T6,v6=Symbol.for("PRETTIER_IS_FRONT_MATTER"),S6=[];function w6(e){return!!e?.[v6]}var u0=w6,sC=new Set(["yaml","toml"]),aC=({node:e})=>u0(e)&&sC.has(e.language);async function _6(e,t,r,n){let{node:i}=r,{language:s}=i;if(!sC.has(s))return;let a=i.value.trim(),o;if(a){let u=s==="yaml"?s:YE(n,{language:s});if(!u)return;o=a?await e(a,{parser:u}):""}else o=a;return TE([i.startDelimiter,i.explicitLanguage??"",Hi,o,o?Hi:"",i.endDelimiter])}function B6(e,t){return aC({node:e})&&(delete t.end,delete t.raw,delete t.value),t}var P6=B6;function I6({node:e}){return e.raw}var N6=I6,oC=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),L6=e=>Object.keys(e).filter(t=>!oC.has(t));function O6(e,t){let r=e?n=>e(n,oC):L6;return t?new Proxy(r,{apply:(n,i,s)=>u0(s[0])?S6:Reflect.apply(n,i,s)}):r}var cE=O6;function uC(e,t){if(!t)throw new Error("parserName is required.");let r=iC(0,e,i=>i.parsers&&Af(i.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new JE(n)}function M6(e,t){if(!t)throw new Error("astFormat is required.");let r=iC(0,e,i=>i.printers&&Af(i.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new JE(n)}function l0({plugins:e,parser:t}){let r=uC(e,t);return lC(r,t)}function lC(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}async function R6(e,t){let r=e.printers[t],n=typeof r=="function"?await r():r;return U6(n)}function j6(e){let{features:t,getVisitorKeys:r,embed:n,massageAstNode:i,print:s,...a}=e;t=H6(t);let o=t.experimental_frontMatterSupport;r=cE(r,o.massageAstNode||o.embed||o.print);let u=i;i&&o.massageAstNode&&(u=new Proxy(i,{apply(p,d,f){return P6(...f),Reflect.apply(p,d,f)}}));let h=n;if(n){let p;h=new Proxy(n,{get(d,f,D){return f==="getVisitorKeys"?(p??(p=n.getVisitorKeys?cE(n.getVisitorKeys,o.massageAstNode||o.embed):r),p):Reflect.get(d,f,D)},apply:(d,f,D)=>o.embed&&aC(...D)?_6:Reflect.apply(d,f,D)})}let c=s;return o.print&&(c=new Proxy(s,{apply(p,d,f){let[D]=f;return u0(D.node)?N6(D):Reflect.apply(p,d,f)}})),{features:t,getVisitorKeys:r,embed:h,massageAstNode:u,print:c,...a}}var q6=new WeakMap;function U6(e){return Z2(q6,e,j6)}var V6=["clean","embed","print"],$6=Object.fromEntries(V6.map(e=>[e,!1]));function z6(e){return{...$6,...e}}function H6(e){return{experimental_avoidAstMutation:!1,...e,experimental_frontMatterSupport:z6(e?.experimental_frontMatterSupport)}}var pE={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};async function W6(e,t={}){let r={...e};if(!r.parser){if(!r.filepath)throw new Qx("No parser and no file path given, couldn't infer a parser.");if(r.parser=YE(r,{physicalFile:r.filepath}),!r.parser)throw new Qx(`No parser could be inferred for file "${r.filepath}".`)}let n=KE({plugins:e.plugins,showDeprecated:!0}).options,i={...pE,...Object.fromEntries(n.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},s=uC(r.plugins,r.parser),a=await lC(s,r.parser);r.astFormat=a.astFormat,r.locEnd=a.locEnd,r.locStart=a.locStart;let o=s.printers?.[a.astFormat]?s:M6(r.plugins,a.astFormat),u=await R6(o,a.astFormat);r.printer=u,r.getVisitorKeys=u.getVisitorKeys;let h=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,p])=>p!==void 0)):{},c={...i,...h};for(let[p,d]of Object.entries(c))r[p]??(r[p]=d);return r.parser==="json"&&(r.trailingComma="none"),b6(r,n,{passThrough:Object.keys(pE),...t})}var No=W6,hE=/\r\n|[\n\r\u2028\u2029]/;function G6(e,t,r,n){let i={column:null,line:-1,...e.start},s={...i,...e.end},{linesAbove:a=2,linesBelow:o=3}=r||{},u=i.line-n,h=i.column,c=s.line-n,p=s.column,d=Math.max(u-(a+1),0),f=Math.min(t.length,c+o);u===-1&&(d=0),c===-1&&(f=t.length);let D=c-u,g={};if(D)for(let x=0;x<=D;x++){let A=x+u;if(h==null)g[A]=!0;else if(x===0){let C=t[A-1].length;g[A]=[h,C-h]}else if(x===D)g[A]=[0,p];else{let C=t[A-1].length;g[A]=[0,C]}}else if(h===p)h!=null?g[u]=[h,0]:g[u]=!0;else{let x=h??0,A=p??x;g[u]=[x,A-x]}return{start:d,end:f,markerLines:g}}function J6(e,t,r={},n){let{defs:i,highlight:s}=n||{defs:{gutter:String,marker:String,message:String,reset:String},highlight:String},a=(r.startLine||1)-1,o=e.split(hE),{start:u,end:h,markerLines:c}=G6(t,o,r,a),p=t.start&&typeof t.start.column=="number",d=String(h+a).length,f=s(e).split(hE,h).slice(u,h).map((D,g)=>{let x=u+1+g,A=` ${` ${x+a}`.slice(-d)} |`,C=c[x],k=!c[x+1];if(C){let P="";if(Array.isArray(C)){let v=D.slice(0,C[0]).replace(/[^\t]/g," "),w=C[1]||1;P=[`
- `,i.gutter(A.replace(/\d/g," "))," ",v,i.marker("^").repeat(w)].join(""),k&&r.message&&(P+=" "+i.message(r.message))}return[i.marker(">"),i.gutter(A),D.length>0?` ${D}`:"",P].join("")}else return` ${i.gutter(A)}${D.length>0?` ${D}`:""}`}).join(`
- `);return r.message&&!p&&(f=`${" ".repeat(d+1)}${r.message}
- ${f}`),i.reset(f)}function K6(e,t,r={}){return J6(e,t,r)}async function X6(e,t){let r=await l0(t),n=r.preprocess?await r.preprocess(e,t):e;t.originalText=n;let i;try{i=await r.parse(n,t,t)}catch(s){Y6(s,e)}return{text:n,ast:i}}function Y6(e,t){let{loc:r}=e;if(r){let{start:n,end:i}=r;n&&(n={line:n.line,column:n.column-1}),i&&(i={line:i.line,column:i.column-1});let s=K6(t,{start:n,end:i},{highlightCode:!0});e.message+=`
- `+s,e.codeFrame=s}throw e}var Wl=X6;async function Q6(e,t,r,n,i){if(r.embeddedLanguageFormatting!=="auto")return;let{printer:s}=r,{embed:a}=s;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:o}=s,{getVisitorKeys:u}=a,h=[];d();let c=e.stack;for(let{print:f,node:D,pathStack:g}of h)try{e.stack=g;let x=await f(p,t,e,r);x&&i.set(D,x)}catch(x){if(globalThis.PRETTIER_DEBUG)throw x}e.stack=c;function p(f,D){return Z6(f,D,r,n)}function d(){let{node:f}=e;if(f===null||typeof f!="object"||o?.(e))return;for(let g of u(f))Array.isArray(f[g])?e.each(d,g):e.call(d,g);let D=a(e,r);if(D){if(typeof D=="function"){h.push({print:D,node:f,pathStack:[...e.stack]});return}i.set(f,D)}}}async function Z6(e,t,r,n){let i=await No({...r,...t,parentParser:r.parser,originalText:e,cursorOffset:void 0,rangeStart:void 0,rangeEnd:void 0},{passThrough:!0}),{ast:s}=await Wl(e,i),a=await n(s,i);return bE(a)}function e9(e,t,r,n){let{originalText:i,[gf]:s,locStart:a,locEnd:o,[Symbol.for("printedComments")]:u}=t,{node:h}=e,c=a(h),p=o(h);for(let f of s)a(f)>=c&&o(f)<=p&&u.add(f);let{printPrettierIgnored:d}=t.printer;return d?d(e,t,r,n):i.slice(c,p)}var t9=e9;async function bf(e,t){({ast:e}=await cC(e,t));let r=new Map,n=new pB(e),i=BB(t),s=new Map;await Q6(n,o,t,bf,s);let a=await dE(n,t,o,void 0,s);if(_B(t),t.cursorOffset>=0){if(t.nodeAfterCursor&&!t.nodeBeforeCursor)return[Fa,a];if(t.nodeBeforeCursor&&!t.nodeAfterCursor)return[a,Fa]}return a;function o(h,c){return h===void 0||h===n?u(c):Array.isArray(h)?n.call(()=>u(c),...h):n.call(()=>u(c),h)}function u(h){i(n);let c=n.node;if(c==null)return"";let p=s0(c)&&h===void 0;if(p&&r.has(c))return r.get(c);let d=dE(n,t,o,h,s);return p&&r.set(c,d),d}}function dE(e,t,r,n,i){let{node:s}=e,{printer:a}=t,o;switch(a.hasPrettierIgnore?.(e)?o=t9(e,t,r,n):i.has(s)?o=i.get(s):o=a.print(e,t,r,n),s){case t.cursorNode:o=df(o,u=>[Fa,u,Fa]);break;case t.nodeBeforeCursor:o=df(o,u=>[u,Fa]);break;case t.nodeAfterCursor:o=df(o,u=>[Fa,u]);break}return a.printComment&&RE(s.comments)&&!a.willPrintOwnComments?.(e,t)&&(o=wB(e,o,t)),o}async function cC(e,t){let r=e.comments??[];t[gf]=r,t[Symbol.for("printedComments")]=new Set,CB(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function r9(e,t){let{cursorOffset:r,locStart:n,locEnd:i,getVisitorKeys:s}=t,a=f=>n(f)<=r&&i(f)>=r,o=e,u=[e];for(let f of yB(e,{getVisitorKeys:s,filter:a}))u.push(f),o=f;if(gB(o,{getVisitorKeys:s}))return{cursorNode:o};let h,c,p=-1,d=Number.POSITIVE_INFINITY;for(;u.length>0&&(h===void 0||c===void 0);){o=u.pop();let f=h!==void 0,D=c!==void 0;for(let g of Ff(o,{getVisitorKeys:s})){if(!f){let x=i(g);x<=r&&x>p&&(h=g,p=x)}if(!D){let x=n(g);x>=r&&x<d&&(c=g,d=x)}}}return{nodeBeforeCursor:h,nodeAfterCursor:c}}var pC=r9;function n9(e,t){let{printer:r}=t,n=r.massageAstNode;if(!n)return e;let{getVisitorKeys:i}=r,{ignoredProperties:s}=n;return a(e);function a(o,u){if(!s0(o))return o;if(Array.isArray(o))return o.map(d=>a(d,u)).filter(Boolean);let h={},c=new Set(i(o));for(let d in o)!Af(o,d)||s?.has(d)||(c.has(d)?h[d]=a(o[d],o):h[d]=o[d]);let p=n(o,h,u);if(p!==null)return p??h}}var i9=n9,s9=Array.prototype.findLastIndex??function(e){for(let t=this.length-1;t>=0;t--){let r=this[t];if(e(r,t,this))return t}return-1},a9=zl("findLastIndex",function(){if(Array.isArray(this))return s9}),o9=a9;function u9(e,t){return t=new Set(t),e.find(r=>hC.has(r.type)&&t.has(r))}function fE(e){let t=o9(0,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function l9(e,t,{locStart:r,locEnd:n}){let[i,...s]=e,[a,...o]=t;if(i===a)return[i,a];let u=r(i);for(let c of fE(o))if(r(c)>=u)a=c;else break;let h=n(a);for(let c of fE(s)){if(n(c)<=h)i=c;else break;if(i===a)break}return[i,a]}function K2(e,t,r,n,i=[],s,a){let{locStart:o,locEnd:u}=a,h=o(e),c=u(e);if(t>c||t<h||s==="rangeEnd"&&t===h||s==="rangeStart"&&t===c)return;let p=[e,...i],d=VE(e,p,{cache:$E,locStart:o,locEnd:u,getVisitorKeys:r.getVisitorKeys,filter:r.printer.canAttachComment,getChildren:r.printer.getCommentChildNodes});for(let f of d){let D=K2(f,t,r,n,p,s,a);if(D)return D}if(n(e,i[0]))return p}function c9(e,t){return t!=="DeclareExportDeclaration"&&e!=="TypeParameterDeclaration"&&(e==="Directive"||e==="TypeAlias"||e==="TSExportAssignment"||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}var hC=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),p9=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function mE(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"hermes":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"oxc":case"oxc-ts":case"yuku":case"yuku-ts":case"__babel_estree":return c9(t.type,r?.type);case"json":case"json5":case"jsonc":case"json-stringify":return hC.has(t.type);case"graphql":return p9.has(t.kind);case"vue":return t.tag!=="root"}return!1}function h9(e,t,r){let{rangeStart:n,rangeEnd:i}=t;Bs(i>n);let s=e.slice(n,i).search(/\S/),a=s===-1;if(!a)for(n+=s;i>n&&!/\S/.test(e[i-1]);--i);let o=t.printer.features?.experimental_locForRangeFormat??t,u=K2(r,n,t,(D,g)=>mE(t,D,g),[],"rangeStart",o);if(!u)return;let h=a?u:K2(r,i,t,D=>mE(t,D),[],"rangeEnd",o);if(!h)return;let c,p;if(r.type==="JsonRoot"){let D=u9(u,h);c=D,p=D}else[c,p]=l9(u,h,t);let{locStart:d,locEnd:f}=o;return[Math.min(d(c),d(p)),Math.max(f(c),f(p))]}var dC="\uFEFF",DE=Symbol("cursor");async function fC(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:i}=await Wl(e,t);t.cursorOffset>=0&&(t={...t,...pC(n,t)});let s=await bf(n,t,r);r>0&&(s=vE([Hi,s],r,t.tabWidth));let a=Cf(s,t);if(r>0){let u=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(u),a.cursorNodeStart<0&&(a.cursorNodeStart=0,a.cursorNodeText=a.cursorNodeText.trimStart()),a.cursorNodeStart+a.cursorNodeText.length>u.length&&(a.cursorNodeText=a.cursorNodeText.trimEnd())),a.formatted=u+Q2(t.endOfLine)}let o=t[gf];if(t.cursorOffset>=0){let u,h,c,p;if((t.cursorNode||t.nodeBeforeCursor||t.nodeAfterCursor)&&a.cursorNodeText)if(c=a.cursorNodeStart,p=a.cursorNodeText,t.cursorNode)u=t.locStart(t.cursorNode),h=i.slice(u,t.locEnd(t.cursorNode));else{if(!t.nodeBeforeCursor&&!t.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");u=t.nodeBeforeCursor?t.locEnd(t.nodeBeforeCursor):0;let A=t.nodeAfterCursor?t.locStart(t.nodeAfterCursor):i.length;h=i.slice(u,A)}else u=0,h=i,c=0,p=a.formatted;let d=t.cursorOffset-u;if(h===p)return{formatted:a.formatted,cursorOffset:c+d,comments:o};let f=h.split("");f.splice(d,0,DE);let D=p.split(""),g=t8(f,D),x=c;for(let A of g)if(A.removed){if(A.value.includes(DE))break}else x+=A.count;return{formatted:a.formatted,cursorOffset:x,comments:o}}return{formatted:a.formatted,cursorOffset:-1,comments:o}}async function d9(e,t){let{ast:r,text:n}=await Wl(e,t),[i,s]=h9(n,t,r)??[0,0],a=n.slice(i,s),o=Math.min(i,n.lastIndexOf(`
- `,i)+1),u=n.slice(o,i).match(/^\s*/)[0],h=i0(u,t.tabWidth),c=await fC(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=s?t.cursorOffset-i:-1,endOfLine:"lf"},h),p=c.formatted.trimEnd(),{cursorOffset:d}=t;d>s?d+=p.length-a.length:c.cursorOffset>=0&&(d=c.cursorOffset+i);let f=n.slice(0,i)+p+n.slice(s);if(t.endOfLine!=="lf"){let D=Q2(t.endOfLine);d>=0&&D===`\r
- `&&(d+=FE(f.slice(0,d),`
- `)),f=Df(0,f,`
- `,D)}return{formatted:f,cursorOffset:d,comments:c.comments}}function H2(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function yE(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=H2(e,r,-1),n=H2(e,n,0),i=H2(e,i,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:i}}function mC(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=yE(e,t),a=e.charAt(0)===dC;if(a&&(e=e.slice(1),r--,n--,i--),s==="auto"&&(s=a8(e)),e.includes("\r")){let o=u=>FE(e.slice(0,Math.max(u,0)),`\r
- `);r-=o(r),n-=o(n),i-=o(i),e=l8(e)}return{hasBOM:a,text:e,options:yE(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s})}}async function gE(e,t){let r=await l0(t);return!r.hasPragma||r.hasPragma(e)}async function f9(e,t){return(await l0(t)).hasIgnorePragma?.(e)}async function DC(e,t){let{hasBOM:r,text:n,options:i}=mC(e,await No(t));if(i.rangeStart>=i.rangeEnd&&n!==""||i.requirePragma&&!await gE(n,i)||i.checkIgnorePragma&&await f9(n,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let s;return i.rangeStart>0||i.rangeEnd<n.length?s=await d9(n,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!await gE(n,i)&&(n=i.printer.insertPragma(n)),s=await fC(n,i)),r&&(s.formatted=dC+s.formatted,s.cursorOffset>=0&&s.cursorOffset++),s}async function m9(e,t,r){let{text:n,options:i}=mC(e,await No(t)),s=await Wl(n,i);return r&&(r.preprocessForPrint&&(s.ast=await cC(s.ast,i)),r.massage&&(s.ast=i9(s.ast,i))),s}async function D9(e,t){t=await No(t);let r=await bf(e,t);return Cf(r,t)}async function y9(e,t){let r=q8(e),{formatted:n}=await DC(r,{...t,parser:"__js_expression"});return n}async function g9(e,t){t=await No(t);let{ast:r}=await Wl(e,t);return t.cursorOffset>=0&&(t={...t,...pC(r,t)}),bf(r,t)}async function x9(e,t){return Cf(e,await No(t))}var yC={};X2(yC,{builders:()=>E9,printer:()=>C9,utils:()=>F9});var E9={join:wE,line:_E,softline:M8,hardline:Hi,literalline:PE,group:SE,conditionalGroup:I8,fill:P8,lineSuffix:W2,lineSuffixBoundary:R8,cursor:Fa,breakParent:Ef,ifBreak:N8,trim:j8,indent:mf,indentIfBreak:L8,align:Io,addAlignmentToDoc:vE,markAsRoot:TE,dedentToRoot:_8,dedent:B8,hardlineWithoutBreakParent:r0,literallineWithoutBreakParent:BE,label:O8,concat:e=>e},C9={printDocToString:Cf},F9={willBreak:x8,traverseDoc:e0,findInDoc:t0,mapDoc:xf,removeLines:F8,stripTrailingHardline:bE,replaceEndOfLine:k8,canBreak:v8},A9="3.9.9",gC={};X2(gC,{addDanglingComment:()=>Ea,addLeadingComment:()=>Vl,addTrailingComment:()=>$l,getAlignmentSize:()=>i0,getIndentSize:()=>w9,getMaxContinuousCount:()=>P9,getNextNonSpaceNonCommentCharacter:()=>N9,getNextNonSpaceNonCommentCharacterIndex:()=>$9,getPreferredQuote:()=>M9,getStringWidth:()=>n0,hasNewline:()=>_s,hasNewlineInRange:()=>j9,hasSpaces:()=>U9,isNextLineEmpty:()=>J9,isNextLineEmptyAfterIndex:()=>d0,isPreviousLineEmpty:()=>H9,makeString:()=>G9,skip:()=>Hl,skipEverythingButNewLine:()=>qE,skipInlineComment:()=>c0,skipNewline:()=>Aa,skipSpaces:()=>Ps,skipToLineEnd:()=>jE,skipTrailingComment:()=>p0,skipWhitespace:()=>fB});function b9(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var c0=b9;function k9(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?qE(e,t):t}var p0=k9;function T9(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Ps(e,n),n=c0(e,n),n=p0(e,n),n=Aa(e,n);return n}var h0=T9;function v9(e,t){let r=null,n=t;for(;n!==r;)r=n,n=jE(e,n),n=c0(e,n),n=Ps(e,n);return n=p0(e,n),n=Aa(e,n),n!==!1&&_s(e,n)}var d0=v9;function S9(e,t){let r=e.lastIndexOf(`
- `);return r===-1?0:i0(e.slice(r+1).match(/^[\t ]*/)[0],t)}var w9=S9;function _9(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function B9(e,t){let r=e.matchAll(new RegExp(`(?:${_9(t)})+`,"g"));return r.reduce||(r=[...r]),r.reduce((n,[i])=>Math.max(n,i.length),0)/t.length}var P9=B9;function I9(e,t){let r=h0(e,t);return r===!1?"":e.charAt(r)}var N9=I9,xC=Object.freeze({character:"'",codePoint:39}),EC=Object.freeze({character:'"',codePoint:34}),L9=Object.freeze({preferred:xC,alternate:EC}),O9=Object.freeze({preferred:EC,alternate:xC});function M9(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?L9:O9,{length:i}=e,s=0,a=0;for(let o=0;o<i;o++){let u=e.charCodeAt(o);u===r.codePoint?s++:u===n.codePoint&&a++}return(s>a?n:r).character}function R9(e,t,r){for(let n=t;n<r;++n)if(e.charAt(n)===`
- `)return!0;return!1}var j9=R9;function q9(e,t,r={}){return Ps(e,r.backwards?t-1:t,r)!==t}var U9=q9;function V9(e,t,r){return h0(e,r(t))}function $9(e,t){return arguments.length===2||typeof t=="number"?h0(e,t):V9(...arguments)}function z9(e,t,r){return o0(e,r(t))}function H9(e,t){return arguments.length===2||typeof t=="number"?o0(e,t):z9(...arguments)}function W9(e,t,r){return d0(e,r(t))}function G9(e,t,r){let n=t==='"'?"'":'"',i=Df(0,e,/\\(.)|(["'])/gs,(s,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+i+t}function J9(e,t){return arguments.length===2||typeof t=="number"?d0(e,t):W9(...arguments)}function Ca(e,t=1){return async(...r)=>{let n=r[t]??{},i=n.plugins??[];return r[t]={...n,plugins:Array.isArray(i)?i:Object.values(i)},await e(...r)}}var kf=Ca(DC);async function CC(e,t){let{formatted:r}=await kf(e,{...t,cursorOffset:-1});return r}async function K9(e,t){return await CC(e,t)===e}var X9=Ca(KE,0),Y9={parse:Ca(m9),formatAST:Ca(D9),formatDoc:Ca(y9),printToDoc:Ca(g9),printDocToString:Ca(x9)};var J0={};wo(J0,{default:()=>eF,languages:()=>JF,options:()=>KF,parsers:()=>W0,printers:()=>eA});Jt();var YC=Object.defineProperty,QC=e=>{throw TypeError(e)},Z9=(e,t,r)=>t in e?YC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ZC=(e,t)=>{for(var r in t)YC(e,r,{get:t[r],enumerable:!0})},FC=(e,t,r)=>Z9(e,typeof t!="symbol"?t+"":t,r),e4=(e,t,r)=>t.has(e)||QC("Cannot "+r),Tf=(e,t,r)=>(e4(e,t,"read from private field"),r?r.call(e):t.get(e)),t4=(e,t,r)=>t.has(e)?QC("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),eF={};ZC(eF,{languages:()=>JF,options:()=>KF,parsers:()=>W0,printers:()=>eA});var _0=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i),r4=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},n4=_0("replaceAll",function(){if(typeof this=="string")return r4}),Hr=n4;function i4(e){return this[e<0?this.length+e:e]}var s4=_0("at",function(){if(Array.isArray(this)||typeof this=="string")return i4}),qo=s4,a4=()=>{},Lf=a4,tF="string",rF="array",nF="cursor",B0="indent",P0="align",iF="trim",I0="group",N0="fill",L0="if-break",O0="indent-if-break",sF="line-suffix",aF="line-suffix-boundary",Uo="line",oF="label",M0="break-parent",uF=new Set([nF,B0,P0,iF,I0,N0,L0,O0,sF,aF,Uo,oF,M0]);function lF(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function o4(e){if(typeof e=="string")return tF;if(Array.isArray(e))return rF;if(!e)return;let{type:t}=e;if(uF.has(t))return t}var cF=o4,u4=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function l4(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(cF(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=u4([...uF].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
- Expected it to be ${n}.`}var c4=class extends Error{name="InvalidDocError";constructor(e){super(l4(e)),this.doc=e}},p4=c4;function pF(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(s){return lF(r,s,i)}function i(s){switch(cF(s)){case rF:return t(s.map(n));case N0:return t({...s,parts:s.parts.map(n)});case L0:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case I0:{let{expandedStates:a,contents:o}=s;return a?(a=a.map(n),o=a[0]):o=n(o),t({...s,contents:o,expandedStates:a})}case P0:case B0:case O0:case oF:case sF:return t({...s,contents:n(s.contents)});case tF:case nF:case iF:case aF:case Uo:case M0:return t(s);default:throw new p4(s)}}}function ei(e,t=x4){return pF(e,r=>typeof r=="string"?Vo(t,r.split(`
- `)):r)}var wa=Lf,hF=Lf,h4=Lf,d4=Lf;function Fi(e){return wa(e),{type:B0,contents:e}}function f4(e,t){return d4(e),wa(t),{type:P0,contents:t,n:e}}function m4(e){return f4(Number.NEGATIVE_INFINITY,e)}var uc={type:M0};function dF(e){return h4(e),{type:N0,parts:e}}function cr(e,t={}){return wa(e),hF(t.expandedStates,!0),{type:I0,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function sc(e,t="",r={}){return wa(e),t!==""&&wa(t),{type:L0,breakContents:e,flatContents:t,groupId:r.groupId}}function D4(e,t){return wa(e),{type:O0,contents:e,groupId:t.groupId,negate:t.negate}}function Vo(e,t){wa(e),hF(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var Zt={type:Uo},Br={type:Uo,soft:!0},y4={type:Uo,hard:!0},Kt=[y4,uc],g4={type:Uo,hard:!0,literal:!0},x4=[g4,uc],fF=Object.freeze({character:"'",codePoint:39}),mF=Object.freeze({character:'"',codePoint:34}),E4=Object.freeze({preferred:fF,alternate:mF}),C4=Object.freeze({preferred:mF,alternate:fF});function F4(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?E4:C4,{length:i}=e,s=0,a=0;for(let o=0;o<i;o++){let u=e.charCodeAt(o);u===r.codePoint?s++:u===n.codePoint&&a++}return(s>a?n:r).character}function A4(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var b4=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(qo(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${A4([...this.#e].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,r=>t.has(r))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
- `)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
- `).map(r=>r.slice(t)).join(`
- `)}},k4=b4,T4=[" ",`
- `,"\f","\r"," "],v4=new k4(T4),Mn=v4,S4=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},w4=S4;function lc(e,t=!0){return[Fi([Br,e]),t?Br:""]}function $o(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression"||t.parser==="__ng_binding"||t.parser==="__ng_directive")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Rn(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let i=!0;n&&(r.__onHtmlBindingRoot=(a,o)=>{i=n(a,o)});let s=await t(e,r,t);return i?cr(s):lc(s)}function _4(e,t,r,n){let{node:i}=r,s=n.originalText.slice(i.sourceSpan.start.offset,i.sourceSpan.end.offset);return/^\s*$/.test(s)?"":Rn(s,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},$o)}var B4=_4,P4=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),zo=P4,I4=Array.prototype.toReversed??function(){return[...this].reverse()},N4=_0("toReversed",function(){if(Array.isArray(this))return I4}),L4=N4;function O4(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var M4=O4();function DF(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 R4(e){return e=DF(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function j4(e){e=DF(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 q4(e){return M4?j4(e):R4(e)}var U4=e=>String(e).split(/[/\\]/).pop(),V4=e=>String(e).startsWith("file:");function $4(e){return Array.isArray(e)&&e.length>0}var Of=$4;function AC(e,t){if(!t)return;let r=U4(t).toLowerCase();return e.find(({filenames:n})=>n?.some(i=>i.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(i=>r.endsWith(i)))}function z4(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var H4=void 0;function bC(e,t){if(t){if(V4(t))try{t=q4(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function W4(e,t){let r=L4(0,e.plugins).flatMap(n=>n.languages??[]);return(z4(r,t.language)??AC(r,t.physicalFile)??AC(r,t.file)??bC(r,t.physicalFile)??bC(r,t.file)??H4?.(r,t.physicalFile))?.parsers[0]}var R0=W4,yF=Symbol.for("PRETTIER_IS_FRONT_MATTER");function G4(e){return!!e?.[yF]}var Mf=G4;function J4(e){return Hr(0,e,/[^\n]/g," ")}var gF=J4,Gl=3;function K4(e){let t=e.slice(0,Gl);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
- `,Gl);if(r===-1)return;let n=e.slice(Gl,r).trim(),i=e.indexOf(`
- ${t}`,r),s=n;if(s||(s=t==="+++"?"toml":"yaml"),i===-1&&t==="---"&&s==="yaml"&&(i=e.indexOf(`
- ...`,r)),i===-1)return;let a=i+1+Gl,o=e.charAt(a+1);if(!/\s?/.test(o))return;let u=e.slice(0,a),h;return{language:s,explicitLanguage:n||null,value:e.slice(r+1,i),startDelimiter:t,endDelimiter:u.slice(-Gl),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return h??(h=u.split(`
- `)),h.length},get column(){return h??(h=u.split(`
- `)),qo(0,h,-1).length}},[yF]:!0}}function X4(e){let t=K4(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return gF(r)+e.slice(r.length)}}:{content:e}}var Y4=X4,Q4="inline",kC={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",option:"block",optgroup:"block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block"},Z4="normal",TC={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function eP(e){return e.kind==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var cc=eP,tP=e=>Hr(0,e,/^[\t\f\r ]*\n/g,""),xF=e=>tP(Mn.trimEnd(e)),rP=e=>{let t=e,r=Mn.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=Mn.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function EF(e,t){return!!(e.kind==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind==="ieConditionalComment"&&!e.complete||_a(e)&&e.children.some(r=>r.kind!=="text"&&r.kind!=="interpolation")||q0(e,t)&&!es(e,t)&&e.kind!=="interpolation")}function Rf(e){return e.kind==="attribute"||!e.parent||!e.prev?!1:nP(e.prev)}function nP(e){return e.kind==="comment"&&e.value.trim()==="prettier-ignore"}function On(e){return e.kind==="text"||e.kind==="comment"}function es(e,t){return e.kind==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||e.fullName==="mj-style"&&t.parser==="mjml"||cc(e)&&(e.name==="script"||e.name==="style"))}function iP(e,t){return e.children&&!es(e,t)}function sP(e,t){return es(e,t)||e.kind==="interpolation"||CF(e)}function CF(e){return SF(e).startsWith("pre")}function aP(e,t){let r=n();if(r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind==="interpolation";return r;function n(){return Mf(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.prev&&(e.prev.kind==="text"||e.prev.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:_a(e.parent)?!0:!(!e.prev&&(e.parent.kind==="root"||_a(e)&&e.parent||es(e.parent,t)||jf(e.parent,t)||!mP(e.parent.cssDisplay))||e.prev&&!gP(e.prev.cssDisplay))}}function oP(e,t){return Mf(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.next&&(e.next.kind==="text"||e.next.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:_a(e.parent)?!0:!(!e.next&&(e.parent.kind==="root"||_a(e)&&e.parent||es(e.parent,t)||jf(e.parent,t)||!DP(e.parent.cssDisplay))||e.next&&!yP(e.next.cssDisplay))}function uP(e,t){return xP(e.cssDisplay)&&!es(e,t)}function vf(e){return Mf(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function lP(e){return FF(e)||e.kind==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>pP(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!=="text"&&bF(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||kF(e.lastChild))}function FF(e){return e.kind==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function f0(e){return TF(e)||e.prev&&cP(e.prev)||AF(e)}function cP(e){return TF(e)||e.kind==="element"&&e.fullName==="br"||AF(e)}function AF(e){return bF(e)&&kF(e)}function bF(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.kind==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function kF(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.kind==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function TF(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function j0(e){return e.lastChild?j0(e.lastChild):e}function pP(e){return e.children?.some(t=>t.kind!=="text")}function vF(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function hP(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||zo(n,"src"))return;let{type:i,lang:s}=e.attrMap;return!s&&!i?"babel":R0(t,{language:s})??vF(i)}function dP(e,t){if(!q0(e,t))return;let{attrMap:r}=e;if(zo(r,"src"))return;let{type:n,lang:i}=r;return R0(t,{language:i})??vF(n)}function fP(e,t){if(e.name==="style"){let{lang:r}=e.attrMap;return r?R0(t,{language:r}):"css"}if(e.name==="mj-style"&&t.parser==="mjml")return"css"}function vC(e,t){return hP(e,t)??fP(e,t)??dP(e,t)}function pc(e){return e==="block"||e==="list-item"||e.startsWith("table")}function mP(e){return!pc(e)&&e!=="inline-block"}function DP(e){return!pc(e)&&e!=="inline-block"}function yP(e){return!pc(e)}function gP(e){return!pc(e)}function xP(e){return!pc(e)&&e!=="inline-block"}function _a(e){return SF(e).startsWith("pre")}function EP(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function CP(e,t){if(Ho(e,t))return"block";if(e.prev?.kind==="comment"){let n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}let r=!1;if(e.kind==="element"&&e.namespace==="svg")if(EP(e,n=>n.fullName==="svg:foreignObject"))r=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:if(e.kind==="element"&&(!e.namespace||r||cc(e))&&zo(kC,e.name))return kC[e.name]}return Q4}function SF(e){return e.kind==="element"&&(!e.namespace||cc(e))&&zo(TC,e.name)?TC[e.name]:Z4}function wF(e){return Hr(0,Hr(0,e,"'","'"),""",'"')}function en(e){return wF(e.value)}var FP=new Set(["template","style","script"]);function jf(e,t){return Ho(e,t)&&!FP.has(e.fullName)}function Ho(e,t){return t.parser==="vue"&&e.kind==="element"&&e.parent.kind==="root"&&e.fullName.toLowerCase()!=="html"}function q0(e,t){return Ho(e,t)&&(jf(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function AP(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function bP(e,t){let r=e.parent;if(!Ho(r,t))return!1;let n=r.fullName,i=e.fullName;return n==="script"&&i==="setup"||n==="style"&&i==="vars"}function _F(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?ei(t):ei(Mn.dedentString(xF(t)),Kt):Vo(Zt,Mn.split(t))}function BF(e,t){return Ho(e,t)&&e.name==="script"}function kP(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}function PF(e,t){if(kP(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r)||t.parser==="lwc"&&r.startsWith("{")&&r.endsWith("}")}var IF=/\{\{(.+?)\}\}/s,TP=({node:{value:e}})=>IF.test(e);async function vP(e,t,r){let n=en(r.node),i=[];for(let[s,a]of n.split(IF).entries())if(s%2===0)i.push(ei(a));else try{i.push(cr(["{{",Fi([Zt,await Rn(a,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Zt,"}}"]))}catch{i.push("{{",ei(a),"}}")}return i}var m0=e=>(t,r,n)=>Rn(en(n.node),t,{parser:e},$o),SP=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:m0("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/.test(t)||/^ng-(?:if|show|hide|class|style)$/.test(t)},print:m0("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:m0("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:wP},{test:TP,print:vP}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="angular"&&e(r),print:t}));function wP(e,t,{node:r}){let n=en(r);return lc(dF(_F(r,n.trim())),!n.includes("@@"))}var _P=SP,BP=({node:e},t)=>!t.parentParser&&e.fullName==="class"&&!e.value.includes("{{"),PP=(e,t,r)=>Hr(0,en(r.node).trim(),/\s+/g," "),IP=["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],NP=new Set(IP),LP=({node:e},t)=>NP.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),OP=(e,t,r)=>Rn(en(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1);function MP(e){let t=[];for(let r of e.split(";")){if(r=Mn.trim(r),!r)continue;let[n,...i]=Mn.split(r);t.push({name:n,value:i})}return t}var RP=MP,jP=({node:e},t)=>e.fullName==="allow"&&!t.parentParser&&e.parent.fullName==="iframe"&&!e.value.includes("{{");function qP(e,t,r){let{node:n}=r,i=RP(en(n));return i.length===0?[""]:lc(i.map(({name:s,value:a},o)=>[[s,...a].join(" "),o===i.length-1?sc(";"):[";",Zt]]))}function SC(e){return e===" "||e===`
- `||e==="\f"||e==="\r"||e===" "}var UP=/^[ \t\n\r\u000c]+/,VP=/^[, \t\n\r\u000c]+/,$P=/^[^ \t\n\r\u000c]+/,zP=/[,]+$/,wC=/^\d+$/,HP=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function WP(e){let t=e.length,r,n,i,s,a,o=0,u;function h(f){let D,g=f.exec(e.substring(o));if(g)return[D]=g,o+=D.length,D}let c=[];for(;;){if(h(VP),o>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}u=o,r=h($P),n=[],r.slice(-1)===","?(r=r.replace(zP,""),d()):p()}function p(){for(h(UP),i="",s="in descriptor";;){if(a=e.charAt(o),s==="in descriptor")if(SC(a))i&&(n.push(i),i="",s="after descriptor");else if(a===","){o+=1,i&&n.push(i),d();return}else if(a==="(")i+=a,s="in parens";else if(a===""){i&&n.push(i),d();return}else i+=a;else if(s==="in parens")if(a===")")i+=a,s="in descriptor";else if(a===""){n.push(i),d();return}else i+=a;else if(s==="after descriptor"&&!SC(a))if(a===""){d();return}else s="in descriptor",o-=1;o+=1}}function d(){let f=!1,D,g,x,A,C={},k,P,v,w,I;for(A=0;A<n.length;A++)k=n[A],P=k[k.length-1],v=k.substring(0,k.length-1),w=parseInt(v,10),I=parseFloat(v),wC.test(v)&&P==="w"?((D||g)&&(f=!0),w===0?f=!0:D=w):HP.test(v)&&P==="x"?((D||g||x)&&(f=!0),I<0?f=!0:g=I):wC.test(v)&&P==="h"?((x||g)&&(f=!0),w===0?f=!0:x=w):f=!0;if(!f)C.source={value:r,startOffset:u},D&&(C.width={value:D}),g&&(C.density={value:g}),x&&(C.height={value:x}),c.push(C);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${k}".`)}}var GP=WP,JP=e=>e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"),NF={width:"w",height:"h",density:"x"},KP=Object.keys(NF);function XP(e,t,r){let n=en(r.node),i=GP(n),s=KP.filter(f=>i.some(D=>zo(D,f)));if(s.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[a]=s,o=NF[a],u=i.map(f=>f.source.value),h=Math.max(...u.map(f=>f.length)),c=i.map(f=>f[a]?String(f[a].value):""),p=c.map(f=>{let D=f.indexOf(".");return D===-1?f.length:D}),d=Math.max(...p);return lc(Vo([",",Zt],u.map((f,D)=>{let g=[f],x=c[D];if(x){let A=h-f.length+1,C=d-p[D],k=" ".repeat(A+C);g.push(sc(k," "),x+o)}return g})))}var YP=({node:e},t)=>e.fullName==="style"&&!t.parentParser&&!e.value.includes("{{"),QP=async(e,t,r)=>lc(await e(en(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),ZP=new WeakMap;function eI(e,t){return lF(ZP,e.root,r=>r.children.some(n=>BF(n,t)&&["ts","typescript"].includes(n.attrMap.lang)))}var Wo=eI;function tI(e,t,r){let n=en(r.node);return Rn(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},$o)}function rI(e,t,r,n){let i=en(r.node),s=Wo(r,n)?"babel-ts":"babel";return Rn(`function _(${i}) {}`,e,{parser:s,__isVueBindings:!0})}async function nI(e,t,r,n){let i=en(r.node),{left:s,operator:a,right:o}=iI(i),u=Wo(r,n);return[cr(await Rn(`function _(${s}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await Rn(o,e,{parser:u?"__ts_expression":"__js_expression"})]}function iI(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=e.match(t);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let i=/,([^,\]}]*)(?:,([^,\]}]*))?$/,s=/^\(|\)$/g,a=Hr(0,r[1].trim(),s,""),o=a.match(i);o?(n.alias=a.replace(i,""),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=a;let u=[n.alias,n.iterator1,n.iterator2];if(!u.some((h,c)=>!h&&(c===0||u.slice(c+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:r[2],right:n.for}}var sI=[{test:e=>e.node.fullName==="v-for",print:nI},{test:(e,t)=>e.node.fullName==="generic"&&BF(e.parent,t),print:tI},{test:({node:e},t)=>AP(e)||bP(e,t),print:rI},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:aI},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:oI},{test:e=>e.node.fullName.startsWith("v-"),print:LF}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="vue"&&e(r,n),print:t}));async function aI(e,t,r,n){try{return await LF(e,t,r,n)}catch(a){if(a.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw a}let i=en(r.node),s=Wo(r,n)?"__vue_ts_event_binding":"__vue_event_binding";return Rn(i,e,{parser:s},$o)}function oI(e,t,r,n){let i=en(r.node),s=Wo(r,n)?"__vue_ts_expression":"__vue_expression";return Rn(i,e,{parser:s},$o)}function LF(e,t,r,n){let i=en(r.node),s=Wo(r,n)?"__ts_expression":"__js_expression";return Rn(i,e,{parser:s},$o)}var uI=sI,lI=[{test:JP,print:XP},{test:YP,print:QP},{test:LP,print:OP},{test:BP,print:PP},{test:jP,print:qP},...uI,..._P].map(({test:e,print:t})=>({test:e,print:pI(t)}));function cI(e,t){let{node:r}=e,{value:n}=r;if(n)return PF(r,t)?[r.rawName,"=",n]:lI.find(({test:i})=>i(e,t))?.print}function pI(e){return async(t,r,n,i)=>{let s=await e(t,r,n,i);if(s)return s=pF(s,a=>typeof a=="string"?Hr(0,a,'"',"""):a),[n.node.rawName,'="',cr(s),'"']}}var hI=cI,Ro=e=>e.sourceSpan.start.offset,qf=e=>e.sourceSpan.end.offset;function x0(e,t){return[e.isSelfClosing?"":dI(e,t),ec(e,t)]}function dI(e,t){return e.lastChild&&jo(e.lastChild)?"":[fI(e,t),U0(e,t)]}function ec(e,t){return(e.next?Pa(e.next):dc(e.parent))?"":[hc(e,t),Ba(e,t)]}function fI(e,t){return dc(e)?hc(e.lastChild,t):""}function Ba(e,t){return jo(e)?U0(e.parent,t):Uf(e)?V0(e.next,t):""}function U0(e,t){if(OF(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function hc(e,t){if(OF(e,t))return"";switch(e.kind){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function OF(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Rf(e)||EF(e.parent,t))}function Pa(e){return e.prev&&e.prev.kind!=="docType"&&e.kind!=="angularControlFlowBlock"&&!On(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function dc(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!On(j0(e.lastChild))&&!_a(e)}function jo(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&On(j0(e))}function Uf(e){return e.next&&!On(e.next)&&On(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function mI(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function Vf(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function DI(e,t,r){let{node:n}=e,{attrs:i=[],startTagComments:s=[]}=n;if(i.length===0&&s.length===0)return n.isSelfClosing?" ":"";let a=n.prev?.kind==="comment"&&mI(n.prev.value),o=typeof a=="boolean"?()=>a:Array.isArray(a)?D=>a.includes(D.rawName):()=>!1,u=["attrs","startTagComments"].filter(D=>Of(n[D])),h=u.flatMap(D=>e.map(({node:g})=>({loc:Ro(g),printed:g.kind==="attribute"&&o(g)?ei(t.originalText.slice(Ro(g),qf(g))):r()}),D));u.length>1&&h.sort((D,g)=>D.loc-g.loc);let c=n.kind==="element"&&n.fullName==="script"&&i.length===1&&i[0].fullName==="src"&&n.children.length===0&&s.length===0,p=s.some(D=>D.type==="single"),d=p||t.singleAttributePerLine&&i.length>1&&!Ho(n,t)?Kt:Zt,f=[Fi([c?" ":p?Kt:Zt,Vo(d,h.map(({printed:D})=>D))])];return n.firstChild&&Vf(n.firstChild)||n.isSelfClosing&&dc(n.parent)||c?f.push(n.isSelfClosing?" ":""):f.push(t.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?Zt:Br),f}function yI(e){return e.firstChild&&Vf(e.firstChild)?"":$0(e)}function E0(e,t,r){let{node:n}=e;return[tc(n,t),DI(e,t,r),n.isSelfClosing?"":yI(n)]}function tc(e,t){return e.prev&&Uf(e.prev)?"":[Ia(e,t),V0(e,t)]}function Ia(e,t){return Vf(e)?$0(e.parent):Pa(e)?hc(e.prev,t):""}var _C="<!doctype";function V0(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(e.value==="html"){let{filepath:n}=t;if(n&&/\.html?$/.test(n))return _C}let r=Ro(e);return t.originalText.slice(r,r+_C.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function $0(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function gI(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Vf(e.firstChild)&&(r-=$0(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&jo(e.lastChild)?n+=U0(e,t).length:dc(e)&&(n-=hc(e.lastChild,t).length),t.originalText.slice(r,n)}var MF=gI,xI=new Set(["if","else if","for","switch","case"]);function EI(e,t){let{node:r}=e;switch(r.kind){case"element":if(es(r,t)||r.kind==="interpolation")return;if(!r.isSelfClosing&&q0(r,t)){let n=vC(r,t);return n?async(i,s)=>{let a=MF(r,t),o=/^\s*$/.test(a),u="";return o||(u=await i(xF(a),{parser:n,__embeddedInHtml:!0}),o=u===""),[Ia(r,t),cr(E0(e,t,s)),o?"":Kt,u,o?"":Kt,x0(r,t),Ba(r,t)]}:void 0}break;case"text":if(es(r.parent,t)){let n=vC(r.parent,t);if(n)return async i=>{let s=n==="markdown"?Mn.dedentString(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let o="script",{attrMap:u}=r.parent;u&&(u.type==="module"||(u.type==="text/babel"||u.type==="text/jsx")&&u["data-type"]==="module")&&(o="module"),a.__babelSourceType=o}return[uc,Ia(r,t),await i(s,a),Ba(r,t)]}}else if(r.parent.kind==="interpolation")return async n=>{let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?i.parser="__ng_interpolation":t.parser==="vue"?i.parser=Wo(e,t)?"__vue_ts_expression":"__vue_expression":i.parser="__js_expression",[Fi([Zt,await n(r.value,i)]),r.parent.next&&Pa(r.parent.next)?" ":Zt]};break;case"attribute":return hI(e,t);case"angularControlFlowBlockParameters":return xI.has(e.parent.name)?B4:void 0;case"angularLetDeclarationInitializer":return n=>Rn(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var CI=EI,Jl=null;function rc(e){if(Jl!==null&&typeof Jl.property){let t=Jl;return Jl=rc.prototype=null,t}return Jl=rc.prototype=e??Object.create(null),new rc}var FI=10;for(let e=0;e<=FI;e++)rc();function AI(e){return rc(e)}function bI(e,t="type"){AI(e);function r(n){let i=n[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var kI=bI,Kl=[["children"]],TI={root:Kl[0],element:["attrs","startTagComments","children"],ieConditionalComment:Kl[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:Kl[0],text:Kl[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:Kl[0],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},vI=kI(TI,"kind"),SI=vI,wI=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),_I=new Set(["if","else if","for","switch","case"]);function RF(e,t,r){if(e.kind==="text"||e.kind==="comment")return null;if(e.kind==="yaml"&&delete t.value,e.kind==="attribute"){let{fullName:n,value:i}=e;n==="style"||n==="class"||n==="srcset"&&(r.fullName==="img"||r.fullName==="source")||n==="allow"&&r.fullName==="iframe"||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||n==="vars"&&r.fullName==="style"||(n==="setup"||n==="generic")&&r.fullName==="script"||n==="slot-scope"||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||i?.includes("{{")?delete t.value:i&&(t.value=Hr(0,i,/'|"|'/g,'"'))}if(e.kind==="docType"&&(t.value=Hr(0,e.value.toLowerCase(),/\s+/g," ")),e.kind==="angularControlFlowBlock"&&e.parameters?.children)for(let n of t.parameters.children)_I.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.kind==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.kind==="angularLetDeclarationInitializer"&&delete t.value,e.kind==="element"&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}RF.ignoredProperties=wI;var BI="format",PI=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,II=/^\s*<!--\s*@(?:format|prettier)\s*-->/,NI=e=>II.test(e),LI=e=>PI.test(e),OI=e=>`<!-- @${BI} -->
-
- ${e}`,MI=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])],["boundary",new Set(["error"])]]);function jF(e){let t=qf(e);return e.kind==="element"&&!e.endSourceSpan&&Of(e.children)?Math.max(t,jF(qo(0,e.children,-1))):t}function Xl(e,t,r){let n=e.node;if(Rf(n)){let i=jF(n);return[Ia(n,t),ei(Mn.trimEnd(t.originalText.slice(Ro(n)+(n.prev&&Uf(n.prev)?V0(n).length:0),i-(n.next&&Pa(n.next)?hc(n,t).length:0)))),Ba(n,t)]}return r()}function Sf(e,t){return On(e)&&On(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?f0(t)?Kt:Zt:"":f0(t)?Kt:Br:Uf(e)&&(Rf(t)||t.firstChild||t.isSelfClosing||t.kind==="element"&&t.attrs.length>0)||e.kind==="element"&&e.isSelfClosing&&Pa(t)?"":t.kind==="comment"&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?Br:!t.isLeadingSpaceSensitive||f0(t)||Pa(t)&&e.lastChild&&jo(e.lastChild)&&e.lastChild.lastChild&&jo(e.lastChild.lastChild)?Kt:t.hasLeadingSpaces?Zt:Br}function z0(e,t,r){let{node:n}=e;if(FF(n))return[uc,...e.map(()=>{let s=e.node,a=s.prev?Sf(s.prev,s):"";return[a?[a,vf(s.prev)?Kt:""]:"",Xl(e,t,r)]},"children")];let i=n.children.map(()=>Symbol(""));return e.map(({node:s,index:a})=>{if(On(s)){if(s.prev&&On(s.prev)){let f=Sf(s.prev,s);if(f)return vf(s.prev)?[Kt,Kt,Xl(e,t,r)]:[f,Xl(e,t,r)]}return Xl(e,t,r)}let o=[],u=[],h=[],c=[],p=s.prev?Sf(s.prev,s):"",d=s.next?Sf(s,s.next):"";return p&&(vf(s.prev)?o.push(Kt,Kt):p===Kt?o.push(Kt):On(s.prev)?u.push(p):u.push(sc("",Br,{groupId:i[a-1]}))),d&&(vf(s)?On(s.next)&&c.push(Kt,Kt):d===Kt?On(s.next)&&c.push(Kt):h.push(d)),[...o,cr([...u,cr([Xl(e,t,r),...h],{id:i[a]})]),...c]},"children")}function RI(e,t,r){let{node:n}=e,i=[];VI(e)&&i.push("} "),i.push("@",n.name);let s=qI(n);if(n.parameters&&(s||i.push(" "),i.push("(",cr(r("parameters")),")")),s)return i.push(";"),i;if(!UI(n)){i.push(" {");let a=qF(n);n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,i.push(Fi([Kt,z0(e,t,r)])),a&&i.push(Kt,"}")):a&&i.push("}")}return cr(i,{shouldBreak:!0})}function qF(e){return!(e.next?.kind==="angularControlFlowBlock"&&MI.get(e.name)?.has(e.next.name))}var jI=e=>e?.kind==="angularControlFlowBlock"&&(e.name==="case"||e.name==="default"),qI=e=>e?.kind==="angularControlFlowBlock"&&e.name==="default never";function UI(e){return jI(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function VI(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!Rf(t)&&!qF(t)}function $I(e,t,r){return[Fi([Br,Vo([";",Zt],e.map(r,"children"))]),Br]}function zI(e,t,r){let{node:n}=e;return[tc(n,t),cr([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",Fi([Zt,Vo(Zt,e.map(r,"cases"))])]:"",Br]),ec(n,t)]}function HI(e,t,r){let{node:n}=e;return[n.value," {",cr([Fi([Br,e.map(({node:i,isLast:s})=>{let a=[r()];return i.kind==="text"&&(i.hasLeadingSpaces&&a.unshift(Zt),i.hasTrailingSpaces&&!s&&a.push(Zt)),a},"expression")]),Br]),"}"]}function WI(e,t,r){let{node:n}=e;if(EF(n,t))return[Ia(n,t),cr(E0(e,t,r)),ei(MF(n,t)),...x0(n,t),Ba(n,t)];let i=n.children.length===1&&(n.firstChild.kind==="interpolation"||n.firstChild.kind==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,s=Symbol("element-attr-group-id"),a=c=>cr([cr(E0(e,t,r),{id:s}),c,x0(n,t)]);if(n.children.length===0)return a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Zt:"");let o=c=>i?D4(c,{groupId:s}):(es(n,t)||jf(n,t))&&n.parent.kind==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:Fi(c),u=()=>i?sc(Br,"",{groupId:s}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Zt:n.firstChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?m4(Br):Br,h=()=>(n.next?Pa(n.next):dc(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":_a(n)&&jo(n.lastChild)?"":i?sc(Br,"",{groupId:s}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Zt:(n.lastChild.kind==="comment"||n.lastChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":Br;return a([lP(n)?uc:"",o([u(),z0(e,t,r)]),h()])}function GI(e){let{node:{value:t,type:r}}=e;return r==="single"?`//${t.trimEnd()}`:["/*",ei(t),"*/"]}var JI=(function(e){return e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA",e})({});function Go(e,t=!0){if(e[0]!=":")return[null,e];let r=e.indexOf(":",1);if(r===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function BC(e){return Go(e)[1]==="ng-container"}function PC(e){return Go(e)[1]==="ng-content"}function Pf(e){return e===null?null:Go(e)[0]}function nc(e,t){return e?`:${e}:${t}`:t}var If,KI="math",C0=()=>Object.create(null);function XI(){return If||(If=C0(),Ls(1,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Ls(2,void 0,[["*",["style"]]]),Ls(4,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Ls(4,KI,[["*",["href","xlink:href"]]]),Ls(5,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Ls(4,"svg",[["a",["href","xlink:href"]]]),Ls(6,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Ls(6,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),If)}function Ls(e,t,r){let n=t??"";for(let[s,a]of r){let o=s.toLowerCase();for(let u of a){var i;let h=u.toLowerCase(),c=(i=If)[h]??(i[h]=C0()),p=c[n]??(c[n]=C0());p[o]=e}}}function YI(e,t,r){let n=XI()[t.toLowerCase()];if(!n)return 0;let i=e.toLowerCase(),s;if(r){let a=n[r];a&&(s=a[i]??a["*"])}if(s===void 0){let a=n[""];a&&(s=a[i]??a["*"])}if(s===void 0&&(!r||r==="")){let a=n.svg;a&&(s=a[i])}return s??0}var IC={name:"custom-elements"},NC={name:"no-errors-schema"},QI=/-+([a-z0-9])/g;function ZI(e){return e.replace(QI,(...t)=>t[1].toUpperCase())}var eN=class{},tN="boolean",rN="number",nN="string",iN="object";function wf(e){let t=e.toLowerCase(),[r,n]=Go(t,!1);return r==="svg"||r==="math"?`:${r}:${n}`:n}var sN=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],UF=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),aN=Array.from(UF).reduce((e,[t,r])=>(e.set(t,r),e),new Map),oN=class extends eN{_schema=new Map;_eventSchema=new Map;constructor(){super(),sN.forEach(e=>{let t=new Map,r=new Set,[n,i]=e.split("|"),s=i.split(","),[a,o]=n.split("^");a.split(",").forEach(h=>{this._schema.set(h.toLowerCase(),t),this._eventSchema.set(h.toLowerCase(),r)});let u=o&&this._schema.get(o.toLowerCase());if(u){for(let[h,c]of u)t.set(h,c);for(let h of this._eventSchema.get(o.toLowerCase()))r.add(h)}s.forEach(h=>{if(h.length>0)switch(h[0]){case"*":r.add(h.substring(1));break;case"!":t.set(h.substring(1),tN);break;case"#":t.set(h.substring(1),rN);break;case"%":t.set(h.substring(1),iN);break;default:t.set(h,nN)}})})}hasProperty(e,t,r){if(r.some(i=>i.name===NC.name))return!0;let n=wf(e);if(n.includes("-")){if(BC(n)||PC(n))return!1;if(r.some(i=>i.name===IC.name))return!0}return(this._schema.get(n)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(n=>n.name===NC.name))return!0;let r=wf(e);return r.includes("-")&&(BC(r)||PC(r)||t.some(n=>n.name===IC.name))?!0:this._schema.has(r)}securityContext(e,t,r){r&&(t=this.getMappedPropName(t));let[n,i]=Go(e,!1);return YI(i,t,n)}getMappedPropName(e){return UF.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
- If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=wf(e),r=this._schema.get(t)||this._schema.get("unknown");return Array.from(r.keys()).map(n=>aN.get(n)??n)}allKnownEventsOfElement(e){let t=wf(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return ZI(e)}normalizeAnimationStyleValue(e,t,r){let n="",i=r.toString().trim(),s=null;if(uN(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(s=`Please provide a CSS unit value for ${t}:${r}`)}return{error:s,value:i+n}}};function uN(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var gt=class{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=2,closedByParent:n=!1,isVoid:i=!1,ignoreFirstLf:s=!1,preventNamespaceInheritance:a=!1,canSelfClose:o=!1}={}){e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=i,this.closedByParent=n||i,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=s,this.preventNamespaceInheritance=a,this.canSelfClose=o??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},LC,Yl;function F0(e){return Yl||(LC=new gt({canSelfClose:!0}),Yl=Object.assign(Object.create(null),{base:new gt({isVoid:!0}),meta:new gt({isVoid:!0}),area:new gt({isVoid:!0}),embed:new gt({isVoid:!0}),link:new gt({isVoid:!0}),img:new gt({isVoid:!0}),input:new gt({isVoid:!0}),param:new gt({isVoid:!0}),hr:new gt({isVoid:!0}),br:new gt({isVoid:!0}),source:new gt({isVoid:!0}),track:new gt({isVoid:!0}),wbr:new gt({isVoid:!0}),p:new gt({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new gt({closedByChildren:["tbody","tfoot"]}),tbody:new gt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new gt({closedByChildren:["tbody"],closedByParent:!0}),tr:new gt({closedByChildren:["tr"],closedByParent:!0}),td:new gt({closedByChildren:["td","th"],closedByParent:!0}),th:new gt({closedByChildren:["td","th"],closedByParent:!0}),col:new gt({isVoid:!0}),svg:new gt({implicitNamespacePrefix:"svg"}),foreignObject:new gt({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new gt({implicitNamespacePrefix:"math"}),li:new gt({closedByChildren:["li"],closedByParent:!0}),dt:new gt({closedByChildren:["dt","dd"]}),dd:new gt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new gt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new gt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new gt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new gt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new gt({closedByChildren:["optgroup"],closedByParent:!0}),option:new gt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new gt({ignoreFirstLf:!0}),listing:new gt({ignoreFirstLf:!0}),style:new gt({contentType:0}),script:new gt({contentType:0}),title:new gt({contentType:{default:1,svg:2}}),textarea:new gt({contentType:1,ignoreFirstLf:!0})}),new oN().allKnownElementNames().forEach(t=>{!Yl[t]&&Pf(t)===null&&(Yl[t]=new gt({canSelfClose:!1}))})),Yl[e]??LC}var A0=class VF{file;offset;line;col;constructor(t,r,n,i){this.file=t,this.offset=r,this.line=n,this.col=i}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,i=this.offset,s=this.line,a=this.col;for(;i>0&&t<0;)if(i--,t++,r.charCodeAt(i)==10){s--;let o=r.substring(0,i-1).lastIndexOf(`
- `);a=o>0?i-o:i}else a--;for(;i<n&&t>0;){let o=r.charCodeAt(i);i++,t--,o==10?(s++,a=0):a++}return new VF(this.file,i,s,a)}getContext(t,r){let n=this.file.content,i=this.offset;if(i!=null){i>n.length-1&&(i=n.length-1);let s=i,a=0,o=0;for(;a<t&&i>0&&(i--,a++,!(n[i]==`
- `&&++o==r)););for(a=0,o=0;a<t&&s<n.length-1&&(s++,a++,!(n[s]==`
- `&&++o==r)););return{before:n.substring(i,this.offset),after:n.substring(this.offset,s+1)}}return null}},$F=class{content;url;constructor(e,t){this.content=e,this.url=t}},mt=class{start;end;fullStart;details;constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},lN=(function(e){return e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR",e})({}),Oo=class extends Error{span;msg;level;relatedError;constructor(e,t,r=1,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${lN[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},Na=class{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}},cN=class extends Na{value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}kind="text"},pN=class extends Na{value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitCdata(this,t)}kind="cdata"},hN=class extends Na{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,r,n,i,s){super(n,s),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=i}visit(e,t){return e.visitExpansion(this,t)}kind="expansion"},dN=class{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}kind="expansionCase"},fN=class extends Na{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,r,n,i,s,a){super(r,a),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=i,this.valueTokens=s}visit(e,t){return e.visitAttribute(this,t)}kind="attribute";get nameSpan(){return this.keySpan}},mN=class{value;type;sourceSpan;constructor(e,t,r){this.value=e,this.type=t,this.sourceSpan=r}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}kind="startTagComment"},Ta=class extends Na{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;nameSpan;isVoid;comments;constructor(e,t,r,n,i,s,a,o=null,u=null,h,c,p=[]){super(s,c),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=i,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=u,this.isVoid=h,this.comments=p}visit(e,t){return e.visitElement(this,t)}kind="element"},DN=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}kind="comment"},yN=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}kind="docType"},Lo=class extends Na{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,i,s,a=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=i,this.startSourceSpan=s,this.endSourceSpan=a}visit(e,t){return e.visitBlock(this,t)}kind="block"},Zi=class extends Na{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,r,n,i,s,a,o,u,h=null,c,p=[]){super(o,c),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=i,this.children=s,this.isSelfClosing=a,this.startSourceSpan=u,this.endSourceSpan=h,this.comments=p}visit(e,t){return e.visitComponent(this,t)}kind="component"},gN=class{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,i=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=i}visit(e,t){return e.visitDirective(this,t)}kind="directive"},OC=class{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}kind="blockParameter";startSourceSpan=null;endSourceSpan=null},MC=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,r,n,i){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=i}visit(e,t){return e.visitLetDeclaration(this,t)}kind="letDeclaration";startSourceSpan=null;endSourceSpan=null};function zF(e,t,r=null){let n=[],i=e.visit?s=>e.visit(s,r)||s.visit(e,r):s=>s.visit(e,r);return t.forEach(s=>{let a=i(s);a&&n.push(a)}),n}var xN=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.directives),r(e.comments),r(e.children)})}visitAttribute(e,t){}visitStartTagComment(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.comments),r(e.children)})}visitDirective(e,t){this.visitChildren(t,r=>{r(e.attrs)})}visitChildren(e,t){let r=[],n=this;function i(s){s&&r.push(zF(n,s,e))}return t(i),Array.prototype.concat.apply([],r)}};function Nf(e){return e>=9&&e<=32||e==160}function fc(e){return 48<=e&&e<=57}function ac(e){return e>=97&&e<=122||e>=65&&e<=90}function EN(e){return e>=97&&e<=102||e>=65&&e<=70||fc(e)}function ic(e){return e===10||e===13}function RC(e){return 48<=e&&e<=55}function D0(e){return e===39||e===34||e===96}var oc={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",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",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:`
- `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",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}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\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",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",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",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",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",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",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\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",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",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}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",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",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",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",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};oc.ngsp="\uE500";var CN=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function FN(e,t,r,n={}){let i=new SN(new $F(e,t),r,n);return i.tokenize(),new CN(LN(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}var AN=/\r\n?/g;function va(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function jC(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function bN(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var kN=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@boundary","@error","@content"],Ql={start:"{{",end:"}}"},TN=/^default[^\S\r\n]+never/,vN=/^else[^\S\r\n]+if/,SN=class{_getTagContentType;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_canSelfClose;_allowHtmComponentClosingTags;_allowStartTagComments;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_fullNameStack=[];_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,r){this._getTagContentType=t,this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(i=>i.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1,this._allowStartTagComments=r.allowStartTagComments??!0;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new ON(e,n):new HF(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(AN,`
- `)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(44),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(n=>Nf(n)?!e:NN(n)?(e=!0,!1):!0);let r=this._cursor.getChars(t).trim();return vN.test(r)?r="else if":TN.test(r)&&(r="default never"),r}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(26,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Lt),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Lt);else{t.type=30;return}if(t.parts[0]==="default never"&&this._attemptCharCode(59)){this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([]);return}this._attemptCharCode(123)?(this._beginToken(27),this._endToken([])):this._isBlockStart()&&(t.parts[0]==="case"||t.parts[0]==="default")?(this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([])):t.type=30}_consumeBlockEnd(e){this._beginToken(28,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(UC);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&D0(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(UC)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(31,e),Nf(this._cursor.peek()))this._attemptCharCodeUntilFn(Lt);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Lt),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(r=>Lt(r)&&!ic(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(33),this._cursor.advance(),this._endToken([])):(t.type=34,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ac(r)||r===36||r===95||t&&fc(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();this._beginToken(32,e),this._attemptUntilIgnoreQuotes(t=>t===59),this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(PN(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Oo(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(this._currentTokenType===null)throw new Oo(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Oo(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof H0&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Oo)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return IN(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_attemptUntilIgnoreQuotes(e){for(;this._cursor.peek()!==0;){let t=this._cursor.peek();if(e(t))break;D0(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++){if(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&kN.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===64&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let r=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(_N),this._cursor.peek()!=59){this._cursor.advance();let s=r?"hexadecimal":"decimal";throw this._createError(bN(s,this._cursor.getChars(t)),this._cursor.getSpan())}let i=this._cursor.getChars(n);this._cursor.advance();try{let s=parseInt(i,r?16:10);this._endToken([String.fromCodePoint(s),this._cursor.getChars(t)])}catch{throw this._createError(jC(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(BN),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{let n=this._cursor.getChars(r);this._cursor.advance();let i=zo(oc,n)&&oc[n];if(!i)throw this._createError(jC(n),this._cursor.getSpan(t));this._endToken([i,`&${n};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let r=[];for(;;){let n=this._cursor.clone(),i=t();if(this._cursor=n,i)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(13,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(20),this._cursor.advance(),this._endToken([])}_consumeProcessingInstruction(e){this._beginToken(43,e);let t=this._cursor.clone();this._attemptUntilIgnoreQuotes(i=>i===63||i===62);let r=this._cursor.peek(),n=this._cursor.getChars(t);this._cursor.advance(),r===63&&this._requireCharCode(62),this._endToken([n])}_consumePrefixAndName(e){let t=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!wN(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(e,r===""?0:1);let i=this._cursor.getChars(n);return[r,i]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(i=>ic(i)||i===0);let r=this._cursor.clone(),n=r.getChars(t);this._beginToken(12,e),this._endToken([n,"single"],r),this._attemptCharCodeUntilFn(Lt)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(s=>{if(s===0)return!0;if(s===42){let a=this._cursor.clone();return a.advance(),a.peek()===47}return!1});let r=this._cursor.clone(),n=r.getChars(t),i=r;this._attemptStr("*/")&&(i=this._cursor.clone(),this._attemptCharCodeUntilFn(Lt)),this._beginToken(12,e),this._endToken([n,"multi"],i)}_consumeTagOpen(e){let t,r,n,i,s=[];try{if(this._selectorlessEnabled&&_f(this._cursor.peek()))i=this._consumeComponentOpenStart(e),[n,r,t]=i.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(Lt);else{if(!ac(this._cursor.peek()))throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(e));i=this._consumeTagOpenStart(e),r=i.parts[0],t=n=i.parts[1],this._attemptCharCodeUntilFn(Lt)}for(;;){if(this._allowStartTagComments){let o=this._cursor.clone();if(this._attemptStr("//")){this._consumeSingleLineComment(o);continue}if(this._attemptStr("/*")){this._consumeMultiLineComment(o);continue}}if($C(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let o=this._cursor.clone(),u=o.clone();u.advance(),_f(u.peek())&&this._consumeDirective(o,u)}else{let o=this._consumeAttribute();s.push(o)}}i.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof Oo){i?i.type=i.type===35?39:4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,s);this._handleFullNameStackForTagOpen(r,t),a===0?this._consumeRawTextWithTagClose(r,i,n,!1):a===1&&this._consumeRawTextWithTagClose(r,i,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Lt),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(Lt),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(i=>i===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(Sa);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(35,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;VC(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return this._cursor.peek()===58&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(Sa)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(Lt),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(Lt),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Lt),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(va(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let n=0;t=i=>{if(this._openDirectiveCount>0){if(i===40)n++;else if(i===41){if(n===0)return!0;n--}}return Sa(i)}}else if(e===91){let n=0;t=i=>(i===91?n++:i===93&&n--,n<=0?Sa(i):ic(i))}else t=Sa;let r=this._consumePrefixAndName(t);return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(17,18,r,r),this._consumeQuote(t)}else{let t=()=>Sa(this._cursor.peek());e=this._consumeWithInterpolation(17,18,t,t)}return e}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?37:36;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;t.peek()!==62&&!_f(t.peek());)t.advance();if(_f(t.peek())){this._beginToken(38,e);let r=this._consumeComponentName();this._attemptCharCodeUntilFn(Lt),this._requireCharCode(62),this._endToken(r);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(Lt),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Lt),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName(Sa);this._attemptCharCodeUntilFn(Lt),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(21),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(21),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Lt),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Lt)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(Lt),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Lt),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Lt),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let i=[];for(;!r();){let a=this._cursor.clone();this._attemptStr(Ql.start)?(this._endToken([this._processCarriageReturns(i.join(""))],a),i.length=0,this._consumeInterpolation(t,a,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let s=this._processCarriageReturns(i.join(""));return this._endToken([s]),s}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(Ql.start);let i=this._cursor.clone(),s=null,a=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,n.push(this._getProcessedChars(i,o)),this._endToken(n);return}if(s===null)if(this._attemptStr(Ql.end)){n.push(this._getProcessedChars(i,o)),n.push(Ql.end),this._endToken(n);return}else this._attemptStr("//")&&(a=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===s?s=null:!a&&s===null&&D0(u)&&(s=u)}n.push(this._getProcessedChars(i,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();VC(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(Lt),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(Lt);!$C(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(Lt),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(va(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(Lt)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33||t===63)return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===23}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;let e=this._cursor.clone(),t=this._attemptStr(Ql.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=nc(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=nc(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function Lt(e){return!Nf(e)||e===0}function Sa(e){return Nf(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function wN(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function _N(e){return e===59||e===0||!EN(e)}function BN(e){return e===59||e===0||!(ac(e)||fc(e))}function PN(e){return e!==125}function IN(e,t){return qC(e)===qC(t)}function qC(e){return e>=97&&e<=122?e-97+65:e}function NN(e){return ac(e)||fc(e)||e===95}function UC(e){return e!==59&&Lt(e)}function _f(e){return e===95||e>=65&&e<=90}function VC(e){return ac(e)||fc(e)||e===95}function $C(e){return e===47||e===62||e===60||e===0}function LN(e){let t=[],r;for(let n=0;n<e.length;n++){let i=e[n];r&&r.type===5&&i.type===5||r&&r.type===17&&i.type===17?(r.parts[0]+=i.parts[0],r.sourceSpan.end=i.sourceSpan.end):(r=i,t.push(r))}return t}var HF=class b0{state;file;input;end;constructor(t,r){if(t instanceof b0){this.file=t.file,this.input=t.input,this.end=t.end;let n=t.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new b0(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,r){t=t||this;let n=t;if(r)for(;this.diff(t)>0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let i=this.locationFromCursor(t),s=this.locationFromCursor(this),a=n!==t?this.locationFromCursor(n):i;return new mt(i,s,a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new H0('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):ic(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new A0(t.file,t.state.offset,t.state.line,t.state.column)}},ON=class k0 extends HF{internalState;constructor(t,r){t instanceof k0?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new k0(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(r.peek()),r.advance();return n}processEscapeSequence(){let t=()=>this.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(RC(t())){let r="",n=0,i=this.clone();for(;RC(t())&&n<3;)i=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=i.internalState}else ic(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),i=parseInt(n,16);if(isNaN(i))throw t.state=t.internalState,new H0("Invalid hexadecimal escape sequence",t);return i}},H0=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},lr=class WF extends Oo{elementName;static create(t,r,n){return new WF(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},MN=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},RN=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,i){let s=f=>(D,...g)=>f(D.toLowerCase(),...g),a=n?this.getTagDefinition:s(this.getTagDefinition),o=f=>a(f).getContentType(),u=n?i:s(i),h=FN(e,t,i?(f,D,g,x)=>{let A=u(f,D,g,x);return A!==void 0?A:o(f)}:o,r),c=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,d=new jN(h.tokens,a,c,p,n);return d.build(),new MN(d.rootNodes,[...h.errors,...d.errors])}},jN=class GF{tokens;tagDefinitionResolver;canSelfClose;allowHtmComponentClosingTags;isTagNameCaseSensitive;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(t,r,n,i,s){this.tokens=t,this.tagDefinitionResolver=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=i,this.isTagNameCaseSensitive=s,this._advance()}build(){for(;this._peek.type!==44;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===13?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===21?this._consumeExpansion(this._advance()):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===31?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===19?this._consumeDocType(this._advance()):this._peek.type===34?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===35||this._peek.type===39?this._consumeComponentStartTag(this._advance()):this._peek.type===38?this._consumeComponentEndTag(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Lo&&this.errors.push(lr.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t}_advanceIf(t){return this._peek.type===t?this._advance():null}_consumeCdata(t){let r=this._advance(),n=this._getText(r),i=this._advanceIf(14);this._addToParent(new pN(n,new mt(t.sourceSpan.start,(i||r).sourceSpan.end),[r]))}_consumeComment(t){let r=this._advanceIf(7),n=this._advanceIf(11),i=r!=null?r.parts[0].trim():null,s=n==null?t.sourceSpan:new mt(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new DN(i,s))}_consumeDocType(t){let r=this._advanceIf(7),n=this._advanceIf(20),i=r!=null?r.parts[0].trim():null,s=new mt(t.sourceSpan.start,(n||r||t).sourceSpan.end);this._addToParent(new yN(i,s))}_consumeExpansion(t){let r=this._advance(),n=this._advance(),i=[];for(;this._peek.type===22;){let a=this._parseExpansionCase();if(!a)return;i.push(a)}if(this._peek.type!==25){this.errors.push(lr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let s=new mt(t.sourceSpan.start,this._peek.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new hN(r.parts[0],n.parts[0],i,s,r.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(lr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let i=this._advance();n.push({type:44,parts:[],sourceSpan:i.sourceSpan});let s=new GF(n,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(s.build(),s.errors.length>0)return this.errors=this.errors.concat(s.errors),null;let a=new mt(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart),o=new mt(r.sourceSpan.start,i.sourceSpan.end,r.sourceSpan.fullStart);return new dN(t.parts[0],s.rootNodes,a,t.sourceSpan,o)}_collectExpansionExpTokens(t){let r=[],n=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&n.push(this._peek.type),this._peek.type===24)if(zC(n,23)){if(n.pop(),n.length===0)return r}else return this.errors.push(lr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)if(zC(n,21))n.pop();else return this.errors.push(lr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===44)return this.errors.push(lr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==`
- `){var n;let i=this._getClosestElementLikeParent();i!=null&&i.children.length==0&&!((n=this._getTagDefinition(i))===null||n===void 0)&&n.ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,i=t.parts[0];if(i.length>0&&i[0]===`
- `){var s;let a=this._getContainer();a!=null&&a.children.length===0&&!((s=this._getTagDefinition(a))===null||s===void 0)&&s.ignoreFirstLf&&(i=i.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[i]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?i+=t.parts.join("").replace(/&([^;]+);/g,HC):t.type===9?i+=t.parts[0]:i+=t.parts.join("");if(i.length>0){let a=t.sourceSpan;this._addToParent(new cN(i,new mt(n.start,a.end,n.fullStart,n.details),r))}}_closeVoidElement(){var t;let r=this._getContainer();r!==null&&!((t=this._getTagDefinition(r))===null||t===void 0)&&t.isVoid&&this._containerStack.pop()}_consumeElementStartTag(t){var r;let n=[],i=[],s=[];this._consumeAttributesAndDirectives(n,i,s);let a=this._getElementFullName(t,this._getClosestElementLikeParent()),o=this._getTagDefinition(a),u=!1;if(this._peek.type===2){this._advance(),u=!0;let x=this._getTagDefinition(a);this.canSelfClose||x?.canSelfClose||Pf(a)!==null||x?.isVoid||this.errors.push(lr.create(a,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),u=!1);let h=this._peek.sourceSpan.fullStart,c=new mt(t.sourceSpan.start,h,t.sourceSpan.fullStart),p=new mt(t.sourceSpan.start,h,t.sourceSpan.fullStart),d=new mt(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),f=new Ta(a,n,i,[],u,c,p,void 0,d,o?.isVoid??!1,void 0,s),D=this._getContainer(),g=D!==null&&!!(!((r=this._getTagDefinition(D))===null||r===void 0)&&r.isClosedByChild(f.name));this._pushContainer(f,g),u?this._popContainer(a,Ta,c):t.type===4&&(this._popContainer(a,Ta,null),this.errors.push(lr.create(a,c,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(t){var r;let n=t.parts[0],i=[],s=[],a=[];this._consumeAttributesAndDirectives(i,s,a);let o=this._getClosestElementLikeParent(),u=this._getComponentTagName(t,o),h=this._getComponentFullName(t,o),c=this._peek.type===37;this._advance();let p=this._peek.sourceSpan.fullStart,d=new mt(t.sourceSpan.start,p,t.sourceSpan.fullStart),f=new mt(t.sourceSpan.start,p,t.sourceSpan.fullStart),D=new Zi(n,u,h,i,s,[],c,d,f,void 0,void 0,a),g=this._getContainer(),x=g!==null&&D.tagName!==null&&!!(!((r=this._getTagDefinition(g))===null||r===void 0)&&r.isClosedByChild(D.tagName));this._pushContainer(D,x),c?this._popContainer(h,Zi,d):t.type===39&&(this._popContainer(h,Zi,null),this.errors.push(lr.create(h,d,`Opening tag "${h}" not terminated.`)))}_consumeAttributesAndDirectives(t,r,n){for(;this._peek.type===15||this._peek.type===40||this._peek.type===12;)if(this._peek.type===40)r.push(this._consumeDirective(this._peek));else if(this._peek.type===15)t.push(this._consumeAttr(this._advance()));else{let i=this._advance();n.push(new mN(i.parts[0],i.parts[1],i.sourceSpan))}}_consumeComponentEndTag(t){let r=this._getComponentFullName(t,this._getClosestElementLikeParent());if(!this._popContainer(r,Zi,t.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],i;n instanceof Zi&&n.componentName===t.parts[0]?i=`, did you mean "${n.fullName}"?`:i=". It may happen when the tag has already been closed by another tag.";let s=`Unexpected closing tag "${r}"${i}`;this.errors.push(lr.create(r,t.sourceSpan,s))}}_getTagDefinition(t){return typeof t=="string"?this.tagDefinitionResolver(t):t instanceof Ta?this.tagDefinitionResolver(t.name):t instanceof Zi&&t.tagName!==null?this.tagDefinitionResolver(t.tagName):null}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeElementEndTag(t){var r;let n=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t,this._getClosestElementLikeParent());if(n&&!((r=this._getTagDefinition(n))===null||r===void 0)&&r.isVoid)this.errors.push(lr.create(n,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(n,Ta,t.sourceSpan)){let i=`Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(lr.create(n,t.sourceSpan,i))}}_popContainer(t,r,n){let i=!1;for(let a=this._containerStack.length-1;a>=0;a--){var s;let o=this._containerStack[a],u=o instanceof Zi?o.fullName:o.name;if(Pf(u)?u===t:(u===t||t===null)&&o instanceof r)return o.endSourceSpan=n,o.sourceSpan.end=n!==null?n.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!i;(o instanceof Lo||!(!((s=this._getTagDefinition(o))===null||s===void 0)&&s.closedByParent))&&(i=!0)}return!1}_consumeAttr(t){let r=nc(t.parts[0],t.parts[1]),n=t.sourceSpan.end,i;this._peek.type===16&&(i=this._advance());let s="",a=[],o,u;if(this._peek.type===17)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===17||this._peek.type===18||this._peek.type===9;){let c=this._advance();a.push(c),c.type===18?s+=c.parts.join("").replace(/&([^;]+);/g,HC):c.type===9?s+=c.parts[0]:s+=c.parts.join(""),u=n=c.sourceSpan.end}this._peek.type===16&&(u=n=this._advance().sourceSpan.end);let h=o&&u&&new mt(i?.sourceSpan.start??o.start,u,i?.sourceSpan.fullStart??o.fullStart);return new fN(r,s,new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,h,a.length>0?a:void 0,void 0)}_consumeDirective(t){let r=[],n=t.sourceSpan.end,i=null;if(this._advance(),this._peek.type===41){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===15;)r.push(this._consumeAttr(this._advance()));this._peek.type===42?(i=this._peek.sourceSpan,this._advance()):this.errors.push(lr.create(null,t.sourceSpan,"Unterminated directive definition"))}let s=new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new mt(s.start,i===null?t.sourceSpan.end:i.end,s.fullStart);return new gN(t.parts[0],r,a,s,i)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new OC(o.parts[0],o.sourceSpan))}this._peek.type===27&&this._advance();let n=this._peek.sourceSpan.fullStart,i=new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Lo(t.parts[0],r,[],i,t.sourceSpan,s);this._pushContainer(a,!1)}_consumeBlockClose(t){let r=this._containerStack.length,n=this._containerStack[r-1];if(!this._popContainer(null,Lo,t.sourceSpan)){if(this._containerStack.length<r){let i=n instanceof Zi?n.fullName:n.name;this.errors.push(lr.create(null,t.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${i}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`));return}this.errors.push(lr.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "}" HTML entity instead.'))}}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new OC(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,i=new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new mt(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Lo(t.parts[0],r,[],i,t.sourceSpan,s);this._pushContainer(a,!1),this._popContainer(null,Lo,null),this.errors.push(lr.create(t.parts[0],i,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(t){let r=t.parts[0],n,i;if(this._peek.type!==32){this.errors.push(lr.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==33){this.errors.push(lr.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));return}else i=this._advance();let s=i.sourceSpan.end,a=new mt(t.sourceSpan.start,s,t.sourceSpan.fullStart),o=t.sourceSpan.toString().lastIndexOf(r),u=t.sourceSpan.start.moveBy(o),h=new mt(u,t.sourceSpan.end),c=new MC(r,n.parts[0],a,h,n.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(t){let r=t.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let i=t.sourceSpan.toString().lastIndexOf(r),s=t.sourceSpan.start.moveBy(i),a=new mt(s,t.sourceSpan.end),o=new mt(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),u=new MC(r,"",t.sourceSpan,a,o);this._addToParent(u)}this.errors.push(lr.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let t=this._containerStack.length-1;t>-1;t--){let r=this._containerStack[t];if(r instanceof Ta||r instanceof Zi)return r}return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r){let n=this._getPrefix(t,r);return nc(n,t.parts[1])}_getComponentFullName(t,r){let n=t.parts[0],i=this._getComponentTagName(t,r);return i===null?n:i.startsWith(":")?n+i:`${n}:${i}`}_getComponentTagName(t,r){let n=this._getPrefix(t,r),i=t.parts[2];return!n&&!i?null:!n&&i?i:nc(n,i||"ng-component")}_getPrefix(t,r){var n;let i,s;if(t.type===35||t.type===39||t.type===38?(i=t.parts[1],s=t.parts[2]):(i=t.parts[0],s=t.parts[1]),i=i||((n=this._getTagDefinition(s))===null||n===void 0?void 0:n.implicitNamespacePrefix)||"",!i&&r){let a=r instanceof Ta?r.name:r.tagName;if(a!==null){let o=Go(a)[1],u=this._getTagDefinition(o);u!==null&&!u.preventNamespaceInheritance&&(i=Pf(a))}}return i}};function zC(e,t){return e.length>0&&e[e.length-1]===t}function HC(e,t){return oc[t]!==void 0?oc[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var qN=class extends RN{constructor(){super(F0)}parse(e,t,r,n=!1,i){return super.parse(e,t,r,n,i)}},y0;function T0(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,allowStartTagComments:i=!1,isTagNameCaseSensitive:s=!1,getTagContentType:a,tokenizeAngularBlocks:o=!1,tokenizeAngularLetDeclaration:u=!1,enableAngularSelectorlessSyntax:h=!1}=t;return y0??(y0=new qN),y0.parse(e,"angular-html-parser",{tokenizeExpansionForms:o,canSelfClose:r,allowHtmComponentClosingTags:n,allowStartTagComments:i,tokenizeBlocks:o,tokenizeLet:u,selectorlessEnabled:h},s,a)}var UN=[$N,zN,WN,JN,KN,QN,XN,YN,ZN,GN];function VN(e,t){for(let r of UN)r(e,t);return e}function $N(e){e.walk(t=>{if(t.kind==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].kind==="text"&&t.children[0].value[0]===`
- `){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function zN(e){let t=r=>r.kind==="element"&&r.prev?.kind==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&r.firstChild?.kind==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset;e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let i=r.children[n];if(!t(i))continue;let s=i.prev,a=i.firstChild;r.removeChild(s),n--;let o=new mt(s.sourceSpan.start,a.sourceSpan.end),u=new mt(o.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=u,i.startSourceSpan=o,i.removeChild(a)}})}function HN(e,t,r){e.walk(n=>{if(n.children)for(let i=0;i<n.children.length;i++){let s=n.children[i];if(s.kind!=="text"&&!t(s))continue;s.kind!=="text"&&(s.kind="text",s.value=r(s));let a=s.prev;!a||a.kind!=="text"||(a.value+=s.value,a.sourceSpan=new mt(a.sourceSpan.start,s.sourceSpan.end),n.removeChild(s),i--)}})}function WN(e){return HN(e,t=>t.kind==="cdata",t=>`<![CDATA[${t.value}]]>`)}function GN(e){let t=r=>r.kind==="element"&&r.attrs.length===0&&!Of(r.startTagComments)&&r.children.length===1&&r.firstChild.kind==="text"&&!Mn.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&r.prev?.kind==="text"&&r.next?.kind==="text";e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let i=r.children[n];if(!t(i))continue;let s=i.prev,a=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+a.value,s.sourceSpan=new mt(s.sourceSpan.start,a.sourceSpan.end),s.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,s.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(i),n--,r.removeChild(a)}})}function JN(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/s;e.walk(n=>{if(iP(n,t))for(let i of n.children){if(i.kind!=="text")continue;let s=i.sourceSpan.start,a,o=i.value.split(r);for(let u=0;u<o.length;u++,s=a){let h=o[u];if(u%2===0){a=s.moveBy(h.length),h.length>0&&n.insertChildBefore(i,{kind:"text",value:h,sourceSpan:new mt(s,a)});continue}a=s.moveBy(h.length+4),n.insertChildBefore(i,{kind:"interpolation",sourceSpan:new mt(s,a),children:h.length===0?[]:[{kind:"text",value:h,sourceSpan:new mt(s.moveBy(2),a.moveBy(-2))}]})}n.removeChild(i)}})}function KN(e,t){e.walk(r=>{let n=r.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind==="text"&&Mn.trim(n[0].value).length===0){r.hasDanglingSpaces=n.length>0,r.$children=[];return}let i=sP(r,t),s=CF(r);if(!i)for(let a=0;a<n.length;a++){let o=n[a];if(o.kind!=="text")continue;let{leadingWhitespace:u,text:h,trailingWhitespace:c}=rP(o.value),p=o.prev,d=o.next;h?(o.value=h,o.sourceSpan=new mt(o.sourceSpan.start.moveBy(u.length),o.sourceSpan.end.moveBy(-c.length)),u&&(p&&(p.hasTrailingSpaces=!0),o.hasLeadingSpaces=!0),c&&(o.hasTrailingSpaces=!0,d&&(d.hasLeadingSpaces=!0))):(r.removeChild(o),a--,(u||c)&&(p&&(p.hasTrailingSpaces=!0),d&&(d.hasLeadingSpaces=!0)))}r.isWhitespaceSensitive=i,r.isIndentationSensitive=s})}function XN(e){e.walk(t=>{t.isSelfClosing=!t.children||t.kind==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function YN(e,t){e.walk(r=>{r.kind==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function QN(e,t){e.walk(r=>{r.cssDisplay=CP(r,t)})}function ZN(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=uP(r,t);return}for(let i of n)i.isLeadingSpaceSensitive=aP(i,t),i.isTrailingSpaceSensitive=oP(i,t);for(let i=0;i<n.length;i++){let s=n[i];s.isLeadingSpaceSensitive=(i===0||s.prev.isTrailingSpaceSensitive)&&s.isLeadingSpaceSensitive,s.isTrailingSpaceSensitive=(i===n.length-1||s.next.isLeadingSpaceSensitive)&&s.isTrailingSpaceSensitive}}})}var e7=VN;function t7(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[cr(z0(e,t,r)),Kt];case"element":case"ieConditionalComment":return WI(e,t,r);case"angularControlFlowBlock":return RI(e,t,r);case"angularControlFlowBlockParameters":return $I(e,t,r);case"angularControlFlowBlockParameter":return Mn.trim(n.expression);case"angularLetDeclaration":return cr(["@let ",cr([n.id," =",cr(Fi([Zt,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return zI(e,t,r);case"angularIcuCase":return HI(e,t,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tc(n),ec(n)];case"interpolation":return[tc(n,t),...e.map(r,"children"),ec(n,t)];case"text":{if(n.parent.kind==="interpolation"){let o=/\n[^\S\n]*$/,u=o.test(n.value),h=u?n.value.replace(o,""):n.value;return[ei(h),u?Kt:""]}let i=Ia(n,t),s=_F(n),a=Ba(n,t);return s[0]=[i,s[0]],s.push([s.pop(),a]),dF(s)}case"docType":return[cr([tc(n,t)," ",Hr(0,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ec(n,t)];case"comment":return[Ia(n,t),ei(t.originalText.slice(Ro(n),qf(n))),Ba(n,t)];case"attribute":{if(n.value===null)return n.rawName;let i=wF(n.value),s=PF(n,t)?"":F4(i,'"');return[n.rawName,"=",s,ei(s==='"'?Hr(0,i,'"',"""):Hr(0,i,"'","'")),s]}case"startTagComment":return GI(e);default:throw new w4(n,"HTML")}}var r7={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:e7,print:t7,insertPragma:OI,massageAstNode:RF,embed:CI,getVisitorKeys:SI},n7=r7,JF=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["LWC","lwc"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"text.html.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],WC={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."}},GC="HTML",i7={bracketSameLine:WC.bracketSameLine,htmlWhitespaceSensitivity:{category:GC,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:WC.singleAttributePerLine,vueIndentScriptAndStyle:{category:GC,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},KF=i7,W0={};ZC(W0,{angular:()=>P7,html:()=>w7,lwc:()=>N7,mjml:()=>B7,vue:()=>I7});function s7(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var a7=s7,o7={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function XF(e){return{...o7,...e}}function YF(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:i,shouldParseAsRawText:s,tokenizeAngularBlocks:a,tokenizeAngularLetDeclaration:o}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:i,getTagContentType:s?(...u)=>s(...u)?JI.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:a,tokenizeAngularLetDeclaration:o}}var g0=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["command","commandfor","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["closedby","open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alpha","alt","autocomplete","checked","colorspace","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),u7=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fencedframe","fieldset","figcaption","figure","font","footer","form","frame","frameset","geolocation","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","selectedcontent","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Bf={attrs:!0,children:!0,cases:!0,expression:!0},JC=new Set(["parent"]),Mo,v0,S0,l7=class Zl{constructor(t={}){t4(this,Mo),FC(this,"kind"),FC(this,"parent");for(let r of new Set([...JC,...Object.keys(t)]))this.setProperty(r,t[r]);if(Mf(t))for(let r of Object.getOwnPropertySymbols(t))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Bf&&(r=r.map(n=>this.createChild(n))),!JC.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Bf){let i=this[n];if(i){let s=p7(i,a=>a.map(t));r!==i&&(r??(r=new Zl({parent:this.parent})),r.setProperty(n,s))}}if(r)for(let n in this)n in Bf||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Bf){let n=this[r];if(n)for(let i=0;i<n.length;i++)n[i].walk(t)}t(this)}createChild(t){let r=t instanceof Zl?t.clone():new Zl(t);return r.setProperty("parent",this),r}insertChildBefore(t,r){let n=this.$children;n.splice(n.indexOf(t),0,this.createChild(r))}removeChild(t){let r=this.$children;r.splice(r.indexOf(t),1)}replaceChild(t,r){let n=this.$children;n[n.indexOf(t)]=this.createChild(r)}clone(){return new Zl(this)}get $children(){return this[Tf(this,Mo,v0)]}set $children(t){this[Tf(this,Mo,v0)]=t}get firstChild(){return this.$children?.[0]}get lastChild(){return qo(1,this.$children,-1)}get prev(){let t=Tf(this,Mo,S0);return t[t.indexOf(this)-1]}get next(){let t=Tf(this,Mo,S0);return t[t.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(t=>[t.fullName,t.value]))}};Mo=new WeakSet,v0=function(){return this.kind==="angularIcuCase"?"expression":this.kind==="angularIcuExpression"?"cases":"children"},S0=function(){return this.parent?.$children??[]};var c7=l7;function p7(e,t){let r=e.map(t);return r.some((n,i)=>n!==e[i])?r:e}var h7=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:f7},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:m7},{regex:/^<!\s*\[endif\]$/,parse:D7}];function d7(e,t){if(e.value)for(let{regex:r,parse:n}of h7){let i=e.value.match(r);if(i)return n(e,i,t)}return null}function f7(e,t,r){let{openingTagSuffix:n,condition:i,data:s}=t.groups,a=4+n.length,o=e.sourceSpan.start.moveBy(a),u=o.moveBy(s.length),[h,c]=(()=>{try{return[!0,r(s,o).children]}catch{return[!1,[{kind:"text",value:s,sourceSpan:new mt(o,u)}]]}})();return{kind:"ieConditionalComment",complete:h,children:c,condition:Hr(0,i.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new mt(e.sourceSpan.start,o),endSourceSpan:new mt(u,e.sourceSpan.end)}}function m7(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:Hr(0,r.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function D7(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var y7=class extends xN{visitExpansionCase(e,t){t.parseOptions.name==="angular"&&this.visitChildren(t,r=>{r(e.expression)})}visit(e,{parseOptions:t}){F7(e),A7(e,t),k7(e,t),b7(e)}};function g7(e,t,r,n){let i=r.name==="angular";zF(new y7,e.children,{parseOptions:r}),t&&e.children.unshift(t);let s=new c7(e);return s.walk(a=>{if(a.kind==="comment"){let o=d7(a,n);o&&a.parent.replaceChild(a,o)}else i&&a.kind==="element"&&a.comments&&(a.startTagComments=a.comments,delete a.comments);i&&(x7(a),E7(a),C7(a))}),s}function x7(e){if(e.kind==="block"){if(e.name=Hr(0,e.name.toLowerCase(),/\s+/g," ").trim(),e.kind="angularControlFlowBlock",!Of(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new mt(e.parameters[0].sourceSpan.start,qo(0,e.parameters,-1).sourceSpan.end)}}}function E7(e){e.kind==="letDeclaration"&&(e.kind="angularLetDeclaration",e.id=e.name,e.init={kind:"angularLetDeclarationInitializer",sourceSpan:new mt(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function C7(e){e.kind==="expansion"&&(e.kind="angularIcuExpression"),e.kind==="expansionCase"&&(e.kind="angularIcuCase")}function KC(e,t){let r=e.toLowerCase();return t(r)?r:e}function XC(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":",1)[0]:null,r=e.nameSpan.toString(),n=t!==null&&r.startsWith(`${t}:`),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n}function F7(e){switch(e.kind){case"element":XC(e);for(let t of e.attrs)XC(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString();break}}function A7(e,t){if(e.kind==="element"){let r=F0(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||cc(e)?e.tagDefinition=r:e.tagDefinition=F0("")}}function b7(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new mt(e.sourceSpan.start,e.endSourceSpan.end))}function k7(e,t){if(e.kind==="element"&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||cc(e))&&(e.name=KC(e.name,r=>u7.has(r))),t.normalizeAttributeName))for(let r of e.attrs)r.namespace||(r.name=KC(r.name,n=>g0.has(e.name)&&(g0.get("*").has(n)||g0.get(e.name).has(n))))}function QF(e,t){let{rootNodes:r,errors:n}=T0(e,YF(t));return n.length>0&&w0(n[0]),{parseOptions:t,rootNodes:r}}function T7(e,t){let r=YF(t),{rootNodes:n,errors:i}=T0(e,r);if(n.some(u=>u.kind==="docType"&&u.value==="html"||u.kind==="element"&&u.name.toLowerCase()==="html"))return QF(e,G0);let s,a=()=>s??(s=T0(e,{...r,getTagContentType:void 0})),o=u=>{let{offset:h}=u.startSourceSpan.start;return a().rootNodes.find(c=>c.kind==="element"&&c.startSourceSpan.start.offset===h)??u};for(let[u,h]of n.entries())if(h.kind==="element"){if(h.isVoid)i=a().errors,n[u]=o(h);else if(v7(h)){let{endSourceSpan:c,startSourceSpan:p}=h,d=a().errors.find(f=>f.span.start.offset>p.start.offset&&f.span.start.offset<c.end.offset);d&&w0(d),n[u]=o(h)}}return i.length>0&&w0(i[0]),{parseOptions:t,rootNodes:n}}function v7(e){if(e.kind!=="element"||e.name!=="template")return!1;let t=e.attrs.find(r=>r.name==="lang")?.value;return!t||t==="html"}function w0(e){let{msg:t,span:{start:r,end:n}}=e;throw a7(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function S7(e,t,r,n,i,s){let{offset:a}=n,o=gF(t.slice(0,a))+r,u=ZF(o,e,{...i,shouldParseFrontMatter:!1},s);u.sourceSpan=new mt(n,qo(0,u.children,-1).sourceSpan.end);let h=u.children[0];return h.length===a?u.children.shift():(h.sourceSpan=new mt(h.sourceSpan.start.moveBy(a),h.sourceSpan.end),h.value=h.value.slice(a)),u}function ZF(e,t,r,n={}){let{frontMatter:i,content:s}=r.shouldParseFrontMatter?Y4(e):{content:e},a=new $F(e,n.filepath),o=new A0(a,0,0,0),u=o.moveBy(e.length),{parseOptions:h,rootNodes:c}=t(s,r),p={kind:"root",sourceSpan:new mt(o,u),children:c},d;if(i){let[f,D]=[i.start,i.end].map(g=>new A0(a,g.index,g.line-1,g.column));d={...i,kind:"frontMatter",sourceSpan:new mt(f,D)}}return g7(p,d,h,(f,D)=>S7(t,e,f,D,h,n))}var G0=XF({name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function mc(e){let t=XF(e),r=t.name==="vue"?T7:QF;return{parse:(n,i)=>ZF(n,r,t,i),hasPragma:NI,hasIgnorePragma:LI,astFormat:"html",locStart:Ro,locEnd:qf}}var w7=mc(G0),_7=new Set(["mj-style","mj-raw"]),B7=mc({...G0,name:"mjml",shouldParseAsRawText:e=>_7.has(e)}),P7=mc({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),I7=mc({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:i,value:s})=>i==="lang"&&s!=="html"&&s!==""&&s!==void 0))}}),N7=mc({name:"lwc",canSelfClose:!1}),eA={html:n7};var w1={};wo(w1,{default:()=>kA,languages:()=>hb,options:()=>db,parsers:()=>T1,printers:()=>Cb});Jt();var L7=Object.create,o1=Object.defineProperty,O7=Object.getOwnPropertyDescriptor,M7=Object.getOwnPropertyNames,R7=Object.getPrototypeOf,j7=Object.prototype.hasOwnProperty,Oe=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},lA=(e,t)=>{for(var r in t)o1(e,r,{get:t[r],enumerable:!0})},q7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of M7(t))!j7.call(e,i)&&i!==r&&o1(e,i,{get:()=>t[i],enumerable:!(n=O7(t,i))||n.enumerable});return e},Qo=(e,t,r)=>(r=e!=null?L7(R7(e)):{},q7(t||!e||!e.__esModule?o1(r,"default",{value:e,enumerable:!0}):r,e)),U7=Oe((e,t)=>{var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n}),cA=Oe(()=>{}),u1=Oe((e,t)=>{"use strict";var r=U7(),n=cA(),i=class pA extends Error{constructor(a,o,u,h,c,p){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),h&&(this.source=h),p&&(this.plugin=p),typeof o<"u"&&typeof u<"u"&&(typeof o=="number"?(this.line=o,this.column=u):(this.line=o.line,this.column=o.column,this.endLine=u.line,this.endColumn=u.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,pA)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(a){if(!this.source)return"";let o=this.source;a==null&&(a=r.isColorSupported);let u=g=>g,h=g=>g,c=g=>g;if(a){let{bold:g,gray:x,red:A}=r.createColors(!0);h=C=>g(A(C)),u=C=>x(C),n&&(c=C=>n(C))}let p=o.split(/\r?\n/),d=Math.max(this.line-3,0),f=Math.min(this.line+2,p.length),D=String(f).length;return p.slice(d,f).map((g,x)=>{let A=d+1+x,C=" "+(" "+A).slice(-D)+" | ";if(A===this.line){if(g.length>160){let P=20,v=Math.max(0,this.column-P),w=Math.max(this.column+P,this.endColumn+P),I=g.slice(v,w),O=u(C.replace(/\d/g," "))+g.slice(0,Math.min(this.column-1,P-1)).replace(/[^\t]/g," ");return h(">")+u(C)+c(I)+`
- `+O+h("^")}let k=u(C.replace(/\d/g," "))+g.slice(0,this.column-1).replace(/[^\t]/g," ");return h(">")+u(C)+c(g)+`
- `+k+h("^")}return" "+u(C)+c(g)}).join(`
- `)}toString(){let a=this.showSourceCode();return a&&(a=`
-
- `+a+`
- `),this.name+": "+this.message+a}};t.exports=i,i.default=i}),l1=Oe((e,t)=>{"use strict";var r=/(<)(\/?style\b)/gi,n=/(<)(!--)/g;function i(u){return typeof u!="string"||!u.includes("<")?u:u.replace(r,"\\3c $2").replace(n,"\\3c $2")}var s={after:`
- `,beforeClose:`
- `,beforeComment:`
- `,beforeDecl:`
- `,beforeOpen:" ",beforeRule:`
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function a(u){return u[0].toUpperCase()+u.slice(1)}var o=class{constructor(u){this.builder=u}atrule(u,h){let c=u.raws,p="@"+u.name,d=u.params?this.rawValue(u,"params"):"";if(typeof c.afterName<"u"?p+=c.afterName:d&&(p+=" "),u.nodes)this.block(u,p+d);else{let f=(c.between||"")+(h?";":"");this.builder(i(p+d+f),u)}}beforeAfter(u,h){let c;u.type==="decl"?c=this.raw(u,null,"beforeDecl"):u.type==="comment"?c=this.raw(u,null,"beforeComment"):h==="before"?c=this.raw(u,null,"beforeRule"):c=this.raw(u,null,"beforeClose");let p=u.parent,d=0;for(;p&&p.type!=="root";)d+=1,p=p.parent;if(c.includes(`
- `)){let f=this.raw(u,null,"indent");if(f.length)for(let D=0;D<d;D++)c+=f}return c}block(u,h){let c=this.raw(u,"between","beforeOpen");this.builder(i(h+c)+"{",u,"start");let p;u.nodes&&u.nodes.length?(this.body(u),p=this.raw(u,"after")):p=this.raw(u,"after","emptyBody"),p&&this.builder(i(p)),this.builder("}",u,"end")}body(u){let h=u.nodes,c=h.length-1;for(;c>0&&h[c].type==="comment";)c-=1;let p=this.raw(u,"semicolon"),d=u.type==="document";for(let f=0;f<h.length;f++){let D=h[f],g=this.raw(D,"before");g&&this.builder(d?g:i(g)),this.stringify(D,c!==f||p)}}comment(u){let h=this.raw(u,"left","commentLeft"),c=this.raw(u,"right","commentRight");this.builder(i("/*"+h+u.text+c+"*/"),u)}decl(u,h){let c=u.raws,p=this.raw(u,"between","colon"),d=u.prop+p+this.rawValue(u,"value");u.important&&(d+=c.important||" !important"),h&&(d+=";"),this.builder(i(d),u)}document(u){this.body(u)}raw(u,h,c){let p;if(c||(c=h),h&&(p=u.raws[h],typeof p<"u"))return p;let d=u.parent;if(c==="before"&&(!d||d.type==="root"&&d.first===u||d&&d.type==="document"))return"";if(!d)return s[c];let f=u.root(),D=f.rawCache||(f.rawCache={});if(typeof D[c]<"u")return D[c];if(c==="before"||c==="after")return this.beforeAfter(u,c);{let g="raw"+a(c);this[g]?p=this[g](f,u):f.walk(x=>{if(p=x.raws[h],typeof p<"u")return!1})}return typeof p>"u"&&(p=s[c]),D[c]=p,p}rawBeforeClose(u){let h;return u.walk(c=>{if(c.nodes&&c.nodes.length>0&&typeof c.raws.after<"u")return h=c.raws.after,h.includes(`
- `)&&(h=h.replace(/[^\n]+$/,"")),!1}),h&&(h=h.replace(/\S/g,"")),h}rawBeforeComment(u,h){let c;return u.walkComments(p=>{if(typeof p.raws.before<"u")return c=p.raws.before,c.includes(`
- `)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(h,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(u,h){let c;return u.walkDecls(p=>{if(typeof p.raws.before<"u")return c=p.raws.before,c.includes(`
- `)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(h,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(u){let h;return u.walk(c=>{if(c.type!=="decl"&&(h=c.raws.between,typeof h<"u"))return!1}),h}rawBeforeRule(u){let h;return u.walk(c=>{if(c.nodes&&(c.parent!==u||u.first!==c)&&typeof c.raws.before<"u")return h=c.raws.before,h.includes(`
- `)&&(h=h.replace(/[^\n]+$/,"")),!1}),h&&(h=h.replace(/\S/g,"")),h}rawColon(u){let h;return u.walkDecls(c=>{if(typeof c.raws.between<"u")return h=c.raws.between.replace(/[^\s:]/g,""),!1}),h}rawEmptyBody(u){let h;return u.walk(c=>{if(c.nodes&&c.nodes.length===0&&(h=c.raws.after,typeof h<"u"))return!1}),h}rawIndent(u){if(u.raws.indent)return u.raws.indent;let h;return u.walk(c=>{let p=c.parent;if(p&&p!==u&&p.parent&&p.parent===u&&typeof c.raws.before<"u"){let d=c.raws.before.split(`
- `);return h=d[d.length-1],h=h.replace(/\S/g,""),!1}}),h}rawSemicolon(u){let h;return u.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(h=c.raws.semicolon,typeof h<"u"))return!1}),h}rawValue(u,h){let c=u[h],p=u.raws[h];return p&&p.value===c?p.raw:c}root(u){if(this.body(u),u.raws.after){let h=u.raws.after,c=u.parent&&u.parent.type==="document";this.builder(c?h:i(h))}}rule(u){this.block(u,this.rawValue(u,"selector")),u.raws.ownSemicolon&&this.builder(i(u.raws.ownSemicolon),u,"end")}stringify(u,h){if(!this[u.type])throw new Error("Unknown AST node type "+u.type+". Maybe you need to change PostCSS stringifier.");this[u.type](u,h)}};t.exports=o,o.default=o}),Jf=Oe((e,t)=>{"use strict";var r=l1();function n(i,s){new r(s).stringify(i)}t.exports=n,n.default=n}),c1=Oe((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),Kf=Oe((e,t)=>{"use strict";var r=u1(),n=l1(),i=Jf(),{isClean:s,my:a}=c1();function o(c,p){let d=new c.constructor;for(let f in c){if(!Object.prototype.hasOwnProperty.call(c,f)||f==="proxyCache")continue;let D=c[f],g=typeof D;f==="parent"&&g==="object"?p&&(d[f]=p):f==="source"?d[f]=D:Array.isArray(D)?d[f]=D.map(x=>o(x,d)):(g==="object"&&D!==null&&(D=o(D)),d[f]=D)}return d}function u(c,p){if(p&&typeof p.offset<"u")return p.offset;let d=1,f=1,D=0;for(let g=0;g<c.length;g++){if(f===p.line&&d===p.column){D=g;break}c[g]===`
- `?(d=1,f+=1):d+=1}return D}var h=class{get proxyOf(){return this}constructor(c={}){this.raws={},this[s]=!1,this[a]=!0;for(let p in c)if(p==="nodes"){this.nodes=[];for(let d of c[p])typeof d.clone=="function"&&d.parent?this.append(d.clone()):this.append(d)}else this[p]=c[p]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let p=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${p.input.from}:${p.start.line}:${p.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let p in c)this[p]=c[p];return this}before(c){return this.parent.insertBefore(this,c),this}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between}clone(c={}){let p=o(this);for(let d in c)p[d]=c[d];return p}cloneAfter(c={}){let p=this.clone(c);return this.parent.insertAfter(this,p),p}cloneBefore(c={}){let p=this.clone(c);return this.parent.insertBefore(this,p),p}error(c,p={}){if(this.source){let{end:d,start:f}=this.rangeBy(p);return this.source.input.error(c,{column:f.column,line:f.line},{column:d.column,line:d.line},p)}return new r(c)}getProxyProcessor(){return{get(c,p){return p==="proxyOf"?c:p==="root"?()=>c.root().toProxy():c[p]},set(c,p,d){return c[p]===d||(c[p]=d,(p==="prop"||p==="value"||p==="name"||p==="params"||p==="important"||p==="text")&&c.markDirty()),!0}}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let c=this;for(;c=c.parent;)c[s]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c={}){let p="document"in this.source.input?this.source.input.document:this.source.input.css,d={column:this.source.start.column,line:this.source.start.line,offset:u(p,this.source.start)};if(c.index)d=this.positionInside(c.index);else if(c.word){let f=p.slice(u(p,this.source.start),u(p,this.source.end)).indexOf(c.word);f!==-1&&(d=this.positionInside(f))}return d}positionInside(c){let p=this.source.start.column,d=this.source.start.line,f="document"in this.source.input?this.source.input.document:this.source.input.css,D=u(f,this.source.start),g=D+c;for(let x=D;x<g;x++)f[x]===`
- `?(p=1,d+=1):p+=1;return{column:p,line:d,offset:g}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let p="document"in this.source.input?this.source.input.document:this.source.input.css,d={column:this.source.start.column,line:this.source.start.line,offset:u(p,this.source.start)},f=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:u(p,this.source.end)+1}:{column:d.column+1,line:d.line,offset:d.offset+1};if(c.word){let D=p.slice(u(p,this.source.start),u(p,this.source.end)).indexOf(c.word);D!==-1&&(d=this.positionInside(D),f=this.positionInside(D+c.word.length))}else c.start?d={column:c.start.column,line:c.start.line,offset:u(p,c.start)}:typeof c.index=="number"&&(d=this.positionInside(c.index)),c.end?f={column:c.end.column,line:c.end.line,offset:u(p,c.end)}:typeof c.endIndex=="number"?f=this.positionInside(c.endIndex):typeof c.index=="number"&&(f=this.positionInside(c.index+1));return(f.line<d.line||f.line===d.line&&f.column<=d.column)&&(f={column:d.column+1,line:d.line,offset:d.offset+1}),{end:f,start:d}}raw(c,p){return new n().raw(this,c,p)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let p=this,d=!1;for(let f of c)f===this?d=!0:d?(this.parent.insertAfter(p,f),p=f):this.parent.insertBefore(p,f);d||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,p){let d={},f=p==null;p=p||new Map;let D=0;for(let g in this){if(!Object.prototype.hasOwnProperty.call(this,g)||g==="parent"||g==="proxyCache")continue;let x=this[g];if(Array.isArray(x))d[g]=x.map(A=>typeof A=="object"&&A.toJSON?A.toJSON(null,p):A);else if(typeof x=="object"&&x.toJSON)d[g]=x.toJSON(null,p);else if(g==="source"){if(x==null)continue;let A=p.get(x.input);A==null&&(A=D,p.set(x.input,D),D++),d[g]={end:x.end,inputId:A,start:x.start}}else d[g]=x}return f&&(d.inputs=[...p.keys()].map(g=>g.toJSON())),d}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(c=i){c.stringify&&(c=c.stringify);let p="";return c(this,d=>{p+=d}),p}warn(c,p,d={}){let f={node:this};for(let D in d)f[D]=d[D];return c.warn(p,f)}};t.exports=h,h.default=h}),Tc=Oe((e,t)=>{"use strict";var r=Kf(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Xf=Oe((e,t)=>{"use strict";var r=Kf(),n=class extends r{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};t.exports=n,n.default=n}),ja=Oe((e,t)=>{"use strict";var r=Tc(),n=Xf(),i=Kf(),{isClean:s,my:a}=c1(),o,u,h,c;function p(D){return D.map(g=>(g.nodes&&(g.nodes=p(g.nodes)),delete g.source,g))}function d(D){if(D[s]=!1,D.proxyOf.nodes)for(let g of D.proxyOf.nodes)d(g)}var f=class hA extends i{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(...g){for(let x of g){let A=this.normalize(x,this.last);for(let C of A)this.proxyOf.nodes.push(C)}return this.markDirty(),this}cleanRaws(g){if(super.cleanRaws(g),this.nodes)for(let x of this.nodes)x.cleanRaws(g)}each(g){if(!this.proxyOf.nodes)return;let x=this.getIterator(),A,C;for(;this.indexes[x]<this.proxyOf.nodes.length&&(A=this.indexes[x],C=g(this.proxyOf.nodes[A],A),C!==!1);)this.indexes[x]+=1;return delete this.indexes[x],C}every(g){return this.nodes.every(g)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let g=this.lastEach;return this.indexes[g]=0,g}getProxyProcessor(){return{get(g,x){return x==="proxyOf"?g:g[x]?x==="each"||typeof x=="string"&&x.startsWith("walk")?(...A)=>g[x](...A.map(C=>typeof C=="function"?(k,P)=>C(k.toProxy(),P):C)):x==="every"||x==="some"?A=>g[x]((C,...k)=>A(C.toProxy(),...k)):x==="root"?()=>g.root().toProxy():x==="nodes"?g.nodes.map(A=>A.toProxy()):x==="first"||x==="last"?g[x].toProxy():g[x]:g[x]},set(g,x,A){return g[x]===A||(g[x]=A,(x==="name"||x==="params"||x==="selector")&&g.markDirty()),!0}}}index(g){return typeof g=="number"?g:(g.proxyOf&&(g=g.proxyOf),this.proxyOf.nodes.indexOf(g))}insertAfter(g,x){let A=this.index(g),C=this.normalize(x,this.proxyOf.nodes[A]).reverse();A=this.index(g);for(let P of C)this.proxyOf.nodes.splice(A+1,0,P);let k;for(let P in this.indexes)k=this.indexes[P],A<k&&(this.indexes[P]=k+C.length);return this.markDirty(),this}insertBefore(g,x){let A=this.index(g),C=A===0?"prepend":!1,k=this.normalize(x,this.proxyOf.nodes[A],C).reverse();A=this.index(g);for(let v of k)this.proxyOf.nodes.splice(A,0,v);let P;for(let v in this.indexes)P=this.indexes[v],A<=P&&(this.indexes[v]=P+k.length);return this.markDirty(),this}normalize(g,x){if(typeof g=="string")g=p(u(g).nodes);else if(typeof g>"u")g=[];else if(Array.isArray(g)){g=g.slice(0);for(let A of g)A.parent&&A.parent.removeChild(A,"ignore")}else if(g.type==="root"&&this.type!=="document"){g=g.nodes.slice(0);for(let A of g)A.parent&&A.parent.removeChild(A,"ignore")}else if(g.type)g=[g];else if(g.prop){if(typeof g.value>"u")throw new Error("Value field is missed in node creation");typeof g.value!="string"&&(g.value=String(g.value)),g=[new n(g)]}else if(g.selector||g.selectors)g=[new c(g)];else if(g.name)g=[new o(g)];else if(g.text)g=[new r(g)];else throw new Error("Unknown node type in node creation");return g.map(A=>(A[a]||hA.rebuild(A),A=A.proxyOf,A.parent&&A.parent.removeChild(A),A[s]&&d(A),A.raws||(A.raws={}),typeof A.raws.before>"u"&&x&&typeof x.raws.before<"u"&&(A.raws.before=x.raws.before.replace(/\S/g,"")),A.parent=this.proxyOf,A))}prepend(...g){g=g.reverse();for(let x of g){let A=this.normalize(x,this.first,"prepend").reverse();for(let C of A)this.proxyOf.nodes.unshift(C);for(let C in this.indexes)this.indexes[C]=this.indexes[C]+A.length}return this.markDirty(),this}push(g){return g.parent=this,this.proxyOf.nodes.push(g),this}removeAll(){for(let g of this.proxyOf.nodes)g.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(g){g=this.index(g),this.proxyOf.nodes[g].parent=void 0,this.proxyOf.nodes.splice(g,1);let x;for(let A in this.indexes)x=this.indexes[A],x>=g&&(this.indexes[A]=x-1);return this.markDirty(),this}replaceValues(g,x,A){return A||(A=x,x={}),this.walkDecls(C=>{x.props&&!x.props.includes(C.prop)||x.fast&&!C.value.includes(x.fast)||(C.value=C.value.replace(g,A))}),this.markDirty(),this}some(g){return this.nodes.some(g)}walk(g){return this.each((x,A)=>{let C;try{C=g(x,A)}catch(k){throw x.addToError(k)}return C!==!1&&x.walk&&(C=x.walk(g)),C})}walkAtRules(g,x){return x?g instanceof RegExp?this.walk((A,C)=>{if(A.type==="atrule"&&g.test(A.name))return x(A,C)}):this.walk((A,C)=>{if(A.type==="atrule"&&A.name===g)return x(A,C)}):(x=g,this.walk((A,C)=>{if(A.type==="atrule")return x(A,C)}))}walkComments(g){return this.walk((x,A)=>{if(x.type==="comment")return g(x,A)})}walkDecls(g,x){return x?g instanceof RegExp?this.walk((A,C)=>{if(A.type==="decl"&&g.test(A.prop))return x(A,C)}):this.walk((A,C)=>{if(A.type==="decl"&&A.prop===g)return x(A,C)}):(x=g,this.walk((A,C)=>{if(A.type==="decl")return x(A,C)}))}walkRules(g,x){return x?g instanceof RegExp?this.walk((A,C)=>{if(A.type==="rule"&&g.test(A.selector))return x(A,C)}):this.walk((A,C)=>{if(A.type==="rule"&&A.selector===g)return x(A,C)}):(x=g,this.walk((A,C)=>{if(A.type==="rule")return x(A,C)}))}};f.registerParse=D=>{u=D},f.registerRule=D=>{c=D},f.registerAtRule=D=>{o=D},f.registerRoot=D=>{h=D},t.exports=f,f.default=f,f.rebuild=D=>{D.type==="atrule"?Object.setPrototypeOf(D,o.prototype):D.type==="rule"?Object.setPrototypeOf(D,c.prototype):D.type==="decl"?Object.setPrototypeOf(D,n.prototype):D.type==="comment"?Object.setPrototypeOf(D,r.prototype):D.type==="root"&&Object.setPrototypeOf(D,h.prototype),D[a]=!0,D.nodes&&D.nodes.forEach(g=>{f.rebuild(g)})}}),V7=Oe((e,t)=>{var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=(s,a=21)=>(o=a)=>{let u="",h=o|0;for(;h--;)u+=s[Math.random()*s.length|0];return u},i=(s=21)=>{let a="",o=s|0;for(;o--;)a+=r[Math.random()*64|0];return a};t.exports={nanoid:i,customAlphabet:n}}),$7=Oe(()=>{}),dA=Oe((e,t)=>{t.exports=class{}}),vc=Oe((e,t)=>{"use strict";var{nanoid:r}=V7(),{isAbsolute:n,resolve:i}={},{SourceMapConsumer:s,SourceMapGenerator:a}=$7(),{fileURLToPath:o,pathToFileURL:u}={},h=u1(),c=dA(),p=cA(),d=Symbol("lineToIndexCache"),f=!!(s&&a),D=!!(i&&n);function g(A){if(A[d])return A[d];let C=A.css.split(`
- `),k=new Array(C.length),P=0;for(let v=0,w=C.length;v<w;v++)k[v]=P,P+=C[v].length+1;return A[d]=k,k}var x=class{get from(){return this.file||this.id}constructor(A,C={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.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,C.document&&(this.document=C.document.toString()),C.from&&(!D||/^\w+:\/\//.test(C.from)||n(C.from)?this.file=C.from:this.file=i(C.from)),D&&f){let k=new c(this.css,C);if(k.text){this.map=k;let P=k.consumer().file;!this.file&&P&&(this.file=this.mapResolve(P))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(A,C,k,P={}){let v,w,I,O,R;if(C&&typeof C=="object"){let W=C,K=k;if(typeof W.offset=="number"){O=W.offset;let H=this.fromOffset(O);C=H.line,k=H.col}else C=W.line,k=W.column,O=this.fromLineAndColumn(C,k);if(typeof K.offset=="number"){I=K.offset;let H=this.fromOffset(I);w=H.line,v=H.col}else w=K.line,v=K.column,I=this.fromLineAndColumn(K.line,K.column)}else if(k)O=this.fromLineAndColumn(C,k);else{O=C;let W=this.fromOffset(O);C=W.line,k=W.col}let M=this.origin(C,k,w,v);return M?R=new h(A,M.endLine===void 0?M.line:{column:M.column,line:M.line},M.endLine===void 0?M.column:{column:M.endColumn,line:M.endLine},M.source,M.file,P.plugin):R=new h(A,w===void 0?C:{column:k,line:C},w===void 0?k:{column:v,line:w},this.css,this.file,P.plugin),R.input={column:k,endColumn:v,endLine:w,endOffset:I,line:C,offset:O,source:this.css},this.file&&(u&&(R.input.url=u(this.file).toString()),R.input.file=this.file),R}fromLineAndColumn(A,C){return g(this)[A-1]+C-1}fromOffset(A){let C=g(this),k=C[C.length-1],P=0;if(A>=k)P=C.length-1;else{let v=C.length-2,w;for(;P<v;)if(w=P+(v-P>>1),A<C[w])v=w-1;else if(A>=C[w+1])P=w+1;else{P=w;break}}return{col:A-C[P]+1,line:P+1}}mapResolve(A){return/^\w+:\/\//.test(A)?A:i(this.map.consumer().sourceRoot||this.map.root||".",A)}origin(A,C,k,P){if(!this.map)return!1;let v=this.map.consumer(),w=v.originalPositionFor({column:C-1,line:A});if(!w.source)return!1;let I;typeof k=="number"&&(I=v.originalPositionFor({column:P-1,line:k}));let O;n(w.source)?O=u(w.source):O=new URL(w.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let R={column:w.column+1,endColumn:I&&I.column+1,endLine:I&&I.line,line:w.line,url:O.toString()};if(O.protocol==="file:")if(o)R.file=o(O);else throw new Error("file: protocol is not available in this PostCSS build");let M=v.sourceContentFor(w.source);return M&&(R.source=M),R}toJSON(){let A={};for(let C of["hasBOM","css","file","id"])this[C]!=null&&(A[C]=this[C]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}};t.exports=x,x.default=x,p&&p.registerInput&&p.registerInput(x)}),p1=Oe((e,t)=>{"use strict";var r=ja(),n=class extends r{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};t.exports=n,n.default=n,r.registerAtRule(n)}),Sc=Oe((e,t)=>{"use strict";var r=ja(),n,i,s=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,o,u){let h=super.normalize(a);if(o){if(u==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let c of h)c.raws.before=o.raws.before}return h}removeChild(a,o){let u=this.index(a);return!o&&u===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[u].raws.before),super.removeChild(a)}toResult(a={}){return new n(new i,this,a).stringify()}};s.registerLazyResult=a=>{n=a},s.registerProcessor=a=>{i=a},t.exports=s,s.default=s,r.registerRoot(s)}),fA=Oe((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
- `," "];return r.split(n,i)},split(n,i,s){let a=[],o="",u=!1,h=0,c=!1,p="",d=!1;for(let f of n)d?d=!1:f==="\\"?d=!0:c?f===p&&(c=!1):f==='"'||f==="'"?(c=!0,p=f):f==="("?h+=1:f===")"?h>0&&(h-=1):h===0&&i.includes(f)&&(u=!0),u?(o!==""&&a.push(o.trim()),o="",u=!1):o+=f;return(s||o!=="")&&a.push(o.trim()),a}};t.exports=r,r.default=r}),h1=Oe((e,t)=>{"use strict";var r=ja(),n=fA(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(s){let a=this.selector?this.selector.match(/,\s*/):null,o=a?a[0]:","+this.raw("between","beforeOpen");this.selector=s.join(o)}constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),d1=Oe((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,s=/[\da-f]/i;t.exports=function(a,o={}){let u=a.css.valueOf(),h=o.ignoreErrors,c,p,d,f,D,g,x,A,C,k,P=u.length,v=0,w=[],I=[],O=-1;function R(){return v}function M(Z){throw a.error("Unclosed "+Z,v)}function W(){return I.length===0&&v>=P}function K(Z){if(I.length)return I.pop();if(v>=P)return;let $=Z?Z.ignoreUnclosed:!1;switch(c=u.charCodeAt(v),c){case 10:case 32:case 9:case 13:case 12:{f=v;do f+=1,c=u.charCodeAt(f);while(c===32||c===10||c===9||c===13||c===12);g=["space",u.slice(v,f)],v=f-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Y=String.fromCharCode(c);g=[Y,Y,v];break}case 40:{if(k=w.length?w.pop()[1]:"",C=u.charCodeAt(v+1),k==="url"&&C!==39&&C!==34&&C!==32&&C!==10&&C!==9&&C!==12&&C!==13){f=v;do{if(x=!1,f=u.indexOf(")",f+1),f===-1)if(h||$){f=v;break}else M("bracket");for(A=f;u.charCodeAt(A-1)===92;)A-=1,x=!x}while(x);g=["brackets",u.slice(v,f+1),v,f],v=f}else v<=O?g=["(","(",v]:(f=u.indexOf(")",v+1),p=u.slice(v,f+1),f===-1||i.test(p)?(O=f===-1?P:f,g=["(","(",v]):(g=["brackets",p,v,f],v=f));break}case 39:case 34:{D=c===39?"'":'"',f=v;do{if(x=!1,f=u.indexOf(D,f+1),f===-1)if(h||$){f=v+1;break}else M("string");for(A=f;u.charCodeAt(A-1)===92;)A-=1,x=!x}while(x);g=["string",u.slice(v,f+1),v,f],v=f;break}case 64:{r.lastIndex=v+1,r.test(u),r.lastIndex===0?f=u.length-1:f=r.lastIndex-2,g=["at-word",u.slice(v,f+1),v,f],v=f;break}case 92:{for(f=v,d=!0;u.charCodeAt(f+1)===92;)f+=1,d=!d;if(c=u.charCodeAt(f+1),d&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(f+=1,s.test(u.charAt(f)))){for(;s.test(u.charAt(f+1));)f+=1;u.charCodeAt(f+1)===32&&(f+=1)}g=["word",u.slice(v,f+1),v,f],v=f;break}default:{c===47&&u.charCodeAt(v+1)===42?(f=u.indexOf("*/",v+2)+1,f===0&&(h||$?f=u.length:M("comment")),g=["comment",u.slice(v,f+1),v,f],v=f):(n.lastIndex=v+1,n.test(u),n.lastIndex===0?f=u.length-1:f=n.lastIndex-2,g=["word",u.slice(v,f+1),v,f],w.push(g),v=f);break}}return v++,g}function H(Z){I.push(Z)}return{back:H,endOfFile:W,nextToken:K,position:R}}}),f1=Oe((e,t)=>{"use strict";var r=p1(),n=Tc(),i=Xf(),s=Sc(),a=h1(),o=d1(),u={empty:!0,space:!0};function h(d){for(let f=d.length-1;f>=0;f--){let D=d[f],g=D[3]||D[2];if(g)return g}}function c(d,f,D){let g="";for(let x=f;x<D;x++)g+=d[x][1];return g}var p=class{constructor(d){this.input=d,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let f=new r;f.name=d[1].slice(1),f.name===""&&this.unnamedAtrule(f,d),this.init(f,d[2]);let D,g,x,A=!1,C=!1,k=[],P=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),D=d[0],D==="("||D==="["?P.push(D==="("?")":"]"):D==="{"&&P.length>0?P.push("}"):D===P[P.length-1]&&P.pop(),P.length===0)if(D===";"){f.source.end=this.getPosition(d[2]),f.source.end.offset++,this.semicolon=!0;break}else if(D==="{"){C=!0;break}else if(D==="}"){if(k.length>0){for(x=k.length-1,g=k[x];g&&g[0]==="space";)g=k[--x];g&&(f.source.end=this.getPosition(g[3]||g[2]),f.source.end.offset++)}this.end(d);break}else k.push(d);else k.push(d);if(this.tokenizer.endOfFile()){A=!0;break}}f.raws.between=this.spacesAndCommentsFromEnd(k),k.length?(f.raws.afterName=this.spacesAndCommentsFromStart(k),this.raw(f,"params",k),A&&(d=k[k.length-1],f.source.end=this.getPosition(d[3]||d[2]),f.source.end.offset++,this.spaces=f.raws.between,f.raws.between="")):(f.raws.afterName="",f.params=""),C&&(f.nodes=[],this.current=f)}checkMissedSemicolon(d){let f=this.colon(d);if(f===!1)return;let D=0,g;for(let x=f-1;x>=0&&(g=d[x],!(g[0]!=="space"&&(D+=1,D===2)));x--);throw this.input.error("Missed semicolon",g[0]==="word"?g[3]+1:g[2])}colon(d){let f=0,D,g,x;for(let[A,C]of d.entries()){if(g=C,x=g[0],x==="("&&(f+=1),x===")"&&(f-=1),f===0&&x===":")if(!D)this.doubleColon(g);else{if(D[0]==="word"&&D[1]==="progid")continue;return A}D=g}return!1}comment(d){let f=new n;this.init(f,d[2]),f.source.end=this.getPosition(d[3]||d[2]),f.source.end.offset++;let D=d[1].slice(2,-2);if(!D.trim())f.text="",f.raws.left=D,f.raws.right="";else{let g=D.match(/^(\s*)([^]*\S)(\s*)$/);f.text=g[2],f.raws.left=g[1],f.raws.right=g[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(d,f){let D=new i;this.init(D,d[0][2]);let g=d[d.length-1];g[0]===";"&&(this.semicolon=!0,d.pop()),D.source.end=this.getPosition(g[3]||g[2]||h(d)),D.source.end.offset++;let x=0;for(;d[x][0]!=="word";)x===d.length-1&&this.unknownWord([d[x]]),x++;D.raws.before+=c(d,0,x),D.source.start=this.getPosition(d[x][2]);let A=x;for(;x<d.length;){let w=d[x][0];if(w===":"||w==="space"||w==="comment")break;x++}D.prop=c(d,A,x);let C=x,k;for(;x<d.length&&(k=d[x],x++,k[0]!==":");)k[0]==="word"&&/\w/.test(k[1])&&this.unknownWord([k]);D.raws.between=c(d,C,x),(D.prop[0]==="_"||D.prop[0]==="*")&&(D.raws.before+=D.prop[0],D.prop=D.prop.slice(1));let P=x;for(;x<d.length;){let w=d[x][0];if(w!=="space"&&w!=="comment")break;x++}let v=d.slice(P,x);d=d.slice(x),this.precheckMissedSemicolon(d);for(let w=d.length-1;w>=0;w--){if(k=d[w],k[1].toLowerCase()==="!important"){D.important=!0;let I=this.stringFrom(d,w);I=this.spacesFromEnd(d)+I,I!==" !important"&&(D.raws.important=I);break}else if(k[1].toLowerCase()==="important"){let I=d.slice(0),O="";for(let R=w;R>0;R--){let M=I[R][0];if(O.trim().startsWith("!")&&M!=="space")break;O=I.pop()[1]+O}O.trim().startsWith("!")&&(D.important=!0,D.raws.important=O,d=I)}if(k[0]!=="space"&&k[0]!=="comment")break}d.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(D.raws.between+=v.map(w=>w[1]).join(""),v=[]),this.raw(D,"value",v.concat(d),f),D.value.includes(":")&&!f&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let f=new a;this.init(f,d[2]),f.selector="",f.raws.between="",this.current=f}end(d){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(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}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(d){if(this.spaces+=d[1],this.current.nodes){let f=this.current.nodes[this.current.nodes.length-1];f&&f.type==="rule"&&!f.raws.ownSemicolon&&(f.raws.ownSemicolon=this.spaces,this.spaces="",f.source.end=this.getPosition(d[2]),f.source.end.offset+=f.raws.ownSemicolon.length)}}getPosition(d){let f=this.input.fromOffset(d);return{column:f.col,line:f.line,offset:d}}init(d,f){this.current.push(d),d.source={input:this.input,start:this.getPosition(f)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let f=!1,D=null,g=!1,x=null,A=[],C=d[1].startsWith("--"),k=[],P=d;for(;P;){if(D=P[0],k.push(P),D==="("||D==="[")x||(x=P),A.push(D==="("?")":"]");else if(C&&g&&D==="{")x||(x=P),A.push("}");else if(A.length===0)if(D===";")if(g){this.decl(k,C);return}else break;else if(D==="{"){this.rule(k);return}else if(D==="}"){this.tokenizer.back(k.pop()),f=!0;break}else D===":"&&(g=!0);else D===A[A.length-1]&&(A.pop(),A.length===0&&(x=null));P=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(f=!0),A.length>0&&this.unclosedBracket(x),f&&g){if(!C)for(;k.length&&(P=k[k.length-1][0],!(P!=="space"&&P!=="comment"));)this.tokenizer.back(k.pop());this.decl(k,C)}else this.unknownWord(k)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,f,D,g){let x,A,C=D.length,k="",P=!0,v,w;for(let I=0;I<C;I+=1)x=D[I],A=x[0],A==="space"&&I===C-1&&!g?P=!1:A==="comment"?(w=D[I-1]?D[I-1][0]:"empty",v=D[I+1]?D[I+1][0]:"empty",!u[w]&&!u[v]?k.slice(-1)===","?P=!1:k+=x[1]:P=!1):k+=x[1];if(!P){let I=D.reduce((O,R)=>O+R[1],"");d.raws[f]={raw:I,value:k}}d[f]=k}rule(d){d.pop();let f=new a;this.init(f,d[0][2]),f.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(f,"selector",d),this.current=f}spacesAndCommentsFromEnd(d){let f,D="";for(;d.length&&(f=d[d.length-1][0],!(f!=="space"&&f!=="comment"));)D=d.pop()[1]+D;return D}spacesAndCommentsFromStart(d){let f,D="";for(;d.length&&(f=d[0][0],!(f!=="space"&&f!=="comment"));)D+=d.shift()[1];return D}spacesFromEnd(d){let f,D="";for(;d.length&&(f=d[d.length-1][0],f==="space");)D=d.pop()[1]+D;return D}stringFrom(d,f){let D="";for(let g=f;g<d.length;g++)D+=d[g][1];return d.splice(f,d.length-f),D}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,f){throw this.input.error("At-rule without name",{offset:f[2]},{offset:f[2]+f[1].length})}};t.exports=p}),Yf=Oe((e,t)=>{"use strict";var r=ja(),n=vc(),i=f1();function s(a,o){let u=new n(a,o),h=new i(u);try{h.parse()}catch(c){throw c}return h.root}t.exports=s,s.default=s,r.registerParse(s)}),z7=Oe((e,t)=>{var r=d1(),n=vc();t.exports={isInlineComment(i){if(i[0]==="word"&&i[1].slice(0,2)==="//"){let s=i,a=[],o,u;for(;i;){if(/\r?\n/.test(i[1])){if(/['"].*\r?\n/.test(i[1])){a.push(i[1].substring(0,i[1].indexOf(`
- `))),u=i[1].substring(i[1].indexOf(`
- `));let c=this.input.css.valueOf().substring(this.tokenizer.position());u+=c,o=i[3]+c.length-u.length}else this.tokenizer.back(i);break}a.push(i[1]),o=i[2],i=this.tokenizer.nextToken({ignoreUnclosed:!0})}let h=["comment",a.join(""),s[2],o];return this.inlineComment(h),u&&(this.input=new n(u),this.tokenizer=r(this.input)),!0}else if(i[1]==="/"){let s=this.tokenizer.nextToken({ignoreUnclosed:!0});if(s[0]==="comment"&&/^\/\*/.test(s[1]))return s[0]="word",s[1]=s[1].slice(1),i[1]="//",this.tokenizer.back(s),t.exports.isInlineComment.bind(this)(i)}return!1}}}),H7=Oe((e,t)=>{t.exports={interpolation(r){let n=[r,this.tokenizer.nextToken()],i=["word","}"];if(n[0][1].length>1||n[1][0]!=="{")return this.tokenizer.back(n[1]),!1;for(r=this.tokenizer.nextToken();r&&i.includes(r[0]);)n.push(r),r=this.tokenizer.nextToken();let s=n.map(h=>h[1]),[a]=n,o=n.pop(),u=["word",s.join(""),a[2],o[2]];return this.tokenizer.back(r),this.tokenizer.back(u),!0}}}),W7=Oe((e,t)=>{var r=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,n=/\.[0-9]/,i=s=>{let[,a]=s,[o]=a;return(o==="."||o==="#")&&r.test(a)===!1&&n.test(a)===!1};t.exports={isMixinToken:i}}),G7=Oe((e,t)=>{var r=d1(),n=/^url\((.+)\)/;t.exports=i=>{let{name:s,params:a=""}=i;if(s==="import"&&a.length){i.import=!0;let o=r({css:a});for(i.filename=a.replace(n,"$1");!o.endOfFile();){let[u,h]=o.nextToken();if(u==="word"&&h==="url")return;if(u==="brackets"){i.options=h,i.filename=a.replace(h,"").trim();break}}}}}),J7=Oe((e,t)=>{var r=/:$/,n=/^:(\s+)?/;t.exports=i=>{let{name:s,params:a=""}=i;if(i.name.slice(-1)===":"){if(r.test(s)){let[o]=s.match(r);i.name=s.replace(o,""),i.raws.afterName=o+(i.raws.afterName||""),i.variable=!0,i.value=i.params}if(n.test(a)){let[o]=a.match(n);i.value=a.replace(o,""),i.raws.afterName=(i.raws.afterName||"")+o,i.variable=!0}}}}),K7=Oe((e,t)=>{var r=Tc(),n=f1(),{isInlineComment:i}=z7(),{interpolation:s}=H7(),{isMixinToken:a}=W7(),o=G7(),u=J7(),h=/(!\s*important)$/i;t.exports=class extends n{constructor(...c){super(...c),this.lastNode=null}atrule(c){s.bind(this)(c)||(super.atrule(c),o(this.lastNode),u(this.lastNode))}decl(...c){super.decl(...c),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(c){c[0][1]=` ${c[0][1]}`;let p=c.findIndex(g=>g[0]==="("),d=c.reverse().find(g=>g[0]===")"),f=c.reverse().indexOf(d),D=c.splice(p,f).map(g=>g[1]).join("");for(let g of c.reverse())this.tokenizer.back(g);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=D}init(c,p,d){super.init(c,p,d),this.lastNode=c}inlineComment(c){let p=new r,d=c[1].slice(2);if(this.init(p,c[2]),p.source.end=this.getPosition(c[3]||c[2]),p.inline=!0,p.raws.begin="//",/^\s*$/.test(d))p.text="",p.raws.left=d,p.raws.right="";else{let f=d.match(/^(\s*)([^]*[^\s])(\s*)$/);[,p.raws.left,p.text,p.raws.right]=f}}mixin(c){let[p]=c,d=p[1].slice(0,1),f=c.findIndex(C=>C[0]==="brackets"),D=c.findIndex(C=>C[0]==="("),g="";if((f<0||f>3)&&D>0){let C=c.reduce((W,K,H)=>K[0]===")"?H:W),k=c.slice(D,C+D).map(W=>W[1]).join(""),[P]=c.slice(D),v=[P[2],P[3]],[w]=c.slice(C,C+1),I=[w[2],w[3]],O=["brackets",k].concat(v,I),R=c.slice(0,D),M=c.slice(C+1);c=R,c.push(O),c=c.concat(M)}let x=[];for(let C of c)if((C[1]==="!"||x.length)&&x.push(C),C[1]==="important")break;if(x.length){let[C]=x,k=c.indexOf(C),P=x[x.length-1],v=[C[2],C[3]],w=[P[4],P[5]],I=["word",x.map(O=>O[1]).join("")].concat(v,w);c.splice(k,x.length,I)}let A=c.findIndex(C=>h.test(C[1]));A>0&&([,g]=c[A],c.splice(A,1));for(let C of c.reverse())this.tokenizer.back(C);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=d,g&&(this.lastNode.important=!0,this.lastNode.raws.important=g)}other(c){i.bind(this)(c)||super.other(c)}rule(c){let p=c[c.length-1],d=c[c.length-2];if(d[0]==="at-word"&&p[0]==="{"&&(this.tokenizer.back(p),s.bind(this)(d))){let f=this.tokenizer.nextToken();c=c.slice(0,c.length-2).concat([f]);for(let D of c.reverse())this.tokenizer.back(D);return}super.rule(c),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(c){let[p]=c;if(c[0][1]==="each"&&c[1][0]==="("){this.each(c);return}if(a(p)){this.mixin(c);return}super.unknownWord(c)}}}),X7=Oe((e,t)=>{var r=l1();t.exports=class extends r{atrule(n,i){if(!n.mixin&&!n.variable&&!n.function){super.atrule(n,i);return}let s=`${n.function?"":n.raws.identifier||"@"}${n.name}`,a=n.params?this.rawValue(n,"params"):"",o=n.raws.important||"";if(n.variable&&(a=n.value),typeof n.raws.afterName<"u"?s+=n.raws.afterName:a&&(s+=" "),n.nodes)this.block(n,s+a+o);else{let u=(n.raws.between||"")+o+(i?";":"");this.builder(s+a+u,n)}}comment(n){if(n.inline){let i=this.raw(n,"left","commentLeft"),s=this.raw(n,"right","commentRight");this.builder(`//${i}${n.text}${s}`,n)}else super.comment(n)}}}),Y7=Oe((e,t)=>{var r=vc(),n=K7(),i=X7();t.exports={parse(s,a){let o=new r(s,a),u=new n(o);return u.parse(),u.root.walk(h=>{let c=o.css.lastIndexOf(h.source.input.css);if(c===0)return;if(c+h.source.input.css.length!==o.css.length)throw new Error("Invalid state detected in postcss-less");let p=c+h.source.start.offset,d=o.fromOffset(c+h.source.start.offset);if(h.source.start={offset:p,line:d.line,column:d.col},h.source.end){let f=c+h.source.end.offset,D=o.fromOffset(c+h.source.end.offset);h.source.end={offset:f,line:D.line,column:D.col}}}),u.root},stringify(s,a){new i(a).stringify(s)},nodeToString(s){let a="";return t.exports.stringify(s,o=>{a+=o}),a}}}),m1=Oe((e,t)=>{"use strict";var r=ja(),n,i,s=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[])}toResult(a={}){return new n(new i,this,a).stringify()}};s.registerLazyResult=a=>{n=a},s.registerProcessor=a=>{i=a},t.exports=s,s.default=s}),Q7=Oe((e,t)=>{"use strict";var r=p1(),n=Tc(),i=Xf(),s=vc(),a=dA(),o=Sc(),u=h1();function h(c,p){if(Array.isArray(c))return c.map(x=>h(x));let{inputs:d,...f}=c;if(d){p=[];for(let x of d){let A={...x,__proto__:s.prototype};A.map&&(A.map={...A.map,__proto__:a.prototype}),p.push(A)}}let D;if(f.nodes&&(D=c.nodes.map(x=>h(x,p)),delete f.nodes),f.source){let{inputId:x,...A}=f.source;f.source=A,x!=null&&(f.source.input=p[x])}let g;if(f.type==="root")g=new o(f);else if(f.type==="decl")g=new i(f);else if(f.type==="rule")g=new u(f);else if(f.type==="comment")g=new n(f);else if(f.type==="atrule")g=new r(f);else throw new Error("Unknown node type: "+c.type);if(D){g.nodes=D;for(let x of D)x.parent=g}return g}t.exports=h,h.default=h}),mA=Oe((e,t)=>{t.exports=class{generate(){}}}),DA=Oe((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let s=i.node.rangeBy(i);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in i)this[s]=i[s]}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}};t.exports=r,r.default=r}),D1=Oe((e,t)=>{"use strict";var r=DA(),n=class{get content(){return this.css}constructor(i,s,a){this.processor=i,this.messages=[],this.root=s,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,s);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),yA=Oe((e,t)=>{"use strict";var r={};t.exports=function(n){r[n]||(r[n]=!0,typeof console<"u"&&console.warn&&console.warn(n))}}),gA=Oe((e,t)=>{"use strict";var r=ja(),n=m1(),i=mA(),s=Yf(),a=D1(),o=Sc(),u=Jf(),{isClean:h,my:c}=c1(),p=yA(),d={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={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},D={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function x(w){return typeof w=="object"&&typeof w.then=="function"}function A(w){let I=!1,O=d[w.type];return w.type==="decl"?I=w.prop.toLowerCase():w.type==="atrule"&&(I=w.name.toLowerCase()),I&&w.append?[O,O+"-"+I,g,O+"Exit",O+"Exit-"+I]:I?[O,O+"-"+I,O+"Exit",O+"Exit-"+I]:w.append?[O,g,O+"Exit"]:[O,O+"Exit"]}function C(w){let I;return w.type==="document"?I=["Document",g,"DocumentExit"]:w.type==="root"?I=["Root",g,"RootExit"]:I=A(w),{eventIndex:0,events:I,iterator:0,node:w,visitorIndex:0,visitors:[]}}function k(w){return w[h]=!1,w.nodes&&w.nodes.forEach(I=>k(I)),w}var P={},v=class xA{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(I,O,R){this.stringified=!1,this.processed=!1;let M;if(typeof O=="object"&&O!==null&&(O.type==="root"||O.type==="document"))M=k(O);else if(O instanceof xA||O instanceof a)M=k(O.root),O.map&&(typeof R.map>"u"&&(R.map={}),R.map.inline||(R.map.inline=!1),R.map.prev=O.map);else{let W=s;R.syntax&&(W=R.syntax.parse),R.parser&&(W=R.parser),W.parse&&(W=W.parse);try{M=W(O,R)}catch(K){this.processed=!0,this.error=K}M&&!M[c]&&r.rebuild(M)}this.result=new a(I,M,R),this.helpers={...P,postcss:P,result:this.result},this.plugins=this.processor.plugins.map(W=>typeof W=="object"&&W.prepare?{...W,...W.prepare(this.result)}:W)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(I){return this.async().catch(I)}finally(I){return this.async().then(I,I)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(I,O){let R=this.result.lastPlugin;try{O&&O.addToError(I),this.error=I,I.name==="CssSyntaxError"&&!I.plugin?(I.plugin=R.postcssPlugin,I.setMessage()):R.postcssVersion}catch(M){console&&console.error&&console.error(M)}return I}prepareVisitors(){this.listeners={};let I=(O,R,M)=>{this.listeners[R]||(this.listeners[R]=[]),this.listeners[R].push([O,M])};for(let O of this.plugins)if(typeof O=="object")for(let R in O){if(!f[R]&&/^[A-Z]/.test(R))throw new Error(`Unknown event ${R} in ${O.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!D[R])if(typeof O[R]=="object")for(let M in O[R])M==="*"?I(O,R,O[R][M]):I(O,R+"-"+M.toLowerCase(),O[R][M]);else typeof O[R]=="function"&&I(O,R,O[R])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let I=0;I<this.plugins.length;I++){let O=this.plugins[I],R=this.runOnRoot(O);if(x(R))try{await R}catch(M){throw this.handleError(M)}}if(this.prepareVisitors(),this.hasListener){let I=this.result.root;for(;!I[h];){I[h]=!0;let O=[C(I)];for(;O.length>0;){let R=this.visitTick(O);if(x(R))try{await R}catch(M){let W=O[O.length-1].node;throw this.handleError(M,W)}}}if(this.listeners.OnceExit)for(let[O,R]of this.listeners.OnceExit){this.result.lastPlugin=O;try{if(I.type==="document"){let M=I.nodes.map(W=>R(W,this.helpers));await Promise.all(M)}else await R(I,this.helpers)}catch(M){throw this.handleError(M)}}}return this.processed=!0,this.stringify()}runOnRoot(I){this.result.lastPlugin=I;try{if(typeof I=="object"&&I.Once){if(this.result.root.type==="document"){let O=this.result.root.nodes.map(R=>I.Once(R,this.helpers));return x(O[0])?Promise.all(O):O}return I.Once(this.result.root,this.helpers)}else if(typeof I=="function")return I(this.result.root,this.result)}catch(O){throw this.handleError(O)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let I=this.result.opts,O=u;I.syntax&&(O=I.syntax.stringify),I.stringifier&&(O=I.stringifier),O.stringify&&(O=O.stringify);let R=this.result.root.source;if(I.map===void 0&&!(R&&R.input&&R.input.map)){let W="";return O(this.result.root,K=>{W+=K}),this.result.css=W,this.result}let M=new i(O,this.result.root,this.result.opts).generate();return this.result.css=M[0],this.result.map=M[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 I of this.plugins){let O=this.runOnRoot(I);if(x(O))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let I=this.result.root;for(;!I[h];)I[h]=!0,this.walkSync(I);if(this.listeners.OnceExit)if(I.type==="document")for(let O of I.nodes)this.visitSync(this.listeners.OnceExit,O);else this.visitSync(this.listeners.OnceExit,I)}return this.result}then(I,O){return this.async().then(I,O)}toString(){return this.css}visitSync(I,O){for(let[R,M]of I){this.result.lastPlugin=R;let W;try{W=M(O,this.helpers)}catch(K){throw this.handleError(K,O.proxyOf)}if(O.type!=="root"&&O.type!=="document"&&!O.parent)return!0;if(x(W))throw this.getAsyncError()}}visitTick(I){let O=I[I.length-1],{node:R,visitors:M}=O;if(R.type!=="root"&&R.type!=="document"&&!R.parent){I.pop();return}if(M.length>0&&O.visitorIndex<M.length){let[K,H]=M[O.visitorIndex];O.visitorIndex+=1,O.visitorIndex===M.length&&(O.visitors=[],O.visitorIndex=0),this.result.lastPlugin=K;try{return H(R.toProxy(),this.helpers)}catch(Z){throw this.handleError(Z,R)}}if(O.iterator!==0){let K=O.iterator,H;for(;H=R.nodes[R.indexes[K]];)if(R.indexes[K]+=1,!H[h]){H[h]=!0,I.push(C(H));return}O.iterator=0,delete R.indexes[K]}let W=O.events;for(;O.eventIndex<W.length;){let K=W[O.eventIndex];if(O.eventIndex+=1,K===g){R.nodes&&R.nodes.length&&(R[h]=!0,O.iterator=R.getIterator());return}else if(this.listeners[K]){O.visitors=this.listeners[K];return}}I.pop()}walkSync(I){I[h]=!0;let O=A(I);for(let R of O)if(R===g)I.nodes&&I.each(M=>{M[h]||this.walkSync(M)});else{let M=this.listeners[R];if(M&&this.visitSync(M,I.toProxy()))return}}warnings(){return this.sync().warnings()}};v.registerPostcss=w=>{P=w},t.exports=v,v.default=v,o.registerLazyResult(v),n.registerLazyResult(v)}),Z7=Oe((e,t)=>{"use strict";var r=mA(),n=Yf(),i=D1(),s=Jf(),a=yA(),o=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 u,h=n;try{u=h(this._css,this._opts)}catch(c){this.error=c}if(this.error)throw this.error;return this._root=u,u}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(u,h,c){h=h.toString(),this.stringified=!1,this._processor=u,this._css=h,this._opts=c,this._map=void 0;let p=s;this.result=new i(this._processor,void 0,this._opts),this.result.css=h;let d=this;Object.defineProperty(this.result,"root",{get(){return d.root}});let f=new r(p,void 0,this._opts,h);if(f.isMap()){let[D,g]=f.generate();D&&(this.result.css=D),g&&(this.result.map=g)}else f.clearAnnotation(),this.result.css=f.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(u){return this.async().catch(u)}finally(u){return this.async().then(u,u)}sync(){if(this.error)throw this.error;return this.result}then(u,h){return this.async().then(u,h)}toString(){return this._css}warnings(){return[]}};t.exports=o,o.default=o}),e5=Oe((e,t)=>{"use strict";var r=m1(),n=gA(),i=Z7(),s=Sc(),a=class{constructor(o=[]){this.version="8.5.16",this.plugins=this.normalize(o)}normalize(o){let u=[];for(let h of o)if(h.postcss===!0?h=h():h.postcss&&(h=h.postcss),typeof h=="object"&&Array.isArray(h.plugins))u=u.concat(h.plugins);else if(typeof h=="object"&&h.postcssPlugin)u.push(h);else if(typeof h=="function")u.push(h);else if(!(typeof h=="object"&&(h.parse||h.stringify)))throw new Error(h+" is not a PostCSS plugin");return u}process(o,u={}){return!this.plugins.length&&!u.parser&&!u.stringifier&&!u.syntax?new i(this,o,u):new n(this,o,u)}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}};t.exports=a,a.default=a,s.registerProcessor(a),r.registerProcessor(a)}),y1=Oe((e,t)=>{"use strict";var r=p1(),n=Tc(),i=ja(),s=u1(),a=Xf(),o=m1(),u=Q7(),h=vc(),c=gA(),p=fA(),d=Kf(),f=Yf(),D=e5(),g=D1(),x=Sc(),A=h1(),C=Jf(),k=DA();function P(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new D(v)}P.plugin=function(v,w){let I=!1;function O(...M){console&&console.warn&&!I&&(I=!0,console.warn(v+`: postcss.plugin was deprecated. Migration guide:
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let W=w(...M);return W.postcssPlugin=v,W.postcssVersion=new D().version,W}let R;return Object.defineProperty(O,"postcss",{get(){return R||(R=O()),R}}),O.process=function(M,W,K){return P([O(K)]).process(M,W)},O},P.stringify=C,P.parse=f,P.fromJSON=u,P.list=p,P.comment=v=>new n(v),P.atRule=v=>new r(v),P.decl=v=>new a(v),P.rule=v=>new A(v),P.root=v=>new x(v),P.document=v=>new o(v),P.CssSyntaxError=s,P.Declaration=a,P.Container=i,P.Processor=D,P.Document=o,P.Comment=n,P.Warning=k,P.AtRule=r,P.Result=g,P.Input=h,P.Rule=A,P.Root=x,P.Node=d,c.registerPostcss(P),t.exports=P,P.default=P}),t5=Oe((e,t)=>{var{Container:r}=y1(),n=class extends r{constructor(i){super(i),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};t.exports=n}),r5=Oe((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,s=/[\da-f]/i,a=/[\n\f\r]/g;t.exports=function(o,u={}){let h=o.css.valueOf(),c=u.ignoreErrors,p,d,f,D,g,x,A,C,k,P=h.length,v=0,w=[],I=[],O;function R(){return v}function M($){throw o.error("Unclosed "+$,v)}function W(){return I.length===0&&v>=P}function K(){let $=1,Y=!1,de=!1;for(;$>0;)d+=1,h.length<=d&&M("interpolation"),p=h.charCodeAt(d),C=h.charCodeAt(d+1),Y?!de&&p===Y?(Y=!1,de=!1):p===92?de=!de:de&&(de=!1):p===39||p===34?Y=p:p===125?$-=1:p===35&&C===123&&($+=1)}function H($){if(I.length)return I.pop();if(v>=P)return;let Y=$?$.ignoreUnclosed:!1;switch(p=h.charCodeAt(v),p){case 10:case 32:case 9:case 13:case 12:{d=v;do d+=1,p=h.charCodeAt(d);while(p===32||p===10||p===9||p===13||p===12);k=["space",h.slice(v,d)],v=d-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let de=String.fromCharCode(p);k=[de,de,v];break}case 44:{k=["word",",",v,v+1];break}case 40:{if(A=w.length?w.pop()[1]:"",C=h.charCodeAt(v+1),A==="url"&&C!==39&&C!==34){for(O=1,x=!1,d=v+1;d<=h.length-1;){if(C=h.charCodeAt(d),C===92)x=!x;else if(C===40)O+=1;else if(C===41&&(O-=1,O===0))break;d+=1}D=h.slice(v,d+1),k=["brackets",D,v,d],v=d}else d=h.indexOf(")",v+1),D=h.slice(v,d+1),d===-1||i.test(D)?k=["(","(",v]:(k=["brackets",D,v,d],v=d);break}case 39:case 34:{for(f=p,d=v,x=!1;d<P&&(d++,d===P&&M("string"),p=h.charCodeAt(d),C=h.charCodeAt(d+1),!(!x&&p===f));)p===92?x=!x:x?x=!1:p===35&&C===123&&K();k=["string",h.slice(v,d+1),v,d],v=d;break}case 64:{r.lastIndex=v+1,r.test(h),r.lastIndex===0?d=h.length-1:d=r.lastIndex-2,k=["at-word",h.slice(v,d+1),v,d],v=d;break}case 92:{for(d=v,g=!0;h.charCodeAt(d+1)===92;)d+=1,g=!g;if(p=h.charCodeAt(d+1),g&&p!==47&&p!==32&&p!==10&&p!==9&&p!==13&&p!==12&&(d+=1,s.test(h.charAt(d)))){for(;s.test(h.charAt(d+1));)d+=1;h.charCodeAt(d+1)===32&&(d+=1)}k=["word",h.slice(v,d+1),v,d],v=d;break}default:C=h.charCodeAt(v+1),p===35&&C===123?(d=v,K(),D=h.slice(v,d+1),k=["word",D,v,d],v=d):p===47&&C===42?(d=h.indexOf("*/",v+2)+1,d===0&&(c||Y?d=h.length:M("comment")),k=["comment",h.slice(v,d+1),v,d],v=d):p===47&&C===47?(a.lastIndex=v+1,a.test(h),a.lastIndex===0?d=h.length-1:d=a.lastIndex-2,D=h.slice(v,d+1),k=["comment",D,v,d,"inline"],v=d):(n.lastIndex=v+1,n.test(h),n.lastIndex===0?d=h.length-1:d=n.lastIndex-2,k=["word",h.slice(v,d+1),v,d],w.push(k),v=d);break}return v++,k}function Z($){I.push($)}return{back:Z,endOfFile:W,nextToken:H,position:R}}}),n5=Oe((e,t)=>{var{Comment:r}=y1(),n=f1(),i=t5(),s=r5(),a=class extends n{atrule(o){let u=o[1],h=o;for(;!this.tokenizer.endOfFile();){let c=this.tokenizer.nextToken();if(c[0]==="word"&&c[2]===h[3]+1)u+=c[1],h=c;else{this.tokenizer.back(c);break}}super.atrule(["at-word",u,o[2],h[3]])}comment(o){if(o[4]==="inline"){let u=new r;this.init(u,o[2]),u.raws.inline=!0;let h=this.input.fromOffset(o[3]);u.source.end={column:h.col,line:h.line,offset:o[3]+1};let c=o[1].slice(2);if(/^\s*$/.test(c))u.text="",u.raws.left=c,u.raws.right="";else{let p=c.match(/^(\s*)([^]*\S)(\s*)$/),d=p[2].replace(/(\*\/|\/\*)/g,"*//*");u.text=d,u.raws.left=p[1],u.raws.right=p[3],u.raws.text=p[2]}}else super.comment(o)}createTokenizer(){this.tokenizer=s(this.input)}raw(o,u,h,c){if(super.raw(o,u,h,c),o.raws[u]){let p=o.raws[u].raw;o.raws[u].raw=h.reduce((d,f)=>{if(f[0]==="comment"&&f[4]==="inline"){let D=f[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return d+"/*"+D+"*/"}else return d+f[1]},""),p!==o.raws[u].raw&&(o.raws[u].scss=p)}}rule(o){let u=!1,h=0,c="";for(let p of o)if(u)p[0]!=="comment"&&p[0]!=="{"&&(c+=p[1]);else{if(p[0]==="space"&&p[1].includes(`
- `))break;p[0]==="("?h+=1:p[0]===")"?h-=1:h===0&&p[0]===":"&&(u=!0)}if(!u||c.trim()===""||/^[#:A-Za-z-]/.test(c))super.rule(o);else{o.pop();let p=new i;this.init(p,o[0][2]);let d;for(let D=o.length-1;D>=0;D--)if(o[D][0]!=="space"){d=o[D];break}if(d[3]){let D=this.input.fromOffset(d[3]);p.source.end={column:D.col,line:D.line,offset:d[3]+1}}else{let D=this.input.fromOffset(d[2]);p.source.end={column:D.col,line:D.line,offset:d[2]+1}}for(;o[0][0]!=="word";)p.raws.before+=o.shift()[1];if(o[0][2]){let D=this.input.fromOffset(o[0][2]);p.source.start={column:D.col,line:D.line,offset:o[0][2]}}for(p.prop="";o.length;){let D=o[0][0];if(D===":"||D==="space"||D==="comment")break;p.prop+=o.shift()[1]}p.raws.between="";let f;for(;o.length;)if(f=o.shift(),f[0]===":"){p.raws.between+=f[1];break}else p.raws.between+=f[1];(p.prop[0]==="_"||p.prop[0]==="*")&&(p.raws.before+=p.prop[0],p.prop=p.prop.slice(1)),p.raws.between+=this.spacesAndCommentsFromStart(o),this.precheckMissedSemicolon(o);for(let D=o.length-1;D>0;D--){if(f=o[D],f[1]==="!important"){p.important=!0;let g=this.stringFrom(o,D);g=this.spacesFromEnd(o)+g,g!==" !important"&&(p.raws.important=g);break}else if(f[1]==="important"){let g=o.slice(0),x="";for(let A=D;A>0;A--){let C=g[A][0];if(x.trim().indexOf("!")===0&&C!=="space")break;x=g.pop()[1]+x}x.trim().indexOf("!")===0&&(p.important=!0,p.raws.important=x,o=g)}if(f[0]!=="space"&&f[0]!=="comment")break}this.raw(p,"value",o),p.value.includes(":")&&this.checkMissedSemicolon(o),this.current=p}}};t.exports=a}),i5=Oe((e,t)=>{var{Input:r}=y1(),n=n5();t.exports=function(i,s){let a=new r(i,s),o=new n(a);return o.parse(),o.root}}),EA=Oe(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(r){this.after=r.after,this.before=r.before,this.type=r.type,this.value=r.value,this.sourceIndex=r.sourceIndex}e.default=t}),CA=Oe(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=EA(),r=n(t);function n(s){return s&&s.__esModule?s:{default:s}}function i(s){var a=this;this.constructor(s),this.nodes=s.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(o){o.parent=a})}i.prototype=Object.create(r.default.prototype),i.constructor=r.default,i.prototype.walk=function(s,a){for(var o=typeof s=="string"||s instanceof RegExp,u=o?a:s,h=typeof s=="string"?new RegExp(s):s,c=0;c<this.nodes.length;c++){var p=this.nodes[c],d=o?h.test(p.type):!0;if(d&&u&&u(p,c,this.nodes)===!1||p.nodes&&p.walk(s,a)===!1)return!1}return!0},i.prototype.each=function(){for(var s=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],a=0;a<this.nodes.length;a++){var o=this.nodes[a];if(s(o,a,this.nodes)===!1)return!1}return!0},e.default=i}),s5=Oe(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseMediaFeature=a,e.parseMediaQuery=o,e.parseMediaList=u;var t=EA(),r=s(t),n=CA(),i=s(n);function s(h){return h&&h.__esModule?h:{default:h}}function a(h){var c=arguments.length<=1||arguments[1]===void 0?0:arguments[1],p=[{mode:"normal",character:null}],d=[],f=0,D="",g=null,x=null,A=c,C=h;h[0]==="("&&h[h.length-1]===")"&&(C=h.substring(1,h.length-1),A++);for(var k=0;k<C.length;k++){var P=C[k];if((P==="'"||P==='"')&&(p[f].isCalculationEnabled===!0?(p.push({mode:"string",isCalculationEnabled:!1,character:P}),f++):p[f].mode==="string"&&p[f].character===P&&C[k-1]!=="\\"&&(p.pop(),f--)),P==="{"?(p.push({mode:"interpolation",isCalculationEnabled:!0}),f++):P==="}"&&(p.pop(),f--),p[f].mode==="normal"&&P===":"){var v=C.substring(k+1);x={type:"value",before:/^(\s*)/.exec(v)[1],after:/(\s*)$/.exec(v)[1],value:v.trim()},x.sourceIndex=x.before.length+k+1+A,g={type:"colon",sourceIndex:k+A,after:x.before,value:":"};break}D+=P}return D={type:"media-feature",before:/^(\s*)/.exec(D)[1],after:/(\s*)$/.exec(D)[1],value:D.trim()},D.sourceIndex=D.before.length+A,d.push(D),g!==null&&(g.before=D.after,d.push(g)),x!==null&&d.push(x),d}function o(h){var c=arguments.length<=1||arguments[1]===void 0?0:arguments[1],p=[],d=0,f=!1,D=void 0;function g(){return{before:"",after:"",value:""}}D=g();for(var x=0;x<h.length;x++){var A=h[x];f?(D.value+=A,(A==="{"||A==="(")&&d++,(A===")"||A==="}")&&d--):A.search(/\s/)!==-1?D.before+=A:(A==="("&&(D.type="media-feature-expression",d++),D.value=A,D.sourceIndex=c+x,f=!0),f&&d===0&&(A===")"||x===h.length-1||h[x+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(D.value)!==-1&&(D.type="keyword"),D.type==="media-feature-expression"&&(D.nodes=a(D.value,D.sourceIndex)),p.push(Array.isArray(D.nodes)?new i.default(D):new r.default(D)),D=g(),f=!1)}for(var C=0;C<p.length;C++)if(D=p[C],C>0&&(p[C-1].after=D.before),D.type===void 0){if(C>0){if(p[C-1].type==="media-feature-expression"){D.type="keyword";continue}if(p[C-1].value==="not"||p[C-1].value==="only"){D.type="media-type";continue}if(p[C-1].value==="and"){D.type="media-feature-expression";continue}p[C-1].type==="media-type"&&(p[C+1]?D.type=p[C+1].type==="media-feature-expression"?"keyword":"media-feature-expression":D.type="media-feature-expression")}if(C===0){if(!p[C+1]){D.type="media-type";continue}if(p[C+1]&&(p[C+1].type==="media-feature-expression"||p[C+1].type==="keyword")){D.type="media-type";continue}if(p[C+2]){if(p[C+2].type==="media-feature-expression"){D.type="media-type",p[C+1].type="keyword";continue}if(p[C+2].type==="keyword"){D.type="keyword",p[C+1].type="media-type";continue}}if(p[C+3]&&p[C+3].type==="media-feature-expression"){D.type="keyword",p[C+1].type="media-type",p[C+2].type="keyword";continue}}}return p}function u(h){var c=[],p=0,d=0,f=/^(\s*)url\s*\(/.exec(h);if(f!==null){for(var D=f[0].length,g=1;g>0;){var x=h[D];x==="("&&g++,x===")"&&g--,D++}c.unshift(new r.default({type:"url",value:h.substring(0,D).trim(),sourceIndex:f[1].length,before:f[1],after:/^(\s*)/.exec(h.substring(D))[1]})),p=D}for(var A=p;A<h.length;A++){var C=h[A];if(C==="("&&d++,C===")"&&d--,d===0&&C===","){var k=h.substring(p,A),P=/^(\s*)/.exec(k)[1];c.push(new i.default({type:"media-query",value:k.trim(),sourceIndex:p+P.length,nodes:o(k,p),before:P,after:/(\s*)$/.exec(k)[1]})),p=A+1}}var v=h.substring(p),w=/^(\s*)/.exec(v)[1];return c.push(new i.default({type:"media-query",value:v.trim(),sourceIndex:p+w.length,nodes:o(v,p),before:w,after:/(\s*)$/.exec(v)[1]})),c}}),a5=Oe(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var t=CA(),r=i(t),n=s5();function i(a){return a&&a.__esModule?a:{default:a}}function s(a){return new r.default({nodes:(0,n.parseMediaList)(a),type:"media-query-list",value:a.trim()})}}),FA=Oe((e,t)=>{t.exports=function(r,n){if(n=typeof n=="number"?n:1/0,!n)return Array.isArray(r)?r.map(function(s){return s}):r;return i(r,1);function i(s,a){return s.reduce(function(o,u){return Array.isArray(u)&&a<n?o.concat(i(u,a+1)):o.concat(u)},[])}}}),AA=Oe((e,t)=>{t.exports=function(r,n){for(var i=-1,s=[];(i=r.indexOf(n,i+1))!==-1;)s.push(i);return s}}),bA=Oe((e,t)=>{"use strict";function r(s,a){for(var o=1,u=s.length,h=s[0],c=s[0],p=1;p<u;++p)if(c=h,h=s[p],a(h,c)){if(p===o){o++;continue}s[o++]=h}return s.length=o,s}function n(s){for(var a=1,o=s.length,u=s[0],h=s[0],c=1;c<o;++c,h=u)if(h=u,u=s[c],u!==h){if(c===a){a++;continue}s[a++]=u}return s.length=a,s}function i(s,a,o){return s.length===0?s:a?(o||s.sort(a),r(s,a)):(o||s.sort(),n(s))}t.exports=i}),Zo=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};function n(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")}var i=function a(o,u){if((typeof o>"u"?"undefined":r(o))!=="object")return o;var h=new o.constructor;for(var c in o)if(o.hasOwnProperty(c)){var p=o[c],d=typeof p>"u"?"undefined":r(p);c==="parent"&&d==="object"?u&&(h[c]=u):p instanceof Array?h[c]=p.map(function(f){return a(f,h)}):h[c]=a(p,h)}return h},s=(function(){function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n(this,a);for(var u in o)this[u]=o[u];var h=o.spaces;h=h===void 0?{}:h;var c=h.before,p=c===void 0?"":c,d=h.after,f=d===void 0?"":d;this.spaces={before:p,after:f}}return a.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},a.prototype.replaceWith=function(){if(this.parent){for(var o in arguments)this.parent.insertBefore(this,arguments[o]);this.remove()}return this},a.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},a.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},a.prototype.clone=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=i(this);for(var h in o)u[h]=o[h];return u},a.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},a})();e.default=s,t.exports=e.default}),an=Oe(e=>{"use strict";e.__esModule=!0;var t=e.TAG="tag",r=e.STRING="string",n=e.SELECTOR="selector",i=e.ROOT="root",s=e.PSEUDO="pseudo",a=e.NESTING="nesting",o=e.ID="id",u=e.COMMENT="comment",h=e.COMBINATOR="combinator",c=e.CLASS="class",p=e.ATTRIBUTE="attribute",d=e.UNIVERSAL="universal"}),g1=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=(function(){function f(D,g){for(var x=0;x<g.length;x++){var A=g[x];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(D,A.key,A)}}return function(D,g,x){return g&&f(D.prototype,g),x&&f(D,x),D}})(),n=Zo(),i=u(n),s=an(),a=o(s);function o(f){if(f&&f.__esModule)return f;var D={};if(f!=null)for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(D[g]=f[g]);return D.default=f,D}function u(f){return f&&f.__esModule?f:{default:f}}function h(f,D){if(!(f instanceof D))throw new TypeError("Cannot call a class as a function")}function c(f,D){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:f}function p(f,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);f.prototype=Object.create(D&&D.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(f,D):f.__proto__=D)}var d=(function(f){p(D,f);function D(g){h(this,D);var x=c(this,f.call(this,g));return x.nodes||(x.nodes=[]),x}return D.prototype.append=function(g){return g.parent=this,this.nodes.push(g),this},D.prototype.prepend=function(g){return g.parent=this,this.nodes.unshift(g),this},D.prototype.at=function(g){return this.nodes[g]},D.prototype.index=function(g){return typeof g=="number"?g:this.nodes.indexOf(g)},D.prototype.removeChild=function(g){g=this.index(g),this.at(g).parent=void 0,this.nodes.splice(g,1);var x=void 0;for(var A in this.indexes)x=this.indexes[A],x>=g&&(this.indexes[A]=x-1);return this},D.prototype.removeAll=function(){for(var A=this.nodes,g=Array.isArray(A),x=0,A=g?A:A[Symbol.iterator]();;){var C;if(g){if(x>=A.length)break;C=A[x++]}else{if(x=A.next(),x.done)break;C=x.value}var k=C;k.parent=void 0}return this.nodes=[],this},D.prototype.empty=function(){return this.removeAll()},D.prototype.insertAfter=function(g,x){var A=this.index(g);this.nodes.splice(A+1,0,x);var C=void 0;for(var k in this.indexes)C=this.indexes[k],A<=C&&(this.indexes[k]=C+this.nodes.length);return this},D.prototype.insertBefore=function(g,x){var A=this.index(g);this.nodes.splice(A,0,x);var C=void 0;for(var k in this.indexes)C=this.indexes[k],A<=C&&(this.indexes[k]=C+this.nodes.length);return this},D.prototype.each=function(g){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var A=void 0,C=void 0;this.indexes[x]<this.length&&(A=this.indexes[x],C=g(this.at(A),A),C!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],C===!1)return!1}},D.prototype.walk=function(g){return this.each(function(x,A){var C=g(x,A);if(C!==!1&&x.length&&(C=x.walk(g)),C===!1)return!1})},D.prototype.walkAttributes=function(g){var x=this;return this.walk(function(A){if(A.type===a.ATTRIBUTE)return g.call(x,A)})},D.prototype.walkClasses=function(g){var x=this;return this.walk(function(A){if(A.type===a.CLASS)return g.call(x,A)})},D.prototype.walkCombinators=function(g){var x=this;return this.walk(function(A){if(A.type===a.COMBINATOR)return g.call(x,A)})},D.prototype.walkComments=function(g){var x=this;return this.walk(function(A){if(A.type===a.COMMENT)return g.call(x,A)})},D.prototype.walkIds=function(g){var x=this;return this.walk(function(A){if(A.type===a.ID)return g.call(x,A)})},D.prototype.walkNesting=function(g){var x=this;return this.walk(function(A){if(A.type===a.NESTING)return g.call(x,A)})},D.prototype.walkPseudos=function(g){var x=this;return this.walk(function(A){if(A.type===a.PSEUDO)return g.call(x,A)})},D.prototype.walkTags=function(g){var x=this;return this.walk(function(A){if(A.type===a.TAG)return g.call(x,A)})},D.prototype.walkUniversals=function(g){var x=this;return this.walk(function(A){if(A.type===a.UNIVERSAL)return g.call(x,A)})},D.prototype.split=function(g){var x=this,A=[];return this.reduce(function(C,k,P){var v=g.call(x,k);return A.push(k),v?(C.push(A),A=[]):P===x.length-1&&C.push(A),C},[])},D.prototype.map=function(g){return this.nodes.map(g)},D.prototype.reduce=function(g,x){return this.nodes.reduce(g,x)},D.prototype.every=function(g){return this.nodes.every(g)},D.prototype.some=function(g){return this.nodes.some(g)},D.prototype.filter=function(g){return this.nodes.filter(g)},D.prototype.sort=function(g){return this.nodes.sort(g)},D.prototype.toString=function(){return this.map(String).join("")},r(D,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),D})(i.default);e.default=d,t.exports=e.default}),o5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=g1(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.ROOT,f}return p.prototype.toString=function(){var d=this.reduce(function(f,D){var g=String(D);return g?f+g+",":""},"").slice(0,-1);return this.trailingComma?d+",":d},p})(n.default);e.default=h,t.exports=e.default}),u5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=g1(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.SELECTOR,f}return p})(n.default);e.default=h,t.exports=e.default}),wc=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=(function(){function c(p,d){for(var f=0;f<d.length;f++){var D=d[f];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(p,D.key,D)}}return function(p,d,f){return d&&c(p.prototype,d),f&&c(p,f),p}})(),n=Zo(),i=s(n);function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(){return a(this,p),o(this,c.apply(this,arguments))}return p.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},r(p,[{key:"ns",get:function(){var d=this.namespace;return d?(typeof d=="string"?d:"")+"|":""}}]),p})(i.default);e.default=h,t.exports=e.default}),l5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=wc(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.CLASS,f}return p.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},p})(n.default);e.default=h,t.exports=e.default}),c5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=Zo(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.COMMENT,f}return p})(n.default);e.default=h,t.exports=e.default}),p5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=wc(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.ID,f}return p.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},p})(n.default);e.default=h,t.exports=e.default}),h5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=wc(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.TAG,f}return p})(n.default);e.default=h,t.exports=e.default}),d5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=Zo(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.STRING,f}return p})(n.default);e.default=h,t.exports=e.default}),f5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=g1(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.PSEUDO,f}return p.prototype.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),d,this.spaces.after].join("")},p})(n.default);e.default=h,t.exports=e.default}),m5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=wc(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.ATTRIBUTE,f.raws={},f}return p.prototype.toString=function(){var d=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&d.push(this.operator),this.value&&d.push(this.value),this.raws.insensitive?d.push(this.raws.insensitive):this.insensitive&&d.push(" i"),d.push("]"),d.concat(this.spaces.after).join("")},p})(n.default);e.default=h,t.exports=e.default}),D5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=wc(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.UNIVERSAL,f.value="*",f}return p})(n.default);e.default=h,t.exports=e.default}),y5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=Zo(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.COMBINATOR,f}return p})(n.default);e.default=h,t.exports=e.default}),g5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=Zo(),n=s(r),i=an();function s(c){return c&&c.__esModule?c:{default:c}}function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(c,p){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:c}function u(c,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);c.prototype=Object.create(p&&p.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(c,p):c.__proto__=p)}var h=(function(c){u(p,c);function p(d){a(this,p);var f=o(this,c.call(this,d));return f.type=i.NESTING,f.value="&",f}return p})(n.default);e.default=h,t.exports=e.default}),x5=Oe((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,s){return i-s})}t.exports=e.default}),E5=Oe((e,t)=>{"use strict";e.__esModule=!0,e.default=W;var r=39,n=34,i=92,s=47,a=10,o=32,u=12,h=9,c=13,p=43,d=62,f=126,D=124,g=44,x=40,A=41,C=91,k=93,P=59,v=42,w=58,I=38,O=64,R=/[ \n\t\r\{\(\)'"\\;/]/g,M=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function W(K){for(var H=[],Z=K.css.valueOf(),$=void 0,Y=void 0,de=void 0,Te=void 0,ve=void 0,S=void 0,Me=void 0,Ae=void 0,j=void 0,pe=void 0,Ie=void 0,xe=Z.length,ae=-1,Q=1,ne=0,we=function(Be,Le){if(K.safe)Z+=Le,Y=Z.length-1;else throw K.error("Unclosed "+Be,Q,ne-ae,ne)};ne<xe;){switch($=Z.charCodeAt(ne),$===a&&(ae=ne,Q+=1),$){case a:case o:case h:case c:case u:Y=ne;do Y+=1,$=Z.charCodeAt(Y),$===a&&(ae=Y,Q+=1);while($===o||$===a||$===h||$===c||$===u);H.push(["space",Z.slice(ne,Y),Q,ne-ae,ne]),ne=Y-1;break;case p:case d:case f:case D:Y=ne;do Y+=1,$=Z.charCodeAt(Y);while($===p||$===d||$===f||$===D);H.push(["combinator",Z.slice(ne,Y),Q,ne-ae,ne]),ne=Y-1;break;case v:H.push(["*","*",Q,ne-ae,ne]);break;case I:H.push(["&","&",Q,ne-ae,ne]);break;case g:H.push([",",",",Q,ne-ae,ne]);break;case C:H.push(["[","[",Q,ne-ae,ne]);break;case k:H.push(["]","]",Q,ne-ae,ne]);break;case w:H.push([":",":",Q,ne-ae,ne]);break;case P:H.push([";",";",Q,ne-ae,ne]);break;case x:H.push(["(","(",Q,ne-ae,ne]);break;case A:H.push([")",")",Q,ne-ae,ne]);break;case r:case n:de=$===r?"'":'"',Y=ne;do for(pe=!1,Y=Z.indexOf(de,Y+1),Y===-1&&we("quote",de),Ie=Y;Z.charCodeAt(Ie-1)===i;)Ie-=1,pe=!pe;while(pe);H.push(["string",Z.slice(ne,Y+1),Q,ne-ae,Q,Y-ae,ne]),ne=Y;break;case O:R.lastIndex=ne+1,R.test(Z),R.lastIndex===0?Y=Z.length-1:Y=R.lastIndex-2,H.push(["at-word",Z.slice(ne,Y+1),Q,ne-ae,Q,Y-ae,ne]),ne=Y;break;case i:for(Y=ne,Me=!0;Z.charCodeAt(Y+1)===i;)Y+=1,Me=!Me;$=Z.charCodeAt(Y+1),Me&&$!==s&&$!==o&&$!==a&&$!==h&&$!==c&&$!==u&&(Y+=1),H.push(["word",Z.slice(ne,Y+1),Q,ne-ae,Q,Y-ae,ne]),ne=Y;break;default:$===s&&Z.charCodeAt(ne+1)===v?(Y=Z.indexOf("*/",ne+2)+1,Y===0&&we("comment","*/"),S=Z.slice(ne,Y+1),Te=S.split(`
- `),ve=Te.length-1,ve>0?(Ae=Q+ve,j=Y-Te[ve].length):(Ae=Q,j=ae),H.push(["comment",S,Q,ne-ae,Ae,Y-j,ne]),ae=j,Q=Ae,ne=Y):(M.lastIndex=ne+1,M.test(Z),M.lastIndex===0?Y=Z.length-1:Y=M.lastIndex-2,H.push(["word",Z.slice(ne,Y+1),Q,ne-ae,Q,Y-ae,ne]),ne=Y);break}ne++}return H}t.exports=e.default}),C5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=(function(){function ae(Q,ne){for(var we=0;we<ne.length;we++){var Be=ne[we];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(Q,Be.key,Be)}}return function(Q,ne,we){return ne&&ae(Q.prototype,ne),we&&ae(Q,we),Q}})(),n=FA(),i=pe(n),s=AA(),a=pe(s),o=bA(),u=pe(o),h=o5(),c=pe(h),p=u5(),d=pe(p),f=l5(),D=pe(f),g=c5(),x=pe(g),A=p5(),C=pe(A),k=h5(),P=pe(k),v=d5(),w=pe(v),I=f5(),O=pe(I),R=m5(),M=pe(R),W=D5(),K=pe(W),H=y5(),Z=pe(H),$=g5(),Y=pe($),de=x5(),Te=pe(de),ve=E5(),S=pe(ve),Me=an(),Ae=j(Me);function j(ae){if(ae&&ae.__esModule)return ae;var Q={};if(ae!=null)for(var ne in ae)Object.prototype.hasOwnProperty.call(ae,ne)&&(Q[ne]=ae[ne]);return Q.default=ae,Q}function pe(ae){return ae&&ae.__esModule?ae:{default:ae}}function Ie(ae,Q){if(!(ae instanceof Q))throw new TypeError("Cannot call a class as a function")}var xe=(function(){function ae(Q){Ie(this,ae),this.input=Q,this.lossy=Q.options.lossless===!1,this.position=0,this.root=new c.default;var ne=new d.default;return this.root.append(ne),this.current=ne,this.lossy?this.tokens=(0,S.default)({safe:Q.safe,css:Q.css.trim()}):this.tokens=(0,S.default)(Q),this.loop()}return ae.prototype.attribute=function(){var Q="",ne=void 0,we=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Q+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Q.indexOf("]")&&this.error("Expected a closing square bracket.");var Be=Q.split(/((?:[*~^$|]?=))([^]*)/),Le=Be[0].split(/(\|)/g),qe={operator:Be[1],value:Be[2],source:{start:{line:we[2],column:we[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:we[4]};if(Le.length>1?(Le[0]===""&&(Le[0]=!0),qe.attribute=this.parseValue(Le[2]),qe.namespace=this.parseNamespace(Le[0])):qe.attribute=this.parseValue(Be[0]),ne=new M.default(qe),Be[2]){var ut=Be[2].split(/(\s+i\s*?)$/),et=ut[0].trim();ne.value=this.lossy?et:ut[0],ut[1]&&(ne.insensitive=!0,this.lossy||(ne.raws.insensitive=ut[1])),ne.quoted=et[0]==="'"||et[0]==='"',ne.raws.unquoted=ne.quoted?et.slice(1,-1):et}this.newNode(ne),this.position++},ae.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Q=new Z.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.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(Q.spaces.before=this.parseSpace(this.currToken[1]),Q.source.start.line=this.nextToken[2],Q.source.start.column=this.nextToken[3],Q.source.end.column=this.nextToken[3],Q.source.end.line=this.nextToken[2],Q.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Q.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Q.value=this.currToken[1]:this.currToken[0]==="space"&&(Q.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Q)},ae.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Q=new d.default;this.current.parent.append(Q),this.current=Q,this.position++},ae.prototype.comment=function(){var Q=new x.default({value:this.currToken[1],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(Q),this.position++},ae.prototype.error=function(Q){throw new this.input.error(Q)},ae.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},ae.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},ae.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},ae.prototype.namespace=function(){var Q=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Q);if(this.nextToken[0]==="*")return this.position++,this.universal(Q)},ae.prototype.nesting=function(){this.newNode(new Y.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]})),this.position++},ae.prototype.parentheses=function(){var Q=this.current.last;if(Q&&Q.type===Ae.PSEUDO){var ne=new d.default,we=this.current;Q.append(ne),this.current=ne;var Be=1;for(this.position++;this.position<this.tokens.length&&Be;)this.currToken[0]==="("&&Be++,this.currToken[0]===")"&&Be--,Be?this.parse():(ne.parent.source.end.line=this.currToken[2],ne.parent.source.end.column=this.currToken[3],this.position++);Be&&this.error("Expected closing parenthesis."),this.current=we}else{var Le=1;for(this.position++,Q.value+="(";this.position<this.tokens.length&&Le;)this.currToken[0]==="("&&Le++,this.currToken[0]===")"&&Le--,Q.value+=this.parseParenthesisToken(this.currToken),this.position++;Le&&this.error("Expected closing parenthesis.")}},ae.prototype.pseudo=function(){for(var Q=this,ne="",we=this.currToken;this.currToken&&this.currToken[0]===":";)ne+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Be=void 0;this.splitWord(!1,function(Le,qe){ne+=Le,Be=new O.default({value:ne,source:{start:{line:we[2],column:we[3]},end:{line:Q.currToken[4],column:Q.currToken[5]}},sourceIndex:we[4]}),Q.newNode(Be),qe>1&&Q.nextToken&&Q.nextToken[0]==="("&&Q.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},ae.prototype.space=function(){var Q=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Q[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Q[1]),this.position++):this.combinator()},ae.prototype.string=function(){var Q=this.currToken;this.newNode(new w.default({value:this.currToken[1],source:{start:{line:Q[2],column:Q[3]},end:{line:Q[4],column:Q[5]}},sourceIndex:Q[6]})),this.position++},ae.prototype.universal=function(Q){var ne=this.nextToken;if(ne&&ne[1]==="|")return this.position++,this.namespace();this.newNode(new K.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]}),Q),this.position++},ae.prototype.splitWord=function(Q,ne){for(var we=this,Be=this.nextToken,Le=this.currToken[1];Be&&Be[0]==="word";){this.position++;var qe=this.currToken[1];if(Le+=qe,qe.lastIndexOf("\\")===qe.length-1){var ut=this.nextToken;ut&&ut[0]==="space"&&(Le+=this.parseSpace(ut[1]," "),this.position++)}Be=this.nextToken}var et=(0,a.default)(Le,"."),Nt=(0,a.default)(Le,"#"),vt=(0,a.default)(Le,"#{");vt.length&&(Nt=Nt.filter(function(rt){return!~vt.indexOf(rt)}));var tt=(0,Te.default)((0,u.default)((0,i.default)([[0],et,Nt])));tt.forEach(function(rt,Mt){var sr=tt[Mt+1]||Le.length,$t=Le.slice(rt,sr);if(Mt===0&&ne)return ne.call(we,$t,tt.length);var Pt=void 0;~et.indexOf(rt)?Pt=new D.default({value:$t.slice(1),source:{start:{line:we.currToken[2],column:we.currToken[3]+rt},end:{line:we.currToken[4],column:we.currToken[3]+(sr-1)}},sourceIndex:we.currToken[6]+tt[Mt]}):~Nt.indexOf(rt)?Pt=new C.default({value:$t.slice(1),source:{start:{line:we.currToken[2],column:we.currToken[3]+rt},end:{line:we.currToken[4],column:we.currToken[3]+(sr-1)}},sourceIndex:we.currToken[6]+tt[Mt]}):Pt=new P.default({value:$t,source:{start:{line:we.currToken[2],column:we.currToken[3]+rt},end:{line:we.currToken[4],column:we.currToken[3]+(sr-1)}},sourceIndex:we.currToken[6]+tt[Mt]}),we.newNode(Pt,Q)}),this.position++},ae.prototype.word=function(Q){var ne=this.nextToken;return ne&&ne[1]==="|"?(this.position++,this.namespace()):this.splitWord(Q)},ae.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},ae.prototype.parse=function(Q){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Q&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},ae.prototype.parseNamespace=function(Q){if(this.lossy&&typeof Q=="string"){var ne=Q.trim();return ne.length?ne:!0}return Q},ae.prototype.parseSpace=function(Q,ne){return this.lossy?ne||"":Q},ae.prototype.parseValue=function(Q){return this.lossy&&Q&&typeof Q=="string"?Q.trim():Q},ae.prototype.parseParenthesisToken=function(Q){return this.lossy?Q[0]==="space"?this.parseSpace(Q[1]," "):this.parseValue(Q[1]):Q[1]},ae.prototype.newNode=function(Q,ne){return ne&&(Q.namespace=this.parseNamespace(ne)),this.spaces&&(Q.spaces.before=this.spaces,this.spaces=""),this.current.append(Q)},r(ae,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),ae})();e.default=xe,t.exports=e.default}),F5=Oe((e,t)=>{"use strict";e.__esModule=!0;var r=(function(){function u(h,c){for(var p=0;p<c.length;p++){var d=c[p];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(h,d.key,d)}}return function(h,c,p){return c&&u(h.prototype,c),p&&u(h,p),h}})(),n=C5(),i=s(n);function s(u){return u&&u.__esModule?u:{default:u}}function a(u,h){if(!(u instanceof h))throw new TypeError("Cannot call a class as a function")}var o=(function(){function u(h){return a(this,u),this.func=h||function(){},this}return u.prototype.process=function(h){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=new i.default({css:h,error:function(d){throw new Error(d)},options:c});return this.res=p,this.func(p),this},r(u,[{key:"result",get:function(){return String(this.res)}}]),u})();e.default=o,t.exports=e.default}),ki=Oe((e,t)=>{"use strict";var r=function(n,i){let s=new n.constructor;for(let a in n){if(!n.hasOwnProperty(a))continue;let o=n[a],u=typeof o;a==="parent"&&u==="object"?i&&(s[a]=i):a==="source"?s[a]=o:o instanceof Array?s[a]=o.map(h=>r(h,s)):a!=="before"&&a!=="after"&&a!=="between"&&a!=="semicolon"&&(u==="object"&&o!==null&&(o=r(o)),s[a]=o)}return s};t.exports=class{constructor(n){n=n||{},this.raws={before:"",after:""};for(let i in n)this[i]=n[i]}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(n){n=n||{};let i=r(this);for(let s in n)i[s]=n[s];return i}cloneBefore(n){n=n||{};let i=this.clone(n);return this.parent.insertBefore(this,i),i}cloneAfter(n){n=n||{};let i=this.clone(n);return this.parent.insertAfter(this,i),i}replaceWith(){let n=Array.prototype.slice.call(arguments);if(this.parent){for(let i of n)this.parent.insertBefore(this,i);this.remove()}return this}moveTo(n){return this.cleanRaws(this.root()===n.root()),this.remove(),n.append(this),this}moveBefore(n){return this.cleanRaws(this.root()===n.root()),this.remove(),n.parent.insertBefore(n,this),this}moveAfter(n){return this.cleanRaws(this.root()===n.root()),this.remove(),n.parent.insertAfter(n,this),this}next(){let n=this.parent.index(this);return this.parent.nodes[n+1]}prev(){let n=this.parent.index(this);return this.parent.nodes[n-1]}toJSON(){let n={};for(let i in this){if(!this.hasOwnProperty(i)||i==="parent")continue;let s=this[i];s instanceof Array?n[i]=s.map(a=>typeof a=="object"&&a.toJSON?a.toJSON():a):typeof s=="object"&&s.toJSON?n[i]=s.toJSON():n[i]=s}return n}root(){let n=this;for(;n.parent;)n=n.parent;return n}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}positionInside(n){let i=this.toString(),s=this.source.start.column,a=this.source.start.line;for(let o=0;o<n;o++)i[o]===`
- `?(s=1,a+=1):s+=1;return{line:a,column:s}}positionBy(n){let i=this.source.start;if(Object(n).index)i=this.positionInside(n.index);else if(Object(n).word){let s=this.toString().indexOf(n.word);s!==-1&&(i=this.positionInside(s))}return i}}}),En=Oe((e,t)=>{"use strict";var r=ki(),n=class extends r{constructor(i){super(i),this.nodes||(this.nodes=[])}push(i){return i.parent=this,this.nodes.push(i),this}each(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,a,o;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]<this.nodes.length&&(a=this.indexes[s],o=i(this.nodes[a],a),o!==!1);)this.indexes[s]+=1;return delete this.indexes[s],o}}walk(i){return this.each((s,a)=>{let o=i(s,a);return o!==!1&&s.walk&&(o=s.walk(i)),o})}walkType(i,s){if(!i||!s)throw new Error("Parameters {type} and {callback} are required.");let a=typeof i=="function";return this.walk((o,u)=>{if(a&&o instanceof i||!a&&o.type===i)return s.call(this,o,u)})}append(i){return i.parent=this,this.nodes.push(i),this}prepend(i){return i.parent=this,this.nodes.unshift(i),this}cleanRaws(i){if(super.cleanRaws(i),this.nodes)for(let s of this.nodes)s.cleanRaws(i)}insertAfter(i,s){let a=this.index(i),o;this.nodes.splice(a+1,0,s);for(let u in this.indexes)o=this.indexes[u],a<=o&&(this.indexes[u]=o+this.nodes.length);return this}insertBefore(i,s){let a=this.index(i),o;this.nodes.splice(a,0,s);for(let u in this.indexes)o=this.indexes[u],a<=o&&(this.indexes[u]=o+this.nodes.length);return this}removeChild(i){i=this.index(i),this.nodes[i].parent=void 0,this.nodes.splice(i,1);let s;for(let a in this.indexes)s=this.indexes[a],s>=i&&(this.indexes[a]=s-1);return this}removeAll(){for(let i of this.nodes)i.parent=void 0;return this.nodes=[],this}every(i){return this.nodes.every(i)}some(i){return this.nodes.some(i)}index(i){return typeof i=="number"?i:this.nodes.indexOf(i)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let i=this.nodes.map(String).join("");return this.value&&(i=this.value+i),this.raws.before&&(i=this.raws.before+i),this.raws.after&&(i+=this.raws.after),i}};n.registerWalker=i=>{let s="walk"+i.name;s.lastIndexOf("s")!==s.length-1&&(s+="s"),!n.prototype[s]&&(n.prototype[s]=function(a){return this.walkType(i,a)})},t.exports=n}),A5=Oe((e,t)=>{"use strict";var r=En();t.exports=class extends r{constructor(n){super(n),this.type="root"}}}),b5=Oe((e,t)=>{"use strict";var r=En();t.exports=class extends r{constructor(n){super(n),this.type="value",this.unbalanced=0}}}),k5=Oe((e,t)=>{"use strict";var r=En(),n=class extends r{constructor(i){super(i),this.type="atword"}toString(){let i=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};r.registerWalker(n),t.exports=n}),T5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="colon"}};r.registerWalker(i),t.exports=i}),v5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="comma"}};r.registerWalker(i),t.exports=i}),S5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="comment",this.inline=Object(s).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};r.registerWalker(i),t.exports=i}),w5=Oe((e,t)=>{"use strict";var r=En(),n=class extends r{constructor(i){super(i),this.type="func",this.unbalanced=-1}};r.registerWalker(n),t.exports=n}),_5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="number",this.unit=Object(s).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}),B5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="operator"}};r.registerWalker(i),t.exports=i}),P5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="paren",this.parenType=""}};r.registerWalker(i),t.exports=i}),I5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="string"}toString(){let s=this.quoted?this.raws.quote:"";return[this.raws.before,s,this.value+"",s,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}),N5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="word"}};r.registerWalker(i),t.exports=i}),L5=Oe((e,t)=>{"use strict";var r=En(),n=ki(),i=class extends n{constructor(s){super(s),this.type="unicode-range"}};r.registerWalker(i),t.exports=i}),O5=Oe((e,t)=>{"use strict";var r=class extends Error{constructor(n){super(n),this.name=this.constructor.name,this.message=n||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(n).stack}};t.exports=r}),M5=Oe((e,t)=>{"use strict";var r=/[ \n\t\r\{\(\)'"\\;,/]/g,n=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,i=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,s=/^[a-z0-9]/i,a=/^[a-f0-9?\-]/i,o=O5();t.exports=function(u,h){h=h||{};let c=[],p=u.valueOf(),d=p.length,f=-1,D=1,g=0,x=0,A=null,C,k,P,v,w,I,O,R,M,W,K,H;function Z(Y){let de=`Unclosed ${Y} at line: ${D}, column: ${g-f}, token: ${g}`;throw new o(de)}function $(){let Y=`Syntax error at line: ${D}, column: ${g-f}, token: ${g}`;throw new o(Y)}for(;g<d;){switch(C=p.charCodeAt(g),C===10&&(f=g,D+=1),C){case 10:case 32:case 9:case 13:case 12:k=g;do k+=1,C=p.charCodeAt(k),C===10&&(f=k,D+=1);while(C===32||C===10||C===9||C===13||C===12);c.push(["space",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;break;case 58:k=g+1,c.push(["colon",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;break;case 44:k=g+1,c.push(["comma",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;break;case 123:c.push(["{","{",D,g-f,D,k-f,g]);break;case 125:c.push(["}","}",D,g-f,D,k-f,g]);break;case 40:x++,A=!A&&x===1&&c.length>0&&c[c.length-1][0]==="word"&&c[c.length-1][1]==="url",c.push(["(","(",D,g-f,D,k-f,g]);break;case 41:x--,A=A&&x>0,c.push([")",")",D,g-f,D,k-f,g]);break;case 39:case 34:P=C===39?"'":'"',k=g;do for(W=!1,k=p.indexOf(P,k+1),k===-1&&Z("quote",P),K=k;p.charCodeAt(K-1)===92;)K-=1,W=!W;while(W);c.push(["string",p.slice(g,k+1),D,g-f,D,k-f,g]),g=k;break;case 64:r.lastIndex=g+1,r.test(p),r.lastIndex===0?k=p.length-1:k=r.lastIndex-2,c.push(["atword",p.slice(g,k+1),D,g-f,D,k-f,g]),g=k;break;case 92:k=g,C=p.charCodeAt(k+1),O&&C!==47&&C!==32&&C!==10&&C!==9&&C!==13&&C!==12&&(k+=1),c.push(["word",p.slice(g,k+1),D,g-f,D,k-f,g]),g=k;break;case 43:case 45:case 42:k=g+1,H=p.slice(g+1,k+1);let Y=p.slice(g-1,g);if(C===45&&H.charCodeAt(0)===45){k++,c.push(["word",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;break}c.push(["operator",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;break;default:if(C===47&&(p.charCodeAt(g+1)===42||h.loose&&!A&&p.charCodeAt(g+1)===47)){if(p.charCodeAt(g+1)===42)k=p.indexOf("*/",g+2)+1,k===0&&Z("comment","*/");else{let de=p.indexOf(`
- `,g+2);k=de!==-1?de-1:d}I=p.slice(g,k+1),v=I.split(`
- `),w=v.length-1,w>0?(R=D+w,M=k-v[w].length):(R=D,M=f),c.push(["comment",I,D,g-f,R,k-M,g]),f=M,D=R,g=k}else if(C===35&&!s.test(p.slice(g+1,g+2)))k=g+1,c.push(["#",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;else if((C===117||C===85)&&p.charCodeAt(g+1)===43){k=g+2;do k+=1,C=p.charCodeAt(k);while(k<d&&a.test(p.slice(k,k+1)));c.push(["unicoderange",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1}else if(C===47)k=g+1,c.push(["operator",p.slice(g,k),D,g-f,D,k-f,g]),g=k-1;else{let de=n;if(C>=48&&C<=57&&(de=i),de.lastIndex=g+1,de.test(p),de.lastIndex===0?k=p.length-1:k=de.lastIndex-2,de===i||C===46){let Te=p.charCodeAt(k),ve=p.charCodeAt(k+1),S=p.charCodeAt(k+2);(Te===101||Te===69)&&(ve===45||ve===43)&&S>=48&&S<=57&&(i.lastIndex=k+2,i.test(p),i.lastIndex===0?k=p.length-1:k=i.lastIndex-2)}c.push(["word",p.slice(g,k+1),D,g-f,D,k-f,g]),g=k}break}g++}return c}}),R5=Oe((e,t)=>{"use strict";var r=class extends Error{constructor(n){super(n),this.name=this.constructor.name,this.message=n||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(n).stack}};t.exports=r}),j5=Oe((e,t)=>{"use strict";var r=A5(),n=b5(),i=k5(),s=T5(),a=v5(),o=S5(),u=w5(),h=_5(),c=B5(),p=P5(),d=I5(),f=N5(),D=L5(),g=M5(),x=FA(),A=AA(),C=bA(),k=R5();function P(v){return v.sort((w,I)=>w-I)}t.exports=class{constructor(v,w){let I={loose:!1};this.cache=[],this.input=v,this.options=Object.assign({},I,w),this.position=0,this.unbalanced=0,this.root=new r;let O=new n;this.root.append(O),this.current=O,this.tokens=g(v,this.options)}parse(){return this.loop()}colon(){let v=this.currToken;this.newNode(new s({value:v[1],source:{start:{line:v[2],column:v[3]},end:{line:v[4],column:v[5]}},sourceIndex:v[6]})),this.position++}comma(){let v=this.currToken;this.newNode(new a({value:v[1],source:{start:{line:v[2],column:v[3]},end:{line:v[4],column:v[5]}},sourceIndex:v[6]})),this.position++}comment(){let v=!1,w=this.currToken[1].replace(/\/\*|\*\//g,""),I;this.options.loose&&w.startsWith("//")&&(w=w.substring(2),v=!0),I=new o({value:w,inline:v,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(I),this.position++}error(v,w){throw new k(v+` at line: ${w[2]}, column ${w[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let v=this.currToken[1],w;if(v==="+"||v==="-"){if(this.options.loose||this.position>0&&(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 w=new c({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(w)}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 v=1,w=this.position+1,I=this.currToken,O;for(;w<this.tokens.length&&v;){let R=this.tokens[w];R[0]==="("&&v++,R[0]===")"&&v--,w++}if(v&&this.error("Expected closing parenthesis",I),O=this.current.last,O&&O.type==="func"&&O.unbalanced<0&&(O.unbalanced=0,this.current=O),this.current.unbalanced++,this.newNode(new p({value:I[1],source:{start:{line:I[2],column:I[3]},end:{line:I[4],column:I[5]}},sourceIndex:I[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let R=this.nextToken,M=this.currToken[1],W={line:this.currToken[2],column:this.currToken[3]};for(;R&&R[0]!==")"&&this.current.unbalanced;)this.position++,M+=this.currToken[1],R=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new f({value:M,source:{start:W,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let v=this.currToken;this.newNode(new p({value:v[1],source:{start:{line:v[2],column:v[3]},end:{line:v[4],column:v[5]}},sourceIndex:v[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",v),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let v=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=v[1],this.position++):(this.spaces=v[1],this.position++)}unicodeRange(){let v=this.currToken;this.newNode(new D({value:v[1],source:{start:{line:v[2],column:v[3]},end:{line:v[4],column:v[5]}},sourceIndex:v[6]})),this.position++}splitWord(){let v=this.nextToken,w=this.currToken[1],I=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,O=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,R,M;if(!O.test(w))for(;v&&v[0]==="word";){this.position++;let W=this.currToken[1];w+=W,v=this.nextToken}R=A(w,"@"),M=P(C(x([[0],R]))),M.forEach((W,K)=>{let H=M[K+1]||w.length,Z=w.slice(W,H),$;if(~R.indexOf(W))$=new i({value:Z.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+W},end:{line:this.currToken[4],column:this.currToken[3]+(H-1)}},sourceIndex:this.currToken[6]+M[K]});else if(I.test(this.currToken[1])){let Y=Z.replace(I,"");$=new h({value:Z.replace(Y,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+W},end:{line:this.currToken[4],column:this.currToken[3]+(H-1)}},sourceIndex:this.currToken[6]+M[K],unit:Y})}else $=new(v&&v[0]==="("?u:f)({value:Z,source:{start:{line:this.currToken[2],column:this.currToken[3]+W},end:{line:this.currToken[4],column:this.currToken[3]+(H-1)}},sourceIndex:this.currToken[6]+M[K]}),$.type==="word"?($.isHex=/^#(.+)/.test(Z),$.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Z)):this.cache.push(this.current);this.newNode($)}),this.position++}string(){let v=this.currToken,w=this.currToken[1],I=/^(\"|\')/,O=I.test(w),R="",M;O&&(R=w.match(I)[0],w=w.slice(1,w.length-1)),M=new d({value:w,source:{start:{line:v[2],column:v[3]},end:{line:v[4],column:v[5]}},sourceIndex:v[6],quoted:O}),M.raws.quote=R,this.newNode(M),this.position++}word(){return this.splitWord()}newNode(v){return this.spaces&&(v.raws.before+=this.spaces,this.spaces=""),this.current.append(v)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}),kA={};lA(kA,{languages:()=>hb,options:()=>db,parsers:()=>T1,printers:()=>Cb});var TA=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i),q5=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},U5=TA("replaceAll",function(){if(typeof this=="string")return q5}),rr=U5;function V5(e){return this[e<0?this.length+e:e]}var $5=TA("at",function(){if(Array.isArray(this)||typeof this=="string")return V5}),Ma=$5,z5=()=>{},eu=z5,vA="string",SA="array",wA="cursor",Qf="indent",x1="align",_A="trim",Zf="group",em="fill",tm="if-break",BA="indent-if-break",E1="line-suffix",C1="line-suffix-boundary",qa="line",PA="label",F1="break-parent",IA=new Set([wA,Qf,x1,_A,Zf,em,tm,BA,E1,C1,qa,PA,F1]);function H5(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function W5(e){if(typeof e=="string")return vA;if(Array.isArray(e))return SA;if(!e)return;let{type:t}=e;if(IA.has(t))return t}var Fc=W5,G5=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function J5(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(Fc(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=G5([...IA].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
- Expected it to be ${n}.`}var K5=class extends Error{name="InvalidDocError";constructor(e){super(J5(e)),this.doc=e}},X5=K5;function NA(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(s){return H5(r,s,i)}function i(s){switch(Fc(s)){case SA:return t(s.map(n));case em:return t({...s,parts:s.parts.map(n)});case tm:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Zf:{let{expandedStates:a,contents:o}=s;return a?(a=a.map(n),o=a[0]):o=n(o),t({...s,contents:o,expandedStates:a})}case x1:case Qf:case BA:case PA:case E1:return t({...s,contents:n(s.contents)});case vA:case wA:case _A:case C1:case qa:case F1:return t(s);default:throw new X5(s)}}}function Y5(e){return e.type===qa&&!e.hard?e.soft?"":" ":e.type===tm?e.flatContents:e}function Q5(e){return NA(e,Y5)}function Z5(e,t=iL){return NA(e,r=>typeof r=="string"?ns(t,r.split(`
- `)):r)}var Ra=eu,A1=eu,eL=eu,tL=eu;function tn(e){return Ra(e),{type:Qf,contents:e}}function rL(e,t){return tL(e),Ra(t),{type:x1,contents:t,n:e}}function kc(e){return rL(-1,e)}var rm={type:F1};function Wf(e){return eL(e),{type:em,parts:e}}function xn(e,t={}){return Ra(e),A1(t.expandedStates,!0),{type:Zf,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function LA(e,t="",r={}){return Ra(e),t!==""&&Ra(t),{type:tm,breakContents:e,flatContents:t,groupId:r.groupId}}function ns(e,t){Ra(e),A1(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var Ur={type:qa},rn={type:qa,soft:!0},nL={type:qa,hard:!0},pr=[nL,rm],OA={type:qa,hard:!0,literal:!0},iL=[OA,rm];function MA(e){return Ra(e),{type:E1,contents:e}}var RA={type:C1};function sL(e){return Array.isArray(e)&&e.length>0}var nm=sL,jA=Object.freeze({character:"'",codePoint:39}),qA=Object.freeze({character:'"',codePoint:34}),aL=Object.freeze({preferred:jA,alternate:qA}),oL=Object.freeze({preferred:qA,alternate:jA});function uL(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?aL:oL,{length:i}=e,s=0,a=0;for(let o=0;o<i;o++){let u=e.charCodeAt(o);u===r.codePoint?s++:u===n.codePoint&&a++}return(s>a?n:r).character}var lL=/\\(["'\\])|(["'])/g;function cL(e,t){let r=t==='"'?"'":'"',n=rr(0,e,lL,(i,s,a)=>s?s===r?r:i:a===t?"\\"+a:a);return t+n+t}var pL=cL;function hL(e,t){eu(/^(?<quote>["']).*\k<quote>$/s.test(e));let r=e.slice(1,-1),n;return t.parser==="json"||t.parser==="jsonc"||t.parser==="json-stringify"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?n='"':t.__isInHtmlAttribute?n="'":n=uL(r,t.singleQuote),e.charAt(0)===n?e:pL(r,n)}var UA=hL,dL=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},fL=dL;function VA(){}VA.getVisitorKeys=e=>e.type==="css-root"?["frontMatter"]:[];var mL=VA,Dc=null;function Ac(e){if(Dc!==null&&typeof Dc.property){let t=Dc;return Dc=Ac.prototype=null,t}return Dc=Ac.prototype=e??Object.create(null),new Ac}var DL=10;for(let e=0;e<=DL;e++)Ac();function yL(e){return Ac(e)}function gL(e,t="type"){yL(e);function r(n){let i=n[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var xL=gL,Ai=[["nodes"],["group"]],EL={"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":Ai[0],"media-query":Ai[0],"media-type":[],"media-feature-expression":Ai[0],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":Ai[0],"selector-selector":Ai[0],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":Ai[0],"selector-universal":[],"selector-pseudo":Ai[0],"selector-nesting":[],"selector-unknown":[],"value-value":Ai[1],"value-root":Ai[1],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":Ai[1],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},CL=xL(EL),FL=CL;function AL(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf(`
- `,r)+1;return r+e.column}var $A=AL;function im(e){return(t,r,n)=>{if(r===!1)return!1;let i=!!n?.backwards,{length:s}=t,a=r;for(;a>=0&&a<s;){let o=t.charAt(a);if(e instanceof RegExp){if(!e.test(o))return a}else if(!e.includes(o))return a;i?a--:a++}return a===-1||a===s?a:!1}}var wie=im(/\s/),zA=im(" "),bL=im(",; "),HA=im(/[^\n\r]/);function WA(e,t){let{value:r}=e;return r==="-"||r==="--"||r.charAt(0)!=="-"?t:t-(r.charAt(1)==="-"?2:1)}function GA(e,t){if(typeof e.source?.start?.offset=="number")return e.source.start.offset;if(typeof e.sourceIndex=="number")return e.type==="value-word"?WA(e,e.sourceIndex):e.sourceIndex;if(e.source?.start)return $A(e.source.start,t);throw Object.assign(new Error("Can not locate node."),{node:e})}function JA(e,t){if(e.type==="css-comment"&&e.inline)return HA(t,e.source.startOffset);if(e.type==="value-paren"&&typeof e.sourceIndex=="number")return e.sourceIndex+(e.value===")"?e.value.length:0);if(typeof e.source?.end?.offset=="number")return e.source.end.offset;if(e.source){if(e.source.end){let r=$A(e.source.end,t);return e.type==="value-word"?WA(e,r):r}if(nm(e.nodes))return JA(Ma(0,e.nodes,-1),t);if(e.type==="css-atrule"&&typeof e.name=="string")return GA(e,t)+1+e.name.length+e.raws.afterName.length+e.raws.params.length}return typeof e.sourceIndex=="number"&&typeof e.value=="string"?e.sourceIndex+e.value.length:null}function kL(e,t){e1(e,t,0,!1)}function e1(e,t,r,n){if(n&&typeof e.type=="string")e.source??(e.source={}),e.source.startOffset=r,e.source.endOffset=r+t.length;else if(!(typeof e.source?.startOffset=="number"&&typeof e.source?.endOffset=="number")&&(e.source||typeof e.sourceIndex=="number")){e.source??(e.source={});let i=r+t.length;e.source.startOffset=Math.min(GA(e,t)+r,i);let s=JA(e,t);e.source.endOffset=typeof s=="number"?Math.min(s+r,i):s}for(let i in e){let s=e[i];if(i==="source"||!s||typeof s!="object")continue;let a=Array.isArray(s)?s:[s];for(let o of a){if(!o||typeof o!="object")continue;let u=TL(e,o,r);u?e1(o,u.text,u.rootOffset,!0):e1(o,t,r,!1),YA(o,e)}}wL(e),_L(e)}function TL(e,t,r){if(t.type==="value-root"||t.type==="value-unknown")return{rootOffset:KA(e),text:t.text||t.value||""};if(t.type==="media-query-list"||e.params===t)return{rootOffset:XA(e),text:e.raws?.params||t.value||""};if(t.type?.startsWith("selector-")){let n=vL(e,t);if(typeof n=="string")return{rootOffset:SL(e,t,n,r),text:n}}}function KA(e){let t=e.source.startOffset;return typeof e.prop=="string"&&(t+=e.prop.length),e.type==="css-atrule"&&typeof e.name=="string"&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),e.type!=="css-atrule"&&typeof e.raws?.between=="string"&&(t+=e.raws.between.length),t}function XA(e){let t=e.source.startOffset;return e.type==="css-atrule"&&typeof e.name=="string"&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),t}function vL(e,t){if(typeof t.raws?.selector=="string")return t.raws.selector;if(e.selector===t){if(e.mixin)return e.raws.identifier+e.name+e.raws.afterName+e.raws.params;if(typeof e.raws?.selector=="string")return e.raws.selector;if(e.customSelector&&typeof e.raws?.params=="string")return e.raws.params.slice(e.customSelector.length).trim();if(typeof e.raws?.params=="string")return e.raws.params;if(e.type==="css-decl"&&typeof e.raws?.value=="string"){let{value:r}=e.raws;return e.extend&&r.startsWith("extend(")?r.slice(7,-1):r}}}function SL(e,t,r,n){return typeof t.sourceIndex=="number"&&typeof t.raws?.selector=="string"?n+t.sourceIndex:e.mixin?e.source.startOffset:typeof e.raws?.selector=="string"?e.source.startOffset+K0(e.raws.selector,r):typeof e.raws?.params=="string"?XA(e)+K0(e.raws.params,r):e.type==="css-decl"&&typeof e.raws?.value=="string"?KA(e)+K0(e.raws.value,r):n}function K0(e,t){let r=e.indexOf(t);return r===-1?0:r}function wL(e){var t,r;if(typeof e.type!="string")return;let n=typeof e.source?.startOffset=="number"&&typeof e.source?.endOffset=="number",i=e.source?.start&&e.source.end;if(n&&i)return;let s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,o,u;for(let h in e){if(h==="source"||h==="raws"||h==="spaces")continue;let c=e[h],p=Array.isArray(c)?c:[c];for(let d of p)!d||typeof d!="object"||typeof d.source?.startOffset!="number"||typeof d.source?.endOffset!="number"||(d.source.startOffset<s&&(s=d.source.startOffset,o=d.source.start),d.source.endOffset>a&&(a=d.source.endOffset,u=d.source.end))}s!==Number.POSITIVE_INFINITY&&(e.source??(e.source={}),n||(e.source.startOffset=s,e.source.endOffset=a),(t=e.source).start??(t.start=o),(r=e.source).end??(r.end=u))}function YA(e,t){typeof e.type!="string"||e.source||typeof t.source?.startOffset!="number"||typeof t.source?.endOffset!="number"||!BL(e)||(e.source={startOffset:t.source.startOffset,endOffset:t.source.startOffset,start:t.source.start,end:t.source.start})}function _L(e){if(!(typeof e.source?.startOffset!="number"||typeof e.source?.endOffset!="number"))for(let t in e){if(t==="source"||t==="raws"||t==="spaces")continue;let r=e[t],n=Array.isArray(r)?r:[r];for(let i of n)i&&typeof i=="object"&&YA(i,e)}}function BL(e){return Array.isArray(e.nodes)&&e.nodes.length===0||Array.isArray(e.groups)&&e.groups.length===0}function PL(e){let t="initial",r="initial",n,i=!1,s=[];for(let a=0;a<e.length;a++){let o=e[a];switch(t){case"initial":if(o==="'"){t="single-quotes";continue}if(o==='"'){t="double-quotes";continue}if((o==="u"||o==="U")&&e.slice(a,a+4).toLowerCase()==="url("){t="url",a+=3;continue}if(o==="/"){let u=e[a+1];u==="*"?(t="comment-block",a++):u==="/"&&(t="comment-inline",n=a,a++);continue}continue;case"single-quotes":if(o==="'"&&e[a-1]!=="\\"&&(t=r,r="initial"),o===`
- `||o==="\r")return e;continue;case"double-quotes":if(o==='"'&&e[a-1]!=="\\"&&(t=r,r="initial"),o===`
- `||o==="\r")return e;continue;case"url":if(o===")")t="initial";else if(o===`
- `||o==="\r")return e;if(o==="'"){t="single-quotes",r="url";continue}if(o==='"'){t="double-quotes",r="url";continue}continue;case"comment-block":o==="/"&&e[a-1]==="*"&&(t="initial");continue;case"comment-inline":o==='"'||o==="'"||o==="*"?i=!0:(o===`
- `||o==="\r")&&(i&&s.push([n,a]),t="initial",i=!1);continue}}for(let[a,o]of s)e=e.slice(0,a)+rr(0,e.slice(a,o),/["'*]/g," ")+e.slice(o);return e}var nn=e=>e.source.startOffset,sn=e=>e.source.endOffset,QA=Symbol.for("PRETTIER_IS_FRONT_MATTER");function IL(e){return!!e?.[QA]}var t1=IL;function NL(e){return rr(0,e,/[^\n]/g," ")}var ZA=NL,yc=3;function LL(e){let t=e.slice(0,yc);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
- `,yc);if(r===-1)return;let n=e.slice(yc,r).trim(),i=e.indexOf(`
- ${t}`,r),s=n;if(s||(s=t==="+++"?"toml":"yaml"),i===-1&&t==="---"&&s==="yaml"&&(i=e.indexOf(`
- ...`,r)),i===-1)return;let a=i+1+yc,o=e.charAt(a+1);if(!/\s?/.test(o))return;let u=e.slice(0,a),h;return{language:s,explicitLanguage:n||null,value:e.slice(r+1,i),startDelimiter:t,endDelimiter:u.slice(-yc),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return h??(h=u.split(`
- `)),h.length},get column(){return h??(h=u.split(`
- `)),Ma(0,h,-1).length}},[QA]:!0}}function OL(e){let t=LL(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return ZA(r)+e.slice(r.length)}}:{content:e}}var sm=OL,ML=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function eb(e,t,r){if(e.type==="css-comment"&&r.type==="css-root"&&r.nodes.length>0&&((r.nodes[0]===e||t1(r.nodes[0])&&r.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||r.type==="css-root"&&Ma(0,r.nodes,-1)===e))return null;if(e.type==="value-root"&&delete t.text,(e.type==="media-query"||e.type==="media-query-list"||e.type==="media-feature-expression")&&delete t.value,e.type==="css-rule"&&(delete t.params,e.extend&&jL(e.selector)&&delete t.extend),(e.type==="media-feature"||e.type==="media-keyword"||e.type==="media-type"||e.type==="media-unknown"||e.type==="media-url"||e.type==="media-value"||e.type==="selector-attribute"||e.type==="selector-string"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="value-string")&&e.value&&(t.value=RL(e.value)),e.type==="selector-combinator"&&(t.value=rr(0,t.value,/\s+/g," ")),e.type==="media-feature"&&(t.value=rr(0,t.value," ","")),(e.type==="value-word"&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||e.type==="media-feature"||e.type==="selector-root-invalid"||e.type==="selector-pseudo")&&(t.value=t.value.toLowerCase()),e.type==="css-decl"&&(t.prop=e.prop.toLowerCase()),(e.type==="css-atrule"||e.type==="css-import")&&(t.name=e.name.toLowerCase()),e.type==="value-number"&&(t.unit=e.unit.toLowerCase()),e.type==="value-unknown"&&(t.value=rr(0,t.value,/;$/g,"")),e.type==="selector-attribute"&&(t.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(t.namespace=e.namespace.trim()||!0),e.value)){let{value:n}=t;/\s[a-z]$/i.test(n)&&(t.__prettier_attribute_selector_flag=Ma(0,n,-1),n=n.slice(0,-1)),n=n.trim(),n=n.replace(/^(?<quote>["'])(?<value>.*?)\k<quote>$/,"$<value>"),t.value=n,delete t.quoted}if((e.type==="media-value"||e.type==="media-type"||e.type==="value-number"||e.type==="selector-root-invalid"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="selector-tag")&&e.value&&(t.value=rr(0,t.value,/([\d+.e-]+)([a-z]*)/gi,(n,i,s)=>{let a=Number(i);return Number.isNaN(a)?n:a+s.toLowerCase()})),e.type==="selector-tag"){let n=t.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}if(e.type==="css-atrule"&&e.name.toLowerCase()==="supports"&&delete t.value,e.type==="selector-unknown"&&delete t.value,e.type==="value-comma_group"){let n=e.groups.findIndex(i=>i.type==="value-number"&&i.unit==="...");n!==-1&&(t.groups[n].unit="",t.groups.splice(n+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(e.type==="value-comma_group"&&e.groups.some(n=>n.type==="value-atword"&&(n.value.endsWith("[")||n.value.endsWith("]"))||n.type==="value-word"&&(n.value.startsWith("]")||n.value.startsWith("["))))return{type:"value-atword",value:e.groups.map(n=>n.value).join("")};if(e.type==="value-func"&&e.value==="if"&&e.group.type==="value-paren_group"&&e.group.groups.length===1&&e.group.groups[0].type==="value-comma_group"){let n=e.group.groups[0].groups,i=t.group.groups[0].groups;for(let s=n.length-1;s>=0;s--){let a=n[s];if(a.type==="value-word"&&typeof a.value=="string"&&a.value.endsWith(";")){if(a.value===";"){n[s-1]?.type==="value-number"&&i.splice(s-1,2,{type:"#node-placeholder"});continue}i[s]={type:"#node-placeholder"}}}}}eb.ignoredProperties=ML;function RL(e){return rr(0,rr(0,e,"'",'"'),/\\([^\da-f])/gi,"$1")}function jL(e){return e?.nodes?.some(t=>t.nodes?.some(r=>r.type==="selector-pseudo"&&r.value===":extend"))}var qL=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),tb=qL,UL=/\*\/$/,VL=/^\/\*\*?/,rb=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,$L=/(^|\s+)\/\/([^\n\r]*)/g,tA=/^(\r?\n)+/,zL=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,rA=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,HL=/(\r?\n|^) *\* ?/g,nb=[];function WL(e){let t=e.match(rb);return t?t[0].trimStart():""}function GL(e){let t=e.match(rb)?.[0];return t==null?e:e.slice(t.length)}function JL(e){e=rr(0,e.replace(VL,"").replace(UL,""),HL,"$1");let t="";for(;t!==e;)t=e,e=rr(0,e,zL,`
- $1 $2
- `);e=e.replace(tA,"").trimEnd();let r=Object.create(null),n=rr(0,e,rA,"").replace(tA,"").trimEnd(),i;for(;i=rA.exec(e);){let s=rr(0,i[2],$L,"");if(typeof r[i[1]]=="string"||Array.isArray(r[i[1]])){let a=r[i[1]];r[i[1]]=[...nb,...Array.isArray(a)?a:[a],s]}else r[i[1]]=s}return{comments:n,pragmas:r}}function KL({comments:e="",pragmas:t={}}){let r=Object.keys(t),n=r.flatMap(s=>nA(s,t[s])).map(s=>` * ${s}
- `).join("");if(!e){if(r.length===0)return"";if(r.length===1&&!Array.isArray(t[r[0]])){let s=t[r[0]];return`/** ${nA(r[0],s)[0]} */`}}let i=e.split(`
- `).map(s=>` * ${s}`).join(`
- `)+`
- `;return`/**
- `+(e?i:"")+(e&&r.length>0?` *
- `:"")+n+" */"}function nA(e,t){return[...nb,...Array.isArray(t)?t:[t]].map(r=>`@${e} ${r}`.trim())}var XL=["noformat","noprettier"],YL=["format","prettier"],QL="format";function ZL(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
- `);return t===-1?e:e.slice(0,t)}var eO=ZL;function b1(e){let t=eO(e);t&&(e=e.slice(t.length+1));let r=WL(e),{pragmas:n,comments:i}=JL(r);return{shebang:t,text:e,pragmas:n,comments:i}}function tO(e){let{pragmas:t}=b1(e);return YL.some(r=>tb(t,r))}function rO(e){let{pragmas:t}=b1(e);return XL.some(r=>tb(t,r))}function nO(e){let{shebang:t,text:r,pragmas:n,comments:i}=b1(e),s=GL(r),a=KL({pragmas:{[QL]:"",...n},comments:i.trimStart()});return(t?`${t}
- `:"")+a+(s.startsWith(`
- `)?`
- `:`
-
- `)+s}var iO=e=>tO(sm(e).content),sO=e=>rO(sm(e).content),aO=e=>{let{frontMatter:t,content:r}=sm(e);return(t?t.raw+`
-
- `:"")+nO(r)},oO=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 uO(e){return e.findAncestor(t=>t.type==="css-decl")?.prop?.toLowerCase()}var lO=new Set(["initial","inherit","unset","revert"]);function cO(e){return lO.has(e.toLowerCase())}function pO(e,t){return e.findAncestor(r=>r.type==="css-atrule")?.name?.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function gc(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function Cc(e,t){return e.findAncestor(r=>r.type==="value-func")?.value?.toLowerCase()===t}function hO(e){return e.hasAncestor(t=>{if(t.type!=="css-rule")return!1;let r=t.raws?.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))})}function bc(e,t){let r=Array.isArray(t)?t:[t],n=e.findAncestor(i=>i.type==="css-atrule");return n&&r.includes(n.name.toLowerCase())}function dO(e){let{node:t}=e;return t.groups[0]?.value==="url"&&t.groups.length===2&&e.findAncestor(r=>r.type==="css-atrule")?.name==="import"}function fO(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"}function mO(e){return e.type==="value-func"&&e.value.toLowerCase()==="var"}function DO(e){let{selector:t}=e;return t?typeof t=="string"&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value):!1}function yO(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)}function gO(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)}function xO(e){return e.type==="value-word"&&e.value==="in"}function r1(e){return e.type==="value-operator"&&e.value==="*"}function Ko(e){return e?.type==="value-operator"&&e.value==="/"}function rs(e){return e.type==="value-operator"&&e.value==="+"}function Xo(e){return e.type==="value-operator"&&e.value==="-"}function EO(e){return e.type==="value-operator"&&e.value==="%"}function Gf(e){return r1(e)||Ko(e)||rs(e)||Xo(e)||EO(e)}function CO(e){return e.type==="value-word"&&["==","!="].includes(e.value)}function FO(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)}function n1(e,t){return t.parser==="scss"&&e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)}function iA(e){return e.raws?.params&&/^\(\s*\)$/.test(e.raws.params)}function X0(e){return e.name.startsWith("prettier-placeholder")}function AO(e){return e.prop.startsWith("@prettier-placeholder")}function bO(e,t){return e.value==="$$"&&e.type==="value-func"&&t?.type==="value-word"&&!t.raws.before}function kO(e){return e.value?.type==="value-root"&&e.value.group?.type==="value-value"&&e.prop.toLowerCase()==="composes"}function TO(e){return e.value?.group?.group?.type==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null}function ts(e){return e?.raws?.before===""}function k1(e){return e.type==="value-comma_group"&&e.groups?.[1]?.type==="value-colon"}function Y0(e){return e.type==="value-paren_group"&&e.groups?.[0]&&k1(e.groups[0])}function ib(e,t){if(t.parser!=="scss")return!1;let{node:r}=e;if(r.groups.length===0||r.type==="value-paren_group"&&r.open&&r.close&&r.groups.length===1&&r.groups[0].type!=="value-comma_group")return!1;let n=e.parent;if(n&&n.type==="value-func"&&n.value==="if")return!1;let i=e.grandparent;return!Y0(r)&&!(i&&Y0(i))?!1:e.findAncestor(s=>s.type==="css-decl")?.prop?.startsWith("$")?!0:Y0(i)?!n.groups.some(s=>Gf(s)):i.type==="value-func"}function $f(e){return e.type==="value-comment"&&e.inline}function Q0(e){return e.type==="value-word"&&e.value==="#"}function sA(e){return e.type==="value-word"&&e.value==="{"}function Z0(e){return e.type==="value-word"&&e.value==="}"}function zf(e){return["value-word","value-atword"].includes(e.type)}function i1(e){return e?.type==="value-colon"}function vO(e,t){if(!k1(t))return!1;let{groups:r}=t,n=r.indexOf(e);return n===-1?!1:i1(r[n+1])}function SO(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function wO(e){return e.type!=="value-func"?!1:oO.has(e.value.toLowerCase())}function xc(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Yo(e){return e?.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}function _O(e,t){if(e.open?.value!=="("||e.close?.value!==")"||e.groups.some(r=>r.type!=="value-comma_group"))return!1;if(t.type==="value-comma_group"){let r=t.groups.indexOf(e)-1,n=t.groups[r];if(n?.type==="value-word"&&n.value==="with")return!0}return!1}function Hf(e){return e.type==="value-paren_group"&&e.open?.value==="("&&e.close?.value===")"}function BO(e,t,r){let{node:n}=e,i=e.parent,s=e.grandparent,a=uO(e),o=a&&i.type==="value-value"&&(a==="grid"||a.startsWith("grid-template")),u=e.findAncestor(x=>x.type==="css-atrule"),h=u&&n1(u,t),c=n.groups.some(x=>$f(x)),p=e.map(r,"groups"),d=[""],f=Cc(e,"url"),D=!1,g=!1;for(let x=0;x<n.groups.length;++x){let A=n.groups[x-1],C=n.groups[x],k=n.groups[x+1];if($f(C)&&!k){d.push([d.pop(),MA([" ",p[x]])]);continue}if(d.push([d.pop(),p[x]]),f){(k&&rs(k)||rs(C))&&d.push([d.pop()," "]);continue}if(bc(e,"forward")&&C.type==="value-word"&&C.value&&A!==void 0&&A.type==="value-word"&&A.value==="as"&&k.type==="value-operator"&&k.value==="*"||bc(e,"utility")&&C.type==="value-word"&&k&&k.type==="value-operator"&&k.value==="*"||!k||t.parser==="scss"&&k.type==="value-word"&&k.value===";"&&e.match(void 0,(M,W)=>W==="groups"&&M.type==="value-paren_group",(M,W)=>W==="group"&&M.type==="value-func"&&M.value==="if")||C.type==="value-word"&&Yo(k)&&sn(C)===nn(k))continue;if(C.type==="value-string"&&C.quoted){let M=C.value.lastIndexOf("#{"),W=C.value.lastIndexOf("}");M!==-1&&W!==-1?D=M>W:M!==-1?D=!0:W!==-1&&(D=!1)}if(D||i1(C)||i1(k)||C.type==="value-atword"&&(C.value===""||C.value.endsWith("["))||k.type==="value-word"&&k.value.startsWith("]")||C.value==="~")continue;if(t.parser==="less"){if(k?.type==="value-word"&&k.value==="[")continue;if(C.type==="value-word"&&C.value.endsWith("[")&&(k?.type==="value-atword"||k?.type==="value-word")){eu(n.groups.some((M,W)=>W>x&&(M.value?.startsWith("]")||M.value?.endsWith("]"))));continue}}if(C.type!=="value-string"&&C.value&&C.value.includes("\\")&&k&&k.type!=="value-comment"||A?.value&&A.value.indexOf("\\")===A.value.length-1&&C.type==="value-operator"&&C.value==="/"||C.value==="\\"||bO(C,k)||Q0(C)||sA(C)||Z0(k)||sA(k)&&ts(k)||Z0(C)&&ts(k)||C.value==="--"&&Q0(k))continue;let P=Gf(C),v=Gf(k);if((P&&Q0(k)||v&&Z0(C))&&ts(k)||rs(k)&&Cc(e,"type")&&ts(k)||!A&&Ko(C)||Cc(e,"calc")&&(rs(C)||rs(k)||Xo(C)||Xo(k))&&ts(k))continue;if(t.parser==="scss"&&P&&C.value==="-"&&k.type==="value-func"&&sn(C)!==nn(k)){d.push([d.pop()," "]);continue}let w=n.groups[x+2],I=(rs(C)||Xo(C))&&x===0&&(k.type==="value-number"||k.isHex)&&s&&wO(s)&&!ts(k),O=w?.type==="value-func"||w&&zf(w)||C.type==="value-func"||zf(C),R=k.type==="value-func"||zf(k)||A?.type==="value-func"||A&&zf(A);if(!(!(r1(k)||r1(C))&&!Cc(e,"calc")&&!I&&(Ko(k)&&!O||Ko(C)&&!R||rs(k)&&!O||rs(C)&&!R||Xo(k)||Xo(C))&&(ts(k)||P&&(!A||A&&Gf(A))))&&!((t.parser==="scss"||t.parser==="less")&&P&&C.value==="-"&&Hf(k)&&sn(C)===nn(k.open)&&k.open.value==="(")){if($f(C)){if(i.type==="value-paren_group"){d.push(kc(pr),"");continue}d.push(pr,"");continue}if(h&&(CO(k)||FO(k)||gO(k)||xO(C)||yO(C))){d.push([d.pop()," "]);continue}if(u&&u.name.toLowerCase()==="namespace"){d.push([d.pop()," "]);continue}if(o){C.source&&k.source&&C.source.start.line!==k.source.start.line?(d.push(pr,""),g=!0):d.push([d.pop()," "]);continue}if(!(a&&(a==="font"||a.startsWith("--"))&&(Ko(k)&&ts(k)&&aA(C)||Ko(C)&&ts(C)&&aA(A)))){if(v){d.push([d.pop()," "]);continue}if(k?.value!=="..."&&!(Yo(C)&&Yo(k)&&sn(C)===nn(k))){if(Yo(C)&&Hf(k)&&sn(C)===nn(k.open)){d.push(rn,"");continue}if(C.value==="with"&&Hf(k)){d=[[Wf(d)," "]];continue}if(!(C.value?.endsWith("#")&&k.value==="{"&&Hf(k.group))&&!($f(k)&&!w)){if(!u&&C.type==="value-comment"&&!C.inline&&n.groups.slice(0,x).every(M=>M.type==="value-comment")){d.push(kc(Ur),"");continue}d.push(Ur,"")}}}}}return c&&d.push([d.pop(),rm]),g&&d.unshift("",pr),h?xn(tn(d)):dO(e)?xn(Wf(d)):xn(tn(Wf(d)))}function aA(e){if(e?.type==="value-number")return!0;if(e?.type!=="value-func")return!1;let t=e.value.toLowerCase();return t==="var"||t==="calc"||t==="min"||t==="max"||t==="clamp"||t.startsWith("--")}var PO=BO;function IO(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var NO=IO,s1=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 sb(e){let t=e.toLowerCase();return s1.has(t)?s1.get(t):e}var ab=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,LO=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/gi,OO=/[a-z]+/gi,MO=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/gi,RO=new RegExp(ab.source+`|(${MO.source})?(${LO.source})(${OO.source})?`,"gi");function bi(e,t){return rr(0,e,ab,r=>UA(r,t))}function jO(e,t){let r=t.singleQuote?"'":'"',n="",i=e.match(/^(?<value>.+?)\s+(?<flag>[a-z])$/i);return i&&({value:e,flag:n}=i.groups),(e.includes('"')||e.includes("'")?e:r+e+r)+(n?` ${n}`:"")}function Jo(e){return rr(0,e,RO,(t,r,n,i,s)=>!n&&i&&(s??(s=""),s=s.toLowerCase(),!s||s==="n"||s1.has(s))?ob(i)+(s?sb(s):""):t)}function ob(e){return NO(e).replace(/\.0(?=$|e)/,"")}function qO(e){return e.trailingComma==="es5"||e.trailingComma==="all"}var oA=e=>e===`
- `||e==="\r"||e==="\u2028"||e==="\u2029";function UO(e,t,r){if(t===!1)return!1;let n=!!r?.backwards,i=e.charAt(t);if(n){if(e.charAt(t-1)==="\r"&&i===`
- `)return t-2;if(oA(i))return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
- `)return t+2;if(oA(i))return t+1}return t}var ub=UO;function VO(e,t,r={}){let n=zA(e,r.backwards?t-1:t,r),i=ub(e,n,r);return n!==i}var lb=VO;function $O(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var zO=$O;function HO(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?HA(e,t):t}var WO=HO;function GO(e,t){let r=null,n=t;for(;n!==r;)r=n,n=bL(e,n),n=zO(e,n),n=zA(e,n);return n=WO(e,n),n=ub(e,n),n!==!1&&lb(e,n)}var cb=GO;function JO({node:e,parent:t},r){return!!(e.source&&r.originalText.slice(nn(e),nn(t.close)).trimEnd().endsWith(","))}function KO(e,t){return mO(e.grandparent)&&JO(e,t)?",":e.node.type!=="value-comment"&&!(e.node.type==="value-comma_group"&&e.node.groups.every(r=>r.type==="value-comment"))&&qO(t)&&e.callParent(()=>ib(e,t))?LA(","):""}function XO(e,t,r){let{node:n,parent:i}=e,s=e.map(({node:f})=>typeof f=="string"?f:r(),"groups");if(i&&fO(i)&&(n.groups.length===1||n.groups.length>0&&n.groups[0].type==="value-comma_group"&&n.groups[0].groups.length>0&&n.groups[0].groups[0].type==="value-word"&&n.groups[0].groups[0].value.startsWith("data:")))return[n.open?r("open"):"",ns(",",s),n.close?r("close"):""];if(!n.open){let f=pb(e);A1(s);let D=QO(ns(",",s),2),g=ns(f?pr:Ur,D);return tn(f?[pr,g]:xn([YO(e)?rn:"",Wf(g)]))}let a=e.map(({node:f,isLast:D,index:g})=>{let x=s[g];k1(f)&&f.type==="value-comma_group"&&f.groups&&f.groups[0].type!=="value-paren_group"&&f.groups[2]?.type==="value-paren_group"&&Fc(x)===Zf&&Fc(x.contents)===Qf&&Fc(x.contents.contents)===em&&(x=xn(kc(x)));let A=[x,D?KO(e,t):","];if(!D&&f.type==="value-comma_group"&&nm(f.groups)){let C=Ma(0,f.groups,-1);!C.source&&C.close&&(C=C.close),C.source&&cb(t.originalText,sn(C))&&A.push(pr)}return A},"groups"),o=vO(n,i),u=_O(n,i),h=ib(e,t),c=u||h&&!o,p=u||o,d=xn([n.open?r("open"):"",tn([rn,ns(Ur,a)]),rn,RA,n.close?r("close"):""],{shouldBreak:c});return p?kc(d):d}function pb(e){return e.match(t=>t.type==="value-paren_group"&&!t.open&&t.groups.some(r=>r.type==="value-comma_group"),(t,r)=>r==="group"&&t.type==="value-value",(t,r)=>r==="group"&&t.type==="value-root",(t,r)=>r==="value"&&(t.type==="css-decl"&&!t.prop.startsWith("--")||t.type==="css-atrule"&&t.variable))}function YO(e){return e.match(t=>t.type==="value-paren_group"&&!t.open,(t,r)=>r==="group"&&t.type==="value-value",(t,r)=>r==="group"&&t.type==="value-root",(t,r)=>r==="value"&&t.type==="css-decl")}function QO(e,t){let r=[];for(let n=0;n<e.length;n+=t)r.push(e.slice(n,n+t));return r}function ZO(e,t,r){let n=[];return e.each(()=>{let{node:i,previous:s}=e;if(s?.type==="css-comment"&&s.text.trim()==="prettier-ignore"?n.push(t.originalText.slice(nn(i),sn(i))):n.push(r()),e.isLast)return;let{next:a}=e;a.type==="css-comment"&&!lb(t.originalText,nn(a),{backwards:!0})&&!t1(i)||a.type==="css-atrule"&&a.name==="else"&&i.type!=="css-comment"?n.push(" "):(n.push(t.__isHTMLStyleAttribute?Ur:pr),cb(t.originalText,sn(i))&&!t1(i)&&n.push(pr))},"nodes"),n}var Ec=ZO;function eM(e,t,r){let{node:n}=e;switch(n.type){case"css-root":{let i=Ec(e,t,r),s=n.raws.after.trim();return s.startsWith(";")&&(s=s.slice(1).trim()),[n.frontMatter?[r("frontMatter"),pr,n.nodes.length>0?pr:""]:"",i,s?` ${s}`:"",n.nodes.length>0?pr:""]}case"css-comment":{let i=n.inline||n.raws.inline,s=t.originalText.slice(nn(n),sn(n));return i?s.trimEnd():s}case"css-rule":return[r("selector"),n.important?" !important":"",n.nodes?[n.selector?.type==="selector-unknown"&&xc(n.selector.value)?Ur:n.selector?" ":"","{",n.nodes.length>0?tn([pr,Ec(e,t,r)]):"",pr,"}",DO(n)?";":""]:";"];case"css-decl":{let i=e.parent,{between:s}=n.raws,a=s.trim(),o=a===":",u=s.endsWith(" ")&&o,h=typeof n.value=="string"&&/^ *$/.test(n.value),c=typeof n.value=="string"?n.value:r("value");return c=kO(n)?Q5(c):c,!o&&xc(a)&&!e.call(()=>pb(e),"value","group","group")&&(c=tn([pr,kc(c)])),[rr(0,n.raws.before,/[\s;]/g,""),i.type==="css-atrule"&&i.variable||hO(e)?n.prop:gc(n.prop),a.startsWith("//")?" ":"",a,n.extend||h||!u&&n.isNested&&(Yo(n.value.group.group)||Yo(n.value.group.group.groups?.[0]))?"":" ",t.parser==="less"&&n.extend&&n.selector?n.selector.nodes.length>1?xn(["extend(",tn([rn,r("selector")]),rn,")"]):["extend(",r("selector"),")"]:"",c,n.raws.important?n.raws.important.replace(/\s*!\s*important/i," !important"):n.important?" !important":"",n.raws.scssDefault?n.raws.scssDefault.replace(/\s*!default/i," !default"):n.scssDefault?" !default":"",n.raws.scssGlobal?n.raws.scssGlobal.replace(/\s*!global/i," !global"):n.scssGlobal?" !global":"",n.nodes?[" {",n.nodes.length>0?tn([rn,Ec(e,t,r)]):"",rn,"}"]:AO(n)&&!i.raws.semicolon&&t.originalText[sn(n)-1]!==";"?"":t.__isHTMLStyleAttribute&&e.isLast?LA(";"):";"]}case"css-atrule":{let i=e.parent,s=X0(n)&&!i.raws.semicolon&&t.originalText[sn(n)-1]!==";";if(t.parser==="less"){if(n.mixin)return[r("selector"),n.important?" !important":"",s?"":";"];if(n.function)return[n.name,typeof n.params=="string"?n.params:r("params"),s?"":";"];if(n.variable)return["@",n.name,": ",n.value?[r("value"),RA]:"",n.raws.between.trim()?n.raws.between.trim()+" ":"",n.nodes?["{",n.nodes.length>0?tn([rn,Ec(e,t,r)]):"",rn,"}"]:"",s?"":";"]}let a=n.name==="import"&&n.params?.type==="value-unknown"&&n.params.value.endsWith(";");return["@",iA(n)||n.name.endsWith(":")||X0(n)?n.name:gc(n.name),n.params?[iA(n)?"":X0(n)?n.raws.afterName===""?"":n.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(n.raws.afterName)?[pr,pr]:/^\s*\n/.test(n.raws.afterName)?pr:" ":" ",typeof n.params=="string"?n.params:r("params")]:"",n.selector?tn([" ",r("selector")]):"",n.value?xn([" ",r("value"),n1(n,t)?TO(n)?" ":Ur:""]):n.name==="else"?" ":"",n.nodes?[n1(n,t)?"":n.selector&&!n.selector.nodes&&typeof n.selector.value=="string"&&xc(n.selector.value)||!n.selector&&typeof n.params=="string"&&xc(n.params)?Ur:" ","{",n.nodes.length>0?tn([rn,Ec(e,t,r)]):"",rn,"}"]:s||a?"":";"]}case"media-query-list":{let i=[];return e.each(({node:s})=>{s.type==="media-query"&&s.value===""||i.push(r())},"nodes"),xn(tn(ns(Ur,i)))}case"media-query":return[ns(" ",e.map(r,"nodes")),e.isLast?"":","];case"media-type":return Jo(bi(n.value,t));case"media-feature-expression":return n.nodes?["(",...e.map(r,"nodes"),")"]:n.value;case"media-feature":return gc(bi(rr(0,n.value,/ +/g," "),t));case"media-colon":return[n.value," "];case"media-value":return Jo(bi(n.value,t));case"media-keyword":return bi(n.value,t);case"media-url":return bi(rr(0,rr(0,n.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),t);case"media-unknown":return n.value;case"selector-root":return xn([bc(e,"custom-selector")?[e.findAncestor(i=>i.type==="css-atrule").customSelector,Ur]:"",ns([",",bc(e,["extend","custom-selector","nest"])?Ur:pr],e.map(r,"nodes"))]);case"selector-selector":{let i=n.nodes.length>2;return xn((i?tn:s=>s)(e.map(r,"nodes")))}case"selector-comment":return n.value;case"selector-string":return bi(n.value,t);case"selector-tag":return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",e.previous?.type==="selector-nesting"?n.value:Jo(pO(e,n.value)?n.value.toLowerCase():n.value)];case"selector-id":return["#",n.value];case"selector-class":return[".",Jo(bi(n.value,t))];case"selector-attribute":return["[",n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.attribute.trim(),n.operator??"",n.value?Z5(jO(bi(n.value.trim(),t),t),OA):"",n.insensitive?" i":"","]"];case"selector-combinator":{if(n.value==="+"||n.value===">"||n.value==="~"||n.value===">>>"){let a=e.parent;return[a.type==="selector-selector"&&a.nodes[0]===n?"":Ur,n.value,e.isLast?"":" "]}let i=n.value.trimStart().startsWith("(")?Ur:"",s=Jo(bi(n.value.trim(),t))||Ur;return[i,s]}case"selector-universal":return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.value];case"selector-pseudo":return[gc(n.value),nm(n.nodes)?xn(["(",tn([rn,ns([",",Ur],e.map(r,"nodes"))]),rn,")"]):""];case"selector-nesting":return n.value;case"selector-unknown":{if(e.findAncestor(a=>a.type==="css-rule")?.isScssNestedProperty)return Jo(bi(gc(n.value),t));let i=e.parent;if(i.raws?.selector){let a=nn(i),o=a+i.raws.selector.length;return t.originalText.slice(a,o).trim()}let s=e.grandparent;if(i.type==="value-paren_group"&&s?.type==="value-func"&&s.value==="selector"){let a=sn(i.open)+1,o=nn(i.close),u=t.originalText.slice(a,o).trim();return xc(u)?[rm,u]:u}return n.value}case"value-value":case"value-root":return r("group");case"value-comment":{let i=t.originalText.slice(nn(n),sn(n));return n.inline?MA(i.trimEnd()):i}case"value-comma_group":return PO(e,t,r);case"value-paren_group":return XO(e,t,r);case"value-func":return[n.value,bc(e,"supports")&&SO(n)?" ":"",r("group")];case"value-paren":return n.value;case"value-number":return[ob(n.value),sb(n.unit)];case"value-operator":return n.value;case"value-word":return n.isColor&&n.isHex||cO(n.value)?n.value.toLowerCase():n.value;case"value-colon":{let{previous:i}=e;return xn([n.value,typeof i?.value=="string"&&i.value.endsWith("\\")||Cc(e,"url")?"":Ur])}case"value-string":return UA(n.raws.quote+n.value+n.raws.quote,t);case"value-atword":return["@",n.value];case"value-unicode-range":return n.value;case"value-unknown":return n.value;default:throw new fL(n,"PostCSS")}}var tM={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:eM,embed:mL,insertPragma:aO,massageAstNode:eb,getVisitorKeys:FL},rM=tM,hb=[{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}],nM={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."}},iM={singleQuote:nM.singleQuote},db=iM,T1={};lA(T1,{css:()=>OM,less:()=>MM,scss:()=>RM});var sM=Qo(Yf(),1),aM=Qo(Y7(),1),oM=Qo(i5(),1);function uM(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var lM=uM;function cM(e){return e!==null&&typeof e=="object"}var am=cM,pM=Qo(a5(),1);function _c(e,t,r){if(am(e)){delete e.parent;for(let n in e)_c(e[n],t,r),n==="type"&&typeof e[n]=="string"&&!e[n].startsWith(t)&&(!r||!r.test(e[n]))&&(e[n]=t+e[n])}return e}function fb(e){if(am(e)){delete e.parent;for(let t in e)fb(e[t]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}var hM=pM.default.default;function dM(e){let t;try{t=hM(e)}catch{return{type:"selector-unknown",value:e}}return _c(fb(t),"media-")}var fM=dM,mM=Qo(F5(),1);function DM(e){if(/\/[/*]/.test(rr(0,e,/"[^"]+"|'[^']+'/g,"")))return{type:"selector-unknown",value:e.trim()};let t;try{new mM.default(r=>{t=r}).process(e)}catch{return{type:"selector-unknown",value:e}}return _c(t,"selector-")}var Oa=DM,yM=Qo(j5(),1),gM=e=>{for(;e.parent;)e=e.parent;return e},mb=gM;function xM(e){return mb(e).text.slice(e.group.open.sourceIndex+1,e.group.close.sourceIndex).trim()}var EM=xM;function CM(e){if(nm(e)){for(let t=e.length-1;t>0;t--)if(e[t].type==="word"&&e[t].value==="{"&&e[t-1].type==="word"&&e[t-1].value.endsWith("#"))return!0}return!1}var FM=CM;function AM(e){return e.some(t=>t.type==="string"||t.type==="func"&&!t.value.endsWith("\\"))}var bM=AM;function kM(e,t){return!!(t.parser==="scss"&&e?.type==="word"&&e.value.startsWith("$"))}var TM=kM,uA=e=>e.type==="paren"&&e.value===")";function vM(e,t){let{nodes:r}=e,n={open:null,close:null,groups:[],type:"paren_group"},i=[n],s=n,a={groups:[],type:"comma_group"},o=[a];for(let u=0;u<r.length;++u){let h=r[u];if(t.parser==="scss"&&h.type==="number"&&h.unit===".."&&h.value.endsWith(".")&&(h.value=h.value.slice(0,-1),h.unit="..."),h.type==="func"&&h.value==="selector"){let c=mb(e).text.slice(h.group.open.sourceIndex+1,h.group.close.sourceIndex),p=Oa(c);p.sourceIndex=h.group.open.sourceIndex+1,p.raws??(p.raws={}),p.raws.selector=c,h.group.groups=[p]}if(h.type==="func"&&h.value==="url"){let c=h.group?.groups??[],p=[];for(let d=0;d<c.length;d++){let f=c[d];f.type==="comma_group"?p=[...p,...f.groups]:p.push(f)}(FM(p)||!bM(p)&&!TM(p[0],t))&&(h.group.groups=[EM(h)])}if(h.type==="paren"&&h.value==="(")n={open:h,close:null,groups:[],type:"paren_group"},i.push(n),a={groups:[],type:"comma_group"},o.push(a);else if(uA(h)){if(a.groups.length>0&&n.groups.push(a),n.close=h,o.length===1)throw new Error("Unbalanced parenthesis");o.pop(),a=Ma(0,o,-1),a.groups.push(n),i.pop(),n=Ma(0,i,-1)}else if(h.type==="comma"){if(u===r.length-3&&r[u+1].type==="comment"&&uA(r[u+2]))continue;n.groups.push(a),a={groups:[],type:"comma_group"},o[o.length-1]=a}else a.groups.push(h)}return a.groups.length>0&&n.groups.push(a),s}function a1(e){return e.type==="paren_group"&&!e.open&&!e.close&&e.groups.length===1||e.type==="comma_group"&&e.groups.length===1?a1(e.groups[0]):e.type==="paren_group"||e.type==="comma_group"?{...e,groups:e.groups.map(a1)}:e}function Db(e,t){if(am(e))for(let r in e)r!=="parent"&&(Db(e[r],t),r==="nodes"&&(e.type==="atword"&&e.nodes.length===0||(e.group=a1(vM(e,t))),delete e[r]));return e}function SM(e,t){if(t.parser==="less"&&e.startsWith("~`"))return{type:"value-unknown",value:e};let r;try{r=new yM.default(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}r.text=e;let n=Db(r,t);return _c(n,"value-",/^selector-/)}var La=SM,wM=new Set(["import","use","forward"]);function _M(e){return wM.has(e)}var BM=_M;function PM(e,t){return t.parser!=="scss"||!e.selector?!1:e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trimEnd().endsWith(":")}var IM=PM,NM=/(\s*)(!default).*$/,LM=/(\s*)(!global).*$/;function yb(e,t){if(am(e)){delete e.parent;for(let s in e)yb(e[s],t);if(!e.type)return e;if(e.raws??(e.raws={}),e.type==="css-decl"&&typeof e.prop=="string"&&e.prop.startsWith("--")&&typeof e.value=="string"&&e.value.startsWith("{")){let s;if(e.value.trimEnd().endsWith("}")){let a=t.originalText.slice(0,e.source.start.offset),o="a".repeat(e.prop.length)+t.originalText.slice(e.source.start.offset+e.prop.length,e.source.end.offset),u=ZA(a)+o,h;t.parser==="scss"?h=Eb:t.parser==="less"?h=xb:h=gb;let c;try{c=h(u,{...t})}catch{}c?.nodes?.length===1&&c.nodes[0].type==="css-rule"&&(s=c.nodes[0].nodes)}return s?e.value={type:"css-rule",nodes:s}:e.value={type:"value-unknown",value:e.raws.value.raw},e}let r="";typeof e.selector=="string"&&(r=e.raws.selector?e.raws.selector.scss??e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(r+=e.raws.between),e.raws.selector=r);let n="";typeof e.value=="string"&&(n=e.raws.value?e.raws.value.scss??e.raws.value.raw:e.value,e.raws.value=n.trim());let i="";if(typeof e.params=="string"&&(i=e.raws.params?e.raws.params.scss??e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(i=e.raws.afterName+i),e.raws.between&&e.raws.between.trim().length>0&&(i+=e.raws.between),i=i.trim(),e.raws.params=i),r.trim().length>0)return r.startsWith("@")&&r.endsWith(":")?e:e.mixin?(e.selector=La(r,t),e):(IM(e,t)&&(e.isScssNestedProperty=!0),e.selector=Oa(r),e);if(n.trim().length>0){let s=n.match(NM);s&&(n=n.slice(0,s.index),e.scssDefault=!0,s[0].trim()!=="!default"&&(e.raws.scssDefault=s[0]));let a=n.match(LM);if(a&&(n=n.slice(0,a.index),e.scssGlobal=!0,a[0].trim()!=="!global"&&(e.raws.scssGlobal=a[0])),n.startsWith("progid:"))return{type:"value-unknown",value:n};e.value=La(n,t)}if(t.parser==="less"&&e.type==="css-decl"&&typeof e.prop=="string"&&/^\s*\+\s*:/.test(e.raws.between)&&(e.prop+="+",e.raws.between=e.raws.between.replace("+","")),t.parser==="less"&&e.type==="css-decl"&&n.startsWith("extend(")&&(e.extend||(e.extend=e.raws.between===":"),e.extend&&!e.selector&&(delete e.value,e.selector=Oa(n.slice(7,-1)))),e.type==="css-atrule"){if(t.parser==="less"){if(e.mixin){let s=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=Oa(s),delete e.params,e}if(e.function)return e}if(t.parser==="css"&&e.name==="custom-selector"){let s=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=s,e.selector=Oa(e.params.slice(s.length).trim()),delete e.params,e}if(t.parser==="less"){if(e.name.includes(":")){e.variable=!0;let s=e.name.split(":");e.name=s[0];let a=s.slice(1).join(":");e.params&&(a+=e.params),e.value=La(a,t)}if(!["page","nest","keyframes"].includes(e.name)&&e.params?.[0]===":"){e.variable=!0;let s=e.params.slice(1);s&&(e.value=La(s,t)),e.raws.afterName+=":"}if(e.variable)return delete e.params,e.value||delete e.value,e}}if(e.type==="css-atrule"&&i.length>0){let{name:s}=e;if(s==="warn"||s==="error")return e.params={type:"media-unknown",value:i},e;if(s==="extend"||s==="nest")return e.selector=Oa(i),delete e.params,e;if(s==="at-root")return/^\(\s*(?:without|with)\s*:.+\)$/s.test(i)?e.params=La(i,t):(e.selector=Oa(i),delete e.params),e;let a=s.toLowerCase();return BM(a)?(e.import=!0,delete e.filename,e.params=La(i,t),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(s)?(i=i.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),i=i.replace(/^(?!if)([^"'\s(]+)(\s+)\(/,"$1($2"),e.value=La(i,t),delete e.params,e):["media","custom-media"].includes(a)?i.includes("#{")?{type:"media-unknown",value:i}:(e.params=fM(i),e):(e.params=i,e)}}return e}function v1(e,t,r){let{frontMatter:n,content:i}=sm(t),s;try{s=e(i,{map:!1})}catch(a){let{name:o,reason:u,line:h,column:c}=a;throw typeof h!="number"?a:lM(`${o}: ${u}`,{loc:{start:{line:h,column:c}},cause:a})}return r.originalText=t,s=yb(_c(s,"css-"),r),kL(s,t),n&&(s.frontMatter={...n,type:"front-matter",source:{startOffset:n.start.index,endOffset:n.end.index}}),s}function gb(e,t={}){return v1(sM.default.default,e,t)}function xb(e,t={}){return v1(r=>aM.default.parse(PL(r)),e,t)}function Eb(e,t={}){return v1(oM.default,e,t)}var S1={astFormat:"postcss",hasPragma:iO,hasIgnorePragma:sO,locStart:nn,locEnd:sn},OM={...S1,parse:gb},MM={...S1,parse:xb},RM={...S1,parse:Eb},Cb={postcss:rM};var ay={};wo(ay,{default:()=>Xb,parsers:()=>Lk});Jt();var jM=Object.defineProperty,V1=(e,t)=>{for(var r in t)jM(e,r,{get:t[r],enumerable:!0})},Xb={};V1(Xb,{parsers:()=>Lk});var Yb={};V1(Yb,{__babel_estree:()=>Vq,__js_expression:()=>Jb,__ts_expression:()=>Kb,__vue_event_binding:()=>Wb,__vue_expression:()=>Jb,__vue_ts_event_binding:()=>Gb,__vue_ts_expression:()=>Kb,babel:()=>Wb,"babel-flow":()=>Bk,"babel-ts":()=>Gb});var $1=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i),qM=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},UM=$1("replaceAll",function(){if(typeof this=="string")return qM}),nu=UM,VM=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),z1=VM,on=class{constructor(e,t,r){this.line=void 0,this.column=void 0,r!==void 0&&(this.index=void 0),this.line=e,this.column=t,r!==void 0&&(this.index=r)}},Dm=class{start;end;filename;identifierName;constructor(e,t){this.start=e,this.end=t}};function jn(e,t){let{line:r,column:n,index:i}=e;return new on(r,n+t,i+t)}var Fb="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",$M={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Fb},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Fb}},Ab={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},pm=e=>e.type==="UpdateExpression"?Ab.UpdateExpression[`${e.prefix}`]:Ab[e.type],zM={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
- - Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.
- - Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:({phase:e})=>`\`import${e?`.${e}`:""}()\` requires exactly one or two arguments.`,ImportCallNotNewExpression:({phase:e})=>`Cannot use new with import${e?`.${e}`:""}().`,ImportCallSpreadArgument:({phase:e})=>`\`...\` is not allowed in \`import${e?`.${e}`:""}()\`.`,IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${pm(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${pm(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${pm(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperCallNotNewExpression:"Cannot use new with super(...).",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},HM={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},WM={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`},GM=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),JM={PipeTopicRequiresHackPipes:'Topic references are only supported when using the `"proposal": "hack"` version of the pipeline proposal.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${pm({type:e})}; please wrap it in parentheses.`,PipelineUnparenthesized:"Cannot mix binary operator with solo-await F#-style pipeline. Please wrap the pipeline in parentheses."},KM={UnsupportedBind:"Binding should be performed on object property.",UnsupportedBindRHS:"The right-hand side of binding can not be super or import."};function bb(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function XM({toMessage:e,code:t,reasonCode:r,syntaxPlugin:n}){let i=r==="MissingPlugin"||r==="MissingOneOfPlugins";return function s(a,o,u){let h=new SyntaxError;return h.code=t,h.reasonCode=r,h.loc=a,h.pos=o,h.syntaxPlugin=n,i&&(h.missingPlugin=u.missingPlugin),bb(h,"clone",function(c={}){let{line:p,column:d,index:f=o}=c.loc??a;return s(new on(p,d),f,{...u,...c.details})}),bb(h,"details",u),Object.defineProperty(h,"message",{configurable:!0,get(){let c=`${e(u)} (${a.line}:${a.column})`;return this.message=c,c},set(c){Object.defineProperty(this,"message",{value:c,writable:!0})}}),h}}function ti(e,t){if(Array.isArray(e))return n=>ti(n,e[0]);let r={};for(let n of Object.keys(e)){let i=e[n],{message:s,...a}=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,o=typeof s=="string"?()=>s:s;r[n]=XM({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:o,...t?{syntaxPlugin:t}:{},...a})}return r}var te={...ti($M),...ti(zM),...ti(HM),...ti(WM),...ti`pipelineOperator`(JM),...ti`functionBind`(KM)};function YM(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,locations:!0,tokens:!1,createImportExpressions:!0,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function QM(e){let t=YM();if(e==null)return t;if(e.annexB!=null&&e.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let r of Object.keys(t))e[r]!=null&&(t[r]=e[r]);if(t.startLine===1)e.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:e.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if(e.startColumn==null||e.startIndex==null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType==="commonjs"){if(e.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(e.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(e.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}function tu(e){let{start:t,end:r}=e.loc;return e.loc.start=new on(t.line,t.column),e.loc.end=new on(r.line,r.column),e}var ZM=e=>class extends e{createPosition(t){return new on(t.line,t.column)}parse(){let t=super.parse();return this.optionFlags&512&&(t.tokens=t.tokens.map(tu)),tu(t)}parseRegExpLiteral({pattern:t,flags:r}){let n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}parseBigIntLiteral(t){let r;try{r=BigInt(t)}catch{r=null}let n=this.estreeParseLiteral(r);return n.bigint=String(n.value||t),n}estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}parseStringLiteral(t){return this.estreeParseLiteral(t)}parseNumericLiteral(t){return this.estreeParseLiteral(t)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(t){return this.estreeParseLiteral(t)}estreeParseChainExpression(t,r){let n=this.startNodeAtNode(t);return n.expression=t,this.finishNodeAtNode(n,"ChainExpression",r)}directiveToStmt(t){let r=t.value;delete t.value,this.castNodeTo(r,"Literal"),r.raw=r.extra.raw,r.value=r.extra.expressionValue;let n=this.castNodeTo(t,"ExpressionStatement");return n.expression=r,n.directive=r.extra.rawValue,delete r.extra,n}fillOptionalPropertiesForTSESLint(t){}cloneEstreeStringLiteral(t){let{start:r,end:n,loc:i,range:s,raw:a,value:o}=t,u=Object.create(t.constructor.prototype);return u.type="Literal",u.start=r,u.end=n,u.loc=i,u.range=s,u.raw=a,u.value=o,u}initFunction(t,r){super.initFunction(t,r),t.expression=!1}checkDeclaration(t){t!=null&&this.isObjectProperty(t)?this.checkDeclaration(t.value):super.checkDeclaration(t)}getObjectOrClassMethodParams(t){return t.value.params}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&!t.expression.extra?.parenthesized}parseBlockBody(t,r,n,i,s){super.parseBlockBody(t,r,n,i,s);let a=t.directives.map(o=>this.directiveToStmt(o));t.body=a.concat(t.body),delete t.directives}parsePrivateName(){let t=super.parsePrivateName();return this.convertPrivateNameToPrivateIdentifier(t)}convertPrivateNameToPrivateIdentifier(t){let r=super.getPrivateNameSV(t);return delete t.id,t.name=r,this.castNodeTo(t,"PrivateIdentifier")}isPrivateName(t){return t.type==="PrivateIdentifier"}getPrivateNameSV(t){return t.name}parseLiteral(t,r){let n=super.parseLiteral(t,r);return n.raw=n.extra.raw,delete n.extra,n}parseFunctionBody(t,r,n=!1){super.parseFunctionBody(t,r,n),t.expression=t.body.type!=="BlockStatement"}parseMethod(t,r,n,i,s,a,o=!1){let u=this.startNode();u.kind=t.kind,u=super.parseMethod(u,r,n,i,s,a,o),delete u.kind;let{typeParameters:h}=t;h&&(delete t.typeParameters,u.typeParameters=h,this.resetStartLocationFromNode(u,h));let c=this.castNodeTo(u,this.hasPlugin("typescript")&&!u.body?"TSEmptyBodyFunctionExpression":"FunctionExpression");return t.value=c,a==="ClassPrivateMethod"&&(t.computed=!1),this.hasPlugin("typescript")&&t.abstract?(delete t.abstract,this.finishNode(t,"TSAbstractMethodDefinition")):a==="ObjectMethod"?(t.kind==="method"&&(t.kind="init"),t.shorthand=!1,this.finishNode(t,"Property")):this.finishNode(t,"MethodDefinition")}nameIsConstructor(t){return t.type==="Literal"?t.value==="constructor":super.nameIsConstructor(t)}parseClassProperty(...t){let r=super.parseClassProperty(...t);return r.abstract&&this.hasPlugin("typescript")?(delete r.abstract,this.castNodeTo(r,"TSAbstractPropertyDefinition")):this.castNodeTo(r,"PropertyDefinition"),r}parseClassPrivateProperty(...t){let r=super.parseClassPrivateProperty(...t);return r.abstract&&this.hasPlugin("typescript")?this.castNodeTo(r,"TSAbstractPropertyDefinition"):this.castNodeTo(r,"PropertyDefinition"),r.computed=!1,r}parseClassAccessorProperty(t){let r=super.parseClassAccessorProperty(t);return r.abstract&&this.hasPlugin("typescript")?(delete r.abstract,this.castNodeTo(r,"TSAbstractAccessorProperty")):this.castNodeTo(r,"AccessorProperty"),r}parseObjectProperty(t,r,n,i){let s=super.parseObjectProperty(t,r,n,i);return s&&(s.kind="init",this.castNodeTo(s,"Property")),s}finishObjectProperty(t){return t.kind="init",this.finishNode(t,"Property")}isValidLVal(t,r,n,i){return t==="Property"?"value":super.isValidLVal(t,r,n,i)}isAssignable(t,r){return t!=null&&this.isObjectProperty(t)?this.isAssignable(t.value,r):super.isAssignable(t,r)}toAssignable(t,r=!1){if(t!=null&&this.isObjectProperty(t)){let{key:n,value:i}=t;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.start),this.toAssignable(i,r)}else super.toAssignable(t,r)}toAssignableObjectExpressionProp(t,r,n){t.type==="Property"&&(t.kind==="get"||t.kind==="set")?this.raise(te.PatternHasAccessor,t.key):t.type==="Property"&&t.method?this.raise(te.PatternHasMethod,t.key):super.toAssignableObjectExpressionProp(t,r,n)}finishCallExpression(t,r){let n=super.finishCallExpression(t,r);return n.callee.type==="Import"?(this.castNodeTo(n,"ImportExpression"),n.source=n.arguments[0],n.options=n.arguments[1]??null,delete n.arguments,delete n.callee):n.type==="OptionalCallExpression"?this.castNodeTo(n,"CallExpression"):n.optional=!1,n}parseExport(t,r){let n=this.state.lastTokStartLoc,i=super.parseExport(t,r);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":i.specifiers.length===1&&i.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(i,"ExportAllDeclaration"),i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{let{declaration:s}=i;s?.type==="ClassDeclaration"&&s.decorators?.length>0&&s.start===i.start&&this.resetStartLocation(i,n)}break}return i}stopParseSubscript(t,r){let n=super.stopParseSubscript(t,r);return r.optionalChainMember?this.estreeParseChainExpression(n,t):n}parseMember(t,r,n,i,s){let a=super.parseMember(t,r,n,i,s);return a.type==="OptionalMemberExpression"?this.castNodeTo(a,"MemberExpression"):a.optional=!1,a}isOptionalMemberExpression(t){return t.type==="ChainExpression"?t.expression.type==="MemberExpression":super.isOptionalMemberExpression(t)}hasPropertyAsPrivateName(t){return t.type==="ChainExpression"&&(t=t.expression),super.hasPropertyAsPrivateName(t)}isObjectProperty(t){return t.type==="Property"&&t.kind==="init"&&!t.method}isObjectMethod(t){return t.type==="Property"&&(t.method||t.kind==="get"||t.kind==="set")}castNodeTo(t,r){let n=super.castNodeTo(t,r);return this.fillOptionalPropertiesForTSESLint(n),n}cloneIdentifier(t){let r=super.cloneIdentifier(t);return this.fillOptionalPropertiesForTSESLint(r),r}cloneStringLiteral(t){return t.type==="Literal"?this.cloneEstreeStringLiteral(t):super.cloneStringLiteral(t)}finishNodeAt(t,r,n){return tu(super.finishNodeAt(t,r,n))}finishNodeAtNode(t,r,n){return tu(super.finishNodeAtNode(t,r,n))}finishNode(t,r){let n=super.finishNode(t,r);return this.fillOptionalPropertiesForTSESLint(n),n}resetStartLocation(t,r){super.resetStartLocation(t,r),tu(t)}resetEndLocation(t,r=this.state.lastTokEndLoc){super.resetEndLocation(t,r),tu(t)}},bt=!0,ze=!0,_1=!0,Bc=!0,Os=!0,eR=!0,Qb=class{label;keyword;beforeExpr;startsExpr;rightAssociative;isLoop;isAssign;prefix;postfix;binop;constructor(e,t={}){this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop!=null?t.binop:null}},H1=new Map;function St(e,t={}){t.keyword=e;let r=ot(e,t);return H1.set(e,r),r}function Wr(e,t){return ot(e,{beforeExpr:bt,binop:t})}var Mc=-1,W1=[],G1=[],J1=[],K1=[],X1=[],Y1=[];function ot(e,t={}){return++Mc,G1.push(e),J1.push(t.binop??-1),K1.push(t.beforeExpr??!1),X1.push(t.startsExpr??!1),Y1.push(t.prefix??!1),W1.push(new Qb(e,t)),Mc}function Ct(e,t={}){return++Mc,H1.set(e,Mc),G1.push(e),J1.push(t.binop??-1),K1.push(t.beforeExpr??!1),X1.push(t.startsExpr??!1),Y1.push(t.prefix??!1),W1.push(new Qb("name",t)),Mc}var tR={bracketL:ot("[",{beforeExpr:bt,startsExpr:ze}),bracketR:ot("]"),braceL:ot("{",{beforeExpr:bt,startsExpr:ze}),braceBarL:ot("{|",{beforeExpr:bt,startsExpr:ze}),braceR:ot("}"),braceBarR:ot("|}"),parenL:ot("(",{beforeExpr:bt,startsExpr:ze}),parenR:ot(")"),comma:ot(",",{beforeExpr:bt}),semi:ot(";",{beforeExpr:bt}),colon:ot(":",{beforeExpr:bt}),doubleColon:ot("::",{beforeExpr:bt}),dot:ot("."),question:ot("?",{beforeExpr:bt}),questionDot:ot("?."),arrow:ot("=>",{beforeExpr:bt}),template:ot("template"),ellipsis:ot("...",{beforeExpr:bt}),backQuote:ot("`",{startsExpr:ze}),dollarBraceL:ot("${",{beforeExpr:bt,startsExpr:ze}),templateTail:ot("...`",{startsExpr:ze}),templateNonTail:ot("...${",{beforeExpr:bt,startsExpr:ze}),at:ot("@"),hash:ot("#",{startsExpr:ze}),interpreterDirective:ot("#!..."),eq:ot("=",{beforeExpr:bt,isAssign:Bc}),assign:ot("_=",{beforeExpr:bt,isAssign:Bc}),slashAssign:ot("_=",{beforeExpr:bt,isAssign:Bc}),xorAssign:ot("_=",{beforeExpr:bt,isAssign:Bc}),moduloAssign:ot("_=",{beforeExpr:bt,isAssign:Bc}),incDec:ot("++/--",{prefix:Os,postfix:eR,startsExpr:ze}),bang:ot("!",{beforeExpr:bt,prefix:Os,startsExpr:ze}),tilde:ot("~",{beforeExpr:bt,prefix:Os,startsExpr:ze}),doubleCaret:ot("^^",{startsExpr:ze}),doubleAt:ot("@@",{startsExpr:ze}),pipeline:Wr("|>",0),nullishCoalescing:Wr("??",1),logicalOR:Wr("||",1),logicalAND:Wr("&&",2),bitwiseOR:Wr("|",3),bitwiseXOR:Wr("^",4),bitwiseAND:Wr("&",5),equality:Wr("==/!=/===/!==",6),lt:Wr("</>/<=/>=",7),gt:Wr("</>/<=/>=",7),relational:Wr("</>/<=/>=",7),bitShift:Wr("<</>>/>>>",8),bitShiftL:Wr("<</>>/>>>",8),bitShiftR:Wr("<</>>/>>>",8),plusMin:ot("+/-",{beforeExpr:bt,binop:9,prefix:Os,startsExpr:ze}),modulo:ot("%",{binop:10,startsExpr:ze}),star:ot("*",{binop:10}),slash:Wr("/",10),exponent:ot("**",{beforeExpr:bt,binop:11,rightAssociative:!0}),_in:St("in",{beforeExpr:bt,binop:7}),_instanceof:St("instanceof",{beforeExpr:bt,binop:7}),_break:St("break"),_case:St("case",{beforeExpr:bt}),_catch:St("catch"),_continue:St("continue"),_debugger:St("debugger"),_default:St("default",{beforeExpr:bt}),_else:St("else",{beforeExpr:bt}),_finally:St("finally"),_function:St("function",{startsExpr:ze}),_if:St("if"),_return:St("return",{beforeExpr:bt}),_switch:St("switch"),_throw:St("throw",{beforeExpr:bt,prefix:Os,startsExpr:ze}),_try:St("try"),_var:St("var"),_const:St("const"),_with:St("with"),_new:St("new",{beforeExpr:bt,startsExpr:ze}),_this:St("this",{startsExpr:ze}),_super:St("super",{startsExpr:ze}),_class:St("class",{startsExpr:ze}),_extends:St("extends",{beforeExpr:bt}),_export:St("export"),_import:St("import",{startsExpr:ze}),_null:St("null",{startsExpr:ze}),_true:St("true",{startsExpr:ze}),_false:St("false",{startsExpr:ze}),_typeof:St("typeof",{beforeExpr:bt,prefix:Os,startsExpr:ze}),_void:St("void",{beforeExpr:bt,prefix:Os,startsExpr:ze}),_delete:St("delete",{beforeExpr:bt,prefix:Os,startsExpr:ze}),_do:St("do",{isLoop:_1,beforeExpr:bt}),_for:St("for",{isLoop:_1}),_while:St("while",{isLoop:_1}),_as:Ct("as",{startsExpr:ze}),_assert:Ct("assert",{startsExpr:ze}),_async:Ct("async",{startsExpr:ze}),_await:Ct("await",{startsExpr:ze}),_defer:Ct("defer",{startsExpr:ze}),_from:Ct("from",{startsExpr:ze}),_get:Ct("get",{startsExpr:ze}),_let:Ct("let",{startsExpr:ze}),_meta:Ct("meta",{startsExpr:ze}),_of:Ct("of",{startsExpr:ze}),_sent:Ct("sent",{startsExpr:ze}),_set:Ct("set",{startsExpr:ze}),_source:Ct("source",{startsExpr:ze}),_static:Ct("static",{startsExpr:ze}),_using:Ct("using",{startsExpr:ze}),_yield:Ct("yield",{startsExpr:ze}),_asserts:Ct("asserts",{startsExpr:ze}),_checks:Ct("checks",{startsExpr:ze}),_exports:Ct("exports",{startsExpr:ze}),_global:Ct("global",{startsExpr:ze}),_implements:Ct("implements",{startsExpr:ze}),_intrinsic:Ct("intrinsic",{startsExpr:ze}),_infer:Ct("infer",{startsExpr:ze}),_is:Ct("is",{startsExpr:ze}),_mixins:Ct("mixins",{startsExpr:ze}),_proto:Ct("proto",{startsExpr:ze}),_require:Ct("require",{startsExpr:ze}),_satisfies:Ct("satisfies",{startsExpr:ze}),_keyof:Ct("keyof",{startsExpr:ze}),_readonly:Ct("readonly",{startsExpr:ze}),_unique:Ct("unique",{startsExpr:ze}),_abstract:Ct("abstract",{startsExpr:ze}),_declare:Ct("declare",{startsExpr:ze}),_enum:Ct("enum",{startsExpr:ze}),_module:Ct("module",{startsExpr:ze}),_namespace:Ct("namespace",{startsExpr:ze}),_interface:Ct("interface",{startsExpr:ze}),_type:Ct("type",{startsExpr:ze}),_opaque:Ct("opaque",{startsExpr:ze}),name:ot("name",{startsExpr:ze}),placeholder:ot("%%",{startsExpr:ze}),string:ot("string",{startsExpr:ze}),num:ot("num",{startsExpr:ze}),bigint:ot("bigint",{startsExpr:ze}),regexp:ot("regexp",{startsExpr:ze}),privateName:ot("#name",{startsExpr:ze}),eof:ot("eof"),jsxName:ot("jsxName"),jsxText:ot("jsxText",{beforeExpr:bt}),jsxTagStart:ot("jsxTagStart",{startsExpr:ze}),jsxTagEnd:ot("jsxTagEnd")};function It(e){return e>=89&&e<=129}function rR(e){return e<=88}function ri(e){return e>=54&&e<=129}function Zb(e){return e>=54&&e<=132}function nR(e){return K1[e]}function Nc(e){return X1[e]}function iR(e){return e>=25&&e<=29}function kb(e){return e>=125&&e<=127}function sR(e){return e>=86&&e<=88}function Q1(e){return e>=54&&e<=88}function Tb(e){return e>=35&&e<=55}function aR(e){return e===30}function oR(e){return Y1[e]}function uR(e){return e>=117&&e<=119}function lR(e){return e>=120&&e<=126}function qs(e){return G1[e]}function hm(e){return J1[e]}function cR(e){return e===53}function O1(e){return e>=20&&e<=21}function ek(e){return W1[e]}var om=class{constructor(e,t){this.token=e,this.preserveSpace=!!t}token;preserveSpace},Vt={brace:new om("{"),j_oTag:new om("<tag"),j_cTag:new om("</tag"),j_expr:new om("<tag>...</tag>",!0)},tk="\\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",pR="\\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",rk=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],hR=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],dR=new RegExp("["+tk+"]"),fR=new RegExp("["+tk+pR+"]");function M1(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Ti(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&dR.test(String.fromCharCode(e)):M1(e,rk)}function Ua(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&fR.test(String.fromCharCode(e)):M1(e,rk)||M1(e,hR)}var Z1={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"]},mR=new Set(Z1.keyword),DR=new Set(Z1.strict),yR=new Set(Z1.strictBind);function nk(e,t){return t&&e==="await"||e==="enum"}function ik(e,t){return nk(e,t)||DR.has(e)}function sk(e){return yR.has(e)}function ak(e,t){return ik(e,t)||sk(e)}function gR(e){return mR.has(e)}function xR(e,t,r){return e===64&&t===64&&Ti(r)}var ER=new Set(["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","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function CR(e){return ER.has(e)}var ey=class{flags=0;names=new Map;firstLexicalName="";constructor(e){this.flags=e}},ty=class{parser;scopeStack=[];inModule;undefinedExports=new Map;constructor(e,t){this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&128)return!0;if(t&3779)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ey(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,t,r){let n=this.currentScope();if(t&8||t&16){this.checkRedeclarationInScope(n,e,t,r);let i=n.names.get(e)||0;t&16?i=i|4:(n.firstLexicalName||(n.firstLexicalName=e),i=i|2),n.names.set(e,i),t&8&&this.maybeExportDefined(n,e)}else if(t&4)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.names.set(e,(n.names.get(e)||0)|1),this.maybeExportDefined(n,e),!(n.flags&3715));--i);this.parser.inModule&&n.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(te.VarRedeclaration,n,{identifierName:t})}isRedeclaredInScope(e,t,r){if(!(r&1))return!1;if(r&8)return e.names.has(t);let n=e.names.get(t)||0;return r&16?(n&2)>0||!this.treatFunctionsAsVarInScope(e)&&(n&1)>0:(n&2)>0&&!(e.flags&8&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(n&4)>0}checkLocalExport(e){let{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&3715)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&3779&&!(t&4))return t}}},FR=class extends ey{declareFunctions=new Set},AR=class extends ty{createScope(e){return new FR(e)}declareName(e,t,r){let n=this.currentScope();if(t&2048){this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),n.declareFunctions.add(e);return}super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(e,t,r))return!0;if(r&2048&&!e.declareFunctions.has(t)){let n=e.names.get(t);return(n&4)>0||(n&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},bR=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),kR={AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:{message:"A binding pattern parameter cannot be optional in an implementation signature."},SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},at=ti`flow`(kR);function TR(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function vb(e){return e.importKind==="type"||e.importKind==="typeof"}var vR={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function SR(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}var wR=/\*?\s*@((?:no)?flow)\b/,_R=e=>class extends e{flowPragma=void 0;getScopeHandler(){return AR}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(t,r){t!==130&&t!==9&&t!==24&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(t,r)}addComment(t){if(this.flowPragma===void 0){let r=wR.exec(t.value);if(r)if(r[1]==="flow")this.flowPragma="flow";else if(r[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(t)}flowParseTypeInitialiser(t){let r=this.state.inType;this.state.inType=!0,this.expect(t||10);let n=this.flowParseType();return this.state.inType=r,n}flowParsePredicate(){let t=this.startNode(),r=this.state.startLoc;return this.next(),this.expectContextual(106),this.state.lastTokStartLoc.index>r.index+1&&this.raise(at.UnexpectedSpaceBetweenModuloChecks,r),this.eat(6)?(t.value=super.parseExpression(),this.expect(7),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(t){let r=this.state.inType;this.state.inType=!0,this.expect(10);let n=null,i=null;return t&&this.match(50)?(this.state.inType=r,i=this.flowParsePredicate()):(n=this.flowParseType(),this.state.inType=r,this.match(50)&&(i=this.flowParsePredicate())),[n,i]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();let r=t.id=this.parseIdentifier(),n=this.startNode(),i=this.startNode();this.match(43)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(6);let s=this.flowParseFunctionTypeParams();return n.params=s.params,n.rest=s.rest,n.this=s._this,this.expect(7),[n.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(!1),i.typeAnnotation=this.finishNode(n,"FunctionTypeAnnotation"),r.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(r),this.semicolon(),this.scope.declareName(t.id.name,2048,t.id.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,r){if(this.match(76))return this.flowParseDeclareClass(t);if(this.match(64))return this.flowParseDeclareFunction(t);if(this.match(70))return this.flowParseDeclareVariable(t);if(this.eatContextual(123))return this.match(12)?this.flowParseDeclareModuleExports(t):(r&&this.raise(at.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(t));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(125))return this.flowParseDeclareInterface(t);if(this.match(78))return this.flowParseDeclareExportDeclaration(t,r);throw this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(),this.scope.declareName(t.id.name,5,t.id.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(0),this.match(130)?t.id=super.parseExprAtom():t.id=this.parseIdentifier();let r=this.startNode(),n=r.body=[];for(this.expect(2);!this.match(4);){let a=this.startNode();this.match(79)?(this.next(),!this.isContextual(126)&&!this.match(83)&&this.raise(at.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(super.parseImport(a))):(this.expectContextual(121,at.UnsupportedStatementInDeclareModule),n.push(this.flowParseDeclare(a,!0)))}this.scope.exit(),this.expect(4),t.body=this.finishNode(r,"BlockStatement");let i=null,s=!1;return n.forEach(a=>{TR(a)?(i==="CommonJS"&&this.raise(at.AmbiguousDeclareModuleKind,a),i="ES"):a.type==="DeclareModuleExports"&&(s&&this.raise(at.DuplicateDeclareModuleExports,a),i==="ES"&&this.raise(at.AmbiguousDeclareModuleKind,a),i="CommonJS",s=!0)}),t.kind=i||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,r){if(this.expect(78),this.eat(61))return this.match(64)||this.match(76)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(71)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!r){let n=this.state.value;throw this.raise(at.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:n,suggestion:vR[n]})}if(this.match(70)||this.match(64)||this.match(76)||this.isContextual(127))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(51)||this.match(2)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127)){let n=this.parseExport(t,null);return n.type==="ExportNamedDeclaration"?(n.default=!1,delete n.exportKind,this.castNodeTo(n,"DeclareExportDeclaration")):this.castNodeTo(n,"DeclareExportAllDeclaration")}throw this.unexpected()}flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(107),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}flowParseDeclareTypeAlias(t){this.next();let r=this.flowParseTypeAlias(t);return this.castNodeTo(r,"DeclareTypeAlias"),r}flowParseDeclareOpaqueType(t){return this.next(),this.flowParseOpaqueType(t,!0)}flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t,!1),this.finishNode(t,"DeclareInterface")}flowParseInterfaceish(t,r){if(t.id=this.flowParseRestrictedIdentifier(!r,!0),this.scope.declareName(t.id.name,r?17:8201,t.id.start),this.match(43)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],this.eat(77))do t.extends.push(this.flowParseInterfaceExtends());while(!r&&this.eat(8));if(r){let n=[],i=[];if(this.eatContextual(113))do i.push(this.flowParseInterfaceExtends());while(this.eat(8));if(this.eatContextual(109))do n.push(this.flowParseClassImplements());while(this.eat(8));t.implements=n,t.mixins=i}t.body=this.flowParseObjectType({allowStatic:r,allowExact:!1,allowSpread:!1,allowProto:r,allowInexact:!1})}flowParseInterfaceExtends(){let t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(43)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t,!1),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){t==="_"&&this.raise(at.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(t,r,n){bR.has(t)&&this.raise(n?at.AssignReservedType:at.UnexpectedReservedType,r,{reservedType:t})}flowParseRestrictedIdentifierName(t,r){return this.checkReservedType(this.state.value,this.state.startLoc,r),this.parseIdentifierName(t)}flowParseRestrictedIdentifier(t,r){let n=this.startNode(),i=this.flowParseRestrictedIdentifierName(t,r);return this.createIdentifier(n,i)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,8201,t.id.start),this.match(43)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(25),this.semicolon(),this.finishNode(t,"TypeAlias")}flowParseOpaqueType(t,r){return this.expectContextual(126),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,8201,t.id.start),this.match(43)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(10)&&(t.supertype=this.flowParseTypeInitialiser(10)),t.impltype=null,r||(t.impltype=this.flowParseTypeInitialiser(25)),this.semicolon(),this.finishNode(t,r?"DeclareOpaqueType":"OpaqueType")}flowParseTypeParameterBound(){if(this.match(10)||this.isContextual(77)){let t=this.startNode();return this.next(),t.typeAnnotation=this.flowParseType(),this.finishNode(t,"TypeAnnotation")}}flowParseTypeParameter(t=!1){let r=this.state.startLoc,n=this.startNode(),i=this.flowParseVariance();return n.name=this.flowParseRestrictedIdentifierName(),n.variance=i,n.bound=this.flowParseTypeParameterBound(),this.match(25)?(this.eat(25),n.default=this.flowParseType()):t&&this.raise(at.MissingTypeParamDefault,r),this.finishNode(n,"TypeParameter")}flowParseTypeParameterDeclaration(){let t=this.state.inType,r=this.startNode();r.params=[],this.state.inType=!0,this.match(43)||this.match(138)?this.next():this.unexpected();let n=!1;do{let i=this.flowParseTypeParameter(n);r.params.push(i),i.default&&(n=!0),this.match(44)||this.expect(8)}while(!this.match(44));return this.expect(44),this.state.inType=t,this.finishNode(r,"TypeParameterDeclaration")}flowInTopLevelContext(t){if(this.curContext()!==Vt.brace){let r=this.state.context;this.state.context=[r[0]];try{return t()}finally{this.state.context=r}}else return t()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===43)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let t=this.startNode(),r=this.state.inType;return this.state.inType=!0,t.params=[],this.flowInTopLevelContext(()=>{this.expect(43);let n=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(44);)t.params.push(this.flowParseType()),this.match(44)||this.expect(8);this.state.noAnonFunctionType=n}),this.state.inType=r,!this.state.inType&&this.curContext()===Vt.brace&&this.reScan_lt_gt(),this.expect(44),this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==43)return null;let t=this.startNode(),r=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(43);!this.match(44);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(44)||this.expect(8);return this.expect(44),this.state.inType=r,this.finishNode(t,"TypeParameterInstantiation")}flowParseInterfaceType(){let t=this.startNode();if(this.expectContextual(125),t.extends=[],this.eat(77))do t.extends.push(this.flowParseInterfaceExtends());while(this.eat(8));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(131)||this.match(130)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(t,r,n){return t.static=r,this.lookahead().type===10?(t.id=this.parseIdentifier(!0),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(1),t.value=this.flowParseTypeInitialiser(),t.variance=n,this.finishNode(t,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(t,r){return t.static=r,t.id=this.parseIdentifier(!0),this.expect(1),this.expect(1),this.match(43)||this.match(6)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAtNode(t))):(t.method=!1,this.eat(13)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(6),this.match(74)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(7)||this.expect(8));!this.match(7)&&!this.match(17);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(7)||this.expect(8);return this.eat(17)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(7),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(t,r){let n=this.startNode();return t.static=r,t.value=this.flowParseObjectTypeMethodish(n),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:t,allowExact:r,allowSpread:n,allowProto:i,allowInexact:s}){let a=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let u,h,c=!1;for(r&&this.match(3)?(this.expect(3),u=5,h=!0):(this.expect(2),u=4,h=!1),o.exact=h;!this.match(u);){let d=!1,f=null,D=null,g=this.startNode();if(i&&this.isContextual(114)){let A=this.lookahead();A.type!==10&&A.type!==13&&(this.next(),f=this.state.startLoc,t=!1)}if(t&&this.isContextual(102)){let A=this.lookahead();A.type!==10&&A.type!==13&&(this.next(),d=!0)}let x=this.flowParseVariance();if(this.eat(0))f!=null&&this.unexpected(f),this.eat(0)?(x&&this.unexpected(x.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(g,d))):o.indexers.push(this.flowParseObjectTypeIndexer(g,d,x));else if(this.match(6)||this.match(43))f!=null&&this.unexpected(f),x&&this.unexpected(x.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(g,d));else{let A="init";if(this.isContextual(95)||this.isContextual(100)){let k=this.lookahead();Zb(k.type)&&(A=this.state.value,this.next())}let C=this.flowParseObjectTypeProperty(g,d,f,x,A,n,s??!h);C===null?(c=!0,D=this.state.lastTokStartLoc):o.properties.push(C)}this.flowObjectTypeSemicolon(),D&&!this.match(4)&&!this.match(5)&&this.raise(at.UnexpectedExplicitInexactInObject,D)}this.expect(u),n&&(o.inexact=c);let p=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=a,p}flowParseObjectTypeProperty(t,r,n,i,s,a,o){if(this.eat(17))return this.match(8)||this.match(9)||this.match(4)||this.match(5)?(a?o||this.raise(at.InexactInsideExact,this.state.lastTokStartLoc):this.raise(at.InexactInsideNonObject,this.state.lastTokStartLoc),i&&this.raise(at.InexactVariance,i),null):(a||this.raise(at.UnexpectedSpreadType,this.state.lastTokStartLoc),n!=null&&this.unexpected(n),i&&this.raise(at.SpreadVariance,i),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=r,t.proto=n!=null,t.kind=s;let u=!1;return this.match(43)||this.match(6)?(t.method=!0,n!=null&&this.unexpected(n),i&&this.unexpected(i.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAtNode(t)),s==="get"||s==="set"?this.flowCheckGetterSetterParams(t):!r&&!a&&t.key.name==="constructor"&&t.value.this&&this.raise(at.ThisParamBannedInConstructor,t.value.this)):(s!=="init"&&this.unexpected(),t.method=!1,this.eat(13)&&(u=!0),t.value=this.flowParseTypeInitialiser(),t.variance=i),t.optional=u,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){let r=t.kind==="get"?0:1,n=t.value,i=n.params.length+(n.rest?1:0);n.this&&this.raise(t.kind==="get"?at.GetterMayNotHaveThisParam:at.SetterMayNotHaveThisParam,n.this),i!==r&&this.raise(t.kind==="get"?te.BadGetterArity:te.BadSetterArity,t),t.kind==="set"&&n.rest&&this.raise(te.BadSetterRestParameter,t)}flowObjectTypeSemicolon(){!this.eat(9)&&!this.eat(8)&&!this.match(4)&&!this.match(5)&&this.unexpected()}flowParseQualifiedTypeIdentifier(t,r){t??(t=this.state.startLoc);let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(12);){let i=this.startNodeAt(t);i.qualification=n,i.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(i,"QualifiedTypeIdentifier")}return n}flowParseGenericType(t,r){let n=this.startNodeAt(t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(t,r),this.match(43)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){let t=this.startNode();return this.expect(83),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}flowParseTupleType(){let t=this.startNode();for(t.types=[],this.expect(0);this.state.pos<this.length&&!this.match(1)&&(t.types.push(this.flowParseType()),!this.match(1));)this.expect(8);return this.expect(1),this.finishNode(t,"TupleTypeAnnotation")}flowParseFunctionTypeParam(t){let r=null,n=!1,i,s=this.startNode(),a=this.lookahead(),o=this.state.type===74;return a.type===10||a.type===13?(o&&!t&&this.raise(at.ThisParamMustBeFirst,s),r=this.parseIdentifier(o),this.eat(13)&&(n=!0,o&&this.raise(at.ThisParamMayNotBeOptional,s)),i=this.flowParseTypeInitialiser()):i=this.flowParseType(),s.name=r,s.optional=n,s.typeAnnotation=i,this.finishNode(s,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){let r=this.startNodeAtNode(t);return r.name=null,r.optional=!1,r.typeAnnotation=t,this.finishNode(r,"FunctionTypeParam")}flowParseFunctionTypeParams(t=[]){let r=null,n=null;for(this.match(74)&&(n=this.flowParseFunctionTypeParam(!0),n.name=null,this.match(7)||this.expect(8));!this.match(7)&&!this.match(17);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(7)||this.expect(8);return this.eat(17)&&(r=this.flowParseFunctionTypeParam(!1)),{params:t,rest:r,_this:n}}flowIdentToTypeAnnotation(t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(t,n)}}flowParsePrimaryType(){let t=this.state.startLoc,r=this.startNode(),n,i,s=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 2:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 3:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,i=this.flowParseTupleType(),this.state.noAnonFunctionType=a,i;case 43:{let o=this.startNode();return o.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(6),n=this.flowParseFunctionTypeParams(),o.params=n.params,o.rest=n.rest,o.this=n._this,this.expect(7),this.expect(15),o.returnType=this.flowParseType(),this.finishNode(o,"FunctionTypeAnnotation")}case 6:{let o=this.startNode();if(this.next(),!this.match(7)&&!this.match(17))if(It(this.state.type)||this.match(74)){let u=this.lookahead().type;s=u!==13&&u!==10}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(8)||this.match(7)&&this.lookahead().type===15))return this.expect(7),i;this.eat(8)}return i?n=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):n=this.flowParseFunctionTypeParams(),o.params=n.params,o.rest=n.rest,o.this=n._this,this.expect(7),this.expect(15),o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,"FunctionTypeAnnotation")}case 130:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 81:case 82:return r.value=this.match(81),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 49:if(this.state.value==="-"){if(this.next(),this.match(131))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(132))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(at.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();case 131:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 132:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 84:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case 80:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 74:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 51:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 83:return this.flowParseTypeofType();default:if(Q1(this.state.type)){let o=qs(this.state.type);return this.next(),super.createIdentifier(r,o)}else if(It(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let t=this.state.startLoc,r=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(14))&&!this.canInsertSemicolon();){let i=this.startNodeAt(t),s=this.eat(14);n=n||s,this.expect(0),!s&&this.match(1)?(i.elementType=r,this.next(),r=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=r,i.indexType=this.flowParseType(),this.expect(1),n?(i.optional=s,r=this.finishNode(i,"OptionalIndexedAccessType")):r=this.finishNode(i,"IndexedAccessType"))}return r}flowParsePrefixType(){let t=this.startNode();return this.eat(13)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(15)){let r=this.startNodeAtNode(t);return r.params=[this.reinterpretTypeAsFunctionTypeParam(t)],r.rest=null,r.this=null,r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){let t=this.startNode();this.eat(41);let r=this.flowParseAnonFunctionWithoutParens();for(t.types=[r];this.eat(41);)t.types.push(this.flowParseAnonFunctionWithoutParens());return t.types.length===1?r:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){let t=this.startNode();this.eat(39);let r=this.flowParseIntersectionType();for(t.types=[r];this.eat(39);)t.types.push(this.flowParseIntersectionType());return t.types.length===1?r:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){let t=this.state.inType;this.state.inType=!0;let r=this.flowParseUnionType();return this.state.inType=t,r}flowParseTypeOrImplicitInstantiation(){if(this.state.type===128&&this.state.value==="_"){let t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(t,r)}else return this.flowParseType()}flowParseTypeAnnotation(){let t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(){let t=this.startNode(),r=this.parseIdentifierName();return this.match(10)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),this.createIdentifier(t,r)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocationFromNode(t.expression,t.typeAnnotation),t.expression}flowParseVariance(){let t=null;return this.match(49)?(t=this.startNode(),this.state.value==="+"?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")):t}parseFunctionBody(t,r,n=!1){if(r){this.forwardNoArrowParamsConversionAt(t,()=>super.parseFunctionBody(t,!0,n));return}super.parseFunctionBody(t,!1,n)}parseFunctionBodyAndFinish(t,r,n=!1){if(this.match(10)){let i=this.startNode();r==="FunctionDeclaration"||r==="FunctionExpression"||r==="ArrowFunctionExpression"?[i.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(!0):i.typeAnnotation=this.flowParseTypeInitialiser(),t.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(t,r,n)}parseStatementLike(t){if(this.state.strict&&this.isContextual(125)){let n=this.lookahead();if(ri(n.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.isContextual(122)){let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}let r=super.parseStatementLike(t);return this.flowPragma===void 0&&!this.isValidDirective(r)&&(this.flowPragma=null),r}parseExpressionStatement(t,r,n){if(r.type==="Identifier"){if(r.name==="declare"){if(this.match(76)||It(this.state.type)||this.match(64)||this.match(70)||this.match(78))return this.flowParseDeclare(t)}else if(It(this.state.type)){if(r.name==="interface")return this.flowParseInterface(t);if(r.name==="type")return this.flowParseTypeAlias(t);if(r.name==="opaque")return this.flowParseOpaqueType(t,!1)}}return super.parseExpressionStatement(t,r,n)}shouldParseExportDeclaration(){let{type:t}=this.state;return t===122||kb(t)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return t===122||kb(t)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(122)){let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDefaultExpression()}parseConditional(t,r,n){if(!this.match(13))return t;if(n!=null){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(n),t}this.expect(13);let i=this.state.clone(),s=this.state.noArrowAt,a=this.startNodeAt(r),{consequent:o,failed:u}=this.tryParseConditionalConsequent(),h=this.getArrowLikeExpressions(o),c=h[0],p=h[1];if(u||p.length>0){let d=[...s];if(p.length>0){this.state=i,this.state.noArrowAt=d;for(let f=0;f<p.length;f++)d.push(p[f].start);({consequent:o,failed:u}=this.tryParseConditionalConsequent()),[c]=this.getArrowLikeExpressions(o)}u&&c.length>1&&this.raise(at.AmbiguousConditionalArrow,i.startLoc),u&&c.length===1&&(this.state=i,d.push(c[0].start),this.state.noArrowAt=d,{consequent:o}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(10),a.test=t,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let t=this.parseMaybeAssignAllowIn(),r=!this.match(10);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:r}}getArrowLikeExpressions(t,r){let n=[t],i=[];for(;n.length!==0;){let s=n.pop();s.type==="ArrowFunctionExpression"&&s.body.type!=="BlockStatement"?(s.typeParameters||!s.returnType?this.finishArrowValidation(s):i.push(s),n.push(s.body)):s.type==="ConditionalExpression"&&(n.push(s.consequent),n.push(s.alternate))}return r?(i.forEach(s=>this.finishArrowValidation(s)),[i,[]]):SR(i,s=>s.params.every(a=>this.isAssignable(a,!0)))}finishArrowValidation(t){this.toAssignableList(t.params,t.extra?.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,r){let n;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(t.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),n=r(),this.state.noArrowParamsConversionAt.pop()):n=r(),n}parseParenItem(t,r){let n=super.parseParenItem(t,r);if(this.eat(13)&&(n.optional=!0,this.resetEndLocation(t)),this.match(10)){let i=this.startNodeAt(r);return i.expression=n,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return n}assertModuleNodeAllowed(t){t.type==="ImportDeclaration"&&(t.importKind==="type"||t.importKind==="typeof")||t.type==="ExportNamedDeclaration"&&t.exportKind==="type"||t.type==="ExportAllDeclaration"&&t.exportKind==="type"||super.assertModuleNodeAllowed(t)}parseExportDeclaration(t){if(this.isContextual(126)){t.exportKind="type";let r=this.startNode();return this.next(),this.match(2)?(t.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(t),null):this.flowParseTypeAlias(r)}else if(this.isContextual(127)){t.exportKind="type";let r=this.startNode();return this.next(),this.flowParseOpaqueType(r,!1)}else if(this.isContextual(125)){t.exportKind="type";let r=this.startNode();return this.next(),this.flowParseInterface(r)}else if(this.isContextual(122)){t.exportKind="value";let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}else return super.parseExportDeclaration(t)}eatExportStar(t){return super.eatExportStar(t)?!0:this.isContextual(126)&&this.lookahead().type===51?(t.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(t){let{startLoc:r}=this.state,n=super.maybeParseExportNamespaceSpecifier(t);return n&&t.exportKind==="type"&&this.unexpected(r),n}parseClassId(t,r,n){if((!r||n)&&this.isContextual(109)){t.id=null;return}super.parseClassId(t,r,n),this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,r,n){let{startLoc:i}=this.state;if(this.isContextual(121)){if(super.parseClassMemberFromModifier(t,r))return;r.declare=!0}super.parseClassMember(t,r,n),r.declare&&(r.type!=="ClassProperty"&&r.type!=="ClassPrivateProperty"&&r.type!=="PropertyDefinition"?this.raise(at.DeclareClassElement,i):r.value&&this.raise(at.DeclareClassFieldInitializer,r.value))}isIterator(t){return t==="iterator"||t==="asyncIterator"}readIterator(){let t=super.readWord1(),r="@@"+t;(!this.isIterator(t)||!this.state.inType)&&this.raise(te.InvalidIdentifier,this.state.curPosition(),{identifierName:r}),this.finishToken(128,r)}getTokenFromCode(t){let r=this.input.charCodeAt(this.state.pos+1);t===123&&r===124?this.finishOp(3,2):this.state.inType&&(t===62||t===60)?this.finishOp(t===62?44:43,1):this.state.inType&&t===63?r===46?this.finishOp(14,2):this.finishOp(13,1):xR(t,r,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(t)}isAssignable(t,r){return t.type==="TypeCastExpression"?this.isAssignable(t.expression,r):super.isAssignable(t,r)}toAssignable(t,r=!1){!r&&t.type==="AssignmentExpression"&&t.left.type==="TypeCastExpression"&&(t.left=this.typeCastToParameter(t.left)),super.toAssignable(t,r)}toAssignableListItem(t,r,n){let i=t[r];i.type==="TypeCastExpression"&&(t[r]=this.typeCastToParameter(i)),super.toAssignableListItem(t,r,n)}toReferencedList(t,r){for(let n=0;n<t.length;n++){let i=t[n];i?.type==="TypeCastExpression"&&!i.extra?.parenthesized&&(t.length>1||!r)&&this.raise(at.TypeCastInPattern,i.typeAnnotation)}return t}parseArrayLike(t,r){let n=super.parseArrayLike(t,r);return n.type==="ArrayExpression"&&this.toReferencedList(n.elements),n}isValidLVal(t,r,n,i){return t==="TypeCastExpression"||super.isValidLVal(t,r,n,i)}parseClassProperty(t){return this.match(10)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(t)}parseClassPrivateProperty(t){return this.match(10)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(t)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(10)||super.isClassProperty()}isNonstaticConstructor(t){return!this.match(10)&&super.isNonstaticConstructor(t)}pushClassMethod(t,r,n,i,s,a){if(r.variance&&this.unexpected(r.variance.start),delete r.variance,this.match(43)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,r,n,i,s,a),r.params&&s){let o=r.params;o.length>0&&this.isThisParam(o[0])&&this.raise(at.ThisParamBannedInConstructor,r)}else if(r.type==="MethodDefinition"&&s&&r.value.params){let o=r.value.params;o.length>0&&this.isThisParam(o[0])&&this.raise(at.ThisParamBannedInConstructor,r)}}pushClassPrivateMethod(t,r,n,i){r.variance&&this.unexpected(r.variance.start),delete r.variance,this.match(43)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,r,n,i)}flowParseClassImplements(){let t=this.startNode();return t.id=this.flowParseRestrictedIdentifier(!0),this.match(43)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"ClassImplements")}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&(this.match(43)||this.match(47))&&(t.superTypeArguments=this.flowParseTypeParameterInstantiationInExpression()),this.eatContextual(109)){let r=t.implements=[];do r.push(this.flowParseClassImplements());while(this.eat(8))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);let r=this.getObjectOrClassMethodParams(t);if(r.length>0){let n=r[0];this.isThisParam(n)&&t.kind==="get"?this.raise(at.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(at.SetterMayNotHaveThisParam,n)}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,r,n,i,s,a,o){t.variance&&this.unexpected(t.variance.start),delete t.variance;let u;this.match(43)&&!a&&(u=this.flowParseTypeParameterDeclaration(),this.match(6)||this.unexpected());let h=super.parseObjPropValue(t,r,n,i,s,a,o);return u&&((h.value||h).typeParameters=u),h}parseFunctionParamType(t){return this.eat(13)&&(t.type!=="Identifier"&&this.raise(at.PatternIsOptional,t),this.isThisParam(t)&&this.raise(at.ThisParamMayNotBeOptional,t),t.optional=!0),this.match(10)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(at.ThisParamAnnotationRequired,t),this.match(25)&&this.isThisParam(t)&&this.raise(at.ThisParamNoDefault,t),this.resetEndLocation(t),t}parseMaybeDefault(t,r){let n=super.parseMaybeDefault(t,r);return n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(at.TypeBeforeInitializer,n.typeAnnotation),n}parseImportSpecifierLocal(t,r,n){r.local=vb(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,n))}isPotentialImportPhase(t){if(super.isPotentialImportPhase(t))return!0;if(this.isContextual(126)){if(!t)return!0;let r=this.lookaheadCharCode();return r===123||r===42}return!t&&this.isContextual(83)}applyImportPhase(t,r,n,i){if(super.applyImportPhase(t,r,n,i),r){if(!n&&this.match(61))return;t.exportKind=n==="type"?n:"value"}else n==="type"&&this.match(51)&&this.unexpected(),t.importKind=n==="type"||n==="typeof"?n:"value"}parseImportSpecifier(t,r,n,i,s){let a=t.imported,o=null;a.type==="Identifier"&&(a.name==="type"?o="type":a.name==="typeof"&&(o="typeof"));let u=!1;if(this.isContextual(89)&&!this.isLookaheadContextual("as")){let c=this.parseIdentifier(!0);o!==null&&!ri(this.state.type)?(t.imported=c,t.importKind=o,t.local=this.cloneIdentifier(c)):(t.imported=a,t.importKind=null,t.local=this.parseIdentifier())}else{if(o!==null&&ri(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=o;else{if(r)throw this.raise(te.ImportBindingIsString,t,{importName:a.value});t.imported=a,t.importKind=null}this.eatContextual(89)?t.local=this.parseIdentifier():(u=!0,t.local=this.cloneIdentifier(t.imported))}let h=vb(t);return n&&h&&this.raise(at.ImportTypeShorthandOnlyInPureImport,t),(n||h)&&this.checkReservedType(t.local.name,t.local.start,!0),u&&!n&&!h&&this.checkReservedWord(t.local.name,t.start,!0,!0),this.finishImportSpecifier(t,"ImportSpecifier")}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(t,r){let n=t.kind;n!=="get"&&n!=="set"&&this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,r)}parseVarId(t,r){super.parseVarId(t,r),this.match(10)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,r){if(this.match(10)){let n=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=n}return super.parseAsyncArrowFromCallExpression(t,r)}shouldParseAsyncArrow(){return this.match(10)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,r){let n=null,i;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(43))){if(n=this.state.clone(),i=this.tryParse(()=>super.parseMaybeAssign(t,r),n),!i.error)return i.node;let{context:s}=this.state,a=s[s.length-1];(a===Vt.j_oTag||a===Vt.j_expr)&&s.pop()}if(i?.error||this.match(43)){n=n||this.state.clone();let s,a=this.tryParse(u=>{s=this.flowParseTypeParameterDeclaration();let h=this.forwardNoArrowParamsConversionAt(s,()=>{let p=super.parseMaybeAssign(t,r);return this.resetStartLocationFromNode(p,s),p});h.extra?.parenthesized&&u();let c=this.maybeUnwrapTypeCastExpression(h);return c.type!=="ArrowFunctionExpression"&&u(),c.typeParameters=s,this.resetStartLocationFromNode(c,s),h},n),o=null;if(a.node&&this.maybeUnwrapTypeCastExpression(a.node).type==="ArrowFunctionExpression"){if(!a.error&&!a.aborted)return a.node.async&&this.raise(at.UnexpectedTypeParameterBeforeAsyncArrowFunction,s),a.node;o=a.node}if(i?.node)return this.state=i.failState,i.node;if(o)return this.state=a.failState,o;throw i?.thrown?i.error:a.thrown?a.error:this.raise(at.UnexpectedTokenAfterTypeParameter,s)}return super.parseMaybeAssign(t,r)}parseArrow(t){if(this.match(10)){let r=this.tryParse(()=>{let n=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let i=this.startNode();return[i.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(!0),this.state.noAnonFunctionType=n,this.canInsertSemicolon()&&this.unexpected(),this.match(15)||this.unexpected(),i});if(r.thrown)return null;r.error&&(this.state=r.failState),t.returnType=r.node.typeAnnotation?this.finishNode(r.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(10)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,r){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(t.start))?t.params=r:super.setArrowFunctionParameters(t,r)}checkParams(t,r,n,i=!0){if(!(n&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(t.start)))){for(let s=0;s<t.params.length;s++)this.isThisParam(t.params[s])&&s>0&&this.raise(at.ThisParamMustBeFirst,t.params[s]);super.checkParams(t,r,n,i)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(t,r,n){if(t.type==="Identifier"&&t.name==="async"&&this.state.noArrowAt.includes(r.index)){this.next();let i=this.startNodeAt(r);i.callee=t,i.arguments=super.parseCallExpressionArguments(),t=this.finishNode(i,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(43)){let i=this.state.clone(),s=this.tryParse(o=>this.parseAsyncArrowWithTypeParameters(r)||o(),i);if(!s.error&&!s.aborted)return s.node;let a=this.tryParse(()=>super.parseSubscripts(t,r,n),i);if(a.node&&!a.error)return a.node;if(s.node)return this.state=s.failState,s.node;if(a.node)return this.state=a.failState,a.node;throw s.error||a.error}return super.parseSubscripts(t,r,n)}parseSubscript(t,r,n,i){if(this.match(14)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,t;this.next();let s=this.startNodeAt(r);return s.callee=t,s.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(6),s.arguments=this.parseCallExpressionArguments(),s.optional=!0,this.finishCallExpression(s,!0)}else if(!n&&this.shouldParseTypes()&&(this.match(43)||this.match(47))){let s=this.startNodeAt(r);s.callee=t;let a=this.tryParse(()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(6),s.arguments=super.parseCallExpressionArguments(),i.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,i.optionalChainMember)));if(a.node)return a.error&&(this.state=a.failState),a.node}return super.parseSubscript(t,r,n,i)}parseNewCallee(t){super.parseNewCallee(t);let r=null;this.shouldParseTypes()&&this.match(43)&&(r=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),t.typeArguments=r}parseAsyncArrowWithTypeParameters(t){let r=this.startNodeAt(t);if(this.parseFunctionParams(r,!1),!!this.parseArrow(r))return super.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(t){let r=this.input.charCodeAt(this.state.pos+1);if(t===42&&r===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(t)}readToken_pipe_amp(t){let r=this.input.charCodeAt(this.state.pos+1);if(t===124&&r===125){this.finishOp(5,2);return}super.readToken_pipe_amp(t)}parseTopLevel(t,r){let n=super.parseTopLevel(t,r);return this.state.hasFlowComment&&this.raise(at.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(at.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:t}=this.state,r=2;for(;[32,9].includes(this.input.charCodeAt(t+r));)r++;let n=this.input.charCodeAt(r+t),i=this.input.charCodeAt(r+t+1);return n===58&&i===58?r+2:this.input.slice(r+t,r+t+12)==="flow-include"?r+12:n===58&&i!==58?r:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(te.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(t,r){this.raise(at.EnumBooleanMemberNotInitialized,t,r)}flowEnumErrorInvalidMemberInitializer(t,r){return this.raise(r.explicitType?r.explicitType==="symbol"?at.EnumInvalidMemberInitializerSymbolType:at.EnumInvalidMemberInitializerPrimaryType:at.EnumInvalidMemberInitializerUnknownType,t,r)}flowEnumErrorNumberMemberNotInitialized(t,r){this.raise(at.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitialized(t,r){this.raise(at.EnumStringMemberInconsistentlyInitialized,t,r)}flowEnumMemberInit(){let t=this.state.startLoc,r=()=>this.match(8)||this.match(4);switch(this.state.type){case 131:{let n=this.parseNumericLiteral(this.state.value);if(r())return{type:"number",loc:n.start,value:n};break}case 130:{let n=this.parseStringLiteral(this.state.value);if(r())return{type:"string",loc:n.start,value:n};break}case 81:case 82:{let n=this.parseBooleanLiteral(this.match(81));if(r())return{type:"boolean",loc:n.start,value:n}}}return{type:"invalid",loc:t}}flowEnumMemberRaw(){let t=this.state.startLoc,r=this.parseIdentifier(!0),n=this.eat(25)?this.flowEnumMemberInit():{type:"none",loc:t};return{id:r,init:n}}flowEnumCheckExplicitTypeMismatch(t,r,n){let{explicitType:i}=r;i!==null&&i!==n&&this.flowEnumErrorInvalidMemberInitializer(t,r)}flowEnumMembers({enumName:t,explicitType:r}){let n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(4);){if(this.eat(17)){s=!0;break}let a=this.startNode(),{id:o,init:u}=this.flowEnumMemberRaw(),h=o.name;if(h==="")continue;/^[a-z]/.test(h)&&this.raise(at.EnumInvalidMemberName,o,{memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:t}),n.has(h)&&this.raise(at.EnumDuplicateMemberName,o,{memberName:h,enumName:t}),n.add(h);let c={enumName:t,explicitType:r,memberName:h};switch(a.id=o,u.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(u.loc,c,"boolean"),a.init=u.value,i.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,c,"number"),a.init=u.value,i.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,c,"string"),a.init=u.value,i.stringMembers.push(this.finishNode(a,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,c);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,c);break;default:i.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}this.match(4)||this.expect(8)}return{members:i,hasUnknownMembers:s}}flowEnumStringMembers(t,r,{enumName:n}){if(t.length===0)return r;if(r.length===0)return t;if(r.length>t.length){for(let i of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:n});return r}else{for(let i of r)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:n});return t}}flowEnumParseExplicitType({enumName:t}){if(!this.eatContextual(98))return null;if(!It(this.state.type))throw this.raise(at.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:t});let{value:r}=this.state;return this.next(),r!=="boolean"&&r!=="number"&&r!=="string"&&r!=="symbol"&&this.raise(at.EnumInvalidExplicitType,this.state.startLoc,{enumName:t,invalidEnumType:r}),r}flowEnumBody(t,r){let n=r.name,i=r.start,s=this.flowEnumParseExplicitType({enumName:n});this.expect(2);let{members:a,hasUnknownMembers:o}=this.flowEnumMembers({enumName:n,explicitType:s});switch(t.hasUnknownMembers=o,s){case"boolean":return t.explicitType=!0,t.members=a.booleanMembers,this.expect(4),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=a.numberMembers,this.expect(4),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(4),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=a.defaultedMembers,this.expect(4),this.finishNode(t,"EnumSymbolBody");default:{let u=()=>(t.members=[],this.expect(4),this.finishNode(t,"EnumStringBody"));t.explicitType=!1;let h=a.booleanMembers.length,c=a.numberMembers.length,p=a.stringMembers.length,d=a.defaultedMembers.length;if(!h&&!c&&!p&&!d)return u();if(!h&&!c)return t.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:n}),this.expect(4),this.finishNode(t,"EnumStringBody");if(!c&&!p&&h>=d){for(let f of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(f.start,{enumName:n,memberName:f.id.name});return t.members=a.booleanMembers,this.expect(4),this.finishNode(t,"EnumBooleanBody")}else if(!h&&!p&&c>=d){for(let f of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(f.start,{enumName:n,memberName:f.id.name});return t.members=a.numberMembers,this.expect(4),this.finishNode(t,"EnumNumberBody")}else return this.raise(at.EnumInconsistentMemberValues,i,{enumName:n}),u()}}}flowParseEnumDeclaration(t){let r=this.parseIdentifier();return t.id=r,t.body=this.flowEnumBody(this.startNode(),r),this.finishNode(t,"EnumDeclaration")}jsxParseOpeningElementAfterName(t){return this.shouldParseTypes()&&(this.match(43)||this.match(47))&&(t.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(t)}isLookaheadToken_lt(){let t=this.nextTokenStart();if(this.input.charCodeAt(t)===60){let r=this.input.charCodeAt(t+1);return r!==60&&r!==61}return!1}reScan_lt_gt(){let{type:t}=this.state;t===43?(this.state.pos-=1,this.readToken_lt()):t===44&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===47?(this.state.pos-=2,this.finishOp(43,1),43):t}maybeUnwrapTypeCastExpression(t){return t.type==="TypeCastExpression"?t.expression:t}},BR=/\r\n|[\r\n\u2028\u2029]/,um=new RegExp(BR.source,"g");function su(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Sb(e,t,r){for(let n=t;n<r;n++)if(su(e.charCodeAt(n)))return!0;return!1}var B1=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,P1=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function PR(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var IR={AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},is=ti`jsx`(IR);function Ms(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":!1}function iu(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return iu(e.object)+"."+iu(e.property);throw new Error("Node had unexpected type: "+e.type)}var NR=e=>class extends e{jsxReadToken(){let t="",r=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(is.UnterminatedJsxContent,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:if(this.state.pos===this.state.start){n===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(n);return}t+=this.input.slice(r,this.state.pos),this.finishToken(137,t);return;case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;case 62:case 125:this.raise(is.UnexpectedToken,this.state.curPosition(),{unexpected:this.input[this.state.pos],HTMLEntity:n===125?"}":">"});default:su(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){let r=this.input.charCodeAt(this.state.pos),n;return++this.state.pos,r===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,n=t?`
- `:`\r
- `):n=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,n}jsxReadString(t){let r="",n=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(te.UnterminatedString,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);if(i===t)break;i===38?(r+=this.input.slice(n,this.state.pos),r+=this.jsxReadEntity(),n=this.state.pos):su(i)?(r+=this.input.slice(n,this.state.pos),r+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}r+=this.input.slice(n,this.state.pos++),this.finishToken(130,r)}jsxReadEntity(){let t=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let r=10;this.codePointAtPos(this.state.pos)===120&&(r=16,++this.state.pos);let n=this.readInt(r,void 0,!1,"bail");if(n!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(n)}else{let r=0,n=!1;for(;r++<10&&this.state.pos<this.length&&!(n=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(n){let i=this.input.slice(t,this.state.pos),s;if(++this.state.pos,s)return s}}return this.state.pos=t,"&"}jsxReadWord(){let t,r=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(Ua(t)||t===45);this.finishToken(136,this.input.slice(r,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(136)?t.name=this.state.value:Q1(this.state.type)?t.name=qs(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(10))return r;let n=this.startNodeAt(t);return n.namespace=r,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.startLoc,r=this.jsxParseNamespacedName();if(r.type==="JSXNamespacedName")return r;for(;this.eat(12);){let n=this.startNodeAt(t);n.object=r,n.property=this.jsxParseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let t;switch(this.state.type){case 2:return t=this.startNode(),this.setContext(Vt.brace),this.next(),t=this.jsxParseExpressionContainer(t,Vt.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(is.AttributeIsEmpty,t),t;case 138:case 130:return this.parseExprAtom();default:throw this.raise(is.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let t=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(Vt.j_expr),this.state.canStartJSXElement=!0,this.expect(4),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,r){if(this.match(4))t.expression=this.jsxParseEmptyExpression();else{let n=this.parseExpression();n.type==="SequenceExpression"&&!n.extra?.parenthesized&&this.raise(is.UnexpectedSequenceExpression,n.expressions[1]),t.expression=n}return this.setContext(r),this.state.canStartJSXElement=!0,this.expect(4),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){if(this.match(2)){let r=this.startNode();return this.setContext(Vt.brace),this.next(),this.expect(17),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(Vt.j_oTag),this.state.canStartJSXElement=!0,this.expect(4),this.finishNode(r,"JSXSpreadAttribute")}let t=this.startNode();return t.name=this.jsxParseNamespacedName(),t.value=this.eat(25)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute")}jsxParseOpeningElementAt(t){if(this.eat(139)){let n=this.startNodeAt(t);return this.finishNode(n,"JSXOpeningFragment")}let r=this.startNodeAt(t);return r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r)}jsxParseOpeningElementAfterName(t){let r=[];for(;!this.match(52)&&!this.match(139);)r.push(this.jsxParseAttribute());return t.attributes=r,t.selfClosing=this.eat(52),this.expect(139),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t){if(this.eat(139)){let n=this.startNodeAt(t);return this.finishNode(n,"JSXClosingFragment")}let r=this.startNodeAt(t);return r.name=this.jsxParseElementName(),this.expect(139),this.finishNode(r,"JSXClosingElement")}jsxParseElementAt(t){let r=this.startNodeAt(t),n=[],i=this.jsxParseOpeningElementAt(t),s=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 138:if(t=this.state.startLoc,this.next(),this.eat(52)){this.setLoc(t),s=this.jsxParseClosingElementAt(t);break e}n.push(this.jsxParseElementAt(t));break;case 137:n.push(this.parseLiteral(this.state.value,"JSXText"));break;case 2:{let a=this.startNode();this.setContext(Vt.brace),this.next(),this.match(17)?n.push(this.jsxParseSpreadChild(a)):n.push(this.jsxParseExpressionContainer(a,Vt.j_expr));break}default:this.unexpected()}Ms(i)&&!Ms(s)&&s!==null?this.raise(is.MissingClosingTagFragment,s):!Ms(i)&&Ms(s)?this.raise(is.MissingClosingTagElement,s,{openingTagName:iu(i.name)}):!Ms(i)&&!Ms(s)&&iu(s.name)!==iu(i.name)&&this.raise(is.MissingClosingTagElement,s,{openingTagName:iu(i.name)})}if(Ms(i)?(r.openingFragment=i,r.closingFragment=s):(r.openingElement=i,r.closingElement=s),r.children=n,this.match(43))throw this.raise(is.UnwrappedAdjacentJSXElements,this.state.startLoc);return Ms(i)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){let t=this.state.startLoc;return this.next(),this.jsxParseElementAt(t)}setContext(t){let{context:r}=this.state;r[r.length-1]=t}parseExprAtom(t){return this.match(138)?this.jsxParseElement():this.match(43)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){let r=this.curContext();if(r===Vt.j_expr){this.jsxReadToken();return}if(r===Vt.j_oTag||r===Vt.j_cTag){if(Ti(t)){this.jsxReadWord();return}if(t===62){++this.state.pos,this.finishToken(139);return}if((t===34||t===39)&&r===Vt.j_oTag){this.jsxReadString(t);return}}if(t===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(138);return}super.getTokenFromCode(t)}updateContext(t){let{context:r,type:n}=this.state;if(n===52&&t===138)r.splice(-2,2,Vt.j_cTag),this.state.canStartJSXElement=!1;else if(n===138)r.push(Vt.j_oTag);else if(n===139){let i=r[r.length-1];i===Vt.j_oTag&&t===52||i===Vt.j_cTag?(r.pop(),this.state.canStartJSXElement=r[r.length-1]===Vt.j_expr):(this.setContext(Vt.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=nR(n)}},LR=class extends ey{tsNames=new Map},OR=class extends ty{get inTSNamespace(){let e=this.scopeStack;return e.length>=2&&e[e.length-1].flags===0&&(e[e.length-2].flags&2048)>0}importsStack=[];createScope(e){return this.importsStack.push(new Set),new LR(e)}enter(e){e&3072&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e&3072&&this.importsStack.pop(),e}hasImport(e,t){let r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1){for(let n=0;n<r-1;n++)if(this.importsStack[n].has(e))return!0}return!1}declareName(e,t,r){if(t&4096){this.hasImport(e,!0)&&this.parser.raise(te.VarRedeclaration,r,{identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let n=this.currentScope(),i=n.tsNames.get(e)||0;if(t&1024){this.maybeExportDefined(n,e),n.tsNames.set(e,i|16);return}super.declareName(e,t,r),t&2&&(t&1||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),i=i|1),t&256&&(i=i|2),t&512&&(i=i|4),t&128&&(i=i|8),i&&n.tsNames.set(e,i)}isRedeclaredInScope(e,t,r){let n=e.tsNames.get(t);if((n&2)>0){if(r&256){let i=(r&512)>0,s=(n&4)>0;return i!==s}return!0}return r&128&&(n&8)>0?e.names.get(t)&2?!!(r&1):!1:r&2&&(n&1)>0?!0:super.isRedeclaredInScope(e,t,r)}checkLocalExport(e){let{name:t}=e;if(this.hasImport(t))return;let r=this.scopeStack.length;for(let n=r-1;n>=0;n--){let i=this.scopeStack[n].tsNames.get(t);if((i&1)>0||(i&16)>0)return}super.checkLocalExport(e)}},MR=class{sawUnambiguousESM=!1;ambiguousScriptDifferentAst=!1;sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if(typeof e=="string")return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let i of Object.keys(r))if(n?.[i]!==r[i])return!1;return!0}}getPluginOption(e,t){return this.plugins.get(e)?.[t]}};function ok(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function RR(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function jc(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function Rs(e,t,r){let n=null,i=t.length;for(;n===null&&i>0;)n=t[--i];n===null||n.start>r.start?jc(e,r.comments):ok(n,r.comments)}var jR=class extends MR{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:t}=this.state,r=t.length;if(r===0)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let s=e.start;for(;n>=0;n--){let a=t[n],o=a.end;if(o>s)a.containingNode=e,this.finalizeComment(a),t.splice(n,1);else{o===s&&(a.trailingNode=e);break}}}finalizeComment(e){let{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&ok(e.leadingNode,t),e.trailingNode!==null&&RR(e.trailingNode,t);else{let r=e.containingNode,n=e.start;if(this.input.charCodeAt(this.offsetToSourcePos(n)-1)===44)switch(r.type){case"ObjectExpression":case"ObjectPattern":Rs(r,r.properties,e);break;case"CallExpression":case"NewExpression":case"OptionalCallExpression":Rs(r,r.arguments,e);break;case"ImportExpression":Rs(r,[r.source,r.options??null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":case"TSTypeParameterDeclaration":Rs(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":Rs(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Rs(r,r.specifiers,e);break;case"TSEnumBody":Rs(r,r.members,e);break;case"TSInterfaceBody":Rs(r,r.body,e);break;default:jc(r,t)}else jc(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(r===0)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(i===0)return;let s=i-1;for(;s>=0;s--){let a=n[s],o=a.end;if(a.start===r)a.leadingNode=e;else if(o===t)a.trailingNode=e;else if(o<t)break}}},qR=class uk{flags=2048;get strict(){return(this.flags&1)>0}set strict(t){t?this.flags|=1:this.flags&=-2}startIndex;curLine;lineStart;startLoc;endLoc;init({strictMode:t,sourceType:r,startIndex:n,startLine:i,startColumn:s}){this.strict=t===!1?!1:t===!0?!0:r==="module",this.startIndex=n,this.curLine=i,this.lineStart=-s,this.startLoc=this.endLoc=new on(i,s,n)}errors=[];noArrowAt=[];noArrowParamsConversionAt=[];get canStartArrow(){return(this.flags&2)>0}set canStartArrow(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get inConditionalConsequent(){return(this.flags&256)>0}set inConditionalConsequent(t){t?this.flags|=256:this.flags&=-257}get inHackPipelineBody(){return(this.flags&512)>0}set inHackPipelineBody(t){t?this.flags|=512:this.flags&=-513}get seenTopicReference(){return(this.flags&1024)>0}set seenTopicReference(t){t?this.flags|=1024:this.flags&=-1025}labels=[];commentsLen=0;commentStack=[];pos=0;type=135;value=null;start=0;end=0;lastTokEndLoc=null;lastTokStartLoc=null;context=[Vt.brace];get canStartJSXElement(){return(this.flags&2048)>0}set canStartJSXElement(t){t?this.flags|=2048:this.flags&=-2049}get containsEsc(){return(this.flags&4096)>0}set containsEsc(t){t?this.flags|=4096:this.flags&=-4097}firstInvalidTemplateEscapePos=null;get hasTopLevelAwait(){return(this.flags&8192)>0}set hasTopLevelAwait(t){t?this.flags|=8192:this.flags&=-8193}strictErrors=new Map;tokensLength=0;curPosition(){return new on(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let t=new uk;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},UR=function(e){return e>=48&&e<=57},wb={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},lm={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function _b(e,t,r,n,i,s){let a=r,o=n,u=i,h="",c=null,p=r,{length:d}=t;for(;;){if(r>=d){s.unterminated(a,o,u),h+=t.slice(p,r);break}let f=t.charCodeAt(r);if(VR(e,f,t,r)){h+=t.slice(p,r);break}if(f===92){h+=t.slice(p,r);let D=$R(t,r,n,i,e==="template",s);D.ch===null&&!c?c={pos:r,lineStart:n,curLine:i}:h+=D.ch,{pos:r,lineStart:n,curLine:i}=D,p=r}else f===8232||f===8233?(++r,++i,n=r):f===10||f===13?e==="template"?(h+=t.slice(p,r)+`
- `,++r,f===13&&t.charCodeAt(r)===10&&++r,++i,p=n=r):s.unterminated(a,o,u):++r}return{pos:r,str:h,firstInvalidLoc:c,lineStart:n,curLine:i}}function VR(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function $R(e,t,r,n,i,s){let a=!i;t++;let o=h=>({pos:t,ch:h,lineStart:r,curLine:n}),u=e.charCodeAt(t++);switch(u){case 110:return o(`
- `);case 114:return o("\r");case 120:{let h;return{code:h,pos:t}=R1(e,t,r,n,2,!1,a,s),o(h===null?null:String.fromCharCode(h))}case 117:{let h;return{code:h,pos:t}=ck(e,t,r,n,a,s),o(h===null?null:String.fromCodePoint(h))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:e.charCodeAt(t)===10&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);s.strictNumericEscape(t-1,r,n);default:if(u>=48&&u<=55){let h=t-1,c=/^[0-7]+/.exec(e.slice(h,t+2))[0],p=parseInt(c,8);p>255&&(c=c.slice(0,-1),p=parseInt(c,8)),t+=c.length-1;let d=e.charCodeAt(t);if(c!=="0"||d===56||d===57){if(i)return o(null);s.strictNumericEscape(h,r,n)}return o(String.fromCharCode(p))}return o(String.fromCharCode(u))}}function R1(e,t,r,n,i,s,a,o){let u=t,h;return{n:h,pos:t}=lk(e,t,r,n,16,i,s,!1,o,!a),h===null&&(a?o.invalidEscapeSequence(u,r,n):t=u-1),{code:h,pos:t}}function lk(e,t,r,n,i,s,a,o,u,h){let c=t,p=i===16?wb.hex:wb.decBinOct,d=i===16?lm.hex:i===10?lm.dec:i===8?lm.oct:lm.bin,f=!1,D=0;for(let g=0,x=s??1/0;g<x;++g){let A=e.charCodeAt(t),C;if(A===95&&o!=="bail"){let k=e.charCodeAt(t-1),P=e.charCodeAt(t+1);if(o){if(Number.isNaN(P)||!d(P)||p.has(k)||p.has(P)){if(h)return{n:null,pos:t};u.unexpectedNumericSeparator(t,r,n)}}else{if(h)return{n:null,pos:t};u.numericSeparatorInEscapeSequence(t,r,n)}++t;continue}if(A>=97?C=A-97+10:A>=65?C=A-65+10:UR(A)?C=A-48:C=1/0,C>=i){if(C<=9&&h)return{n:null,pos:t};if(C<=9&&u.invalidDigit(t,r,n,i))C=0;else if(a)C=0,f=!0;else break}++t,D=D*i+C}return t===c||s!=null&&t-c!==s||f?{n:null,pos:t}:{n:D,pos:t}}function ck(e,t,r,n,i,s){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=R1(e,t,r,n,e.indexOf("}",t)-t,!0,i,s),++t,o!==null&&o>1114111)if(i)s.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=R1(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}function Pc(e,t,r){return new on(r,e-t,e)}var zR=new Set([103,109,115,105,121,117,100,118]),HR=class{constructor(e){let t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new Dm(e.startLoc,e.endLoc)}},cm,WR=class extends jR{isLookahead;tokens=[];constructor(e,t){super(),this.state=new qR,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1,(!cm||cm.length<(this.length+1)*2)&&(cm=new Uint32Array((this.length+1)*2)),this.locData=cm}setLoc(e){let t=this.offsetToSourcePos(e.index);this.locData[t*2]=e.line,this.locData[t*2+1]=e.column}getLoc(e){let t=this.offsetToSourcePos(e);return new on(this.locData[t*2],this.locData[t*2+1],e)}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&512&&this.pushToken(new HR(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return B1.lastIndex=e,B1.test(this.input)?B1.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return P1.lastIndex=e,P1.test(this.input)?P1.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++e<this.input.length){let r=this.input.charCodeAt(e);(r&64512)===56320&&(t=65536+((t&1023)<<10)+(r&1023))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([t,r])=>this.raise(t,r)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(135);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,n=this.input.indexOf(e,r+2);if(n===-1)throw this.raise(te.UnterminatedComment,this.state.curPosition());for(this.state.pos=n+e.length,um.lastIndex=r+2;um.test(this.input)&&um.lastIndex<=n;)++this.state.curLine,this.state.lineStart=um.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(r+2,n),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(n+e.length),loc:new Dm(t,this.state.curPosition())};return this.optionFlags&512&&this.pushToken(i),i}skipLineComment(e){let t=this.state.pos,r;this.isLookahead||(r=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!su(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,s={type:"CommentLine",value:this.input.slice(t+e,i),start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),loc:new Dm(r,this.state.curPosition())};return this.optionFlags&512&&this.pushToken(s),s}skipSpace(){let e=this.state.pos,t=this.optionFlags&8192?[]:null;e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let n=this.skipBlockComment("*/");n!==void 0&&(this.addComment(n),t?.push(n));break}case 47:{let n=this.skipLineComment(2);n!==void 0&&(this.addComment(n),t?.push(n));break}default:break e}break;default:if(PR(r))++this.state.pos;else if(r===45&&!this.inModule&&this.optionFlags&16384){let n=this.state.pos;if(this.input.charCodeAt(n+1)===45&&this.input.charCodeAt(n+2)===62&&(e===0||this.state.lineStart>e)){let i=this.skipLineComment(3);i!==void 0&&(this.addComment(i),t?.push(i))}else break e}else if(r===60&&!this.inModule&&this.optionFlags&16384){let n=this.state.pos;if(this.input.charCodeAt(n+1)===33&&this.input.charCodeAt(n+2)===45&&this.input.charCodeAt(n+3)===45){let i=this.skipLineComment(4);i!==void 0&&(this.addComment(i),t?.push(i))}else break e}else break e}}if(t?.length>0){let r=this.state.pos,n={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(r),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(te.UnexpectedDigitAfterHash,this.state.curPosition());Ti(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(23,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(17)):(++this.state.pos,this.finishToken(12))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(27,2):this.finishOp(52,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!su(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(24,r),!0}readToken_mult_modulo(e){let t=e===42?51:50,r=1,n=this.input.charCodeAt(this.state.pos+1);e===42&&n===42&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=53),n===61&&!this.state.inType&&(r++,t=e===37?29:26),this.finishOp(t,r)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(26,3):this.finishOp(e===124?37:38,2);return}if(e===124&&t===62){this.finishOp(35,2);return}if(t===61){this.finishOp(26,2);return}this.finishOp(e===124?39:41,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(28,2):e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(33,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(40,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(34,2):this.finishOp(22,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(30,2);return}t===61?this.finishOp(26,2):this.finishOp(49,1)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(26,3);return}this.finishOp(47,2);return}if(t===61){this.finishOp(45,2);return}this.finishOp(43,1)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(t===62){let r=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+r)===61){this.finishOp(26,r+1);return}this.finishOp(48,r);return}if(t===61){this.finishOp(45,2);return}this.finishOp(44,1)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(42,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2,this.finishToken(15);return}this.finishOp(e===61?25:31,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);e===63?t===61?this.finishOp(26,3):this.finishOp(36,2):e===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(14)):(++this.state.pos,this.finishToken(13))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(6);return;case 41:++this.state.pos,this.finishToken(7);return;case 59:++this.state.pos,this.finishToken(9);return;case 44:++this.state.pos,this.finishToken(8);return;case 91:++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(1);return;case 123:++this.state.pos,this.finishToken(2);return;case 125:++this.state.pos,this.finishToken(4);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(11,2):(++this.state.pos,this.finishToken(10));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let t=this.input.charCodeAt(this.state.pos+1);if(t===120||t===88){this.readRadixNumber(16);return}if(t===111||t===79){this.readRadixNumber(8);return}if(t===98||t===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(32,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Ti(e)){this.readWord(e);return}}throw this.raise(te.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e=this.state.startLoc,t=this.state.start+1,r,n,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(te.UnterminatedRegExp,jn(e,1));let u=this.input.charCodeAt(i);if(su(u))throw this.raise(te.UnterminatedRegExp,jn(e,1));if(r)r=!1;else{if(u===91)n=!0;else if(u===93&&n)n=!1;else if(u===47&&!n)break;r=u===92}}let s=this.input.slice(t,i);++i;let a="",o=()=>jn(e,i+2-t);for(;i<this.length;){let u=this.codePointAtPos(i),h=String.fromCharCode(u);if(zR.has(u))u===118?a.includes("u")&&this.raise(te.IncompatibleRegExpUVFlags,o()):u===117&&a.includes("v")&&this.raise(te.IncompatibleRegExpUVFlags,o()),a.includes(h)&&this.raise(te.DuplicateRegExpFlags,o());else if(Ua(u)||u===92)this.raise(te.MalformedRegExpFlags,o());else break;++i,a+=h}this.state.pos=i,this.finishToken(133,{pattern:s,flags:a})}readInt(e,t,r=!1,n=!0){let{n:i,pos:s}=lk(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,!1);return this.state.pos=s,i}readRadixNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1;this.state.pos+=2;let i=this.readInt(e);if(i==null&&this.raise(te.InvalidDigit,jn(r,2),{radix:e}),this.input.charCodeAt(this.state.pos)===110&&(++this.state.pos,n=!0),Ti(this.codePointAtPos(this.state.pos)))throw this.raise(te.NumberIdentifier,this.state.curPosition());if(n){let s=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(132,s);return}this.finishToken(131,i)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1;!e&&this.readInt(10)===null&&this.raise(te.InvalidNumber,this.state.curPosition());let a=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(a){let c=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(te.StrictOctalLiteral,r),!this.state.strict){let p=c.indexOf("_");p>0&&this.raise(te.ZeroDigitNumericSeparator,jn(r,p))}s=a&&!/[89]/.test(c)}let o=this.input.charCodeAt(this.state.pos);o===46&&!s&&(++this.state.pos,this.readInt(10),n=!0,o=this.input.charCodeAt(this.state.pos)),(o===69||o===101)&&!s&&(o=this.input.charCodeAt(++this.state.pos),(o===43||o===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(te.InvalidOrMissingExponent,r),n=!0,o=this.input.charCodeAt(this.state.pos));let u=nu(0,this.input.slice(t,this.state.pos),"_","");if(o===110&&((n||a)&&this.raise(te.InvalidBigIntLiteral,r),++this.state.pos,i=!0),Ti(this.codePointAtPos(this.state.pos)))throw this.raise(te.NumberIdentifier,this.state.curPosition());if(i){this.finishToken(132,u);return}let h=s?parseInt(u,8):parseFloat(u);this.finishToken(131,h)}readCodePoint(e){let{code:t,pos:r}=ck(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){let{str:t,pos:r,curLine:n,lineStart:i}=_b(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=i,this.state.curLine=n,this.finishToken(130,t)}readTemplateContinuation(){this.match(4)||this.unexpected(null,4),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:n,curLine:i,lineStart:s}=_b("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=i,r&&(this.state.firstInvalidTemplateEscapePos=new on(r.curLine,r.pos-r.lineStart,this.sourceToOffsetPos(r.pos))),this.input.codePointAt(n)===96?this.finishToken(20,r?null:e+t+"`"):(this.state.pos++,this.finishToken(21,r?null:e+t+"${"))}recordStrictModeErrors(e,t){let r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,t):this.state.strictErrors.set(r,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let i=this.codePointAtPos(this.state.pos);if(Ua(i))this.state.pos+=i<=65535?1:2;else if(i===92){this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);let s=this.state.curPosition(),a=this.state.pos===r?Ti:Ua;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(te.MissingUnicodeEscape,this.state.curPosition()),n=this.state.pos-1;continue}++this.state.pos;let o=this.readCodePoint(!0);o!==null&&(a(o)||this.raise(te.EscapedCharNotAnIdentifier,s),t+=String.fromCodePoint(o)),n=this.state.pos}else break}return t+this.input.slice(n,this.state.pos)}readWord(e){let t=this.readWord1(e),r=H1.get(t);r!==void 0?this.finishToken(r,qs(r)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:e}=this.state;Q1(e)&&this.state.containsEsc&&this.raise(te.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:qs(e)})}raise(e,t,r={}){let n=t instanceof on?t:typeof t=="number"?this.getLoc(t):this.optionFlags&256?t.loc.start:this.getLoc(t.start),i=t instanceof on?n.index:typeof t=="number"?t:t.start,s=e(n,i,r);if(!(this.optionFlags&4096))throw s;return this.isLookahead||this.state.errors.push(s),s}raiseOverwrite(e,t,r={}){let n=t instanceof on?t:this.optionFlags&256?t.loc.start:this.getLoc(t.start),i=t instanceof on?n.index:t.start,s=this.state.errors;for(let a=s.length-1;a>=0;a--){let o=s[a];if(o.pos===i)return s[a]=e(n,i,r);if(o.pos<i)break}return this.raise(e,n,r)}updateContext(e){}unexpected(e,t){throw this.raise(te.UnexpectedToken,e??this.state.startLoc,{expected:t?qs(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(te.MissingPlugin,t??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(t=>this.hasPlugin(t)))throw this.raise(te.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,r,n)=>{this.raise(e,Pc(t,r,n))}}errorHandlers_readInt={invalidDigit:(e,t,r,n)=>this.optionFlags&4096?(this.raise(te.InvalidDigit,Pc(e,t,r),{radix:n}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(te.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(te.UnexpectedNumericSeparator)};errorHandlers_readCodePoint={...this.errorHandlers_readInt,invalidEscapeSequence:this.errorBuilder(te.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(te.InvalidCodePoint)};errorHandlers_readStringContents_string={...this.errorHandlers_readCodePoint,strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(te.StrictNumericEscape,Pc(e,t,r))},unterminated:(e,t,r)=>{throw this.raise(te.UnterminatedString,Pc(e-1,t,r))}};errorHandlers_readStringContents_template={...this.errorHandlers_readCodePoint,strictNumericEscape:this.errorBuilder(te.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(te.UnterminatedTemplate,Pc(e,t,r))}}},GR=class{privateNames=new Set;loneAccessors=new Map;undefinedPrivateNames=new Map},JR=class{parser;stack=[];constructor(e){this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new GR)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(te.InvalidPrivateFieldResolution,n,{identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),a=n.has(e);if(t&3){let o=a&&i.get(e);if(o){let u=o&4,h=t&4,c=o&3,p=t&3;a=c===p||u!==h,a||i.delete(e)}else a||i.set(e,t)}a&&this.parser.raise(te.PrivateNameRedeclaration,r,{identifierName:e}),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(te.InvalidPrivateFieldResolution,t,{identifierName:e})}},ym=class{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},pk=class extends ym{declarationErrors=new Map;constructor(e){super(e)}recordDeclarationError(e,t){this.declarationErrors.set(t,e)}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},KR=class{parser;stack=[new ym];constructor(e){this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{stack:r}=this,n=r.length-1,i=r[n];for(;!i.isCertainlyParameterDeclaration();){if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(e,t);else return;i=r[--n]}this.parser.raise(e,t)}recordArrowParameterBindingError(e,t){let{stack:r}=this,n=r[r.length-1],i=t.start;if(n.isCertainlyParameterDeclaration())this.parser.raise(e,i);else if(n.canBeArrowParameterDeclaration())n.recordDeclarationError(e,i);else return}recordAsyncArrowParametersError(e){let{stack:t}=this,r=t.length-1,n=t[r];for(;n.canBeArrowParameterDeclaration();)n.type===2&&n.recordDeclarationError(te.AwaitBindingIdentifier,e),n=t[--r]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((r,n)=>{this.parser.raise(r,n);let i=e.length-2,s=e[i];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n),s=e[--i]})}};function XR(){return new ym(3)}function YR(){return new pk(1)}function QR(){return new pk(2)}function hk(){return new ym}var ZR=class{stacks=[];enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}get inFSharpPipelineDirectBody(){return(this.currentFlags()&16)===0}};function dm(e,t){return(e?2:0)|(t?1:0)}var ej=class extends WR{addExtra(e,t,r,n=!0){if(!e)return;let{extra:i}=e;i==null&&(i={},e.extra=i),n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){if(this.input.startsWith(t,e)){let r=this.input.charCodeAt(e+t.length);return!(Ua(r)||(r&64512)===55296)}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(135)||this.match(4)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Sb(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return Sb(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(9)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(9))||this.raise(te.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){let r={node:null};try{let n=e((i=null)=>{throw r.node=i,r});if(this.state.errors.length>t.errors.length){let i=this.state;return this.state=t,this.state.tokensLength=i.tokensLength,{node:n,error:i.errors[t.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(n){let i=this.state;if(this.state=t,n instanceof SyntaxError)return{node:null,error:n,thrown:!0,aborted:!1,failState:i};if(n===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:i};throw n}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s,voidPatternLoc:a}=e,o=!!r||!!n||!!s||!!i||!!a;if(!t)return o;r!=null&&this.raise(te.InvalidCoverInitializedName,r),n!=null&&this.raise(te.DuplicateProto,n),i!=null&&this.raise(te.UnexpectedPrivateField,i),s!=null&&this.unexpected(s),a!=null&&this.raise(te.InvalidCoverDiscardElement,a)}isLiteralPropertyName(){return Zb(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){let t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let a=this.prodParam;this.prodParam=new ZR;let o=this.classScope;this.classScope=new JR(this);let u=this.expressionScope;return this.expressionScope=new KR(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=u}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let t=!this.inModule&&this.options.sourceType==="commonjs";(t||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let r=t?514:1;this.optionFlags&4&&(r|=512),this.optionFlags&16&&(r|=48),this.scope.enter(r)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;t!==null&&this.expectPlugin("destructuringPrivate",t)}},fm=class{shorthandAssignLoc=null;doubleProtoLoc=null;privateKeyLoc=null;optionalParametersLoc=null;voidPatternLoc=null},Lc=class{constructor(e,t,r,n){this.start=r,this.end=0,n!==void 0&&(this.loc=new Dm(n)),e&128&&(this.range=[r,0]),n!==void 0&&t&&(this.loc.filename=t)}type=""},Bb=Lc.prototype,tj=class extends ej{createPosition(e){return e}startNode(){let{startLoc:e}=this.state;return this.setLoc(e),this.startNodeAt(e)}startNodeAt(e){let{optionFlags:t,filename:r}=this;return t&256?new Lc(t,r,e.index,this.createPosition(e)):new Lc(t,r,e.index)}startNodeAtNode(e){let{optionFlags:t,filename:r}=this;return t&256?new Lc(t,r,e.start,e.loc.start):new Lc(t,r,e.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){e.type=t,e.end=r.index;let{optionFlags:n}=this;return n&256&&(e.loc.end=this.createPosition(r)),n&128&&(e.range[1]=r.index),n&8192&&this.processComment(e),e}finishNodeAtNode(e,t,r){e.type=t,e.end=r.end;let{optionFlags:n}=this;return n&256&&(e.loc.end=r.loc.end),n&128&&(e.range[1]=e.end),n&8192&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index;let{optionFlags:r}=this;r&256&&(e.loc.start=this.createPosition(t)),r&128&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index;let{optionFlags:r}=this;r&256&&(e.loc.end=this.createPosition(t)),r&128&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){e.start=t.start;let{optionFlags:r}=this;r&256&&(e.loc.start=t.loc.start),r&128&&(e.range[0]=t.start)}resetEndLocationFromNode(e,t){e.end=t.end;let{optionFlags:r}=this;r&256&&(e.loc.end=t.loc.end),r&128&&(e.range[1]=t.end)}castNodeTo(e,t){return e.type=t,e}cloneIdentifier(e){let{type:t,start:r,end:n,loc:i,range:s,name:a}=e,o=Object.create(Bb);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,o.name=a,e.extra&&(o.extra=e.extra),o}cloneStringLiteral(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a}=e,o=Object.create(Bb);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,o.extra=a,o.value=e.value,o}},j1=e=>e.type==="ParenthesizedExpression"?j1(e.expression):e,rj=class extends tj{toAssignable(e,t=!1){let r;switch((e.type==="ParenthesizedExpression"||e.extra?.parenthesized)&&(r=j1(e),t?r.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(te.InvalidParenthesizedAssignment,e):r.type!=="CallExpression"&&r.type!=="MemberExpression"&&!this.isOptionalMemberExpression(r)&&this.raise(te.InvalidParenthesizedAssignment,e):this.raise(te.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(let n=0,i=e.properties.length,s=i-1;n<i;n++){let a=e.properties[n],o=n===s;this.toAssignableObjectExpressionProp(a,o,t),o&&a.type==="RestElement"&&e.extra?.trailingCommaLoc&&this.raise(te.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:n,value:i}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.start),this.toAssignable(i,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(e,"ArrayPattern"),this.toAssignableList(e.elements,e.extra?.trailingCommaLoc,t);break;case"AssignmentExpression":e.operator!=="="&&this.raise(te.MissingEqInAssignment,this.optionFlags&256?e.left.loc.end:e.left),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,e.left.type==="VoidPattern"&&this.raise(te.VoidPatternInitializer,e.left),this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(r,t);break}}toAssignableObjectExpressionProp(e,t,r){if(e.type==="ObjectMethod")this.raise(e.kind==="get"||e.kind==="set"?te.PatternHasAccessor:te.PatternHasMethod,e.key);else if(e.type==="SpreadElement"){this.castNodeTo(e,"RestElement");let n=e.argument;this.checkToRestConversion(n,!1),this.toAssignable(n,r),t||this.raise(te.RestTrailingComma,e)}else this.toAssignable(e,r)}toAssignableList(e,t,r){let n=e.length-1;for(let i=0;i<=n;i++){let s=e[i];s&&(this.toAssignableListItem(e,i,r),s.type==="RestElement"&&(i<n?this.raise(te.RestTrailingComma,s):t&&this.raise(te.RestTrailingComma,t)))}}toAssignableListItem(e,t,r){let n=e[t];if(n.type==="SpreadElement"){this.castNodeTo(n,"RestElement");let i=n.argument;this.checkToRestConversion(i,!0),this.toAssignable(i,r)}else this.toAssignable(n,r)}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let r=e.properties.length-1;return e.properties.every((n,i)=>n.type!=="ObjectMethod"&&(i===r||n.type!=="SpreadElement")&&this.isAssignable(n))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(r=>r===null||this.isAssignable(r));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let e=this.startNode();this.next();let t=this.parseBindingAtom();return t.type==="VoidPattern"&&this.raise(te.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(1,93,1),this.finishNode(e,"ArrayPattern")}case 2:return this.parseObjectLike(4,!0);case 84:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,t,r){let n=r&1,i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(8),n&&this.match(8))i.push(null);else{if(this.eat(e))break;if(this.match(17)){let a=this.parseRestBinding();if(r&2&&(a=this.parseFunctionParamType(a)),i.push(a),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let a=[];if(r&2)for(this.match(22)&&this.hasPlugin("decorators")&&this.raise(te.UnsupportedParameterDecorator,this.state.startLoc);this.match(22);)a.push(this.parseDecorator());i.push(this.parseBindingElement(r,a))}}return i}parseBindingRestProperty(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(84)?(e.argument=this.parseVoidPattern(null),this.raise(te.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let{type:e,startLoc:t}=this.state;if(e===17)return this.parseBindingRestProperty(this.startNode());let r=this.startNode();return e===134?(this.expectPlugin("destructuringPrivate",t),this.classScope.usePrivateName(this.state.value,t),r.key=this.parsePrivateName()):this.parsePropertyName(r),r.method=!1,this.parseObjPropValue(r,t,!1,!1,!0,!1)}parseBindingElement(e,t){let{startLoc:r}=this.state,n=this.parseMaybeDefault();return e&2&&this.parseFunctionParamType(n),t.length&&(n.decorators=t,this.resetStartLocationFromNode(n,t[0])),this.parseMaybeDefault(r,n)}parseFunctionParamType(e){return e}parseMaybeDefault(e,t){if(e??(e=this.state.startLoc),t=t??this.parseBindingAtom(),!this.eat(25))return t;let r=this.startNodeAt(e);return t.type==="VoidPattern"&&this.raise(te.VoidPatternInitializer,t),r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(e,t,r,n){switch(e){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0;case"CallExpression":if(!t&&!this.state.strict&&this.optionFlags&16384)return!0}return!1}isOptionalMemberExpression(e){return e.type==="OptionalMemberExpression"}checkLVal(e,t,r=64,n=!1,i=!1,s=!1,a=!1){let o=e.type;if(this.isObjectMethod(e))return;let u=this.isOptionalMemberExpression(e);if(u||o==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",e.start),t.type!=="AssignmentExpression"&&this.raise(te.InvalidLhsOptionalChaining,e,{ancestor:t})),r!==64&&this.raise(te.InvalidPropertyBindingPattern,e);return}if(o==="Identifier"){this.checkIdentifier(e,r,i);let{name:g}=e;n&&(n.has(g)?this.raise(te.ParamDupe,e):n.add(g));return}else o==="VoidPattern"&&t.type==="CatchClause"&&this.raise(te.VoidPatternCatchClauseParam,e);let h=j1(e);a||(a=h.type==="CallExpression"&&(h.callee.type==="Import"||h.callee.type==="Super"));let c=this.isValidLVal(o,a,!(s||e.extra?.parenthesized)&&t.type==="AssignmentExpression",r);if(c===!0)return;if(c===!1){let g=r===64?te.InvalidLhs:te.InvalidLhsBinding;this.raise(g,e,{ancestor:t});return}let p,d;typeof c=="string"?(p=c,d=o==="ParenthesizedExpression"):[p,d]=c;let f=o==="ArrayPattern"||o==="ObjectPattern"?{type:o}:t,D=e[p];if(Array.isArray(D))for(let g of D)g&&this.checkLVal(g,f,r,n,i,d,!0);else D&&this.checkLVal(D,f,r,n,i,d,a)}checkIdentifier(e,t,r=!1){this.state.strict&&(r?ak(e.name,this.inModule):sk(e.name))&&(t===64?this.raise(te.StrictEvalArguments,e,{referenceName:e.name}):this.raise(te.StrictEvalArgumentsBinding,e,{bindingName:e.name})),t&8192&&e.name==="let"&&this.raise(te.LetInLexicalBinding,e),t&64||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(te.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(8)?(this.raise(this.lookaheadCharCode()===e?te.RestTrailingComma:te.ElementAfterRest,this.state.startLoc),!0):!1}},nj=class extends rj{checkProto(e,t,r){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand)return t;let n=e.key;return(n.type==="Identifier"?n.name:n.value)==="__proto__"?(t&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=this.getLoc(n.start)):this.raise(te.DuplicateProto,n)),!0):t}shouldExitDescending(e){return e.type==="ArrowFunctionExpression"&&!e.extra?.parenthesized}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(135))throw this.raise(te.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(135))throw this.raise(te.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&512&&(e.tokens=dk(this.tokens)),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){let t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(8)){let n=this.startNodeAt(t);for(n.expressions=[r];this.eat(8);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,t){let r=this.state.startLoc,n=this.isContextual(104);if(n&&this.prodParam.hasYield){this.next();let a=this.parseYield(r);return t&&(a=t.call(this,a,r)),a}let i;e?i=!1:(e=new fm,i=!0),this.state.canStartArrow=!0;let s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,r)),iR(this.state.type)){let a=this.startNodeAt(r),o=this.state.value;if(a.operator=o,this.match(25)){this.toAssignable(s,!0),a.left=s;let u=r.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=u&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=u&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),e.voidPatternLoc!=null&&e.voidPatternLoc.index>=u&&(e.voidPatternLoc=null)}else a.left=s;return this.next(),a.right=this.parseMaybeAssign(),this.checkLVal(s,this.finishNode(a,"AssignmentExpression"),void 0,void 0,void 0,void 0,o==="||="||o==="&&="||o==="??="),a}else i&&this.checkExpressionErrors(e,!0);if(n){let{type:a}=this.state;if((this.hasPlugin("v8intrinsic")?Nc(a):Nc(a)&&!this.match(50))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(te.YieldNotInGeneratorFunction,r),this.parseYield(r)}return s}parseMaybeConditional(e){let t=this.state.startLoc,r=this.parseExprOps(e);return this.shouldExitDescending(r)?r:this.parseConditional(r,t,e)}parseConditional(e,t,r){if(this.eat(13)){let n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(10),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r)?r:(this.state.canStartArrow=!1,this.parseExprOp(r,t,-1))}parseExprOp(e,t,r){if(this.isPrivateName(e)){let i=this.getPrivateNameSV(e);(r>=hm(54)||!this.prodParam.hasIn||!this.match(54))&&this.raise(te.PrivateInExpectedIn,t,{identifierName:i}),this.classScope.usePrivateName(i,t)}let n=this.state.type;if(Tb(n)&&(this.prodParam.hasIn||!this.match(54))){let i=hm(n);if(i>r){if(n===35&&(this.expectPlugin("pipelineOperator"),this.prodParam.inFSharpPipelineDirectBody))return e;let s=this.startNodeAt(t);s.left=e,s.operator=this.state.value;let a=n===37||n===38,o=n===36;o&&(i=hm(38)),this.next(),s.right=this.parseExprOpRightExpr(n,i);let u=this.finishNode(s,a||o?"LogicalExpression":"BinaryExpression"),h=this.state.type;if(o&&(h===37||h===38)||a&&h===36)throw this.raise(te.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(u,t,r)}}return e}parseExprOpRightExpr(e,t){switch(e){case 35:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.parseFSharpPipelineBody(t)}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){let r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,cR(e)?t-1:t)}parseHackPipeBody(){let{startLoc:e}=this.state,t=this.parseMaybeAssign();return GM.has(t.type)&&!t.extra?.parenthesized&&this.raise(te.PipeUnparenthesizedBody,e,{type:t.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(te.PipeTopicUnused,e),t}checkExponentialAfterUnary(e){this.match(53)&&this.raise(te.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){let r=this.state.startLoc,n=this.isContextual(92);if(n&&this.recordAwaitIfAllowed()){this.next();let o=this.parseAwait(r);return t||this.checkExponentialAfterUnary(o),o}let i=this.match(30),s=this.startNode();if(oR(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.state.canStartArrow=!1,this.match(68)&&this.expectPlugin("throwExpressions");let o=this.match(85);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&o){let u=s.argument;u.type==="Identifier"?this.raise(te.StrictDelete,s):this.hasPropertyAsPrivateName(u)&&this.raise(te.DeletePrivateField,s)}if(!i)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let a=this.parseUpdate(s,i,e);if(n){let{type:o}=this.state;if((this.hasPlugin("v8intrinsic")?Nc(o):Nc(o)&&!this.match(50))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(te.AwaitNotInAsyncContext,r),this.parseAwait(r)}return a}parseUpdate(e,t,r){if(t){let s=this.finishNode(e,"UpdateExpression");return this.checkLVal(s.argument,s),s}let n=this.state.startLoc,i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;aR(this.state.type)&&!this.canInsertSemicolon();){let s=this.startNodeAt(n);s.operator=this.state.value,s.prefix=!1,s.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(s,"UpdateExpression"))}return i}parseExprSubscripts(e){let t=this.state.startLoc;this.setLoc(t);let r=this.parseExprAtom(e);return this.shouldExitDescending(r)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,r){let n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,t,r,n),n.maybeAsyncArrow=!1;while(!n.stop);return e}parseSubscript(e,t,r,n){let{type:i}=this.state;if(!r&&i===11)return this.parseBind(e,t,n);if(O1(i))return this.parseTaggedTemplateExpression(e,t,n);let s=!1;if(i===14){if(r&&(this.raise(te.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(e,n);n.optionalChainMember=s=!0,this.next()}if(!r&&this.match(6))return this.parseCoverCallAndAsyncArrowHead(e,t,n,s);{let a=this.eat(0);return a||s||this.eat(12)?this.parseMember(e,t,n,a,s):this.stopParseSubscript(e,n)}}stopParseSubscript(e,t){return t.stop=!0,e}parseMember(e,t,r,n,i){let s=this.startNodeAt(t);return s.object=e,s.computed=n,n?(s.property=this.parseExpression(),this.expect(1)):this.match(134)?(e.type==="Super"&&this.raise(te.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=i,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,t,r){let n=this.startNodeAt(t);n.object=e,this.next();let i=this.match(79),s=this.parseNoCallExpr();if(s.type==="Super"||i&&s.type==="ImportExpression"||s.type==="Import")throw this.raise(te.UnsupportedBindRHS,s);return n.callee=s,r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,!1)}parseCoverCallAndAsyncArrowHead(e,t,r,n){let i=null;this.next();let s=this.startNodeAt(t);s.callee=e;let{maybeAsyncArrow:a,optionalChainMember:o}=r;a&&(this.expressionScope.enter(QR()),i=new fm),o&&(s.optional=n),n?s.arguments=this.parseCallExpressionArguments():s.arguments=this.parseCallExpressionArguments(e.type!=="Super",s,i);let u=this.finishCallExpression(s,o);return a&&this.shouldParseAsyncArrow()&&!n?(r.stop=!0,this.checkDestructuringPrivate(i),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),u)):(a&&(this.checkExpressionErrors(i,!0),this.expressionScope.exit()),this.toReferencedList(s.arguments)),u}parseTaggedTemplateExpression(e,t,r){let n=this.startNodeAt(t);return n.tag=e,n.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(te.OptionalChainingNoTemplate,t),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.state.canStartArrow}finishCallExpression(e,t){if(e.callee.type==="Import")if(e.arguments.length===0||e.arguments.length>2)this.raise(te.ImportCallArity,e);else for(let r of e.arguments)r.type==="SpreadElement"&&this.raise(te.ImportCallSpreadArgument,r);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r){let n=[],i=!0;for(;!this.eat(7);){if(i)i=!1;else if(this.expect(8),this.match(7)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}n.push(this.parseExprListItem(7,!1,r,e))}return n}shouldParseAsyncArrow(){return this.match(15)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){return this.resetPreviousNodeTrailingComments(t),this.expect(15),this.parseArrowExpression(e,t.arguments,!0,t.extra?.trailingCommaLoc),t.innerComments&&jc(e,t.innerComments),t.callee.trailingComments&&jc(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null,{type:n}=this.state;switch(n){case 75:return this.parseSuper();case 79:return t=this.startNode(),this.next(),this.match(12)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(6)?this.optionFlags&1024?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(te.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,"Import"));case 74:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 86:return this.parseDo(this.startNode(),!1);case 52:case 27:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 131:return this.parseNumericLiteral(this.state.value);case 132:return this.parseBigIntLiteral(this.state.value);case 130:return this.parseStringLiteral(this.state.value);case 80:return this.parseNullLiteral();case 81:return this.parseBooleanLiteral(!0);case 82:return this.parseBooleanLiteral(!1);case 6:return this.parseParenAndDistinguishExpression(this.state.canStartArrow);case 0:return this.parseArrayLike(1,e);case 2:return this.parseObjectLike(4,!1,e);case 64:return this.parseFunctionOrFunctionSent();case 22:r=this.parseDecorators();case 76:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 73:return this.parseNewOrNewTarget();case 21:case 20:return this.parseTemplate(!1);case 11:{t=this.startNode(),this.next(),t.object=null;let i=t.callee=this.parseNoCallExpr();if(i.type==="MemberExpression")return this.finishNode(t,"BindExpression");throw this.raise(te.UnsupportedBind,i)}case 134:return this.raise(te.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 29:return this.parseTopicReferenceThenEqualsSign(50,"%");case 28:return this.parseTopicReferenceThenEqualsSign(40,"^");case 33:case 34:return this.parseTopicReference("hack");case 40:case 50:case 23:{let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.parseTopicReference(i);throw this.unexpected()}case 43:{let i=this.input.codePointAt(this.nextTokenStart());throw Ti(i)||i===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected()}default:if(It(n)){if(this.isContextual(123)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let{canStartArrow:i,containsEsc:s}=this.state,a=this.parseIdentifier();if(!s&&a.name==="async"&&!this.canInsertSemicolon()){let{type:o}=this.state;if(o===64)return this.resetPreviousNodeTrailingComments(a),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(a));if(It(o))return i&&this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(a)):a;if(o===86)return this.resetPreviousNodeTrailingComments(a),this.parseDo(this.startNodeAtNode(a),!0)}return i&&this.match(15)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(a),[a],!1)):a}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=jn(this.state.endLoc,-1),this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n))return this.topicReferenceIsAllowedInCurrentContext()||this.raise(te.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,"TopicReference");throw this.raise(te.PipeTopicUnconfiguredToken,t,{token:qs(n)})}testTopicReferenceConfiguration(e,t,r){if(e==="hack")return this.hasPlugin(["pipelineOperator",{topicToken:qs(r)}]);throw this.raise(te.PipeTopicRequiresHackPipes,t)}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(dm(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(te.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(15),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),this.match(6)&&!this.scope.allowDirectSuper?this.raise(te.SuperNotAllowed,e):this.scope.allowSuper||this.raise(te.UnexpectedSuper,e),!this.match(6)&&!this.match(0)&&!this.match(12)&&this.raise(te.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(jn(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(12)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(99)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(te.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(101)||this.isContextual(93)){let t=this.isContextual(101);return this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}else{let t=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(97)&&(this.inModule||this.raise(te.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(this.offsetToSourcePos(r.start),this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}return this.parseLiteral(t,"BigIntLiteral")}parseRegExpLiteral(e){let t=this.startNode();return this.addExtra(t,"raw",this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,"RegExpLiteral")}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t=this.state.startLoc,r;this.next(),this.expressionScope.enter(YR());let n=this.state.startLoc,i=[],s=new fm,a=!0,o,u;for(;!this.match(7);){if(a)a=!1;else if(this.expect(8,s.optionalParametersLoc===null?null:s.optionalParametersLoc),this.match(7)){u=this.state.startLoc;break}if(this.match(17)){let p=this.state.startLoc;if(o=this.state.startLoc,i.push(this.parseParenItem(this.parseRestBinding(),p)),!this.checkCommaAfterRest(41))break}else i.push(this.parseMaybeAssignAllowInOrVoidPattern(7,s,this.parseParenItem))}let h=this.state.lastTokEndLoc;this.expect(7);let c=this.startNodeAt(t);return e&&this.shouldParseArrow(i)&&(c=this.parseArrow(c))?(this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(c,i,!1),c):(this.expressionScope.exit(),i.length||this.unexpected(this.state.lastTokStartLoc),u&&this.unexpected(u),o&&this.unexpected(o),this.checkExpressionErrors(s,!0),this.toReferencedList(i,!0),i.length>1?(r=this.startNodeAt(n),r.expressions=i,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,h)):r=i[0],this.wrapParenthesis(t,r))}wrapParenthesis(e,t){if(!(this.optionFlags&2048))return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(15))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(12)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return this.scope.allowNewTarget||this.raise(te.UnexpectedNewTarget,r),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(6)){let t=this.parseExprList(7);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){let t=this.match(79),r=this.parseNoCallExpr();e.callee=r,t&&r.type==="ImportExpression"&&this.raise(te.ImportCallNotNewExpression,r,r),r.type==="Import"&&this.raise(te.ImportCallNotNewExpression,r),r.type==="Super"&&this.raise(te.SuperCallNotNewExpression,r)}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,a=this.startNodeAt(jn(r,1));i===null&&(e||this.raise(te.InvalidEscapeSequenceTemplate,jn(this.state.firstInvalidTemplateEscapePos,1)));let o=this.match(20),u=o?-1:-2,h=n+u;a.value={raw:this.input.slice(s,h).replace(/\r\n?/g,`
- `),cooked:i===null?null:i.slice(1,u)},a.tail=o,this.next();let c=this.finishNode(a,"TemplateElement");return this.resetEndLocation(c,jn(this.state.lastTokEndLoc,u)),c}parseTemplate(e){let t=this.startNode(),r=this.parseTemplateElement(e),n=[r],i=[];for(;!r.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),n.push(r=this.parseTemplateElement(e));return t.expressions=i,t.quasis=n,this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r){let n=!1,i=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(i)i=!1;else if(this.expect(8),this.match(e)){this.addTrailingCommaExtraToNode(s);break}let o;t?o=this.parseBindingProperty():(o=this.parsePropertyDefinition(r),n=this.checkProto(o,n,r)),s.properties.push(o)}this.next();let a=t?"ObjectPattern":"ObjectExpression";return this.finishNode(s,a)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(51))}parsePropertyDefinition(e){let t=[];if(this.match(22))for(this.hasPlugin("decorators")&&this.raise(te.UnsupportedPropertyDecorator,this.state.startLoc);this.match(22);)t.push(this.parseDecorator());let r=this.startNode(),n=!1,i=!1,s;if(this.match(17))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t),r.method=!1,e&&(s=this.state.startLoc);let a=this.eat(51);this.parsePropertyNamePrefixOperator(r);let o=this.state.containsEsc;if(this.parsePropertyName(r,e),!a&&!o&&this.maybeAsyncOrAccessorProp(r)){let{key:u}=r,h=u.name;h==="async"&&!this.hasPrecedingLineBreak()&&(n=!0,this.resetPreviousNodeTrailingComments(u),a=this.eat(51),this.parsePropertyName(r)),(h==="get"||h==="set")&&(i=!0,this.resetPreviousNodeTrailingComments(u),r.kind=h,this.match(51)&&(a=!0,this.raise(te.AccessorIsGenerator,this.state.curPosition(),{kind:h}),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,a,n,!1,i,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){let t=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==t&&this.raise(e.kind==="get"?te.BadGetterArity:te.BadSetterArity,e),e.kind==="set"&&r[r.length-1]?.type==="RestElement"&&this.raise(te.BadSetterRestParameter,e)}parseObjectMethod(e,t,r,n,i){if(i){let s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(r||t||this.match(6))return n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,n){if(e.shorthand=!1,this.eat(10))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(4,n),this.finishObjectProperty(e);if(!e.computed&&e.key.type==="Identifier"){if(this.checkReservedWord(e.key.name,e.key.start,!0,!1),r)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(25)){let i=this.state.startLoc;n!=null?n.shorthandAssignLoc===null&&(n.shorthandAssignLoc=i):this.raise(te.InvalidCoverInitializedName,i),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,t,r,n,i,s,a){let o=this.parseObjectMethod(e,r,n,i,s)||this.parseObjectProperty(e,t,i,a);return o||this.unexpected(),o}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(1);else{let{type:r,value:n}=this.state,i;if(ri(r))i=this.parseIdentifier(!0);else switch(r){case 131:i=this.parseNumericLiteral(n);break;case 130:i=this.parseStringLiteral(n);break;case 132:i=this.parseBigIntLiteral(n);break;case 134:{let s=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=s):this.raise(te.UnexpectedPrivateField,s),i=this.parsePrivateName();break}default:this.unexpected()}e.key=i,r!==134&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,n,i,s,a=!1){this.initFunction(e,r),e.generator=t,this.scope.enter(530|(a?576:0)|(i?32:0)),this.prodParam.enter(dm(r,e.generator)),this.parseFunctionParams(e,n);let o=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(e,t){let r=this.startNode();return this.next(),r.elements=this.parseExprList(e,!0,t,r),this.finishNode(r,"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(518);let i=dm(r,!1);return this.match(2)||(i|=this.prodParam.currentFlags()&24),this.prodParam.enter(i),this.initFunction(e,r),t&&this.setArrowFunctionParameters(e,t,n),this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t,r=!1){return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){let n=t&&!this.match(2);if(this.expressionScope.enter(hk()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let i=this.state.strict,s=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),e.body=this.parseBlock(!0,!1,a=>{let o=!this.isSimpleParamList(e.params);a&&o&&this.raise(te.IllegalLanguageModeDirective,(e.kind==="method"||e.kind==="constructor")&&e.key?this.optionFlags&256?e.key.loc.end:e.key:e);let u=!i&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!o,t,u),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,u)}),this.prodParam.exit(),this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r,n=!0){let i=!t&&new Set,s={type:"FormalParameters"};for(let a of e.params)this.checkLVal(a,s,5,i,n)}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(8),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(e,t,r))}return i}parseExprListItem(e,t,r,n){let i;if(this.match(8))t||this.raise(te.UnexpectedToken,this.state.curPosition(),{unexpected:","}),i=null;else if(this.match(17)){let s=this.state.startLoc;i=this.parseParenItem(this.parseSpread(r),s)}else if(this.match(13)){this.expectPlugin("partialApplication"),n||this.raise(te.UnexpectedArgumentPlaceholder,this.state.startLoc);let s=this.startNode();this.next(),i=this.finishNode(s,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowInOrVoidPattern(e,r,this.parseParenItem);return i}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,this.optionFlags&256&&(e.loc.identifierName=t),this.finishNode(e,"Identifier")}createIdentifierAt(e,t,r){return e.name=t,this.optionFlags&256&&(e.loc.identifierName=t),this.finishNodeAt(e,"Identifier",r)}parseIdentifierName(e){let t,{start:r,type:n}=this.state;ri(n)?t=this.state.value:this.unexpected();let i=rR(n);return e?i&&this.replaceToken(128):this.checkReservedWord(t,this.sourceToOffsetPos(r),i,!1),this.next(),t}checkReservedWord(e,t,r,n){if(!(e.length>10||!CR(e))){if(r&&gR(e)){this.raise(te.UnexpectedKeyword,t,{keyword:e});return}if((this.state.strict?n?ak:ik:nk)(e,this.inModule)){this.raise(te.UnexpectedReservedWord,t,{reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(te.YieldBindingIdentifier,t);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(te.AwaitBindingIdentifier,t);return}if(this.scope.inStaticBlock){this.raise(te.AwaitBindingIdentifierInStaticBlock,t);return}this.expressionScope.recordAsyncArrowParametersError(t)}else if(e==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(te.ArgumentsInClass,t);return}}}recordAwaitIfAllowed(){let e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e,t){let r=e.index;this.setLoc(e);let n=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(te.AwaitExpressionFormalParameter,r),this.eat(51)&&this.raise(te.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),t||(n.argument=this.parseMaybeUnary(null,!0)),this.finishNode(n,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===49||e===6||e===0||O1(e)||e===98&&!this.state.containsEsc||e===133||e===52||this.hasPlugin("v8intrinsic")&&e===50}parseYield(e){this.setLoc(e);let t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(te.YieldInParameter,e.index);let r=!1,n=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(51),this.state.type){case 9:case 135:case 4:case 7:case 1:case 5:case 10:case 8:if(!r)break;default:n=this.parseMaybeAssign()}return t.delegate=r,t.argument=n,this.finishNode(t,"YieldExpression")}parseImportCall(e){this.next();let t=this.parseCallExpressionArguments();if(t.length===0||t.length>2)this.raise(te.ImportCallArity,e,e);else for(let r of t)r.type==="SpreadElement"&&this.raise(te.ImportCallSpreadArgument,r,e);return e.source=t[0],e.options=t[1]??null,this.finishNode(e,"ImportExpression")}withTopicBindingContext(e){let t=this.state.inHackPipelineBody;this.state.inHackPipelineBody=!0;let r=this.state.seenTopicReference;this.state.seenTopicReference=!1;try{return e()}finally{this.state.inHackPipelineBody=t,this.state.seenTopicReference=r}}allowInAnd(e){let t=this.prodParam.currentFlags();if(24&~t){this.prodParam.enter(t|8|16);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags(),r=8&t,n=16&~t;if(r||n){this.prodParam.enter(t&-9|16);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.seenTopicReference=!0}topicReferenceIsAllowedInCurrentContext(){return this.state.inHackPipelineBody}topicReferenceWasUsedInCurrentContext(){return this.state.seenTopicReference}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.prodParam.enter(this.prodParam.currentFlags()&-17);let r;if(this.isContextual(92)&&this.recordAwaitIfAllowed()){this.next(),r=this.parseAwait(t,!0);let n=this.state.type;Tb(n)&&n!==35&&(this.prodParam.hasIn||n!==54)&&this.raise(te.PipelineUnparenthesized,t)}else this.state.canStartArrow=!0,r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.prodParam.exit(),r}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(2)||this.unexpected(null,2);let t=this.startNodeAt(this.state.endLoc);this.next();let r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,4,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parseVoidPattern(e){this.expectPlugin("discardBinding");let t=this.startNode();return e!=null&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(e,t,r){if(t!=null&&this.match(84)){let n=this.lookaheadCharCode();if(n===44||n===(e===1?93:e===4?125:41)||n===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,r)}parsePropertyNamePrefixOperator(e){}},I1={kind:1},ij={kind:2},sj=/[\uD800-\uDFFF]/u,N1=/in(?:stanceof)?/y;function dk(e){for(let t=0;t<e.length;t++){let r=e[t],{type:n}=r;typeof n=="number"&&(r.type=ek(n))}return e}var aj=class extends nj{parseTopLevel(e,t){return e.program=this.parseProgram(t,135,this.options.sourceType==="module"?"module":"script"),e.comments=this.comments,this.optionFlags&512&&(e.tokens=dk(this.tokens)),this.finishNode(e,"File")}parseProgram(e,t,r){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[i,s]of Array.from(this.scope.undefinedExports))this.raise(te.ModuleExportUndefined,s,{localName:i});this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}let n;return t===135?n=this.finishNode(e,"Program"):n=this.finishNodeAt(e,"Program",jn(this.state.startLoc,-1)),n}stmtToDirective(e){let t=this.castNodeTo(e,"Directive"),r=this.castNodeTo(e.expression,"DirectiveLiteral"),n=r.value,i=this.input.slice(this.offsetToSourcePos(r.start),this.offsetToSourcePos(r.end)),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),t.value=r,delete e.expression,t}parseInterpreterDirective(){if(!this.match(24))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return this.isContextual(96)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(103)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(103))return!1;let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){let r=this.lookaheadCharCodeSince(e+2);if(r!==61&&r!==58&&r!==59)return!1}return!!(this.chStartsBindingIdentifier(t,e)||this.isUnparsedContextual(e,"void"))}nextTokenIsIdentifierOnSameLine(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}isAwaitUsing(){if(!this.isContextual(92))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);let t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}chStartsBindingIdentifier(e,t){if(Ti(e)){if(N1.lastIndex=t,N1.test(this.input)){let r=this.codePointAtPos(N1.lastIndex);if(!Ua(r)&&r!==92)return!1}return!0}else return e===92}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifierOrBrace(){let e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return t===123||this.chStartsBindingIdentifier(t,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(22)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type,n=this.startNode(),i=!!(e&2),s=!!(e&4),a=e&1;switch(r){case 56:return this.parseBreakContinueStatement(n,!0);case 59:return this.parseBreakContinueStatement(n,!1);case 60:return this.parseDebuggerStatement(n);case 86:return this.parseDoWhileStatement(n);case 87:return this.parseForStatement(n);case 64:if(this.lookaheadCharCode()===46)break;return s||this.raise(this.state.strict?te.StrictFunction:this.options.annexB?te.SloppyFunctionAnnexB:te.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(n,!1,!i&&s);case 76:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,n),!0);case 65:return this.parseIfStatement(n);case 66:return this.parseReturnStatement(n);case 67:return this.parseSwitchStatement(n);case 68:return this.parseThrowStatement(n);case 69:return this.parseTryStatement(n);case 92:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(te.AwaitUsingNotInAsyncContext,n):this.raise(te.UnexpectedLexicalDeclaration,n):this.raise(te.UnexpectedUsingDeclaration,n),this.next(),this.parseVarStatement(n,"await using");break;case 103:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(te.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(te.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(n,"using");case 96:{if(this.state.containsEsc)break;let h=this.nextTokenStart(),c=this.codePointAtPos(h);if(c!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(c,h)&&c!==123))break}case 71:i||this.raise(te.UnexpectedLexicalDeclaration,this.state.startLoc);case 70:{let h=this.state.value;return this.parseVarStatement(n,h)}case 88:return this.parseWhileStatement(n);case 72:return this.parseWithStatement(n);case 2:return this.parseBlock();case 9:return this.parseEmptyStatement(n);case 79:{let h=this.lookaheadCharCode();if(h===40||h===46)break}case 78:{!(this.optionFlags&8)&&!a&&this.raise(te.UnexpectedImportExport,this.state.startLoc),this.next();let h;return r===79?h=this.parseImport(n):h=this.parseExport(n,t),this.assertModuleNodeAllowed(h),h}default:if(this.isAsyncFunction())return i||this.raise(te.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(n,!0,!i&&s)}let o=this.state.value,u=this.parseExpression();return It(r)&&u.type==="Identifier"&&this.eat(10)?this.parseLabeledStatement(n,o,u,e):this.parseExpressionStatement(n,u,t)}assertModuleNodeAllowed(e){!(this.optionFlags&8)&&!this.inModule&&this.raise(te.ImportOutsideModule,e)}maybeTakeDecorators(e,t,r){return e&&(t.decorators?.length?(this.raise(te.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(76)}parseDecorators(e){let t=[];do t.push(this.parseDecorator());while(this.match(22));if(this.match(78))e||this.unexpected();else if(!this.canHaveLeadingDecorator())throw this.raise(te.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t=this.state.startLoc,r;if(this.match(6)){let n=this.state.startLoc;this.next(),r=this.parseExpression(),this.expect(7),r=this.wrapParenthesis(n,r);let i=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(r,n),e.expression!==r&&this.raise(te.DecoratorArgumentsOutsideParentheses,i)}else{for(r=this.parseIdentifier(!1);this.eat(12);){let n=this.startNodeAt(t);n.object=r,this.match(134)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),n.computed=!1,r=this.finishNode(n,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r,t)}}else this.state.canStartArrow=!1,e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e,t){if(this.eat(6)){let r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(),this.toReferencedList(r.arguments),this.finishNode(r,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){let n=this.state.labels[r];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(t||n.kind===1)||e.label&&t))break}if(r===this.state.labels.length){let n=t?"BreakStatement":"ContinueStatement";this.raise(te.IllegalBreakContinue,e,{type:n})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(6);let e=this.parseExpression();return this.expect(7),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(I1),e.body=this.parseStatement(),this.state.labels.pop(),this.expect(88),e.test=this.parseHeaderExpression(),this.eat(9),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(I1);let t=null;if(this.isContextual(92)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(6),this.match(9))return t!==null&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(96);{let o=this.isAwaitUsing(),u=o||this.isForUsing(),h=r&&this.hasFollowingBindingAtom()||u;if(this.match(70)||this.match(71)||h){let c=this.startNode(),p;o?(p="await using",this.recordAwaitIfAllowed()||this.raise(te.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):p=this.state.value,this.next(),this.parseVar(c,!0,p);let d=this.finishNode(c,"VariableDeclaration"),f=this.match(54);return f&&u&&this.raise(te.ForInUsing,d),(f||this.isContextual(98))&&d.declarations.length===1?this.parseForIn(e,d,t):(t!==null&&this.unexpected(t),this.parseFor(e,d))}}let n=this.isContextual(91),i=new fm,s=this.parseExpression(!0,i),a=this.isContextual(98);if(a&&(r&&this.raise(te.ForOfLet,s),t===null&&n&&s.type==="Identifier"&&this.raise(te.ForOfAsync,s)),a||this.match(54)){this.checkDestructuringPrivate(i),this.toAssignable(s,!0);let o=a?"ForOfStatement":"ForInStatement";return this.checkLVal(s,{type:o}),this.parseForIn(e,s,t)}else this.checkExpressionErrors(i,!0);return t!==null&&this.unexpected(t),this.parseFor(e,s)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(62)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(te.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t=e.cases=[];this.expect(2),this.state.labels.push(ij),this.scope.enter(256);let r;for(let n;!this.match(4);)if(this.match(57)||this.match(61)){let i=this.match(57);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),i?r.test=this.parseExpression():(n&&this.raise(te.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),n=!0,r.test=null),this.expect(10)}else r?r.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(te.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type==="Identifier"?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(58)){let t=this.startNode();this.next(),this.match(6)?(this.expect(6),t.param=this.parseCatchClauseParam(),this.expect(7)):(t.param=null,this.scope.enter(0)),t.body=this.parseBlock(!1,!1),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(63)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(te.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=!1){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(I1),e.body=this.parseStatement(),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(te.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.parseStatement(),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let s of this.state.labels)s.name===t&&this.raise(te.LabelRedeclaration,r,{labelName:t});let i=sR(this.state.type)?1:this.match(67)?2:null;for(let s=this.state.labels.length-1;s>=0;s--){let a=this.state.labels[s];if(a.statementStart===e.start)a.statementStart=this.sourceToOffsetPos(this.state.start),a.kind=i;else break}return this.state.labels.push({name:t,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=n&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){let n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(2),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,4,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,a=!1,o=!1;for(;!this.match(n);){let u=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(u)){let h=this.stmtToDirective(u);t.push(h),!a&&h.value.value==="use strict"&&(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(u)}i?.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(9)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(7)?null:this.parseExpression(),this.expect(7),e.body=this.parseStatement(),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(54);return this.next(),n?r!==null&&this.unexpected(r):e.await=r!==null,t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||!this.options.annexB||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(te.ForInOfLoopInitializer,t,{type:n?"ForInStatement":"ForOfStatement"}),t.type==="AssignmentPattern"&&this.raise(te.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(7),e.body=this.parseStatement(),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,n=!1){let i=e.declarations=[];for(e.kind=r;;){let s=this.startNode();if(this.parseVarId(s,r),s.init=this.eat(25)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,s.init===null&&!n&&(s.id.type!=="Identifier"&&!(t&&(this.match(54)||this.isContextual(98)))?this.raise(te.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(r==="const"||r==="using"||r==="await using")&&!(this.match(54)||this.isContextual(98))&&this.raise(te.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:r})),i.push(this.finishNode(s,"VariableDeclarator")),!this.eat(8))break}return e}parseVarId(e,t){let r=this.parseBindingAtom();t==="using"||t==="await using"?(r.type==="ArrayPattern"||r.type==="ObjectPattern")&&this.raise(te.UsingDeclarationHasBindingPattern,r):r.type==="VoidPattern"&&this.raise(te.UnexpectedVoidPattern,r),this.checkLVal(r,{type:"VariableDeclarator"},t==="var"?5:8201),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){let r=t&2,n=!!(t&1),i=n&&!(t&4),s=!!(t&8);return this.initFunction(e,s),this.match(51)&&(r&&this.raise(te.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(i)),this.scope.enter(514),this.prodParam.enter(dm(s,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression"),this.prodParam.exit(),this.scope.exit(),n&&!r&&this.registerFunctionStatementId(e),e}parseFunctionId(e){return e||It(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(6),this.expressionScope.enter(XR()),e.params=this.parseBindingList(7,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.start)}parseClass(e,t,r){this.next();let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(25)||this.match(9)||this.match(4)}isClassMethod(){return this.match(6)}nameIsConstructor(e){return e.type==="Identifier"&&e.name==="constructor"||e.type==="StringLiteral"&&e.value==="constructor"}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();for(i.body=[],this.expect(2);!this.match(4);){if(this.eat(9)){if(n.length>0)throw this.raise(te.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(22)){n.push(this.parseDecorator());continue}let s=this.startNode();n.length&&(s.decorators=n,this.resetStartLocationFromNode(s,n[0]),n=[]),this.parseClassMember(i,s,r)}if(this.state.strict=t,this.next(),n.length)throw this.raise(te.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(102);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(2)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,a=t,o=t,u=t,h=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(51)){h.kind="method";let x=this.match(134);if(this.parseClassElementName(h),this.parsePostMemberNameModifiers(h),x){this.pushClassPrivateMethod(e,s,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(te.ConstructorIsGenerator,i.key),this.pushClassMethod(e,i,!0,!1,!1,!1);return}let p=!this.state.containsEsc&&It(this.state.type),d=this.parseClassElementName(t),f=p?d.name:null,D=this.isPrivateName(d),g=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(h.kind="method",D){this.pushClassPrivateMethod(e,s,!1,!1);return}let x=this.isNonstaticConstructor(i),A=!1;x&&(i.kind="constructor",i.decorators&&i.decorators.length>0&&this.raise(te.DecoratorConstructor,t),r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(te.DuplicateConstructor,d),x&&this.hasPlugin("typescript")&&t.override&&this.raise(te.OverrideOnConstructor,d),r.hadConstructor=!0,A=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,x,A)}else if(this.isClassProperty())D?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(f==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let x=this.eat(51);c.optional&&this.unexpected(g),h.kind="method";let A=this.match(134);this.parseClassElementName(h),this.parsePostMemberNameModifiers(c),A?this.pushClassPrivateMethod(e,s,x,!0):(this.isNonstaticConstructor(i)&&this.raise(te.ConstructorIsAsync,i.key),this.pushClassMethod(e,i,x,!0,!1,!1))}else if((f==="get"||f==="set")&&!(this.match(51)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(d),h.kind=f;let x=this.match(134);this.parseClassElementName(i),x?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(te.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(f==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let x=this.match(134);this.parseClassElementName(a),this.pushClassAccessorProperty(e,u,x)}else this.isLineTerminator()?D?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected()}parseClassElementName(e){let{type:t,value:r}=this.state;if((t===128||t===130)&&e.static&&r==="prototype"&&this.raise(te.StaticPrototype,this.state.startLoc),t===134){r==="constructor"&&this.raise(te.ConstructorClassPrivateField,this.state.startLoc);let n=this.parsePrivateName();return e.key=n,n}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,4),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),t.decorators?.length&&this.raise(te.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(te.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassAccessorProperty(e,t,r){!r&&!t.computed&&this.nameIsConstructor(t.key)&&this.raise(te.ConstructorClassField,t.key);let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s=i.kind==="get"?i.static?6:2:i.kind==="set"?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(hk()),this.prodParam.enter(0),e.value=this.eat(25)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,n=8331){if(It(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else if(r||!t)e.id=null;else throw this.raise(te.MissingClassName,this.state.startLoc)}parseClassSuper(e){this.eat(77)?(this.state.canStartArrow=!1,e.superClass=this.parseExprSubscripts()):e.superClass=null}parseExport(e,t){let r=this.parseMaybeImportPhase(e,!0),n=this.maybeParseExportDefaultSpecifier(e,r),i=!n||this.eat(8),s=i&&this.eatExportStar(e),a=s&&this.maybeParseExportNamespaceSpecifier(e),o=i&&(!a||this.eat(8)),u=n||s;if(s&&!a){if(n&&this.unexpected(),t)throw this.raise(te.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}let h=this.maybeParseExportNamedSpecifiers(e);n&&i&&!s&&!h&&this.unexpected(null,2),a&&o&&this.unexpected(null,94);let c;if(u||h){if(c=!1,t)throw this.raise(te.UnsupportedDecoratorExport,e);this.parseExportFrom(e,u)}else c=this.maybeParseExportDeclaration(e);if(u||h||c){let p=e;if(this.checkExport(p,!0,!1,!!p.source),p.declaration?.type==="ClassDeclaration")this.maybeTakeDecorators(t,p.declaration,p);else if(t)throw this.raise(te.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(p,"ExportNamedDeclaration")}if(this.eat(61)){let p=e,d=this.parseExportDefaultExpression();if(p.declaration=d,d.type==="ClassDeclaration")this.maybeTakeDecorators(t,d,p);else if(t)throw this.raise(te.UnsupportedDecoratorExport,e);return this.checkExport(p,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(p,"ExportDefaultDeclaration")}throw this.unexpected(null,2)}eatExportStar(e){return this.eat(51)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",t?.start);let r=t||this.parseIdentifier(!0),n=this.startNodeAtNode(r);return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(89)){e.specifiers??(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(2)){let t=e;t.specifiers||(t.specifiers=[]);let r=t.exportKind==="type";return t.specifiers.push(...this.parseExportSpecifiers(r)),t.source=null,t.attributes=[],t.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(91))return!1;let e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(64))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(76))return this.parseClass(e,!0,!0);if(this.match(22))return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(71)||this.match(70)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(te.UnsupportedDefaultExport,this.state.startLoc);let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(76)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(It(e)){if(e===91&&!this.state.containsEsc||e===96)return!1;if((e===126||e===125)&&!this.state.containsEsc){let n=this.nextTokenStart(),i=this.input.charCodeAt(n);if(i===123||this.chStartsBindingIdentifier(i,n)&&!this.input.startsWith("from",n))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(61))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||It(this.state.type)&&r)return!0;if(this.match(61)&&r){let n=this.input.charCodeAt(this.nextTokenStartSince(t+4));return n===34||n===39}return!1}parseExportFrom(e,t){this.eatContextual(94)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===22&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?!0:this.isUsing()?(this.raise(te.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(te.UsingDeclarationExport,this.state.startLoc),!0):e===70||e===71||e===64||e===76||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){let i=e.declaration;i.type==="Identifier"&&i.name==="from"&&i.end-i.start===4&&!i.extra?.parenthesized&&this.raise(te.ExportDefaultFromAsIdentifier,i)}}else if(e.specifiers?.length)for(let i of e.specifiers){let{exported:s}=i,a=s.type==="Identifier"?s.name:s.value;if(this.checkDuplicateExports(i,a),!n&&i.local){let{local:o}=i;o.type!=="Identifier"?this.raise(te.ExportBindingIsString,i,{localName:o.value,exportName:a}):(this.checkReservedWord(o.name,o.start,!0,!1),this.scope.checkLocalExport(o))}}else if(e.declaration){let i=e.declaration;if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){let{id:s}=i;if(!s)throw new Error("Assertion failure");this.checkDuplicateExports(e,s.name)}else if(i.type==="VariableDeclaration")for(let s of i.declarations)this.checkDeclaration(s.id)}}}checkDeclaration(e){if(e.type==="Identifier")this.checkDuplicateExports(e,e.name);else if(e.type==="ObjectPattern")for(let t of e.properties)this.checkDeclaration(t);else if(e.type==="ArrayPattern")for(let t of e.elements)t&&this.checkDeclaration(t);else e.type==="ObjectProperty"?this.checkDeclaration(e.value):e.type==="RestElement"?this.checkDeclaration(e.argument):e.type==="AssignmentPattern"&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(te.DuplicateDefaultExport,e):this.raise(te.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(2);!this.eat(4);){if(r)r=!1;else if(this.expect(8),this.eat(4))break;let n=this.isContextual(126),i=this.match(130),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(89)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(130)){let e=this.parseStringLiteral(this.state.value),t=sj.exec(e.value);return t&&this.raise(te.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}checkImportPhase(e){let{specifiers:t}=e,r=t.length===1?t[0].type:null;e.phase==="source"?r!=="ImportDefaultSpecifier"&&this.raise(te.SourcePhaseImportRequiresDefault,t[0]):e.phase==="defer"&&r!=="ImportNamespaceSpecifier"&&this.raise(te.DeferImportRequiresNamespace,t[0])}isPotentialImportPhase(e){return e?!1:this.isContextual(101)||this.isContextual(93)}applyImportPhase(e,t,r,n){t||(r==="source"?(this.expectPlugin("sourcePhaseImports",n),e.phase="source"):r==="defer"?(this.expectPlugin("deferredImportEvaluation",n),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;let r=this.startNode(),n=this.parseIdentifierName(!0),{type:i}=this.state;return(ri(i)?i!==94||this.lookaheadCharCode()===102:i!==8)?(this.applyImportPhase(e,t,n,r.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(r,n))}isPrecedingIdImportPhase(e){let{type:t}=this.state;return It(t)?t!==94||this.lookaheadCharCode()===102:t!==8}parseImport(e){return this.match(130)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];let r=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(8),n=r&&this.maybeParseStarImportSpecifier(e);return r&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(94),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return e.specifiers??(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportPhase(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(130)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t,r=8201){return this.checkLVal(e.local,{type:t},r),this.finishNode(e,t)}parseImportAttributes(){this.expect(2);let e=[],t=new Set;do{if(this.match(4))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(te.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:n}),t.add(n),this.match(130)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(10),!this.match(130))throw this.raise(te.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(8));return this.expect(4),e}maybeParseImportAttributes(e){let t;if(this.match(72)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),t=this.parseImportAttributes()}else t=[];e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){let r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier")),!0}else if(ri(this.state.type))return this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(e){if(this.match(51)){let t=this.startNode();return this.next(),this.expectContextual(89),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(2);!this.eat(4);){if(t)t=!1;else{if(this.eat(10))throw this.raise(te.DestructureNamedImport,this.state.startLoc);if(this.expect(8),this.eat(4))break}let r=this.startNode(),n=this.match(130),i=this.isContextual(126);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,e.importKind==="type"||e.importKind==="typeof",i,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n,i){if(this.eatContextual(89))e.local=this.parseIdentifier();else{let{imported:s}=e;if(t)throw this.raise(te.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.start,!0,!0),e.local||(e.local=this.cloneIdentifier(s))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}},L1=/in(?:stanceof)?|as|satisfies/y;function oj(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function Pb(e){if(!e)throw new Error("Assert fail")}var uj={AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DecoratorAbstractMethod:({kind:e})=>`Decorators can't be used with ${e.startsWith("a")?"an":"a"} ${e}.`,DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ExportAssignmentInTSNamespace:"An export assignment cannot be used in a namespace.",ExportInTSNamespace:"Export declarations are not permitted in a namespace.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportInTSNamespace:"Import declarations in a namespace cannot reference a module.",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InlineModuleDeclarationMustUseString:"`module ... {}` declarations must have a string name. Use `namespace ... {}` instead.",InvalidHeritageClauseType:({token:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NamespaceExportInTSNamespace:"Global module exports may only appear at top level.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterInitializer:"A parameter initializer is only allowed in a function or constructor implementation.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnexpectedTypeDeclaration:e=>`'${e}' declarations can only be declared inside a block.`,UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`},Re=ti`typescript`(uj);function lj(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Ib(e){return e==="private"||e==="public"||e==="protected"}function cj(e){return e==="in"||e==="out"}function q1(e){if(e.extra?.parenthesized)return!1;switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&q1(e.object);case"TSInstantiationExpression":return q1(e.expression);default:return!1}}var pj=e=>class extends e{getScopeHandler(){return OR}tsIsIdentifier(){return It(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(2)||this.match(51)||this.match(17)||this.match(134)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(102)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(t,r,n){if(!It(this.state.type)&&this.state.type!==54&&this.state.type!==71)return;let i=this.state.value;if(t.includes(i)){if(n&&this.match(102)||r&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:t,disallowedModifiers:r,stopOnStartOfClassStaticBlock:n,errorTemplate:i=Re.InvalidModifierOnTypeMember},s){let a=(u,h,c,p)=>{h===c&&s[p]&&this.raise(Re.InvalidModifiersOrder,u,{orderedModifiers:[c,p]})},o=(u,h,c,p)=>{(s[c]&&h===p||s[p]&&h===c)&&this.raise(Re.IncompatibleModifiers,u,{modifiers:[c,p]})};for(;;){let{startLoc:u}=this.state,h=this.tsParseModifier(t.concat(r??[]),n,s.static);if(!h)break;Ib(h)?s.accessibility?this.raise(Re.DuplicateAccessibilityModifier,u,{modifier:h}):(a(u,h,h,"override"),a(u,h,h,"static"),a(u,h,h,"readonly"),s.accessibility=h):cj(h)?(s[h]&&this.raise(Re.DuplicateModifier,u,{modifier:h}),s[h]=!0,a(u,h,"in","out")):(z1(s,h)?this.raise(Re.DuplicateModifier,u,{modifier:h}):(a(u,h,"static","readonly"),a(u,h,"static","override"),a(u,h,"override","readonly"),a(u,h,"abstract","override"),o(u,h,"declare","override"),o(u,h,"static","abstract")),s[h]=!0),r?.includes(h)&&this.raise(i,u,{modifier:h})}}tsIsListTerminator(t){switch(t){case"EnumMembers":case"TypeMembers":return this.match(4);case"HeritageClauseElement":return this.match(2);case"TupleElementTypes":return this.match(1);case"TypeParametersOrArguments":return this.match(44)}}tsParseList(t,r){let n=[];for(;!this.tsIsListTerminator(t);)n.push(r());return n}tsParseDelimitedList(t,r,n){return oj(this.tsParseDelimitedListWorker(t,r,!0,n))}tsParseDelimitedListWorker(t,r,n,i){let s=[],a=-1;for(;!this.tsIsListTerminator(t);){a=-1;let o=r();if(o==null)return;if(s.push(o),this.eat(8)){a=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(t))break;n&&this.expect(8);return}return i&&(i.value=a),s}tsParseBracketedList(t,r,n,i,s){i||(n?this.expect(0):this.expect(43));let a=this.tsParseDelimitedList(t,r,s);return n?this.expect(1):this.expect(44),a}tsParseImportType(){let t=this.startNode();return this.expect(79),this.expect(6),this.match(130)?t.source=this.parseStringLiteral(this.state.value):(this.raise(Re.UnsupportedImportTypeArgument,this.state.startLoc),t.source=this.tsParseNonConditionalType()),this.eat(8)?t.options=this.tsParseImportTypeOptions():t.options=null,this.expect(7),this.eat(12)&&(t.qualifier=this.tsParseEntityName(3)),this.match(43)&&(t.typeArguments=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseImportTypeOptions(){let t=this.startNode();this.expect(2);let r=this.startNode();return this.isContextual(72)?(r.method=!1,r.key=this.parseIdentifier(!0),r.computed=!1,r.shorthand=!1):this.unexpected(null,72),this.expect(10),r.value=this.tsParseImportTypeWithPropertyValue(),t.properties=[this.finishObjectProperty(r)],this.eat(8),this.expect(4),this.finishNode(t,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let t=this.startNode(),r=[];for(this.expect(2);!this.match(4);){let n=this.state.type;It(n)||n===130?r.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(8)}return t.properties=r,this.next(),this.finishNode(t,"ObjectExpression")}tsParseEntityName(t){let r;if(t&1&&this.match(74))if(t&2)r=this.parseIdentifier(!0);else{let n=this.startNode();this.next(),r=this.finishNode(n,"ThisExpression")}else r=this.parseIdentifier(!!(t&1));for(;this.eat(12);){let n=this.startNodeAtNode(r);n.left=r,n.right=this.parseIdentifier(!!(t&1)),r=this.finishNode(n,"TSQualifiedName")}return r}tsParseTypeReference(){let t=this.startNode();return t.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(43)&&(t.typeArguments=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();let r=this.startNodeAtNode(t);return r.parameterName=t,r.typeAnnotation=this.tsParseTypeAnnotation(!1),r.asserts=!1,this.finishNode(r,"TSTypePredicate")}tsParseThisTypeNode(){let t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){let t=this.startNode();return this.expect(83),this.match(79)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(43)&&(t.typeArguments=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Re.InvalidModifierOnTypeParameter});tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Re.InvalidModifierOnTypeParameterPositions});tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Re.InvalidModifierOnTypeParameter});tsParseTypeParameter(t){let r=this.startNode();return t(r),r.name=this.tsParseTypeParameterName(),r.constraint=this.tsEatThenParseType(77),r.default=this.tsEatThenParseType(25),this.finishNode(r,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(43))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let r=this.startNode();this.match(43)||this.match(138)?this.next():this.unexpected();let n={value:-1};return r.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,n),r.params.length===0&&this.raise(Re.EmptyTypeParameters,r),n.value!==-1&&this.addExtra(r,"trailingComma",n.value),this.finishNode(r,"TSTypeParameterDeclaration")}tsFillSignature(t,r){let n=t===15,i="params",s="returnType";r.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(6),r[i]=this.tsParseBindingListForSignature(),n?r[s]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(r[s]=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){let t=super.parseBindingList(7,41,2);for(let r of t){let{type:n}=r;(n==="AssignmentPattern"||n==="TSParameterProperty")&&this.raise(Re.UnsupportedSignatureParameterKind,r,{type:n})}return t}tsParseTypeMemberSemicolon(){!this.eat(8)&&!this.isLineTerminator()&&this.expect(9)}tsParseSignatureMember(t,r){return this.tsFillSignature(10,r),this.tsParseTypeMemberSemicolon(),this.finishNode(r,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),It(this.state.type)?(this.next(),this.match(10)):!1}tsTryParseIndexSignature(t){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let r=this.parseIdentifier();r.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(r),this.expect(1),t.parameters=[r];let n=this.tsTryParseTypeAnnotation();return n&&(t.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,r){if(this.eat(13)&&(t.optional=!0),this.match(6)||this.match(43)){r&&this.raise(Re.ReadonlyForMethodSignature,t);let n=t;if(n.kind&&this.match(43)&&this.raise(Re.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(10,n),this.tsParseTypeMemberSemicolon(),n.kind==="get")n.params.length>0&&(this.raise(te.BadGetterArity,this.state.curPosition()),this.isThisParam(n.params[0])&&this.raise(Re.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(n.kind==="set"){if(n.params.length!==1)this.raise(te.BadSetterArity,this.state.curPosition());else{let i=n.params[0];this.isThisParam(i)&&this.raise(Re.AccessorCannotDeclareThisParameter,this.state.curPosition()),i.type==="Identifier"&&i.optional&&this.raise(Re.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),i.type==="RestElement"&&this.raise(Re.SetAccessorCannotHaveRestParameter,this.state.curPosition())}n.returnType&&this.raise(Re.SetAccessorCannotHaveReturnType,n.returnType)}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}else{let n=t;r&&(n.readonly=!0);let i=this.tsTryParseTypeAnnotation();return i&&(n.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}}tsParseTypeMember(){let t=this.startNode();if(this.match(6)||this.match(43))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(73)){let n=this.startNode();return this.next(),this.match(6)||this.match(43)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(n,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t),this.tsTryParseIndexSignature(t)||(super.parsePropertyName(t),!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.tsTokenCanFollowModifier()&&(t.kind=t.key.name,super.parsePropertyName(t),!this.match(6)&&!this.match(43)&&this.unexpected(null,6)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){let t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(2);let t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(4),t}tsIsStartOfMappedType(){return this.next(),this.eat(49)?this.isContextual(118):(this.isContextual(118)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(54)))}tsParseMappedType(){let t=this.startNode();return this.expect(2),this.match(49)?(t.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(t.readonly=!0),this.expect(0),t.key=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(54),t.nameType=this.eatContextual(89)?this.tsParseType():null,this.expect(1),this.match(49)?(t.optional=this.state.value,this.next(),this.expect(13)):this.eat(13)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(4),this.finishNode(t,"TSMappedType")}tsParseTupleType(){let t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let r=!1;return t.elementTypes.forEach(n=>{let{type:i}=n;r&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&n.optional)&&this.raise(Re.OptionalTypeBeforeRequired,n),r||(r=i==="TSNamedTupleMember"&&n.optional||i==="TSOptionalType")}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let t=this.state.startLoc,r=this.eat(17),{startLoc:n}=this.state,i,s,a,o,u=ri(this.state.type)?this.lookaheadCharCode():null;if(u===58)i=!0,a=!1,s=this.parseIdentifier(!0),this.expect(10),o=this.tsParseType();else if(u===63){a=!0;let h=this.state.value,c=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,s=this.createIdentifier(this.startNodeAt(n),h),this.expect(13),this.expect(10),o=this.tsParseType()):(i=!1,o=c,this.expect(13))}else o=this.tsParseType(),a=this.eat(13),i=this.eat(10);if(i){let h;s?(h=this.startNodeAt(n),h.optional=a,h.label=s,h.elementType=o,this.eat(13)&&(h.optional=!0,this.raise(Re.TupleOptionalAfterType,this.state.lastTokStartLoc))):(h=this.startNodeAt(n),h.optional=a,this.raise(Re.InvalidTupleMemberLabel,o),h.label=o,h.elementType=this.tsParseType()),o=this.finishNode(h,"TSNamedTupleMember")}else if(a){let h=this.startNodeAt(n);h.typeAnnotation=o,o=this.finishNode(h,"TSOptionalType")}if(r){let h=this.startNodeAt(t);h.typeAnnotation=o,o=this.finishNode(h,"TSRestType")}return o}tsParseParenthesizedType(){let t=this.startNode();return this.expect(6),t.typeAnnotation=this.tsParseType(),this.expect(7),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,r){let n=this.startNode();return t==="TSConstructorType"&&(n.abstract=!!r,r&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(15,n)),this.finishNode(n,t)}tsParseLiteralTypeNode(){let t=this.startNode();switch(this.state.type){case 131:case 132:case 130:case 81:case 82:t.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){let t=this.state.startLoc,r=this.parseTemplateElement(!1),n=[r];if(r.tail){let i=this.startNodeAt(t),s=this.startNodeAt(t);return s.expressions=[],s.quasis=n,i.literal=this.finishNode(s,"TemplateLiteral"),this.finishNode(i,"TSLiteralType")}else{let i=[];for(;!r.tail;)i.push(this.tsParseType()),this.readTemplateContinuation(),n.push(r=this.parseTemplateElement(!1));let s=this.startNodeAt(t);return s.types=i,s.quasis=n,this.finishNode(s,"TSTemplateLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let t=this.tsParseThisTypeNode();return this.isContextual(112)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}tsParseNonArrayType(){switch(this.state.type){case 130:case 131:case 132:case 81:case 82:return this.tsParseLiteralTypeNode();case 49:if(this.state.value==="-"){let t=this.startNode(),r=this.lookahead();return r.type!==131&&r.type!==132&&this.unexpected(),t.literal=this.parseMaybeUnary(),this.finishNode(t,"TSLiteralType")}break;case 74:return this.tsParseThisTypeOrThisTypePredicate();case 83:return this.tsParseTypeQuery();case 79:return this.tsParseImportType();case 2:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 6:if(!(this.optionFlags&2048)){let t=this.state.startLoc;this.next();let r=this.tsParseType();return this.expect(7),this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",t.index),r}return this.tsParseParenthesizedType();case 21:case 20:return this.tsParseTemplateLiteralType();default:{let{type:t}=this.state;if(It(t)||t===84||t===80){let r=t===84?"TSVoidKeyword":t===80?"TSNullKeyword":lj(this.state.value);if(r!==void 0&&this.lookaheadCharCode()!==46){let n=this.startNode();return this.next(),this.finishNode(n,r)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:t}=this.state,r=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(1)){let n=this.startNodeAt(t);n.elementType=r,this.expect(1),r=this.finishNode(n,"TSArrayType")}else{let n=this.startNodeAt(t);n.objectType=r,n.indexType=this.tsParseType(),this.expect(1),r=this.finishNode(n,"TSIndexedAccessType")}return r}tsParseTypeOperator(){let t=this.startNode(),r=this.state.value;return this.next(),t.operator=r,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),r==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Re.UnexpectedReadonly,t)}}tsParseInferType(){let t=this.startNode();this.expectContextual(111);let r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(77)){let t=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(13))return t}}tsParseTypeOperatorOrHigher(){return uR(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(111)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,r,n){let i=this.startNode(),s=this.eat(n),a=[];do a.push(r());while(this.eat(n));return a.length===1&&!s?a[0]:(i.types=a,this.finishNode(i,t))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),41)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),39)}tsIsStartOfFunctionType(){return this.match(43)?!0:this.match(6)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(It(this.state.type)||this.match(74))return this.next(),!0;if(this.match(2)){let{errors:t}=this.state,r=t.length;try{return this.parseObjectLike(4,!0),t.length===r}catch{return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,r=t.length;try{return super.parseBindingList(1,93,1),t.length===r}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(7)||this.match(17)||this.tsSkipParameterStart()&&(this.match(10)||this.match(8)||this.match(13)||this.match(25)||this.match(7)&&(this.next(),this.match(15))))}tsParseTypeOrTypePredicateAnnotation(t){return this.tsInType(()=>{let r=this.startNode();this.expect(t);let n=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(74)){let o=this.tsParseThisTypeOrThisTypePredicate();return o.type==="TSThisType"?(n.parameterName=o,n.asserts=!0,n.typeAnnotation=null,o=this.finishNode(n,"TSTypePredicate")):(this.resetStartLocationFromNode(o,n),o.asserts=!0),r.typeAnnotation=o,this.finishNode(r,"TSTypeAnnotation")}let s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s)return i?(n.parameterName=this.parseIdentifier(),n.asserts=i,n.typeAnnotation=null,r.typeAnnotation=this.finishNode(n,"TSTypePredicate"),this.finishNode(r,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,r);let a=this.tsParseTypeAnnotation(!1);return n.parameterName=s,n.typeAnnotation=a,n.asserts=i,r.typeAnnotation=this.finishNode(n,"TSTypePredicate"),this.finishNode(r,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(10))return this.tsParseTypeOrTypePredicateAnnotation(10)}tsTryParseTypeAnnotation(){if(this.match(10))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(10)}tsParseTypePredicatePrefix(){let t=this.parseIdentifier();if(this.isContextual(112)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(this.state.type!==105)return!1;let t=this.state.containsEsc;return this.next(),!It(this.state.type)&&!this.match(74)?!1:(t&&this.raise(te.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(t=!0,r=this.startNode()){return this.tsInType(()=>{t&&this.expect(10),r.typeAnnotation=this.tsParseType()}),this.finishNode(r,"TSTypeAnnotation")}tsParseType(){Pb(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(77))return t;let r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(13),r.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(10),r.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(r,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(73)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Re.ReservedTypeAssertion,this.state.startLoc);let t=this.startNode();return t.typeAnnotation=this.tsInType(()=>(this.next(),this.match(71)?this.tsParseTypeReference():this.tsParseType())),this.expect(44),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let r=this.state.startLoc,n=this.tsParseDelimitedList("HeritageClauseElement",()=>{let i=(this.state.canStartArrow=!1,super.parseExprSubscripts());q1(i)||this.raise(Re.InvalidHeritageClauseType,i.start,{token:t});let s=t==="extends"?"TSInterfaceHeritage":"TSClassImplements";if(i.type==="TSInstantiationExpression")return i.type=s,i;let a=this.startNodeAtNode(i);return a.expression=i,(this.match(43)||this.match(47))&&(a.typeArguments=this.tsParseTypeArgumentsInExpression()),this.finishNode(a,s)});return n.length||this.raise(Re.EmptyHeritageClauseType,r,{token:t}),n}tsParseInterfaceDeclaration(t,r={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125),r.declare&&(t.declare=!0),It(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,130)):(t.id=null,this.raise(Re.MissingInterfaceName,this.state.startLoc)),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(77)&&(t.extends=this.tsParseHeritageClause("extends"));let n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(n,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,2),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(25),this.isContextual(110)&&this.lookaheadCharCode()!==46){let r=this.startNode();return this.next(),this.finishNode(r,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInTopLevelContext(t){if(this.curContext()!==Vt.brace){let r=this.state.context;this.state.context=[r[0]];try{return t()}finally{this.state.context=r}}else return t()}tsInType(t){let r=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=r}}tsInDisallowConditionalTypesContext(t){let r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}tsInAllowConditionalTypesContext(t){let r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}tsEatThenParseType(t){if(this.match(t))return this.tsNextThenParseType()}tsExpectThenParseType(t){return this.tsInType(()=>(this.expect(t),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let t=this.startNode();return t.id=this.match(130)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(25)&&(t.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t,r={}){return r.const&&(t.const=!0),r.declare&&(t.declare=!0),this.expectContextual(122),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?8971:8459),t.body=this.tsParseEnumBody(),this.finishNode(t,"TSEnumDeclaration")}tsParseEnumBody(){let t=this.startNode();return this.expect(2),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(4),this.finishNode(t,"TSEnumBody")}tsParseModuleBlock(t){let r=this.startNode();return t||this.scope.enter(0),this.expect(2),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,4),t||this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseNamespaceDeclaration(t){return t.id=this.tsParseEntityName(0),t.id.type==="Identifier"&&this.checkIdentifier(t.id,1024),this.scope.enter(2048),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(!1),this.prodParam.exit(),this.scope.exit(),this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){let r=this.isContextual(108);return r?(t.kind="global",t.id=this.parseIdentifier()):(t.kind="module",t.id=super.parseStringLiteral(this.state.value)),this.match(2)?(r||this.scope.enter(1024),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(r),this.prodParam.exit(),r||this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,r){t.id=r||this.parseIdentifier(),this.checkIdentifier(t.id,4096),this.expect(25);let n=this.tsParseModuleReference();return t.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(Re.ImportAliasHasImportType,n),t.moduleReference=n,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(115)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let t=this.startNode();return this.expectContextual(115),this.expect(6),this.match(130)||this.unexpected(),t.expression=super.parseExprAtom(),this.expect(7),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){let r=this.state.clone(),n=t();return this.state=r,n}tsTryParseAndCatch(t){let r=this.tryParse(n=>t()||n());if(!(r.aborted||!r.node))return r.error&&(this.state=r.failState),r.node}tsTryParse(t){let r=this.state.clone(),n=t();if(n!==void 0&&n!==!1)return n;this.state=r}tsTryParseDeclare(t){if(this.isLineTerminator())return;let r=this.state.type;return this.tsInAmbientContext(()=>{switch(r){case 64:return t.declare=!0,super.parseFunctionStatement(t,!1,!1);case 76:return t.declare=!0,this.parseClass(t,!0,!1);case 122:return this.tsParseEnumDeclaration(t,{declare:!0});case 108:return this.tsParseAmbientExternalModuleDeclaration(t);case 96:if(this.state.containsEsc)return;case 71:case 70:return!this.match(71)||!this.isLookaheadContextual("enum")?(t.declare=!0,this.parseVarStatement(t,this.state.value,!0)):(this.expect(71),this.tsParseEnumDeclaration(t,{const:!0,declare:!0}));case 103:if(this.isUsing())return this.raise(Re.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),t.declare=!0,this.parseVarStatement(t,"using",!0);break;case 92:if(this.isAwaitUsing())return this.raise(Re.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),t.declare=!0,this.next(),this.parseVarStatement(t,"await using",!0);break;case 125:{let n=this.tsParseInterfaceDeclaration(t,{declare:!0});if(n)return n}default:if(It(r))return this.tsParseDeclaration(t,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(t,r,n,i){switch(r){case 120:if(this.tsCheckLineTerminator(n)&&(this.match(76)||It(this.state.type)))return this.tsParseAbstractDeclaration(t,i);break;case 123:if(this.tsCheckLineTerminator(n))return this.tsParseAmbientExternalModuleDeclaration(t);break;case 124:if(this.tsCheckLineTerminator(n)&&It(this.state.type))return t.kind="namespace",this.tsParseNamespaceDeclaration(t);break;case 126:if(this.tsCheckLineTerminator(n)&&It(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t){if(!this.match(43))return;let r=this.tsTryParseAndCatch(()=>{let n=this.startNodeAt(t);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(15),n});if(r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===43)return this.tsParseTypeArguments()}tsParseTypeArguments(){let t=this.startNode();return t.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(43),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),t.params.length===0?this.raise(Re.EmptyTypeArguments,t):!this.state.inType&&this.curContext()===Vt.brace&&this.reScan_lt_gt(),this.expect(44),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return lR(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(t,r){let n=r.length?null:this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},i);let s=i.accessibility,a=i.override,o=i.readonly;!(t&4)&&(s||o||a)&&this.raise(Re.UnexpectedParameterModifier,n||r[0]);let u=this.state.startLoc,h=this.parseMaybeDefault(u);t&2&&this.parseFunctionParamType(h);let c=this.parseMaybeDefault(u,h);if(s||o||a){let p=n?this.startNodeAt(n):this.startNodeAtNode(r[0]);return r.length?p.decorators=r:this.setLoc(n),s&&(p.accessibility=s),o&&(p.readonly=o),a&&(p.override=a),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(Re.UnsupportedParameterPropertyKind,n||r[0]),p.parameter=c,this.finishNode(p,"TSParameterProperty")}return r.length&&(h.decorators=r),c}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}tsDisallowOptionalPattern(t){for(let r of t.params)r.type!=="Identifier"&&r.optional&&!this.state.isAmbientContext&&this.raise(Re.PatternIsOptional,r)}setArrowFunctionParameters(t,r,n){super.setArrowFunctionParameters(t,r,n),this.tsDisallowOptionalPattern(t)}parseFunctionBodyAndFinish(t,r,n=!1){this.match(10)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(10));let i=r==="FunctionDeclaration"?"TSDeclareFunction":r==="ClassMethod"||r==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(i&&!this.match(2)&&this.isLineTerminator()){if(i==="TSDeclareMethod"&&t.kind==="constructor")for(let s of t.params)s.type==="TSParameterProperty"?this.raise(Re.UnexpectedParameterModifier,s):s.type==="AssignmentPattern"&&this.raise(Re.UnexpectedParameterInitializer,s);else for(let s of t.params)s.type==="AssignmentPattern"&&this.raise(Re.UnexpectedParameterInitializer,s);return this.finishNode(t,i)}return i&&this.state.isAmbientContext&&(this.raise(Re.DeclareFunctionHasImplementation,this.state.startLoc),i==="TSDeclareFunction"&&t.declare)?super.parseFunctionBodyAndFinish(t,i,n):(this.tsDisallowOptionalPattern(t),super.parseFunctionBodyAndFinish(t,r,n))}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,1024):super.registerFunctionStatementId(t)}tsCheckForInvalidTypeCasts(t){t.forEach(r=>{r?.type==="TSTypeCastExpression"&&this.raise(Re.UnexpectedTypeAnnotation,r.typeAnnotation)})}toReferencedList(t,r){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(t,r){let n=super.parseArrayLike(t,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(31)){this.state.canStartJSXElement=!1,this.next();let a=this.startNodeAt(r);return a.expression=t,this.finishNode(a,"TSNonNullExpression")}let s=!1;if(this.match(14)&&this.lookaheadCharCode()===60){if(n)return i.stop=!0,t;i.optionalChainMember=s=!0,this.next()}if(this.match(43)||this.match(47)){let a,o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(t)){let p=this.tsTryParseGenericAsyncArrowFunction(r);if(p)return i.stop=!0,p}let u=this.tsParseTypeArgumentsInExpression();if(!u)return;if(s&&!this.match(6)){a=this.state.curPosition();return}if(O1(this.state.type)){let p=super.parseTaggedTemplateExpression(t,r,i);return p.typeArguments=u,p}if(!n&&this.eat(6)){let p=this.startNodeAt(r);return p.callee=t,p.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(p.arguments),p.typeArguments=u,i.optionalChainMember&&(p.optional=s),this.finishCallExpression(p,i.optionalChainMember)}let h=this.state.type;if(h===44||h===48||h!==6&&h!==89&&h!==116&&Nc(h)&&!this.hasPrecedingLineBreak())return;let c=this.startNodeAt(r);return c.expression=t,c.typeArguments=u,this.finishNode(c,"TSInstantiationExpression")});if(a&&this.unexpected(a,6),o)return o.type==="TSInstantiationExpression"&&((this.match(12)||this.match(14)&&this.lookaheadCharCode()!==40)&&this.raise(Re.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(12)&&!this.match(14)&&(o.expression=super.stopParseSubscript(t,i))),o}return super.parseSubscript(t,r,n,i)}parseNewCallee(t){super.parseNewCallee(t);let{callee:r}=t;r.type==="TSInstantiationExpression"&&!r.extra?.parenthesized&&(t.typeArguments=r.typeArguments,t.callee=r.expression)}parseExprOp(t,r,n){let i;if(hm(54)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(89)||(i=this.isContextual(116)))){let s=this.startNodeAt(r);s.expression=t,s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(71)?(i&&this.raise(te.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()));let a=this.finishNode(s,i?"TSSatisfiesExpression":"TSAsExpression");return this.reScan_lt_gt(),this.parseExprOp(a,r,n)}return super.parseExprOp(t,r,n)}checkReservedWord(t,r,n,i){this.state.isAmbientContext||super.checkReservedWord(t,r,n,i)}checkDuplicateExports(){}isPotentialImportPhase(t){if(super.isPotentialImportPhase(t))return!0;if(this.isContextual(126)){let r=this.lookaheadCharCode();return t?r===123||r===42:r!==61}return!t&&this.isContextual(83)}applyImportPhase(t,r,n,i){super.applyImportPhase(t,r,n,i),r?t.exportKind=n==="type"?"type":"value":t.importKind=n==="type"||n==="typeof"?n:"value"}parseImport(t){if(this.match(130))return t.importKind="value",this.scope.inTSNamespace&&this.raise(Re.ImportInTSNamespace,t),super.parseImport(t);let r;if(It(this.state.type)&&this.lookaheadCharCode()===61){t.importKind="value";let n=this.tsParseImportEqualsDeclaration(t);return this.scope.inTSNamespace&&n.moduleReference.type==="TSExternalModuleReference"&&this.raise(Re.ImportInTSNamespace,t),n}else if(this.isContextual(126)){let n=this.parseMaybeImportPhase(t,!1);if(this.lookaheadCharCode()===61)return this.scope.inTSNamespace&&this.raise(Re.ImportInTSNamespace,t),this.tsParseImportEqualsDeclaration(t,n);r=super.parseImportSpecifiersAndAfter(t,n)}else r=super.parseImport(t);return r.importKind==="type"&&r.specifiers.length>1&&r.specifiers[0].type==="ImportDefaultSpecifier"?this.raise(Re.TypeImportCannotSpecifyDefaultAndNamed,r):this.scope.inTSNamespace&&this.raise(Re.ImportInTSNamespace,r),r}parseExport(t,r){if(this.match(79)){let n=this.startNode();this.next();let i=null;this.isContextual(126)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(n,!1):n.importKind="value";let s=this.tsParseImportEqualsDeclaration(n,i);return t.attributes=[],t.declaration=s,t.exportKind="value",t.source=null,t.specifiers=[],this.finishNode(t,"ExportNamedDeclaration")}else if(this.eat(25)){let n=t;return n.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.scope.inTSNamespace&&this.raise(Re.ExportAssignmentInTSNamespace,n),this.finishNode(n,"TSExportAssignment")}else if(this.eatContextual(89)){let n=t;return this.expectContextual(124),n.id=this.parseIdentifier(),this.checkIdentifier(n.id,8201),this.semicolon(),this.scope.inTSNamespace&&this.raise(Re.NamespaceExportInTSNamespace,n),this.finishNode(n,"TSNamespaceExportDeclaration")}else{let n=super.parseExport(t,r);return this.scope.inTSNamespace&&(n.type!=="ExportNamedDeclaration"||n.source||!n.declaration&&!this.state.isAmbientContext)&&this.raise(Re.ExportInTSNamespace,n),n}}isAbstractClass(){return this.isContextual(120)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(125)){let t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,r,n=!1){let{isAmbientContext:i}=this.state,s=super.parseVarStatement(t,r,n||i);if(!i)return s;if(!t.declare&&(r==="using"||r==="await using"))return this.raiseOverwrite(Re.UsingDeclarationInAmbientContext,t,r),s;for(let{id:a,init:o}of s.declarations)o&&(r==="var"||r==="let"||a.typeAnnotation?this.raise(Re.InitializerNotAllowedInAmbientContext,o):dj(o,this.hasPlugin("estree"))||this.raise(Re.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,o));return s}parseStatementContent(t,r){let n=!!(t&2);if(!this.state.containsEsc)switch(this.state.type){case 71:{if(this.isLookaheadContextual("enum")){let i=this.startNode();return this.next(),this.tsParseEnumDeclaration(i,{const:!0})}break}case 120:case 121:{if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let i=this.state.type,s=this.startNode();this.next();let a=i===121?this.tsTryParseDeclare(s):this.tsParseAbstractDeclaration(s,r);return a?(i===121&&(a.declare=!0),a):(s.expression=this.createIdentifier(this.startNodeAtNode(s),i===121?"declare":"abstract"),this.semicolon(!1),this.finishNode(s,"ExpressionStatement"))}break}case 122:return this.tsParseEnumDeclaration(this.startNode());case 108:{if(this.lookaheadCharCode()===123){let i=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(i)}break}case 125:{let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return n||this.raise(Re.UnexpectedTypeDeclaration,i,"interface"),i;break}case 123:{if(this.nextTokenIsStringLiteralOnSameLine()){let i=this.startNode();return this.next(),this.tsParseDeclaration(i,123,!1,r)}else if(this.nextTokenIsIdentifierOnSameLine()){this.raise(Re.InlineModuleDeclarationMustUseString,this.state.startLoc);let i=this.startNode();return this.next(),this.tsParseDeclaration(i,124,!1,r)}break}case 124:{if(this.nextTokenIsIdentifierOnSameLine()){let i=this.startNode();return this.next(),this.tsParseDeclaration(i,124,!1,r)}break}case 126:{if(this.nextTokenIsIdentifierOnSameLine()){let i=this.startNode();return n||this.raise(Re.UnexpectedTypeDeclaration,i,"type"),this.next(),this.tsParseTypeAliasDeclaration(i)}break}}return super.parseStatementContent(t,r)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,r){return r.some(n=>Ib(n)?t.accessibility===n:!!t[n])}tsIsStartOfStaticBlocks(){return this.isContextual(102)&&this.lookaheadCharCode()===123}parseClassMember(t,r,n){let i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Re.InvalidModifierOnTypeParameterPositions},r);let s=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(r,i)&&this.raise(Re.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(t,r)):this.parseClassMemberWithIsStatic(t,r,n,!!r.static)};r.declare?this.tsInAmbientContext(s):s(),r.decorators&&r.decorators.length>0&&!this.hasPlugin("decorators-legacy")&&(r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"?this.raise(Re.DecoratorAbstractMethod,r,{kind:"abstract method"}):(r.type==="ClassProperty"&&r.abstract||r.type==="ClassProperty"&&r.declare||r.type==="TSAbstractPropertyDefinition"||r.type==="PropertyDefinition"&&r.declare)&&this.raise(Re.DecoratorAbstractMethod,r,{kind:r.declare?"declare field":"abstract field"}))}parseClassMemberWithIsStatic(t,r,n,i){let s=this.tsTryParseIndexSignature(r);if(s){t.body.push(s),r.abstract&&this.raise(Re.IndexSignatureHasAbstract,r),r.accessibility&&this.raise(Re.IndexSignatureHasAccessibility,r,{modifier:r.accessibility}),r.declare&&this.raise(Re.IndexSignatureHasDeclare,r),r.override&&this.raise(Re.IndexSignatureHasOverride,r);return}!this.state.inAbstractClass&&r.abstract&&this.raise(Re.NonAbstractClassHasAbstractMethod,r),r.override&&(n.hadSuperClass||this.raise(Re.OverrideNotInSubClass,r)),super.parseClassMemberWithIsStatic(t,r,n,i)}parsePostMemberNameModifiers(t){this.eat(13)&&(t.optional=!0),t.readonly&&this.match(6)&&this.raise(Re.ClassMethodHasReadonly,t),t.declare&&this.match(6)&&this.raise(Re.ClassMethodHasDeclare,t)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,r,n){if(!this.match(13))return t;if(n!=null){let a=this.lookaheadCharCode();if(a===44||a===61||a===58||a===41)return this.setOptionalParametersError(n),t}this.next();let i=this.startNodeAt(r);i.test=t;let s=this.state.inConditionalConsequent;return this.state.inConditionalConsequent=!0,i.consequent=this.parseMaybeAssignAllowIn(),this.state.inConditionalConsequent=s,this.expect(10),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}parseParenItem(t,r){let n=super.parseParenItem(t,r);if(this.eat(13)&&(n.optional=!0,this.resetEndLocation(t)),this.match(10)){let i=this.startNodeAt(r);return i.expression=t,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let r=this.state.startLoc,n=this.eatContextual(121);if(n&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Re.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let i=It(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return i?((i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n)&&(t.exportKind="type"),n&&i.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(i,r),i.declare=!0),i):null}parseClassId(t,r,n,i){if((!r||n)&&this.isContextual(109)){t.id=null;return}super.parseClassId(t,r,n,t.declare?1024:8331);let s=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);s&&(t.typeParameters=s)}parseClassPropertyAnnotation(t){t.optional||(this.eat(31)?t.definite=!0:this.eat(13)&&(t.optional=!0));let r=this.tsTryParseTypeAnnotation();r&&(t.typeAnnotation=r)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&!(t.readonly&&!t.typeAnnotation)&&this.match(25)&&this.raise(Re.DeclareClassFieldHasInitializer,this.state.startLoc),t.abstract&&this.match(25)){let{key:r}=t;this.raise(Re.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:r.type==="Identifier"&&!t.computed?r.name:`[${this.input.slice(this.offsetToSourcePos(r.start),this.offsetToSourcePos(r.end))}]`})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(Re.PrivateElementHasAbstract,t),t.accessibility&&this.raise(Re.PrivateElementHasAccessibility,t,{modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}parseClassAccessorProperty(t){return this.parseClassPropertyAnnotation(t),t.optional&&this.raise(Re.AccessorCannotBeOptional,t),super.parseClassAccessorProperty(t)}pushClassMethod(t,r,n,i,s,a){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&s&&this.raise(Re.ConstructorHasTypeParameters,o);let{declare:u=!1,kind:h}=r;u&&(h==="get"||h==="set")&&this.raise(Re.DeclareAccessor,r,{kind:h}),o&&(r.typeParameters=o),super.pushClassMethod(t,r,n,i,s,a)}pushClassPrivateMethod(t,r,n,i){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(r.typeParameters=s),super.pushClassPrivateMethod(t,r,n,i)}declareClassPrivateMethodInScope(t,r){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&t.value.body==null||super.declareClassPrivateMethodInScope(t,r))}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass)if(t.superClass.type==="TSInstantiationExpression"){let r=t.superClass,n=r.expression;this.takeSurroundingComments(n,n.start,n.end);let i=r.typeArguments;this.takeSurroundingComments(i,i.start,i.end),t.superClass=n,t.superTypeArguments=i}else(this.match(43)||this.match(47))&&(t.superTypeArguments=this.tsParseTypeArgumentsInExpression());this.eatContextual(109)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t,r,n,i,s,a,o){let u=this.tsTryParseTypeParameters(this.tsParseConstModifier);return u&&(t.typeParameters=u),super.parseObjPropValue(t,r,n,i,s,a,o)}parseFunctionParams(t,r){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(t.typeParameters=n),super.parseFunctionParams(t,r)}parseVarId(t,r){super.parseVarId(t,r),t.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(31)&&(t.definite=!0);let n=this.tsTryParseTypeAnnotation();n&&(t.id.typeAnnotation=n,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,r){return this.match(10)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,r)}parseMaybeAssign(t,r){let n,i,s;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(43))){if(n=this.state.clone(),i=this.tryParse(()=>super.parseMaybeAssign(t,r),n),!i.error)return i.node;let{context:u}=this.state,h=u[u.length-1];(h===Vt.j_oTag||h===Vt.j_expr)&&u.pop()}if(!i?.error&&!this.match(43))return super.parseMaybeAssign(t,r);(!n||n===this.state)&&(n=this.state.clone());let a,o=this.tryParse(u=>{a=this.tsParseTypeParameters(this.tsParseConstModifier);let h=super.parseMaybeAssign(t,r);if((h.type!=="ArrowFunctionExpression"||h.extra?.parenthesized)&&u(),a?.params.length!==0&&this.resetStartLocationFromNode(h,a),h.typeParameters=a,this.hasPlugin("jsx")&&h.typeParameters.params.length===1&&!h.typeParameters.extra?.trailingComma){let c=h.typeParameters.params[0];c.constraint||this.raise(Re.SingleTypeParameterWithoutTrailingComma,this.optionFlags&256?jn(c.loc.end,1):c,{typeParameterName:c.name.name})}return h},n);if(!o.error&&!o.aborted)return a&&this.reportReservedArrowTypeParam(a),o.node;if(!i&&(Pb(!this.hasPlugin("jsx")),s=this.tryParse(()=>super.parseMaybeAssign(t,r),n),!s.error))return s.node;if(i?.node)return this.state=i.failState,i.node;if(o.node)return this.state=o.failState,a&&this.reportReservedArrowTypeParam(a),o.node;if(s?.node)return this.state=s.failState,s.node;throw i?.error||o.error||s?.error}reportReservedArrowTypeParam(t){t.params.length===1&&!t.params[0].constraint&&!t.extra?.trailingComma&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Re.ReservedArrowTypeParam,t)}parseMaybeUnary(t,r){return!this.hasPlugin("jsx")&&this.match(43)?this.tsParseTypeAssertion():super.parseMaybeUnary(t,r)}parseArrow(t){if(this.match(10)){let r=this.tryParse(n=>{let i=this.tsParseTypeOrTypePredicateAnnotation(10);return(this.canInsertSemicolon()||!this.match(15))&&n(),i});if(r.aborted)return;r.thrown||(r.error&&(this.state=r.failState),t.returnType=r.node)}return super.parseArrow(t)}parseFunctionParamType(t){this.eat(13)&&(t.optional=!0);let r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r),this.resetEndLocation(t),t}isAssignable(t,r){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,r);case"TSParameterProperty":return!0;default:return super.isAssignable(t,r)}}toAssignable(t,r=!1){switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,r);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":r?this.expressionScope.recordArrowParameterBindingError(Re.UnexpectedTypeCastInParameter,t):this.raise(Re.UnexpectedTypeCastInParameter,t),this.toAssignable(t.expression,r);break;case"AssignmentExpression":!r&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,r)}}toAssignableParenthesizedExpression(t,r){switch(t.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,r);break;default:super.toAssignable(t,r)}}checkToRestConversion(t,r){switch(t.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,r)}}isValidLVal(t,r,n,i){switch(t){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(i!==64||!n)&&["expression",!0];default:return super.isValidLVal(t,r,n,i)}}parseBindingAtom(){return this.state.type===74?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(t,r){if(this.match(43)||this.match(47)){let n=this.tsParseTypeArgumentsInExpression();if(this.match(6)){let i=super.parseMaybeDecoratorArguments(t,r);return i.typeArguments=n,i}this.unexpected(null,6)}return super.parseMaybeDecoratorArguments(t,r)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(8)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(31)||this.match(10)||super.isClassProperty()}parseMaybeDefault(t,r){let n=super.parseMaybeDefault(t,r);return n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(Re.TypeAnnotationAfterAssign,n.typeAnnotation),n}getTokenFromCode(t){if(this.state.inType){if(t===62){this.finishOp(44,1);return}if(t===60){this.finishOp(43,1);return}}super.getTokenFromCode(t)}reScan_lt_gt(){let{type:t}=this.state;t===43?(this.state.pos-=1,this.readToken_lt()):t===44&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===47?(this.state.pos-=2,this.finishOp(43,1),43):t}toAssignableListItem(t,r,n){let i=t[r];i.type==="TSTypeCastExpression"&&(t[r]=this.typeCastToParameter(i)),super.toAssignableListItem(t,r,n)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocationFromNode(t.expression,t.typeAnnotation),t.expression}shouldParseArrow(t){return this.match(10)?t.every(r=>this.isAssignable(r,!0)):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(10)?!this.state.inConditionalConsequent:super.shouldParseAsyncArrow()}parseParenAndDistinguishExpression(t){let r=this.state.inConditionalConsequent;this.state.inConditionalConsequent=!1;let n=super.parseParenAndDistinguishExpression(t);return this.state.inConditionalConsequent=r,n}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(43)||this.match(47)){let r=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());r&&(t.typeArguments=r)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let r=super.getGetterSetterExpectedParamCount(t),n=this.getObjectOrClassMethodParams(t)[0];return n&&this.isThisParam(n)?r+1:r}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r,this.resetEndLocation(t)),t}tsInAmbientContext(t){let{isAmbientContext:r,strict:n}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return t()}finally{this.state.isAmbientContext=r,this.state.strict=n}}parseClass(t,r,n){let i=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{return super.parseClass(t,r,n)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(t,r){if(this.match(76))return t.abstract=!0,this.maybeTakeDecorators(r,this.parseClass(t,!0,!1));if(this.isContextual(125))return this.hasFollowingLineBreak()?null:(t.abstract=!0,this.raise(Re.NonClassMethodPropertyHasAbstractModifier,t),this.tsParseInterfaceDeclaration(t));throw this.unexpected(null,76)}parseMethod(t,r,n,i,s,a,o){let u=super.parseMethod(t,r,n,i,s,a,o);if((u.abstract||u.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?u.value:u).body){let{key:h}=u;this.raise(Re.AbstractMethodHasImplementation,u,{methodName:h.type==="Identifier"&&!u.computed?h.name:`[${this.input.slice(this.offsetToSourcePos(h.start),this.offsetToSourcePos(h.end))}]`})}return u}tsParseTypeParameterName(){return this.parseIdentifier()}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(t,r,n,i){return!r&&i?(this.parseTypeOnlyImportExportSpecifier(t,!1,n),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,r,n,i))}parseImportSpecifier(t,r,n,i,s){return!r&&i?(this.parseTypeOnlyImportExportSpecifier(t,!0,n),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,r,n,i,n?4098:4096))}parseTypeOnlyImportExportSpecifier(t,r,n){let i=r?"imported":"local",s=r?"local":"exported",a=t[i],o,u=!1,h=!0,c=a.start;if(this.isContextual(89)){let d=this.parseIdentifier();if(this.isContextual(89)){let f=this.parseIdentifier();ri(this.state.type)?(u=!0,a=d,o=r?this.parseIdentifier():this.parseModuleExportName(),h=!1):(o=f,h=!1)}else ri(this.state.type)?(h=!1,o=r?this.parseIdentifier():this.parseModuleExportName()):(u=!0,a=d)}else ri(this.state.type)&&(u=!0,r?(a=this.parseIdentifier(!0),this.isContextual(89)||this.checkReservedWord(a.name,a.start,!0,!0)):a=this.parseModuleExportName());u&&n&&this.raise(r?Re.TypeModifierIsUsedInTypeImports:Re.TypeModifierIsUsedInTypeExports,c),t[i]=a,t[s]=o;let p=r?"importKind":"exportKind";t[p]=u?"type":"value",h&&this.eatContextual(89)&&(t[s]=r?this.parseIdentifier():this.parseModuleExportName()),t[s]||(t[s]=this.cloneIdentifier(t[i])),r&&this.checkIdentifier(t[s],u?4098:4096)}fillOptionalPropertiesForTSESLint(t){switch(t.type){case"ExpressionStatement":t.directive??(t.directive=void 0);return;case"RestElement":t.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":t.decorators??(t.decorators=[]),t.optional??(t.optional=!1),t.typeAnnotation??(t.typeAnnotation=void 0);return;case"TSParameterProperty":t.accessibility??(t.accessibility=void 0),t.decorators??(t.decorators=[]),t.override??(t.override=!1),t.readonly??(t.readonly=!1),t.static??(t.static=!1);return;case"TSEmptyBodyFunctionExpression":t.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":t.declare??(t.declare=!1),t.returnType??(t.returnType=void 0),t.typeParameters??(t.typeParameters=void 0);return;case"Property":t.optional??(t.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":t.optional??(t.optional=!1);case"TSIndexSignature":t.accessibility??(t.accessibility=void 0),t.readonly??(t.readonly=!1),t.static??(t.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":t.declare??(t.declare=!1),t.definite??(t.definite=!1),t.readonly??(t.readonly=!1),t.typeAnnotation??(t.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":t.accessibility??(t.accessibility=void 0),t.decorators??(t.decorators=[]),t.override??(t.override=!1),t.optional??(t.optional=!1);return;case"ClassExpression":t.id??(t.id=null);case"ClassDeclaration":t.abstract??(t.abstract=!1),t.declare??(t.declare=!1),t.decorators??(t.decorators=[]),t.implements??(t.implements=[]),t.superTypeArguments??(t.superTypeArguments=void 0),t.typeParameters??(t.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":t.declare??(t.declare=!1);return;case"VariableDeclarator":t.definite??(t.definite=!1);return;case"TSEnumDeclaration":t.const??(t.const=!1),t.declare??(t.declare=!1);return;case"TSEnumMember":t.computed??(t.computed=!1);return;case"TSImportType":t.qualifier??(t.qualifier=null),t.options??(t.options=null),t.typeArguments??(t.typeArguments=null);return;case"TSInterfaceDeclaration":t.declare??(t.declare=!1),t.extends??(t.extends=[]);return;case"TSMappedType":t.optional??(t.optional=!1),t.readonly??(t.readonly=void 0);return;case"TSModuleDeclaration":t.declare??(t.declare=!1),t.global??(t.global=t.kind==="global");return;case"TSTypeParameter":t.const??(t.const=!1),t.in??(t.in=!1),t.out??(t.out=!1);return}}chStartsBindingIdentifierAndNotRelationalOperator(t,r){if(Ti(t)){if(L1.lastIndex=r,L1.test(this.input)){let n=this.codePointAtPos(L1.lastIndex);if(!Ua(n)&&n!==92)return!1}return!0}else return t===92}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);return this.chStartsBindingIdentifierAndNotRelationalOperator(r,t)}nextTokenIsStringLiteralOnSameLine(){let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);return r===34||r===39}};function hj(e){if(e.type!=="MemberExpression")return!1;let{computed:t,property:r}=e;return t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:mk(e.object)}function dj(e,t){let{type:r}=e;if(e.extra?.parenthesized)return!1;if(t){if(r==="Literal"){let{value:n}=e;if(typeof n=="string"||typeof n=="boolean")return!0}}else if(r==="StringLiteral"||r==="BooleanLiteral")return!0;return!!(fk(e,t)||fj(e,t)||r==="TemplateLiteral"&&e.expressions.length===0||hj(e))}function fk(e,t){return t?e.type==="Literal"&&(typeof e.value=="number"||"bigint"in e):e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function fj(e,t){if(e.type==="UnaryExpression"){let{operator:r,argument:n}=e;if(r==="-"&&fk(n,t))return!0}return!1}function mk(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:mk(e.object)}var mj={ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."},Nb=ti`placeholders`(mj),Dj=e=>class extends e{parsePlaceholder(t){if(this.match(129)){let r=this.startNode();return this.next(),this.assertNoSpace(),r.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(129),this.finishPlaceholder(r,t)}}finishPlaceholder(t,r){let n=t;return(!n.expectedNode||!n.type)&&(n=this.finishNode(n,"Placeholder")),n.expectedNode=r,n}getTokenFromCode(t){t===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(129,2):super.getTokenFromCode(t)}parseExprAtom(t){return this.parsePlaceholder("Expression")||super.parseExprAtom(t)}parseIdentifier(t){return this.parsePlaceholder("Identifier")||super.parseIdentifier(t)}checkReservedWord(t,r,n,i){t!==void 0&&super.checkReservedWord(t,r,n,i)}cloneIdentifier(t){let r=super.cloneIdentifier(t);return r.type==="Placeholder"&&(r.expectedNode=t.expectedNode),r}cloneStringLiteral(t){return t.type==="Placeholder"?this.cloneIdentifier(t):super.cloneStringLiteral(t)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(t,r,n,i){return t==="Placeholder"||super.isValidLVal(t,r,n,i)}toAssignable(t,r){t&&t.type==="Placeholder"&&t.expectedNode==="Expression"?t.expectedNode="Pattern":super.toAssignable(t,r)}chStartsBindingIdentifier(t,r){if(super.chStartsBindingIdentifier(t,r))return!0;let n=this.nextTokenStart();return this.input.charCodeAt(n)===37&&this.input.charCodeAt(n+1)===37}verifyBreakContinue(t,r){t.label?.type!=="Placeholder"&&super.verifyBreakContinue(t,r)}parseExpressionStatement(t,r){if(r.type!=="Placeholder"||r.extra?.parenthesized)return super.parseExpressionStatement(t,r);if(this.match(10)){let i=t;return i.label=this.finishPlaceholder(r,"Identifier"),this.next(),i.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(i,"LabeledStatement")}this.semicolon();let n=t;return n.name=r.name,this.finishPlaceholder(n,"Statement")}parseBlock(t,r,n){return this.parsePlaceholder("BlockStatement")||super.parseBlock(t,r,n)}parseFunctionId(t){return this.parsePlaceholder("Identifier")||super.parseFunctionId(t)}parseClass(t,r,n){let i=r?"ClassDeclaration":"ClassExpression";this.next();let s=this.state.strict,a=this.parsePlaceholder("Identifier");if(a)if(this.match(77)||this.match(129)||this.match(2))t.id=a;else{if(n||!r)return t.id=null,t.body=this.finishPlaceholder(a,"ClassBody"),this.finishNode(t,i);throw this.raise(Nb.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(t,r,n);return super.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!t.superClass,s),this.finishNode(t,i)}parseExport(t,r){let n=this.parsePlaceholder("Identifier");if(!n)return super.parseExport(t,r);let i=t;if(!this.isContextual(94)&&!this.match(8))return i.specifiers=[],i.source=null,i.declaration=this.finishPlaceholder(n,"Declaration"),this.finishNode(i,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let s=this.startNode();return s.exported=n,i.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(i,r)}isExportDefaultSpecifier(){if(this.match(61)){let t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(qs(129),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t,r){return t.specifiers?.length?!0:super.maybeParseExportDefaultSpecifier(t,r)}checkExport(t){let{specifiers:r}=t;r?.length&&(t.specifiers=r.filter(n=>n.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=r}parseImport(t){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseImport(t);if(t.specifiers=[],!this.isContextual(94)&&!this.match(8))return t.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let n=this.startNodeAtNode(r);return n.local=r,t.specifiers.push(this.finishNode(n,"ImportDefaultSpecifier")),this.eat(8)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(94),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Nb.UnexpectedSpace,this.state.lastTokEndLoc)}},yj=e=>class extends e{parseV8Intrinsic(){if(this.match(50)){let t=this.state.startLoc,r=this.startNode();if(this.next(),It(this.state.type)){let n=this.parseIdentifierName(),i=this.createIdentifier(r,n);if(this.castNodeTo(i,"V8IntrinsicIdentifier"),this.match(6))return i}this.unexpected(t)}}parseExprAtom(t){return this.parseV8Intrinsic()||super.parseExprAtom(t)}},Lb=["fsharp","hack"],Ob=["^^","@@","^","%","#"];function gj(e){if(e.has("decorators")&&e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){let t=e.get("pipelineOperator").proposal;if(!Lb.includes(t)){let r=Lb.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${r}.`)}if(t==="hack"){if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let r=e.get("pipelineOperator").topicToken;if(!Ob.includes(r)){let n=Ob.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}}}if(e.has("moduleAttributes"))throw new Error("`moduleAttributes` has been removed in Babel 8, please migrate to import attributes instead.");if(e.has("importAssertions"))throw new Error("`importAssertions` has been removed in Babel 8, please use import attributes instead.");if(e.has("deprecatedImportAssert")?console.warn("`deprecatedImportAssert` has been removed in Babel 8, please use import attributes instead."):e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&console.warn("The 'importAttributes' plugin has been removed in Babel 8. Please migrate any usage of `assert`-style attributes to `with`."),e.has("recordAndTuple"))throw new Error("The 'recordAndTuple' plugin has been removed in Babel 8. Please remove it from your configuration.");if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}if(e.has("optionalChainingAssign")&&e.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(e.has("discardBinding")&&e.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.");if(e.has("decimal"))throw new Error("The 'decimal' plugin has been removed in Babel 8. Please remove it from your configuration.");if(e.has("importReflection"))throw new Error("The 'importReflection' plugin has been removed in Babel 8. Use 'sourcePhaseImports' instead, and replace 'import module' with 'import source' in your code.")}var Dk={estree:ZM,jsx:NR,flow:_R,typescript:pj,v8intrinsic:yj,placeholders:Dj},xj=Object.keys(Dk),yk=class extends aj{constructor(e,t,r){let n=QM(e);super(n,t),this.options=n,this.initializeScopes(),this.plugins=r,this.filename=n.sourceFilename,this.startIndex=n.startIndex;let i=0;n.allowAwaitOutsideFunction&&(i|=1),n.allowReturnOutsideFunction&&(i|=2),n.allowImportExportEverywhere&&(i|=8),n.allowSuperOutsideMethod&&(i|=16),n.allowUndeclaredExports&&(i|=64),n.allowNewTargetOutsideFunction&&(i|=4),n.allowYieldOutsideFunction&&(i|=32),n.ranges&&(i|=128),n.locations===!0&&(i|=256),n.tokens&&(i|=512),n.createImportExpressions&&(i|=1024),n.createParenthesizedExpressions&&(i|=2048),n.errorRecovery&&(i|=4096),n.attachComment&&(i|=8192),n.annexB&&(i|=16384),this.optionFlags=i}getScopeHandler(){return ty}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=[];let r=this.parseTopLevel(e,t);return r.errors=this.state.errors,r.comments.length=this.state.commentsLen,r}};function gk(e,t){if(t?.sourceType==="unambiguous"){t={...t};try{t.sourceType="module";let r=Oc(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Oc(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",Oc(t,e).parse()}catch{}throw r}}else return Oc(t,e).parse()}function xk(e,t){let r=Oc(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Ej(e){let t={};for(let r of Object.keys(e))t[r]=ek(e[r]);return t}var yse=Ej(tR);function Oc(e,t){let r=yk,n=new Map;if(e?.plugins){for(let i of e.plugins){let s,a;typeof i=="string"?s=i:[s,a]=i,n.has(s)||n.set(s,a||{})}gj(n),r=Cj(n)}return new r(e,t,n)}var Mb=new Map;function Cj(e){let t=[];for(let i of xj)e.has(i)&&t.push(i);let r=t.join("|"),n=Mb.get(r);if(!n){n=yk;for(let i of t)n=Dk[i](n);Mb.set(r,n)}return n}function gm(e){return(t,r,n)=>{if(r===!1)return!1;let i=!!n?.backwards,{length:s}=t,a=r;for(;a>=0&&a<s;){let o=t.charAt(a);if(e instanceof RegExp){if(!e.test(o))return a}else if(!e.includes(o))return a;i?a--:a++}return a===-1||a===s?a:!1}}var gse=gm(/\s/),Fj=gm(" "),xse=gm(",; "),Aj=gm(/[^\n\r]/);function bj(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var kj=bj,Rb=e=>e===`
- `||e==="\r"||e==="\u2028"||e==="\u2029";function Tj(e,t,r){if(t===!1)return!1;let n=!!r?.backwards,i=e.charAt(t);if(n){if(e.charAt(t-1)==="\r"&&i===`
- `)return t-2;if(Rb(i))return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
- `)return t+2;if(Rb(i))return t+1}return t}var vj=Tj;function Sj(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?Aj(e,t):t}var wj=Sj;function _j(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Fj(e,n),n=kj(e,n),n=wj(e,n),n=vj(e,n);return n}var Bj=_j;function Pj(e){let t=[];for(let r of e)try{return r()}catch(n){t.push(n)}throw Object.assign(new Error("All combinations failed"),{errors:t})}function Ij(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
- `);return t===-1?e:e.slice(0,t)}var Ek=Ij,Nj=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let r=this[t];if(e(r,t,this))return r}},Lj=$1("findLast",function(){if(Array.isArray(this))return Nj}),Oj=Lj,Ck=Symbol.for("comments");function Mj(e){return this[e<0?this.length+e:e]}var Rj=$1("at",function(){if(Array.isArray(this)||typeof this=="string")return Mj}),jj=Rj;function xm(e){let t=new Set(e);return r=>t.has(r?.type)}function ry(e){return e.range?.[1]??e.end}function qn(e){let t=e.range?.[0]??e.start,r=(e.declaration?.decorators??e.decorators)?.[0];return r?Math.min(qn(r),t):t}var qj=5,Uj=8,Vj=8,jb=e=>t=>t.label?Cn(t.label):qn(t)+e,$j=e=>e.__contentEnd??ry(e),Fk=["ExpressionStatement","Directive","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","ReturnStatement","ThrowStatement","DoWhileStatement"],zj=new Map([["BreakStatement",jb(qj)],["ContinueStatement",jb(Uj)],["DebuggerStatement",e=>qn(e)+Vj],["VariableDeclaration",e=>Cn(jj(0,e.declarations,-1))],...Fk.map(e=>[e,$j])]),Hj=xm(Fk);function Cn(e){let{type:t}=e;return t==="IfStatement"?Cn(e.alternate??e.consequent):t==="ForInStatement"||t==="ForOfStatement"||t==="ForStatement"||t==="LabeledStatement"||t==="WithStatement"||t==="WhileStatement"?Cn(e.body):zj.get(t)?.(e)??ry(e)}var ny=xm(["Block","CommentBlock","MultiLine"]),Wj=xm(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]);function iy(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}var Gj=new WeakMap;function Jj(e){return iy(Gj,e,t=>ny(t)&&t.value[0]==="*"&&/@(?:type|satisfies)\b/.test(t.value))}function Kj(e){return nu(0,e,/[^\n]/g," ")}var Xj=Kj;function Yj(e,t){for(let r of t){let n=qn(r),i=Cn(r);e=e.slice(0,n)+Xj(e.slice(n,i))+e.slice(i)}return e}var Qj=new WeakMap;function Zj(e){let t=e[Ck];return iy(Qj,t,r=>Yj(e.originalText,r))}function eq(e){if(!ny(e))return[];if(!e.value.includes(`
- `))return[];let t=[];for(let r of`*${e.value}*`.split(`
- `)){if(r=r.trimStart(),!r.startsWith("*"))return[];t.push(r)}return t}var Ak=new WeakMap;function tq(e){return iy(Ak,e,eq)}function rq(e){Ak.delete(e)}function qb(e){return tq(e).length>0}function nq(e){if(e.length<2)return;let t;for(let r=e.length-1;r>=0;r--){let n=e[r];if(t&&Cn(n)===qn(t)&&qb(n)&&qb(t)&&(e.splice(r+1,1),n.value+="*//*"+t.value,n.range=[qn(n),Cn(t)],rq(n)),!Wj(n)&&!ny(n))throw new TypeError(`Unknown comment type: "${n.type}".`);t=n}}function iq(e){return e!==null&&typeof e=="object"}var sq=iq,Ic=null;function Rc(e){if(Ic!==null&&typeof Ic.property){let t=Ic;return Ic=Rc.prototype=null,t}return Ic=Rc.prototype=e??Object.create(null),new Rc}var aq=10;for(let e=0;e<=aq;e++)Rc();function oq(e){return Rc(e)}function uq(e,t="type"){oq(e);function r(n){let i=n[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var lq=uq,ie=[["elements"],["left","right"],["value"],["directives","body"],["label"],["callee","typeArguments","arguments"],["test","consequent","alternate"],["body","test"],["expression"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["object","property"],["properties"],["decorators","key","typeParameters","params","returnType","body"],["decorators","key","value"],["argument"],["expressions"],["id","init"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body"],["declaration","specifiers","source","attributes"],["local"],["exported"],["decorators","variance","key","typeAnnotation","value"],["id"],["key","value"],["elementType"],["id","typeParameters"],["id","typeParameters","extends","body"],["id","body"],["typeAnnotation"],["id","typeParameters","right"],["name","typeAnnotation"],["types"],["qualification","id"],["elementTypes"],["expression","typeAnnotation"],["params"],["members"],["objectType","indexType"],["decorators","key","typeAnnotation","value"],["id","typeParameters","params","returnType","body"],["key","typeParameters","params","returnType"],["typeParameters","params","returnType"],["parameterName","typeAnnotation"],["checkType","extendsType","trueType","falseType"],["typeParameter"],["literal"],["expression","typeArguments"],["decorators","key","typeAnnotation"],["argument","cases"],["pattern","body","guard"],["properties","rest"],["node"]],cq={ArrayExpression:ie[0],AssignmentExpression:ie[1],BinaryExpression:ie[1],InterpreterDirective:[],Directive:ie[2],DirectiveLiteral:[],BlockStatement:ie[3],BreakStatement:ie[4],CallExpression:ie[5],CatchClause:["param","body"],ConditionalExpression:ie[6],ContinueStatement:ie[4],DebuggerStatement:[],DoWhileStatement:ie[7],EmptyStatement:[],ExpressionStatement:ie[8],File:["program"],ForInStatement:ie[9],ForStatement:["init","test","update","body"],FunctionDeclaration:ie[10],FunctionExpression:ie[10],Identifier:["typeAnnotation","decorators"],IfStatement:ie[6],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:ie[1],MemberExpression:ie[11],NewExpression:ie[5],Program:ie[3],ObjectExpression:ie[12],ObjectMethod:ie[13],ObjectProperty:ie[14],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:ie[15],SequenceExpression:ie[16],ParenthesizedExpression:ie[8],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:ie[15],TryStatement:["block","handler","finalizer"],UnaryExpression:ie[15],UpdateExpression:ie[15],VariableDeclaration:["declarations"],VariableDeclarator:ie[17],WhileStatement:ie[7],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],ClassBody:ie[18],ClassExpression:ie[19],ClassDeclaration:ie[19],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:ie[20],ExportSpecifier:["local","exported"],ForOfStatement:ie[9],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:ie[21],ImportNamespaceSpecifier:ie[21],ImportSpecifier:["imported","local"],MetaProperty:["meta","property"],ClassMethod:ie[13],ObjectPattern:["decorators","properties","typeAnnotation"],SpreadElement:ie[15],Super:[],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:ie[15],AwaitExpression:ie[15],ImportExpression:["source","options"],BigIntLiteral:[],ExportNamespaceSpecifier:ie[22],OptionalMemberExpression:ie[11],OptionalCallExpression:ie[5],ClassProperty:ie[23],ClassPrivateProperty:ie[23],ClassPrivateMethod:ie[13],PrivateName:ie[24],StaticBlock:ie[18],ImportAttribute:ie[25],AnyTypeAnnotation:[],ArrayTypeAnnotation:ie[26],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:ie[27],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:ie[28],DeclareModule:ie[29],DeclareModuleExports:ie[30],DeclareTypeAlias:ie[31],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareVariable:["id","declarations"],DeclareExportDeclaration:ie[20],DeclareExportAllDeclaration:["source","attributes"],DeclaredPredicate:ie[2],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:ie[32],GenericTypeAnnotation:ie[27],InferredPredicate:[],InterfaceExtends:ie[27],InterfaceDeclaration:ie[28],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:ie[33],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:ie[30],NumberLiteralTypeAnnotation:[],BigIntLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:ie[2],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:ie[15],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],QualifiedTypeIdentifier:ie[34],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:ie[35],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:ie[31],TypeAnnotation:ie[30],TypeCastExpression:ie[36],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:ie[37],TypeParameterInstantiation:ie[37],UnionTypeAnnotation:ie[33],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:ie[29],EnumBooleanBody:ie[38],EnumNumberBody:ie[38],EnumStringBody:ie[38],EnumSymbolBody:ie[38],EnumBooleanMember:ie[17],EnumNumberMember:ie[17],EnumStringMember:ie[17],EnumDefaultedMember:ie[24],IndexedAccessType:ie[39],OptionalIndexedAccessType:ie[39],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:ie[8],JSXSpreadChild:ie[8],JSXIdentifier:[],JSXMemberExpression:ie[11],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXSpreadAttribute:ie[15],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ClassAccessorProperty:ie[40],Decorator:ie[8],DoExpression:ie[18],ExportDefaultSpecifier:ie[22],ModuleExpression:ie[18],TopicReference:[],VoidPattern:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:ie[41],TSDeclareMethod:ie[42],TSQualifiedName:ie[1],TSCallSignatureDeclaration:ie[43],TSConstructSignatureDeclaration:ie[43],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:ie[42],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:ie[43],TSConstructorType:ie[43],TSTypeReference:["typeName","typeArguments"],TSTypePredicate:ie[44],TSTypeQuery:["exprName","typeArguments"],TSTypeLiteral:ie[38],TSArrayType:ie[26],TSTupleType:ie[35],TSOptionalType:ie[30],TSRestType:ie[30],TSNamedTupleMember:["label","elementType"],TSUnionType:ie[33],TSIntersectionType:ie[33],TSConditionalType:ie[45],TSInferType:ie[46],TSParenthesizedType:ie[30],TSTypeOperator:ie[30],TSIndexedAccessType:ie[39],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSTemplateLiteralType:["quasis","types"],TSLiteralType:ie[47],TSClassImplements:ie[48],TSInterfaceHeritage:ie[48],TSInterfaceDeclaration:ie[28],TSInterfaceBody:ie[18],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:ie[48],TSAsExpression:ie[36],TSSatisfiesExpression:ie[36],TSTypeAssertion:ie[36],TSEnumBody:ie[38],TSEnumDeclaration:ie[29],TSEnumMember:["id","initializer"],TSModuleDeclaration:ie[29],TSModuleBlock:ie[18],TSImportType:["source","options","qualifier","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:ie[8],TSNonNullExpression:ie[8],TSExportAssignment:ie[8],TSNamespaceExportDeclaration:ie[24],TSTypeAnnotation:ie[30],TSTypeParameterInstantiation:ie[37],TSTypeParameterDeclaration:ie[37],TSTypeParameter:["name","constraint","default"],ChainExpression:ie[8],Literal:[],MethodDefinition:ie[14],PrivateIdentifier:[],Property:ie[25],PropertyDefinition:ie[23],AccessorProperty:ie[40],TSAbstractAccessorProperty:ie[49],TSAbstractKeyword:[],TSAbstractMethodDefinition:ie[25],TSAbstractPropertyDefinition:ie[49],TSAsyncKeyword:[],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:ie[8],AsExpression:ie[36],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:ie[32],ConditionalTypeAnnotation:ie[45],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:ie[29],DeclareHook:ie[24],DeclareNamespace:ie[29],EnumBigIntBody:ie[38],EnumBigIntMember:ie[17],EnumBody:ie[38],HookDeclaration:ie[41],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:ie[46],KeyofTypeAnnotation:ie[15],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:ie[24],MatchExpression:ie[50],MatchExpressionCase:ie[51],MatchIdentifierPattern:ie[24],MatchInstanceObjectPattern:ie[52],MatchInstancePattern:["targetConstructor","properties"],MatchLiteralPattern:ie[47],MatchMemberPattern:["base","property"],MatchObjectPattern:ie[52],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:ie[15],MatchStatement:ie[50],MatchStatementCase:ie[51],MatchUnaryPattern:ie[15],MatchWildcardPattern:[],NeverTypeAnnotation:[],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:ie[34],RecordDeclaration:["id","typeParameters","implements","body"],RecordDeclarationBody:ie[0],RecordDeclarationImplements:["id","typeArguments"],RecordDeclarationProperty:["key","typeAnnotation","defaultValue"],RecordDeclarationStaticProperty:["key","typeAnnotation","value"],RecordExpression:["recordConstructor","typeArguments","properties"],RecordExpressionProperties:ie[12],SatisfiesExpression:ie[36],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:ie[30],TypePredicate:ie[44],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],NGChainedExpression:ie[16],NGEmptyExpression:[],NGPipeExpression:["left","right","arguments"],NGMicrosyntax:ie[18],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:[],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:ie[25],NGRoot:ie[53],JsExpressionRoot:ie[53],JsonRoot:ie[53],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:ie[30],TSJSDocNonNullableType:ie[30]},pq=lq(cq),hq=pq;function mm(e,t){if(!sq(e))return e;if(Array.isArray(e)){for(let n=0;n<e.length;n++)e[n]=mm(e[n],t);return e}if(t.onEnter){let n=t.onEnter(e)??e;if(n!==e)return mm(n,t);e=n}let r=hq(e);for(let n=0;n<r.length;n++)e[r[n]]=mm(e[r[n]],t);return t.onLeave&&(e=t.onLeave(e)||e),e}var dq=mm,Ese=xm(["RegExpLiteral","BigIntLiteral","NumericLiteral","StringLiteral","DirectiveLiteral","Literal","JSXText","TemplateElement","StringLiteralTypeAnnotation","NumberLiteralTypeAnnotation","BigIntLiteralTypeAnnotation"]);function fq(e,t){let{text:r,astType:n}=t,{comments:i}=e;nq(i);let s=e.type==="File"?e.program:e;s.interpreter&&(i.unshift(s.interpreter),delete s.interpreter),e.hashbang&&((n==="oxc-ts"||n==="yuku-js"||n==="yuku-ts")&&i.unshift(e.hashbang),delete e.hashbang),e.type==="Program"&&(e.range=[0,r.length]);let a;return e=dq(e,{onEnter(o){switch(mq(o,i,r),o.type){case"ParenthesizedExpression":{let{expression:u}=o,h=qn(o);if(u.type==="TypeCastExpression")return u.range=[h,Cn(o)],u;let c=!1;if(n!=="oxc-ts"){if(!a){a=[];for(let d of i)Jj(d)&&a.push(Cn(d))}let p=Oj(0,a,d=>d<=h);c=p&&r.slice(p,h).trim().length===0}return c?void 0:(u.extra={...u.extra,parenthesized:!0},u)}case"TemplateLiteral":if(o.expressions.length!==o.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(n==="flow"||n==="hermes"||n==="espree"||n==="typescript"||n==="oxc-ts"||n==="yuku-ts"){let u=qn(o)+1,h=Cn(o)-(o.tail?1:2);o.range=[u,h]}break;case"TSParenthesizedType":return o.typeAnnotation;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(o.types.length===1)return o.types[0];break;case"TupleTypeAnnotation":o.types&&!o.elementTypes&&(o.elementTypes=o.types);break;case"ImportDeclaration":n==="hermes"&&o.assertions&&!o.attributes&&(o.attributes=o.assertions,delete o.assertions);break}},onLeave(o){switch(o.type){case"LogicalExpression":if(bk(o))return U1(o);break}}}),e}function bk(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function U1(e){return bk(e)?U1({type:"LogicalExpression",operator:e.operator,left:U1({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[qn(e.left),Cn(e.right.left)]}),right:e.right.right,range:[qn(e),Cn(e)]}):e}function mq(e,t,r){if(!Hj(e))return;let n=ry(e);if(r[n-1]!==";")return;let i=Zj({[Ck]:t,originalText:r});n-=1;let s=i.slice(qn(e),n),a=s.trimEnd();e.__contentEnd=n-(s.length-a.length)}var Dq=fq;function yq(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var kk=yq,Ub="Unexpected parseExpression() input: ";function gq(e){let{message:t,loc:r,reasonCode:n}=e;if(!r)return e;let{line:i,column:s}=r,a=e;(n==="MissingPlugin"||n==="MissingOneOfPlugins")&&(t="Unexpected token.",a=void 0);let o=` (${i}:${s})`;return t.endsWith(o)&&(t=t.slice(0,-o.length)),t.startsWith(Ub)&&(t=t.slice(Ub.length)),kk(t,{loc:{start:{line:i,column:s+1}},cause:a})}var Tk=gq,xq=/\*\/$/,Eq=/^\/\*\*?/,Cq=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Fq=/(^|\s+)\/\/([^\n\r]*)/g,Vb=/^(\r?\n)+/,Aq=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,$b=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,bq=/(\r?\n|^) *\* ?/g,kq=[];function Tq(e){let t=e.match(Cq);return t?t[0].trimStart():""}function vq(e){e=nu(0,e.replace(Eq,"").replace(xq,""),bq,"$1");let t="";for(;t!==e;)t=e,e=nu(0,e,Aq,`
- $1 $2
- `);e=e.replace(Vb,"").trimEnd();let r=Object.create(null),n=nu(0,e,$b,"").replace(Vb,"").trimEnd(),i;for(;i=$b.exec(e);){let s=nu(0,i[2],Fq,"");if(typeof r[i[1]]=="string"||Array.isArray(r[i[1]])){let a=r[i[1]];r[i[1]]=[...kq,...Array.isArray(a)?a:[a],s]}else r[i[1]]=s}return{comments:n,pragmas:r}}var Sq=["noformat","noprettier"],wq=["format","prettier"];function vk(e){let t=Ek(e);t&&(e=e.slice(t.length+1));let r=Tq(e),{pragmas:n,comments:i}=vq(r);return{shebang:t,text:e,pragmas:n,comments:i}}function _q(e){let{pragmas:t}=vk(e);return wq.some(r=>z1(t,r))}function Bq(e){let{pragmas:t}=vk(e);return Sq.some(r=>z1(t,r))}function Pq(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:_q,hasIgnorePragma:Bq,locStart:qn,locEnd:Cn,...e}}var qc=Pq,sy="module",Sk="commonjs";function Iq(e){if(typeof e=="string"){if(e=e.toLowerCase(),/\.(?:mjs|mts)$/i.test(e))return sy;if(/\.(?:cjs|cts)$/i.test(e))return Sk}}function Nq(e){let{type:t="JsExpressionRoot",expression:r,comments:n=r?.comments??[],text:i,rootMarker:s}=e,a={type:t,comments:n,range:[0,i.length],rootMarker:s};return r&&(delete r.comments,a.node=r),a}var wk=Nq,au=e=>qc(jq(e)),Lq={sourceType:sy,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,attachComment:!1,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions",["partialApplication",{version:"2018-07"}],"decorators","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],["discardBinding",{syntaxType:"void"}]],tokens:!1,ranges:!1},zb="v8intrinsic",Hb=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"fsharp"}]],ss=(e,t=Lq)=>({...t,plugins:[...t.plugins,...e]}),Oq=/@(?:no)?flow\b/;function Mq(e,t){if(t?.endsWith(".js.flow"))return!0;let r=Ek(e);r&&(e=e.slice(r.length));let n=Bj(e,0);return n!==!1&&(e=e.slice(0,n)),Oq.test(e)}function Rq(e,t,r){let n=e(t,r),i=n.errors.find(s=>!Uq.has(s.reasonCode));if(i)throw i;return n}function jq({isExpression:e=!1,optionsCombinations:t}){return(r,n={})=>{let{filepath:i}=n;if(typeof i!="string"&&(i=void 0),(n.parser==="babel"||n.parser==="__babel_estree")&&Mq(r,i))return n.parser="babel-flow",Bk.parse(r,n);let s=t,a=n.__babelSourceType??Iq(i);a&&a!==sy&&(s=s.map(c=>({...c,sourceType:a,...a===Sk?{allowReturnOutsideFunction:void 0,allowNewTargetOutsideFunction:void 0}:void 0})));let o=/%[A-Z]/.test(r);r.includes("|>")?s=(o?[...Hb,zb]:Hb).flatMap(c=>s.map(p=>ss([c],p))):o&&(s=s.map(c=>ss([zb],c)));let u=e?xk:gk,h;try{h=Pj(s.map(c=>()=>Rq(u,r,c)))}catch({errors:[c]}){throw Tk(c)}return e&&(h=wk({expression:h,text:r,rootMarker:n.rootMarker})),Dq(h,{text:r})}}var qq=["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","ParamDupe","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","PatternIsOptional","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport","DeclarationMissingInitializer","DecoratorAbstractMethod"],Uq=new Set(qq),_k=[ss(["jsx"])],Wb=au({optionsCombinations:_k}),Gb=au({optionsCombinations:[ss(["jsx","typescript"]),ss(["typescript"])]}),Jb=au({isExpression:!0,optionsCombinations:[ss(["jsx"])]}),Kb=au({isExpression:!0,optionsCombinations:[ss(["typescript"])]}),Bk=au({optionsCombinations:[ss(["jsx",["flow",{all:!0}],"flowComments"])]}),Vq=au({optionsCombinations:_k.map(e=>ss(["estree"],e))}),Pk={};V1(Pk,{json:()=>Hq,"json-stringify":()=>Jq,json5:()=>Wq,jsonc:()=>Gq});function $q(e){return Array.isArray(e)&&e.length>0}var Ik=$q,Nk={tokens:!1,ranges:!1,attachComment:!1,createParenthesizedExpressions:!0};function zq(e){let t=gk(e,Nk),{program:r}=t;if(r.body.length===0&&r.directives.length===0&&!r.interpreter)return{comments:t.comments}}function Em(e,t={}){let{allowComments:r=!0,allowEmpty:n=!1}=t,i,s;try{i=xk(e,Nk),s=i.comments}catch(a){if(n&&a.code==="BABEL_PARSER_SYNTAX_ERROR"&&a.reasonCode==="ParseExpressionEmptyInput")try{({comments:s}=zq(e))}catch{}if(!s)throw Tk(a)}if(!r&&Ik(s))throw js(s[0],"Comment");return(!n||i)&&ru(i),i=wk({type:"JsonRoot",expression:i,comments:s,text:e}),i}function js(e,t){let[r,n]=[e.loc.start,e.loc.end].map(({line:i,column:s})=>({line:i,column:s+1}));return kk(`${t} is not allowed in JSON.`,{loc:{start:r,end:n}})}function ru(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)t!==null&&ru(t);return;case"ObjectExpression":for(let t of e.properties)ru(t);return;case"ObjectProperty":if(e.computed)throw js(e.key,"Computed key");if(e.shorthand)throw js(e.key,"Shorthand property");e.key.type!=="Identifier"&&ru(e.key),ru(e.value);return;case"UnaryExpression":{let{operator:t,argument:r}=e;if(t!=="+"&&t!=="-")throw js(e,`Operator '${e.operator}'`);if(r.type==="NumericLiteral"||r.type==="Identifier"&&(r.name==="Infinity"||r.name==="NaN"))return;throw js(r,`Operator '${t}' before '${r.type}'`)}case"Identifier":if(e.name!=="Infinity"&&e.name!=="NaN"&&e.name!=="undefined")throw js(e,`Identifier '${e.name}'`);return;case"TemplateLiteral":if(Ik(e.expressions))throw js(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)ru(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw js(e,`'${e.type}'`)}}var Hq=qc({parse:e=>Em(e),hasPragma:()=>!0,hasIgnorePragma:()=>!1}),Wq=qc(e=>Em(e)),Gq=qc(e=>Em(e,{allowEmpty:!0})),Jq=qc({parse:e=>Em(e,{allowComments:!1}),astFormat:"estree-json"}),Lk={...Yb,...Pk};var xg={};wo(xg,{default:()=>CT,languages:()=>rS,options:()=>eS,printers:()=>tS});Jt();var Kq=Object.defineProperty,_y=(e,t)=>{for(var r in t)Kq(e,r,{get:t[r],enumerable:!0})},CT={};_y(CT,{languages:()=>rS,options:()=>eS,printers:()=>tS});var Xq=[{name:"JavaScript",type:"programming",aceMode:"javascript",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],filenames:["Jakefile","start.frag","end.frag"],tmScope:"source.js",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["bun","chakra","d8","deno","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",aceMode:"javascript",extensions:[".js.flow"],filenames:[],tmScope:"source.js",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["bun","chakra","d8","deno","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",aceMode:"javascript",extensions:[".jsx"],filenames:void 0,tmScope:"source.js.jsx",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",aceMode:"typescript",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",aceMode:"tsx",extensions:[".tsx"],tmScope:"source.tsx",aliases:["typescriptreact"],codemirrorMode:"jsx",codemirrorMimeType:"text/typescript-jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],FT={};_y(FT,{estree:()=>Y3});function Yq(e){return Array.isArray(e)&&e.length>0}var qt=Yq,Qq=()=>{},Wa=Qq;function nt(e){let t=new Set(e);return r=>t.has(r?.type)}var By=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i);function Zq(e){return this[e<0?this.length+e:e]}var eU=By("at",function(){if(Array.isArray(this)||typeof this=="string")return Zq}),kt=eU;function $n(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function tU(e){let t=[];return e.this&&t.push(e.this),t.push(...e.params),e.rest&&t.push(e.rest),t}var rU=new WeakMap;function Xr(e){return $n(rU,e,tU)}function nU(e,t){let{node:r}=e,n=0,i=()=>t(e,n++);r.this&&e.call(i,"this"),e.each(i,"params"),r.rest&&e.call(i,"rest")}function iU(e){if(e.rest)return!0;let t=Xr(e);return kt(0,t,-1)?.type==="RestElement"}var sU=e=>e?.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const";function Py({node:e,parent:t}){return e?.type!=="EmptyStatement"?!1:t.type==="IfStatement"?t.consequent===e||t.alternate===e:t.type==="DoWhileStatement"||t.type==="ForInStatement"||t.type==="ForOfStatement"||t.type==="ForStatement"||t.type==="LabeledStatement"||t.type==="WithStatement"||t.type==="WhileStatement"?t.body===e:!1}function fu(e){return e.method&&e.kind==="init"||e.kind==="get"||e.kind==="set"}var AT=e=>Number.isSafeInteger(e)&&e>=0;function Nm(e){return e.range?.[1]??e.end}function ht(e){let t=e.range?.[0]??e.start,r=(e.declaration?.decorators??e.decorators)?.[0];return r?Math.min(ht(r),t):t}var aU=5,oU=8,uU=8,Ok=e=>t=>t.label?it(t.label):ht(t)+e,lU=e=>e.__contentEnd??Nm(e),bT=["ExpressionStatement","Directive","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","ReturnStatement","ThrowStatement","DoWhileStatement"],cU=new Map([["BreakStatement",Ok(aU)],["ContinueStatement",Ok(oU)],["DebuggerStatement",e=>ht(e)+uU],["VariableDeclaration",e=>it(kt(0,e.declarations,-1))],...bT.map(e=>[e,lU])]),pU=nt(bT),fy=e=>{if(pU(e)&&e.__contentEnd)return!0;let{type:t}=e;return t==="BreakStatement"||t==="ContinueStatement"||t==="DebuggerStatement"||t==="VariableDeclaration"?!0:t==="IfStatement"?fy(e.alternate??e.consequent):t==="ForInStatement"||t==="ForOfStatement"||t==="ForStatement"||t==="LabeledStatement"||t==="WithStatement"||t==="WhileStatement"?fy(e.body):!1};function it(e){let{type:t}=e;return t==="IfStatement"?it(e.alternate??e.consequent):t==="ForInStatement"||t==="ForOfStatement"||t==="ForStatement"||t==="LabeledStatement"||t==="WithStatement"||t==="WhileStatement"?it(e.body):cU.get(t)?.(e)??Nm(e)}function Lm(e,t){let r=ht(e);return AT(r)&&r===ht(t)}function hU(e,t){let r=it(e);return AT(r)&&r===it(t)}function dU(e,t){return Lm(e,t)&&hU(e,t)}function An(e){return e.extra?.raw??e.raw}function fU(e){return e.type==="BigIntLiteral"||e.type==="Literal"&&!!e.bigint}function mU(e){return e.type==="BooleanLiteral"||e.type==="Literal"&&typeof e.value=="boolean"}function Bi(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function kT(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}function dr(e){return e?.type==="StringLiteral"||e?.type==="Literal"&&typeof e.value=="string"}var ni=nt(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),DU=nt(["SatisfiesExpression","TSSatisfiesExpression"]),kn=nt(["TSUnionType","UnionTypeAnnotation"]),tp=nt(["TSIntersectionType","IntersectionTypeAnnotation"]),Iy=nt(["TupleTypeAnnotation","TSTupleType"]),Vs=nt(["TSConditionalType","ConditionalTypeAnnotation"]),TT=nt(["TSTypeAliasDeclaration","TypeAlias"]),lu=nt(["ReturnStatement","ThrowStatement"]),yU=nt(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),Ir=nt(["ArrayExpression"]),ii=nt(["ObjectExpression"]),Ny=nt(["Literal","BooleanLiteral","BigIntLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),$s=nt(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),Gc=nt(["FunctionExpression","ArrowFunctionExpression"]),Fr=nt(["JSXElement","JSXFragment"]),us=nt(["BinaryExpression","LogicalExpression","NGPipeExpression"]),Ot=nt(["CallExpression","OptionalCallExpression"]),jt=nt(["MemberExpression","OptionalMemberExpression"]),Jc=nt(["CallExpression","OptionalCallExpression","NewExpression"]),cu=nt(["CallExpression","OptionalCallExpression","NewExpression","ImportExpression"]),Ga=nt(["ChainExpression","TSNonNullExpression"]),gU=nt(["TSArrayType","ArrayTypeAnnotation"]),xU=nt(["TSTypeParameterInstantiation","TypeParameterInstantiation"]);function my(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;return t.type!==r.type||!dU(t,r)?!1:dr(t)?t.value===r.value&&An(t)===An(r):t.type==="Identifier"?t.name===r.name:!1}var EU=nt(["File","TemplateElement","TSEmptyBodyFunctionExpression","ChainExpression"]),CU=(e,[t])=>t?.type==="ComponentParameter"&&t.shorthand&&t.name===e&&t.local!==t.name||t?.type==="MatchObjectPatternProperty"&&t.shorthand&&t.key===e||t?.type==="ObjectProperty"&&t.shorthand&&t.key===e&&t.value!==t.key||t?.type==="Property"&&t.shorthand&&t.key===e&&!fu(t)&&t.value!==t.key||t?.type==="ImportSpecifier"&&my(t)&&t.local===e&&t.local!==t.imported||t?.type==="ExportSpecifier"&&my(t)&&t.exported===e&&t.local!==t.exported,FU=(e,[t])=>!!(e.type==="FunctionExpression"&&t.type==="MethodDefinition"&&t.value===e&&Xr(e).length===0&&!e.returnType&&!qt(e.typeParameters)&&e.body),Mk=(e,[t])=>t?.typeAnnotation===e&&sU(t),AU=(e,[t,...r])=>Mk(e,[t])||t?.typeName===e&&Mk(t,r);function bU(e,t){return EU(e)||CU(e,t)||FU(e,t)?!1:e.type==="EmptyStatement"?Py({node:e,parent:t[0]}):!(AU(e,t)||e.type==="TSTypeAnnotation"&&t[0].type==="TSPropertySignature")}var kU=bU;function TU(e){let t=e.type||e.kind||"(unknown type)",r=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 r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Ly(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=TU(e)}function nr(e,t){t.leading=!0,t.trailing=!1,Ly(e,t)}function un(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Ly(e,t)}function zt(e,t){t.leading=!1,t.trailing=!0,Ly(e,t)}function Om(e){return(t,r,n)=>{if(r===!1)return!1;let i=!!n?.backwards,{length:s}=t,a=r;for(;a>=0&&a<s;){let o=t.charAt(a);if(e instanceof RegExp){if(!e.test(o))return a}else if(!e.includes(o))return a;i?a--:a++}return a===-1||a===s?a:!1}}var rae=Om(/\s/),pu=Om(" "),vU=Om(",; "),SU=Om(/[^\n\r]/);function wU(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var Oy=wU,Rk=e=>e===`
- `||e==="\r"||e==="\u2028"||e==="\u2029";function _U(e,t,r){if(t===!1)return!1;let n=!!r?.backwards,i=e.charAt(t);if(n){if(e.charAt(t-1)==="\r"&&i===`
- `)return t-2;if(Rk(i))return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
- `)return t+2;if(Rk(i))return t+1}return t}var hu=_U;function BU(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?SU(e,t):t}var My=BU;function PU(e,t){let r=null,n=t;for(;n!==r;)r=n,n=pu(e,n),n=Oy(e,n),n=My(e,n),n=hu(e,n);return n}var Mm=PU;function IU(e,t){let r=Mm(e,t);return r===!1?"":e.charAt(r)}var wi=IU;function NU(e,t,r={}){let n=pu(e,r.backwards?t-1:t,r),i=hu(e,n,r);return n!==i}var hr=NU;function LU(e,t,r){for(let n=t;n<r;++n)if(e.charAt(n)===`
- `)return!0;return!1}var ln=LU,OU=new WeakMap;function MU(e){let t;return e.type==="ImportExpression"||e.type==="TSImportType"?(t=[e.source],e.options&&t.push(e.options)):e.type==="TSExternalModuleReference"?t=[e.expression]:t=e.arguments,t}function zn(e){return $n(OU,e,MU)}function Dy(e,t){let{node:r}=e;r.type==="ImportExpression"||r.type==="TSImportType"?(e.call(()=>t(e,0),"source"),r.options&&e.call(()=>t(e,1),"options")):r.type==="TSExternalModuleReference"?e.call(()=>t(e,0),"expression"):e.each(t,"arguments")}function jk(e,t){if(e.type==="ImportExpression"||e.type==="TSImportType"){if(t===0||t===(e.options?-2:-1))return["source"];if(e.options&&(t===1||t===-1))return["options"];throw new RangeError("Invalid argument index")}if(e.type==="TSExternalModuleReference"){if(t===0||t===-1)return["expression"]}else if(t<0&&(t=e.arguments.length+t),t>=0&&t<e.arguments.length)return["arguments",t];throw new RangeError("Invalid argument index")}var RU=Symbol.for("comments"),jU=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},qU=By("replaceAll",function(){if(typeof this=="string")return jU}),Cr=qU;function UU(e){return Cr(0,e,/[^\n]/g," ")}var VU=UU;function $U(e,t){for(let r of t){let n=ht(r),i=it(r);e=e.slice(0,n)+VU(e.slice(n,i))+e.slice(i)}return e}var zU=new WeakMap;function Hn(e){let t=e[RU];return $n(zU,t,r=>$U(e.originalText,r))}function vT(e,t){let r=it(e)-1;if(t.originalText[r]===")")return r}function HU(e,t){if(vT(e,t)===void 0)return;let r=Hn(t),n=it(e.typeArguments??e.callee),i=r.indexOf("(",n);if(i!==-1)return i}function WU(e,t,r){let n=vT(e,r);if(n===void 0||it(t)>n)return!1;let i=HU(e,r);return i===void 0?!1:ht(t)>i}var si=nt(["Block","CommentBlock","MultiLine"]),Hs=nt(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]);function Ws(e){return e?.type==="ObjectProperty"||e?.type==="Property"&&!fu(e)}function $a(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}var GU=new WeakMap;function Ry(e){return $n(GU,e,t=>si(t)&&t.value[0]==="*"&&/@(?:type|satisfies)\b/.test(t.value))}function jy({comment:e,enclosingNode:t,followingNode:r,options:n}){if((t?.type==="ForInStatement"||t?.type==="ForOfStatement"||t?.type==="ForStatement")&&r&&r===t.body){let i=Hn(n).lastIndexOf(")",ht(r));if(ht(e)>i)return nr(r,e),!0}return!1}var ST=(e,t)=>si(e)&&!ln(t,ht(e),it(e)),qy=(e,t)=>Hs(e)||ST(e,t);function yy(e,t){e.type==="BlockStatement"?rp(e,t):nr(e,t)}function rp(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?nr(r,t):un(e,t)}function Uy({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i,options:s}){return r?.type!=="IfStatement"||!n?!1:wi(i,it(e))===")"?(zt(t,e),!0):n===r.consequent?(nr(n,e),!0):t===r.consequent&&n===r.alternate?JU({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i,options:s}):!1}function JU({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i,options:s}){let a=Hn(s).indexOf("else",it(r.consequent));return ht(e)>=a?(nr(n,e),!0):t.type!=="BlockStatement"&&qy(e,i)&&!ln(i,it(t),ht(e))?(zt(t,e),!0):(un(r,e),!0)}function Vy({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i}){return r?.type==="SwitchStatement"&&r.cases.length===0&&!n&&t===r.discriminant&&wi(i,it(e))==="}"?(un(r,e),!0):!1}function $y({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i}){return(r?.type==="WhileStatement"||r?.type==="WithStatement")&&n?wi(i,it(e))===")"?(zt(t,e),!0):r.body===n?(nr(n,e),!0):!1:!1}function wT(e,{comment:t,text:r,options:n}){if(kn(e)&&ST(t,r)&&!$a(t)){let i=Hn(n).slice(it(t),ht(e));return/^[ \t]*$/.test(i)}return!1}function qk(e,t){return nr(wT(e,t)?e.types[0]:e,t.comment),!0}function KU(e){return[zy,jT,BT,LT,ZU,Uy,$y,Vy,_T,PT,jy,aV,oV,Hy,MT,lV,IT,OT,eV,DV,Wy,Gy,UT].some(t=>t(e))}function XU(e){return[zy,QU,LT,BT,MT,Uy,$y,Vy,_T,PT,jy,OT,sV,uV,Hy,RT,fV,mV,yV,Wy,EV,qT,gV,Gy].some(t=>t(e))}function YU(e){return[zy,jT,Uy,$y,Vy,jy,IT,Hy,RT,Wy,nV,rV,hV,qT,Gy,UT].some(t=>t(e))}function QU({comment:e,followingNode:t}){return t&&Ry(e)?(nr(t,e),!0):!1}function _T({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return r?.type!=="TryStatement"&&r?.type!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(zt(t,e),!0):n.type==="BlockStatement"?(rp(n,e),!0):n.type==="TryStatement"?(yy(n.finalizer,e),!0):n.type==="CatchClause"?(yy(n.body,e),!0):!1}function ZU({comment:e,enclosingNode:t,followingNode:r}){return jt(t)&&r?.type==="Identifier"?(nr(t,e),!0):!1}function eV({comment:e,enclosingNode:t,followingNode:r,options:n}){return!n.experimentalTernaries||!(t?.type==="ConditionalExpression"||Vs(t))?!1:r?.type==="ConditionalExpression"||Vs(r)?(un(t,e),!0):!1}function BT({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i,options:s}){let a=t&&!ln(i,it(t),ht(e));return(!t||!a)&&(r?.type==="ConditionalExpression"||Vs(r))&&n?s.experimentalTernaries&&r.alternate===n&&!(si(e)&&!ln(s.originalText,ht(e),it(e)))?(un(r,e),!0):(nr(n,e),!0):!1}var tV=nt(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function PT({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(tV(r)){let{decorators:i}=r;if(qt(i)&&n?.type!=="Decorator")return zt(kt(0,i,-1),e),!0;if(r.body&&n===r.body)return rp(r.body,e),!0;if(n){let{superClass:s}=r;if(s&&n===s&&t&&(t===r.id||t===r.typeParameters))return zt(t,e),!0;for(let a of["implements","extends","mixins"])if(r[a]&&n===r[a][0])return t&&(t===r.id||t===r.typeParameters||t===s)?zt(t,e):un(r,e,a),!0}}return!1}var Uk=nt(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","TSParameterProperty"]);function IT({placement:e,comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}){return n&&r&&wi(s,it(t))==="("&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&r.type==="Identifier"&&n.key===r&&wi(s,it(r))!==":"?(zt(r,t),!0):Uk(n)&&!i&&e==="remaining"?(zt(wi(s,it(t))==="("?r:n,t),!0):r?.type==="Decorator"&&Uk(n)&&(Hs(t)||e==="ownLine")?(zt(r,t),!0):!1}var NT=nt(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function rV({comment:e,precedingNode:t,enclosingNode:r,text:n}){return wi(n,it(e))!=="("?!1:t&&NT(r)?(zt(t,e),!0):!1}function nV({comment:e,enclosingNode:t,text:r}){if(t?.type!=="ArrowFunctionExpression")return!1;let n=Mm(r,it(e));return n!==!1&&r.slice(n,n+2)==="=>"?(un(t,e,"commentBeforeArrow"),!0):!1}function Vk(e,t,r){let n=ht(t),i=it(e);if(n>=i)return!1;let s=it(t),a=ht(e);if(s<=a)return!1;let o=Hn(r);return o.slice(0,ht(t)).trimEnd().endsWith("(")&&o.slice(it(t)).trimStart().startsWith(")")}var iV=nt(["ComponentDeclaration","DeclareComponent","ComponentTypeAnnotation"]);function zy({comment:e,enclosingNode:t,options:r}){if(!t)return!1;if(cu(t)&&zn(t).length===0&&Vk(t,e,r))return un(t,e),!0;let n=VT(t)||iV(t)||t.type==="HookTypeAnnotation"?t:t.type==="MethodDefinition"||t.type==="TSAbstractMethodDefinition"||t.type==="Property"&&fu(t)?t.value:void 0;return n&&Xr(n).length===0&&Vk(n,e,r)?(un(n,e),!0):!1}function LT({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i}){return t?.type==="FunctionTypeParam"&&r?.type==="FunctionTypeAnnotation"&&n?.type!=="FunctionTypeParam"||t?.type==="ComponentTypeParameter"&&(r?.type==="DeclareComponent"||r?.type==="ComponentTypeAnnotation")&&n?.type!=="ComponentTypeParameter"||(t?.type==="Identifier"||t?.type==="AssignmentPattern"||t?.type==="ObjectPattern"||t?.type==="ArrayPattern"||t?.type==="RestElement"||t?.type==="TSParameterProperty")&&(VT(r)||(r?.type==="TSAbstractMethodDefinition"||r?.type==="MethodDefinition")&&r.value.type==="TSEmptyBodyFunctionExpression")&&wi(i,it(e))===")"||(t?.type==="ComponentParameter"||t?.type==="RestElement")&&(r?.type==="ComponentDeclaration"||r?.type==="DeclareComponent")&&wi(i,it(e))===")"?(zt(t,e),!0):!si(e)&&n?.type==="BlockStatement"&&NT(r)&&(r.type==="MethodDefinition"?r.value.body:r.body)===n&&Mm(i,it(e))===ht(n)?(rp(n,e),!0):!1}function OT({comment:e,enclosingNode:t}){return t?.type==="LabeledStatement"?(nr(t,e),!0):!1}function sV({comment:e,precedingNode:t,enclosingNode:r,options:n}){return Jc(r)&&r.callee===t&&r.arguments.length>0&&WU(r,e,n)?(nr(r.arguments[0],e),!0):!1}function aV({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return kn(r)?($a(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(zt(t,e),!0):!1):(kn(n)&&$a(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function oV({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return r&&r.type==="MatchOrPattern"?($a(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(zt(t,e),!0):!1):(n&&n.type==="MatchOrPattern"&&$a(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function uV({comment:e,enclosingNode:t}){return Ws(t)?(nr(t,e),!0):!1}function Hy({comment:e,enclosingNode:t,ast:r,isLastComment:n}){return r?.body?.length===0?(n?un(r,e):nr(r,e),!0):t?.type==="Program"&&t.body.length===0&&!qt(t.directives)?(n?un(t,e):nr(t,e),!0):!1}function MT({comment:e,precedingNode:t,enclosingNode:r,text:n}){if(r?.type==="ImportSpecifier"||r?.type==="ExportSpecifier")return nr(r,e),!0;let i=t?.type==="ImportSpecifier"&&r?.type==="ImportDeclaration",s=t?.type==="ExportSpecifier"&&r?.type==="ExportNamedDeclaration";return(i||s)&&hr(n,it(e))?(zt(t,e),!0):!1}function lV({comment:e,enclosingNode:t}){return t?.type==="AssignmentPattern"?(nr(t,e),!0):!1}var cV=nt(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),pV=nt(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function RT(e){let{comment:t,enclosingNode:r,followingNode:n,options:i,placement:s}=e;if(cV(r)&&n&&s==="endOfLine"&&(pV(n)||si(t)))return qk(n,e);if(TT(r)&&n){let a=r.id,o=Hn(i).indexOf("=",it(a));if(ht(t)>=o)return qk(n,e)}return!1}function hV({comment:e,enclosingNode:t,precedingNode:r,followingNode:n,text:i}){return!n&&(t?.type==="TSMethodSignature"||t?.type==="TSDeclareFunction"||t?.type==="TSAbstractMethodDefinition")&&(!r||r!==t.returnType)&&wi(i,it(e))===";"?(zt(t,e),!0):!1}function jT({comment:e,enclosingNode:t,followingNode:r}){if($a(e)&&t?.type==="TSMappedType"&&r===t.key)return t.prettierIgnore=!0,e.unignore=!0,!0}function dV(e,t,r){let n=Hn(r).indexOf("[",ht(e));return it(t)<n}function Wy({comment:e,enclosingNode:t,options:r}){if(t?.type==="TSMappedType"&&dV(t,e,r))return un(t,e),!0}function fV({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test||!r||r!==t.consequent[0]?!1:(r.type==="BlockStatement"&&Hs(e)?rp(r,e):un(t,e),!0)}function mV({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return kn(t)&&(gU(r)&&!n||tp(r)||kn(r))?(zt(kt(0,t.types,-1),e),!0):!1}function DV({comment:e,enclosingNode:t,precedingNode:r,followingNode:n}){if((t?.type==="ObjectPattern"||t?.type==="ArrayPattern")&&n?.type==="TSTypeAnnotation")return r?zt(r,e):un(t,e),!0}function yV({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:i}){return!n&&r?.type==="UnaryExpression"&&(t?.type==="LogicalExpression"||t?.type==="BinaryExpression")&&ln(i,ht(r.argument),ht(t.right))&&qy(e,i)&&!ln(i,ht(t.right),ht(e))?(zt(t.right,e),!0):!1}function gV({enclosingNode:e,followingNode:t,comment:r}){if(e&&(e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty")&&(kn(t)||tp(t)))return nr(t,r),!0}function Gy({enclosingNode:e,precedingNode:t,followingNode:r,comment:n,text:i}){if(ni(e)&&t===e.expression&&!qy(n,i))return r?nr(r,n):zt(e,n),!0}function xV(e,t,r){let n=Hn(r).lastIndexOf("=>",ht(t.body));return it(e)<n}function EV({comment:e,enclosingNode:t,followingNode:r,precedingNode:n,options:i}){return t?.type!=="ArrowFunctionExpression"||!r||!n||xV(e,t,i)?!1:(yy(r,e),!0)}function qT({comment:e,enclosingNode:t,precedingNode:r,followingNode:n}){if(!n&&t&&r){if(t.type==="ExpressionStatement"&&t.expression===r)return zt(t,e),!0;let i=r.type==="SequenceExpression",s=r.type==="AssignmentExpression";if((i||s)&&(t.type==="ArrowFunctionExpression"&&t.body===r||t.type==="VariableDeclarator"&&t.init===r||t.type==="ReturnStatement"&&t.argument===r||t.type==="AssignmentExpression"&&t.right===r))return zt(i?kt(0,r.expressions,-1):r.right,e),!0}return!1}function UT(e){let{followingNode:t,comment:r}=e;return wT(t,e)?(nr(t.types[0],r),!0):!1}var VT=nt(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod","HookDeclaration"]),CV={endOfLine:XU,ownLine:KU,remaining:YU},FV=CV;function AV(e,{parser:t}){if(t==="flow"||t==="hermes"||t==="babel-flow")return e=Cr(0,e,/[\s(]/g,""),e===""||e==="/*"||e==="/*::"}var bV=AV,We={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},$T=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,i)=>!(e&We.Leading&&!r.leading||e&We.Trailing&&!r.trailing||e&We.Dangling&&(r.leading||r.trailing)||e&We.Block&&!si(r)||e&We.Line&&!Hs(r)||e&We.First&&n!==0||e&We.Last&&n!==i.length-1||e&We.PrettierIgnore&&!$a(r)||t&&!t(r))};function je(e,t,r){if(!qt(e?.comments))return!1;let n=$T(t,r);return n?e.comments.some(n):!0}function bn(e,t,r){if(!Array.isArray(e?.comments))return[];let n=$T(t,r);return n?e.comments.filter(n):e.comments}function Rm(e){return e?.prettierIgnore||je(e,We.PrettierIgnore)}function zT(e){let{node:t}=e;return(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression")&&(e.key==="callee"&&Ot(e.parent)||e.key==="tag"&&e.parent.type==="TaggedTemplateExpression")}var kV=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function vm(e){return kV.get(e)}var $k={"==":!0,"!=":!0,"===":!0,"!==":!0},Cm={"*":!0,"/":!0,"%":!0},gy={">>":!0,">>>":!0,"<<":!0};function Jy(e,t){return!(vm(t)!==vm(e)||e==="**"||$k[e]&&$k[t]||t==="%"&&Cm[e]||e==="%"&&Cm[t]||t!==e&&Cm[t]&&Cm[e]||gy[e]&&gy[t])}function TV(e){return!!gy[e]||e==="|"||e==="^"||e==="&"}function vV(e){return e.type==="LogicalExpression"&&e.operator==="??"}function Gr(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Gr(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return Gr(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:Gr(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:Gr(e.callee,t);case"ConditionalExpression":return Gr(e.test,t);case"UpdateExpression":return!e.prefix&&Gr(e.argument,t);case"BindExpression":return e.object&&Gr(e.object,t);case"SequenceExpression":return Gr(e.expressions[0],t);case"ChainExpression":case"TSNonNullExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Gr(e.expression,t);default:return t(e)}}function SV(e){let{key:t,parent:r}=e;return t==="expression"&&r.type==="TSNonNullExpression"||t==="object"&&r.type==="MemberExpression"&&!r.optional||t==="callee"&&r.type==="CallExpression"&&!r.optional||t==="callee"&&r.type==="NewExpression"||t==="tag"&&r.type==="TaggedTemplateExpression"}var zk=e=>e.extra?.parenthesized,wV=nt(["OptionalCallExpression","OptionalMemberExpression"]);function _V(e){let{node:t}=e,r=t;for(;r.type==="TSNonNullExpression";)if(r=r.expression,zk(r))return!1;return wV(r)?zk(t)?!0:!(e.key==="expression"&&e.parent.type==="TSNonNullExpression"):!1}function BV(e){return(e.node.type==="ChainExpression"||_V(e))&&SV(e)}function PV(e){let{node:t}=e;if(t.type!=="Identifier")return!1;if(t.extra?.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.name))return!0;let{key:r,parent:n}=e;if(r==="left"&&(t.name==="async"&&!n.await||t.name==="let")&&n.type==="ForOfStatement")return!0;if(t.name==="let"){let i=e.findAncestor(s=>s.type==="ForOfStatement"||s.type==="ForInStatement")?.left;if(i&&Gr(i,s=>s===t))return!0}if(r==="object"&&t.name==="let"&&n.type==="MemberExpression"&&n.computed&&!n.optional){let i=e.findAncestor(a=>a.type==="ExpressionStatement"||a.type==="ForStatement"||a.type==="ForInStatement"),s=i?i.type==="ExpressionStatement"?i.expression:i.type==="ForStatement"?i.init:i.left:void 0;if(s&&Gr(s,a=>a===t))return!0}if(r==="expression")switch(t.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let i=e.findAncestor(s=>!ni(s));if(i!==n&&i.type==="ExpressionStatement")return!0}}return!1}function IV(e){return e!==null&&typeof e=="object"}var HT=IV;function*NV(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,i=s=>HT(s)&&n(s);for(let s of r(e)){let a=e[s];if(Array.isArray(a))for(let o of a)i(o)&&(yield o);else i(a)&&(yield a)}}function*LV(e,t){let r=[e];for(let n=0;n<r.length;n++){let i=r[n];for(let s of NV(i,t))yield s,r.push(s)}}function OV(e,{getVisitorKeys:t,predicate:r}){for(let n of LV(e,{getVisitorKeys:t}))if(r(n))return!0;return!1}var Uc=null;function zc(e){if(Uc!==null&&typeof Uc.property){let t=Uc;return Uc=zc.prototype=null,t}return Uc=zc.prototype=e??Object.create(null),new zc}var MV=10;for(let e=0;e<=MV;e++)zc();function RV(e){return zc(e)}function jV(e,t="type"){RV(e);function r(n){let i=n[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var WT=jV,se=[["elements"],["left","right"],["value"],["directives","body"],["label"],["callee","typeArguments","arguments"],["test","consequent","alternate"],["body","test"],["expression"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["object","property"],["properties"],["decorators","key","typeParameters","params","returnType","body"],["decorators","key","value"],["argument"],["expressions"],["id","init"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body"],["declaration","specifiers","source","attributes"],["local"],["exported"],["decorators","variance","key","typeAnnotation","value"],["id"],["key","value"],["elementType"],["id","typeParameters"],["id","typeParameters","extends","body"],["id","body"],["typeAnnotation"],["id","typeParameters","right"],["name","typeAnnotation"],["types"],["qualification","id"],["elementTypes"],["expression","typeAnnotation"],["params"],["members"],["objectType","indexType"],["decorators","key","typeAnnotation","value"],["id","typeParameters","params","returnType","body"],["key","typeParameters","params","returnType"],["typeParameters","params","returnType"],["parameterName","typeAnnotation"],["checkType","extendsType","trueType","falseType"],["typeParameter"],["literal"],["expression","typeArguments"],["decorators","key","typeAnnotation"],["argument","cases"],["pattern","body","guard"],["properties","rest"],["node"]],qV={ArrayExpression:se[0],AssignmentExpression:se[1],BinaryExpression:se[1],InterpreterDirective:[],Directive:se[2],DirectiveLiteral:[],BlockStatement:se[3],BreakStatement:se[4],CallExpression:se[5],CatchClause:["param","body"],ConditionalExpression:se[6],ContinueStatement:se[4],DebuggerStatement:[],DoWhileStatement:se[7],EmptyStatement:[],ExpressionStatement:se[8],File:["program"],ForInStatement:se[9],ForStatement:["init","test","update","body"],FunctionDeclaration:se[10],FunctionExpression:se[10],Identifier:["typeAnnotation","decorators"],IfStatement:se[6],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:se[1],MemberExpression:se[11],NewExpression:se[5],Program:se[3],ObjectExpression:se[12],ObjectMethod:se[13],ObjectProperty:se[14],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:se[15],SequenceExpression:se[16],ParenthesizedExpression:se[8],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:se[15],TryStatement:["block","handler","finalizer"],UnaryExpression:se[15],UpdateExpression:se[15],VariableDeclaration:["declarations"],VariableDeclarator:se[17],WhileStatement:se[7],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],ClassBody:se[18],ClassExpression:se[19],ClassDeclaration:se[19],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:se[20],ExportSpecifier:["local","exported"],ForOfStatement:se[9],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:se[21],ImportNamespaceSpecifier:se[21],ImportSpecifier:["imported","local"],MetaProperty:["meta","property"],ClassMethod:se[13],ObjectPattern:["decorators","properties","typeAnnotation"],SpreadElement:se[15],Super:[],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:se[15],AwaitExpression:se[15],ImportExpression:["source","options"],BigIntLiteral:[],ExportNamespaceSpecifier:se[22],OptionalMemberExpression:se[11],OptionalCallExpression:se[5],ClassProperty:se[23],ClassPrivateProperty:se[23],ClassPrivateMethod:se[13],PrivateName:se[24],StaticBlock:se[18],ImportAttribute:se[25],AnyTypeAnnotation:[],ArrayTypeAnnotation:se[26],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:se[27],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:se[28],DeclareModule:se[29],DeclareModuleExports:se[30],DeclareTypeAlias:se[31],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareVariable:["id","declarations"],DeclareExportDeclaration:se[20],DeclareExportAllDeclaration:["source","attributes"],DeclaredPredicate:se[2],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:se[32],GenericTypeAnnotation:se[27],InferredPredicate:[],InterfaceExtends:se[27],InterfaceDeclaration:se[28],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:se[33],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:se[30],NumberLiteralTypeAnnotation:[],BigIntLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:se[2],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:se[15],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],QualifiedTypeIdentifier:se[34],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:se[35],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:se[31],TypeAnnotation:se[30],TypeCastExpression:se[36],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:se[37],TypeParameterInstantiation:se[37],UnionTypeAnnotation:se[33],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:se[29],EnumBooleanBody:se[38],EnumNumberBody:se[38],EnumStringBody:se[38],EnumSymbolBody:se[38],EnumBooleanMember:se[17],EnumNumberMember:se[17],EnumStringMember:se[17],EnumDefaultedMember:se[24],IndexedAccessType:se[39],OptionalIndexedAccessType:se[39],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:se[8],JSXSpreadChild:se[8],JSXIdentifier:[],JSXMemberExpression:se[11],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXSpreadAttribute:se[15],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ClassAccessorProperty:se[40],Decorator:se[8],DoExpression:se[18],ExportDefaultSpecifier:se[22],ModuleExpression:se[18],TopicReference:[],VoidPattern:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:se[41],TSDeclareMethod:se[42],TSQualifiedName:se[1],TSCallSignatureDeclaration:se[43],TSConstructSignatureDeclaration:se[43],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:se[42],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:se[43],TSConstructorType:se[43],TSTypeReference:["typeName","typeArguments"],TSTypePredicate:se[44],TSTypeQuery:["exprName","typeArguments"],TSTypeLiteral:se[38],TSArrayType:se[26],TSTupleType:se[35],TSOptionalType:se[30],TSRestType:se[30],TSNamedTupleMember:["label","elementType"],TSUnionType:se[33],TSIntersectionType:se[33],TSConditionalType:se[45],TSInferType:se[46],TSParenthesizedType:se[30],TSTypeOperator:se[30],TSIndexedAccessType:se[39],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSTemplateLiteralType:["quasis","types"],TSLiteralType:se[47],TSClassImplements:se[48],TSInterfaceHeritage:se[48],TSInterfaceDeclaration:se[28],TSInterfaceBody:se[18],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:se[48],TSAsExpression:se[36],TSSatisfiesExpression:se[36],TSTypeAssertion:se[36],TSEnumBody:se[38],TSEnumDeclaration:se[29],TSEnumMember:["id","initializer"],TSModuleDeclaration:se[29],TSModuleBlock:se[18],TSImportType:["source","options","qualifier","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:se[8],TSNonNullExpression:se[8],TSExportAssignment:se[8],TSNamespaceExportDeclaration:se[24],TSTypeAnnotation:se[30],TSTypeParameterInstantiation:se[37],TSTypeParameterDeclaration:se[37],TSTypeParameter:["name","constraint","default"],ChainExpression:se[8],Literal:[],MethodDefinition:se[14],PrivateIdentifier:[],Property:se[25],PropertyDefinition:se[23],AccessorProperty:se[40],TSAbstractAccessorProperty:se[49],TSAbstractKeyword:[],TSAbstractMethodDefinition:se[25],TSAbstractPropertyDefinition:se[49],TSAsyncKeyword:[],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:se[8],AsExpression:se[36],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:se[32],ConditionalTypeAnnotation:se[45],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:se[29],DeclareHook:se[24],DeclareNamespace:se[29],EnumBigIntBody:se[38],EnumBigIntMember:se[17],EnumBody:se[38],HookDeclaration:se[41],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:se[46],KeyofTypeAnnotation:se[15],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:se[24],MatchExpression:se[50],MatchExpressionCase:se[51],MatchIdentifierPattern:se[24],MatchInstanceObjectPattern:se[52],MatchInstancePattern:["targetConstructor","properties"],MatchLiteralPattern:se[47],MatchMemberPattern:["base","property"],MatchObjectPattern:se[52],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:se[15],MatchStatement:se[50],MatchStatementCase:se[51],MatchUnaryPattern:se[15],MatchWildcardPattern:[],NeverTypeAnnotation:[],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:se[34],RecordDeclaration:["id","typeParameters","implements","body"],RecordDeclarationBody:se[0],RecordDeclarationImplements:["id","typeArguments"],RecordDeclarationProperty:["key","typeAnnotation","defaultValue"],RecordDeclarationStaticProperty:["key","typeAnnotation","value"],RecordExpression:["recordConstructor","typeArguments","properties"],RecordExpressionProperties:se[12],SatisfiesExpression:se[36],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:se[30],TypePredicate:se[44],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],NGChainedExpression:se[16],NGEmptyExpression:[],NGPipeExpression:["left","right","arguments"],NGMicrosyntax:se[18],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:[],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:se[25],NGRoot:se[53],JsExpressionRoot:se[53],JsonRoot:se[53],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:se[30],TSJSDocNonNullableType:se[30]},UV=WT(qV),GT=UV;function xy(e,t){return t(e)||OV(e,{getVisitorKeys:GT,predicate:t})}function Ky(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||Ot(e)||jt(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||ni(e)||Ga(e)}function VV(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function JT(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function os(e,t){return Fr(t)?Rm(t):je(t,We.Leading,r=>hr(e,it(r)))}function $V(e,t){if(os(t.originalText,e)||je(e,We.Leading,r=>ln(t.originalText,ht(r),it(r)))&&!Fr(e))return!0;if(Ky(e)){let r=e,n;for(;n=VV(r);)if(r=n,os(t.originalText,r))return!0}return!1}var zV=new WeakMap;function KT(e,t){return $n(zV,e,r=>$V(r,t))}function Gs(e){for(;Ga(e);)e=e.expression;return e}function HV(e,t,r){let{node:n,key:i,parent:s}=e;switch(s.type){case"ReturnStatement":case"ThrowStatement":if(WV(e,t))return!1;break;case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(i==="superClass"){let a=Gs(n);if(a.type==="ArrowFunctionExpression"||a.type==="AssignmentExpression"||a.type==="AwaitExpression"||a.type==="BinaryExpression"||a.type==="ConditionalExpression"||a.type==="LogicalExpression"||a.type==="NewExpression"||a.type==="ObjectExpression"||a.type==="SequenceExpression"||a.type==="TaggedTemplateExpression"||a.type==="UnaryExpression"||a.type==="UpdateExpression"||a.type==="YieldExpression"||a.type==="ClassExpression"&&qt(a.decorators))return!0}break;case"ExportDefaultDeclaration":if(XT(e,t,r))return!0;break;case"Decorator":if(i==="expression"&&!GV(n))return!0;break;case"TypeAnnotation":if(e.match(void 0,void 0,(a,o)=>o==="returnType"&&a.type==="ArrowFunctionExpression")&&!(n.type==="NullableTypeAnnotation"&&e.call(()=>r(e,t),"typeAnnotation"))&&JV(n))return!0;break;case"VariableDeclarator":if(i==="init"&&e.match(void 0,void 0,(a,o)=>o==="declarations"&&a.type==="VariableDeclaration",(a,o)=>o==="left"&&a.type==="ForInStatement"))return!0;break;case"TSInstantiationExpression":if(i==="expression"&&(n.type==="AwaitExpression"||n.type==="YieldExpression"))return!0;break}}function WV(e,t){let{key:r,parent:n}=e;if(!(r==="argument"&&lu(n)))return!1;let{node:i}=e;return!!((i.type==="SequenceExpression"||i.type==="AssignmentExpression")&&KT(i,t))}function XT(e,t,r){let{node:n,parent:i}=e;return n.type==="FunctionExpression"||n.type==="ClassExpression"?i.type==="ExportDefaultDeclaration"||!r(e,t):!Ky(n)||i.type!=="ExportDefaultDeclaration"&&r(e,t)?!1:e.call(()=>XT(e,t,r),...JT(n))}function GV(e){return e.type==="ChainExpression"&&(e=e.expression),Ey(e)||Ot(e)&&!e.optional&&Ey(e.callee)}function Ey(e){return e.type==="Identifier"?!0:jt(e)?!e.computed&&!e.optional&&e.property.type==="Identifier"&&Ey(e.object):!1}function JV(e){return xy(e,t=>t.type==="ObjectTypeAnnotation"&&xy(t,r=>r.type==="FunctionTypeAnnotation"))}function YT(e,t){if(e.isRoot)return!1;let{node:r,key:n,parent:i}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&YV(r)&&$c(e))return!0;if(KV(r))return!1;if(r.type==="Identifier")return PV(e);if(r.type==="ObjectExpression"||r.type==="FunctionExpression"||r.type==="ClassExpression"||r.type==="DoExpression"){let a=e.findAncestor(o=>o.type==="ExpressionStatement")?.expression;if(a&&Gr(a,o=>o===r))return!0}if(r.type==="ObjectExpression"){let a=e.findAncestor(o=>o.type==="ArrowFunctionExpression")?.body;if(a&&a.type!=="SequenceExpression"&&a.type!=="AssignmentExpression"&&Gr(a,o=>o===r))return!0}let s=HV(e,t,YT);if(typeof s=="boolean")return s;switch(r.type){case"UpdateExpression":if(i.type==="UnaryExpression")return r.prefix&&(r.operator==="++"&&i.operator==="+"||r.operator==="--"&&i.operator==="-");case"UnaryExpression":switch(i.type){case"UnaryExpression":return r.operator===i.operator&&(r.operator==="+"||r.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&r.type==="UnaryExpression"&&(i.operator==="in"||i.operator==="instanceof")?!0:n==="left"&&i.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(i.type==="UpdateExpression"||r.operator==="in"&&XV(e))return!0;if(r.operator==="|>"&&r.extra?.parenthesized){let a=e.grandparent;if(a.type==="BinaryExpression"&&a.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(i.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!ni(r);case"ConditionalExpression":return ni(r)||vV(r);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"UnaryExpression":if(!je(r))return!0;break;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(r.type==="TSTypeAssertion"||ni(r));case"LogicalExpression":if(r.type==="LogicalExpression")return i.operator!==r.operator;case"BinaryExpression":{let{operator:a,type:o}=r;if(!a&&o!=="TSTypeAssertion")return!0;let u=vm(a),h=i.operator,c=vm(h);return!!(c>u||n==="right"&&c===u||c===u&&!Jy(h,a)||c<u&&a==="%"&&(h==="+"||h==="-")||TV(h))}default:return!1}break;case"SequenceExpression":return i.type!=="ForStatement";case"YieldExpression":if(i.type==="AwaitExpression"||i.type==="TSTypeAssertion")return!0;case"AwaitExpression":switch(i.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"BinaryExpression":return!(!r.argument&&i.operator==="|>");default:return!1}case"TSFunctionType":if(e.match(a=>a.type==="TSFunctionType",(a,o)=>o==="typeAnnotation"&&a.type==="TSTypeAnnotation",(a,o)=>o==="returnType"&&a.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":case"ConditionalTypeAnnotation":if(n==="extendsType"&&Vs(r)&&i.type===r.type||n==="constraint"&&r.type==="TSConditionalType"&&i.type==="TSTypeParameter"||n==="typeAnnotation"&&r.type==="ConditionalTypeAnnotation"&&i.type==="TypeAnnotation"&&e.grandparent.type==="TypeParameter"&&e.grandparent.bound===i&&e.grandparent.usesExtendsBound||n==="checkType"&&Vs(i))return!0;if(n==="extendsType"&&i.type==="TSConditionalType"){let{typeAnnotation:a}=r.returnType||r.typeAnnotation;if(a.type==="TSTypePredicate"&&a.typeAnnotation&&(a=a.typeAnnotation.typeAnnotation),a.type==="TSInferType"&&a.typeParameter.constraint)return!0}case"TSUnionType":case"TSIntersectionType":if(kn(i)||tp(i))return!0;case"TSInferType":if(r.type==="TSInferType"){if(i.type==="TSRestType")return!1;if(n==="types"&&(i.type==="TSUnionType"||i.type==="TSIntersectionType")&&r.typeParameter.type==="TSTypeParameter"&&r.typeParameter.constraint)return!0}case"TSTypeOperator":return i.type==="TSArrayType"||i.type==="TSOptionalType"||i.type==="TSRestType"||n==="objectType"&&i.type==="TSIndexedAccessType"||i.type==="TSTypeOperator"||i.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return n==="objectType"&&i.type==="TSIndexedAccessType"||n==="elementType"&&i.type==="TSArrayType";case"TypeOperator":return i.type==="ArrayTypeAnnotation"||i.type==="NullableTypeAnnotation"||n==="objectType"&&(i.type==="IndexedAccessType"||i.type==="OptionalIndexedAccessType")||i.type==="TypeOperator";case"TypeofTypeAnnotation":case"KeyofTypeAnnotation":return n==="objectType"&&(i.type==="IndexedAccessType"||i.type==="OptionalIndexedAccessType")||n==="elementType"&&i.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return i.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return i.type==="TypeOperator"||i.type==="KeyofTypeAnnotation"||i.type==="ArrayTypeAnnotation"||i.type==="NullableTypeAnnotation"||i.type==="IntersectionTypeAnnotation"||i.type==="UnionTypeAnnotation"||n==="objectType"&&(i.type==="IndexedAccessType"||i.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":if(i.type==="ArrayTypeAnnotation"||n==="objectType"&&(i.type==="IndexedAccessType"||i.type==="OptionalIndexedAccessType"))return!0;break;case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(r.type==="ComponentTypeAnnotation"&&(r.rendersType===null||r.rendersType===void 0))return!1;if(e.match(void 0,(o,u)=>u==="typeAnnotation"&&o.type==="TypeAnnotation",(o,u)=>u==="returnType"&&o.type==="ArrowFunctionExpression")||e.match(void 0,(o,u)=>u==="typeAnnotation"&&o.type==="NullableTypeAnnotation",(o,u)=>u==="typeAnnotation"&&o.type==="TypeAnnotation",(o,u)=>u==="returnType"&&o.type==="ArrowFunctionExpression")||e.match(void 0,(o,u)=>u==="typeAnnotation"&&o.type==="TypePredicate",(o,u)=>u==="typeAnnotation"&&o.type==="TypeAnnotation",(o,u)=>u==="returnType"&&o.type==="ArrowFunctionExpression"))return!0;let a=i.type==="NullableTypeAnnotation"?e.grandparent:i;return a.type==="UnionTypeAnnotation"||a.type==="IntersectionTypeAnnotation"||a.type==="ArrayTypeAnnotation"||n==="objectType"&&(a.type==="IndexedAccessType"||a.type==="OptionalIndexedAccessType")||n==="checkType"&&i.type==="ConditionalTypeAnnotation"||n==="extendsType"&&i.type==="ConditionalTypeAnnotation"&&r.returnType?.type==="InferTypeAnnotation"&&r.returnType.typeParameter.bound||a.type==="NullableTypeAnnotation"||i.type==="FunctionTypeParam"&&i.name===null&&Xr(r).some(o=>o.typeAnnotation?.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return n==="objectType"&&i.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof r.value=="string"&&i.type==="ExpressionStatement"&&typeof i.directive!="string"){let a=e.grandparent;return a.type==="Program"||a.type==="BlockStatement"}return n==="object"&&jt(i)&&Bi(r);case"AssignmentExpression":return!((n==="init"||n==="update")&&i.type==="ForStatement"||n==="expression"&&r.left.type!=="ObjectPattern"&&i.type==="ExpressionStatement"||n==="key"&&i.type==="TSPropertySignature"||i.type==="AssignmentExpression"||n==="expressions"&&i.type==="SequenceExpression"&&e.match(void 0,void 0,(a,o)=>(o==="init"||o==="update")&&a.type==="ForStatement")||n==="value"&&i.type==="Property"&&e.match(void 0,void 0,(a,o)=>o==="properties"&&a.type==="ObjectPattern")||i.type==="NGChainedExpression"||n==="node"&&i.type==="JsExpressionRoot");case"ConditionalExpression":switch(i.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return t.experimentalTernaries?!1:n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(i.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;case"ExportDefaultDeclaration":return n==="declaration";default:return!1}case"ArrowFunctionExpression":switch(i.type){case"BinaryExpression":return i.operator!=="|>"||r.extra?.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":case"MatchExpressionCase":return!0;case"TSInstantiationExpression":return n==="expression";case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(i.type){case"NewExpression":return n==="callee";case"ExportDefaultDeclaration":return n==="declaration";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"ChainExpression":case"TSNonNullExpression":if(BV(e))return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"ImportExpression":if(n==="callee"&&(i.type==="BindExpression"||i.type==="NewExpression")){let a=r;for(;a;)switch(a.type){case"CallExpression":case"ImportExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":a=a.object;break;case"TaggedTemplateExpression":a=a.tag;break;case"TSNonNullExpression":a=a.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(i.type==="BindExpression"||i.type==="NewExpression")||n==="object"&&jt(i);case"NGPipeExpression":return!(i.type==="NGRoot"||i.type==="NGMicrosyntaxExpression"||i.type==="ObjectProperty"&&!r.extra?.parenthesized||Ir(i)||n==="arguments"&&Ot(i)||n==="right"&&i.type==="NGPipeExpression"||n==="property"&&i.type==="MemberExpression"||i.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&i.type==="BinaryExpression"&&i.operator==="<"||!Ir(i)&&i.type!=="ArrowFunctionExpression"&&i.type!=="AssignmentExpression"&&i.type!=="AssignmentPattern"&&i.type!=="BinaryExpression"&&i.type!=="ConditionalExpression"&&i.type!=="ExpressionStatement"&&i.type!=="JsExpressionRoot"&&i.type!=="JSXAttribute"&&i.type!=="JSXElement"&&i.type!=="JSXExpressionContainer"&&i.type!=="JSXFragment"&&i.type!=="LogicalExpression"&&!Jc(i)&&!Ws(i)&&!lu(i)&&i.type!=="TypeCastExpression"&&i.type!=="VariableDeclarator"&&i.type!=="YieldExpression"&&i.type!=="MatchExpressionCase"&&!(n==="declaration"&&i.type==="ExportDefaultDeclaration");case"TSInstantiationExpression":return n==="object"&&jt(i);case"MatchOrPattern":return i.type==="MatchAsPattern"}return!1}var KV=nt(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function XV(e){let t=0,{node:r}=e;for(;r;){let n=e.getParentNode(t++);if(n?.type==="ForStatement"&&n.init===r)return!0;r=n}return!1}function YV(e){return ii(e)}function $c(e){let{parent:t,key:r}=e;switch(t.type){case"NGPipeExpression":if(r==="arguments"&&e.isLast)return e.callParent($c);break;case"ObjectProperty":if(r==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent($c);break;case"ConditionalExpression":if(r==="alternate")return e.callParent($c);break;case"UnaryExpression":if(t.prefix&&e.callParent($c))return!0;break}return!1}var Fn=YT,Ja="string",ls="array",mu="cursor",Ka="indent",Xa="align",Ya="trim",Vn="group",Js="fill",_i="if-break",Qa="indent-if-break",Za="line-suffix",Ks="line-suffix-boundary",cn="line",ps="label",hs="break-parent",QT=new Set([mu,Ka,Xa,Ya,Vn,Js,_i,Qa,Za,Ks,cn,ps,hs]);function QV(e){if(typeof e=="string")return Ja;if(Array.isArray(e))return ls;if(!e)return;let{type:t}=e;if(QT.has(t))return t}var Xs=QV,ZV=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function e$(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(Xs(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ZV([...QT].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
- Expected it to be ${n}.`}var t$=class extends Error{name="InvalidDocError";constructor(e){super(e$(e)),this.doc=e}},Kc=t$,Hk={};function r$(e,t,r,n){let i=[e];for(;i.length>0;){let s=i.pop();if(s===Hk){r(i.pop());continue}r&&i.push(s,Hk);let a=Xs(s);if(!a)throw new Kc(s);if(t?.(s)!==!1)switch(a){case ls:case Js:{let o=a===ls?s:s.parts;for(let u=o.length,h=u-1;h>=0;--h)i.push(o[h]);break}case _i:i.push(s.flatContents,s.breakContents);break;case Vn:if(n&&s.expandedStates)for(let o=s.expandedStates.length,u=o-1;u>=0;--u)i.push(s.expandedStates[u]);else i.push(s.contents);break;case Xa:case Ka:case Qa:case ps:case Za:i.push(s.contents);break;case Ja:case mu:case Ya:case Ks:case cn:case hs:break;default:throw new Kc(s)}}}var Xy=r$;function Du(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(s){return $n(r,s,i)}function i(s){switch(Xs(s)){case ls:return t(s.map(n));case Js:return t({...s,parts:s.parts.map(n)});case _i:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Vn:{let{expandedStates:a,contents:o}=s;return a?(a=a.map(n),o=a[0]):o=n(o),t({...s,contents:o,expandedStates:a})}case Xa:case Ka:case Qa:case ps:case Za:return t({...s,contents:n(s.contents)});case Ja:case mu:case Ya:case Ks:case cn:case hs:return t(s);default:throw new Kc(s)}}}function ZT(e,t,r){let n=r,i=!1;function s(a){if(i)return!1;let o=t(a);o!==void 0&&(i=!0,n=o)}return Xy(e,s),n}function n$(e){if(e.type===Vn&&e.break||e.type===cn&&e.hard||e.type===hs)return!0}function Jr(e){return ZT(e,n$,!1)}function Wk(e){if(e.length>0){let t=kt(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function i$(e){let t=new Set,r=[];function n(s){if(s.type===hs&&Wk(r),s.type===Vn){if(r.push(s),t.has(s))return!1;t.add(s)}}function i(s){s.type===Vn&&r.pop().break&&Wk(r)}Xy(e,n,i,!0)}function s$(e){return e.type===cn&&!e.hard?e.soft?"":" ":e.type===_i?e.flatContents:e}function Sm(e){return Du(e,s$)}function a$(e){switch(Xs(e)){case Js:{let{parts:t}=e;if(t.every(r=>r===""))return"";if(t.length===1)return t[0];break}case Vn:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Vn&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Xa:case Ka:case Qa:case Za:if(!e.contents)return"";break;case _i:if(!e.flatContents&&!e.breakContents)return"";break;case ls:{let t=[];for(let r of e){if(!r)continue;let[n,...i]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof kt(0,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case Ja:case mu:case Ya:case Ks:case cn:case ps:case hs:break;default:throw new Kc(e)}return e}function Yy(e){return Du(e,t=>a$(t))}function za(e,t=Qy){return Du(e,r=>typeof r=="string"?Tt(t,r.split(`
- `)):r)}function o$(e){if(e.type===cn)return!0}function u$(e){return ZT(e,o$,!1)}function ev(e,t){return e.type===ps?{...e,contents:t(e.contents)}:t(e)}function l$(e){let t=!0;return Xy(e,r=>{switch(Xs(r)){case Ja:if(r==="")break;case Ya:case Ks:case cn:case hs:return t=!1,!1}}),t}var Pi=Wa,tv=Wa,c$=Wa,p$=Wa;function ke(e){return Pi(e),{type:Ka,contents:e}}function Tn(e,t){return p$(e),Pi(t),{type:Xa,contents:t,n:e}}function h$(e){return Tn(Number.NEGATIVE_INFINITY,e)}function d$(e){return Tn({type:"root"},e)}function rv(e){return Tn(-1,e)}function f$(e,t,r){Pi(e);let n=e;if(t>0){for(let i=0;i<Math.floor(t/r);++i)n=ke(n);n=Tn(t%r,n),n=Tn(Number.NEGATIVE_INFINITY,n)}return n}var cs={type:hs},Fm={type:mu};function nv(e){return c$(e),{type:Js,parts:e}}function ce(e,t={}){return Pi(e),tv(t.expandedStates,!0),{type:Vn,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Va(e,t){return ce(e[0],{...t,expandedStates:e})}function Et(e,t="",r={}){return Pi(e),t!==""&&Pi(t),{type:_i,breakContents:e,flatContents:t,groupId:r.groupId}}function Xc(e,t){return Pi(e),{type:Qa,contents:e,groupId:t.groupId,negate:t.negate}}function Tt(e,t){Pi(e),tv(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}function np(e,t){return Pi(t),e?{type:ps,label:e,contents:t}:t}var Ve={type:cn},Ce={type:cn,soft:!0},iv={type:cn,hard:!0},be=[iv,cs],m$={type:cn,hard:!0,literal:!0},Qy=[m$,cs];function Gk(e){return Pi(e),{type:Za,contents:e}}var vn={type:Ks},D$="cr",y$="crlf",g$="\r",x$=`\r
- `,E$=`
- `,C$=E$;function F$(e){return e===D$?g$:e===y$?x$:C$}var A$=()=>/[#*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,b$=12288,k$=65510,T$=[12288,12288,65281,65376,65504,65510],v$=4352,S$=262141,sv=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],av=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){let i=Math.floor((r+n)/2),s=i*2;if(t<e[s])n=i-1;else if(t>e[s+1])r=i+1;else return!0}return!1},Jk=19968,[w$,_$]=B$(sv);function B$(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){let i=e[n],s=e[n+1];if(Jk>=i&&Jk<=s)return[i,s];s-i>r-t&&(t=i,r=s)}return[t,r]}var P$=e=>e<b$||e>k$?!1:av(T$,e),I$=e=>e>=w$&&e<=_$?!0:e<v$||e>S$?!1:av(sv,e),N$=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC3F\uDC41\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])$/,L$=e=>N$.test(e),O$=/[^\x20-\x7F]/;function M$(e){if(!e)return 0;if(!O$.test(e))return e.length;let t=0;e=e.replace(A$(),r=>(t+=L$(r)?1:2,""));for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(t+=P$(n)||I$(n)?2:1)}return t}var du=M$,R$={type:0},j$={type:1},ov={value:"",length:0,queue:[],get root(){return ov}};function uv(e,t,r){let n=t.type===1?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,a=0,o=0;for(let D of n)switch(D.type){case 0:c(),r.useTabs?u(1):h(r.tabWidth);break;case 3:{let{string:g}=D;c(),i+=g,s+=g.length;break}case 2:{let{width:g}=D;a+=1,o+=g;break}default:throw new Error(`Unexpected indent comment '${D.type}'.`)}return d(),{...e,value:i,length:s,queue:n};function u(D){i+=" ".repeat(D),s+=r.tabWidth*D}function h(D){i+=" ".repeat(D),s+=D}function c(){r.useTabs?p():d()}function p(){a>0&&u(a),f()}function d(){o>0&&h(o),f()}function f(){a=0,o=0}}function q$(e,t,r){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let n;return typeof t=="number"?t<0?n=j$:n={type:2,width:t}:n={type:3,string:t},uv(e,n,r)}function U$(e,t){return uv(e,R$,t)}function V$(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n===" "||n===" ")t++;else break}return t}function lv(e){let t=V$(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var $$=class{#e=[];#t="";#n=0;#i=[];#r=[];#s(){let e=this.#t;e!==""&&(this.#e.push(e),this.#n+=e.length,this.#t="");for(let t of this.#r)this.#i.push(Math.min(t,this.#n));this.#r.length=0}markPosition(){if(this.#i.length+this.#r.length>=2)throw new Error("There are too many 'cursor' in doc.");this.#r.push(this.#n+this.#t.length)}write(e){this.#t+=e}trim(){let{text:e,count:t}=lv(this.#t);return this.#t=e,this.#s(),t}finish(){return this.#s(),{text:this.#e.join(""),positions:this.#i}}},z$=$$,Un=Symbol("MODE_BREAK"),vi=Symbol("MODE_FLAT"),Cy=Symbol("DOC_FILL_PRINTED_LENGTH");function Am(e,t,r,n,i,s){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,o=!1,u=[e],h="";for(;r>=0;){if(u.length===0){if(a===0)return!0;u.push(t[--a]);continue}let{mode:c,doc:p}=u.pop(),d=Xs(p);switch(d){case Ja:p&&(o&&(h+=" ",r-=1,o=!1),h+=p,r-=du(p));break;case ls:case Js:{let f=d===ls?p:p.parts,D=p[Cy]??0;for(let g=f.length-1;g>=D;g--)u.push({mode:c,doc:f[g]});break}case Ka:case Xa:case Qa:case ps:u.push({mode:c,doc:p.contents});break;case Ya:{let{text:f,count:D}=lv(h);h=f,r+=D;break}case Vn:{if(s&&p.break)return!1;let f=p.break?Un:c,D=p.expandedStates&&f===Un?kt(0,p.expandedStates,-1):p.contents;u.push({mode:f,doc:D});break}case _i:{let f=(p.groupId?i[p.groupId]||vi:c)===Un?p.breakContents:p.flatContents;f&&u.push({mode:c,doc:f});break}case cn:if(c===Un||p.hard)return!0;p.soft||(o=!0);break;case Za:n=!0;break;case Ks:if(n)return!1;break}}return!1}function cv(e,t){let r=Object.create(null),n=t.printWidth,i=F$(t.endOfLine),s=0,a=[{indent:ov,mode:Un,doc:e}],o=!1,u=[],h=new z$;for(i$(e);a.length>0;){let{indent:D,mode:g,doc:x}=a.pop();switch(Xs(x)){case Ja:{let A=i!==`
- `?Cr(0,x,`
- `,i):x;A&&(h.write(A),a.length>0&&(s+=du(A)));break}case ls:for(let A=x.length-1;A>=0;A--)a.push({indent:D,mode:g,doc:x[A]});break;case mu:h.markPosition();break;case Ka:a.push({indent:U$(D,t),mode:g,doc:x.contents});break;case Xa:a.push({indent:q$(D,x.n,t),mode:g,doc:x.contents});break;case Ya:s-=h.trim();break;case Vn:{let A=(function(){if(g===vi&&!o)return{indent:D,mode:x.break?Un:vi,doc:x.contents};o=!1;let C=n-s,k=u.length>0,P={indent:D,mode:vi,doc:x.contents};if(!x.break&&Am(P,a,C,k,r))return P;if(!x.expandedStates)return{indent:D,mode:Un,doc:x.contents};if(!x.break)for(let v=1;v<x.expandedStates.length-1;v++){let w={indent:D,mode:vi,doc:x.expandedStates[v]};if(Am(w,a,C,k,r))return w}return{indent:D,mode:Un,doc:kt(0,x.expandedStates,-1)}})();a.push(A),x.id&&(r[x.id]=A.mode);break}case Js:{let A=n-s,C=x[Cy]??0,{parts:k}=x,P=k.length-C;if(P===0)break;let v=k[C+0],w=k[C+1],I={indent:D,mode:vi,doc:v},O={indent:D,mode:Un,doc:v},R=Am(I,[],A,u.length>0,r,!0);if(P===1){R?a.push(I):a.push(O);break}let M={indent:D,mode:vi,doc:w},W={indent:D,mode:Un,doc:w};if(P===2){R?a.push(M,I):a.push(W,O);break}let K=k[C+2],H={indent:D,mode:g,doc:{...x,[Cy]:C+2}},Z=Am({indent:D,mode:vi,doc:[v,w,K]},[],A,u.length>0,r,!0);a.push(H),Z?a.push(M,I):R?a.push(W,I):a.push(W,O);break}case _i:case Qa:{let A=x.groupId?r[x.groupId]:g;if(A===Un){let C=x.type===_i?x.breakContents:x.negate?x.contents:ke(x.contents);C&&a.push({indent:D,mode:g,doc:C})}if(A===vi){let C=x.type===_i?x.flatContents:x.negate?ke(x.contents):x.contents;C&&a.push({indent:D,mode:g,doc:C})}break}case Za:u.push({indent:D,mode:g,doc:x.contents});break;case Ks:u.length>0&&a.push({indent:D,mode:g,doc:iv});break;case cn:switch(g){case vi:if(!x.hard){x.soft||(h.write(" "),s+=1);break}o=!0;case Un:if(u.length>0){a.push({indent:D,mode:g,doc:x},...u.reverse()),u.length=0;break}x.literal?(h.write(i),s=0,D.root&&(D.root.value&&h.write(D.root.value),s=D.root.length)):(h.trim(),h.write(i+D.value),s=D.length);break}break;case ps:a.push({indent:D,mode:g,doc:x.contents});break;case hs:break;default:throw new Kc(x)}a.length===0&&u.length>0&&(a.push(...u.reverse()),u.length=0)}let{text:c,positions:p}=h.finish();if(p.length!==2)return{formatted:c};let[d,f]=p;return{formatted:c,cursorNodeStart:d,cursorNodeText:c.slice(d,f)}}var wm=class extends Error{name="ArgExpansionBailout"};function Zy(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function H$(e,t){let r=null,n=t;for(;n!==r;)r=n,n=vU(e,n),n=Oy(e,n),n=pu(e,n);return n=My(e,n),n=hu(e,n),n!==!1&&hr(e,n)}var _m=H$,Ii=(e,{originalText:t})=>{let r=it(e);if(_m(t,r))return!0;let n=Nm(e);return n===r?!1:_m(t,n)},W$=nt(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),pv=W$,G$=nt(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function J$({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var hv=J$;function eg(e){return hv(e)||pv(e)||G$(e)||e.type==="GenericTypeAnnotation"&&!e.typeParameters||e.type==="TSTypeReference"&&!e.typeArguments}function K$(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!Lm(e,e.typeAnnotation)}function X$(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let i=r[n];if(n===0)return e.type==="Identifier"&&e.name===i;if(n===1&&e.type==="MetaProperty"&&e.property.type==="Identifier"&&e.property.name===i){e=e.meta;continue}if(e.type==="MemberExpression"&&!e.optional&&!e.computed&&e.property.type==="Identifier"&&e.property.name===i){e=e.object;continue}return!1}}function tg(e,t){return t.some(r=>X$(e,r))}var Y$=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.fixme","test.step","test.describe","test.describe.only","test.describe.skip","test.describe.fixme","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Q$(e){return tg(e,Y$)}function Z$(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}function oy(e){return Ot(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}function ez(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function jm(e,t){if(e?.type!=="CallExpression"||e.optional)return!1;let r=zn(e);if(r.length===1){if(oy(e)&&jm(t))return Gc(r[0]);if(Z$(e.callee))return oy(r[0])}else if((r.length===2||r.length===3)&&(r[0].type==="TemplateLiteral"||dr(r[0]))&&Q$(e.callee))return r[2]&&!Bi(r[2])?!1:(r.length===2?Gc(r[1]):ez(r[1])&&Xr(r[1]).length<=1)||oy(r[1]);return!1}function tz(e,t){let r=t-1;r=pu(e,r,{backwards:!0}),r=hu(e,r,{backwards:!0}),r=pu(e,r,{backwards:!0});let n=hu(e,r,{backwards:!0});return r!==n}var dv=tz,rg=()=>!0;function ng(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function rz(e,t){let r=e.node,n=[ng(e,t)],{printer:i,originalText:s,locStart:a,locEnd:o}=t;if(i.isBlockComment?.(r)){let h=" ";hr(s,o(r))&&(hr(s,a(r),{backwards:!0})?h=be:h=Ve),n.push(h)}else n.push(be);let u=hu(s,pu(s,o(r)));return u!==!1&&hr(s,u)&&n.push(be),n}function nz(e,t,r){let n=e.node,i=ng(e,t),{printer:s,originalText:a,locStart:o}=t,u=s.isBlockComment?.(n);if(r?.hasLineSuffix&&!r?.isBlock||hr(a,o(n),{backwards:!0})){let h=dv(a,o(n));return{doc:Gk([be,h?be:"",i]),isBlock:u,hasLineSuffix:!0}}return!u||r?.hasLineSuffix?{doc:[Gk([" ",i]),cs],isBlock:u,hasLineSuffix:!0}:{doc:[" ",i],isBlock:u,hasLineSuffix:!1}}function ir(e,t,r={}){let{indent:n=!1,marker:i,filter:s=rg}=r,a=new Set(e.node?.comments?.filter(h=>!(h.leading||h.trailing||h.marker!==i||!s(h))));if(a.size===0)return"";let o=e.map(({node:h})=>a.has(h)?ng(e,t):"","comments").filter(Boolean),u=Tt(be,o);return n?ke([be,u]):u}function ig(e,t,r){let n=t[Symbol.for("printedComments")],i=r?.filter??rg,s=new Set(e.node?.comments?.filter(a=>!n?.has(a)&&a.leading&&i(a)));return s.size===0?"":e.map(({node:a})=>s.has(a)?rz(e,t):"","comments").filter(Boolean)}function fv(e,t,r){let n=e.node?.comments,i=new Set(n?.filter(c=>c.trailing)),s=t[Symbol.for("printedComments")],a=r?.filter??rg,o=new Set(n?.filter(c=>i.has(c)&&!s?.has(c)&&a(c)));if(o.size===0)return"";let u=[],h;return e.each(({node:c})=>{i.has(c)&&(h=nz(e,t,h),o.has(c)&&u.push(h.doc))},"comments"),u}function mv(e,t,r){return{leading:ig(e,t,r),trailing:fv(e,t,r)}}function Vr(e,t,r,n){let i=ig(e,r,n),s=fv(e,r,n);return i||s?ev(t,a=>[i,a,s]):t}function Dv(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function Kr(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":Ot(t)||jt(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function yv(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var iz=nt(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]),sz=e=>{let{node:t}=e;return iz(t)?e.parent.type!=="DeclareExportDeclaration"&&!t.implicitDeclare:t.declare};function Sn(e){return sz(e)?"declare ":""}var az=nt(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function qm({node:e}){return e.abstract||az(e)?"abstract ":""}function Um(e){return e.accessibility?e.accessibility+" ":""}var Kk=e=>e.type==="UnaryExpression"&&e.operator==="!";function oz(e){return je(e)||!Kk(e)?!1:(e=e.argument,e=Kk(e)?e.argument:e,e.type==="LogicalExpression")}function sg(e,t,r){let{node:n}=e,i=n.type==="WithStatement"?"object":"test",s=r(i);return oz(n[i])?s:ce([ke([Ce,s]),Ce])}function Vm(e,t,r){let{node:n}=e;return je(n,We.Dangling,r)?[ke([Ce,ir(e,t,{filter:r})]),je(n,We.Dangling|We.Line,r)?be:Ce]:""}function Ys(e,t="es5"){return Dv(e,t)?Et(","):""}function Xt(e){return e.semi?";":""}var uz=e=>e.mark!=="commentBeforeArrow";function eo(e,t,r,n,i){let s=e.node,a=Xr(s),o=i&&s.typeParameters?r("typeParameters"):"";if(a.length===0)return[o,"(",Vm(e,t,uz),")"];let{parent:u}=e,h=jm(u),c=gv(s),p=[];if(nU(e,(f,D)=>{let g=D===a.length-1;g&&s.rest&&p.push("..."),p.push(r()),!g&&(p.push(","),h||c?p.push(" "):Ii(a[D],t)?p.push(be,be):p.push(Ve))}),n&&!cz(e)){if(Jr(o)||Jr(p))throw new wm;return ce([Sm(o),"(",Sm(p),")"])}let d=a.every(f=>!qt(f.decorators));return c&&d?[o,"(",...p,")"]:h?[o,"(",...p,")"]:(Zy(u)||K$(u)||u.type==="TypeAlias"||u.type==="UnionTypeAnnotation"||u.type==="IntersectionTypeAnnotation"||u.type==="FunctionTypeAnnotation"&&u.returnType===s)&&a.length===1&&a[0].name===null&&s.this!==a[0]&&a[0].typeAnnotation&&s.typeParameters===null&&eg(a[0].typeAnnotation)&&!s.rest?t.arrowParens==="always"||s.type==="HookTypeAnnotation"?["(",...p,")"]:p:[o,"(",ke([Ce,...p]),!iU(s)&&e.root.type!=="NGRoot"?Ys(t,"all"):"",Ce,")"]}function gv(e){if(!e)return!1;let t=Xr(e);if(t.length!==1)return!1;let[r]=t;return!je(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&$s(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&$s(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||ii(r.right)&&r.right.properties.length===0||Ir(r.right)&&r.right.elements.length===0))}function lz(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function ip(e,t){let r=lz(e);if(!r)return!1;let n=e.typeParameters?.params;if(n){if(n.length>1)return!1;if(n.length===1){let i=n[0];if(i.constraint||i.default)return!1}}return Xr(e).length===1&&($s(r)||Jr(t))}function cz(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function pz(e){let t=Xr(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}function Hc(e,t){return(t==="params"||t==="this"||t==="rest")&&gv(e)}var hz=/^[\$A-Z_a-z\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,dz=e=>hz.test(e),fz=dz;function mz(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var Yc=mz,xv=Object.freeze({character:"'",codePoint:39}),Ev=Object.freeze({character:'"',codePoint:34}),Dz=Object.freeze({preferred:xv,alternate:Ev}),yz=Object.freeze({preferred:Ev,alternate:xv});function Cv(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?Dz:yz,{length:i}=e,s=0,a=0;for(let o=0;o<i;o++){let u=e.charCodeAt(o);u===r.codePoint?s++:u===n.codePoint&&a++}return(s>a?n:r).character}var gz=/\\(["'\\])|(["'])/g;function xz(e,t){let r=t==='"'?"'":'"',n=Cr(0,e,gz,(i,s,a)=>s?s===r?r:i:a===t?"\\"+a:a);return t+n+t}var Ez=xz;function Cz(e,t){Wa(/^(?<quote>["']).*\k<quote>$/s.test(e));let r=e.slice(1,-1),n;return t.parser==="json"||t.parser==="jsonc"||t.parser==="json-stringify"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?n='"':t.__isInHtmlAttribute?n="'":n=Cv(r,t.singleQuote),e.charAt(0)===n?e:Ez(r,n)}var Ha=Cz,Fv=e=>e.type==="TSEnumMember",Av=e=>Fv(e)?"id":"key",Qc=e=>e[Av(e)],bv=e=>!Fv(e)&&e.computed;function kv(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}var Fz=({parser:e})=>e==="typescript"||e==="babel-ts"||e==="oxc-ts"||e==="yuku-ts";function Az(e,t){let r=Qc(e);if(r.type==="Identifier")return!0;if(!Bi(r)||Fz(t))return!1;let n=Yc(An(r));return String(r.value)===n&&kv(n)}function Tv(e,t){let{parser:r}=t;if(r==="json"||r==="jsonc")return!1;let n=Qc(e);if(!dr(n))return!1;let{value:i}=n;return Ha(An(n),t).slice(1,-1)!==i||e.type==="TSMethodSignature"&&i==="new"?!1:!!(!(r==="babel-ts"&&e.type==="ClassProperty"||(r==="typescript"||r==="oxc-ts"||r==="yuku-ts")&&e.type==="PropertyDefinition")&&fz(i)||(r==="babel"||r==="acorn"||r==="oxc"||r==="yuku"||r==="espree"||r==="meriyah"||r==="__babel_estree")&&e.type!=="ImportAttribute"&&kv(i)&&String(Number(i))===i)}var bz=new WeakMap;function vv(e,t){return $n(bz,e.parent,()=>e.siblings.some(r=>{if(bv(r))return!1;let n=Qc(r);return dr(n)&&!Tv(r,t)}))}function kz(e,t){return(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&vv(e,t))&&Az(e.node,t)}function Tz(e,t){return(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!vv(e,t))&&Tv(e.node,t)}function zs(e,t,r){let{node:n}=e,i=Av(n);if(bv(n))return["[",r(i),"]"];if(kz(e,t)){let s=Qc(n),a=Ha(JSON.stringify(s.type==="Identifier"?s.name:String(s.value)),t);return e.call(()=>Vr(e,a,t),i)}if(Tz(e,t)){let{value:s}=Qc(n),a=/^\d/.test(s)?Yc(s):s;return e.call(()=>Vr(e,a,t),i)}return r(i)}var vz=nt(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),Sz=nt(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function Sv(e){return e.key==="elementTypes"&&Iy(e.parent)&&e.parent.elementTypes.length>1}function $m(e){let{types:t}=e;if(t.some(n=>je(n)))return!1;let r=t.find(n=>Sz(n));return r?t.every(n=>n===r||vz(n)):!1}function wv(e){let{key:t,node:r,parent:n}=e;return!($m(r)||t==="types"&&kn(n)||t==="types"&&tp(n)||Sv(e))}function _v(e,t,r,n){let{node:i}=e;if($m(i))return Tt(" | ",e.map(r,"types"));let s=ce(e.map(({isFirst:a})=>{let o=a?Et("| "):[Ve,"| "],u=r();return je(e.node,We.Leading)?[o,Tn(2,Vr(e,u,t))]:[o,Vr(e,Tn(2,u),t)]},"types"));return wv(e)&&(s=Vr(e,s,t)),Fn(e,t)?ce([ke([Ce,s]),Ce]):Sv(e)?ce([ke([Et(["(",Ce]),s]),Ce,Et(")")]):n?.assignmentLayout==="break-after-operator"||!wz(e)?s:ce(ke([Ce,s]))}function wz(e){let{key:t,parent:r}=e;return!(t==="typeAnnotation"&&r.type==="TSTypeAssertion"||t==="elementTypes"&&Iy(r)||(t==="trueType"||t==="falseType")&&Vs(r)||t==="params"&&xU(r)||t==="typeAnnotation"&&r.type==="FunctionTypeParam"&&!r.name&&e.grandparent.this!==r||e.match(void 0,(n,i)=>i==="typeAnnotation"&&n.type==="FunctionTypeParam",(n,i)=>i==="params"&&n.type==="FunctionTypeAnnotation",(n,i)=>i==="value"&&n.type==="ObjectTypeProperty"&&Zy(n)))}function _z(e){return eg(e)||$s(e)?!0:kn(e)?$m(e):!1}var Bz=new WeakSet;function Pr(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let i=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let s=e.call(Bv,r);(s==="=>"||s===":"&&je(n,We.Leading))&&(i=!0),Bz.add(n)}return i?[" ",t(r)]:t(r)}var Bv=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function Pv(e,t,r){let n=Bv(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}var Pz=({node:e,key:t,parent:r})=>t==="value"&&e.type==="FunctionExpression"&&(r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="ClassPrivateMethod"||r.type==="MethodDefinition"||r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"||r.type==="Property"&&fu(r));function ag(e,t,r,n){if(Pz(e))return og(e,t,r);let{node:i}=e,s=!1;if(i.type==="FunctionExpression"&&n?.expandLastArg){let{parent:c}=e;Ot(c)&&(zn(c).length>1||Xr(i).every(p=>p.type==="Identifier"&&!p.typeAnnotation))&&(s=!0)}let a=eo(e,t,r,s),o=ug(e,r),u=ip(i,o),h=i.type==="HookDeclaration"?"hook":"function";return[Sn(e),i.async?"async ":"",h,i.generator?"*":""," ",i.id?r("id"):"",r("typeParameters"),ce([u?ce(a):a,o]),i.body?" ":"",r("body"),i.declare||!i.body?Xt(t):""]}function Fy(e,t,r){let{node:n}=e,{kind:i}=n,s=n.value||n,a=[];return!i||i==="init"||i==="method"||i==="constructor"?s.async&&a.push("async "):(Wa(i==="get"||i==="set"),a.push(i," ")),s.generator&&a.push("*"),a.push(zs(e,t,r),n.optional?"?":"",n===s?og(e,t,r):r("value")),a}function og(e,t,r){let{node:n}=e,i=eo(e,t,r),s=ug(e,r),a=pz(n),o=ip(n,s),u=[r("typeParameters"),ce([a?ce(i,{shouldBreak:!0}):o?ce(i):i,s])];return n.body?u.push(" ",r("body")):u.push(Xt(t)),u}function Iz(e){let t=Xr(e);return t.length===1&&!e.typeParameters&&!je(e,We.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!je(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function Iv(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Iz(r)}return!1}function ug(e,t){let{node:r}=e,n=[Pr(e,t,"returnType")];return r.predicate&&n.push(t("predicate")),n}function lg(e,t){if(t.semi)return!1;let{node:r}=e;if(r.type!=="ExpressionStatement"||Lv(e,t)||Mv(e,t)||Ov(e,t))return!1;let{key:n,parent:i}=e;return!!((n==="body"&&(i.type==="Program"||i.type==="BlockStatement"||i.type==="StaticBlock"||i.type==="TSModuleBlock")||n==="consequent"&&i.type==="SwitchCase")&&e.call(()=>Nv(e,t),"expression"))}function Nv(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"TSTypeAssertion":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!Iv(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:i}=r;if(n&&(i==="+"||i==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(Fr(r))return!0}return Fn(e,t)?!0:Ky(r)?e.call(()=>Nv(e,t),...JT(r)):!1}var cg=({node:e,parent:t})=>e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1&&(Array.isArray(t.directives)&&t.directives.length===0||!t.directives);function Lv(e,t){return(t.parentParser==="markdown"||t.parentParser==="mdx")&&cg(e)&&Fr(e.node.expression)}function Ov(e,t){return t.__isHtmlInlineEventHandler&&cg(e)}function Mv(e,t){return(t.parser==="__vue_event_binding"||t.parser==="__vue_ts_event_binding")&&cg(e)}function Rv(e,t){if(!lg(e,t))return!1;let r=kt(0,bn(e.node,We.Leading),-1);return!!(r&&Ry(r))}var Nz=nt(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Lz(e,t){let{key:r,parent:n}=e;if(r==="types"&&kn(n)||r==="argument"&&n.type==="JSXSpreadAttribute"||r==="expression"&&n.type==="JSXSpreadChild"||r==="superClass"&&(n.type==="ClassDeclaration"||n.type==="ClassExpression")||(r==="id"||r==="typeParameters")&&Nz(n)||r==="patterns"&&n.type==="MatchOrPattern"||zT(e))return!0;let{node:i}=e;return Rm(i)?!1:i.type==="ExpressionStatement"?Rv(e,t):kn(i)?wv(e):!!Fr(i)}var Oz=Lz;function Mz(e,t,r=0){let n=0;for(let i=r;i<e.length;++i)e[i]===" "?n=n+t-n%t:n++;return n}var Rz=Mz;function jz(e,t){let r=e.lastIndexOf(`
- `);return r===-1?0:Rz(e.slice(r+1).match(/^[\t ]*/)[0],t)}var qz=jz;function jv(e,t,r){if(Hz(e)){let s=Vz(e,t,r);if(s)return s}let n=Uv(e,t,r),i=e.map(({isLast:s,index:a})=>[r(),s?"":n[a]],"quasis");return[vn,"`",...i,"`"]}function Uz(e,t,r){let n=r("quasi"),{node:i}=e,s="",a=bn(i.quasi,We.Leading)[0];return a&&(ln(t.originalText,it(i.typeArguments??i.tag),ht(a))?s=Ce:s=" "),np(n.label&&{tagged:!0,...n.label},[r("tag"),r("typeArguments"),s,vn,n])}function Vz(e,t,r){let{node:n}=e,i=n.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(s=>s.length>0)){t.__inJestEach=!0;let s=Uv(e,t,r);t.__inJestEach=!1;let a=s.map(p=>cv(p,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted),o=[{hasLineBreak:!1,cells:[]}];for(let p=1;p<n.quasis.length;p++){let d=kt(0,o,-1),f=a[p-1];d.cells.push(f),f.includes(`
- `)&&(d.hasLineBreak=!0),n.quasis[p].value.raw.includes(`
- `)&&o.push({hasLineBreak:!1,cells:[]})}let u=Math.max(i.length,...o.map(p=>p.cells.length)),h=Array.from({length:u},()=>0),c=[{cells:i},...o.filter(p=>p.cells.length>0)];for(let p of c)if(!p.hasLineBreak)for(let[d,f]of p.cells.entries())h[d]=Math.max(h[d],du(f));return[vn,"`",ke([be,Tt(be,c.map(p=>Tt(" | ",p.cells.map((d,f)=>p.hasLineBreak?d:d+" ".repeat(h[f]-du(d))))))]),be,"`"]}}var $z=new WeakMap;function zz(e,t){let{parent:r,index:n}=e;return $n($z,r,i=>{let{tabWidth:s}=t,a=0;return i.quasis.map(o=>{let u=o.value.raw,h=u.includes(`
- `)?qz(u,s):a;return a=h,{indentSize:h,previousQuasiText:u}})})[n]}function qv(e,t,r,n=!0){let{node:i,index:s}=e,a=r(),o=e.parent,{quasis:u}=o,h=it(u[s]),c=ht(u[s+1]),p=ln(t.originalText,h,c);if(!p){let D=cv(a,{...t,printWidth:Number.POSITIVE_INFINITY}).formatted;D.includes(`
- `)?p=!0:a=D}if(p&&(je(i)||i.type==="Identifier"||jt(Gs(i))||i.type==="ConditionalExpression"||i.type==="SequenceExpression"||ni(i)||us(i))&&(a=[ke([Ce,a]),Ce]),!n)return ce(["${",a,vn,"}"]);let{indentSize:d,previousQuasiText:f}=zz(e,t);return t.__inJestEach&&(d=Math.max(d,t.tabWidth)),a=d===0&&f.endsWith(`
- `)?Tn(Number.NEGATIVE_INFINITY,a):f$(a,d,t.tabWidth),ce(["${",a,vn,"}"])}function Uv(e,t,r){return e.map(()=>qv(e,t,r),e.node.type==="TSTemplateLiteralType"?"types":"expressions")}function pg(e,t,r){return e.map(()=>qv(e,t,r,!1),"expressions")}function Vv(e,t){return Du(e,r=>typeof r=="string"?t?Cr(0,r,/(\\*)`/g,"$1$1\\`"):$v(r):r)}function $v(e){return Cr(0,e,/([\\`]|\$\{)/g,"\\$1")}var Xk=/^[fx]?(?:describe|it|test)$/;function Hz({node:e,parent:t}){return e.type==="TemplateLiteral"&&t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&Xk.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&Xk.test(t.tag.object.object.name))}var Ay=[(e,t)=>t==="properties"&&e.type==="ObjectExpression",(e,t)=>t==="arguments"&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component",(e,t)=>t==="expression"&&e.type==="Decorator"];function Wz(e){let t=n=>n.type==="TemplateLiteral",r=(n,i)=>Ws(n)&&!n.computed&&n.key.type==="Identifier"&&n.key.name==="styles"&&i==="value";return e.match(t,(n,i)=>Ir(n)&&i==="elements",r,...Ay)||e.match(t,r,...Ay)}function Gz(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>Ws(t)&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...Ay)}function uy(e,t){return je(e,We.Block|We.Leading,({value:r})=>r===` ${t} `)}function zv({node:e,parent:t},r){return uy(e,r)||Jz(t)&&uy(t,r)||t.type==="ExpressionStatement"&&uy(t,r)}function Jz(e){return e.type==="AsConstExpression"||e.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const"}async function Kz(e,t,r,n){let{node:i}=r,s="";for(let[h,c]of i.quasis.entries()){let{raw:p}=c.value;h>0&&(s+="@prettier-placeholder-"+(h-1)+"-id"),s+=p}let a=await e(s,{parser:"scss"}),o=pg(r,n,t),u=Xz(a,o);if(!u)throw new Error("Couldn't insert all the expressions");return["`",ke([be,u]),Ce,"`"]}function Xz(e,t){if(!qt(t))return e;let r=0,n=Du(Yy(e),i=>typeof i!="string"||!i.includes("@prettier-placeholder")?i:i.split(/@prettier-placeholder-(\d+)-id/).map((s,a)=>a%2===0?za(s):(r++,t[s])));return t.length===r?n:null}function Yz(e){return e.match(void 0,(t,r)=>r==="quasi"&&t.type==="TaggedTemplateExpression"&&tg(t.tag,["css","css.global","css.resolve"]))||e.match(void 0,(t,r)=>r==="expression"&&t.type==="JSXExpressionContainer",(t,r)=>r==="children"&&t.type==="JSXElement"&&t.openingElement.name.type==="JSXIdentifier"&&t.openingElement.name.name==="style"&&t.openingElement.attributes.some(n=>n.type==="JSXAttribute"&&n.name.type==="JSXIdentifier"&&n.name.name==="jsx"))}function bm(e){return e.type==="Identifier"&&e.name==="styled"}function Yk(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}function Qz({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return bm(t.object)||Yk(t);case"CallExpression":return bm(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(bm(t.callee.object.object)||Yk(t.callee.object))||t.callee.object.type==="CallExpression"&&bm(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function Zz({parent:e,grandparent:t}){return t?.type==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}var eH=e=>Yz(e)||Qz(e)||Zz(e)||Wz(e);async function tH(e,t,r,n){let{node:i}=r,s=i.quasis.length,a=pg(r,n,t),o=[];for(let u=0;u<s;u++){let h=i.quasis[u],c=u===0,p=u===s-1,d=h.value.cooked,f=d.split(`
- `),D=f.length;if(!p&&/#[^\n\r]*$/.test(f[D-1]))return null;let g=D>2&&f[0].trim()===""&&f[1].trim()==="",x=D>2&&f[D-1].trim()===""&&f[D-2].trim()==="",A=f.every(k=>/^\s*(?:#[^\n\r]*)?$/.test(k)),C;A?C=rH(f):C=await e(d,{parser:"graphql"}),C?(C=Vv(C,!1),!c&&g&&o.push(""),o.push(C),!p&&x&&o.push("")):!c&&!p&&g&&o.push(""),p||o.push(a[u])}return["`",ke([be,Tt(be,o)]),be,"`"]}function rH(e){let t=[],r=!1,n=e.map(i=>i.trim());for(let[i,s]of n.entries())s!==""&&(n[i-1]===""&&r?t.push([be,s]):t.push(s),r=!0);return t.length===0?null:Tt(be,t)}function nH({node:e,parent:t}){return zv({node:e,parent:t},"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}var ly=0;async function Hv(e,t,r,n,i){let{node:s}=n,a=ly;ly=ly+1>>>0;let o=A=>`PRETTIER_HTML_PLACEHOLDER_${A}_${a}_IN_JS`,u=s.quasis.map((A,C,k)=>C===k.length-1?A.value.cooked:A.value.cooked+o(C)).join(""),h=pg(n,i,r),c=new RegExp(o("(\\d+)"),"g"),p=0,d=await t(u,{parser:e,__onHtmlRoot(A){p=A.children.length}}),f=Du(d,A=>{if(typeof A!="string")return A;let C=[],k=A.split(c);for(let P=0;P<k.length;P++){let v=k[P];if(P%2===0){v&&(v=$v(v),i.__embeddedInHtml&&(v=Cr(0,v,/<\/(?=script\b)/gi,"<\\/")),C.push(v));continue}let w=Number(v);C.push(h[w])}return C}),D=/^\s/.test(u)?" ":"",g=/\s$/.test(u)?" ":"",x=i.htmlWhitespaceSensitivity==="ignore"?be:D&&g?Ve:null;return x?ce(["`",ke([x,ce(f)]),x,"`"]):np({hug:!1},ce(["`",D,p>1?ke(ce(f)):ce(f),g,"`"]))}function iH(e){return zv(e,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}var sH=Hv.bind(void 0,"html"),aH=Hv.bind(void 0,"angular");async function oH(e,t,r){let{node:n}=r,i=Cr(0,n.quasis[0].value.raw,/((?:\\\\)*)\\`/g,(u,h)=>"\\".repeat(h.length/2)+"`"),s=uH(i),a=s!=="";a&&(i=Cr(0,i,new RegExp(`^${s}`,"gm"),""));let o=Vv(await e(i,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",a?ke([Ce,o]):[Qy,h$(o)],Ce,"`"]}function uH(e){let t=e.match(/^([^\S\n]*)\S/m);return t===null?"":t[1]}function lH({node:e,parent:t}){return t?.type==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var cH=[{test:eH,print:Kz},{test:nH,print:tH},{test:iH,print:sH},{test:Gz,print:aH},{test:lH,print:oH}].map(({test:e,print:t})=>({test:e,print:hH(t)}));function pH(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||dH(t))return;let r=cH.find(({test:n})=>n(e));if(r)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":r.print}function hH(e){return async(...t)=>{let r=await e(...t);return r&&np({embed:!0,...r.label},r)}}function dH({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var fH=pH;function mH(e,t){e.type==="ChainExpression"?DH(t):(e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression")&&yH(t)}function Wv(e){if(jt(e))return"object";if(Ot(e))return"callee";if(Ga(e))return"expression"}function Bm(e){let t=Wv(e);if(t)return e[t]}function DH(e){for(e=Bm(e);e.type==="MemberExpression"||e.type==="CallExpression"||e.type==="TSNonNullExpression";e=Bm(e)){let t=Wv(e),r=e[t];r.type==="ChainExpression"&&(e[t]=r.expression)}}function yH(e){for(e=Bm(e);e.type==="MemberExpression"||e.type==="CallExpression";e=Bm(e))e.type=`Optional${e.type}`}function Qk(e,t,r){let n=t[r];(dr(n)||Bi(n))&&(e[r]=String(n.value)),n.type==="Identifier"&&(e[r]=n.name)}function gH(e,t){(e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="TSMethodSignature"||e.type==="ObjectTypeProperty"||e.type==="ImportAttribute"||e.type==="RecordDeclarationProperty"||e.type==="RecordDeclarationStaticProperty")&&!e.computed&&Qk(t,e,"key"),e.type==="TSEnumMember"&&Qk(t,e,"id")}function xH(e,t){e.type==="RegExpLiteral"&&(t.flags=[...e.flags].sort().join("")),e.type==="Literal"&&"regex"in e&&(t.regex.flags=[...e.regex.flags].sort().join(""))}var EH=new Set(["range","raw","comments","extra","start","end","loc","errors","tokens","trailingComma","docblock","__contentEnd"]),ou=e=>{for(let t of e.quasis)delete t.value};function Gv(e,t,r){if(e.type==="Program"&&delete t.sourceType,mH(e,t),gH(e,t),xH(e,t),(fU(e)||e.type==="BigIntLiteralTypeAnnotation")&&"bigint"in e&&(t.bigint=e.bigint.toLowerCase()),e.type==="EmptyStatement"&&!Py({node:e,parent:r})||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if(e.type==="JSXElement"&&e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.type==="JSXAttribute"&&i.name.name==="jsx"))for(let{type:i,expression:s}of t.children)i==="JSXExpressionContainer"&&s.type==="TemplateLiteral"&&ou(s);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&ou(t.value.expression),e.type==="JSXAttribute"&&dr(e.value)&&/["']|"|'/.test(e.value.value)&&(t.value.value=Cr(0,e.value.value,/["']|"|'/g,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[s,a]of t.expression.arguments[0].properties.entries())switch(i[s].key.name){case"styles":Ir(a.value)&&ou(a.value.elements[0]);break;case"template":a.value.type==="TemplateLiteral"&&ou(a.value);break}}e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&ou(t.quasi),(e.type==="CallExpression"||e.type==="MemberExpression")&&!e.optional&&delete t.optional,e.type==="TemplateLiteral"&&ou(t)}Gv.ignoredProperties=EH;var CH=/\*\/$/,FH=/^\/\*\*?/,Jv=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,AH=/(^|\s+)\/\/([^\n\r]*)/g,Zk=/^(\r?\n)+/,bH=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,eT=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,kH=/(\r?\n|^) *\* ?/g,Kv=[];function TH(e){let t=e.match(Jv);return t?t[0].trimStart():""}function vH(e){let t=e.match(Jv)?.[0];return t==null?e:e.slice(t.length)}function SH(e){e=Cr(0,e.replace(FH,"").replace(CH,""),kH,"$1");let t="";for(;t!==e;)t=e,e=Cr(0,e,bH,`
- $1 $2
- `);e=e.replace(Zk,"").trimEnd();let r=Object.create(null),n=Cr(0,e,eT,"").replace(Zk,"").trimEnd(),i;for(;i=eT.exec(e);){let s=Cr(0,i[2],AH,"");if(typeof r[i[1]]=="string"||Array.isArray(r[i[1]])){let a=r[i[1]];r[i[1]]=[...Kv,...Array.isArray(a)?a:[a],s]}else r[i[1]]=s}return{comments:n,pragmas:r}}function wH({comments:e="",pragmas:t={}}){let r=Object.keys(t),n=r.flatMap(s=>tT(s,t[s])).map(s=>` * ${s}
- `).join("");if(!e){if(r.length===0)return"";if(r.length===1&&!Array.isArray(t[r[0]])){let s=t[r[0]];return`/** ${tT(r[0],s)[0]} */`}}let i=e.split(`
- `).map(s=>` * ${s}`).join(`
- `)+`
- `;return`/**
- `+(e?i:"")+(e&&r.length>0?` *
- `:"")+n+" */"}function tT(e,t){return[...Kv,...Array.isArray(t)?t:[t]].map(r=>`@${e} ${r}`.trim())}var _H="format";function BH(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
- `);return t===-1?e:e.slice(0,t)}var PH=BH;function IH(e){let t=PH(e);t&&(e=e.slice(t.length+1));let r=TH(e),{pragmas:n,comments:i}=SH(r);return{shebang:t,text:e,pragmas:n,comments:i}}function NH(e){let{shebang:t,text:r,pragmas:n,comments:i}=IH(e),s=vH(r),a=wH({pragmas:{[_H]:"",...n},comments:i.trimStart()});return(t?`${t}
- `:"")+a+(s.startsWith(`
- `)?`
- `:`
-
- `)+s}function LH(e){if(!si(e))return[];if(!e.value.includes(`
- `))return[];let t=[];for(let r of`*${e.value}*`.split(`
- `)){if(r=r.trimStart(),!r.startsWith("*"))return[];t.push(r)}return t}var OH=new WeakMap;function Xv(e){return $n(OH,e,LH)}function Yv(e){return Xv(e).length>0}function MH(e,t){let r=e.node;if(Hs(r))return t.originalText.slice(ht(r),it(r)).trimEnd();if(Yv(r))return RH(r);if(si(r))return["/*",za(r.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(r))}function RH(e){let t=Xv(e),r=e.value[0]==="*"&&e.value[1]!=="*";return["/",t.map((n,i)=>{if(i===0)return[n.trimEnd(),be];if(i===t.length-1)return[" ",n];let s=n.trimEnd(),a=[" ",s];return r&&s!=="*"&&n.endsWith(" ")?[a," ",d$(Qy)]:[a,be]}),"/"]}function jH(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qH=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(kt(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${jH([...this.#e].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,r=>t.has(r))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
- `)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
- `).map(r=>r.slice(t)).join(`
- `)}},UH=qH,km=new UH(`
- \r `);function Zc(e){return e.type==="JSXText"&&(km.hasNonWhitespaceCharacter(An(e))||!/\n/.test(An(e)))}function VH(e){let{node:t,parent:r}=e;if(!Fr(t)||!Fr(r))return!1;let{index:n,siblings:i}=e,s;for(let a=n;a>0;a--){let o=i[a-1];if(!(o.type==="JSXText"&&!Zc(o))){s=o;break}}return s?.type==="JSXExpressionContainer"&&s.expression.type==="JSXEmptyExpression"&&Rm(s.expression)}function $H(e){return Rm(e.node)||VH(e)}var hg=$H,zH=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},yu=zH;function HH(e){return e.type==="CallExpression"&&!e.optional&&e.arguments.length===1&&e.callee.type==="Identifier"&&e.callee.name==="Boolean"}var WH=0;function Qv(e,t,r){let{node:n,parent:i,grandparent:s,key:a}=e,o=a!=="body"&&(i.type==="IfStatement"||i.type==="WhileStatement"||i.type==="SwitchStatement"||i.type==="DoWhileStatement"),u=n.operator==="|>"&&e.root.extra?.__isUsingHackPipeline,h=by(e,t,r,!1,o);if(o)return h;if(u)return ce(h);if(a==="callee"&&Jc(i)||i.type==="UnaryExpression"&&!je(n)||jt(i)&&!i.computed)return ce([ke([Ce,...h]),Ce]);let c=lu(i)||i.type==="JSXExpressionContainer"&&s.type==="JSXAttribute"||n.operator!=="|"&&i.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(i.type==="NGRoot"&&t.parser==="__ng_binding"||i.type==="NGMicrosyntaxExpression"&&s.type==="NGMicrosyntax"&&s.body.length===1)||n===i.body&&i.type==="ArrowFunctionExpression"||n!==i.body&&i.type==="ForStatement"||i.type==="ConditionalExpression"&&!lu(s)&&!Jc(s)||i.type==="TemplateLiteral"||a==="argument"&&i.type==="UnaryExpression"||a==="arguments"&&HH(i),p=i.type==="AssignmentExpression"||i.type==="VariableDeclarator"||i.type==="ClassProperty"||i.type==="PropertyDefinition"||i.type==="TSAbstractPropertyDefinition"||i.type==="ClassPrivateProperty"||Ws(i),d=us(n.left)&&Jy(n.operator,n.left.operator);if(c||ep(n)&&!d||!ep(n)&&p)return ce(h);if(h.length===0)return"";let f=Fr(n.right),D=h.findIndex(P=>typeof P!="string"&&!Array.isArray(P)&&P.type===Vn),g=h.slice(0,D===-1?1:D+1),x=h.slice(g.length,f?-1:void 0),A=Symbol("logicalChain-"+ ++WH),C=ce([...g,ke(x)],{id:A});if(!f)return C;let k=kt(0,h,-1);return ce([C,Xc(k,{groupId:A})])}function by(e,t,r,n,i){let{node:s}=e;if(!us(s))return[ce(r())];let a=[];Jy(s.operator,s.left.operator)?a=e.call(()=>by(e,t,r,!0,i),"left"):a.push(ce(r("left")));let o=ep(s),u=s.right.type==="ChainExpression"?s.right.expression:s.right,h=(s.type==="NGPipeExpression"||s.operator==="|>"||GH(e,t))&&!os(t.originalText,u),c=!je(u,We.Leading,Ry)&&os(t.originalText,u),p=s.type==="NGPipeExpression"?"|":s.operator,d=s.type==="NGPipeExpression"&&s.arguments.length>0?ce(ke([Ce,": ",Tt([Ve,": "],e.map(()=>Tn(2,ce(r())),"arguments"))])):"",f;if(o)f=[p,os(t.originalText,u)?ke([Ve,r("right"),d]):[" ",r("right"),d]];else{let x=p==="|>"&&e.root.extra?.__isUsingHackPipeline?e.call(()=>by(e,t,r,!0,i),"right"):r("right");if(t.experimentalOperatorPosition==="start"){let A="";if(c)switch(Xs(x)){case ls:A=x[0],x.shift();break;case ps:A=x.contents[0],x.contents.shift();break}f=[Ve,A,p," ",x,d]}else f=[h?Ve:"",p,h?" ":Ve,x,d]}let{parent:D}=e,g=je(s.left,We.Trailing|We.Line);if((g||!(i&&s.type==="LogicalExpression")&&D.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type)&&(f=ce(f,{shouldBreak:g})),t.experimentalOperatorPosition==="start"?a.push(o||c?" ":"",f):a.push(h?"":" ",f),n&&je(s)){let x=Yy(Vr(e,a,t));return x.type===Js?x.parts:Array.isArray(x)?x:[x]}return a}function ep(e){return e.type!=="LogicalExpression"?!1:!!(ii(e.right)&&e.right.properties.length>0||Ir(e.right)&&e.right.elements.length>0||Fr(e.right))}var rT=e=>e.type==="BinaryExpression"&&e.operator==="|";function GH(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&rT(e.node)&&!e.hasAncestor(r=>!rT(r)&&r.type!=="JsExpressionRoot")}function JH(e,t,r){let{node:n}=e;if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return r("node");case"NGPipeExpression":return Qv(e,t,r);case"NGChainedExpression":return ce(Tt([";",Ve],e.map(()=>YH(e)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":nT(e)?" ":[";",Ve],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:i,parent:s}=e,a=nT(e)||KH(e)||(i===1&&(n.key.name==="then"||n.key.name==="else"||n.key.name==="as")||i===2&&(n.key.name==="else"&&s.body[i-1].type==="NGMicrosyntaxKeyedExpression"&&s.body[i-1].key.name==="then"||n.key.name==="track"))&&s.body[0].type==="NGMicrosyntaxExpression";return[r("key"),a?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new yu(n,"Angular")}}function nT({node:e,index:t}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1}function KH(e){let{node:t}=e;return e.parent.body[1].key.name==="of"&&t.type==="NGMicrosyntaxKeyedExpression"&&t.key.name==="track"&&t.key.type==="NGMicrosyntaxKey"}var XH=nt(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function YH({node:e}){return xy(e,XH)}function Zv(e,t,r){let{node:n}=e;return ce([Tt(Ve,e.map(r,"decorators")),t3(n,t)?be:Ve])}function QH(e,t,r){return r3(e.node)?[Tt(be,e.map(r,"declaration","decorators")),be]:""}function e3(e,t,r){let{node:n,parent:i}=e,{decorators:s}=n;if(!qt(s)||r3(i)||hg(e))return"";let a=n.type==="ClassExpression"||n.type==="ClassDeclaration"||t3(n,t);return[e.key==="declaration"&&yU(i)?be:a?cs:"",Tt(Ve,e.map(r,"decorators")),Ve]}function t3(e,t){return e.decorators.some(r=>hr(t.originalText,it(r)))}function r3(e){if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=e.declaration?.decorators;return qt(t)&&Lm(e,t[0])}function n3(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&Bi(e.argument)}function dg(e,t,r){let{node:n}=e,i=[],s=Iy(n)?"elementTypes":"elements",a=n[s];if(a.length===0&&!n.inexact)i.push(ce(["[",Vm(e,t),"]"]));else{let o=kt(0,a,-1),u=o?.type!=="RestElement"&&!n.inexact,h=o===null,c=Symbol("array"),p=!t.__inJestEach&&a.length>1&&a.every((D,g,x)=>{if(!Ir(D)&&!ii(D))return!1;let A=D?.type,C=x[g+1];if(C&&A!==C.type)return!1;let k=Ir(D)?"elements":"properties";return D[k]&&D[k].length>1})||je(n,We.Dangling|We.Line),d=i3(n,t),f=u?h?",":Dv(t)?d?Et(",","",{groupId:c}):Et(","):"":"";i.push(ce(["[",ke([Ce,d?eW(e,t,r,f):[ZH(e,t,r,s,n.inexact),f],ir(e,t)]),Ce,"]"],{shouldBreak:p,id:c}))}return i.push(Kr(e),Pr(e,r)),i}function i3(e,t){return Ir(e)&&e.elements.length>0&&e.elements.every(r=>r&&(Bi(r)||n3(r)&&!je(r.argument))&&!je(r,We.Trailing|We.Line,n=>!hr(t.originalText,ht(n),{backwards:!0})))}function s3({node:e},{originalText:t}){let r=it(e);if(r===ht(e))return!1;let{length:n}=t;for(;r<n&&t[r]!==",";)r=Oy(t,My(t,r+1));return _m(t,r)}function ZH(e,t,r,n,i){let s=[];return e.each(({node:a,isLast:o})=>{s.push(a?ce(r()):""),(!o||i)&&s.push([",",Ve,a&&s3(e,t)?Ce:""])},n),i&&s.push("..."),s}function eW(e,t,r,n){let i=[];return e.each(({isLast:s,next:a})=>{i.push([r(),s?n:","]),s||i.push(s3(e,t)?[be,be]:je(a,We.Leading|We.Line)?be:Ve)},"elements"),nv(i)}function iT(e){return e.quasis.some(t=>t.value.raw.includes(`
- `))}function a3(e,t){return(e.type==="TemplateLiteral"&&iT(e)||e.type==="TaggedTemplateExpression"&&iT(e.quasi))&&!hr(t,ht(e),{backwards:!0})}var tW=new WeakMap;function o3(e){return $n(tW,e,t=>t.type==="ConditionalExpression"&&!Gr(t,r=>r.type==="ObjectExpression"))}var rW=e=>e.type==="SequenceExpression";function nW(e,t,r,n={}){let i=[],s,a=[],o=!1,u=!n.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",h;(function A(){let{node:C}=e,k=iW(e,t,r,n);if(i.length===0)i.push(k);else{let{leading:P,trailing:v}=mv(e,t);i.push([P,k]),a.unshift(v)}u&&(o||(o=C.returnType&&Xr(C).length>0||C.typeParameters||Xr(C).some(P=>P.type!=="Identifier"))),!u||C.body.type!=="ArrowFunctionExpression"?(s=r("body",n),h=C.body):e.call(A,"body")})();let c=!os(t.originalText,h)&&(rW(h)||sW(h,s,t)||!o&&o3(h)),p=e.key==="callee"&&cu(e.parent),d=Symbol("arrow-chain"),f=aW(e,n,{signatureDocs:i,shouldBreak:o}),D=!1,g=!1,x=!1;return u&&(p||n.assignmentLayout)&&(g=!0,x=!je(e.node,We.Leading&We.Line),D=n.assignmentLayout==="chain-tail-arrow-chain"||p&&!c),s=oW(e,t,n,{bodyDoc:s,bodyComments:a,functionBody:h,shouldPutBodyOnSameLine:c}),ce([ce(g?ke([x?Ce:"",f]):f,{shouldBreak:D,id:d})," =>",u?Xc(s,{groupId:d}):ce(s),u&&p?Et(Ce,"",{groupId:d}):""])}function iW(e,t,r,n){let{node:i}=e,s=[];if(i.async&&s.push("async "),Iv(e,t))s.push(r(["params",0]));else{let o=n.expandLastArg||n.expandFirstArg,u=ug(e,r);if(o){if(Jr(u))throw new wm;u=ce(Sm(u))}s.push(ce([eo(e,t,r,o,!0),u]))}let a=ir(e,t,{marker:"commentBeforeArrow"});return a&&s.push(" ",a),s}function sW(e,t,r){return Ir(e)||ii(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||Fr(e)||t.label?.hug!==!1&&(t.label?.embed||a3(e,r.originalText))}function aW(e,t,{signatureDocs:r,shouldBreak:n}){if(r.length===1)return r[0];let{parent:i,key:s}=e;return s!=="callee"&&cu(i)||us(i)?ce([r[0]," =>",ke([Ve,Tt([" =>",Ve],r.slice(1))])],{shouldBreak:n}):s==="callee"&&cu(i)||t.assignmentLayout?ce(Tt([" =>",Ve],r),{shouldBreak:n}):ce(ke(Tt([" =>",Ve],r)),{shouldBreak:n})}function oW(e,t,r,{bodyDoc:n,bodyComments:i,functionBody:s,shouldPutBodyOnSameLine:a}){let{node:o,parent:u}=e,h=r.expandLastArg?Ys(t,"all"):"",c=(r.expandLastArg||u.type==="JSXExpressionContainer")&&!je(o)?Ce:"";return a&&o3(s)?[" ",ce([Et("","("),ke([Ce,n]),Et("",")"),h,c]),i]:a?[" ",n,i]:[ke([Ve,n,i]),h,c]}var uW=.25;function fg(e,t){let{printWidth:r}=t;if(je(e))return!1;let n=r*uW;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=n||n3(e)&&!je(e.argument))return!0;let i=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return i?i.length<=n:dr(e)?Ha(An(e),t).length<=n:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes(`
- `):e.type==="UnaryExpression"?fg(e.argument,{printWidth:r}):e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier"?e.callee.name.length<=n-2:Ny(e)}function uu(e){return jt(e)||e.type==="BindExpression"&&!!e.object}function lW(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(Gc(r)){if(t+=1,t>1)return!0}else if(r=Gs(r),Ot(r)){for(let n of zn(r))if(Gc(n))return!0}return!1}function u3(e){let{node:t,parent:r,key:n}=e;return n==="callee"&&Ot(t)&&Ot(r)&&r.arguments.length>0&&t.arguments.length>r.arguments.length}var cW=new Set(["!","-","+","~"]),pW=nt(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier"]);function Si(e,t=2){if(t<=0)return!1;let r=n=>Si(n,t-1);if(e=Gs(e),kT(e))return du(e.pattern??e.regex.pattern)<=5;if(Ny(e)||pW(e)||e.type==="ArgumentPlaceholder")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(n=>!n.value.raw.includes(`
- `))&&e.expressions.every(r);if(ii(e))return e.properties.every(n=>!n.computed&&(n.shorthand||n.value&&r(n.value)));if(Ir(e))return e.elements.every(n=>n===null||r(n));if(cu(e)){if(e.type==="ImportExpression"||Si(e.callee,t)){let n=zn(e);return n.length<=t&&n.every(r)}return!1}return jt(e)?Si(e.object,t)&&Si(e.property,t):e.type==="UnaryExpression"&&cW.has(e.operator)||e.type==="UpdateExpression"?Si(e.argument,t):!1}function hW(e,t,r){let{node:n}=e,i=zn(n);if(i.length===0)return ce(["(",Vm(e,t),")"]);let s=i.length-1;if(mW(i)){let p=["("];return Dy(e,(d,f)=>{p.push(r()),f!==s&&p.push(", ")}),p.push(")"),p}let a=!1,o=[];Dy(e,({node:p},d)=>{let f=r();d===s||(Ii(p,t)?(a=!0,f=[f,",",be,be]):f=[f,",",Ve]),o.push(f)});let u=e.root.type!=="NGRoot"&&n.type!=="ImportExpression"&&n.type!=="TSImportType"&&n.type!=="TSExternalModuleReference"?Ys(t,"all"):"";function h(){return ce(["(",ke([Ve,...o]),u,Ve,")"],{shouldBreak:!0})}if(a||e.parent.type!=="Decorator"&&lW(i))return h();if(fW(i)){let p=o.slice(1);if(p.some(Jr))return h();let d;try{d=r(jk(n,0),{expandFirstArg:!0})}catch(f){if(f instanceof wm)return h();throw f}return Jr(d)?[cs,Va([["(",ce(d,{shouldBreak:!0}),", ",...p,")"],h()])]:Va([["(",d,", ",...p,")"],["(",ce(d,{shouldBreak:!0}),", ",...p,")"],h()])}if(dW(i,o,t)){let p=o.slice(0,-1);if(p.some(Jr))return h();let d;try{d=r(jk(n,-1),{expandLastArg:!0})}catch(f){if(f instanceof wm)return h();throw f}return Jr(d)?[cs,Va([["(",...p,ce(d,{shouldBreak:!0}),")"],h()])]:Va([["(",...p,d,")"],["(",...p,ce(d,{shouldBreak:!0}),")"],h()])}let c=["(",ke([Ce,...o]),u,Ce,")"];return u3(e)?c:ce(c,{shouldBreak:o.some(Jr)||a})}function Pm(e,t=!1){if(ii(e)&&(e.properties.length>0||je(e))||Ir(e)&&(e.elements.length>0||je(e))||(ni(e)||e.type==="TSTypeAssertion")&&Pm(e.expression)||e.type==="FunctionExpression"||e.type==="DoExpression"||e.type==="ModuleExpression")return!0;if(e.type==="ArrowFunctionExpression"){let{body:r}=e;if(r.type==="BlockStatement"||Fr(r)||ii(r)||Ir(r)||r.type==="ArrowFunctionExpression"&&Pm(r,!0)||!t&&(r.type==="ConditionalExpression"||Ot(Gs(r))))return!0}return!1}function dW(e,t,r){if(e.length===1){let s=kt(0,t,-1);if(s.label?.embed&&s.label?.hug!==!1)return!0}let n=kt(0,e,-1),i=kt(0,e,-2);return!je(n,We.Leading)&&!je(n,We.Trailing)&&Pm(n)&&(!i||i.type!==n.type)&&(e.length!==2||i.type!=="ArrowFunctionExpression"||!Ir(n))&&!(e.length>1&&i3(n,r))}function fW(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&DW(r)?!0:!je(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&l3(r)&&!Pm(r)}function l3(e){if(e.type==="ParenthesizedExpression")return l3(e.expression);if(ni(e)||e.type==="TypeCastExpression"){let{typeAnnotation:t}=e;if(t.type==="TypeAnnotation"&&(t=t.typeAnnotation),t.type==="TSArrayType"&&(t=t.elementType,t.type==="TSArrayType"&&(t=t.elementType)),t.type==="GenericTypeAnnotation"||t.type==="TSTypeReference"){let r=t.type==="GenericTypeAnnotation"?t.typeParameters:t.typeArguments;r?.params.length===1&&(t=r.params[0])}return eg(t)&&Si(e.expression,1)}return cu(e)&&zn(e).length>1?!1:us(e)?Si(e.left,1)&&Si(e.right,1):kT(e)||Si(e)}function mW(e){return e.length===2?sT(e,0):e.length===3?e[0].type==="Identifier"&&sT(e,1):!1}function sT(e,t){let r=e[t],n=e[t+1];return r.type==="ArrowFunctionExpression"&&Xr(r).length===0&&r.body.type==="BlockStatement"&&n.type==="ArrayExpression"&&e.every(i=>!je(i))}function DW(e){if(!(e.type==="ObjectExpression"&&e.properties.length===1))return!1;let[t]=e.properties;return Ws(t)?!t.computed&&(t.key.type==="Identifier"&&t.key.name==="type"||dr(t.key)&&t.key.value==="type")&&dr(t.value)&&t.value.value==="module":!1}var ky=hW;function yW(e,t,r){return[r("object"),ce(ke([Ce,c3(e,t,r)]))]}function c3(e,t,r){return["::",r("callee")]}var gW=e=>Ot(e)&&zn(e).length>0;function xW(e){let{node:t,ancestors:r}=e;for(let n of r){if(!(jt(n)&&n.object===t||n.type==="TSNonNullExpression"&&n.expression===t))return n.type==="NewExpression"&&n.callee===t;t=n}return!1}function EW(e,t,r){let n=r("object"),i=p3(e,t,r),{node:s}=e,a=e.findAncestor(h=>!(jt(h)||h.type==="TSNonNullExpression")),o=e.findAncestor(h=>!Ga(h)),u=a.type==="BindExpression"||a.type==="AssignmentExpression"&&a.left.type!=="Identifier"||xW(e)||s.computed||s.object.type==="Identifier"&&s.property.type==="Identifier"&&!jt(o)||(o.type==="AssignmentExpression"||o.type==="VariableDeclarator")&&(gW(Gs(s.object))||n.label?.memberChain);return np(n.label,[n,vn,u?i:ce(ke([Ce,i]))])}function p3(e,t,r){let n=r("property"),{node:i}=e,s=Kr(e);return i.computed?!i.property||Bi(i.property)?[s,"[",n,"]"]:ce([s,"[",ke([Ce,n]),Ce,"]"]):[s,".",n]}function CW(e,t,r){let n=(e.parent.type==="ChainExpression"?e.grandparent:e.parent).type==="ExpressionStatement",i=[];function s(H){let{originalText:Z}=t,$=Mm(Z,it(H));return Z.charAt($)===")"?$!==!1&&_m(Z,$+1):Ii(H,t)}function a(){let{node:H}=e;if(Ot(H)&&(uu(H.callee)||Ot(H.callee))&&!Fn(e,t)){let Z=s(H);i.unshift({node:H,hasTrailingEmptyLine:Z,printed:[Vr(e,[Kr(e),r("typeArguments"),ky(e,t,r)],t),Z?be:""]}),e.call(a,"callee")}else uu(H)&&!Fn(e,t)?(i.unshift({node:H,printed:Vr(e,jt(H)?p3(e,t,r):c3(e,t,r),t)}),e.call(a,"object")):H.type==="ChainExpression"&&!Fn(e,t)?e.call(a,"expression"):H.type==="TSNonNullExpression"&&!Fn(e,t)?(i.unshift({node:H,printed:Vr(e,"!",t)}),e.call(a,"expression")):i.unshift({node:H,printed:r()})}let{node:o}=e;i.unshift({node:o,printed:[Kr(e),r("typeArguments"),ky(e,t,r)]}),o.callee&&e.call(a,"callee");let u=[],h=[i[0]],c=1;for(;c<i.length&&(i[c].node.type==="TSNonNullExpression"||i[c].node.type==="ChainExpression"||Ot(i[c].node)||jt(i[c].node)&&i[c].node.computed&&Bi(i[c].node.property));++c)h.push(i[c]);if(!Ot(i[0].node))for(;c+1<i.length&&uu(i[c].node)&&uu(i[c+1].node);++c)h.push(i[c]);u.push(h),h=[];let p=!1;for(;c<i.length;++c){if(p&&uu(i[c].node)){if(i[c].node.computed&&Bi(i[c].node.property)){h.push(i[c]);continue}u.push(h),h=[],p=!1}(Ot(i[c].node)||i[c].node.type==="ImportExpression")&&(p=!0),h.push(i[c]),je(i[c].node,We.Trailing)&&(u.push(h),h=[],p=!1)}h.length>0&&u.push(h);function d(H){return/^[A-Z]|^[$_]+$/.test(H)}function f(H){return H.length<=t.tabWidth}function D(H){let Z=H[1][0]?.node.computed;if(H[0].length===1){let Y=H[0][0].node;return Y.type==="ThisExpression"||Y.type==="Identifier"&&(d(Y.name)||n&&f(Y.name)||Z)}let $=kt(0,H[0],-1).node;return jt($)&&$.property.type==="Identifier"&&(d($.property.name)||Z)}let g=u.length>=2&&!je(u[1][0].node)&&D(u);function x(H){return H.map(Z=>Z.printed)}function A(H){return H.length===0?"":ke([be,Tt(be,H.map(x))])}let C=u.map(x),k=C,P=g?3:2,v=u.flat(),w=v.slice(1,-1).some(H=>je(H.node,We.Leading))||v.slice(0,-1).some(H=>je(H.node,We.Trailing))||u[P]&&je(u[P][0].node,We.Leading);if(u.length<=P&&!w&&u.every(H=>!kt(0,H,-1).hasTrailingEmptyLine))return u3(e)?k:ce(k);let I=kt(0,u[g?1:0],-1).node,O=!Ot(I)&&s(I),R=[x(u[0]),g?u.slice(1,2).map(x):"",O?be:"",A(u.slice(g?2:1))],M=i.map(({node:H})=>H).filter(Ot);function W(){let H=kt(0,kt(0,u,-1),-1).node,Z=kt(0,C,-1);return Ot(H)&&Jr(Z)&&M.slice(0,-1).some($=>$.arguments.some(Gc))}let K;return w||M.length>2&&M.some(H=>H.arguments.some(Z=>!Si(Z)))||C.slice(0,-1).some(Jr)||W()?K=ce(R):K=[Jr(k)||O?cs:"",Va([k,R])],np({memberChain:!0},K)}var FW=CW;function Im(e,t,r){let{node:n}=e,i=n.type==="NewExpression",s=Kr(e),a=zn(n),o=n.type!=="TSImportType"&&n.typeArguments?[r("typeArguments"),vn]:"",u=a.length===1&&a3(a[0],t.originalText);if(u||bW(e)||kW(e)||jm(n,e.parent)){let p=[];if(Dy(e,()=>{p.push(r())}),!(u&&p[0].label?.embed))return[aT(e,r),s,o,"(",Tt(", ",p),")"]}let h=n.type==="ImportExpression"||n.type==="TSImportType"||n.type==="TSExternalModuleReference";if(!h&&!i&&uu(n.callee)&&!e.call(()=>Fn(e,t),"callee",...n.callee.type==="ChainExpression"?["expression"]:[]))return FW(e,t,r);let c=[aT(e,r),s,o,ky(e,t,r)];return h||Ot(n.callee)?ce(c):c}function aT(e,t){let{node:r}=e;return r.type==="ImportExpression"?`import${r.phase?`.${r.phase}`:""}`:r.type==="TSImportType"?"import":r.type==="TSExternalModuleReference"?"require":[r.type==="NewExpression"?"new ":"",t("callee"),vn]}var AW=["require","require.resolve","require.resolve.paths","import.meta.resolve"];function bW(e){let{node:t}=e;if(!(t.type==="ImportExpression"||t.type==="TSImportType"||t.type==="TSExternalModuleReference"||t.type==="CallExpression"&&!t.optional&&tg(t.callee,AW)))return!1;let r=zn(t);return r.length===1&&dr(r[0])&&!je(r[0])}function kW(e){let{node:t}=e;if(t.type!=="CallExpression"||t.optional||t.callee.type!=="Identifier")return!1;let r=zn(t);return t.callee.name==="require"?(r.length===1&&dr(r[0])||r.length>1)&&!je(r[0]):t.callee.name==="define"&&e.parent.type==="ExpressionStatement"?r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&dr(r[0])&&r[1].type==="ArrayExpression":!1}function sp(e,t,r,n,i,s){let a=SW(e,t,r,n,s),o=s?r(s,{assignmentLayout:a}):"";switch(a){case"break-after-operator":return ce([ce(n),i,ce(ke([Ve,o]))]);case"never-break-after-operator":return ce([ce(n),i," ",o]);case"fluid":{let u=Symbol("assignment");return ce([ce(n),i,ce(ke(Ve),{id:u}),vn,Xc(o,{groupId:u})])}case"break-lhs":return ce([n,i," ",ce(o)]);case"chain":return[ce(n),i,Ve,o];case"chain-tail":return[ce(n),i,ke([Ve,o])];case"chain-tail-arrow-chain":return[ce(n),i,o];case"only-left":return n}}function TW(e,t,r){let{node:n}=e;return sp(e,t,r,r("left"),[" ",n.operator],"right")}function vW(e,t,r){return sp(e,t,r,r("id")," =","init")}function SW(e,t,r,n,i){let{node:s}=e,a=s[i];if(!a)return"only-left";let o=!Tm(a);if(e.match(Tm,h3,c=>!o||c.type!=="ExpressionStatement"&&c.type!=="VariableDeclaration"))return o?a.type==="ArrowFunctionExpression"&&a.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&Tm(a.right)||kn(a)&&!$m(a)||os(t.originalText,a)||je(a,We.Leading,Yv))return"break-after-operator";if(s.type==="ImportAttribute"||a.type==="CallExpression"&&a.callee.name==="require"||e.root.type==="JsonRoot")return"never-break-after-operator";let u=u$(n);if(_W(s)||IW(s)||d3(s)&&u)return"break-lhs";let h=NW(s,n,t);return e.call(()=>wW(e,t,r,h),i)?"break-after-operator":BW(s)?"break-lhs":!u&&(h||a.type==="TemplateLiteral"||a.type==="TaggedTemplateExpression"||mU(a)||Bi(a)||a.type==="ClassExpression")?"never-break-after-operator":"fluid"}function wW(e,t,r,n){let i=e.node;if(us(i)&&!ep(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!t.experimentalTernaries&&!OW(i))break;return!0;case"ConditionalExpression":{if(!t.experimentalTernaries){let{test:h}=i;return us(h)&&!ep(h)}let{consequent:o,alternate:u}=i;return o.type==="ConditionalExpression"||u.type==="ConditionalExpression"}case"ClassExpression":return qt(i.decorators)}if(n)return!1;let s=i,a=[];for(;;)if(s.type==="UnaryExpression"||s.type==="AwaitExpression"||s.type==="YieldExpression"&&s.argument!==null)s=s.argument,a.push("argument");else if(s.type==="TSNonNullExpression")s=s.expression,a.push("expression");else break;return!!(dr(s)||e.call(()=>f3(e,t,r),...a))}function _W(e){if(h3(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>Ws(r)&&(!r.shorthand||r.value?.type==="AssignmentPattern"))}return!1}function Tm(e){return e.type==="AssignmentExpression"}function h3(e){return Tm(e)||e.type==="VariableDeclarator"}function BW(e){let t=PW(e);if(qt(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}function PW(e){if(TT(e))return e.typeParameters?.params}function IW(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=oT(t.typeAnnotation);return qt(r)&&r.length>1&&r.some(n=>qt(oT(n))||n.type==="TSConditionalType")}function d3(e){return e.type==="VariableDeclarator"&&e.init?.type==="ArrowFunctionExpression"}function oT(e){let t;switch(e.type){case"GenericTypeAnnotation":t=e.typeParameters;break;case"TSTypeReference":t=e.typeArguments;break}return t?.params}function f3(e,t,r,n=!1){let{node:i}=e,s=()=>f3(e,t,r,!0);if(Ga(i))return e.call(s,"expression");if(Ot(i)){if(Im(e,t,r).label?.memberChain)return!1;let a=zn(i);return!(a.length===0||a.length===1&&fg(a[0],t))||LW(i,r)?!1:e.call(s,"callee")}return jt(i)?e.call(s,"object"):n&&(i.type==="Identifier"||i.type==="ThisExpression")}function NW(e,t,r){return Ws(e)?(t=Yy(t),typeof t=="string"&&du(t)<r.tabWidth+3):!1}function LW(e,t){let r=e.typeArguments?.params;if(qt(r)){if(r.length>1)return!0;if(r.length===1){let n=r[0];if(kn(n)||tp(n)||n.type==="TSTypeLiteral"||n.type==="ObjectTypeAnnotation")return!0}if(Jr(t("typeArguments")))return!0}return!1}function uT(e){switch(e.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!e.typeParameters;case"TSTypeReference":return!!e.typeArguments;default:return!1}}function OW(e){return uT(e.checkType)||uT(e.extendsType)}function MW(e,t,r){let{node:n}=e,i=["await"];if(n.argument){i.push(" ",r("argument"));let{parent:s}=e;if(Ot(s)&&s.callee===n||jt(s)&&s.object===n){i=[ke([Ce,...i]),Ce];let a=e.findAncestor(o=>o.type==="AwaitExpression"||o.type==="BlockStatement");if(a?.type!=="AwaitExpression"||!Gr(a.argument,o=>o===n))return ce(i)}}return i}var RW=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let r=this[t];if(e(r,t,this))return r}},jW=By("findLast",function(){if(Array.isArray(this))return RW}),qW=jW;function Ty(e,t,r,n){let{node:i}=e,s=[],a=qW(0,i[n],o=>o.type!=="EmptyStatement");return e.each(({node:o})=>{o.type!=="EmptyStatement"&&(s.push(r()),o!==a&&(s.push(be),Ii(o,t)&&s.push(be)))},n),s}function m3(e,t,r){let n=UW(e,t,r),{node:i,parent:s}=e;if(i.type==="Program"&&s?.type!=="ModuleExpression")return n?[n,be]:"";let a=[];if(i.type==="StaticBlock"&&a.push("static "),a.push("{"),n)a.push(ke([be,n]),be);else{let o=e.grandparent;s.type==="ArrowFunctionExpression"||s.type==="FunctionExpression"||s.type==="FunctionDeclaration"||s.type==="ComponentDeclaration"||s.type==="HookDeclaration"||s.type==="ObjectMethod"||s.type==="ClassMethod"||s.type==="ClassPrivateMethod"||s.type==="ForStatement"||s.type==="WhileStatement"||s.type==="DoWhileStatement"||s.type==="DoExpression"||s.type==="ModuleExpression"||s.type==="CatchClause"&&!o.finalizer||s.type==="TSModuleDeclaration"||s.type==="DeclareModule"||s.type==="MatchStatementCase"||i.type==="StaticBlock"||a.push(be)}return a.push("}"),a}function UW(e,t,r){let{node:n}=e,i=qt(n.directives),s=n.body.some(u=>u.type!=="EmptyStatement"),a=je(n,We.Dangling);if(!i&&!s&&!a)return"";let o=[];return i&&(o.push(Ty(e,t,r,"directives")),(s||a)&&(o.push(be),Ii(kt(0,n.directives,-1),t)&&o.push(be))),s&&o.push(Ty(e,t,r,"body")),a&&o.push(ir(e,t)),o}function VW(e){let t=new WeakMap;return r=>$n(t,r,()=>Symbol(e))}var $W=VW,D3=["properties","indexers","callProperties","internalSlots"];function zW(e,t){let{node:r}=e;if(r.type==="ClassBody"||r.type==="TSInterfaceBody"){e.each(t,"body");return}if(r.type==="TSTypeLiteral"){e.each(t,"members");return}if(r.type==="RecordDeclarationBody"){e.each(t,"elements");return}if(r.type==="ObjectTypeAnnotation"){let n=D3.flatMap(i=>e.map(({node:s,index:a})=>({node:s,loc:ht(s),selector:[i,a]}),i)).sort((i,s)=>i.loc-s.loc);for(let[i,{node:s,selector:a}]of n.entries())e.call(()=>t({node:s,next:n[i+1]?.node,isLast:i===n.length-1}),...a)}}function HW(e){if(e.type==="ObjectTypeAnnotation")return D3.some(r=>qt(e[r]));let t=e.type==="RecordDeclarationBody"?e.elements:e.body;return qt(t)}function mg(e,t,r){let{node:n}=e,i=[],s=n.type==="ObjectTypeAnnotation",a=n.type==="RecordDeclarationBody",o=!y3(e),u=o?Ve:be,h=je(n,We.Dangling),[c,p]=s&&n.exact?["{|","|}"]:"{}",d=!0,f;if(zW(e,({node:D,next:g,isLast:x})=>{if(f??(f=D),d&&(d=!1),i.push(r()),!a&&o&&s){let{parent:A}=e;A.inexact||!x?i.push(","):i.push(Ys(t))}a&&D.type!=="MethodDefinition"&&i.push(","),!a&&!o&&(WW({node:D,next:g},t)||x3({node:D,next:g},t))&&i.push(";"),x||(i.push(u),Ii(D,t)&&i.push(be))}),h&&i.push(ir(e,t)),n.type==="ObjectTypeAnnotation"&&n.inexact){d&&(d=!1);let D;je(n,We.Dangling)?D=[je(n,We.Line)||hr(t.originalText,it(kt(0,bn(n),-1)))?be:Ve,"..."]:D=[f?Ve:"","..."],i.push(D)}if(o){let D=je(n,We.Dangling|We.Line)||t.objectWrap==="preserve"&&f&&ln(t.originalText,ht(n),ht(f)),g;if(i.length===0)g=c+p;else{let x=!t.bracketSpacing||d&&!D?Ce:Ve;g=[c,ke([x,...i]),x,p]}return e.match(void 0,(x,A)=>A==="typeAnnotation",(x,A)=>A==="typeAnnotation",Hc)||e.match(void 0,(x,A)=>x.type==="FunctionTypeParam"&&A==="typeAnnotation",Hc)?g:ce(g,{shouldBreak:D})}return[c,i.length>0?[ke([be,i]),be]:"",p]}function y3(e){let{node:t}=e;if(t.type==="ObjectTypeAnnotation"){let{key:r,parent:n}=e;return r==="body"&&(n.type==="InterfaceDeclaration"||n.type==="DeclareInterface"||n.type==="DeclareClass")}return t.type==="ClassBody"||t.type==="TSInterfaceBody"||t.type==="RecordDeclarationBody"}function as(e,t){let{parent:r}=e;return e.callParent(y3)?r.type==="ObjectTypeAnnotation"?";":Xt(t):r.type==="TSTypeLiteral"?e.isLast?t.semi?Et(";"):"":t.semi||x3({node:e.node,next:e.next},t)?";":Et("",";"):""}var lT=nt(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]),g3=e=>{if(e.computed||e.typeAnnotation)return!1;let{type:t,name:r}=e.key;return t==="Identifier"&&(r==="static"||r==="get"||r==="set")};function WW({node:e,next:t},r){if(r.semi||!lT(e))return!1;if(!e.value&&g3(e))return!0;if(!t||t.static||t.accessibility||t.readonly)return!1;if(!t.computed){let n=t.key?.name;if(n==="in"||n==="instanceof")return!0}if(lT(t)&&!t.static&&t.variance&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let n=t.value?t.value.generator:t.generator;return!!(t.computed||n)}case"TSIndexSignature":return!0}return!1}var GW=nt(["TSPropertySignature"]);function x3({node:e,next:t},r){return r.semi||!GW(e)?!1:g3(e)?!0:t&&t.type==="TSCallSignatureDeclaration"?!(e.type==="TSPropertySignature"&&e.typeAnnotation):!1}var JW=$W("heritageGroup"),KW=nt(["TSInterfaceDeclaration","DeclareInterface","InterfaceDeclaration","InterfaceTypeAnnotation"]);function Dg(e,t,r){let n=XW(e,t,r),{node:i}=e;if(i.type==="ClassExpression"&&qt(i.decorators)){let s=e3(e,t,r);return Fn(e,t)?[ke([Ce,s,n]),Ce]:[s,n]}return n}function XW(e,t,r){let{node:n}=e,i=KW(n),s=n.type==="RecordDeclaration",a=i?"interface":s?"record":"class",o=[Sn(e),qm(e),a],u=C3(e),h=[],c=[];if(n.type!=="InterfaceTypeAnnotation"){n.id&&h.push(" ");for(let d of["id","typeParameters"])if(n[d]){let{leading:f,trailing:D}=e.call(()=>mv(e,t),d);h.push(f,r(d),ke(D))}}if(n.superClass){let d=[ZW(e,t,r),r("superTypeArguments")],f=e.call(()=>["extends ",Vr(e,d,t)],"superClass");u?c.push(Ve,ce(f)):c.push(" ",f)}else c.push(cy(e,t,r,"extends"));c.push(cy(e,t,r,"mixins"),cy(e,t,r,"implements"));let p;return u?(p=JW(n),o.push(ce([...h,ke(c)],{id:p}))):o.push(...h,...c),!i&&u&&HW(n.body)?o.push(Et(be," ",{groupId:p})):o.push(" "),o.push(r("body")),o}function E3(e){let t=e.superClass?1:0;for(let r of["extends","mixins","implements"])if(Array.isArray(e[r])&&(t+=e[r].length),t>1)return!0;return t>1}function YW(e){let{node:t}=e;if(je(t.id,We.Trailing)||je(t.typeParameters,We.Trailing)||je(t.superClass)||E3(t))return!0;if(t.superClass)return e.parent.type==="AssignmentExpression"?!1:!t.superTypeArguments&&jt(Gs(t.superClass));let r=t.extends?.[0]??t.mixins?.[0]??t.implements?.[0];return r?r.type==="InterfaceExtends"&&r.id.type==="QualifiedTypeIdentifier"&&!r.typeParameters||(r.type==="TSClassImplements"||r.type==="TSInterfaceHeritage")&&jt(r.expression)&&!r.typeArguments:!1}var QW=new WeakMap;function C3(e){return $n(QW,e.node,()=>YW(e))}function cy(e,t,r,n){let{node:i}=e;if(!qt(i[n]))return"";let s=ir(e,t,{marker:n}),a=Tt([",",Ve],e.map(r,n));if(!E3(i)){let o=[`${n} `,s,a];return C3(e)?[Ve,ce(o)]:[" ",o]}return[Ve,s,s&&be,n,ce(ke([Ve,a]))]}function ZW(e,t,r){let n=r("superClass"),{parent:i}=e;return i.type==="AssignmentExpression"?ce(Et(["(",ke([Ce,n]),Ce,")"],n)):n}function F3(e,t,r){let{node:n}=e,i=[];return qt(n.decorators)&&i.push(Zv(e,t,r)),i.push(Um(n)),n.static&&i.push("static "),i.push(qm(e)),n.override&&i.push("override "),i.push(Fy(e,t,r)),i}function A3(e,t,r){let{node:n}=e,i=[];qt(n.decorators)&&i.push(Zv(e,t,r)),i.push(Sn(e),Um(n)),n.static&&i.push("static "),i.push(qm(e)),n.override&&i.push("override "),n.readonly&&i.push("readonly "),n.variance&&i.push(r("variance")),(n.type==="ClassAccessorProperty"||n.type==="AccessorProperty"||n.type==="TSAbstractAccessorProperty")&&i.push("accessor "),i.push(zs(e,t,r),Kr(e),yv(e),Pr(e,r));let s=n.type==="TSAbstractPropertyDefinition"||n.type==="TSAbstractAccessorProperty";return[sp(e,t,r,i," =",s?void 0:"value"),Xt(t)]}function eG(e,t){let r=bn(e,We.Leading);if(r.length===0)return!1;let[n]=r,i=t.originalText,s=ht(n);return ln(i,s,it(n))||hr(i,s,{backwards:!0})}function gu(e,t,r,n="body"){return e.call(({node:i})=>{let s=r();if(i.type==="EmptyStatement")return je(i,We.Leading)?[" ",s]:s;let a=i.type==="BlockStatement";return eG(i,t)?a?[be,s]:ke([be,s]):a||i.type==="IfStatement"&&e.parent.type==="IfStatement"&&e.key==="alternate"?[" ",s]:ke([Ve,s])},n)}var tG=(e,t,r)=>gu(e,t,r,"consequent"),rG=(e,t,r)=>gu(e,t,r,"alternate");function nG(e,t,r){return[ce(["do",gu(e,t,r)]),e.node.body.type==="BlockStatement"?" ":be,"while (",sg(e,t,r),")",Xt(t)]}var iG=nt(["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"]);function b3(e){return iG(e)?b3(e.expression):e}var sG=nt(["FunctionExpression","ArrowFunctionExpression"]);function aG(e){return e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}function oG(e,t){if(Mv(e,t)){let r=b3(e.node.expression);return sG(r)||aG(r)}return!(!t.semi||Lv(e,t)||Ov(e,t))}function uG(e,t,r){let n=[r("expression")];if(lg(e,t)){if(Rv(e,t)){let{node:i}=e,s=kt(0,bn(i,We.Leading),-1),a=ig(e,t,{filter:o=>o===s});return Vr(e,[";",a,...n],t,{filter:o=>o!==s})}n.unshift(";")}else oG(e,t)&&n.push(";");return n}function lG(e,t,r){let{node:n}=e,i=gu(e,t,r),s=ir(e,t),a=s?[s,Ce]:"";return!n.init&&!n.test&&!n.update?[a,ce(["for (;;)",i])]:[a,ce(["for (",ce([ke([Ce,r("init"),";",Ve,r("test"),";",n.update?[Ve,r("update")]:""]),Ce]),")",i])]}function cG(e,t,r){let{node:n}=e,i=n.type==="ForOfStatement";return ce(["for",i&&n.await?" await":""," (",r("left")," ",i?"of":"in"," ",r("right"),")",gu(e,t,r)])}function pG(e,t,r){if(t.__isVueBindings||t.__isVueForBindingLeft){let n=e.map(r,"program","body",0,"params");if(n.length===1)return n[0];let i=Tt([",",Ve],n);return t.__isVueForBindingLeft?["(",ke([Ce,ce(i)]),Ce,")"]:i}if(t.__isEmbeddedTypescriptGenericParameters){let n=e.map(r,"program","body",0,"typeParameters","params");return Tt([",",Ve],n)}}var hG=(e,{originalText:t})=>dv(t,ht(e));function k3(e){return Hs(kt(0,bn(e,We.Dangling),-1))}function dG(e,t,r){let{node:n}=e,i=ce(["if (",sg(e,t,r),")",tG(e,t,r)]);if(!n.alternate)return i;let{consequent:s}=n,a=s.type==="BlockStatement",o=[i],u=a;a||(o.push(be),u=!1);let h=bn(n,We.Dangling);if(h.length>0){let[c]=h;hG(c,t)?o.push(a?[be,be]:be):hr(t.originalText,ht(c),{backwards:!0})?o.push(a?be:""):o.push(" "),o.push(ir(e,t),k3(n)||hr(t.originalText,it(kt(0,h,-1)))?be:" "),u=!1}return o.push(u?" ":"","else",ce(rG(e,t,r))),o}function fG(e,t){let{node:r}=e;switch(r.type){case"RegExpLiteral":return cT(r);case"BigIntLiteral":return vy(r.extra.raw);case"NumericLiteral":return Yc(r.extra.raw);case"StringLiteral":return za(Ha(r.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DirectiveLiteral":return pT(r.extra.raw,t);case"Literal":{if(r.regex)return cT(r.regex);if(r.bigint)return vy(r.raw);let{value:n}=r;return typeof n=="number"?Yc(r.raw):typeof n=="string"?mG(e)?pT(r.raw,t):za(Ha(r.raw,t)):String(n)}}}function mG(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&typeof t.directive=="string"}function vy(e){return e.toLowerCase()}function cT({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}var DG="use strict";function pT(e,t){let r=e.slice(1,-1);if(r===DG||!(r.includes('"')||r.includes("'"))){let n=t.singleQuote?"'":'"';return n+r+n}return e}var T3=nt(["ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportDeclaration","DeclareExportAllDeclaration"]),yG=nt(["EnumBody","EnumBooleanBody","EnumNumberBody","EnumBigIntBody","EnumStringBody","EnumSymbolBody"]);function xu(e,t,r){let{node:n,parent:i}=e,s=yG(n),a=n.type==="TSEnumBody"||s,o=T3(n),u=s&&n.hasUnknownMembers,h=a?"members":o?"attributes":"properties",c=n[h],p=a||n.type==="ObjectPattern"&&i.type!=="FunctionDeclaration"&&i.type!=="FunctionExpression"&&i.type!=="ArrowFunctionExpression"&&i.type!=="ObjectMethod"&&i.type!=="ClassMethod"&&i.type!=="ClassPrivateMethod"&&i.type!=="AssignmentPattern"&&i.type!=="CatchClause"&&n.properties.some(x=>x.value&&(x.value.type==="ObjectPattern"||x.value.type==="ArrayPattern"))||n.type!=="ObjectPattern"&&t.objectWrap==="preserve"&&c.length>0&&gG(n,c[0],t),d=[],f=e.map(({node:x})=>{let A=[...d,r()];return d=[",",Ve],Ii(x,t)&&d.push(be),A},h);if(u){let x;if(je(n,We.Dangling)){let A=je(n,We.Line);x=[ir(e,t),A||hr(t.originalText,it(kt(0,bn(n),-1)))?be:Ve,"..."]}else x=["..."];f.push([...d,...x])}let D=!(u||kt(0,c,-1)?.type==="RestElement"),g;if(f.length===0)g=ce(["{",Vm(e,t),"}",Kr(e),Pr(e,r)]);else{let x=t.bracketSpacing?Ve:Ce;g=["{",ke([x,...f]),D?Ys(t):"",x,"}",Kr(e),Pr(e,r)]}return e.match(x=>x.type==="ObjectPattern"&&!qt(x.decorators),Hc)||$s(n)&&(e.match(void 0,(x,A)=>A==="typeAnnotation",(x,A)=>A==="typeAnnotation",Hc)||e.match(void 0,(x,A)=>x.type==="FunctionTypeParam"&&A==="typeAnnotation",Hc))||!p&&e.match(x=>x.type==="ObjectPattern",x=>x.type==="AssignmentExpression"||x.type==="VariableDeclarator")?g:ce(g,{shouldBreak:p})}function gG(e,t,r){let n=r.originalText,i=ht(t),s=ht(e);return T3(e)&&(s=Hn(r).lastIndexOf("{",i)),ln(n,s,i)}function xG(e,t,r){let{node:n}=e;return["import",n.phase?` ${n.phase}`:"",w3(n),B3(e,t,r),_3(e,t,r),I3(e,t,r),Xt(t)]}var v3=e=>e.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function S3(e,t,r){let{node:n}=e,i=[QH(e,t,r),Sn(e),"export",v3(n)?" default":""],{declaration:s,exported:a}=n;return je(n,We.Dangling)&&(i.push(" ",ir(e,t)),k3(n)&&i.push(be)),s?i.push(" ",r("declaration")):(i.push(FG(n)),n.type==="ExportAllDeclaration"||n.type==="DeclareExportAllDeclaration"?(i.push(" *"),a&&i.push(" as ",r("exported"))):i.push(B3(e,t,r)),i.push(_3(e,t,r),I3(e,t,r))),i.push(CG(n,t)),i}var EG=nt(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function CG(e,t){return!e.declaration||v3(e)&&!EG(e.declaration)?Xt(t):""}function yg(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function w3(e,t){return yg(e.importKind,t)}function FG(e){return yg(e.exportKind)}function _3(e,t,r){let{node:n}=e;return n.source?[P3(n,t)?" from":""," ",r("source")]:""}function B3(e,t,r){let{node:n}=e;if(!P3(n,t))return"";let i=[" "];if(qt(n.specifiers)){let s=[],a=[];e.each(()=>{let o=e.node.type;if(o==="ExportNamespaceSpecifier"||o==="ExportDefaultSpecifier"||o==="ImportNamespaceSpecifier"||o==="ImportDefaultSpecifier")s.push(r());else if(o==="ExportSpecifier"||o==="ImportSpecifier")a.push(r());else throw new yu(n,"specifier")},"specifiers"),i.push(Tt(", ",s)),a.length>0&&(s.length>0&&i.push(", "),a.length>1||s.length>0||n.specifiers.some(o=>je(o))?i.push(ce(["{",ke([t.bracketSpacing?Ve:Ce,Tt([",",Ve],a)]),Ys(t),t.bracketSpacing?Ve:Ce,"}"])):i.push(["{",t.bracketSpacing?" ":"",...a,t.bracketSpacing?" ":"","}"]))}else i.push("{}");return i}function P3(e,t){return e.type!=="ImportDeclaration"||qt(e.specifiers)||e.importKind==="type"?!0:Hn(t).slice(ht(e),ht(e.source)).trimEnd().endsWith("from")}function AG(e,t){let r=Hn(t).slice(it(e.source),e.attributes?.[0]?ht(e.attributes[0]):it(e)).trimStart();return r.startsWith("assert")?"assert":r.startsWith("with")||qt(e.attributes)?"with":void 0}var bG=e=>{let{attributes:t}=e;if(t.length!==1)return!1;let[r]=t,{type:n,key:i,value:s}=r;return n==="ImportAttribute"&&(i.type==="Identifier"&&i.name==="type"||dr(i)&&i.value==="type")&&dr(s)&&!je(r)&&!je(i)&&!je(s)};function I3(e,t,r){let{node:n}=e;if(!n.source)return"";let i=AG(n,t);if(!i)return"";let s=xu(e,t,r);return bG(n)&&(s=Sm(s)),[` ${i} `,s]}function kG(e,t,r){let{node:n}=e,{type:i}=n,s=i.startsWith("Import"),a=s?"imported":"local",o=s?"local":"exported",u=n[a],h=n[o],c="",p="";return i==="ExportNamespaceSpecifier"||i==="ImportNamespaceSpecifier"?c="*":u&&(c=r(a)),h&&!my(n)&&(p=r(o)),[yg(i==="ImportSpecifier"?n.importKind:n.exportKind,!1),c,c&&p?" as ":"",p]}function py(e,t,r){let{node:n}=e;return n.shorthand?r("value"):sp(e,t,r,zs(e,t,r),":","value")}function Sy(e,t){return["...",t("argument"),Pr(e,t)]}function TG(e,t,r){let{node:n}=e,i=r();return KT(n,t)?["(",ke([be,i]),be,")"]:us(n)||t.experimentalTernaries&&n.type==="ConditionalExpression"&&(n.consequent.type==="ConditionalExpression"||n.alternate.type==="ConditionalExpression")?ce([Et("("),ke([Ce,i]),Ce,Et(")")]):i}function hT(e,t,r){let{node:n}=e;return[n.type==="ThrowStatement"?"throw":"return",n.argument?[" ",e.call(()=>TG(e,t,r),"argument")]:"",Xt(t)]}function vG(e,t){let{key:r,parent:n}=e;return!!(r==="argument"&&lu(n)&&Fn(e,t)||r==="body"&&n.type==="ArrowFunctionExpression")}function SG(e,t,r){let{parent:n}=e;if(n.type==="ExpressionStatement"||n.type==="ForStatement"){let s=[];return e.each(({isFirst:a})=>{a?s.push(r()):s.push(",",ke([Ve,r()]))},"expressions"),ce(s)}let i=Tt([",",Ve],e.map(r,"expressions"));return vG(e,t)?ce(Et([ke([Ce,i]),Ce],i)):ce(i)}function wG(e,t,r){return[ce(["switch (",ke([Ce,r("discriminant")]),Ce,")"])," {",e.node.cases.length>0?ke([be,Tt(be,e.map(({node:n,isLast:i})=>[r(),!i&&Ii(n,t)?be:""],"cases"))]):ir(e,t,{indent:!0}),be,"}"]}function _G(e,t,r){let{node:n}=e,i=[];n.test?i.push("case ",r("test"),":"):i.push("default:"),je(n,We.Dangling)&&i.push(" ",ir(e,t));let s=n.consequent.filter(a=>a.type!=="EmptyStatement");if(s.length>0){let a=Ty(e,t,r,"consequent");i.push(s.length===1&&s[0].type==="BlockStatement"?[" ",a]:ke([be,a]))}return i}function N3(e,t){let r=0;for(let n in e){let i=e[n];if(HT(i)&&typeof i.type=="string"&&(r++,r+=N3(i,t-r)),r>t)return r}return r}function dT(e,t=5){return N3(e,t)<=t}function BG(e){let t=[e];for(let r=0;r<t.length;r++){let n=t[r];for(let i of["test","consequent","alternate"]){let s=n[i];if(Fr(s))return!0;s.type==="ConditionalExpression"&&t.push(s)}}return!1}function PG(e,t,r){let{node:n}=e,i=n.type==="ConditionalExpression",s=i?"alternate":"falseType",{parent:a}=e,o=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return a.type===n.type&&a[s]===n?Tn(2,o):o}var IG=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function NG(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let r,n=t;for(let i=0;!r;i++){let s=e.getParentNode(i);if(Ga(s)&&s.expression===n||Ot(s)&&s.callee===n||jt(s)&&s.object===n){n=s;continue}s.type==="NewExpression"&&s.callee===n||ni(s)&&s.expression===n?(r=e.getParentNode(i+1),n=s):r=s}return n===t?!1:r[IG.get(r.type)]===n}function LG(e,t,r){let{node:n}=e,i=n.type==="ConditionalExpression",s=i?"consequent":"trueType",a=i?"alternate":"falseType",o=i?["test"]:["checkType","extendsType"],u=n[s],h=n[a],c=[],p=!1,{parent:d}=e,f=d.type===n.type&&o.some(O=>d[O]===n),D=d.type===n.type&&!f,g,x,A=0;do x=g||n,g=e.getParentNode(A),A++;while(g&&g.type===n.type&&o.every(O=>g[O]!==x));let C=g||d,k=x;if(i&&(Fr(n[o[0]])||Fr(u)||Fr(h)||BG(k))){p=!0,D=!0;let O=M=>[Et("("),ke([Ce,M]),Ce,Et(")")],R=M=>M.type==="NullLiteral"||M.type==="Literal"&&M.value===null||M.type==="Identifier"&&M.name==="undefined";c.push(" ? ",R(u)?r(s):O(r(s))," : ",h.type===n.type||R(h)?r(a):O(r(a)))}else{let O=M=>t.useTabs?ke(r(M)):Tn(2,r(M)),R=[Ve,"? ",u.type===n.type?Et("","("):"",O(s),u.type===n.type?Et("",")"):"",Ve,": ",O(a)];c.push(d.type!==n.type||d[a]===n||f?R:t.useTabs?rv(ke(R)):Tn(Math.max(0,t.tabWidth-2),R))}let P=O=>d===C?ce(O):O,v=!p&&(jt(d)||d.type==="NGPipeExpression"&&d.left===n)&&!d.computed,w=NG(e),I=P([PG(e,t,r),D?c:ke(c),i&&v&&!w?Ce:""]);return f||w?ce([ke([Ce,I]),Ce]):I}function OG(e,t){return(jt(t)||t.type==="NGPipeExpression"&&t.left===e)&&!t.computed}function MG(e,t,r,n){return[...e.map(i=>bn(i)),bn(t),bn(r)].flat().some(i=>si(i)&&ln(n.originalText,ht(i),it(i)))}var RG=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function jG(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let r,n=t;for(let i=0;!r;i++){let s=e.getParentNode(i);if(Ga(s)&&s.expression===n||Ot(s)&&s.callee===n||jt(s)&&s.object===n){n=s;continue}s.type==="NewExpression"&&s.callee===n||ni(s)&&s.expression===n?(r=e.getParentNode(i+1),n=s):r=s}return n===t?!1:r[RG.get(r.type)]===n}var hy=e=>[Et("("),ke([Ce,e]),Ce,Et(")")];function gg(e,t,r,n){if(!t.experimentalTernaries)return LG(e,t,r);let{node:i}=e,s=i.type==="ConditionalExpression",a=Vs(i),o=s?"consequent":"trueType",u=s?"alternate":"falseType",h=s?["test"]:["checkType","extendsType"],c=i[o],p=i[u],d=h.map(Be=>i[Be]),{parent:f}=e,D=f.type===i.type,g=D&&h.some(Be=>f[Be]===i),x=D&&f[u]===i,A=c.type===i.type,C=p.type===i.type,k=C||x,P=t.tabWidth>2||t.useTabs,v,w,I=0;do w=v||i,v=e.getParentNode(I),I++;while(v&&v.type===i.type&&h.every(Be=>v[Be]!==w));let O=v||f,R=n&&n.assignmentLayout&&n.assignmentLayout!=="break-after-operator"&&(f.type==="AssignmentExpression"||f.type==="VariableDeclarator"||f.type==="ClassProperty"||f.type==="PropertyDefinition"||f.type==="ClassPrivateProperty"||f.type==="ObjectProperty"||f.type==="Property"),M=lu(f)&&!(A||C),W=s&&O.type==="JSXExpressionContainer"&&e.grandparent.type!=="JSXAttribute",K=jG(e),H=OG(i,f),Z=a&&Fn(e,t),$=P?t.useTabs?" ":" ".repeat(t.tabWidth-1):"",Y=MG(d,c,p,t)||A||C,de=!k&&!D&&!a&&(W?c.type==="NullLiteral"||c.type==="Literal"&&c.value===null:fg(c,t)&&dT(i.test,3)),Te=k||x||a&&!D||D&&s&&dT(i.test,1)||de,ve=[];je(i.test,We.Dangling)&&e.call(()=>{ve.push(ir(e,t))},"test"),je(i,We.Dangling)&&ve.push(ir(e,t));let S=Symbol("test"),Me=Symbol("consequent"),Ae=Symbol("test-and-consequent"),j=s?[hy(r("test")),i.test.type==="ConditionalExpression"?cs:""]:[r("checkType")," ","extends"," ",Vs(i.extendsType)||i.extendsType.type==="TSMappedType"?r("extendsType"):ce(hy(r("extendsType")))],pe=ce([j," ?"],{id:S}),Ie=r(o),xe=ke([A||W&&(Fr(c)||D||k)?be:Ve,Ie]),ae=Te?ce([pe,k?xe:Et(xe,ce(xe,{id:Me}),{groupId:S})],{id:Ae}):[pe,xe],Q=r(u),ne=de?Et(Q,rv(hy(Q)),{groupId:Ae}):Q,we=[ae,ve.length>0?[ke([be,ve]),be]:C?be:de?Et(Ve," ",{groupId:Ae}):Ve,":",C||!P?" ":Te?Et($,Et(k||de?" ":$," "),{groupId:Ae}):Et($," "),C?ne:ce([ke(ne),W&&!de?Ce:""]),H&&!K?Ce:"",Y?cs:""];return R&&!Y?ce(ke([Ce,ce(we)])):R||M?ce(ke(we)):K||a&&g?ce([ke([Ce,we]),Z?Ce:""]):f===O?ce(we):we}function qG(e,t,r){let{node:n}=e;return["try ",r("block"),n.handler?[" ",r("handler")]:"",n.finalizer?[" finally ",r("finalizer")]:""]}function UG(e,t,r){let{node:n}=e;if(n.param){let i=je(n.param,a=>!si(a)||a.leading&&hr(t.originalText,it(a))||a.trailing&&hr(t.originalText,ht(a),{backwards:!0})),s=r("param");return["catch ",i?["(",ke([Ce,s]),Ce,") "]:["(",s,") "],r("body")]}return["catch ",r("body")]}function L3(e,t,r){let{node:n}=e,i=e.map(r,"declarations"),s=e.key==="init"&&e.parent.type==="ForStatement"||e.key==="left"&&(e.parent.type==="ForInStatement"||e.parent.type==="ForOfStatement"),a=n.declarations.some(u=>u.init),o;return i.length===1&&!je(n.declarations[0])?o=i[0]:o=ke(i[0]),ce([Sn(e),n.kind,o?[" ",o]:"",ke(i.slice(1).map(u=>[",",a&&!s?be:Ve,u])),s?"":Xt(t)])}function VG(e,t,r){let{node:n}=e,i=n.type==="WithStatement"?"with":"while";return ce([i," (",sg(e,t,r),")",gu(e,t,r)])}function $G(e,t,r,n){let{node:i}=e;if(Ny(i))return fG(e,t);switch(i.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[ir(e,t),r("node"),be];case"File":return pG(e,t,r)??r("program");case"ExpressionStatement":return uG(e,t,r);case"ChainExpression":return r("expression");case"ParenthesizedExpression":return!je(i.expression)&&(ii(i.expression)||Ir(i.expression))?["(",r("expression"),")"]:ce(["(",ke([Ce,r("expression")]),Ce,")"]);case"AssignmentExpression":return TW(e,t,r);case"VariableDeclarator":return vW(e,t,r);case"BinaryExpression":case"LogicalExpression":return Qv(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return EW(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return yW(e,t,r);case"Identifier":return[i.name,Kr(e),yv(e),Pr(e,r)];case"V8IntrinsicIdentifier":return["%",i.name];case"SpreadElement":return Sy(e,r);case"RestElement":return Sy(e,r);case"FunctionDeclaration":case"FunctionExpression":return ag(e,t,r,n);case"ArrowFunctionExpression":return nW(e,t,r,n);case"YieldExpression":return[`yield${i.delegate?"*":""}`,i.argument?[" ",r("argument")]:""];case"AwaitExpression":return MW(e,t,r);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return S3(e,t,r);case"ImportDeclaration":return xG(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return kG(e,t,r);case"ImportAttribute":return py(e,t,r);case"Program":case"BlockStatement":case"StaticBlock":return m3(e,t,r);case"ClassBody":return mg(e,t,r);case"ThrowStatement":return hT(e,t,r);case"ReturnStatement":return hT(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Im(e,t,r);case"ObjectExpression":case"ObjectPattern":return xu(e,t,r);case"Property":return fu(i)?Fy(e,t,r):py(e,t,r);case"ObjectProperty":return py(e,t,r);case"ObjectMethod":return Fy(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":return dg(e,t,r);case"SequenceExpression":return SG(e,t,r);case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),Xt(t)];case"UnaryExpression":{let s=[i.operator];/[a-z]$/.test(i.operator)&&s.push(" ");let a=r("argument");return je(i.argument)?s.push(ce(["(",ke([Ce,a]),Ce,")"])):s.push(a),s}case"UpdateExpression":return[i.prefix?i.operator:"",r("argument"),i.prefix?"":i.operator];case"ConditionalExpression":return gg(e,t,r,n);case"VariableDeclaration":return L3(e,t,r);case"IfStatement":return dG(e,t,r);case"ForStatement":return lG(e,t,r);case"WithStatement":case"WhileStatement":return VG(e,t,r);case"DoWhileStatement":return nG(e,t,r);case"ForInStatement":case"ForOfStatement":return cG(e,t,r);case"DoExpression":return[i.async?"async ":"","do ",r("body")];case"BreakStatement":case"ContinueStatement":return[i.type==="BreakStatement"?"break":"continue",i.label?[" ",r("label")]:"",Xt(t)];case"LabeledStatement":return[r("label"),`:${i.body.type==="EmptyStatement"&&!je(i.body,We.Leading)?"":" "}`,r("body")];case"TryStatement":return qG(e,t,r);case"CatchClause":return UG(e,t,r);case"SwitchStatement":return wG(e,t,r);case"SwitchCase":return _G(e,t,r);case"DebuggerStatement":return["debugger",Xt(t)];case"ClassDeclaration":case"ClassExpression":return Dg(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return F3(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return A3(e,t,r);case"TemplateElement":return za(i.value.raw);case"TemplateLiteral":return jv(e,t,r);case"TaggedTemplateExpression":return Uz(e,t,r);case"PrivateIdentifier":return["#",i.name];case"PrivateName":return["#",r("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",r("body")];case"VoidPattern":return"void";case"EmptyStatement":if(Py(e))return";";default:throw new yu(i,"ESTree")}}function O3(e){return[e("elementType"),"[]"]}function M3(e,t,r){let{parent:n,node:i,key:s}=e,a=i.type==="AsConstExpression"?"const":r("typeAnnotation"),o=[r("expression")," ",DU(i)?"satisfies":"as"," ",a];return s==="callee"&&Jc(n)||s==="object"&&jt(n)?ce([ke([Ce,...o]),Ce]):o}function zG(e,t,r){let{node:n}=e,i=[Sn(e),n.async?"async ":"","component"];n.id&&i.push(" ",r("id")),i.push(r("typeParameters"));let s=eo(e,t,r);return n.rendersType?i.push(ce([s," ",r("rendersType")])):i.push(ce([s])),n.body&&i.push(" ",r("body")),n.type==="DeclareComponent"&&i.push(Xt(t)),i}function HG(e,t,r){let{node:n}=e;return n.shorthand?r("local"):[r("name")," as ",r("local")]}function WG(e,t,r){let{node:n}=e,i=[];return n.name&&i.push(r("name"),n.optional?"?: ":": "),i.push(r("typeAnnotation")),i}function GG(e,t,r){let{node:n}=e;return[n.explicitType?`of ${n.explicitType} `:"",xu(e,t,r)]}function JG(e,t,r){let{node:n}=e;return[n.type==="EnumSymbolBody"||n.explicitType?`of ${n.type.slice(4,-4).toLowerCase()} `:"",xu(e,t,r)]}function R3(e,t,r){let{node:n}=e,i=n.type==="TSEnumMember",s=i?zs(e,t,r):r("id"),a=i?"initializer":"init";return n[a]?[s," = ",r(a)]:s}function j3(e,t){let{node:r}=e;return[Sn(e),r.const?"const ":"","enum ",t("id")," ",t("body")]}function q3(e,t,r){let{node:n}=e,i=[qm(e)];(n.type==="TSConstructorType"||n.type==="TSConstructSignatureDeclaration")&&i.push("new ");let s=eo(e,t,r,!1,!0),a=[];return n.type==="FunctionTypeAnnotation"?a.push(KG(e)?" => ":": ",r("returnType")):a.push(Pr(e,r,"returnType")),ip(n,a)&&(s=ce(s)),i.push(s,a),[ce(i),n.type==="TSConstructSignatureDeclaration"||n.type==="TSCallSignatureDeclaration"?as(e,t):""]}function KG(e){let{node:t,parent:r}=e;return t.type==="FunctionTypeAnnotation"&&(Zy(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&Lm(r,t)||r.type==="ObjectTypeCallProperty"||e.getParentNode(2)?.type==="DeclareFunction"))}function XG(e,t,r){return[Sn(e),"hook",e.node.id?[" ",r("id")]:"",Xt(t)]}function fT(e){let{node:t}=e;return t.type==="HookTypeAnnotation"&&e.getParentNode(2)?.type==="DeclareHook"}function YG(e,t,r){let{node:n}=e,i=eo(e,t,r,!1,!0),s=[fT(e)?": ":" => ",r("returnType")];return ce([fT(e)?"":"hook ",ip(n,s)?ce(i):i,s])}function U3(e,t,r){return[r("objectType"),Kr(e),"[",r("indexType"),"]"]}function V3(e,t,r){return["infer ",r("typeParameter")]}function $3(e,t,r){let n=!1;return ce(e.map(({isFirst:i,previous:s,node:a,index:o})=>{let u=r();if(i)return u;let h=$s(a),c=$s(s);return c&&h?[" & ",n?ke(u):u]:!c&&!h||os(t.originalText,a)?t.experimentalOperatorPosition==="start"?ke([Ve,"& ",u]):ke([" &",Ve,u]):(o>1&&(n=!0),[" & ",o>1?ke(u):u])},"types"))}function QG(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function ZG(e,t,r){let{node:n}=e;return[ce([n.variance?r("variance"):"",ce(["[",ke([Ce,r("keyTparam")," in ",r("sourceType")]),Ce,"]"]),QG(n.optional),": ",r("propType")]),as(e,t)]}function mT(e,t){return e==="+"||e==="-"?e+t:t}function eJ(e,t,r){let{node:n}=e,i=!1;if(t.objectWrap==="preserve"){let o=Hn(t),u=ht(n)+1,h=o.slice(u),c=u+h.search(/\S/);ln(t.originalText,u,c)&&(i=!0)}let s=[],a=bn(n,We.Dangling);if(a.length>0){let o=kt(0,a,-1),u=ir(e,t);s.push(...u.slice(0,-1),ce([kt(0,u,-1),Hs(o)||hr(t.originalText,it(o))?be:Ve]))}return ce(["{",ke([t.bracketSpacing?Ve:Ce,...s,n.readonly?[mT(n.readonly,"readonly")," "]:"",ce(["[",ke([Ce,r("key")," in ",r("constraint"),n.nameType?[" as ",r("nameType")]:""]),Ce,"]"]),n.optional?mT(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation"),t.semi?Et(";"):""]),t.bracketSpacing?Ve:Ce,"}"],{shouldBreak:i})}function tJ(e,t,r){let{node:n}=e;return[ce(["match (",ke([Ce,r("argument")]),Ce,")"])," {",n.cases.length>0?ke([be,Tt(be,e.map(({node:i,isLast:s})=>[r(),!s&&Ii(i,t)?be:""],"cases"))]):"",be,"}"]}function rJ(e,t,r){let{node:n}=e,i=je(n,We.Dangling)?[" ",ir(e,t)]:[],s=n.type==="MatchStatementCase"?[" ",r("body")]:ke([Ve,r("body"),","]);return[r("pattern"),n.guard?ce([ke([Ve,"if (",r("guard"),")"])]):"",ce([" =>",i,s])]}function nJ(e,t,r){let{node:n}=e;switch(n.type){case"MatchOrPattern":return oJ(e,t,r);case"MatchAsPattern":return[r("pattern")," as ",r("target")];case"MatchWildcardPattern":return["_"];case"MatchLiteralPattern":return r("literal");case"MatchUnaryPattern":return[n.operator,r("argument")];case"MatchIdentifierPattern":return r("id");case"MatchMemberPattern":{let i=n.property.type==="Identifier"?[".",r("property")]:["[",ke([Ce,r("property")]),Ce,"]"];return ce([r("base"),i])}case"MatchBindingPattern":return[n.kind," ",r("id")];case"MatchObjectPattern":case"MatchInstanceObjectPattern":return iJ(e,t,r);case"MatchInstancePattern":return ce([r("targetConstructor")," ",r("properties")]);case"MatchArrayPattern":{let i=e.map(r,"elements");return n.rest&&i.push(r("rest")),ce(["[",ke([Ce,Tt([",",Ve],i)]),n.rest?"":Et(","),Ce,"]"])}case"MatchObjectPatternProperty":return n.shorthand?r("pattern"):ce([r("key"),":",ke([Ve,r("pattern")])]);case"MatchRestPattern":{let i=["..."];return n.argument&&i.push(r("argument")),i}}}function iJ(e,t,r){let{node:n}=e,i=e.map(r,"properties");return n.rest&&i.push(r("rest")),ce(["{",ke([Ce,Tt([",",Ve],i)]),n.rest?"":Et(","),Ce,"}"])}var z3=nt(["MatchWildcardPattern","MatchLiteralPattern","MatchUnaryPattern","MatchIdentifierPattern"]);function sJ(e){let{patterns:t}=e;if(t.some(n=>je(n)))return!1;let r=t.find(n=>n.type==="MatchObjectPattern");return r?t.every(n=>n===r||z3(n)):!1}function aJ(e){return z3(e)||e.type==="MatchObjectPattern"?!0:e.type==="MatchOrPattern"?sJ(e):!1}function oJ(e,t,r){let{node:n}=e,{parent:i}=e,s=i.type!=="MatchStatementCase"&&i.type!=="MatchExpressionCase"&&i.type!=="MatchArrayPattern"&&i.type!=="MatchObjectPatternProperty"&&!os(t.originalText,n),a=aJ(n),o=e.map(()=>{let h=r();return a||(h=Tn(2,h)),Vr(e,h,t)},"patterns");if(a)return Tt(" | ",o);let u=[Et(["| "]),Tt([Ve,"| "],o)];return Fn(e,t)?ce([ke([Et([Ce]),u]),Ce]):i.type==="MatchArrayPattern"&&i.elements.length>1?ce([ke([Et(["(",Ce]),u]),Ce,Et(")")]):ce(s?ke(u):u)}function uJ(e,t,r){let{node:n}=e,i=[Sn(e),"opaque type ",r("id"),r("typeParameters")];if(n.supertype&&i.push(": ",r("supertype")),n.lowerBound||n.upperBound){let s=[];n.lowerBound&&s.push(ke([Ve,"super ",r("lowerBound")])),n.upperBound&&s.push(ke([Ve,"extends ",r("upperBound")])),i.push(ce(s))}return n.impltype&&i.push(" = ",r("impltype")),i.push(Xt(t)),i}function H3(e,t,r){let{node:n}=e;return["...",...n.type==="TupleTypeSpreadElement"&&n.label?[r("label"),": "]:[],r("typeAnnotation")]}function W3(e,t,r){let{node:n}=e;return[n.variance?r("variance"):"",r("label"),n.optional?"?":"",": ",r("elementType")]}function G3(e,t,r){let{node:n}=e,i=[Sn(e),"type ",r("id"),r("typeParameters")],s=n.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[sp(e,t,r,i," =",s),Xt(t)]}function lJ(e,t,r){let{node:n}=e;return Xr(n).length===1&&n.type.startsWith("TS")&&!n[r][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/.test(t.filepath))}function Wc(e,t,r,n){let{node:i}=e,s=i[n];if(!s)return"";if(!Array.isArray(s))return r(n);let a=jm(e.grandparent),o=e.match(h=>!(h[n].length===1&&$s(h[n][0])),void 0,(h,c)=>c==="typeAnnotation",h=>h.type==="Identifier",d3);if(s.length===0||!o&&(a||s.length===1&&(s[0].type==="NullableTypeAnnotation"||_z(s[0])))&&!s.some(h=>{let c=bn(h,p=>p.leading||p.trailing);return c.length>0&&(c.some(p=>Hs(p))||hr(t.originalText,it(kt(0,c,-1))))}))return["<",Tt(", ",e.map(r,n)),cJ(e,t),">"];let u=i.type==="TSTypeParameterInstantiation"?"":lJ(e,t,n)?",":Ys(t);return ce(["<",ke([Ce,Tt([",",Ve],e.map(r,n))]),u,Ce,">"])}function cJ(e,t){let{node:r}=e;if(!je(r,We.Dangling))return"";let n=!je(r,We.Line),i=ir(e,t,{indent:!n});return n?i:[i,be]}function J3(e,t,r){let{node:n}=e,i=[n.const?"const ":""],s=n.type==="TSTypeParameter"?r("name"):n.name;if(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(s),n.bound&&(n.usesExtendsBound&&i.push(" extends "),i.push(Pr(e,r,"bound"))),n.constraint){let a=Symbol("constraint");i.push(" extends",ce(ke(Ve),{id:a}),vn,Xc(r("constraint"),{groupId:a}))}if(n.default){let a=Symbol("default");i.push(" =",ce(ke(Ve),{id:a}),vn,Xc(r("default"),{groupId:a}))}return ce(i)}function K3(e,t){let{node:r}=e;return[r.type==="TSTypePredicate"&&r.asserts?"asserts ":r.type==="TypePredicate"&&r.kind?`${r.kind} `:"",t("parameterName"),r.typeAnnotation?[" is ",Pr(e,t)]:""]}function X3({node:e},t){let r=e.type==="TSTypeQuery"?"exprName":"argument";return["typeof ",t(r),t("typeArguments")]}function pJ(e,t,r,n){let{node:i}=e;if(pv(i))return i.type.slice(0,-14).toLowerCase();switch(i.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return zG(e,t,r);case"ComponentParameter":return HG(e,t,r);case"ComponentTypeParameter":return WG(e,t,r);case"HookDeclaration":return ag(e,t,r);case"DeclareHook":return XG(e,t,r);case"HookTypeAnnotation":return YG(e,t,r);case"DeclareFunction":return[Sn(e),"function ",r("id"),r("predicate"),Xt(t)];case"DeclareModule":return["declare module ",r("id")," ",r("body")];case"DeclareModuleExports":return["declare module.exports",Pr(e,r),Xt(t)];case"DeclareNamespace":return["declare namespace ",r("id")," ",r("body")];case"DeclareVariable":return Array.isArray(i.declarations)?L3(e,t,r):[Sn(e),i.kind??"var"," ",r("id"),Xt(t)];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return S3(e,t,r);case"DeclareOpaqueType":case"OpaqueType":return uJ(e,t,r);case"DeclareTypeAlias":case"TypeAlias":return G3(e,t,r);case"IntersectionTypeAnnotation":return $3(e,t,r);case"UnionTypeAnnotation":return _v(e,t,r,n);case"ConditionalTypeAnnotation":return gg(e,t,r);case"InferTypeAnnotation":return V3(e,t,r);case"FunctionTypeAnnotation":return q3(e,t,r);case"TupleTypeAnnotation":return dg(e,t,r);case"TupleTypeLabeledElement":return W3(e,t,r);case"TupleTypeSpreadElement":return H3(e,t,r);case"GenericTypeAnnotation":return[r("id"),Wc(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return U3(e,t,r);case"TypeAnnotation":return Pv(e,t,r);case"TypeParameter":return J3(e,t,r);case"TypeofTypeAnnotation":return X3(e,r);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return O3(r);case"DeclareEnum":case"EnumDeclaration":return j3(e,r);case"EnumBody":return GG(e,t,r);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return JG(e,t,r);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return R3(e,t,r);case"FunctionTypeParam":{let s=i.name?r("name"):e.parent.this===i?"this":"";return[s,Kr(e),s?": ":"",r("typeAnnotation")]}case"DeclareClass":case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"RecordDeclaration":return Dg(e,t,r);case"ObjectTypeAnnotation":case"RecordDeclarationBody":return mg(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"RecordDeclarationImplements":return[r("id"),r("typeArguments")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:s}=i;return Wa(s==="plus"||s==="minus"||s==="readonly"||s==="writeonly"||s==="in"||s==="out"),s==="plus"?"+":s==="minus"?"-":`${s} `}case"KeyofTypeAnnotation":return["keyof ",r("argument")];case"ObjectTypeCallProperty":return[i.static?"static ":"",r("value"),as(e,t)];case"ObjectTypeMappedTypeProperty":return ZG(e,t,r);case"ObjectTypeIndexer":return[i.static?"static ":"",i.variance?r("variance"):"","[",r("id"),i.id?": ":"",r("key"),"]: ",r("value"),as(e,t)];case"ObjectTypeProperty":{let s="";return i.proto?s="proto ":i.static&&(s="static "),[s,i.kind!=="init"?i.kind+" ":"",i.variance?r("variance"):"",zs(e,t,r),Kr(e),fu(i)?"":": ",r("value"),as(e,t)]}case"ObjectTypeInternalSlot":return[i.static?"static ":"","[[",r("id"),"]]",Kr(e),i.method?"":": ",r("value"),as(e,t)];case"ObjectTypeSpreadProperty":return Sy(e,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(i.value);case"StringLiteralTypeAnnotation":return za(Ha(An(i),t));case"NumberLiteralTypeAnnotation":return Yc(An(i));case"BigIntLiteralTypeAnnotation":return vy(An(i));case"TypeCastExpression":return["(",r("expression"),Pr(e,r),")"];case"TypePredicate":return K3(e,r);case"TypeOperator":return[i.operator," ",r("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Wc(e,t,r,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...i.type==="DeclaredPredicate"?["(",r("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return M3(e,t,r);case"MatchExpression":case"MatchStatement":return tJ(e,t,r);case"MatchExpressionCase":case"MatchStatementCase":return rJ(e,t,r);case"MatchOrPattern":case"MatchAsPattern":case"MatchWildcardPattern":case"MatchLiteralPattern":case"MatchUnaryPattern":case"MatchIdentifierPattern":case"MatchInstancePattern":case"MatchInstanceObjectPattern":case"MatchMemberPattern":case"MatchBindingPattern":case"MatchObjectPattern":case"MatchObjectPatternProperty":case"MatchRestPattern":case"MatchArrayPattern":return nJ(e,t,r);case"RecordExpression":return[r("recordConstructor"),r("typeArguments")," ",r("properties")];case"RecordExpressionProperties":return xu(e,t,r);case"RecordDeclarationProperty":case"RecordDeclarationStaticProperty":{let s=i.type==="RecordDeclarationStaticProperty",a=s?"value":"defaultValue";return[s?"static ":"",zs(e,t,r),Pr(e,r),i[a]?[" = ",r(a)]:""]}}}function hJ(e,t){let{node:r}=e,n=t.originalText.slice(ht(r),it(r));return t.semi&&fy(r)?n+=";":lg(e,t)&&(n=`;${n}`),r.type==="ClassExpression"&&qt(r.decorators)?[ke([Ce,n]),Ce]:n}var dy=e=>e===""||e===Ve||e===be||e===Ce;function dJ(e,t,r){let{node:n}=e;if(n.type==="JSXElement"&&wJ(n))return[r("openingElement"),r("closingElement")];let i=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),s=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[i,...e.map(r,"children"),s];n.children=n.children.map(k=>_J(k)?{type:"JSXText",value:" ",raw:" "}:k);let a=n.children.some(Fr),o=n.children.filter(k=>k.type==="JSXExpressionContainer").length>1,u=n.type==="JSXElement"&&n.openingElement.attributes.length>1,h=Jr(i)||a||u||o,c=e.parent.rootMarker==="mdx",p=t.singleQuote?"{' '}":'{" "}',d=c?Ve:Et([p,Ce]," "),f=n.openingElement?.name?.name==="fbt",D=fJ(e,t,r,d,f),g=n.children.some(k=>Zc(k));for(let k=D.length-2;k>=0;k--){let P=D[k]===""&&D[k+1]==="",v=D[k]===be&&D[k+1]===""&&D[k+2]===be,w=(D[k]===Ce||D[k]===be)&&D[k+1]===""&&D[k+2]===d,I=D[k]===d&&D[k+1]===""&&(D[k+2]===Ce||D[k+2]===be),O=D[k]===d&&D[k+1]===""&&D[k+2]===d,R=D[k]===Ce&&D[k+1]===""&&D[k+2]===be||D[k]===be&&D[k+1]===""&&D[k+2]===Ce;v&&g||P||w||O||R?D.splice(k,2):I&&D.splice(k+1,2)}for(;D.length>0&&dy(kt(0,D,-1));)D.pop();for(;D.length>1&&dy(D[0])&&dy(D[1]);)D.shift(),D.shift();let x=[""];for(let[k,P]of D.entries()){if(P===d){if(k===1&&l$(D[k-1])){if(D.length===2){x.push([x.pop(),p]);continue}x.push([p,be],"");continue}if(k===D.length-1){x.push([x.pop(),p]);continue}if(D[k-1]===""&&D[k-2]===be){x.push([x.pop(),p]);continue}}k%2===0?x.push([x.pop(),P]):x.push(P,""),Jr(P)&&(h=!0)}let A=g?nv(x):ce(x,{shouldBreak:!0});if(t.cursorNode?.type==="JSXText"&&n.children.includes(t.cursorNode)?A=[Fm,A,Fm]:t.nodeBeforeCursor?.type==="JSXText"&&n.children.includes(t.nodeBeforeCursor)?A=[Fm,A]:t.nodeAfterCursor?.type==="JSXText"&&n.children.includes(t.nodeAfterCursor)&&(A=[A,Fm]),c)return A;let C=ce([i,ke([be,A]),be,s]);return h?C:Va([ce([i,...D,s]),C])}function fJ(e,t,r,n,i){let s="",a=[s];function o(h){s=h,a.push([a.pop(),h])}function u(h){h!==""&&(s=h,a.push(h,""))}return e.each(({node:h,next:c})=>{if(h.type==="JSXText"){let p=An(h);if(Zc(h)){let d=km.split(p,!0);d[0]===""&&(d.shift(),/\n/.test(d[0])?u(yT(i,d[1],h,c)):u(n),d.shift());let f;if(kt(0,d,-1)===""&&(d.pop(),f=d.pop()),d.length===0)return;for(let[D,g]of d.entries())D%2===1?u(Ve):o(g);f!==void 0?/\n/.test(f)?u(yT(i,s,h,c)):u(n):u(DT(i,s,h,c))}else/\n/.test(p)?p.match(/\n/g).length>1&&u(be):u(n)}else{let p=r();if(o(p),c&&Zc(c)){let d=km.trim(An(c)),[f]=km.split(d);u(DT(i,f,h,c))}else u(be)}},"children"),a}function DT(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||n?.type==="JSXElement"&&!n.closingElement?t.length===1?Ce:be:Ce}function yT(e,t,r,n){return e?be:t.length===1?r.type==="JSXElement"&&!r.closingElement||n?.type==="JSXElement"&&!n.closingElement?be:Ce:be}var mJ=nt(["ArrayExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","NewExpression","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot","MatchExpressionCase"]);function DJ(e,t,r){let{parent:n}=e;if(mJ(n))return t;let i=yJ(e),s=Fn(e,r);return ce([s?"":Et("("),ke([Ce,t]),Ce,s?"":Et(")")],{shouldBreak:i})}function yJ(e){return e.match(void 0,(t,r)=>r==="body"&&t.type==="ArrowFunctionExpression",(t,r)=>r==="arguments"&&Ot(t))&&(e.match(void 0,void 0,void 0,(t,r)=>r==="expression"&&t.type==="JSXExpressionContainer")||e.match(void 0,void 0,void 0,(t,r)=>r==="expression"&&t.type==="ChainExpression",(t,r)=>r==="expression"&&t.type==="JSXExpressionContainer"))}function gJ(e,t,r){let{node:n}=e,i=[r("name")];if(n.value){let s;if(dr(n.value)){let a=An(n.value),o=Cr(0,Cr(0,a.slice(1,-1),"'","'"),""",'"'),u=Cv(o,t.jsxSingleQuote);o=u==='"'?Cr(0,o,'"',"""):Cr(0,o,"'","'"),s=e.call(()=>Vr(e,za(u+o+u),t),"value")}else s=r("value");i.push("=",s)}return i}function xJ(e,t,r){let{node:n}=e,i=(s,a)=>s.type==="JSXEmptyExpression"||!je(s)&&(Ir(s)||ii(s)||s.type==="ArrowFunctionExpression"||s.type==="AwaitExpression"&&(i(s.argument,s)||s.argument.type==="JSXElement")||Ot(Gs(s))||s.type==="FunctionExpression"||s.type==="TemplateLiteral"||s.type==="TaggedTemplateExpression"||s.type==="DoExpression"||Fr(a)&&(s.type==="ConditionalExpression"||us(s)));return i(n.expression,e.parent)?ce(["{",r("expression"),vn,"}"]):ce(["{",ke([Ce,r("expression")]),Ce,vn,"}"])}function EJ(e,t,r){let{node:n}=e,i=je(n.name)||je(n.typeArguments);if(n.selfClosing&&n.attributes.length===0&&!i)return["<",r("name"),r("typeArguments")," />"];if(n.attributes?.length===1&&dr(n.attributes[0].value)&&!n.attributes[0].value.value.includes(`
- `)&&!i&&!je(n.attributes[0]))return ce(["<",r("name"),r("typeArguments")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let s=n.attributes?.some(o=>dr(o.value)&&o.value.value.includes(`
- `)),a=t.singleAttributePerLine&&n.attributes.length>1?be:Ve;return ce(["<",r("name"),r("typeArguments"),ke(e.map(({isFirst:o,previous:u})=>[o?a:Ii(u,t)?[be,be]:a,r()],"attributes")),...CJ(n,t,i)],{shouldBreak:s})}function CJ(e,t,r){return e.selfClosing?[Ve,"/>"]:FJ(e,t,r)?[">"]:[Ce,">"]}function FJ(e,t,r){let n=e.attributes.length>0&&je(kt(0,e.attributes,-1),We.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function AJ(e,t,r){let{node:n}=e,i=["</"],s=r("name");return je(n.name,We.Leading|We.Line)?i.push(ke([be,s]),be):je(n.name,We.Leading|We.Block)?i.push(" ",s):i.push(s),i.push(">"),i}function bJ(e,t){let{node:r}=e,n=je(r),i=je(r,We.Line),s=r.type==="JSXOpeningFragment";return[s?"<":"</",ke([i?be:n&&!s?" ":"",ir(e,t)]),i?be:"",">"]}function kJ(e,t,r){let n=Vr(e,dJ(e,t,r),t);return DJ(e,n,t)}function TJ(e,t){let{node:r}=e,n=je(r,We.Line);return[ir(e,t,{indent:n}),n?be:""]}function vJ(e,t,r){let{node:n}=e;return["{",e.call(({node:i})=>{let s=["...",r()];return je(i)?[ke([Ce,Vr(e,s,t)]),Ce]:s},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function SJ(e,t,r){let{node:n}=e;if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return gJ(e,t,r);case"JSXIdentifier":return n.name;case"JSXNamespacedName":return Tt(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return Tt(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return vJ(e,t,r);case"JSXExpressionContainer":return xJ(e,t,r);case"JSXFragment":case"JSXElement":return kJ(e,t,r);case"JSXOpeningElement":return EJ(e,t,r);case"JSXClosingElement":return AJ(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return bJ(e,t);case"JSXEmptyExpression":return TJ(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new yu(n,"JSX")}}function wJ(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!Zc(t)}function _J(e){return e.type==="JSXExpressionContainer"&&dr(e.expression)&&e.expression.value===" "&&!je(e.expression)}function BJ(e,t,r){let{node:n}=e,i=n.parameters.length>1?Ys(t):"",s=ce([ke([Ce,Tt([", ",Ce],e.map(r,"parameters"))]),i,Ce]);return[e.key==="body"&&e.parent.type==="ClassBody"&&n.static?"static ":"",n.readonly?"readonly ":"","[",n.parameters?s:"","]",Pr(e,r),as(e,t)]}function gT(e,t,r){let{node:n}=e;return[n.postfix?"":r,Pr(e,t),n.postfix?r:""]}function PJ(e,t,r){let{node:n}=e,i=[],s=n.kind&&n.kind!=="method"?`${n.kind} `:"";i.push(Um(n),s,zs(e,t,r),Kr(e));let a=eo(e,t,r,!1,!0),o=Pr(e,r,"returnType"),u=ip(n,o);return i.push(u?ce(a):a),n.returnType&&i.push(ce(o)),[ce(i),as(e,t)]}function IJ(e,t,r){let{node:n}=e;return[Sn(e),n.kind==="global"?"":`${n.kind} `,r("id"),n.body?[" ",ce(r("body"))]:Xt(t)]}function NJ(e,t,r){let{node:n}=e,i=!(Ir(n.expression)||ii(n.expression)),s=ce(["<",ke([Ce,r("typeAnnotation")]),Ce,">"]),a=[Et("("),ke([Ce,r("expression")]),Ce,Et(")")];return i?Va([[s,r("expression")],[s,ce(a,{shouldBreak:!0})],[s,r("expression")]]):ce([s,r("expression")])}function LJ(e,t,r,n){let{node:i}=e;if(i.type.startsWith("TS")){if(hv(i))return i.type.slice(2,-7).toLowerCase();switch(i.type){case"TSThisType":return"this";case"TSTypeAssertion":return NJ(e,t,r);case"TSDeclareFunction":return ag(e,t,r);case"TSExportAssignment":return["export = ",r("expression"),Xt(t)];case"TSModuleBlock":return m3(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return mg(e,t,r);case"TSTypeAliasDeclaration":return G3(e,t,r);case"TSQualifiedName":return[r("left"),".",r("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return F3(e,t,r);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return A3(e,t,r);case"TSInterfaceHeritage":case"TSClassImplements":case"TSInstantiationExpression":return[r("expression"),r("typeArguments")];case"TSTemplateLiteralType":return jv(e,t,r);case"TSNamedTupleMember":return W3(e,t,r);case"TSRestType":return H3(e,t,r);case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Dg(e,t,r);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Wc(e,t,r,"params");case"TSTypeParameter":return J3(e,t,r);case"TSAsExpression":case"TSSatisfiesExpression":return M3(e,t,r);case"TSArrayType":return O3(r);case"TSPropertySignature":return[i.readonly?"readonly ":"",zs(e,t,r),Kr(e),Pr(e,r),as(e,t)];case"TSParameterProperty":return[Um(i),i.static?"static ":"",i.override?"override ":"",i.readonly?"readonly ":"",r("parameter")];case"TSTypeQuery":return X3(e,r);case"TSIndexSignature":return BJ(e,t,r);case"TSTypePredicate":return K3(e,r);case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[Im(e,t,r),i.qualifier?[".",r("qualifier")]:"",Wc(e,t,r,"typeArguments")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return U3(e,t,r);case"TSTypeOperator":return[i.operator," ",r("typeAnnotation")];case"TSMappedType":return eJ(e,t,r);case"TSMethodSignature":return PJ(e,t,r);case"TSNamespaceExportDeclaration":return["export as namespace ",r("id"),Xt(t)];case"TSEnumDeclaration":return j3(e,r);case"TSEnumBody":return xu(e,t,r);case"TSEnumMember":return R3(e,t,r);case"TSImportEqualsDeclaration":return["import ",w3(i,!1),r("id")," = ",r("moduleReference"),Xt(t)];case"TSExternalModuleReference":return Im(e,t,r);case"TSModuleDeclaration":return IJ(e,t,r);case"TSConditionalType":return gg(e,t,r);case"TSInferType":return V3(e,t,r);case"TSIntersectionType":return $3(e,t,r);case"TSUnionType":return _v(e,t,r,n);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return q3(e,t,r);case"TSTupleType":return dg(e,t,r);case"TSTypeReference":return[r("typeName"),Wc(e,t,r,"typeArguments")];case"TSTypeAnnotation":return Pv(e,t,r);case"TSEmptyBodyFunctionExpression":return og(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return gT(e,r,"?");case"TSJSDocNonNullableType":return gT(e,r,"!");default:throw new yu(i,"TypeScript")}}}function OJ(e,t,r,n){for(let i of[JH,SJ,pJ,LJ,$G]){let s=i(e,t,r,n);if(s!==void 0)return s}}var MJ=nt(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function xT(e,t,r,n){e.isRoot&&t.__onHtmlBindingRoot?.(e.node,t);let{node:i}=e,s=hg(e)?hJ(e,t):OJ(e,t,r,n);if(!s)return"";if(MJ(i))return s;s=RJ(e,t,s);let a=i.type!=="ClassExpression"&&qt(i.decorators)?e3(e,t,r):"",o=Fn(e,t);return!a&&!o?s:ev(s,u=>[o?"(":"",a?ce([a,u]):u,o?")":""])}function RJ(e,t,r){let{node:n}=e;return(je(n,We.Leading)||je(n,We.Trailing))&&zT(e)?[ke([Ce,Vr(e,r,t)]),Ce]:r}var jJ={experimental_avoidAstMutation:!0,experimental_locForRangeFormat:{locStart:ht,locEnd:Nm}},Y3={features:jJ,massageAstNode:Gv,canAttachComment:kU,handleComments:FV,isGap:bV,willPrintOwnComments:Oz,embed:fH,insertPragma:NH,printComment:MH,printPrettierIgnored:xT,print:xT,getVisitorKeys:GT,isBlockComment:si,hasPrettierIgnore:hg},qJ=[{name:"JSON.stringify",type:"data",aceMode:"json",extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json-stringify"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON",type:"data",aceMode:"json",extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".json.example",".mcmeta",".sarif",".slnlaunch",".tact",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON with Comments",type:"data",aceMode:"javascript",extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-color-scheme",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],tmScope:"source.json.comments",aliases:["jsonc"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",group:"JSON",parsers:["jsonc"],vscodeLanguageIds:["jsonc"],linguistLanguageId:423},{name:"JSON5",type:"data",aceMode:"json5",extensions:[".json5"],tmScope:"source.js",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"],linguistLanguageId:175}],Q3={};_y(Q3,{estree:()=>Y3,"estree-json":()=>WJ});var UJ={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},VJ=WT(UJ),$J=VJ;function wy(e){return e.extra.raw}var zJ=new Set(["start","end","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function Z3(e,t){let{type:r}=e;if(r==="ObjectProperty"){let{key:n}=e;if(n.type==="Identifier"){let{name:i}=n;t.key={type:"StringLiteral",value:i,extra:{rawValue:i}}}else if(n.type==="NumericLiteral"){let i=wy(n);String(Number(i))===i&&(t.key={type:"StringLiteral",value:i,extra:{rawValue:i}})}}if(r==="StringLiteral"&&delete t.extra.raw,r==="UnaryExpression"&&e.operator==="+")return t.argument;if((r==="ArrayExpression"||r==="ObjectExpression")&&(t.extra??(t.extra={}),e.extra?.trailingComma&&delete t.extra.trailingComma),r==="ArrayExpression"){for(let[n,i]of e.elements.entries())i===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral"){let n=e.quasis[0].value.cooked;return{type:"StringLiteral",value:n,extra:{rawValue:n}}}}Z3.ignoredProperties=zJ;function HJ(e,t,r){let{node:n}=e;switch(n.type){case"JsonRoot":return[r("node"),be];case"ArrayExpression":{if(n.elements.length===0)return"[]";let i=e.map(()=>e.node===null?"null":r(),"elements");return["[",ke([be,Tt([",",be],i)]),be,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",ke([be,Tt([",",be],e.map(r,"properties"))]),be,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":return Ha(wy(n),t);case"NumericLiteral":{let i=wy(n);return ET(e)&&String(Number(i))===i?`"${i}"`:i}case"Identifier":return ET(e)?JSON.stringify(n.name):n.name;case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new yu(n,"JSON")}}function ET(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var WJ={massageAstNode:Z3,print:HJ,getVisitorKeys:$J},Vc={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."}},Us="JavaScript",GJ={arrowParens:{category:Us,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Vc.bracketSameLine,objectWrap:Vc.objectWrap,bracketSpacing:Vc.bracketSpacing,jsxBracketSameLine:{category:Us,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Us,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalOperatorPosition:{category:Us,type:"choice",default:"end",description:"Where to print operators when binary expressions wrap lines.",choices:[{value:"start",description:"Print operators at the start of new lines."},{value:"end",description:"Print operators at the end of previous lines."}]},experimentalTernaries:{category:Us,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Vc.singleQuote,jsxSingleQuote:{category:Us,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Us,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Us,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Vc.singleAttributePerLine},eS=GJ,tS={...FT,...Q3},rS=[...Xq,...qJ];var ex={};wo(ex,{default:()=>ZS,languages:()=>ew,options:()=>tw,parsers:()=>jg,printers:()=>Zg});Jt();var JJ=Object.create,Lg=Object.defineProperty,KJ=Object.getOwnPropertyDescriptor,XJ=Object.getOwnPropertyNames,YJ=Object.getPrototypeOf,QJ=Object.prototype.hasOwnProperty,Ne=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},oD=(e,t)=>{for(var r in t)Lg(e,r,{get:t[r],enumerable:!0})},ZJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of XJ(t))!QJ.call(e,i)&&i!==r&&Lg(e,i,{get:()=>t[i],enumerable:!(n=KJ(t,i))||n.enumerable});return e},Au=(e,t,r)=>(r=e!=null?JJ(YJ(e)):{},ZJ(t||!e||!e.__esModule?Lg(r,"default",{value:e,enumerable:!0}):r,e)),eK=Ne((e,t)=>{"use strict";t.exports=D;var r=9,n=10,i=32,s=33,a=58,o=91,u=92,h=93,c=94,p=96,d=4,f=1024;function D(v){var w=this.Parser,I=this.Compiler;g(w)&&A(w,v),x(I)&&C(I)}function g(v){return!!(v&&v.prototype&&v.prototype.blockTokenizers)}function x(v){return!!(v&&v.prototype&&v.prototype.visitors)}function A(v,w){for(var I=w||{},O=v.prototype,R=O.blockTokenizers,M=O.inlineTokenizers,W=O.blockMethods,K=O.inlineMethods,H=R.definition,Z=M.reference,$=[],Y=-1,de=W.length,Te;++Y<de;)Te=W[Y],!(Te==="newline"||Te==="indentedCode"||Te==="paragraph"||Te==="footnoteDefinition")&&$.push([Te]);$.push(["footnoteDefinition"]),I.inlineNotes&&(k(K,"reference","inlineNote"),M.inlineNote=Me),k(W,"definition","footnoteDefinition"),k(K,"reference","footnoteCall"),R.definition=j,R.footnoteDefinition=ve,M.footnoteCall=S,M.reference=Ae,O.interruptFootnoteDefinition=$,Ae.locator=Z.locator,S.locator=pe,Me.locator=Ie;function ve(xe,ae,Q){for(var ne=this,we=ne.interruptFootnoteDefinition,Be=ne.offset,Le=ae.length+1,qe=0,ut=[],et,Nt,vt,tt,rt,Mt,sr,$t,Pt,Ut,er,he,Fe;qe<Le&&(tt=ae.charCodeAt(qe),!(tt!==r&&tt!==i));)qe++;if(ae.charCodeAt(qe++)===o&&ae.charCodeAt(qe++)===c){for(Nt=qe;qe<Le;){if(tt=ae.charCodeAt(qe),tt!==tt||tt===n||tt===r||tt===i)return;if(tt===h){vt=qe,qe++;break}qe++}if(!(vt===void 0||Nt===vt||ae.charCodeAt(qe++)!==a)){if(Q)return!0;for(et=ae.slice(Nt,vt),rt=xe.now(),Pt=0,Ut=0,er=qe,he=[];qe<Le;){if(tt=ae.charCodeAt(qe),tt!==tt||tt===n)Fe={start:Pt,contentStart:er||qe,contentEnd:qe,end:qe},he.push(Fe),tt===n&&(Pt=qe+1,Ut=0,er=void 0,Fe.end=Pt);else if(Ut!==void 0)if(tt===i||tt===r)Ut+=tt===i?1:d-Ut%d,Ut>d&&(Ut=void 0,er=qe);else{if(Ut<d&&Fe&&(Fe.contentStart===Fe.contentEnd||P(we,R,ne,[xe,ae.slice(qe,f),!0])))break;Ut=void 0,er=qe}qe++}for(qe=-1,Le=he.length;Le>0&&(Fe=he[Le-1],Fe.contentStart===Fe.contentEnd);)Le--;for(Mt=xe(ae.slice(0,Fe.contentEnd));++qe<Le;)Fe=he[qe],Be[rt.line+qe]=(Be[rt.line+qe]||0)+(Fe.contentStart-Fe.start),ut.push(ae.slice(Fe.contentStart,Fe.end));return sr=ne.enterBlock(),$t=ne.tokenizeBlock(ut.join(""),rt),sr(),Mt({type:"footnoteDefinition",identifier:et.toLowerCase(),label:et,children:$t})}}}function S(xe,ae,Q){var ne=ae.length+1,we=0,Be,Le,qe,ut;if(ae.charCodeAt(we++)===o&&ae.charCodeAt(we++)===c){for(Le=we;we<ne;){if(ut=ae.charCodeAt(we),ut!==ut||ut===n||ut===r||ut===i)return;if(ut===h){qe=we,we++;break}we++}if(!(qe===void 0||Le===qe))return Q?!0:(Be=ae.slice(Le,qe),xe(ae.slice(0,we))({type:"footnoteReference",identifier:Be.toLowerCase(),label:Be}))}}function Me(xe,ae,Q){var ne=this,we=ae.length+1,Be=0,Le=0,qe,ut,et,Nt,vt,tt,rt;if(ae.charCodeAt(Be++)===c&&ae.charCodeAt(Be++)===o){for(et=Be;Be<we;){if(ut=ae.charCodeAt(Be),ut!==ut)return;if(tt===void 0)if(ut===u)Be+=2;else if(ut===o)Le++,Be++;else if(ut===h)if(Le===0){Nt=Be,Be++;break}else Le--,Be++;else if(ut===p){for(vt=Be,tt=1;ae.charCodeAt(vt+tt)===p;)tt++;Be+=tt}else Be++;else if(ut===p){for(vt=Be,rt=1;ae.charCodeAt(vt+rt)===p;)rt++;Be+=rt,tt===rt&&(tt=void 0),rt=void 0}else Be++}if(Nt!==void 0)return Q?!0:(qe=xe.now(),qe.column+=2,qe.offset+=2,xe(ae.slice(0,Be))({type:"footnote",children:ne.tokenizeInline(ae.slice(et,Nt),qe)}))}}function Ae(xe,ae,Q){var ne=0;if(ae.charCodeAt(ne)===s&&ne++,ae.charCodeAt(ne)===o&&ae.charCodeAt(ne+1)!==c)return Z.call(this,xe,ae,Q)}function j(xe,ae,Q){for(var ne=0,we=ae.charCodeAt(ne);we===i||we===r;)we=ae.charCodeAt(++ne);if(we===o&&ae.charCodeAt(ne+1)!==c)return H.call(this,xe,ae,Q)}function pe(xe,ae){return xe.indexOf("[",ae)}function Ie(xe,ae){return xe.indexOf("^[",ae)}}function C(v){var w=v.prototype.visitors,I=" ";w.footnote=O,w.footnoteReference=R,w.footnoteDefinition=M;function O(W){return"^["+this.all(W).join("")+"]"}function R(W){return"[^"+(W.label||W.identifier)+"]"}function M(W){for(var K=this.all(W).join(`
-
- `).split(`
- `),H=0,Z=K.length,$;++H<Z;)$=K[H],$!==""&&(K[H]=I+$);return"[^"+(W.label||W.identifier)+"]: "+K.join(`
- `)}}function k(v,w,I){v.splice(v.indexOf(w),0,I)}function P(v,w,I,O){for(var R=v.length,M=-1;++M<R;)if(w[v[M][0]].apply(I,O))return!0;return!1}}),zS=Ne(e=>{e.isRemarkParser=t,e.isRemarkCompiler=r;function t(n){return!!(n&&n.prototype&&n.prototype.blockTokenizers)}function r(n){return!!(n&&n.prototype&&n.prototype.visitors)}}),tK=Ne((e,t)=>{var r=zS();t.exports=p;var n=9,i=32,s=36,a=48,o=57,u=92,h=["math","math-inline"],c="math-display";function p(D){let g=this.Parser,x=this.Compiler;r.isRemarkParser(g)&&d(g,D),r.isRemarkCompiler(x)&&f(x,D)}function d(D,g){let x=D.prototype,A=x.inlineMethods;k.locator=C,x.inlineTokenizers.math=k,A.splice(A.indexOf("text"),0,"math");function C(P,v){return P.indexOf("$",v)}function k(P,v,w){let I=v.length,O=!1,R=!1,M=0,W,K,H,Z,$,Y,de;if(v.charCodeAt(M)===u&&(R=!0,M++),v.charCodeAt(M)===s){if(M++,R)return w?!0:P(v.slice(0,M))({type:"text",value:"$"});if(v.charCodeAt(M)===s&&(O=!0,M++),H=v.charCodeAt(M),!(H===i||H===n)){for(Z=M;M<I;){if(K=H,H=v.charCodeAt(M+1),K===s){if(W=v.charCodeAt(M-1),W!==i&&W!==n&&(H!==H||H<a||H>o)&&(!O||H===s)){$=M-1,M++,O&&M++,Y=M;break}}else K===u&&(M++,H=v.charCodeAt(M+1));M++}if(Y!==void 0)return w?!0:(de=v.slice(Z,$+1),P(v.slice(0,Y))({type:"inlineMath",value:de,data:{hName:"span",hProperties:{className:h.concat(O&&g.inlineMathDouble?[c]:[])},hChildren:[{type:"text",value:de}]}}))}}}}function f(D){let g=D.prototype;g.visitors.inlineMath=x;function x(A){let C="$";return(A.data&&A.data.hProperties&&A.data.hProperties.className||[]).includes(c)&&(C="$$"),C+A.value+C}}}),rK=Ne((e,t)=>{var r=zS();t.exports=c;var n=10,i=32,s=36,a=`
- `,o="$",u=2,h=["math","math-display"];function c(){let f=this.Parser,D=this.Compiler;r.isRemarkParser(f)&&p(f),r.isRemarkCompiler(D)&&d(D)}function p(f){let D=f.prototype,g=D.blockMethods,x=D.interruptParagraph,A=D.interruptList,C=D.interruptBlockquote;D.blockTokenizers.math=k,g.splice(g.indexOf("fencedCode")+1,0,"math"),x.splice(x.indexOf("fencedCode")+1,0,["math"]),A.splice(A.indexOf("fencedCode")+1,0,["math"]),C.splice(C.indexOf("fencedCode")+1,0,["math"]);function k(P,v,w){var I=v.length,O=0;let R,M,W,K,H,Z,$,Y,de,Te,ve;for(;O<I&&v.charCodeAt(O)===i;)O++;for(H=O;O<I&&v.charCodeAt(O)===s;)O++;if(Z=O-H,!(Z<u)){for(;O<I&&v.charCodeAt(O)===i;)O++;for($=O;O<I;){if(R=v.charCodeAt(O),R===s)return;if(R===n)break;O++}if(v.charCodeAt(O)===n){if(w)return!0;for(M=[],$!==O&&M.push(v.slice($,O)),O++,W=v.indexOf(a,O+1),W=W===-1?I:W;O<I;){for(Y=!1,Te=O,ve=W,K=W,de=0;K>Te&&v.charCodeAt(K-1)===i;)K--;for(;K>Te&&v.charCodeAt(K-1)===s;)de++,K--;for(Z<=de&&v.indexOf(o,Te)===K&&(Y=!0,ve=K);Te<=ve&&Te-O<H&&v.charCodeAt(Te)===i;)Te++;if(Y)for(;ve>Te&&v.charCodeAt(ve-1)===i;)ve--;if((!Y||Te!==ve)&&M.push(v.slice(Te,ve)),Y)break;O=W+1,W=v.indexOf(a,O+1),W=W===-1?I:W}return M=M.join(`
- `),P(v.slice(0,W))({type:"math",value:M,data:{hName:"div",hProperties:{className:h.concat()},hChildren:[{type:"text",value:M}]}})}}}}function d(f){let D=f.prototype;D.visitors.math=g;function g(x){return`$$
- `+x.value+`
- $$`}}}),nK=Ne((e,t)=>{var r=tK(),n=rK();t.exports=i;function i(s){var a=s||{};n.call(this,a),r.call(this,a)}}),bu=Ne((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var i={},s=0;s<arguments.length;s++){var a=arguments[s];for(var o in a)r.call(a,o)&&(i[o]=a[o])}return i}}),iK=Ne((e,t)=>{typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var i=function(){};i.prototype=n.prototype,r.prototype=new i,r.prototype.constructor=r}}}),sK=Ne((e,t)=>{"use strict";var r=bu(),n=iK();t.exports=i;function i(s){var a,o,u;n(c,s),n(h,c),a=c.prototype;for(o in a)u=a[o],u&&typeof u=="object"&&(a[o]="concat"in u?u.concat():r(u));return c;function h(p){return s.apply(this,p)}function c(){return this instanceof c?s.apply(this,arguments):new h(arguments)}}}),aK=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i,s){return a;function a(){var o=s||this,u=o[n];return o[n]=!i,h;function h(){o[n]=u}}}}),oK=Ne((e,t)=>{"use strict";t.exports=r;function r(n){for(var i=String(n),s=[],a=/\r?\n|\r/g;a.exec(i);)s.push(a.lastIndex);return s.push(i.length+1),{toPoint:o,toPosition:o,toOffset:u};function o(h){var c=-1;if(h>-1&&h<s[s.length-1]){for(;++c<s.length;)if(s[c]>h)return{line:c+1,column:h-(s[c-1]||0)+1,offset:h}}return{}}function u(h){var c=h&&h.line,p=h&&h.column,d;return!isNaN(c)&&!isNaN(p)&&c-1 in s&&(d=(s[c-2]||0)+p-1||0),d>-1&&d<s[s.length-1]?d:-1}}}),uK=Ne((e,t)=>{"use strict";t.exports=n;var r="\\";function n(i,s){return a;function a(o){for(var u=0,h=o.indexOf(r),c=i[s],p=[],d;h!==-1;)p.push(o.slice(u,h)),u=h+1,d=o.charAt(u),(!d||c.indexOf(d)===-1)&&p.push(r),h=o.indexOf(r,u+1);return p.push(o.slice(u)),p.join("")}}}),lK=Ne((e,t)=>{t.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"}}),cK=Ne((e,t)=>{t.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"}}),ku=Ne((e,t)=>{"use strict";t.exports=r;function r(n){var i=typeof n=="string"?n.charCodeAt(0):n;return i>=48&&i<=57}}),pK=Ne((e,t)=>{"use strict";t.exports=r;function r(n){var i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}}),dp=Ne((e,t)=>{"use strict";t.exports=r;function r(n){var i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}}),hK=Ne((e,t)=>{"use strict";var r=dp(),n=ku();t.exports=i;function i(s){return r(s)||n(s)}}),dK=Ne((e,t)=>{t.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"}}),fK=Ne((e,t)=>{"use strict";var r=dK();t.exports=i;var n={}.hasOwnProperty;function i(s){return n.call(r,s)?r[s]:!1}}),uD=Ne((e,t)=>{"use strict";var r=lK(),n=cK(),i=ku(),s=pK(),a=hK(),o=fK();t.exports=Me;var u={}.hasOwnProperty,h=String.fromCharCode,c=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,f=10,D=12,g=32,x=38,A=59,C=60,k=61,P=35,v=88,w=120,I=65533,O="named",R="hexadecimal",M="decimal",W={};W[R]=16,W[M]=10;var K={};K[O]=a,K[M]=i,K[R]=s;var H=1,Z=2,$=3,Y=4,de=5,Te=6,ve=7,S={};S[H]="Named character references must be terminated by a semicolon",S[Z]="Numeric character references must be terminated by a semicolon",S[$]="Named character references cannot be empty",S[Y]="Numeric character references cannot be empty",S[de]="Named character references must be known",S[Te]="Numeric character references cannot be disallowed",S[ve]="Numeric character references cannot be outside the permissible Unicode range";function Me(Ie,xe){var ae={},Q,ne;xe||(xe={});for(ne in p)Q=xe[ne],ae[ne]=Q??p[ne];return(ae.position.indent||ae.position.start)&&(ae.indent=ae.position.indent||[],ae.position=ae.position.start),Ae(Ie,ae)}function Ae(Ie,xe){var ae=xe.additional,Q=xe.nonTerminated,ne=xe.text,we=xe.reference,Be=xe.warning,Le=xe.textContext,qe=xe.referenceContext,ut=xe.warningContext,et=xe.position,Nt=xe.indent||[],vt=Ie.length,tt=0,rt=-1,Mt=et.column||1,sr=et.line||1,$t="",Pt=[],Ut,er,he,Fe,Qe,lt,ct,Rt,Mr,kr,Dr,Tr,wt,Yt,Rr,ui,Mi,yt,Wt;for(typeof ae=="string"&&(ae=ae.charCodeAt(0)),ui=hn(),Rt=Be?vr:c,tt--,vt++;++tt<vt;)if(Qe===f&&(Mt=Nt[rt]||1),Qe=Ie.charCodeAt(tt),Qe===x){if(ct=Ie.charCodeAt(tt+1),ct===d||ct===f||ct===D||ct===g||ct===x||ct===C||ct!==ct||ae&&ct===ae){$t+=h(Qe),Mt++;continue}for(wt=tt+1,Tr=wt,Wt=wt,ct===P?(Wt=++Tr,ct=Ie.charCodeAt(Wt),ct===v||ct===w?(Yt=R,Wt=++Tr):Yt=M):Yt=O,Ut="",Dr="",Fe="",Rr=K[Yt],Wt--;++Wt<vt&&(ct=Ie.charCodeAt(Wt),!!Rr(ct));)Fe+=h(ct),Yt===O&&u.call(r,Fe)&&(Ut=Fe,Dr=r[Fe]);he=Ie.charCodeAt(Wt)===A,he&&(Wt++,er=Yt===O?o(Fe):!1,er&&(Ut=Fe,Dr=er)),yt=1+Wt-wt,!he&&!Q||(Fe?Yt===O?(he&&!Dr?Rt(de,1):(Ut!==Fe&&(Wt=Tr+Ut.length,yt=1+Wt-Tr,he=!1),he||(Mr=Ut?H:$,xe.attribute?(ct=Ie.charCodeAt(Wt),ct===k?(Rt(Mr,yt),Dr=null):a(ct)?Dr=null:Rt(Mr,yt)):Rt(Mr,yt))),lt=Dr):(he||Rt(Z,yt),lt=parseInt(Fe,W[Yt]),j(lt)?(Rt(ve,yt),lt=h(I)):lt in n?(Rt(Te,yt),lt=n[lt]):(kr="",pe(lt)&&Rt(Te,yt),lt>65535&&(lt-=65536,kr+=h(lt>>>10|55296),lt=56320|lt&1023),lt=kr+h(lt))):Yt!==O&&Rt(Y,yt)),lt?(ys(),ui=hn(),tt=Wt-1,Mt+=Wt-wt+1,Pt.push(lt),Mi=hn(),Mi.offset++,we&&we.call(qe,lt,{start:ui,end:Mi},Ie.slice(wt-1,Wt)),ui=Mi):(Fe=Ie.slice(wt-1,Wt),$t+=Fe,Mt+=Fe.length,tt=Wt-1)}else Qe===10&&(sr++,rt++,Mt=0),Qe===Qe?($t+=h(Qe),Mt++):ys();return Pt.join("");function hn(){return{line:sr,column:Mt,offset:tt+(et.offset||0)}}function vr(sa,dn){var Jn=hn();Jn.column+=dn,Jn.offset+=dn,Be.call(ut,S[sa],Jn,sa)}function ys(){$t&&(Pt.push($t),ne&&ne.call(Le,$t,{start:ui,end:hn()}),$t="")}}function j(Ie){return Ie>=55296&&Ie<=57343||Ie>1114111}function pe(Ie){return Ie>=1&&Ie<=8||Ie===11||Ie>=13&&Ie<=31||Ie>=127&&Ie<=159||Ie>=64976&&Ie<=65007||(Ie&65535)===65535||(Ie&65535)===65534}}),mK=Ne((e,t)=>{"use strict";var r=bu(),n=uD();t.exports=i;function i(s){return o.raw=u,o;function a(c){for(var p=s.offset,d=c.line,f=[];++d&&d in p;)f.push((p[d]||0)+1);return{start:c,indent:f}}function o(c,p,d){n(c,{position:a(p),warning:h,text:d,reference:d,textContext:s,referenceContext:s})}function u(c,p,d){return n(c,r(d,{position:a(p),warning:h}))}function h(c,p,d){d!==3&&s.file.message(c,p)}}}),DK=Ne((e,t)=>{"use strict";t.exports=r;function r(a){return o;function o(u,h){var c=this,p=c.offset,d=[],f=c[a+"Methods"],D=c[a+"Tokenizers"],g=h.line,x=h.column,A,C,k,P,v,w;if(!u)return d;for(Z.now=R,Z.file=c.file,I("");u;){for(A=-1,C=f.length,v=!1;++A<C&&(P=f[A],k=D[P],!(k&&(!k.onlyAtStart||c.atStart)&&(!k.notInList||!c.inList)&&(!k.notInBlock||!c.inBlock)&&(!k.notInLink||!c.inLink)&&(w=u.length,k.apply(c,[Z,u]),v=w!==u.length,v))););v||c.file.fail(new Error("Infinite loop"),Z.now())}return c.eof=R(),d;function I($){for(var Y=-1,de=$.indexOf(`
- `);de!==-1;)g++,Y=de,de=$.indexOf(`
- `,de+1);Y===-1?x+=$.length:x=$.length-Y,g in p&&(Y!==-1?x+=p[g]:x<=p[g]&&(x=p[g]+1))}function O(){var $=[],Y=g+1;return function(){for(var de=g+1;Y<de;)$.push((p[Y]||0)+1),Y++;return $}}function R(){var $={line:g,column:x};return $.offset=c.toOffset($),$}function M($){this.start=$,this.end=R()}function W($){u.slice(0,$.length)!==$&&c.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),R())}function K(){var $=R();return Y;function Y(de,Te){var ve=de.position,S=ve?ve.start:$,Me=[],Ae=ve&&ve.end.line,j=$.line;if(de.position=new M(S),ve&&Te&&ve.indent){if(Me=ve.indent,Ae<j){for(;++Ae<j;)Me.push((p[Ae]||0)+1);Me.push($.column)}Te=Me.concat(Te)}return de.position.indent=Te||[],de}}function H($,Y){var de=Y?Y.children:d,Te=de[de.length-1],ve;return Te&&$.type===Te.type&&($.type==="text"||$.type==="blockquote")&&n(Te)&&n($)&&(ve=$.type==="text"?i:s,$=ve.call(c,Te,$)),$!==Te&&de.push($),c.atStart&&d.length!==0&&c.exitStart(),$}function Z($){var Y=O(),de=K(),Te=R();return W($),ve.reset=S,S.test=Me,ve.test=Me,u=u.slice($.length),I($),Y=Y(),ve;function ve(Ae,j){return de(H(de(Ae),j),Y)}function S(){var Ae=ve.apply(null,arguments);return g=Te.line,x=Te.column,u=$+u,Ae}function Me(){var Ae=de({});return g=Te.line,x=Te.column,u=$+u,Ae.position}}}}function n(a){var o,u;return a.type!=="text"||!a.position?!0:(o=a.position.start,u=a.position.end,o.line!==u.line||u.column-o.column===a.value.length)}function i(a,o){return a.value+=o.value,a}function s(a,o){return this.options.commonmark||this.options.gfm?o:(a.children=a.children.concat(o.children),a)}}),yK=Ne((e,t)=>{"use strict";t.exports=s;var r=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],n=r.concat(["~","|"]),i=n.concat([`
- `,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);s.default=r,s.gfm=n,s.commonmark=i;function s(a){var o=a||{};return o.commonmark?i:o.gfm?n:r}}),gK=Ne((e,t)=>{"use strict";t.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"]}),HS=Ne((e,t)=>{"use strict";t.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:gK()}}),xK=Ne((e,t)=>{"use strict";var r=bu(),n=yK(),i=HS();t.exports=s;function s(a){var o=this,u=o.options,h,c;if(a==null)a={};else if(typeof a=="object")a=r(a);else throw new Error("Invalid value `"+a+"` for setting `options`");for(h in i){if(c=a[h],c==null&&(c=u[h]),h!=="blocks"&&typeof c!="boolean"||h==="blocks"&&typeof c!="object")throw new Error("Invalid value `"+c+"` for setting `options."+h+"`");a[h]=c}return o.options=a,o.escape=n(a),o}}),EK=Ne((e,t)=>{"use strict";t.exports=r;function r(o){if(o==null)return a;if(typeof o=="string")return s(o);if(typeof o=="object")return"length"in o?i(o):n(o);if(typeof o=="function")return o;throw new Error("Expected function, string, or object as test")}function n(o){return u;function u(h){var c;for(c in o)if(h[c]!==o[c])return!1;return!0}}function i(o){for(var u=[],h=-1;++h<o.length;)u[h]=r(o[h]);return c;function c(){for(var p=-1;++p<u.length;)if(u[p].apply(this,arguments))return!0;return!1}}function s(o){return u;function u(h){return!!(h&&h.type===o)}}function a(){return!0}}),CK=Ne((e,t)=>{t.exports=r;function r(n){return n}}),FK=Ne((e,t)=>{"use strict";t.exports=o;var r=EK(),n=CK(),i=!0,s="skip",a=!1;o.CONTINUE=i,o.SKIP=s,o.EXIT=a;function o(h,c,p,d){var f,D;typeof c=="function"&&typeof p!="function"&&(d=p,p=c,c=null),D=r(c),f=d?-1:1,g(h,null,[])();function g(x,A,C){var k=typeof x=="object"&&x!==null?x:{},P;return typeof k.type=="string"&&(P=typeof k.tagName=="string"?k.tagName:typeof k.name=="string"?k.name:void 0,v.displayName="node ("+n(k.type+(P?"<"+P+">":""))+")"),v;function v(){var w=C.concat(x),I=[],O,R;if((!c||D(x,A,C[C.length-1]||null))&&(I=u(p(x,C)),I[0]===a))return I;if(x.children&&I[0]!==s)for(R=(d?x.children.length:-1)+f;R>-1&&R<x.children.length;){if(O=g(x.children[R],R,w)(),O[0]===a)return O;R=typeof O[1]=="number"?O[1]:R+f}return I}}}function u(h){return h!==null&&typeof h=="object"&&"length"in h?h:typeof h=="number"?[i,h]:[h]}}),AK=Ne((e,t)=>{"use strict";t.exports=a;var r=FK(),n=r.CONTINUE,i=r.SKIP,s=r.EXIT;a.CONTINUE=n,a.SKIP=i,a.EXIT=s;function a(o,u,h,c){typeof u=="function"&&typeof h!="function"&&(c=h,h=u,u=null),r(o,u,p,c);function p(d,f){var D=f[f.length-1],g=D?D.children.indexOf(d):null;return h(d,g,D)}}}),bK=Ne((e,t)=>{"use strict";var r=AK();t.exports=n;function n(a,o){return r(a,o?i:s),a}function i(a){delete a.position}function s(a){a.position=void 0}}),kK=Ne((e,t)=>{"use strict";var r=bu(),n=bK();t.exports=a;var i=`
- `,s=/\r\n|\r/g;function a(){var o=this,u=String(o.file),h={line:1,column:1,offset:0},c=r(h),p;return u=u.replace(s,i),u.charCodeAt(0)===65279&&(u=u.slice(1),c.column++,c.offset++),p={type:"root",children:o.tokenizeBlock(u,c),position:{start:h,end:o.eof||r(h)}},o.options.position||n(p,!0),p}}),TK=Ne((e,t)=>{"use strict";var r=/^[ \t]*(\n|$)/;t.exports=n;function n(i,s,a){for(var o,u="",h=0,c=s.length;h<c&&(o=r.exec(s.slice(h)),o!=null);)h+=o[0].length,u+=o[0];if(u!==""){if(a)return!0;i(u)}}}),Og=Ne((e,t)=>{"use strict";var r="",n;t.exports=i;function i(s,a){if(typeof s!="string")throw new TypeError("expected a string");if(a===1)return s;if(a===2)return s+s;var o=s.length*a;if(n!==s||typeof n>"u")n=s,r="";else if(r.length>=o)return r.substr(0,o);for(;o>r.length&&a>1;)a&1&&(r+=s),a>>=1,s+=s;return r+=s,r=r.substr(0,o),r}}),WS=Ne((e,t)=>{"use strict";t.exports=r;function r(n){return String(n).replace(/\n+$/,"")}}),vK=Ne((e,t)=>{"use strict";var r=Og(),n=WS();t.exports=h;var i=`
- `,s=" ",a=" ",o=4,u=r(a,o);function h(c,p,d){for(var f=-1,D=p.length,g="",x="",A="",C="",k,P,v;++f<D;)if(k=p.charAt(f),v)if(v=!1,g+=A,x+=C,A="",C="",k===i)A=k,C=k;else for(g+=k,x+=k;++f<D;){if(k=p.charAt(f),!k||k===i){C=k,A=k;break}g+=k,x+=k}else if(k===a&&p.charAt(f+1)===k&&p.charAt(f+2)===k&&p.charAt(f+3)===k)A+=u,f+=3,v=!0;else if(k===s)A+=k,v=!0;else{for(P="";k===s||k===a;)P+=k,k=p.charAt(++f);if(k!==i)break;A+=P+k,C+=k}if(x)return d?!0:c(g)({type:"code",lang:null,meta:null,value:n(x)})}}),SK=Ne((e,t)=>{"use strict";t.exports=h;var r=`
- `,n=" ",i=" ",s="~",a="`",o=3,u=4;function h(c,p,d){var f=this,D=f.options.gfm,g=p.length+1,x=0,A="",C,k,P,v,w,I,O,R,M,W,K,H,Z;if(D){for(;x<g&&(P=p.charAt(x),!(P!==i&&P!==n));)A+=P,x++;if(H=x,P=p.charAt(x),!(P!==s&&P!==a)){for(x++,k=P,C=1,A+=P;x<g&&(P=p.charAt(x),P===k);)A+=P,C++,x++;if(!(C<o)){for(;x<g&&(P=p.charAt(x),!(P!==i&&P!==n));)A+=P,x++;for(v="",O="";x<g&&(P=p.charAt(x),!(P===r||k===a&&P===k));)P===i||P===n?O+=P:(v+=O+P,O=""),x++;if(P=p.charAt(x),!(P&&P!==r)){if(d)return!0;Z=c.now(),Z.column+=A.length,Z.offset+=A.length,A+=v,v=f.decode.raw(f.unescape(v),Z),O&&(A+=O),O="",W="",K="",R="",M="";for(var $=!0;x<g;){if(P=p.charAt(x),R+=W,M+=K,W="",K="",P!==r){R+=P,K+=P,x++;continue}for($?(A+=P,$=!1):(W+=P,K+=P),O="",x++;x<g&&(P=p.charAt(x),P===i);)O+=P,x++;if(W+=O,K+=O.slice(H),!(O.length>=u)){for(O="";x<g&&(P=p.charAt(x),P===k);)O+=P,x++;if(W+=O,K+=O,!(O.length<C)){for(O="";x<g&&(P=p.charAt(x),!(P!==i&&P!==n));)W+=P,K+=P,x++;if(!P||P===r)break}}}for(A+=R+W,x=-1,g=v.length;++x<g;)if(P=v.charAt(x),P===i||P===n)w||(w=v.slice(0,x));else if(w){I=v.slice(x);break}return c(A)({type:"code",lang:w||v||null,meta:I||null,value:M})}}}}}}),Tu=Ne((e,t)=>{e=t.exports=r;function r(n){return n.trim?n.trim():e.right(e.left(n))}e.left=function(n){return n.trimLeft?n.trimLeft():n.replace(/^\s\s*/,"")},e.right=function(n){if(n.trimRight)return n.trimRight();for(var i=/\s/,s=n.length;i.test(n.charAt(--s)););return n.slice(0,s+1)}}),Mg=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i,s,a){for(var o=n.length,u=-1,h,c;++u<o;)if(h=n[u],c=h[1]||{},!(c.pedantic!==void 0&&c.pedantic!==s.options.pedantic)&&!(c.commonmark!==void 0&&c.commonmark!==s.options.commonmark)&&i[h[0]].apply(s,a))return!0;return!1}}),wK=Ne((e,t)=>{"use strict";var r=Tu(),n=Mg();t.exports=u;var i=`
- `,s=" ",a=" ",o=">";function u(h,c,p){for(var d=this,f=d.offset,D=d.blockTokenizers,g=d.interruptBlockquote,x=h.now(),A=x.line,C=c.length,k=[],P=[],v=[],w,I=0,O,R,M,W,K,H,Z,$;I<C&&(O=c.charAt(I),!(O!==a&&O!==s));)I++;if(c.charAt(I)===o){if(p)return!0;for(I=0;I<C;){for(M=c.indexOf(i,I),H=I,Z=!1,M===-1&&(M=C);I<C&&(O=c.charAt(I),!(O!==a&&O!==s));)I++;if(c.charAt(I)===o?(I++,Z=!0,c.charAt(I)===a&&I++):I=H,W=c.slice(I,M),!Z&&!r(W)){I=H;break}if(!Z&&(R=c.slice(I),n(g,D,d,[h,R,!0])))break;K=H===I?W:c.slice(H,M),v.push(I-H),k.push(K),P.push(W),I=M+1}for(I=-1,C=v.length,w=h(k.join(i));++I<C;)f[A]=(f[A]||0)+v[I],A++;return $=d.enterBlock(),P=d.tokenizeBlock(P.join(i),x),$(),w({type:"blockquote",children:P})}}}),_K=Ne((e,t)=>{"use strict";t.exports=o;var r=`
- `,n=" ",i=" ",s="#",a=6;function o(u,h,c){for(var p=this,d=p.options.pedantic,f=h.length+1,D=-1,g=u.now(),x="",A="",C,k,P;++D<f;){if(C=h.charAt(D),C!==i&&C!==n){D--;break}x+=C}for(P=0;++D<=f;){if(C=h.charAt(D),C!==s){D--;break}x+=C,P++}if(!(P>a)&&!(!P||!d&&h.charAt(D+1)===s)){for(f=h.length+1,k="";++D<f;){if(C=h.charAt(D),C!==i&&C!==n){D--;break}k+=C}if(!(!d&&k.length===0&&C&&C!==r)){if(c)return!0;for(x+=k,k="",A="";++D<f&&(C=h.charAt(D),!(!C||C===r));){if(C!==i&&C!==n&&C!==s){A+=k+C,k="";continue}for(;C===i||C===n;)k+=C,C=h.charAt(++D);if(!d&&A&&!k&&C===s){A+=C;continue}for(;C===s;)k+=C,C=h.charAt(++D);for(;C===i||C===n;)k+=C,C=h.charAt(++D);D--}return g.column+=x.length,g.offset+=x.length,x+=A+k,u(x)({type:"heading",depth:P,children:p.tokenizeInline(A,g)})}}}}),BK=Ne((e,t)=>{"use strict";t.exports=h;var r=" ",n=`
- `,i=" ",s="*",a="-",o="_",u=3;function h(c,p,d){for(var f=-1,D=p.length+1,g="",x,A,C,k;++f<D&&(x=p.charAt(f),!(x!==r&&x!==i));)g+=x;if(!(x!==s&&x!==a&&x!==o))for(A=x,g+=x,C=1,k="";++f<D;)if(x=p.charAt(f),x===A)C++,g+=k+A,k="";else if(x===i)k+=x;else return C>=u&&(!x||x===n)?(g+=k,d?!0:c(g)({type:"thematicBreak"})):void 0}}),GS=Ne((e,t)=>{"use strict";t.exports=a;var r=" ",n=" ",i=1,s=4;function a(o){for(var u=0,h=0,c=o.charAt(u),p={},d,f=0;c===r||c===n;){for(d=c===r?s:i,h+=d,d>1&&(h=Math.floor(h/d)*d);f<h;)p[++f]=u;c=o.charAt(++u)}return{indent:h,stops:p}}}),PK=Ne((e,t)=>{"use strict";var r=Tu(),n=Og(),i=GS();t.exports=u;var s=`
- `,a=" ",o="!";function u(h,c){var p=h.split(s),d=p.length+1,f=1/0,D=[],g,x,A;for(p.unshift(n(a,c)+o);d--;)if(x=i(p[d]),D[d]=x.stops,r(p[d]).length!==0)if(x.indent)x.indent>0&&x.indent<f&&(f=x.indent);else{f=1/0;break}if(f!==1/0)for(d=p.length;d--;){for(A=D[d],g=f;g&&!(g in A);)g--;p[d]=p[d].slice(A[g]+1)}return p.shift(),p.join(s)}}),IK=Ne((e,t)=>{"use strict";var r=Tu(),n=Og(),i=ku(),s=GS(),a=PK(),o=Mg();t.exports=O;var u="*",h="_",c="+",p="-",d=".",f=" ",D=`
- `,g=" ",x=")",A="x",C=4,k=/\n\n(?!\s*$)/,P=/^\[([ X\tx])][ \t]/,v=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,w=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,I=/^( {1,4}|\t)?/gm;function O(K,H,Z){for(var $=this,Y=$.options.commonmark,de=$.options.pedantic,Te=$.blockTokenizers,ve=$.interruptList,S=0,Me=H.length,Ae=null,j,pe,Ie,xe,ae,Q,ne,we,Be,Le,qe,ut,et,Nt,vt,tt,rt,Mt,sr,$t=!1,Pt,Ut,er,he;S<Me&&(xe=H.charAt(S),!(xe!==g&&xe!==f));)S++;if(xe=H.charAt(S),xe===u||xe===c||xe===p)ae=xe,Ie=!1;else{for(Ie=!0,pe="";S<Me&&(xe=H.charAt(S),!!i(xe));)pe+=xe,S++;if(xe=H.charAt(S),!pe||!(xe===d||Y&&xe===x)||Z&&pe!=="1")return;Ae=parseInt(pe,10),ae=xe}if(xe=H.charAt(++S),!(xe!==f&&xe!==g&&(de||xe!==D&&xe!==""))){if(Z)return!0;for(S=0,Nt=[],vt=[],tt=[];S<Me;){for(Q=H.indexOf(D,S),ne=S,we=!1,he=!1,Q===-1&&(Q=Me),j=0;S<Me;){if(xe=H.charAt(S),xe===g)j+=C-j%C;else if(xe===f)j++;else break;S++}if(rt&&j>=rt.indent&&(he=!0),xe=H.charAt(S),Be=null,!he){if(xe===u||xe===c||xe===p)Be=xe,S++,j++;else{for(pe="";S<Me&&(xe=H.charAt(S),!!i(xe));)pe+=xe,S++;xe=H.charAt(S),S++,pe&&(xe===d||Y&&xe===x)&&(Be=xe,j+=pe.length+1)}if(Be)if(xe=H.charAt(S),xe===g)j+=C-j%C,S++;else if(xe===f){for(er=S+C;S<er&&H.charAt(S)===f;)S++,j++;S===er&&H.charAt(S)===f&&(S-=C-1,j-=C-1)}else xe!==D&&xe!==""&&(Be=null)}if(Be){if(!de&&ae!==Be)break;we=!0}else!Y&&!he&&H.charAt(ne)===f?he=!0:Y&&rt&&(he=j>=rt.indent||j>C),we=!1,S=ne;if(qe=H.slice(ne,Q),Le=ne===S?qe:H.slice(S,Q),(Be===u||Be===h||Be===p)&&Te.thematicBreak.call($,K,qe,!0))break;if(ut=et,et=!we&&!r(Le).length,he&&rt)rt.value=rt.value.concat(tt,qe),vt=vt.concat(tt,qe),tt=[];else if(we)tt.length!==0&&($t=!0,rt.value.push(""),rt.trail=tt.concat()),rt={value:[qe],indent:j,trail:[]},Nt.push(rt),vt=vt.concat(tt,qe),tt=[];else if(et){if(ut&&!Y)break;tt.push(qe)}else{if(ut||o(ve,Te,$,[K,qe,!0]))break;rt.value=rt.value.concat(tt,qe),vt=vt.concat(tt,qe),tt=[]}S=Q+1}for(Pt=K(vt.join(D)).reset({type:"list",ordered:Ie,start:Ae,spread:$t,children:[]}),Mt=$.enterList(),sr=$.enterBlock(),S=-1,Me=Nt.length;++S<Me;)rt=Nt[S].value.join(D),Ut=K.now(),K(rt)(R($,rt,Ut),Pt),rt=Nt[S].trail.join(D),S!==Me-1&&(rt+=D),K(rt);return Mt(),sr(),Pt}}function R(K,H,Z){var $=K.offset,Y=K.options.pedantic?M:W,de=null,Te,ve;return H=Y.apply(null,arguments),K.options.gfm&&(Te=H.match(P),Te&&(ve=Te[0].length,de=Te[1].toLowerCase()===A,$[Z.line]+=ve,H=H.slice(ve))),{type:"listItem",spread:k.test(H),checked:de,children:K.tokenizeBlock(H,Z)}}function M(K,H,Z){var $=K.offset,Y=Z.line;return H=H.replace(w,de),Y=Z.line,H.replace(I,de);function de(Te){return $[Y]=($[Y]||0)+Te.length,Y++,""}}function W(K,H,Z){var $=K.offset,Y=Z.line,de,Te,ve,S,Me,Ae,j;for(H=H.replace(v,pe),S=H.split(D),Me=a(H,s(de).indent).split(D),Me[0]=ve,$[Y]=($[Y]||0)+Te.length,Y++,Ae=0,j=S.length;++Ae<j;)$[Y]=($[Y]||0)+S[Ae].length-Me[Ae].length,Y++;return Me.join(D);function pe(Ie,xe,ae,Q,ne){return Te=xe+ae+Q,ve=ne,Number(ae)<10&&Te.length%2===1&&(ae=f+ae),de=xe+n(f,ae.length)+Q,de+ve}}}),NK=Ne((e,t)=>{"use strict";t.exports=c;var r=`
- `,n=" ",i=" ",s="=",a="-",o=3,u=1,h=2;function c(p,d,f){for(var D=this,g=p.now(),x=d.length,A=-1,C="",k,P,v,w,I;++A<x;){if(v=d.charAt(A),v!==i||A>=o){A--;break}C+=v}for(k="",P="";++A<x;){if(v=d.charAt(A),v===r){A--;break}v===i||v===n?P+=v:(k+=P+v,P="")}if(g.column+=C.length,g.offset+=C.length,C+=k+P,v=d.charAt(++A),w=d.charAt(++A),!(v!==r||w!==s&&w!==a)){for(C+=v,P=w,I=w===s?u:h;++A<x;){if(v=d.charAt(A),v!==w){if(v!==r)return;A--;break}P+=v}return f?!0:p(C+P)({type:"heading",depth:I,children:D.tokenizeInline(k,g)})}}}),JS=Ne(e=>{"use strict";var t="[a-zA-Z_:][a-zA-Z0-9:._-]*",r="[^\"'=<>`\\u0000-\\u0020]+",n="'[^']*'",i='"[^"]*"',s="(?:"+r+"|"+n+"|"+i+")",a="(?:\\s+"+t+"(?:\\s*=\\s*"+s+")?)",o="<[A-Za-z][A-Za-z0-9\\-]*"+a+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",h="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",c="<[?].*?[?]>",p="<![A-Za-z]+\\s+[^>]*>",d="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";e.openCloseTag=new RegExp("^(?:"+o+"|"+u+")"),e.tag=new RegExp("^(?:"+o+"|"+u+"|"+h+"|"+c+"|"+p+"|"+d+")")}),LK=Ne((e,t)=>{"use strict";var r=JS().openCloseTag;t.exports=k;var n=" ",i=" ",s=`
- `,a="<",o=/^<(script|pre|style)(?=(\s|>|$))/i,u=/<\/(script|pre|style)>/i,h=/^<!--/,c=/-->/,p=/^<\?/,d=/\?>/,f=/^<![A-Za-z]/,D=/>/,g=/^<!\[CDATA\[/,x=/]]>/,A=/^$/,C=new RegExp(r.source+"\\s*$");function k(P,v,w){for(var I=this,O=I.options.blocks.join("|"),R=new RegExp("^</?("+O+")(?=(\\s|/?>|$))","i"),M=v.length,W=0,K,H,Z,$,Y,de,Te,ve=[[o,u,!0],[h,c,!0],[p,d,!0],[f,D,!0],[g,x,!0],[R,A,!0],[C,A,!1]];W<M&&($=v.charAt(W),!($!==n&&$!==i));)W++;if(v.charAt(W)===a){for(K=v.indexOf(s,W+1),K=K===-1?M:K,H=v.slice(W,K),Z=-1,Y=ve.length;++Z<Y;)if(ve[Z][0].test(H)){de=ve[Z];break}if(de){if(w)return de[2];if(W=K,!de[1].test(H))for(;W<M;){if(K=v.indexOf(s,W+1),K=K===-1?M:K,H=v.slice(W+1,K),de[1].test(H)){H&&(W=K);break}W=K}return Te=v.slice(0,W),P(Te)({type:"html",value:Te})}}}}),fs=Ne((e,t)=>{"use strict";t.exports=i;var r=String.fromCharCode,n=/\s/;function i(s){return n.test(typeof s=="number"?r(s):s.charAt(0))}}),Rg=Ne((e,t)=>{"use strict";t.exports=r;function r(n){return String(n).replace(/\s+/g," ")}}),KS=Ne((e,t)=>{"use strict";var r=Rg();t.exports=n;function n(i){return r(i).toLowerCase()}}),OK=Ne((e,t)=>{"use strict";var r=fs(),n=KS();t.exports=A;var i='"',s="'",a="\\",o=`
- `,u=" ",h=" ",c="[",p="]",d="(",f=")",D=":",g="<",x=">";function A(P,v,w){for(var I=this,O=I.options.commonmark,R=0,M=v.length,W="",K,H,Z,$,Y,de,Te,ve;R<M&&($=v.charAt(R),!($!==h&&$!==u));)W+=$,R++;if($=v.charAt(R),$===c){for(R++,W+=$,Z="";R<M&&($=v.charAt(R),$!==p);)$===a&&(Z+=$,R++,$=v.charAt(R)),Z+=$,R++;if(!(!Z||v.charAt(R)!==p||v.charAt(R+1)!==D)){for(de=Z,W+=Z+p+D,R=W.length,Z="";R<M&&($=v.charAt(R),!($!==u&&$!==h&&$!==o));)W+=$,R++;if($=v.charAt(R),Z="",K=W,$===g){for(R++;R<M&&($=v.charAt(R),!!C($));)Z+=$,R++;if($=v.charAt(R),$===C.delimiter)W+=g+Z+$,R++;else{if(O)return;R-=Z.length+1,Z=""}}if(!Z){for(;R<M&&($=v.charAt(R),!!k($));)Z+=$,R++;W+=Z}if(Z){for(Te=Z,Z="";R<M&&($=v.charAt(R),!($!==u&&$!==h&&$!==o));)Z+=$,R++;if($=v.charAt(R),Y=null,$===i?Y=i:$===s?Y=s:$===d&&(Y=f),!Y)Z="",R=W.length;else if(Z){for(W+=Z+$,R=W.length,Z="";R<M&&($=v.charAt(R),$!==Y);){if($===o){if(R++,$=v.charAt(R),$===o||$===Y)return;Z+=o}Z+=$,R++}if($=v.charAt(R),$!==Y)return;H=W,W+=Z+$,R++,ve=Z,Z=""}else return;for(;R<M&&($=v.charAt(R),!($!==u&&$!==h));)W+=$,R++;if($=v.charAt(R),!$||$===o)return w?!0:(K=P(K).test().end,Te=I.decode.raw(I.unescape(Te),K,{nonTerminated:!1}),ve&&(H=P(H).test().end,ve=I.decode.raw(I.unescape(ve),H)),P(W)({type:"definition",identifier:n(de),label:de,title:ve||null,url:Te}))}}}}function C(P){return P!==x&&P!==c&&P!==p}C.delimiter=x;function k(P){return P!==c&&P!==p&&!r(P)}}),MK=Ne((e,t)=>{"use strict";var r=fs();t.exports=g;var n=" ",i=`
- `,s=" ",a="-",o=":",u="\\",h="|",c=1,p=2,d="left",f="center",D="right";function g(x,A,C){var k=this,P,v,w,I,O,R,M,W,K,H,Z,$,Y,de,Te,ve,S,Me,Ae,j,pe,Ie;if(k.options.gfm){for(P=0,ve=0,R=A.length+1,M=[];P<R;){if(j=A.indexOf(i,P),pe=A.indexOf(h,P+1),j===-1&&(j=A.length),pe===-1||pe>j){if(ve<p)return;break}M.push(A.slice(P,j)),ve++,P=j+1}for(I=M.join(i),v=M.splice(1,1)[0]||[],P=0,R=v.length,ve--,w=!1,Z=[];P<R;){if(K=v.charAt(P),K===h){if(H=null,w===!1){if(Ie===!1)return}else Z.push(w),w=!1;Ie=!1}else if(K===a)H=!0,w=w||null;else if(K===o)w===d?w=f:H&&w===null?w=D:w=d;else if(!r(K))return;P++}if(w!==!1&&Z.push(w),!(Z.length<c)){if(C)return!0;for(Te=-1,Me=[],Ae=x(I).reset({type:"table",align:Z,children:Me});++Te<ve;){for(S=M[Te],O={type:"tableRow",children:[]},Te&&x(i),x(S).reset(O,Ae),R=S.length+1,P=0,W="",$="",Y=!0;P<R;){if(K=S.charAt(P),K===n||K===s){$?W+=K:x(K),P++;continue}K===""||K===h?Y?x(K):(($||K)&&!Y&&(I=$,W.length>1&&(K?(I+=W.slice(0,-1),W=W.charAt(W.length-1)):(I+=W,W="")),de=x.now(),x(I)({type:"tableCell",children:k.tokenizeInline($,de)},O)),x(W+K),W="",$=""):(W&&($+=W,W=""),$+=K,K===u&&P!==R-2&&($+=S.charAt(P+1),P++)),Y=!1,P++}Te||x(i+v)}return Ae}}}}),RK=Ne((e,t)=>{"use strict";var r=Tu(),n=WS(),i=Mg();t.exports=h;var s=" ",a=`
- `,o=" ",u=4;function h(c,p,d){for(var f=this,D=f.options,g=D.commonmark,x=f.blockTokenizers,A=f.interruptParagraph,C=p.indexOf(a),k=p.length,P,v,w,I,O;C<k;){if(C===-1){C=k;break}if(p.charAt(C+1)===a)break;if(g){for(I=0,P=C+1;P<k;){if(w=p.charAt(P),w===s){I=u;break}else if(w===o)I++;else break;P++}if(I>=u&&w!==a){C=p.indexOf(a,C+1);continue}}if(v=p.slice(C+1),i(A,x,f,[c,v,!0]))break;if(P=C,C=p.indexOf(a,C+1),C!==-1&&r(p.slice(P,C))===""){C=P;break}}return v=p.slice(0,C),d?!0:(O=c.now(),v=n(v),c(v)({type:"paragraph",children:f.tokenizeInline(v,O)}))}}),jK=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){return n.indexOf("\\",i)}}),qK=Ne((e,t)=>{"use strict";var r=jK();t.exports=s,s.locator=r;var n=`
- `,i="\\";function s(a,o,u){var h=this,c,p;if(o.charAt(0)===i&&(c=o.charAt(1),h.escape.indexOf(c)!==-1))return u?!0:(c===n?p={type:"break"}:p={type:"text",value:c},a(i+c)(p))}}),XS=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){return n.indexOf("<",i)}}),UK=Ne((e,t)=>{"use strict";var r=fs(),n=uD(),i=XS();t.exports=p,p.locator=i,p.notInLink=!0;var s="<",a=">",o="@",u="/",h="mailto:",c=h.length;function p(d,f,D){var g=this,x="",A=f.length,C=0,k="",P=!1,v="",w,I,O,R,M;if(f.charAt(0)===s){for(C++,x=s;C<A&&(w=f.charAt(C),!(r(w)||w===a||w===o||w===":"&&f.charAt(C+1)===u));)k+=w,C++;if(k){if(v+=k,k="",w=f.charAt(C),v+=w,C++,w===o)P=!0;else{if(w!==":"||f.charAt(C+1)!==u)return;v+=u,C++}for(;C<A&&(w=f.charAt(C),!(r(w)||w===a));)k+=w,C++;if(w=f.charAt(C),!(!k||w!==a))return D?!0:(v+=k,O=v,x+=v+w,I=d.now(),I.column++,I.offset++,P&&(v.slice(0,c).toLowerCase()===h?(O=O.slice(c),I.column+=c,I.offset+=c):v=h+v),R=g.inlineTokenizers,g.inlineTokenizers={text:R.text},M=g.enterLink(),O=g.tokenizeInline(O,I),g.inlineTokenizers=R,M(),d(x)({type:"link",title:null,url:n(v,{nonTerminated:!1}),children:O}))}}}}),VK=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){var s=String(n),a=0,o;if(typeof i!="string")throw new Error("Expected character");for(o=s.indexOf(i);o!==-1;)a++,o=s.indexOf(i,o+i.length);return a}}),$K=Ne((e,t)=>{"use strict";t.exports=n;var r=["www.","http://","https://"];function n(i,s){var a=-1,o,u,h;if(!this.options.gfm)return a;for(u=r.length,o=-1;++o<u;)h=i.indexOf(r[o],s),h!==-1&&(a===-1||h<a)&&(a=h);return a}}),zK=Ne((e,t)=>{"use strict";var r=VK(),n=uD(),i=ku(),s=dp(),a=fs(),o=$K();t.exports=I,I.locator=o,I.notInLink=!0;var u=33,h=38,c=41,p=42,d=44,f=45,D=46,g=58,x=59,A=63,C=60,k=95,P=126,v="(",w=")";function I(O,R,M){var W=this,K=W.options.gfm,H=W.inlineTokenizers,Z=R.length,$=-1,Y=!1,de,Te,ve,S,Me,Ae,j,pe,Ie,xe,ae,Q,ne,we;if(K){if(R.slice(0,4)==="www.")Y=!0,S=4;else if(R.slice(0,7).toLowerCase()==="http://")S=7;else if(R.slice(0,8).toLowerCase()==="https://")S=8;else return;for($=S-1,ve=S,de=[];S<Z;){if(j=R.charCodeAt(S),j===D){if($===S-1)break;de.push(S),$=S,S++;continue}if(i(j)||s(j)||j===f||j===k){S++;continue}break}if(j===D&&(de.pop(),S--),de[0]!==void 0&&(Te=de.length<2?ve:de[de.length-2]+1,R.slice(Te,S).indexOf("_")===-1)){if(M)return!0;for(pe=S,Me=S;S<Z&&(j=R.charCodeAt(S),!(a(j)||j===C));)S++,j===u||j===p||j===d||j===D||j===g||j===A||j===k||j===P||(pe=S);if(S=pe,R.charCodeAt(S-1)===c)for(Ae=R.slice(Me,S),Ie=r(Ae,v),xe=r(Ae,w);xe>Ie;)S=Me+Ae.lastIndexOf(w),Ae=R.slice(Me,S),xe--;if(R.charCodeAt(S-1)===x&&(S--,s(R.charCodeAt(S-1)))){for(pe=S-2;s(R.charCodeAt(pe));)pe--;R.charCodeAt(pe)===h&&(S=pe)}return ae=R.slice(0,S),ne=n(ae,{nonTerminated:!1}),Y&&(ne="http://"+ne),we=W.enterLink(),W.inlineTokenizers={text:H.text},Q=W.tokenizeInline(ae,O.now()),W.inlineTokenizers=H,we(),O(ae)({type:"link",title:null,url:ne,children:Q})}}}}),HK=Ne((e,t)=>{"use strict";var r=ku(),n=dp(),i=43,s=45,a=46,o=95;t.exports=u;function u(c,p){var d=this,f,D;if(!this.options.gfm||(f=c.indexOf("@",p),f===-1))return-1;if(D=f,D===p||!h(c.charCodeAt(D-1)))return u.call(d,c,f+1);for(;D>p&&h(c.charCodeAt(D-1));)D--;return D}function h(c){return r(c)||n(c)||c===i||c===s||c===a||c===o}}),WK=Ne((e,t)=>{"use strict";var r=uD(),n=ku(),i=dp(),s=HK();t.exports=p,p.locator=s,p.notInLink=!0;var a=43,o=45,u=46,h=64,c=95;function p(d,f,D){var g=this,x=g.options.gfm,A=g.inlineTokenizers,C=0,k=f.length,P=-1,v,w,I,O;if(x){for(v=f.charCodeAt(C);n(v)||i(v)||v===a||v===o||v===u||v===c;)v=f.charCodeAt(++C);if(C!==0&&v===h){for(C++;C<k;){if(v=f.charCodeAt(C),n(v)||i(v)||v===o||v===u||v===c){C++,P===-1&&v===u&&(P=C);continue}break}if(!(P===-1||P===C||v===o||v===c))return v===u&&C--,w=f.slice(0,C),D?!0:(O=g.enterLink(),g.inlineTokenizers={text:A.text},I=g.tokenizeInline(w,d.now()),g.inlineTokenizers=A,O(),d(w)({type:"link",title:null,url:"mailto:"+r(w,{nonTerminated:!1}),children:I}))}}}}),GK=Ne((e,t)=>{"use strict";var r=dp(),n=XS(),i=JS().tag;t.exports=p,p.locator=n;var s="<",a="?",o="!",u="/",h=/^<a /i,c=/^<\/a>/i;function p(d,f,D){var g=this,x=f.length,A,C;if(!(f.charAt(0)!==s||x<3)&&(A=f.charAt(1),!(!r(A)&&A!==a&&A!==o&&A!==u)&&(C=f.match(i),!!C)))return D?!0:(C=C[0],!g.inLink&&h.test(C)?g.inLink=!0:g.inLink&&c.test(C)&&(g.inLink=!1),d(C)({type:"html",value:C}))}}),YS=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){var s=n.indexOf("[",i),a=n.indexOf("![",i);return a===-1||s<a?s:a}}),JK=Ne((e,t)=>{"use strict";var r=fs(),n=YS();t.exports=x,x.locator=n;var i=`
- `,s="!",a='"',o="'",u="(",h=")",c="<",p=">",d="[",f="\\",D="]",g="`";function x(A,C,k){var P=this,v="",w=0,I=C.charAt(0),O=P.options.pedantic,R=P.options.commonmark,M=P.options.gfm,W,K,H,Z,$,Y,de,Te,ve,S,Me,Ae,j,pe,Ie,xe,ae,Q;if(I===s&&(Te=!0,v=I,I=C.charAt(++w)),I===d&&!(!Te&&P.inLink)){for(v+=I,pe="",w++,Me=C.length,xe=A.now(),j=0,xe.column+=w,xe.offset+=w;w<Me;){if(I=C.charAt(w),Y=I,I===g){for(K=1;C.charAt(w+1)===g;)Y+=I,w++,K++;H?K>=H&&(H=0):H=K}else if(I===f)w++,Y+=C.charAt(w);else if((!H||M)&&I===d)j++;else if((!H||M)&&I===D)if(j)j--;else{if(C.charAt(w+1)!==u)return;Y+=u,W=!0,w++;break}pe+=Y,Y="",w++}if(W){for(ve=pe,v+=pe+Y,w++;w<Me&&(I=C.charAt(w),!!r(I));)v+=I,w++;if(I=C.charAt(w),pe="",Z=v,I===c){for(w++,Z+=c;w<Me&&(I=C.charAt(w),I!==p);){if(R&&I===i)return;pe+=I,w++}if(C.charAt(w)!==p)return;v+=c+pe+p,Ie=pe,w++}else{for(I=null,Y="";w<Me&&(I=C.charAt(w),!(Y&&(I===a||I===o||R&&I===u)));){if(r(I)){if(!O)break;Y+=I}else{if(I===u)j++;else if(I===h){if(j===0)break;j--}pe+=Y,Y="",I===f&&(pe+=f,I=C.charAt(++w)),pe+=I}w++}v+=pe,Ie=pe,w=v.length}for(pe="";w<Me&&(I=C.charAt(w),!!r(I));)pe+=I,w++;if(I=C.charAt(w),v+=pe,pe&&(I===a||I===o||R&&I===u))if(w++,v+=I,pe="",S=I===u?h:I,$=v,R){for(;w<Me&&(I=C.charAt(w),I!==S);)I===f&&(pe+=f,I=C.charAt(++w)),w++,pe+=I;if(I=C.charAt(w),I!==S)return;for(Ae=pe,v+=pe+I,w++;w<Me&&(I=C.charAt(w),!!r(I));)v+=I,w++}else for(Y="";w<Me;){if(I=C.charAt(w),I===S)de&&(pe+=S+Y,Y=""),de=!0;else if(!de)pe+=I;else if(I===h){v+=pe+S+Y,Ae=pe;break}else r(I)?Y+=I:(pe+=S+Y+I,Y="",de=!1);w++}if(C.charAt(w)===h)return k?!0:(v+=h,Ie=P.decode.raw(P.unescape(Ie),A(Z).test().end,{nonTerminated:!1}),Ae&&($=A($).test().end,Ae=P.decode.raw(P.unescape(Ae),$)),Q={type:Te?"image":"link",title:Ae||null,url:Ie},Te?Q.alt=P.decode.raw(P.unescape(ve),xe)||null:(ae=P.enterLink(),Q.children=P.tokenizeInline(ve,xe),ae()),A(v)(Q))}}}}),KK=Ne((e,t)=>{"use strict";var r=fs(),n=YS(),i=KS();t.exports=D,D.locator=n;var s="link",a="image",o="shortcut",u="collapsed",h="full",c="!",p="[",d="\\",f="]";function D(g,x,A){var C=this,k=C.options.commonmark,P=x.charAt(0),v=0,w=x.length,I="",O="",R=s,M=o,W,K,H,Z,$,Y,de,Te;if(P===c&&(R=a,O=P,P=x.charAt(++v)),P===p){for(v++,O+=P,Y="",Te=0;v<w;){if(P=x.charAt(v),P===p)de=!0,Te++;else if(P===f){if(!Te)break;Te--}P===d&&(Y+=d,P=x.charAt(++v)),Y+=P,v++}if(I=Y,W=Y,P=x.charAt(v),P===f){if(v++,I+=P,Y="",!k)for(;v<w&&(P=x.charAt(v),!!r(P));)Y+=P,v++;if(P=x.charAt(v),P===p){for(K="",Y+=P,v++;v<w&&(P=x.charAt(v),!(P===p||P===f));)P===d&&(K+=d,P=x.charAt(++v)),K+=P,v++;P=x.charAt(v),P===f?(M=K?h:u,Y+=K+P,v++):K="",I+=Y,Y=""}else{if(!W)return;K=W}if(!(M!==h&&de))return I=O+I,R===s&&C.inLink?null:A?!0:(H=g.now(),H.column+=O.length,H.offset+=O.length,K=M===h?K:W,Z={type:R+"Reference",identifier:i(K),label:K,referenceType:M},R===s?($=C.enterLink(),Z.children=C.tokenizeInline(W,H),$()):Z.alt=C.decode.raw(C.unescape(W),H)||null,g(I)(Z))}}}}),XK=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){var s=n.indexOf("**",i),a=n.indexOf("__",i);return a===-1?s:s===-1||a<s?a:s}}),YK=Ne((e,t)=>{"use strict";var r=Tu(),n=fs(),i=XK();t.exports=u,u.locator=i;var s="\\",a="*",o="_";function u(h,c,p){var d=this,f=0,D=c.charAt(f),g,x,A,C,k,P,v;if(!(D!==a&&D!==o||c.charAt(++f)!==D)&&(x=d.options.pedantic,A=D,k=A+A,P=c.length,f++,C="",D="",!(x&&n(c.charAt(f)))))for(;f<P;){if(v=D,D=c.charAt(f),D===A&&c.charAt(f+1)===A&&(!x||!n(v))&&(D=c.charAt(f+2),D!==A))return r(C)?p?!0:(g=h.now(),g.column+=2,g.offset+=2,h(k+C+k)({type:"strong",children:d.tokenizeInline(C,g)})):void 0;!x&&D===s&&(C+=D,D=c.charAt(++f)),C+=D,f++}}}),QK=Ne((e,t)=>{"use strict";t.exports=i;var r=String.fromCharCode,n=/\w/;function i(s){return n.test(typeof s=="number"?r(s):s.charAt(0))}}),ZK=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){var s=n.indexOf("*",i),a=n.indexOf("_",i);return a===-1?s:s===-1||a<s?a:s}}),eX=Ne((e,t)=>{"use strict";var r=Tu(),n=QK(),i=fs(),s=ZK();t.exports=h,h.locator=s;var a="*",o="_",u="\\";function h(c,p,d){var f=this,D=0,g=p.charAt(D),x,A,C,k,P,v,w;if(!(g!==a&&g!==o)&&(A=f.options.pedantic,P=g,C=g,v=p.length,D++,k="",g="",!(A&&i(p.charAt(D)))))for(;D<v;){if(w=g,g=p.charAt(D),g===C&&(!A||!i(w))){if(g=p.charAt(++D),g!==C){if(!r(k)||w===C)return;if(!A&&C===o&&n(g)){k+=C;continue}return d?!0:(x=c.now(),x.column++,x.offset++,c(P+k+C)({type:"emphasis",children:f.tokenizeInline(k,x)}))}k+=C}!A&&g===u&&(k+=g,g=p.charAt(++D)),k+=g,D++}}}),tX=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){return n.indexOf("~~",i)}}),rX=Ne((e,t)=>{"use strict";var r=fs(),n=tX();t.exports=a,a.locator=n;var i="~",s="~~";function a(o,u,h){var c=this,p="",d="",f="",D="",g,x,A;if(!(!c.options.gfm||u.charAt(0)!==i||u.charAt(1)!==i||r(u.charAt(2))))for(g=1,x=u.length,A=o.now(),A.column+=2,A.offset+=2;++g<x;){if(p=u.charAt(g),p===i&&d===i&&(!f||!r(f)))return h?!0:o(s+D+s)({type:"delete",children:c.tokenizeInline(D,A)});D+=d,f=d,d=p}}}),nX=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){return n.indexOf("`",i)}}),iX=Ne((e,t)=>{"use strict";var r=nX();t.exports=a,a.locator=r;var n=10,i=32,s=96;function a(o,u,h){for(var c=u.length,p=0,d,f,D,g,x,A;p<c&&u.charCodeAt(p)===s;)p++;if(!(p===0||p===c)){for(d=p,x=u.charCodeAt(p);p<c;){if(g=x,x=u.charCodeAt(p+1),g===s){if(f===void 0&&(f=p),D=p+1,x!==s&&D-f===d){A=!0;break}}else f!==void 0&&(f=void 0,D=void 0);p++}if(A){if(h)return!0;if(p=d,c=f,g=u.charCodeAt(p),x=u.charCodeAt(c-1),A=!1,c-p>2&&(g===i||g===n)&&(x===i||x===n)){for(p++,c--;p<c;){if(g=u.charCodeAt(p),g!==i&&g!==n){A=!0;break}p++}A===!0&&(d++,f--)}return o(u.slice(0,D))({type:"inlineCode",value:u.slice(d,f)})}}}}),sX=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i){for(var s=n.indexOf(`
- `,i);s>i&&n.charAt(s-1)===" ";)s--;return s}}),aX=Ne((e,t)=>{"use strict";var r=sX();t.exports=a,a.locator=r;var n=" ",i=`
- `,s=2;function a(o,u,h){for(var c=u.length,p=-1,d="",f;++p<c;){if(f=u.charAt(p),f===i)return p<s?void 0:h?!0:(d+=f,o(d)({type:"break"}));if(f!==n)return;d+=f}}}),oX=Ne((e,t)=>{"use strict";t.exports=r;function r(n,i,s){var a=this,o,u,h,c,p,d,f,D,g,x;if(s)return!0;for(o=a.inlineMethods,c=o.length,u=a.inlineTokenizers,h=-1,g=i.length;++h<c;)D=o[h],!(D==="text"||!u[D])&&(f=u[D].locator,f||n.file.fail("Missing locator: `"+D+"`"),d=f.call(a,i,1),d!==-1&&d<g&&(g=d));p=i.slice(0,g),x=n.now(),a.decode(p,x,A);function A(C,k,P){n(P||C)({type:"text",value:C})}}}),uX=Ne((e,t)=>{"use strict";var r=bu(),n=aK(),i=oK(),s=uK(),a=mK(),o=DK();t.exports=u;function u(p,d){this.file=d,this.offset={},this.options=r(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=i(d).toOffset,this.unescape=s(this,"escape"),this.decode=a(this)}var h=u.prototype;h.setOptions=xK(),h.parse=kK(),h.options=HS(),h.exitStart=n("atStart",!0),h.enterList=n("inList",!1),h.enterLink=n("inLink",!1),h.enterBlock=n("inBlock",!1),h.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],h.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],h.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}]],h.blockTokenizers={blankLine:TK(),indentedCode:vK(),fencedCode:SK(),blockquote:wK(),atxHeading:_K(),thematicBreak:BK(),list:IK(),setextHeading:NK(),html:LK(),definition:OK(),table:MK(),paragraph:RK()},h.inlineTokenizers={escape:qK(),autoLink:UK(),url:zK(),email:WK(),html:GK(),link:JK(),reference:KK(),strong:YK(),emphasis:eX(),deletion:rX(),code:iX(),break:aX(),text:oX()},h.blockMethods=c(h.blockTokenizers),h.inlineMethods=c(h.inlineTokenizers),h.tokenizeBlock=o("block"),h.tokenizeInline=o("inline"),h.tokenizeFactory=o;function c(p){var d=[],f;for(f in p)d.push(f);return d}}),lX=Ne((e,t)=>{"use strict";var r=sK(),n=bu(),i=uX();t.exports=s,s.Parser=i;function s(a){var o=this.data("settings"),u=r(i);u.prototype.options=n(u.prototype.options,o,a),this.Parser=u}}),cX=Ne((e,t)=>{"use strict";t.exports=r;function r(n){if(n)throw n}}),QS=Ne((e,t)=>{t.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}}),pX=Ne((e,t)=>{"use strict";var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=function(c){return typeof Array.isArray=="function"?Array.isArray(c):n.call(c)==="[object Array]"},o=function(c){if(!c||n.call(c)!=="[object Object]")return!1;var p=r.call(c,"constructor"),d=c.constructor&&c.constructor.prototype&&r.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!p&&!d)return!1;var f;for(f in c);return typeof f>"u"||r.call(c,f)},u=function(c,p){i&&p.name==="__proto__"?i(c,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):c[p.name]=p.newValue},h=function(c,p){if(p==="__proto__")if(r.call(c,p)){if(s)return s(c,p).value}else return;return c[p]};t.exports=function c(){var p,d,f,D,g,x,A=arguments[0],C=1,k=arguments.length,P=!1;for(typeof A=="boolean"&&(P=A,A=arguments[1]||{},C=2),(A==null||typeof A!="object"&&typeof A!="function")&&(A={});C<k;++C)if(p=arguments[C],p!=null)for(d in p)f=h(A,d),D=h(p,d),A!==D&&(P&&D&&(o(D)||(g=a(D)))?(g?(g=!1,x=f&&a(f)?f:[]):x=f&&o(f)?f:{},u(A,{name:d,newValue:c(P,x,D)})):typeof D<"u"&&u(A,{name:d,newValue:D}));return A}}),hX=Ne((e,t)=>{"use strict";t.exports=r=>{if(Object.prototype.toString.call(r)!=="[object Object]")return!1;let n=Object.getPrototypeOf(r);return n===null||n===Object.prototype}}),dX=Ne((e,t)=>{"use strict";var r=[].slice;t.exports=n;function n(i,s){var a;return o;function o(){var c=r.call(arguments,0),p=i.length>c.length,d;p&&c.push(u);try{d=i.apply(null,c)}catch(f){if(p&&a)throw f;return u(f)}p||(d&&typeof d.then=="function"?d.then(h,u):d instanceof Error?u(d):h(d))}function u(){a||(a=!0,s.apply(null,arguments))}function h(c){u(null,c)}}}),fX=Ne((e,t)=>{"use strict";var r=dX();t.exports=i,i.wrap=r;var n=[].slice;function i(){var s=[],a={};return a.run=o,a.use=u,a;function o(){var h=-1,c=n.call(arguments,0,-1),p=arguments[arguments.length-1];if(typeof p!="function")throw new Error("Expected function as last argument, not "+p);d.apply(null,[null].concat(c));function d(f){var D=s[++h],g=n.call(arguments,0),x=g.slice(1),A=c.length,C=-1;if(f){p(f);return}for(;++C<A;)(x[C]===null||x[C]===void 0)&&(x[C]=c[C]);c=x,D?r(D,d).apply(null,c):p.apply(null,[null].concat(c))}}function u(h){if(typeof h!="function")throw new Error("Expected `fn` to be a function, not "+h);return s.push(h),a}}}),mX=Ne((e,t)=>{"use strict";var r={}.hasOwnProperty;t.exports=n;function n(o){return!o||typeof o!="object"?"":r.call(o,"position")||r.call(o,"type")?s(o.position):r.call(o,"start")||r.call(o,"end")?s(o):r.call(o,"line")||r.call(o,"column")?i(o):""}function i(o){return(!o||typeof o!="object")&&(o={}),a(o.line)+":"+a(o.column)}function s(o){return(!o||typeof o!="object")&&(o={}),i(o.start)+"-"+i(o.end)}function a(o){return o&&typeof o=="number"?o:1}}),DX=Ne((e,t)=>{"use strict";var r=mX();t.exports=s;function n(){}n.prototype=Error.prototype,s.prototype=new n;var i=s.prototype;i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null;function s(o,u,h){var c,p,d;typeof u=="string"&&(h=u,u=null),c=a(h),p=r(u)||"1:1",d={start:{line:null,column:null},end:{line:null,column:null}},u&&u.position&&(u=u.position),u&&(u.start?(d=u,u=u.start):d.start=u),o.stack&&(this.stack=o.stack,o=o.message),this.message=o,this.name=p,this.reason=o,this.line=u?u.line:null,this.column=u?u.column:null,this.location=d,this.source=c[0],this.ruleId=c[1]}function a(o){var u=[null,null],h;return typeof o=="string"&&(h=o.indexOf(":"),h===-1?u[1]=o:(u[0]=o.slice(0,h),u[1]=o.slice(h+1))),u}}),yX=Ne(e=>{"use strict";e.basename=t,e.dirname=r,e.extname=n,e.join=i,e.sep="/";function t(u,h){var c=0,p=-1,d,f,D,g;if(h!==void 0&&typeof h!="string")throw new TypeError('"ext" argument must be a string');if(o(u),d=u.length,h===void 0||!h.length||h.length>u.length){for(;d--;)if(u.charCodeAt(d)===47){if(D){c=d+1;break}}else p<0&&(D=!0,p=d+1);return p<0?"":u.slice(c,p)}if(h===u)return"";for(f=-1,g=h.length-1;d--;)if(u.charCodeAt(d)===47){if(D){c=d+1;break}}else f<0&&(D=!0,f=d+1),g>-1&&(u.charCodeAt(d)===h.charCodeAt(g--)?g<0&&(p=d):(g=-1,p=f));return c===p?p=f:p<0&&(p=u.length),u.slice(c,p)}function r(u){var h,c,p;if(o(u),!u.length)return".";for(h=-1,p=u.length;--p;)if(u.charCodeAt(p)===47){if(c){h=p;break}}else c||(c=!0);return h<0?u.charCodeAt(0)===47?"/":".":h===1&&u.charCodeAt(0)===47?"//":u.slice(0,h)}function n(u){var h=-1,c=0,p=-1,d=0,f,D,g;for(o(u),g=u.length;g--;){if(D=u.charCodeAt(g),D===47){if(f){c=g+1;break}continue}p<0&&(f=!0,p=g+1),D===46?h<0?h=g:d!==1&&(d=1):h>-1&&(d=-1)}return h<0||p<0||d===0||d===1&&h===p-1&&h===c+1?"":u.slice(h,p)}function i(){for(var u=-1,h;++u<arguments.length;)o(arguments[u]),arguments[u]&&(h=h===void 0?arguments[u]:h+"/"+arguments[u]);return h===void 0?".":s(h)}function s(u){var h,c;return o(u),h=u.charCodeAt(0)===47,c=a(u,!h),!c.length&&!h&&(c="."),c.length&&u.charCodeAt(u.length-1)===47&&(c+="/"),h?"/"+c:c}function a(u,h){for(var c="",p=0,d=-1,f=0,D=-1,g,x;++D<=u.length;){if(D<u.length)g=u.charCodeAt(D);else{if(g===47)break;g=47}if(g===47){if(!(d===D-1||f===1))if(d!==D-1&&f===2){if(c.length<2||p!==2||c.charCodeAt(c.length-1)!==46||c.charCodeAt(c.length-2)!==46){if(c.length>2){if(x=c.lastIndexOf("/"),x!==c.length-1){x<0?(c="",p=0):(c=c.slice(0,x),p=c.length-1-c.lastIndexOf("/")),d=D,f=0;continue}}else if(c.length){c="",p=0,d=D,f=0;continue}}h&&(c=c.length?c+"/..":"..",p=2)}else c.length?c+="/"+u.slice(d+1,D):c=u.slice(d+1,D),p=D-d-1;d=D,f=0}else g===46&&f>-1?f++:f=-1}return c}function o(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}}),gX=Ne(e=>{"use strict";e.cwd=t;function t(){return"/"}}),xX=Ne((e,t)=>{"use strict";var r=yX(),n=gX(),i=QS();t.exports=o;var s={}.hasOwnProperty,a=["history","path","basename","stem","extname","dirname"];o.prototype.toString=C,Object.defineProperty(o.prototype,"path",{get:u,set:h}),Object.defineProperty(o.prototype,"dirname",{get:c,set:p}),Object.defineProperty(o.prototype,"basename",{get:d,set:f}),Object.defineProperty(o.prototype,"extname",{get:D,set:g}),Object.defineProperty(o.prototype,"stem",{get:x,set:A});function o(w){var I,O;if(!w)w={};else if(typeof w=="string"||i(w))w={contents:w};else if("message"in w&&"messages"in w)return w;if(!(this instanceof o))return new o(w);for(this.data={},this.messages=[],this.history=[],this.cwd=n.cwd(),O=-1;++O<a.length;)I=a[O],s.call(w,I)&&(this[I]=w[I]);for(I in w)a.indexOf(I)<0&&(this[I]=w[I])}function u(){return this.history[this.history.length-1]}function h(w){P(w,"path"),this.path!==w&&this.history.push(w)}function c(){return typeof this.path=="string"?r.dirname(this.path):void 0}function p(w){v(this.path,"dirname"),this.path=r.join(w||"",this.basename)}function d(){return typeof this.path=="string"?r.basename(this.path):void 0}function f(w){P(w,"basename"),k(w,"basename"),this.path=r.join(this.dirname||"",w)}function D(){return typeof this.path=="string"?r.extname(this.path):void 0}function g(w){if(k(w,"extname"),v(this.path,"extname"),w){if(w.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(w.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(w||""))}function x(){return typeof this.path=="string"?r.basename(this.path,this.extname):void 0}function A(w){P(w,"stem"),k(w,"stem"),this.path=r.join(this.dirname||"",w+(this.extname||""))}function C(w){return(this.contents||"").toString(w)}function k(w,I){if(w&&w.indexOf(r.sep)>-1)throw new Error("`"+I+"` cannot be a path: did not expect `"+r.sep+"`")}function P(w,I){if(!w)throw new Error("`"+I+"` cannot be empty")}function v(w,I){if(!w)throw new Error("Setting `"+I+"` requires `path` to be set too")}}),EX=Ne((e,t)=>{"use strict";var r=DX(),n=xX();t.exports=n,n.prototype.message=i,n.prototype.info=a,n.prototype.fail=s;function i(o,u,h){var c=new r(o,u,h);return this.path&&(c.name=this.path+":"+c.name,c.file=this.path),c.fatal=!1,this.messages.push(c),c}function s(){var o=this.message.apply(this,arguments);throw o.fatal=!0,o}function a(){var o=this.message.apply(this,arguments);return o.fatal=null,o}}),CX=Ne((e,t)=>{"use strict";t.exports=EX()}),FX=Ne((e,t)=>{"use strict";var r=cX(),n=QS(),i=pX(),s=hX(),a=fX(),o=CX();t.exports=D().freeze();var u=[].slice,h={}.hasOwnProperty,c=a().use(p).use(d).use(f);function p(w,I){I.tree=w.parse(I.file)}function d(w,I,O){w.run(I.tree,I.file,R);function R(M,W,K){M?O(M):(I.tree=W,I.file=K,O())}}function f(w,I){var O=w.stringify(I.tree,I.file);O==null||(typeof O=="string"||n(O)?("value"in I.file&&(I.file.value=O),I.file.contents=O):I.file.result=O)}function D(){var w=[],I=a(),O={},R=-1,M;return W.data=H,W.freeze=K,W.attachers=w,W.use=Z,W.parse=Y,W.stringify=ve,W.run=de,W.runSync=Te,W.process=S,W.processSync=Me,W;function W(){for(var Ae=D(),j=-1;++j<w.length;)Ae.use.apply(null,w[j]);return Ae.data(i(!0,{},O)),Ae}function K(){var Ae,j;if(M)return W;for(;++R<w.length;)Ae=w[R],Ae[1]!==!1&&(Ae[1]===!0&&(Ae[1]=void 0),j=Ae[0].apply(W,Ae.slice(1)),typeof j=="function"&&I.use(j));return M=!0,R=1/0,W}function H(Ae,j){return typeof Ae=="string"?arguments.length===2?(k("data",M),O[Ae]=j,W):h.call(O,Ae)&&O[Ae]||null:Ae?(k("data",M),O=Ae,W):O}function Z(Ae){var j;if(k("use",M),Ae!=null)if(typeof Ae=="function")ae.apply(null,arguments);else if(typeof Ae=="object")"length"in Ae?xe(Ae):pe(Ae);else throw new Error("Expected usable value, not `"+Ae+"`");return j&&(O.settings=i(O.settings||{},j)),W;function pe(Q){xe(Q.plugins),Q.settings&&(j=i(j||{},Q.settings))}function Ie(Q){if(typeof Q=="function")ae(Q);else if(typeof Q=="object")"length"in Q?ae.apply(null,Q):pe(Q);else throw new Error("Expected usable value, not `"+Q+"`")}function xe(Q){var ne=-1;if(Q!=null)if(typeof Q=="object"&&"length"in Q)for(;++ne<Q.length;)Ie(Q[ne]);else throw new Error("Expected a list of plugins, not `"+Q+"`")}function ae(Q,ne){var we=$(Q);we?(s(we[1])&&s(ne)&&(ne=i(!0,we[1],ne)),we[1]=ne):w.push(u.call(arguments))}}function $(Ae){for(var j=-1;++j<w.length;)if(w[j][0]===Ae)return w[j]}function Y(Ae){var j=o(Ae),pe;return K(),pe=W.Parser,A("parse",pe),g(pe,"parse")?new pe(String(j),j).parse():pe(String(j),j)}function de(Ae,j,pe){if(P(Ae),K(),!pe&&typeof j=="function"&&(pe=j,j=null),!pe)return new Promise(Ie);Ie(null,pe);function Ie(xe,ae){I.run(Ae,o(j),Q);function Q(ne,we,Be){we=we||Ae,ne?ae(ne):xe?xe(we):pe(null,we,Be)}}}function Te(Ae,j){var pe,Ie;return de(Ae,j,xe),v("runSync","run",Ie),pe;function xe(ae,Q){Ie=!0,pe=Q,r(ae)}}function ve(Ae,j){var pe=o(j),Ie;return K(),Ie=W.Compiler,C("stringify",Ie),P(Ae),g(Ie,"compile")?new Ie(Ae,pe).compile():Ie(Ae,pe)}function S(Ae,j){if(K(),A("process",W.Parser),C("process",W.Compiler),!j)return new Promise(pe);pe(null,j);function pe(Ie,xe){var ae=o(Ae);c.run(W,{file:ae},Q);function Q(ne){ne?xe(ne):Ie?Ie(ae):j(null,ae)}}}function Me(Ae){var j,pe;return K(),A("processSync",W.Parser),C("processSync",W.Compiler),j=o(Ae),S(j,Ie),v("processSync","process",pe),j;function Ie(xe){pe=!0,r(xe)}}}function g(w,I){return typeof w=="function"&&w.prototype&&(x(w.prototype)||I in w.prototype)}function x(w){var I;for(I in w)return!0;return!1}function A(w,I){if(typeof I!="function")throw new Error("Cannot `"+w+"` without `Parser`")}function C(w,I){if(typeof I!="function")throw new Error("Cannot `"+w+"` without `Compiler`")}function k(w,I){if(I)throw new Error("Cannot invoke `"+w+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function P(w){if(!w||typeof w.type!="string")throw new Error("Expected node, got `"+w+"`")}function v(w,I,O){if(!O)throw new Error("`"+w+"` finished async. Use `"+I+"` instead")}}),ZS={};oD(ZS,{languages:()=>ew,options:()=>tw,parsers:()=>jg,printers:()=>Zg});var ew=[{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}],nS={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."}},AX={proseWrap:nS.proseWrap,singleQuote:nS.singleQuote},tw=AX,jg={};oD(jg,{markdown:()=>BS,mdx:()=>are,remark:()=>BS});var Qm=e=>e.position.start.offset,Zm=e=>e.position.end.offset;function bX({slug:e,permalink:t,alias:r}){return{hName:"a",hProperties:{href:t??e},hChildren:[{type:"text",value:r??e}]}}function kX(e={}){let t=e.linkTemplate||bX,r;function n(u){r={type:"wikiLink",value:null,data:{}},this.enter(r,u)}function i(u){return u[u.length-1]}function s(u){let h=this.sliceSerialize(u),c=i(this.stack);c.data.alias=h}function a(u){let h=this.sliceSerialize(u),c=i(this.stack);c.value=h}function o(u){this.exit(u);let h=r,c={slug:h.value,alias:h.data.alias,permalink:e.linkResolver?e.linkResolver(h.value):void 0};h.data={alias:c.alias,permalink:c.permalink,...t(c)}}return{enter:{wikiLink:n},exit:{wikiLinkTarget:a,wikiLinkAlias:s,wikiLink:o}}}var Zs={horizontalTab:-2,virtualSpace:-1,nul:0,eof:null,space:32};function iS(e){return e!==Zs.eof&&(e<Zs.nul||e===Zs.space)}function Eg(e){return e!==Zs.eof&&(e===null||e<Zs.horizontalTab)}function TX(e={}){let t=e.aliasDivider||"|",r="[[",n="]]";return{text:{91:{tokenize:(i,s,a)=>{let o,u,h=0,c=0,p=0;return d;function d(k){return k!==r.charCodeAt(c)?a(k):(i.enter("wikiLink"),i.enter("wikiLinkMarker"),f(k))}function f(k){return c===r.length?(i.exit("wikiLinkMarker"),D(k)):k!==r.charCodeAt(c)?a(k):(i.consume(k),c++,f)}function D(k){return Eg(k)||k===Zs.eof?a(k):(i.enter("wikiLinkData"),i.enter("wikiLinkTarget"),g(k))}function g(k){return k===t.charCodeAt(h)?o?(i.exit("wikiLinkTarget"),i.enter("wikiLinkAliasMarker"),x(k)):a(k):k===n.charCodeAt(p)?o?(i.exit("wikiLinkTarget"),i.exit("wikiLinkData"),i.enter("wikiLinkMarker"),C(k)):a(k):Eg(k)||k===Zs.eof?a(k):(iS(k)||(o=!0),i.consume(k),g)}function x(k){return h===t.length?(i.exit("wikiLinkAliasMarker"),i.enter("wikiLinkAlias"),A(k)):k!==t.charCodeAt(h)?a(k):(i.consume(k),h++,x)}function A(k){return k===n.charCodeAt(p)?u?(i.exit("wikiLinkAlias"),i.exit("wikiLinkData"),i.enter("wikiLinkMarker"),C(k)):a(k):Eg(k)||k===Zs.eof?a(k):(iS(k)||(u=!0),i.consume(k),A)}function C(k){return p===n.length?(i.exit("wikiLinkMarker"),i.exit("wikiLink"),s(k)):k!==n.charCodeAt(p)?a(k):(i.consume(k),p++,C)}}}}}}var vX={};function SX(e,t){let r=t||vX,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return rw(e,n,i)}function rw(e,t,r){if(wX(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return sS(e.children,t,r)}return Array.isArray(e)?sS(e,t,r):""}function sS(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=rw(e[i],t,r);return n.join("")}function wX(e){return!!(e&&typeof e=="object")}var aS={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",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",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",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",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",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",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",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",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",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",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",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}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",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",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",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",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",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",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",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",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}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",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",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",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",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",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",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",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",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",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",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",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",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",eth:"\xF0",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",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",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",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",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",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",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",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",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",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",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",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",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",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}",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",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",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",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:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",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",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",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",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",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",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",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",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",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",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",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",thorn:"\xFE",tilde:"\u02DC",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",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",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",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",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",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"},_X={}.hasOwnProperty;function qg(e){return _X.call(aS,e)?aS[e]:!1}function wn(e,t,r,n){let i=e.length,s=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)a=Array.from(n),a.unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);s<n.length;)a=n.slice(s,s+1e4),a.unshift(t,0),e.splice(...a),s+=1e4,t+=1e4}function Gn(e,t){return e.length>0?(wn(e,e.length,0,t),e):t}var oS={}.hasOwnProperty;function nw(e){let t={},r=-1;for(;++r<e.length;)BX(t,e[r]);return t}function BX(e,t){let r;for(r in t){let n=(oS.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r],s;if(i)for(s in i){oS.call(n,s)||(n[s]=[]);let a=i[s];PX(n[s],Array.isArray(a)?a:a?[a]:[])}}}function PX(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);wn(e,0,0,n)}function iw(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}function ai(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var mr=na(/[A-Za-z]/),Or=na(/[\dA-Za-z]/),IX=na(/[#-'*+\--9=?A-Z^-~]/);function eD(e){return e!==null&&(e<32||e===127)}var Tg=na(/\d/),NX=na(/[\dA-Fa-f]/),LX=na(/[!-/:-@[-`{-~]/);function Ge(e){return e!==null&&e<-2}function Bt(e){return e!==null&&(e<0||e===32)}function Dt(e){return e===-2||e===-1||e===32}var lD=na(/\p{P}|\p{S}/u),so=na(/\s/);function na(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Ft(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,s=0;return a;function a(u){return Dt(u)?(e.enter(r),o(u)):t(u)}function o(u){return Dt(u)&&s++<i?(e.consume(u),o):(e.exit(r),t(u))}}var OX={tokenize:MX};function MX(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ft(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),s(o)}function s(o){let u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Ge(o)?(e.consume(o),e.exit("chunkText"),s):(e.consume(o),a)}}var RX={tokenize:jX},uS={tokenize:qX};function jX(e){let t=this,r=[],n=0,i,s,a;return o;function o(k){if(n<r.length){let P=r[n];return t.containerState=P[1],e.attempt(P[0].continuation,u,h)(k)}return h(k)}function u(k){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();let P=t.events.length,v=P,w;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){w=t.events[v][1].end;break}A(n);let I=P;for(;I<t.events.length;)t.events[I][1].end={...w},I++;return wn(t.events,v+1,0,t.events.slice(P)),t.events.length=I,h(k)}return o(k)}function h(k){if(n===r.length){if(!i)return d(k);if(i.currentConstruct&&i.currentConstruct.concrete)return D(k);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(uS,c,p)(k)}function c(k){return i&&C(),A(n),d(k)}function p(k){return t.parser.lazy[t.now().line]=n!==r.length,a=t.now().offset,D(k)}function d(k){return t.containerState={},e.attempt(uS,f,D)(k)}function f(k){return n++,r.push([t.currentConstruct,t.containerState]),d(k)}function D(k){if(k===null){i&&C(),A(0),e.consume(k);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:s}),g(k)}function g(k){if(k===null){x(e.exit("chunkFlow"),!0),A(0),e.consume(k);return}return Ge(k)?(e.consume(k),x(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(k),g)}function x(k,P){let v=t.sliceStream(k);if(P&&v.push(null),k.previous=s,s&&(s.next=k),s=k,i.defineSkip(k.start),i.write(v),t.parser.lazy[k.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<a&&(!i.events[w][1].end||i.events[w][1].end.offset>a))return;let I=t.events.length,O=I,R,M;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(R){M=t.events[O][1].end;break}R=!0}for(A(n),w=I;w<t.events.length;)t.events[w][1].end={...M},w++;wn(t.events,O+1,0,t.events.slice(I)),t.events.length=w}}function A(k){let P=r.length;for(;P-- >k;){let v=r[P];t.containerState=v[1],v[0].exit.call(t,e)}r.length=k}function C(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function qX(e,t,r){return Ft(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function tD(e){if(e===null||Bt(e)||so(e))return 1;if(lD(e))return 2}function cD(e,t,r){let n=[],i=-1;for(;++i<e.length;){let s=e[i].resolveAll;s&&!n.includes(s)&&(t=s(t,r),n.push(s))}return t}var vg={name:"attention",resolveAll:UX,tokenize:VX};function UX(e,t){let r=-1,n,i,s,a,o,u,h,c;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let p={...e[n][1].end},d={...e[r][1].start};lS(p,-u),lS(d,u),a={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},o={type:u>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},s={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:u>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[n][1].end={...a.start},e[r][1].start={...o.end},h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=Gn(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=Gn(h,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",s,t]]),h=Gn(h,cD(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),h=Gn(h,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,h=Gn(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,wn(e,n-1,r-n+3,h),r=n+h.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function VX(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=tD(n),s;return a;function a(u){return s=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===s)return e.consume(u),o;let h=e.exit("attentionSequence"),c=tD(u),p=!c||c===2&&i||r.includes(u),d=!i||i===2&&c||r.includes(n);return h._open=!!(s===42?p:p&&(i||!d)),h._close=!!(s===42?d:d&&(c||!p)),t(u)}}function lS(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var $X={name:"autolink",tokenize:zX};function zX(e,t,r){let n=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(f){return mr(f)?(e.consume(f),a):f===64?r(f):h(f)}function a(f){return f===43||f===45||f===46||Or(f)?(n=1,o(f)):h(f)}function o(f){return f===58?(e.consume(f),n=0,u):(f===43||f===45||f===46||Or(f))&&n++<32?(e.consume(f),o):(n=0,h(f))}function u(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||eD(f)?r(f):(e.consume(f),u)}function h(f){return f===64?(e.consume(f),c):IX(f)?(e.consume(f),h):r(f)}function c(f){return Or(f)?p(f):r(f)}function p(f){return f===46?(e.consume(f),n=0,c):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):d(f)}function d(f){if((f===45||Or(f))&&n++<63){let D=f===45?d:p;return e.consume(f),D}return r(f)}}var fp={partial:!0,tokenize:HX};function HX(e,t,r){return n;function n(s){return Dt(s)?Ft(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||Ge(s)?t(s):r(s)}}var sw={continuation:{tokenize:GX},exit:JX,name:"blockQuote",tokenize:WX};function WX(e,t,r){let n=this;return i;function i(a){if(a===62){let o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),s}return r(a)}function s(a){return Dt(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function GX(e,t,r){let n=this;return i;function i(a){return Dt(a)?Ft(e,s,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):s(a)}function s(a){return e.attempt(sw,t,r)(a)}}function JX(e){e.exit("blockQuote")}var aw={name:"characterEscape",tokenize:KX};function KX(e,t,r){return n;function n(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return LX(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(s)}}var ow={name:"characterReference",tokenize:XX};function XX(e,t,r){let n=this,i=0,s,a;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),u}function u(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),s=31,a=Or,c(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,a=NX,c):(e.enter("characterReferenceValue"),s=7,a=Tg,c(p))}function c(p){if(p===59&&i){let d=e.exit("characterReferenceValue");return a===Or&&!qg(n.sliceSerialize(d))?r(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(p)&&i++<s?(e.consume(p),c):r(p)}}var cS={partial:!0,tokenize:QX},pS={concrete:!0,name:"codeFenced",tokenize:YX};function YX(e,t,r){let n=this,i={partial:!0,tokenize:v},s=0,a=0,o;return u;function u(w){return h(w)}function h(w){let I=n.events[n.events.length-1];return s=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,o=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(w)}function c(w){return w===o?(a++,e.consume(w),c):a<3?r(w):(e.exit("codeFencedFenceSequence"),Dt(w)?Ft(e,p,"whitespace")(w):p(w))}function p(w){return w===null||Ge(w)?(e.exit("codeFencedFence"),n.interrupt?t(w):e.check(cS,g,P)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(w))}function d(w){return w===null||Ge(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(w)):Dt(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ft(e,f,"whitespace")(w)):w===96&&w===o?r(w):(e.consume(w),d)}function f(w){return w===null||Ge(w)?p(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),D(w))}function D(w){return w===null||Ge(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(w)):w===96&&w===o?r(w):(e.consume(w),D)}function g(w){return e.attempt(i,P,x)(w)}function x(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),A}function A(w){return s>0&&Dt(w)?Ft(e,C,"linePrefix",s+1)(w):C(w)}function C(w){return w===null||Ge(w)?e.check(cS,g,P)(w):(e.enter("codeFlowValue"),k(w))}function k(w){return w===null||Ge(w)?(e.exit("codeFlowValue"),C(w)):(e.consume(w),k)}function P(w){return e.exit("codeFenced"),t(w)}function v(w,I,O){let R=0;return M;function M($){return w.enter("lineEnding"),w.consume($),w.exit("lineEnding"),W}function W($){return w.enter("codeFencedFence"),Dt($)?Ft(w,K,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):K($)}function K($){return $===o?(w.enter("codeFencedFenceSequence"),H($)):O($)}function H($){return $===o?(R++,w.consume($),H):R>=a?(w.exit("codeFencedFenceSequence"),Dt($)?Ft(w,Z,"whitespace")($):Z($)):O($)}function Z($){return $===null||Ge($)?(w.exit("codeFencedFence"),I($)):O($)}}}function QX(e,t,r){let n=this;return i;function i(a){return a===null?r(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s)}function s(a){return n.parser.lazy[n.now().line]?r(a):t(a)}}var Cg={name:"codeIndented",tokenize:eY},ZX={partial:!0,tokenize:tY};function eY(e,t,r){let n=this;return i;function i(h){return e.enter("codeIndented"),Ft(e,s,"linePrefix",5)(h)}function s(h){let c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(h):r(h)}function a(h){return h===null?u(h):Ge(h)?e.attempt(ZX,a,u)(h):(e.enter("codeFlowValue"),o(h))}function o(h){return h===null||Ge(h)?(e.exit("codeFlowValue"),a(h)):(e.consume(h),o)}function u(h){return e.exit("codeIndented"),t(h)}}function tY(e,t,r){let n=this;return i;function i(a){return n.parser.lazy[n.now().line]?r(a):Ge(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Ft(e,s,"linePrefix",5)(a)}function s(a){let o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):Ge(a)?i(a):r(a)}}var rY={name:"codeText",previous:iY,resolve:nY,tokenize:sY};function nY(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function iY(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sY(e,t,r){let n=this,i=0,s,a;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),u(d)}function u(d){return d===96?(e.consume(d),i++,u):(e.exit("codeTextSequence"),h(d))}function h(d){return d===null?r(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),h):d===96?(a=e.enter("codeTextSequence"),s=0,p(d)):Ge(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||Ge(d)?(e.exit("codeTextData"),h(d)):(e.consume(d),c)}function p(d){return d===96?(e.consume(d),s++,p):s===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",c(d))}}var aY=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){let n=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-n,Number.POSITIVE_INFINITY);return r&&ap(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ap(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ap(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);ap(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ap(this.left,t.reverse())}}};function ap(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function uw(e){let t={},r=-1,n,i,s,a,o,u,h,c=new aY(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,oY(c,r)),r=t[r],h=!0);else if(n[1]._container){for(s=r,i=void 0;s--;)if(a=c.get(s),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=s);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(n[1].end={...c.get(i)[1].start},o=c.slice(i,r),o.unshift(n),c.splice(i,r-i+1,o))}}return wn(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!h}function oY(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,s=[],a=r._tokenizer;a||(a=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let o=a.events,u=[],h={},c,p,d=-1,f=r,D=0,g=0,x=[g];for(;f;){for(;e.get(++i)[1]!==f;);s.push(i),f._tokenizer||(c=n.sliceStream(f),f.next||c.push(null),p&&a.defineSkip(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=f,f=f.next}for(f=r;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(g=d+1,x.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):x.pop(),d=x.length;d--;){let A=o.slice(x[d],x[d+1]),C=s.pop();u.push([C,C+A.length-1]),e.splice(C,2,A)}for(u.reverse(),d=-1;++d<u.length;)h[D+u[d][0]]=D+u[d][1],D+=u[d][1]-u[d][0]-1;return h}var uY={resolve:cY,tokenize:pY},lY={partial:!0,tokenize:hY};function cY(e){return uw(e),e}function pY(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?s(o):Ge(o)?e.check(lY,a,s)(o):(e.consume(o),i)}function s(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function hY(e,t,r){let n=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Ft(e,s,"linePrefix")}function s(a){if(a===null||Ge(a))return r(a);let o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(n.parser.constructs.flow,r,t)(a)}}function lw(e,t,r,n,i,s,a,o,u){let h=u||Number.POSITIVE_INFINITY,c=0;return p;function p(A){return A===60?(e.enter(n),e.enter(i),e.enter(s),e.consume(A),e.exit(s),d):A===null||A===32||A===41||eD(A)?r(A):(e.enter(n),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),g(A))}function d(A){return A===62?(e.enter(s),e.consume(A),e.exit(s),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(A))}function f(A){return A===62?(e.exit("chunkString"),e.exit(o),d(A)):A===null||A===60||Ge(A)?r(A):(e.consume(A),A===92?D:f)}function D(A){return A===60||A===62||A===92?(e.consume(A),f):f(A)}function g(A){return!c&&(A===null||A===41||Bt(A))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(n),t(A)):c<h&&A===40?(e.consume(A),c++,g):A===41?(e.consume(A),c--,g):A===null||A===32||A===40||eD(A)?r(A):(e.consume(A),A===92?x:g)}function x(A){return A===40||A===41||A===92?(e.consume(A),g):g(A)}}function cw(e,t,r,n,i,s){let a=this,o=0,u;return h;function h(f){return e.enter(n),e.enter(i),e.consume(f),e.exit(i),e.enter(s),c}function c(f){return o>999||f===null||f===91||f===93&&!u||f===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?r(f):f===93?(e.exit(s),e.enter(i),e.consume(f),e.exit(i),e.exit(n),t):Ge(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===null||f===91||f===93||Ge(f)||o++>999?(e.exit("chunkString"),c(f)):(e.consume(f),u||(u=!Dt(f)),f===92?d:p)}function d(f){return f===91||f===92||f===93?(e.consume(f),o++,p):p(f)}}function pw(e,t,r,n,i,s){let a;return o;function o(d){return d===34||d===39||d===40?(e.enter(n),e.enter(i),e.consume(d),e.exit(i),a=d===40?41:d,u):r(d)}function u(d){return d===a?(e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):(e.enter(s),h(d))}function h(d){return d===a?(e.exit(s),u(a)):d===null?r(d):Ge(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Ft(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===a||d===null||Ge(d)?(e.exit("chunkString"),h(d)):(e.consume(d),d===92?p:c)}function p(d){return d===a||d===92?(e.consume(d),c):c(d)}}function cp(e,t){let r;return n;function n(i){return Ge(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):Dt(i)?Ft(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}var dY={name:"definition",tokenize:mY},fY={partial:!0,tokenize:DY};function mY(e,t,r){let n=this,i;return s;function s(f){return e.enter("definition"),a(f)}function a(f){return cw.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return i=ai(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),u):r(f)}function u(f){return Bt(f)?cp(e,h)(f):h(f)}function h(f){return lw(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return e.attempt(fY,p,p)(f)}function p(f){return Dt(f)?Ft(e,d,"whitespace")(f):d(f)}function d(f){return f===null||Ge(f)?(e.exit("definition"),n.parser.defined.push(i),t(f)):r(f)}}function DY(e,t,r){return n;function n(o){return Bt(o)?cp(e,i)(o):r(o)}function i(o){return pw(e,s,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return Dt(o)?Ft(e,a,"whitespace")(o):a(o)}function a(o){return o===null||Ge(o)?t(o):r(o)}}var yY={name:"hardBreakEscape",tokenize:gY};function gY(e,t,r){return n;function n(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return Ge(s)?(e.exit("hardBreakEscape"),t(s)):r(s)}}var xY={name:"headingAtx",resolve:EY,tokenize:CY};function EY(e,t){let r=e.length-2,n=3,i,s;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},s={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},wn(e,n,r-n+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function CY(e,t,r){let n=0;return i;function i(c){return e.enter("atxHeading"),s(c)}function s(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&n++<6?(e.consume(c),a):c===null||Bt(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||Ge(c)?(e.exit("atxHeading"),t(c)):Dt(c)?Ft(e,o,"whitespace")(c):(e.enter("atxHeadingText"),h(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),o(c))}function h(c){return c===null||c===35||Bt(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),h)}}var FY=["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","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],hS=["pre","script","style","textarea"],AY={concrete:!0,name:"htmlFlow",resolveTo:TY,tokenize:vY},bY={partial:!0,tokenize:wY},kY={partial:!0,tokenize:SY};function TY(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function vY(e,t,r){let n=this,i,s,a,o,u;return h;function h(j){return c(j)}function c(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),p}function p(j){return j===33?(e.consume(j),d):j===47?(e.consume(j),s=!0,g):j===63?(e.consume(j),i=3,n.interrupt?t:S):mr(j)?(e.consume(j),a=String.fromCharCode(j),x):r(j)}function d(j){return j===45?(e.consume(j),i=2,f):j===91?(e.consume(j),i=5,o=0,D):mr(j)?(e.consume(j),i=4,n.interrupt?t:S):r(j)}function f(j){return j===45?(e.consume(j),n.interrupt?t:S):r(j)}function D(j){let pe="CDATA[";return j===pe.charCodeAt(o++)?(e.consume(j),o===pe.length?n.interrupt?t:K:D):r(j)}function g(j){return mr(j)?(e.consume(j),a=String.fromCharCode(j),x):r(j)}function x(j){if(j===null||j===47||j===62||Bt(j)){let pe=j===47,Ie=a.toLowerCase();return!pe&&!s&&hS.includes(Ie)?(i=1,n.interrupt?t(j):K(j)):FY.includes(a.toLowerCase())?(i=6,pe?(e.consume(j),A):n.interrupt?t(j):K(j)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(j):s?C(j):k(j))}return j===45||Or(j)?(e.consume(j),a+=String.fromCharCode(j),x):r(j)}function A(j){return j===62?(e.consume(j),n.interrupt?t:K):r(j)}function C(j){return Dt(j)?(e.consume(j),C):M(j)}function k(j){return j===47?(e.consume(j),M):j===58||j===95||mr(j)?(e.consume(j),P):Dt(j)?(e.consume(j),k):M(j)}function P(j){return j===45||j===46||j===58||j===95||Or(j)?(e.consume(j),P):v(j)}function v(j){return j===61?(e.consume(j),w):Dt(j)?(e.consume(j),v):k(j)}function w(j){return j===null||j===60||j===61||j===62||j===96?r(j):j===34||j===39?(e.consume(j),u=j,I):Dt(j)?(e.consume(j),w):O(j)}function I(j){return j===u?(e.consume(j),u=null,R):j===null||Ge(j)?r(j):(e.consume(j),I)}function O(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||Bt(j)?v(j):(e.consume(j),O)}function R(j){return j===47||j===62||Dt(j)?k(j):r(j)}function M(j){return j===62?(e.consume(j),W):r(j)}function W(j){return j===null||Ge(j)?K(j):Dt(j)?(e.consume(j),W):r(j)}function K(j){return j===45&&i===2?(e.consume(j),Y):j===60&&i===1?(e.consume(j),de):j===62&&i===4?(e.consume(j),Me):j===63&&i===3?(e.consume(j),S):j===93&&i===5?(e.consume(j),ve):Ge(j)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(bY,Ae,H)(j)):j===null||Ge(j)?(e.exit("htmlFlowData"),H(j)):(e.consume(j),K)}function H(j){return e.check(kY,Z,Ae)(j)}function Z(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),$}function $(j){return j===null||Ge(j)?H(j):(e.enter("htmlFlowData"),K(j))}function Y(j){return j===45?(e.consume(j),S):K(j)}function de(j){return j===47?(e.consume(j),a="",Te):K(j)}function Te(j){if(j===62){let pe=a.toLowerCase();return hS.includes(pe)?(e.consume(j),Me):K(j)}return mr(j)&&a.length<8?(e.consume(j),a+=String.fromCharCode(j),Te):K(j)}function ve(j){return j===93?(e.consume(j),S):K(j)}function S(j){return j===62?(e.consume(j),Me):j===45&&i===2?(e.consume(j),S):K(j)}function Me(j){return j===null||Ge(j)?(e.exit("htmlFlowData"),Ae(j)):(e.consume(j),Me)}function Ae(j){return e.exit("htmlFlow"),t(j)}}function SY(e,t,r){let n=this;return i;function i(a){return Ge(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):r(a)}function s(a){return n.parser.lazy[n.now().line]?r(a):t(a)}}function wY(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(fp,t,r)}}var _Y={name:"htmlText",tokenize:BY};function BY(e,t,r){let n=this,i,s,a;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),u}function u(S){return S===33?(e.consume(S),h):S===47?(e.consume(S),v):S===63?(e.consume(S),k):mr(S)?(e.consume(S),O):r(S)}function h(S){return S===45?(e.consume(S),c):S===91?(e.consume(S),s=0,D):mr(S)?(e.consume(S),C):r(S)}function c(S){return S===45?(e.consume(S),f):r(S)}function p(S){return S===null?r(S):S===45?(e.consume(S),d):Ge(S)?(a=p,de(S)):(e.consume(S),p)}function d(S){return S===45?(e.consume(S),f):p(S)}function f(S){return S===62?Y(S):S===45?d(S):p(S)}function D(S){let Me="CDATA[";return S===Me.charCodeAt(s++)?(e.consume(S),s===Me.length?g:D):r(S)}function g(S){return S===null?r(S):S===93?(e.consume(S),x):Ge(S)?(a=g,de(S)):(e.consume(S),g)}function x(S){return S===93?(e.consume(S),A):g(S)}function A(S){return S===62?Y(S):S===93?(e.consume(S),A):g(S)}function C(S){return S===null||S===62?Y(S):Ge(S)?(a=C,de(S)):(e.consume(S),C)}function k(S){return S===null?r(S):S===63?(e.consume(S),P):Ge(S)?(a=k,de(S)):(e.consume(S),k)}function P(S){return S===62?Y(S):k(S)}function v(S){return mr(S)?(e.consume(S),w):r(S)}function w(S){return S===45||Or(S)?(e.consume(S),w):I(S)}function I(S){return Ge(S)?(a=I,de(S)):Dt(S)?(e.consume(S),I):Y(S)}function O(S){return S===45||Or(S)?(e.consume(S),O):S===47||S===62||Bt(S)?R(S):r(S)}function R(S){return S===47?(e.consume(S),Y):S===58||S===95||mr(S)?(e.consume(S),M):Ge(S)?(a=R,de(S)):Dt(S)?(e.consume(S),R):Y(S)}function M(S){return S===45||S===46||S===58||S===95||Or(S)?(e.consume(S),M):W(S)}function W(S){return S===61?(e.consume(S),K):Ge(S)?(a=W,de(S)):Dt(S)?(e.consume(S),W):R(S)}function K(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(e.consume(S),i=S,H):Ge(S)?(a=K,de(S)):Dt(S)?(e.consume(S),K):(e.consume(S),Z)}function H(S){return S===i?(e.consume(S),i=void 0,$):S===null?r(S):Ge(S)?(a=H,de(S)):(e.consume(S),H)}function Z(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||Bt(S)?R(S):(e.consume(S),Z)}function $(S){return S===47||S===62||Bt(S)?R(S):r(S)}function Y(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):r(S)}function de(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Te}function Te(S){return Dt(S)?Ft(e,ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):ve(S)}function ve(S){return e.enter("htmlTextData"),a(S)}}var Ug={name:"labelEnd",resolveAll:LY,resolveTo:OY,tokenize:MY},PY={tokenize:RY},IY={tokenize:jY},NY={tokenize:qY};function LY(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&wn(e,0,e.length,r),e}function OY(e,t){let r=e.length,n=0,i,s,a,o;for(;r--;)if(i=e[r][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(a=r);let u={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[s][1].start},end:{...e[a][1].end}},c={type:"labelText",start:{...e[s+n+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",u,t],["enter",h,t]],o=Gn(o,e.slice(s+1,s+n+3)),o=Gn(o,[["enter",c,t]]),o=Gn(o,cD(t.parser.constructs.insideSpan.null,e.slice(s+n+4,a-3),t)),o=Gn(o,[["exit",c,t],e[a-2],e[a-1],["exit",h,t]]),o=Gn(o,e.slice(a+1)),o=Gn(o,[["exit",u,t]]),wn(e,s,e.length,o),e}function MY(e,t,r){let n=this,i=n.events.length,s,a;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){s=n.events[i][1];break}return o;function o(d){return s?s._inactive?p(d):(a=n.parser.defined.includes(ai(n.sliceSerialize({start:s.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),u):r(d)}function u(d){return d===40?e.attempt(PY,c,a?c:p)(d):d===91?e.attempt(IY,c,a?h:p)(d):a?c(d):p(d)}function h(d){return e.attempt(NY,c,p)(d)}function c(d){return t(d)}function p(d){return s._balanced=!0,r(d)}}function RY(e,t,r){return n;function n(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return Bt(p)?cp(e,s)(p):s(p)}function s(p){return p===41?c(p):lw(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function a(p){return Bt(p)?cp(e,u)(p):c(p)}function o(p){return r(p)}function u(p){return p===34||p===39||p===40?pw(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):c(p)}function h(p){return Bt(p)?cp(e,c)(p):c(p)}function c(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):r(p)}}function jY(e,t,r){let n=this;return i;function i(o){return cw.call(n,e,s,a,"reference","referenceMarker","referenceString")(o)}function s(o){return n.parser.defined.includes(ai(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function a(o){return r(o)}}function qY(e,t,r){return n;function n(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):r(s)}}var UY={name:"labelStartImage",resolveAll:Ug.resolveAll,tokenize:VY};function VY(e,t,r){let n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),s}function s(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):r(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var $Y={name:"labelStartLink",resolveAll:Ug.resolveAll,tokenize:zY};function zY(e,t,r){let n=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(a):t(a)}}var Fg={name:"lineEnding",tokenize:HY};function HY(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ft(e,t,"linePrefix")}}var Jm={name:"thematicBreak",tokenize:WY};function WY(e,t,r){let n=0,i;return s;function s(h){return e.enter("thematicBreak"),a(h)}function a(h){return i=h,o(h)}function o(h){return h===i?(e.enter("thematicBreakSequence"),u(h)):n>=3&&(h===null||Ge(h))?(e.exit("thematicBreak"),t(h)):r(h)}function u(h){return h===i?(e.consume(h),n++,u):(e.exit("thematicBreakSequence"),Dt(h)?Ft(e,o,"whitespace")(h):o(h))}}var pn={continuation:{tokenize:XY},exit:QY,name:"list",tokenize:KY},GY={partial:!0,tokenize:ZY},JY={partial:!0,tokenize:YY};function KY(e,t,r){let n=this,i=n.events[n.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(f){let D=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:Tg(f)){if(n.containerState.type||(n.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Jm,r,h)(f):h(f);if(!n.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(f)}return r(f)}function u(f){return Tg(f)&&++a<10?(e.consume(f),u):(!n.interrupt||a<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),h(f)):r(f)}function h(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,e.check(fp,n.interrupt?r:c,e.attempt(GY,d,p))}function c(f){return n.containerState.initialBlankLine=!0,s++,d(f)}function p(f){return Dt(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),d):r(f)}function d(f){return n.containerState.size=s+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function XY(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(fp,i,s);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ft(e,t,"listItemIndent",n.containerState.size+1)(o)}function s(o){return n.containerState.furtherBlankLines||!Dt(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,a(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(JY,t,a)(o))}function a(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ft(e,e.attempt(pn,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function YY(e,t,r){let n=this;return Ft(e,i,"listItemIndent",n.containerState.size+1);function i(s){let a=n.events[n.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===n.containerState.size?t(s):r(s)}}function QY(e){e.exit(this.containerState.type)}function ZY(e,t,r){let n=this;return Ft(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){let a=n.events[n.events.length-1];return!Dt(s)&&a&&a[1].type==="listItemPrefixWhitespace"?t(s):r(s)}}var dS={name:"setextUnderline",resolveTo:eQ,tokenize:tQ};function eQ(e,t){let r=e.length,n,i,s;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!s&&e[r][1].type==="definition"&&(s=r);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",a,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end={...e[s][1].end}):e[n][1]=a,e.push(["exit",a,t]),e}function tQ(e,t,r){let n=this,i;return s;function s(h){let c=n.events.length,p;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){p=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||p)?(e.enter("setextHeadingLine"),i=h,a(h)):r(h)}function a(h){return e.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(e.consume(h),o):(e.exit("setextHeadingLineSequence"),Dt(h)?Ft(e,u,"lineSuffix")(h):u(h))}function u(h){return h===null||Ge(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}var rQ={tokenize:nQ};function nQ(e){let t=this,r=e.attempt(fp,n,e.attempt(this.parser.constructs.flowInitial,i,Ft(e,e.attempt(this.parser.constructs.flow,i,e.attempt(uY,i)),"linePrefix")));return r;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var iQ={resolveAll:dw()},sQ=hw("string"),aQ=hw("text");function hw(e){return{resolveAll:dw(e==="text"?oQ:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],s=r.attempt(i,a,o);return a;function a(c){return h(c)?s(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),u}function u(c){return h(c)?(r.exit("data"),s(c)):(r.consume(c),u)}function h(c){if(c===null)return!0;let p=i[c],d=-1;if(p)for(;++d<p.length;){let f=p[d];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function dw(e){return t;function t(r,n){let i=-1,s;for(;++i<=r.length;)s===void 0?r[i]&&r[i][1].type==="data"&&(s=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==s+2&&(r[s][1].end=r[i-1][1].end,r.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(r,n):r}}function oQ(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),s=i.length,a=-1,o=0,u;for(;s--;){let h=i[s];if(typeof h=="string"){for(a=h.length;h.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(h===-2)u=!0,o++;else if(h!==-1){s++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){let h={type:r===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:n.start._bufferIndex+a,_index:n.start._index+s,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...h.start},n.start.offset===n.end.offset?Object.assign(n,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}var fw={};oD(fw,{attentionMarkers:()=>mQ,contentInitial:()=>lQ,disable:()=>DQ,document:()=>uQ,flow:()=>pQ,flowInitial:()=>cQ,insideSpan:()=>fQ,string:()=>hQ,text:()=>dQ});var uQ={42:pn,43:pn,45:pn,48:pn,49:pn,50:pn,51:pn,52:pn,53:pn,54:pn,55:pn,56:pn,57:pn,62:sw},lQ={91:dY},cQ={[-2]:Cg,[-1]:Cg,32:Cg},pQ={35:xY,42:Jm,45:[dS,Jm],60:AY,61:dS,95:Jm,96:pS,126:pS},hQ={38:ow,92:aw},dQ={[-5]:Fg,[-4]:Fg,[-3]:Fg,33:UY,38:ow,42:vg,60:[$X,_Y],91:$Y,92:[yY,aw],93:Ug,95:vg,96:rY},fQ={null:[vg,iQ]},mQ={null:[42,95]},DQ={null:[]};function yQ(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},s=[],a=[],o=[],u=!0,h={attempt:R(I),check:R(O),consume:P,enter:v,exit:w,interrupt:R(O,{interrupt:!0})},c={code:null,containerState:{},defineSkip:A,events:[],now:x,parser:e,previous:null,sliceSerialize:D,sliceStream:g,write:f},p=t.tokenize.call(c,h),d;return t.resolveAll&&s.push(t),c;function f(H){return a=Gn(a,H),C(),a[a.length-1]!==null?[]:(M(t,0),c.events=cD(s,c.events,c),c.events)}function D(H,Z){return xQ(g(H),Z)}function g(H){return gQ(a,H)}function x(){let{_bufferIndex:H,_index:Z,line:$,column:Y,offset:de}=n;return{_bufferIndex:H,_index:Z,line:$,column:Y,offset:de}}function A(H){i[H.line]=H.column,K()}function C(){let H;for(;n._index<a.length;){let Z=a[n._index];if(typeof Z=="string")for(H=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===H&&n._bufferIndex<Z.length;)k(Z.charCodeAt(n._bufferIndex));else k(Z)}}function k(H){u=void 0,d=H,p=p(H)}function P(H){Ge(H)?(n.line++,n.column=1,n.offset+=H===-3?2:1,K()):H!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=H,u=!0}function v(H,Z){let $=Z||{};return $.type=H,$.start=x(),c.events.push(["enter",$,c]),o.push($),$}function w(H){let Z=o.pop();return Z.end=x(),c.events.push(["exit",Z,c]),Z}function I(H,Z){M(H,Z.from)}function O(H,Z){Z.restore()}function R(H,Z){return $;function $(Y,de,Te){let ve,S,Me,Ae;return Array.isArray(Y)?pe(Y):"tokenize"in Y?pe([Y]):j(Y);function j(Q){return ne;function ne(we){let Be=we!==null&&Q[we],Le=we!==null&&Q.null,qe=[...Array.isArray(Be)?Be:Be?[Be]:[],...Array.isArray(Le)?Le:Le?[Le]:[]];return pe(qe)(we)}}function pe(Q){return ve=Q,S=0,Q.length===0?Te:Ie(Q[S])}function Ie(Q){return ne;function ne(we){return Ae=W(),Me=Q,Q.partial||(c.currentConstruct=Q),Q.name&&c.parser.constructs.disable.null.includes(Q.name)?ae(we):Q.tokenize.call(Z?Object.assign(Object.create(c),Z):c,h,xe,ae)(we)}}function xe(Q){return u=!0,H(Me,Ae),de}function ae(Q){return u=!0,Ae.restore(),++S<ve.length?Ie(ve[S]):Te}}}function M(H,Z){H.resolveAll&&!s.includes(H)&&s.push(H),H.resolve&&wn(c.events,Z,c.events.length-Z,H.resolve(c.events.slice(Z),c)),H.resolveTo&&(c.events=H.resolveTo(c.events,c))}function W(){let H=x(),Z=c.previous,$=c.currentConstruct,Y=c.events.length,de=Array.from(o);return{from:Y,restore:Te};function Te(){n=H,c.previous=Z,c.currentConstruct=$,c.events.length=Y,o=de,K()}}function K(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function gQ(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex,a;if(r===i)a=[e[r].slice(n,s)];else{if(a=e.slice(r,i),n>-1){let o=a[0];typeof o=="string"?a[0]=o.slice(n):a.shift()}s>0&&a.push(e[i].slice(0,s))}return a}function xQ(e,t){let r=-1,n=[],i;for(;++r<e.length;){let s=e[r],a;if(typeof s=="string")a=s;else switch(s){case-5:{a="\r";break}case-4:{a=`
- `;break}case-3:{a=`\r
- `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(s)}i=s===-2,n.push(a)}return n.join("")}function EQ(e){let t={constructs:nw([fw,...(e||{}).extensions||[]]),content:r(OX),defined:[],document:r(RX),flow:r(rQ),lazy:{},string:r(sQ),text:r(aQ)};return t;function r(n){return i;function i(s){return yQ(t,n,s)}}}function CQ(e){for(;!uw(e););return e}var fS=/[\0\t\n\r]/g;function FQ(){let e=1,t="",r=!0,n;return i;function i(s,a,o){let u=[],h,c,p,d,f;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(a||void 0).decode(s)),p=0,t="",r&&(s.charCodeAt(0)===65279&&p++,r=void 0);p<s.length;){if(fS.lastIndex=p,h=fS.exec(s),d=h&&h.index!==void 0?h.index:s.length,f=s.charCodeAt(d),!h){t=s.slice(p);break}if(f===10&&p===d&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),p<d&&(u.push(s.slice(p,d)),e+=d-p),f){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}p=d+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}var AQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bQ(e){return e.replace(AQ,kQ)}function kQ(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let n=r.charCodeAt(1),i=n===120||n===88;return iw(r.slice(i?2:1),i?16:10)}return qg(r)||e}function Km(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?mS(e.position):"start"in e||"end"in e?mS(e):"line"in e||"column"in e?Sg(e):""}function Sg(e){return DS(e&&e.line)+":"+DS(e&&e.column)}function mS(e){return Sg(e&&e.start)+"-"+Sg(e&&e.end)}function DS(e){return e&&typeof e=="number"?e:1}var mw={}.hasOwnProperty;function TQ(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),vQ(r)(CQ(EQ(r).document().write(FQ()(e,t,!0))))}function vQ(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(rt),autolinkProtocol:R,autolinkEmail:R,atxHeading:s(et),blockQuote:s(we),characterEscape:R,characterReference:R,codeFenced:s(Be),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(Be,a),codeText:s(Le,a),codeTextData:R,data:R,codeFlowValue:R,definition:s(qe),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(ut),hardBreakEscape:s(Nt),hardBreakTrailing:s(Nt),htmlFlow:s(vt,a),htmlFlowData:R,htmlText:s(vt,a),htmlTextData:R,image:s(tt),label:a,link:s(rt),listItem:s(sr),listItemValue:d,listOrdered:s(Mt,p),listUnordered:s(Mt),paragraph:s($t),reference:j,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(et),strong:s(Pt),thematicBreak:s(er)},exit:{atxHeading:u(),atxHeadingSequence:v,autolink:u(),autolinkEmail:ne,autolinkProtocol:Q,blockQuote:u(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:Ie,characterReferenceMarkerNumeric:Ie,characterReferenceValue:xe,characterReference:ae,codeFenced:u(x),codeFencedFence:g,codeFencedFenceInfo:f,codeFencedFenceMeta:D,codeFlowValue:M,codeIndented:u(A),codeText:u($),codeTextData:M,data:M,definition:u(),definitionDestinationString:P,definitionLabelString:C,definitionTitleString:k,emphasis:u(),hardBreakEscape:u(K),hardBreakTrailing:u(K),htmlFlow:u(H),htmlFlowData:M,htmlText:u(Z),htmlTextData:M,image:u(de),label:ve,labelText:Te,lineEnding:W,link:u(Y),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:pe,resourceDestinationString:S,resourceTitleString:Me,resource:Ae,setextHeading:u(O),setextHeadingLineSequence:I,setextHeadingText:w,strong:u(),thematicBreak:u()}};Dw(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(he){let Fe={type:"root",children:[]},Qe={stack:[Fe],tokenStack:[],config:t,enter:o,exit:h,buffer:a,resume:c,data:r},lt=[],ct=-1;for(;++ct<he.length;)if(he[ct][1].type==="listOrdered"||he[ct][1].type==="listUnordered")if(he[ct][0]==="enter")lt.push(ct);else{let Rt=lt.pop();ct=i(he,Rt,ct)}for(ct=-1;++ct<he.length;){let Rt=t[he[ct][0]];mw.call(Rt,he[ct][1].type)&&Rt[he[ct][1].type].call(Object.assign({sliceSerialize:he[ct][2].sliceSerialize},Qe),he[ct][1])}if(Qe.tokenStack.length>0){let Rt=Qe.tokenStack[Qe.tokenStack.length-1];(Rt[1]||yS).call(Qe,void 0,Rt[0])}for(Fe.position={start:Qs(he.length>0?he[0][1].start:{line:1,column:1,offset:0}),end:Qs(he.length>0?he[he.length-2][1].end:{line:1,column:1,offset:0})},ct=-1;++ct<t.transforms.length;)Fe=t.transforms[ct](Fe)||Fe;return Fe}function i(he,Fe,Qe){let lt=Fe-1,ct=-1,Rt=!1,Mr,kr,Dr,Tr;for(;++lt<=Qe;){let wt=he[lt];switch(wt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{wt[0]==="enter"?ct++:ct--,Tr=void 0;break}case"lineEndingBlank":{wt[0]==="enter"&&(Mr&&!Tr&&!ct&&!Dr&&(Dr=lt),Tr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Tr=void 0}if(!ct&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||ct===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(Mr){let Yt=lt;for(kr=void 0;Yt--;){let Rr=he[Yt];if(Rr[1].type==="lineEnding"||Rr[1].type==="lineEndingBlank"){if(Rr[0]==="exit")continue;kr&&(he[kr][1].type="lineEndingBlank",Rt=!0),Rr[1].type="lineEnding",kr=Yt}else if(!(Rr[1].type==="linePrefix"||Rr[1].type==="blockQuotePrefix"||Rr[1].type==="blockQuotePrefixWhitespace"||Rr[1].type==="blockQuoteMarker"||Rr[1].type==="listItemIndent"))break}Dr&&(!kr||Dr<kr)&&(Mr._spread=!0),Mr.end=Object.assign({},kr?he[kr][1].start:wt[1].end),he.splice(kr||lt,0,["exit",Mr,wt[2]]),lt++,Qe++}if(wt[1].type==="listItemPrefix"){let Yt={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start),end:void 0};Mr=Yt,he.splice(lt,0,["enter",Yt,wt[2]]),lt++,Qe++,Dr=void 0,Tr=!0}}}return he[Fe][1]._spread=Rt,Qe}function s(he,Fe){return Qe;function Qe(lt){o.call(this,he(lt),lt),Fe&&Fe.call(this,lt)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(he,Fe,Qe){this.stack[this.stack.length-1].children.push(he),this.stack.push(he),this.tokenStack.push([Fe,Qe||void 0]),he.position={start:Qs(Fe.start),end:void 0}}function u(he){return Fe;function Fe(Qe){he&&he.call(this,Qe),h.call(this,Qe)}}function h(he,Fe){let Qe=this.stack.pop(),lt=this.tokenStack.pop();if(lt)lt[0].type!==he.type&&(Fe?Fe.call(this,he,lt[0]):(lt[1]||yS).call(this,he,lt[0]));else throw new Error("Cannot close `"+he.type+"` ("+Km({start:he.start,end:he.end})+"): it\u2019s not open");Qe.position.end=Qs(he.end)}function c(){return SX(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function d(he){if(this.data.expectingFirstListItemValue){let Fe=this.stack[this.stack.length-2];Fe.start=Number.parseInt(this.sliceSerialize(he),10),this.data.expectingFirstListItemValue=void 0}}function f(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.lang=he}function D(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.meta=he}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.value=he.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.value=he.replace(/(\r?\n|\r)$/g,"")}function C(he){let Fe=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Fe,Qe.identifier=ai(this.sliceSerialize(he)).toLowerCase()}function k(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.title=he}function P(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.url=he}function v(he){let Fe=this.stack[this.stack.length-1];if(!Fe.depth){let Qe=this.sliceSerialize(he).length;Fe.depth=Qe}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function I(he){let Fe=this.stack[this.stack.length-1];Fe.depth=this.sliceSerialize(he).codePointAt(0)===61?1:2}function O(){this.data.setextHeadingSlurpLineEnding=void 0}function R(he){let Fe=this.stack[this.stack.length-1].children,Qe=Fe[Fe.length-1];(!Qe||Qe.type!=="text")&&(Qe=Ut(),Qe.position={start:Qs(he.start),end:void 0},Fe.push(Qe)),this.stack.push(Qe)}function M(he){let Fe=this.stack.pop();Fe.value+=this.sliceSerialize(he),Fe.position.end=Qs(he.end)}function W(he){let Fe=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Qe=Fe.children[Fe.children.length-1];Qe.position.end=Qs(he.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Fe.type)&&(R.call(this,he),M.call(this,he))}function K(){this.data.atHardBreak=!0}function H(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.value=he}function Z(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.value=he}function $(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.value=he}function Y(){let he=this.stack[this.stack.length-1];if(this.data.inReference){let Fe=this.data.referenceType||"shortcut";he.type+="Reference",he.referenceType=Fe,delete he.url,delete he.title}else delete he.identifier,delete he.label;this.data.referenceType=void 0}function de(){let he=this.stack[this.stack.length-1];if(this.data.inReference){let Fe=this.data.referenceType||"shortcut";he.type+="Reference",he.referenceType=Fe,delete he.url,delete he.title}else delete he.identifier,delete he.label;this.data.referenceType=void 0}function Te(he){let Fe=this.sliceSerialize(he),Qe=this.stack[this.stack.length-2];Qe.label=bQ(Fe),Qe.identifier=ai(Fe).toLowerCase()}function ve(){let he=this.stack[this.stack.length-1],Fe=this.resume(),Qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Qe.type==="link"){let lt=he.children;Qe.children=lt}else Qe.alt=Fe}function S(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.url=he}function Me(){let he=this.resume(),Fe=this.stack[this.stack.length-1];Fe.title=he}function Ae(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function pe(he){let Fe=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Fe,Qe.identifier=ai(this.sliceSerialize(he)).toLowerCase(),this.data.referenceType="full"}function Ie(he){this.data.characterReferenceType=he.type}function xe(he){let Fe=this.sliceSerialize(he),Qe=this.data.characterReferenceType,lt;Qe?(lt=iw(Fe,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):lt=qg(Fe);let ct=this.stack[this.stack.length-1];ct.value+=lt}function ae(he){let Fe=this.stack.pop();Fe.position.end=Qs(he.end)}function Q(he){M.call(this,he);let Fe=this.stack[this.stack.length-1];Fe.url=this.sliceSerialize(he)}function ne(he){M.call(this,he);let Fe=this.stack[this.stack.length-1];Fe.url="mailto:"+this.sliceSerialize(he)}function we(){return{type:"blockquote",children:[]}}function Be(){return{type:"code",lang:null,meta:null,value:""}}function Le(){return{type:"inlineCode",value:""}}function qe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ut(){return{type:"emphasis",children:[]}}function et(){return{type:"heading",depth:0,children:[]}}function Nt(){return{type:"break"}}function vt(){return{type:"html",value:""}}function tt(){return{type:"image",title:null,url:"",alt:null}}function rt(){return{type:"link",title:null,url:"",children:[]}}function Mt(he){return{type:"list",ordered:he.type==="listOrdered",start:null,spread:he._spread,children:[]}}function sr(he){return{type:"listItem",spread:he._spread,checked:null,children:[]}}function $t(){return{type:"paragraph",children:[]}}function Pt(){return{type:"strong",children:[]}}function Ut(){return{type:"text",value:""}}function er(){return{type:"thematicBreak"}}}function Qs(e){return{line:e.line,column:e.column,offset:e.offset}}function Dw(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?Dw(e,n):SQ(e,n)}}function SQ(e,t){let r;for(r in t)if(mw.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function yS(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Km({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Km({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Km({start:t.start,end:t.end})+") is still open")}function wQ(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:a,mathTextData:o}};function e(u){let h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},u)}function t(){this.buffer()}function r(){let u=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){let h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=h;let p=c.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function s(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function a(u){let h=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=h,c.data.hChildren.push({type:"text",value:h})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}var _Q={tokenize:OQ,partial:!0},yw={tokenize:MQ,partial:!0},gw={tokenize:RQ,partial:!0},xw={tokenize:jQ,partial:!0},BQ={tokenize:qQ,partial:!0},Ew={name:"wwwAutolink",tokenize:NQ,previous:Fw},Cw={name:"protocolAutolink",tokenize:LQ,previous:Aw},ms={name:"emailAutolink",tokenize:IQ,previous:bw},Oi={};function PQ(){return{text:Oi}}var to=48;for(;to<123;)Oi[to]=ms,to++,to===58?to=65:to===91&&(to=97);Oi[43]=ms;Oi[45]=ms;Oi[46]=ms;Oi[95]=ms;Oi[72]=[ms,Cw];Oi[104]=[ms,Cw];Oi[87]=[ms,Ew];Oi[119]=[ms,Ew];function IQ(e,t,r){let n=this,i,s;return a;function a(p){return!wg(p)||!bw.call(n,n.previous)||Vg(n.events)?r(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(p))}function o(p){return wg(p)?(e.consume(p),o):p===64?(e.consume(p),u):r(p)}function u(p){return p===46?e.check(BQ,c,h)(p):p===45||p===95||Or(p)?(s=!0,e.consume(p),u):c(p)}function h(p){return e.consume(p),i=!0,u}function c(p){return s&&i&&mr(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):r(p)}}function NQ(e,t,r){let n=this;return i;function i(a){return a!==87&&a!==119||!Fw.call(n,n.previous)||Vg(n.events)?r(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_Q,e.attempt(yw,e.attempt(gw,s),r),r)(a))}function s(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function LQ(e,t,r){let n=this,i="",s=!1;return a;function a(p){return(p===72||p===104)&&Aw.call(n,n.previous)&&!Vg(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(p),e.consume(p),o):r(p)}function o(p){if(mr(p)&&i.length<5)return i+=String.fromCodePoint(p),e.consume(p),o;if(p===58){let d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(p),u}return r(p)}function u(p){return p===47?(e.consume(p),s?h:(s=!0,u)):r(p)}function h(p){return p===null||eD(p)||Bt(p)||so(p)||lD(p)?r(p):e.attempt(yw,e.attempt(gw,c),r)(p)}function c(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function OQ(e,t,r){let n=0;return i;function i(a){return(a===87||a===119)&&n<3?(n++,e.consume(a),i):a===46&&n===3?(e.consume(a),s):r(a)}function s(a){return a===null?r(a):t(a)}}function MQ(e,t,r){let n,i,s;return a;function a(h){return h===46||h===95?e.check(xw,u,o)(h):h===null||Bt(h)||so(h)||h!==45&&lD(h)?u(h):(s=!0,e.consume(h),a)}function o(h){return h===95?n=!0:(i=n,n=void 0),e.consume(h),a}function u(h){return i||n||!s?r(h):t(h)}}function RQ(e,t){let r=0,n=0;return i;function i(a){return a===40?(r++,e.consume(a),i):a===41&&n<r?s(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(xw,t,s)(a):a===null||Bt(a)||so(a)?t(a):(e.consume(a),i)}function s(a){return a===41&&n++,e.consume(a),i}}function jQ(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),s):o===93?(e.consume(o),i):o===60||o===null||Bt(o)||so(o)?t(o):r(o)}function i(o){return o===null||o===40||o===91||Bt(o)||so(o)?t(o):n(o)}function s(o){return mr(o)?a(o):r(o)}function a(o){return o===59?(e.consume(o),n):mr(o)?(e.consume(o),a):r(o)}}function qQ(e,t,r){return n;function n(s){return e.consume(s),i}function i(s){return Or(s)?r(s):t(s)}}function Fw(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Bt(e)}function Aw(e){return!mr(e)}function bw(e){return!(e===47||wg(e))}function wg(e){return e===43||e===45||e===46||e===95||Or(e)}function Vg(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var UQ={tokenize:KQ,partial:!0};function VQ(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:WQ,continuation:{tokenize:GQ},exit:JQ}},text:{91:{name:"gfmFootnoteCall",tokenize:HQ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:$Q,resolveTo:zQ}}}}function $Q(e,t,r){let n=this,i=n.events.length,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a;for(;i--;){let u=n.events[i][1];if(u.type==="labelImage"){a=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!a||!a._balanced)return r(u);let h=ai(n.sliceSerialize({start:a.end,end:n.now()}));return h.codePointAt(0)!==94||!s.includes(h.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function zQ(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",s,t],["exit",s,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...u),e}function HQ(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s=0,a;return o;function o(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),u}function u(p){return p!==94?r(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(s>999||p===93&&!a||p===null||p===91||Bt(p))return r(p);if(p===93){e.exit("chunkString");let d=e.exit("gfmFootnoteCallString");return i.includes(ai(n.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(p)}return Bt(p)||(a=!0),s++,e.consume(p),p===92?c:h}function c(p){return p===91||p===92||p===93?(e.consume(p),s++,h):h(p)}}function WQ(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s,a=0,o;return u;function u(D){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(D){return D===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(D)}function c(D){if(a>999||D===93&&!o||D===null||D===91||Bt(D))return r(D);if(D===93){e.exit("chunkString");let g=e.exit("gfmFootnoteDefinitionLabelString");return s=ai(n.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Bt(D)||(o=!0),a++,e.consume(D),D===92?p:c}function p(D){return D===91||D===92||D===93?(e.consume(D),a++,c):c(D)}function d(D){return D===58?(e.enter("definitionMarker"),e.consume(D),e.exit("definitionMarker"),i.includes(s)||i.push(s),Ft(e,f,"gfmFootnoteDefinitionWhitespace")):r(D)}function f(D){return t(D)}}function GQ(e,t,r){return e.check(fp,t,e.attempt(UQ,t,r))}function JQ(e){e.exit("gfmFootnoteDefinition")}function KQ(e,t,r){let n=this;return Ft(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){let a=n.events[n.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(s):r(s)}}function XQ(e){let t=(e||{}).singleTilde,r={name:"strikethrough",tokenize:i,resolveAll:n};return t==null&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(s,a){let o=-1;for(;++o<s.length;)if(s[o][0]==="enter"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._close){let u=o;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[o][1].end.offset-s[o][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[o][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";let h={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[o][1].end)},c={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[o][1].start)},p=[["enter",h,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",c,a]],d=a.parser.constructs.insideSpan.null;d&&wn(p,p.length,0,cD(d,s.slice(u+1,o),a)),wn(p,p.length,0,[["exit",c,a],["enter",s[o][1],a],["exit",s[o][1],a],["exit",h,a]]),wn(s,u-1,o-u+3,p),o=u+p.length-2;break}}for(o=-1;++o<s.length;)s[o][1].type==="strikethroughSequenceTemporary"&&(s[o][1].type="data");return s}function i(s,a,o){let u=this.previous,h=this.events,c=0;return p;function p(f){return u===126&&h[h.length-1][1].type!=="characterEscape"?o(f):(s.enter("strikethroughSequenceTemporary"),d(f))}function d(f){let D=tD(u);if(f===126)return c>1?o(f):(s.consume(f),c++,d);if(c<2&&!t)return o(f);let g=s.exit("strikethroughSequenceTemporary"),x=tD(f);return g._open=!x||x===2&&!!D,g._close=!D||D===2&&!!x,a(f)}}}var YQ=class{constructor(){this.map=[]}add(e,t,r){QQ(this,e,t,r)}consume(e){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push(e.slice()),e.length=0;let n=r.pop();for(;n;){for(let i of n)e.push(i);n=r.pop()}this.map.length=0}};function QQ(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function ZQ(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let s=n.length-1;n[s]=n[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function eZ(){return{flow:{null:{name:"table",tokenize:tZ,resolveAll:rZ}}}}function tZ(e,t,r){let n=this,i=0,s=0,a;return o;function o(M){let W=n.events.length-1;for(;W>-1;){let Z=n.events[W][1].type;if(Z==="lineEnding"||Z==="linePrefix")W--;else break}let K=W>-1?n.events[W][1].type:null,H=K==="tableHead"||K==="tableRow"?w:u;return H===w&&n.parser.lazy[n.now().line]?r(M):H(M)}function u(M){return e.enter("tableHead"),e.enter("tableRow"),h(M)}function h(M){return M===124||(a=!0,s+=1),c(M)}function c(M){return M===null?r(M):Ge(M)?s>1?(s=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),f):r(M):Dt(M)?Ft(e,c,"whitespace")(M):(s+=1,a&&(a=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),a=!0,c):(e.enter("data"),p(M)))}function p(M){return M===null||M===124||Bt(M)?(e.exit("data"),c(M)):(e.consume(M),M===92?d:p)}function d(M){return M===92||M===124?(e.consume(M),p):p(M)}function f(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),a=!1,Dt(M)?Ft(e,D,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):D(M))}function D(M){return M===45||M===58?x(M):M===124?(a=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),g):v(M)}function g(M){return Dt(M)?Ft(e,x,"whitespace")(M):x(M)}function x(M){return M===58?(s+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),A):M===45?(s+=1,A(M)):M===null||Ge(M)?P(M):v(M)}function A(M){return M===45?(e.enter("tableDelimiterFiller"),C(M)):v(M)}function C(M){return M===45?(e.consume(M),C):M===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(M))}function k(M){return Dt(M)?Ft(e,P,"whitespace")(M):P(M)}function P(M){return M===124?D(M):M===null||Ge(M)?!a||i!==s?v(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):v(M)}function v(M){return r(M)}function w(M){return e.enter("tableRow"),I(M)}function I(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),I):M===null||Ge(M)?(e.exit("tableRow"),t(M)):Dt(M)?Ft(e,I,"whitespace")(M):(e.enter("data"),O(M))}function O(M){return M===null||M===124||Bt(M)?(e.exit("data"),I(M)):(e.consume(M),M===92?R:O)}function R(M){return M===92||M===124?(e.consume(M),O):O(M)}}function rZ(e,t){let r=-1,n=!0,i=0,s=[0,0,0,0],a=[0,0,0,0],o=!1,u=0,h,c,p,d=new YQ;for(;++r<e.length;){let f=e[r],D=f[1];f[0]==="enter"?D.type==="tableHead"?(o=!1,u!==0&&(gS(d,t,u,h,c),c=void 0,u=0),h={type:"table",start:Object.assign({},D.start),end:Object.assign({},D.end)},d.add(r,0,[["enter",h,t]])):D.type==="tableRow"||D.type==="tableDelimiterRow"?(n=!0,p=void 0,s=[0,0,0,0],a=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},D.start),end:Object.assign({},D.end)},d.add(r,0,[["enter",c,t]])),i=D.type==="tableDelimiterRow"?2:c?3:1):i&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")?(n=!1,a[2]===0&&(s[1]!==0&&(a[0]=a[1],p=zm(d,t,s,i,void 0,p),s=[0,0,0,0]),a[2]=r)):D.type==="tableCellDivider"&&(n?n=!1:(s[1]!==0&&(a[0]=a[1],p=zm(d,t,s,i,void 0,p)),s=a,a=[s[1],r,0,0])):D.type==="tableHead"?(o=!0,u=r):D.type==="tableRow"||D.type==="tableDelimiterRow"?(u=r,s[1]!==0?(a[0]=a[1],p=zm(d,t,s,i,r,p)):a[1]!==0&&(p=zm(d,t,a,i,r,p)),i=0):i&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(a[3]=r)}for(u!==0&&gS(d,t,u,h,c),d.consume(t.events),r=-1;++r<t.events.length;){let f=t.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=ZQ(t.events,r))}return e}function zm(e,t,r,n,i,s){let a=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(s.end=Object.assign({},Eu(t.events,r[0])),e.add(r[0],0,[["exit",s,t]]));let u=Eu(t.events,r[1]);if(s={type:a,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",s,t]]),r[2]!==0){let h=Eu(t.events,r[2]),c=Eu(t.events,r[3]),p={type:o,start:Object.assign({},h),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",p,t]]),n!==2){let d=t.events[r[2]],f=t.events[r[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){let D=r[2]+1,g=r[3]-r[2]-1;e.add(D,g,[])}}e.add(r[3]+1,0,[["exit",p,t]])}return i!==void 0&&(s.end=Object.assign({},Eu(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function gS(e,t,r,n,i){let s=[],a=Eu(t.events,r);i&&(i.end=Object.assign({},a),s.push(["exit",i,t])),n.end=Object.assign({},a),s.push(["exit",n,t]),e.add(r+1,0,s)}function Eu(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var nZ={name:"tasklistCheck",tokenize:sZ};function iZ(){return{text:{91:nZ}}}function sZ(e,t,r){let n=this;return i;function i(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),s)}function s(u){return Bt(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),a):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),a):r(u)}function a(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(u)}function o(u){return Ge(u)?t(u):Dt(u)?e.check({tokenize:aZ},t,r)(u):r(u)}}function aZ(e,t,r){return Ft(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function oZ(e){return nw([PQ(),VQ(),XQ(e),eZ(),iZ()])}var uZ={tokenize:lZ,concrete:!0,name:"mathFlow"},xS={tokenize:cZ,partial:!0};function lZ(e,t,r){let n=this,i=n.events[n.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(C)}function u(C){return C===36?(e.consume(C),a++,u):a<2?r(C):(e.exit("mathFlowFenceSequence"),Ft(e,h,"whitespace")(C))}function h(C){return C===null||Ge(C)?p(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(C))}function c(C){return C===null||Ge(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(C)):C===36?r(C):(e.consume(C),c)}function p(C){return e.exit("mathFlowFence"),n.interrupt?t(C):e.attempt(xS,d,x)(C)}function d(C){return e.attempt({tokenize:A,partial:!0},x,f)(C)}function f(C){return(s?Ft(e,D,"linePrefix",s+1):D)(C)}function D(C){return C===null?x(C):Ge(C)?e.attempt(xS,d,x)(C):(e.enter("mathFlowValue"),g(C))}function g(C){return C===null||Ge(C)?(e.exit("mathFlowValue"),D(C)):(e.consume(C),g)}function x(C){return e.exit("mathFlow"),t(C)}function A(C,k,P){let v=0;return Ft(C,w,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function w(R){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),I(R)}function I(R){return R===36?(v++,C.consume(R),I):v<a?P(R):(C.exit("mathFlowFenceSequence"),Ft(C,O,"whitespace")(R))}function O(R){return R===null||Ge(R)?(C.exit("mathFlowFence"),k(R)):P(R)}}}function cZ(e,t,r){let n=this;return i;function i(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s)}function s(a){return n.parser.lazy[n.now().line]?r(a):t(a)}}function pZ(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),{tokenize:r,resolve:hZ,previous:dZ,name:"mathText"};function r(n,i,s){let a=this,o=0,u,h;return c;function c(g){return n.enter("mathText"),n.enter("mathTextSequence"),p(g)}function p(g){return g===36?(n.consume(g),o++,p):o<2&&!t?s(g):(n.exit("mathTextSequence"),d(g))}function d(g){return g===null?s(g):g===36?(h=n.enter("mathTextSequence"),u=0,D(g)):g===32?(n.enter("space"),n.consume(g),n.exit("space"),d):Ge(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),d):(n.enter("mathTextData"),f(g))}function f(g){return g===null||g===32||g===36||Ge(g)?(n.exit("mathTextData"),d(g)):(n.consume(g),f)}function D(g){return g===36?(n.consume(g),u++,D):u===o?(n.exit("mathTextSequence"),n.exit("mathText"),i(g)):(h.type="mathTextData",f(g))}}}function hZ(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function dZ(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function fZ(e){return{flow:{36:uZ},text:{36:pZ(e)}}}var $g=(e,t)=>(r,n,...i)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,i);function mZ(e){return this[e<0?this.length+e:e]}var DZ=$g("at",function(){if(Array.isArray(this)||typeof this=="string")return mZ}),Yr=DZ,yZ=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},gZ=$g("replaceAll",function(){if(typeof this=="string")return yZ}),br=gZ,xZ=()=>{},pD=xZ;function EZ(e){return br(0,e,/[^\n]/g," ")}var CZ=EZ,kw=Symbol.for("PRETTIER_IS_FRONT_MATTER"),op=3;function FZ(e){let t=e.slice(0,op);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
- `,op);if(r===-1)return;let n=e.slice(op,r).trim(),i=e.indexOf(`
- ${t}`,r),s=n;if(s||(s=t==="+++"?"toml":"yaml"),i===-1&&t==="---"&&s==="yaml"&&(i=e.indexOf(`
- ...`,r)),i===-1)return;let a=i+1+op,o=e.charAt(a+1);if(!/\s?/.test(o))return;let u=e.slice(0,a),h;return{language:s,explicitLanguage:n||null,value:e.slice(r+1,i),startDelimiter:t,endDelimiter:u.slice(-op),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return h??(h=u.split(`
- `)),h.length},get column(){return h??(h=u.split(`
- `)),Yr(0,h,-1).length}},[kw]:!0}}function AZ(e){let t=FZ(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return CZ(r)+e.slice(r.length)}}:{content:e}}var mp=AZ;function ES(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}function Dp(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var zg=(function(e){if(e==null)return vZ;if(typeof e=="function")return hD(e);if(typeof e=="object")return Array.isArray(e)?bZ(e):kZ(e);if(typeof e=="string")return TZ(e);throw new Error("Expected function, string, or object as test")});function bZ(e){let t=[],r=-1;for(;++r<e.length;)t[r]=zg(e[r]);return hD(n);function n(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}function kZ(e){let t=e;return hD(r);function r(n){let i=n,s;for(s in e)if(i[s]!==t[s])return!1;return!0}}function TZ(e){return hD(t);function t(r){return r&&r.type===e}}function hD(e){return t;function t(r,n,i){return!!(SZ(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function vZ(){return!0}function SZ(e){return e!==null&&typeof e=="object"&&"type"in e}var Tw=[],wZ=!0,CS=!1,_Z="skip";function BZ(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let s=zg(i),a=n?-1:1;o(e,void 0,[])();function o(u,h,c){let p=u&&typeof u=="object"?u:{};if(typeof p.type=="string"){let f=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(u.type+(f?"<"+f+">":""))+")"})}return d;function d(){let f=Tw,D,g,x;if((!t||s(u,h,c[c.length-1]||void 0))&&(f=PZ(r(u,c)),f[0]===CS))return f;if("children"in u&&u.children){let A=u;if(A.children&&f[0]!==_Z)for(g=(n?A.children.length:-1)+a,x=c.concat(A);g>-1&&g<A.children.length;){let C=A.children[g];if(D=o(C,g,x)(),D[0]===CS)return D;g=typeof D[1]=="number"?D[1]:g+a}}return f}}}function PZ(e){return Array.isArray(e)?e:typeof e=="number"?[wZ,e]:e==null?Tw:[e]}function IZ(e,t,r){let n=zg((r||{}).ignore||[]),i=NZ(t),s=-1;for(;++s<i.length;)BZ(e,"text",a);function a(u,h){let c=-1,p;for(;++c<h.length;){let d=h[c],f=p?p.children:void 0;if(n(d,f?f.indexOf(d):void 0,p))return;p=d}if(p)return o(u,h)}function o(u,h){let c=h[h.length-1],p=i[s][0],d=i[s][1],f=0,D=c.children.indexOf(u),g=!1,x=[];p.lastIndex=0;let A=p.exec(u.value);for(;A;){let C=A.index,k={index:A.index,input:A.input,stack:[...h,u]},P=d(...A,k);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?p.lastIndex=C+1:(f!==C&&x.push({type:"text",value:u.value.slice(f,C)}),Array.isArray(P)?x.push(...P):P&&x.push(P),f=C+A[0].length,g=!0),!p.global)break;A=p.exec(u.value)}return g?(f<u.value.length&&x.push({type:"text",value:u.value.slice(f)}),c.children.splice(D,1,...x)):x=[u],D+x.length}}function NZ(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let i=r[n];t.push([LZ(i[0]),OZ(i[1])])}return t}function LZ(e){return typeof e=="string"?new RegExp(Dp(e),"g"):e}function OZ(e){return typeof e=="function"?e:function(){return e}}function MZ(){return{transforms:[$Z],enter:{literalAutolink:RZ,literalAutolinkEmail:Ag,literalAutolinkHttp:Ag,literalAutolinkWww:Ag},exit:{literalAutolink:VZ,literalAutolinkEmail:UZ,literalAutolinkHttp:jZ,literalAutolinkWww:qZ}}}function RZ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ag(e){this.config.enter.autolinkProtocol.call(this,e)}function jZ(e){this.config.exit.autolinkProtocol.call(this,e)}function qZ(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function UZ(e){this.config.exit.autolinkEmail.call(this,e)}function VZ(e){this.exit(e)}function $Z(e){IZ(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zZ],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,HZ]],{ignore:["link","linkReference"]})}function zZ(e,t,r,n,i){let s="";if(!vw(i)||(/^w/i.test(t)&&(r=t+r,t="",s="http://"),!WZ(r)))return!1;let a=GZ(r+n);if(!a[0])return!1;let o={type:"link",title:null,url:s+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function HZ(e,t,r,n){return!vw(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function WZ(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function GZ(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=ES(e,"("),s=ES(e,")");for(;n!==-1&&i>s;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),s++;return[e,r]}function vw(e,t){let r=e.input.charCodeAt(e.index-1);return(e.index===0||so(r)||lD(r))&&(!t||r!==47)}nee.peek=ree;function JZ(){this.buffer()}function KZ(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function XZ(){this.buffer()}function YZ(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function QZ(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ai(this.sliceSerialize(e)).toLowerCase(),r.label=t}function ZZ(e){this.exit(e)}function eee(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ai(this.sliceSerialize(e)).toLowerCase(),r.label=t}function tee(e){this.exit(e)}function ree(){return"["}function nee(e,t,r,n){let i=r.createTracker(n),s=i.move("[^"),a=r.enter("footnoteReference"),o=r.enter("reference");return s+=i.move(r.safe(r.associationId(e),{after:"]",before:s})),o(),a(),s+=i.move("]"),s}function iee(){return{enter:{gfmFootnoteCallString:JZ,gfmFootnoteCall:KZ,gfmFootnoteDefinitionLabelString:XZ,gfmFootnoteDefinition:YZ},exit:{gfmFootnoteCallString:QZ,gfmFootnoteCall:ZZ,gfmFootnoteDefinitionLabelString:eee,gfmFootnoteDefinition:tee}}}uee.peek=lee;function see(){return{canContainEols:["delete"],enter:{strikethrough:aee},exit:{strikethrough:oee}}}function aee(e){this.enter({type:"delete",children:[]},e)}function oee(e){this.exit(e)}function uee(e,t,r,n){let i=r.createTracker(n),s=r.enter("strikethrough"),a=i.move("~~");return a+=r.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),s(),a}function lee(){return"~"}function cee(){return{enter:{table:pee,tableData:FS,tableHeader:FS,tableRow:dee},exit:{codeText:fee,table:hee,tableData:bg,tableHeader:bg,tableRow:bg}}}function pee(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function hee(e){this.exit(e),this.data.inTable=void 0}function dee(e){this.enter({type:"tableRow",children:[]},e)}function bg(e){this.exit(e)}function FS(e){this.enter({type:"tableCell",children:[]},e)}function fee(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,mee));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function mee(e,t){return t==="|"?t:e}function Dee(){return{exit:{taskListCheckValueChecked:AS,taskListCheckValueUnchecked:AS,paragraph:yee}}}function AS(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function yee(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,s=-1,a;for(;++s<i.length;){let o=i[s];if(o.type==="paragraph"){a=o;break}}a===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function gee(){return[MZ(),iee(),see(),cee(),Dee()]}function xee(){let e=gee(),t=e.find(r=>r.enter.literalAutolink);return t.transforms=[],e}var Ye={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},Eee={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},fr={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},Cee={name:"htmlText",tokenize:Fee,add:"before"};function Fee(e,t,r){let n=this,i,s,a;return o;function o(S){return Hm(S===Ye.lessThan,"expected `<`"),e.enter(fr.htmlText),e.enter(fr.htmlTextData),e.consume(S),u}function u(S){return S===Ye.exclamationMark?(e.consume(S),h):S===Ye.slash?(e.consume(S),v):S===Ye.questionMark?(e.consume(S),k):mr(S)?(e.consume(S),O):r(S)}function h(S){return S===Ye.dash?(e.consume(S),c):S===Ye.leftSquareBracket?(e.consume(S),s=0,D):mr(S)?(e.consume(S),C):r(S)}function c(S){return S===Ye.dash?(e.consume(S),f):r(S)}function p(S){return S===Ye.eof?r(S):S===Ye.dash?(e.consume(S),d):Ge(S)?(a=p,de(S)):(e.consume(S),p)}function d(S){return S===Ye.dash?(e.consume(S),f):p(S)}function f(S){return S===Ye.greaterThan?Y(S):S===Ye.dash?d(S):p(S)}function D(S){let Me=Eee.cdataOpeningString;return S===Me.charCodeAt(s++)?(e.consume(S),s===Me.length?g:D):r(S)}function g(S){return S===Ye.eof?r(S):S===Ye.rightSquareBracket?(e.consume(S),x):Ge(S)?(a=g,de(S)):(e.consume(S),g)}function x(S){return S===Ye.rightSquareBracket?(e.consume(S),A):g(S)}function A(S){return S===Ye.greaterThan?Y(S):S===Ye.rightSquareBracket?(e.consume(S),A):g(S)}function C(S){return S===Ye.eof||S===Ye.greaterThan?Y(S):Ge(S)?(a=C,de(S)):(e.consume(S),C)}function k(S){return S===Ye.eof?r(S):S===Ye.questionMark?(e.consume(S),P):Ge(S)?(a=k,de(S)):(e.consume(S),k)}function P(S){return S===Ye.greaterThan?Y(S):k(S)}function v(S){return mr(S)?(e.consume(S),w):r(S)}function w(S){return S===Ye.dash||Or(S)?(e.consume(S),w):I(S)}function I(S){return Ge(S)?(a=I,de(S)):Dt(S)?(e.consume(S),I):Y(S)}function O(S){return S===Ye.dash||Or(S)?(e.consume(S),O):S===Ye.slash||S===Ye.greaterThan||Bt(S)?R(S):r(S)}function R(S){return S===Ye.slash?(e.consume(S),Y):S===Ye.colon||S===Ye.underscore||mr(S)?(e.consume(S),M):Ge(S)?(a=R,de(S)):Dt(S)?(e.consume(S),R):Y(S)}function M(S){return S===Ye.dash||S===Ye.dot||S===Ye.colon||S===Ye.underscore||Or(S)?(e.consume(S),M):W(S)}function W(S){return S===Ye.equalsTo?(e.consume(S),K):Ge(S)?(a=W,de(S)):Dt(S)?(e.consume(S),W):R(S)}function K(S){return S===Ye.eof||S===Ye.lessThan||S===Ye.equalsTo||S===Ye.greaterThan||S===Ye.graveAccent?r(S):S===Ye.quotationMark||S===Ye.apostrophe?(e.consume(S),i=S,H):Ge(S)?(a=K,de(S)):Dt(S)?(e.consume(S),K):(e.consume(S),Z)}function H(S){return S===i?(e.consume(S),i=void 0,$):S===Ye.eof?r(S):Ge(S)?(a=H,de(S)):(e.consume(S),H)}function Z(S){return S===Ye.eof||S===Ye.quotationMark||S===Ye.apostrophe||S===Ye.lessThan||S===Ye.equalsTo||S===Ye.graveAccent?r(S):S===Ye.slash||S===Ye.greaterThan||Bt(S)?R(S):(e.consume(S),Z)}function $(S){return S===Ye.slash||S===Ye.greaterThan||Bt(S)?R(S):r(S)}function Y(S){return S===Ye.greaterThan?(e.consume(S),e.exit(fr.htmlTextData),e.exit(fr.htmlText),t):r(S)}function de(S){return Hm(a,"expected return state"),Hm(Ge(S),"expected eol"),e.exit(fr.htmlTextData),e.enter(fr.lineEnding),e.consume(S),e.exit(fr.lineEnding),Te}function Te(S){return Hm(n.parser.constructs.disable.null,"expected `disable.null` to be populated"),ve(S)}function ve(S){return e.enter(fr.htmlTextData),a(S)}}function Aee(){return{text:{[Ye.lessThan]:Cee}}}function Hm(...e){}var lp="liquidNode";function bee(){return{canContainEols:[lp],enter:{[lp]:e},exit:{[lp]:t}};function e(r){this.enter({type:lp},r),this.buffer()}function t(r){this.resume();let n=Yr(0,this.stack,-1);n.value=this.sliceSerialize(r),this.exit(r)}}function kee(){return{flow:{[Ye.leftCurlyBrace]:{name:"liquidFlow",tokenize:e}},text:{[Ye.leftCurlyBrace]:{name:"liquidText",tokenize:t}}};function e(n,i,s){return r.call(this,n,i,s,"flow")}function t(n,i,s){return r.call(this,n,i,s,"text")}function r(n,i,s,a){let o=a==="flow",{now:u,parser:h}=this,c;return p;function p(C){return n.enter("liquidNode"),n.enter(fr.data),n.consume(C),function(k){switch(k){case Ye.percentSign:case Ye.leftCurlyBrace:return c=k===Ye.percentSign?Ye.percentSign:Ye.rightCurlyBrace,n.consume(k),d;default:return s(k)}}}function d(C){switch(C){case c:return n.consume(C),D;case Ye.eof:return s(C);default:return Ge(C)?(n.exit(fr.data),n.enter(fr.lineEnding),n.consume(C),n.exit(fr.lineEnding),o?f:(n.enter(fr.data),d)):(n.consume(C),d)}}function f(C){return h.lazy[u().line]?s(C):Ge(C)?(n.enter(fr.lineEnding),n.consume(C),n.exit(fr.lineEnding),f):(n.enter(fr.data),d(C))}function D(C){return C===Ye.rightCurlyBrace?(n.consume(C),n.exit(fr.data),n.exit(lp),o?g:i):d}function g(C){return Dt(C)?(n.enter(fr.whitespace),n.consume(C),x):A(C)}function x(C){return Dt(C)?(n.consume(C),x):(n.exit(fr.whitespace),A(C))}function A(C){return C===Ye.eof||Ge(C)?i(C):s(C)}}}var bS;function Tee(){return bS??(bS={extensions:[oZ({singleTilde:!1}),fZ({singleDollarTextMath:!1}),TX({aliasDivider:{charCodeAt:()=>Number.NaN}}),kee(),Aee()],mdastExtensions:[xee(),wQ(),kX(),bee()]})}function vee(e){let{frontMatter:t,content:r}=mp(e),n=TQ(r,Tee());if(t){let[i,s]=[t.start,t.end].map(({line:a,column:o,index:u})=>({line:a,column:o+1,offset:u}));n.children.unshift({...t,type:"frontMatter",position:{start:i,end:s}})}return n}var See=Au(eK(),1),wee=Au(nK(),1),_ee=Au(lX(),1),Bee=Au(FX(),1),Pee=/^import\s/,Iee=/^export\s/,Nee="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Lee=/<!---->|<!---?[^>-](?:-?[^-])*-->/,Oee=/^\{\s*\/\*(.*)\*\/\s*\}/,Mee=e=>Pee.test(e),Sw=e=>Iee.test(e),ww=e=>Mee(e)||Sw(e),Hg=(e,t)=>{let r=t.indexOf(`
-
- `),n=r===-1?t:t.slice(0,r);if(ww(n))return e(n)({type:Sw(n)?"export":"import",value:n})};Hg.notInBlock=!0;Hg.locator=e=>ww(e)?-1:1;var _w=(e,t)=>{let r=Oee.exec(t);if(r)return e(r[0])({type:"esComment",value:r[1].trim()})};_w.locator=(e,t)=>e.indexOf("{",t);var Ree=function(){let{Parser:e}=this,{blockTokenizers:t,blockMethods:r,inlineTokenizers:n,inlineMethods:i}=e.prototype;t.esSyntax=Hg,n.esComment=_w,r.splice(r.indexOf("paragraph"),0,"esSyntax"),i.splice(i.indexOf("text"),0,"esComment")},ao="string",ta="array",dD="cursor",vu="indent",Su="align",yp="trim",ra="group",oo="fill",ea="if-break",gp="indent-if-break",xp="line-suffix",Ep="line-suffix-boundary",Ds="line",Cp="label",wu="break-parent",Bw=new Set([dD,vu,Su,yp,ra,oo,ea,gp,xp,Ep,Ds,Cp,wu]);function jee(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function qee(e){if(typeof e=="string")return ao;if(Array.isArray(e))return ta;if(!e)return;let{type:t}=e;if(Bw.has(t))return t}var ia=qee,Uee=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Vee(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(ia(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Uee([...Bw].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
- Expected it to be ${n}.`}var $ee=class extends Error{name="InvalidDocError";constructor(e){super(Vee(e)),this.doc=e}},rD=$ee,kS={};function zee(e,t,r,n){let i=[e];for(;i.length>0;){let s=i.pop();if(s===kS){r(i.pop());continue}r&&i.push(s,kS);let a=ia(s);if(!a)throw new rD(s);if(t?.(s)!==!1)switch(a){case ta:case oo:{let o=a===ta?s:s.parts;for(let u=o.length,h=u-1;h>=0;--h)i.push(o[h]);break}case ea:i.push(s.flatContents,s.breakContents);break;case ra:if(n&&s.expandedStates)for(let o=s.expandedStates.length,u=o-1;u>=0;--u)i.push(s.expandedStates[u]);else i.push(s.contents);break;case Su:case vu:case gp:case Cp:case xp:i.push(s.contents);break;case ao:case dD:case yp:case Ep:case Ds:case wu:break;default:throw new rD(s)}}}var Hee=zee;function Wee(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(s){return jee(r,s,i)}function i(s){switch(ia(s)){case ta:return t(s.map(n));case oo:return t({...s,parts:s.parts.map(n)});case ea:return t({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case ra:{let{expandedStates:a,contents:o}=s;return a?(a=a.map(n),o=a[0]):o=n(o),t({...s,contents:o,expandedStates:a})}case Su:case vu:case gp:case Cp:case xp:return t({...s,contents:n(s.contents)});case ao:case dD:case yp:case Ep:case Ds:case wu:return t(s);default:throw new rD(s)}}}function TS(e){if(e.length>0){let t=Yr(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Gee(e){let t=new Set,r=[];function n(s){if(s.type===wu&&TS(r),s.type===ra){if(r.push(s),t.has(s))return!1;t.add(s)}}function i(s){s.type===ra&&r.pop().break&&TS(r)}Hee(e,n,i,!0)}function ro(e,t=Pg){return Wee(e,r=>typeof r=="string"?Iw(t,r.split(`
- `)):r)}var Cu=pD,Pw=pD,Jee=pD,Kee=pD;function _g(e){return Cu(e),{type:vu,contents:e}}function Li(e,t){return Kee(e),Cu(t),{type:Su,contents:t,n:e}}function Bg(e){return Li({type:"root"},e)}var nD={type:wu};function Wg(e){return Jee(e),{type:oo,parts:e}}function Xm(e,t={}){return Cu(e),Pw(t.expandedStates,!0),{type:ra,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Xee(e,t="",r={}){return Cu(e),t!==""&&Cu(t),{type:ea,breakContents:e,flatContents:t,groupId:r.groupId}}function Iw(e,t){Cu(e),Pw(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var Nw={type:Ds},Lw={type:Ds,soft:!0},Gg={type:Ds,hard:!0},Ar=[Gg,nD],Yee={type:Ds,hard:!0,literal:!0},Pg=[Yee,nD],Qee="cr",Zee="crlf",ete="\r",tte=`\r
- `,rte=`
- `,nte=rte;function ite(e){return e===Qee?ete:e===Zee?tte:nte}var ste=()=>/[#*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,ate=12288,ote=65510,ute=[12288,12288,65281,65376,65504,65510],lte=4352,cte=262141,Ow=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],Mw=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){let i=Math.floor((r+n)/2),s=i*2;if(t<e[s])n=i-1;else if(t>e[s+1])r=i+1;else return!0}return!1},vS=19968,[pte,hte]=dte(Ow);function dte(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){let i=e[n],s=e[n+1];if(vS>=i&&vS<=s)return[i,s];s-i>r-t&&(t=i,r=s)}return[t,r]}var fte=e=>e<ate||e>ote?!1:Mw(ute,e),mte=e=>e>=pte&&e<=hte?!0:e<lte||e>cte?!1:Mw(Ow,e),Dte=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC3F\uDC41\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])$/,yte=e=>Dte.test(e),gte=/[^\x20-\x7F]/;function xte(e){if(!e)return 0;if(!gte.test(e))return e.length;let t=0;e=e.replace(ste(),r=>(t+=yte(r)?1:2,""));for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(t+=fte(n)||mte(n)?2:1)}return t}var Jg=xte,Ete={type:0},Cte={type:1},Rw={value:"",length:0,queue:[],get root(){return Rw}};function jw(e,t,r){let n=t.type===1?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,a=0,o=0;for(let D of n)switch(D.type){case 0:c(),r.useTabs?u(1):h(r.tabWidth);break;case 3:{let{string:g}=D;c(),i+=g,s+=g.length;break}case 2:{let{width:g}=D;a+=1,o+=g;break}default:throw new Error(`Unexpected indent comment '${D.type}'.`)}return d(),{...e,value:i,length:s,queue:n};function u(D){i+=" ".repeat(D),s+=r.tabWidth*D}function h(D){i+=" ".repeat(D),s+=D}function c(){r.useTabs?p():d()}function p(){a>0&&u(a),f()}function d(){o>0&&h(o),f()}function f(){a=0,o=0}}function Fte(e,t,r){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let n;return typeof t=="number"?t<0?n=Cte:n={type:2,width:t}:n={type:3,string:t},jw(e,n,r)}function Ate(e,t){return jw(e,Ete,t)}function bte(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n===" "||n===" ")t++;else break}return t}function qw(e){let t=bte(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var kte=class{#e=[];#t="";#n=0;#i=[];#r=[];#s(){let e=this.#t;e!==""&&(this.#e.push(e),this.#n+=e.length,this.#t="");for(let t of this.#r)this.#i.push(Math.min(t,this.#n));this.#r.length=0}markPosition(){if(this.#i.length+this.#r.length>=2)throw new Error("There are too many 'cursor' in doc.");this.#r.push(this.#n+this.#t.length)}write(e){this.#t+=e}trim(){let{text:e,count:t}=qw(this.#t);return this.#t=e,this.#s(),t}finish(){return this.#s(),{text:this.#e.join(""),positions:this.#i}}},Tte=kte,Wn=Symbol("MODE_BREAK"),Ni=Symbol("MODE_FLAT"),Ig=Symbol("DOC_FILL_PRINTED_LENGTH");function Wm(e,t,r,n,i,s){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,o=!1,u=[e],h="";for(;r>=0;){if(u.length===0){if(a===0)return!0;u.push(t[--a]);continue}let{mode:c,doc:p}=u.pop(),d=ia(p);switch(d){case ao:p&&(o&&(h+=" ",r-=1,o=!1),h+=p,r-=Jg(p));break;case ta:case oo:{let f=d===ta?p:p.parts,D=p[Ig]??0;for(let g=f.length-1;g>=D;g--)u.push({mode:c,doc:f[g]});break}case vu:case Su:case gp:case Cp:u.push({mode:c,doc:p.contents});break;case yp:{let{text:f,count:D}=qw(h);h=f,r+=D;break}case ra:{if(s&&p.break)return!1;let f=p.break?Wn:c,D=p.expandedStates&&f===Wn?Yr(0,p.expandedStates,-1):p.contents;u.push({mode:f,doc:D});break}case ea:{let f=(p.groupId?i[p.groupId]||Ni:c)===Wn?p.breakContents:p.flatContents;f&&u.push({mode:c,doc:f});break}case Ds:if(c===Wn||p.hard)return!0;p.soft||(o=!0);break;case xp:n=!0;break;case Ep:if(n)return!1;break}}return!1}function vte(e,t){let r=Object.create(null),n=t.printWidth,i=ite(t.endOfLine),s=0,a=[{indent:Rw,mode:Wn,doc:e}],o=!1,u=[],h=new Tte;for(Gee(e);a.length>0;){let{indent:D,mode:g,doc:x}=a.pop();switch(ia(x)){case ao:{let A=i!==`
- `?br(0,x,`
- `,i):x;A&&(h.write(A),a.length>0&&(s+=Jg(A)));break}case ta:for(let A=x.length-1;A>=0;A--)a.push({indent:D,mode:g,doc:x[A]});break;case dD:h.markPosition();break;case vu:a.push({indent:Ate(D,t),mode:g,doc:x.contents});break;case Su:a.push({indent:Fte(D,x.n,t),mode:g,doc:x.contents});break;case yp:s-=h.trim();break;case ra:{let A=(function(){if(g===Ni&&!o)return{indent:D,mode:x.break?Wn:Ni,doc:x.contents};o=!1;let C=n-s,k=u.length>0,P={indent:D,mode:Ni,doc:x.contents};if(!x.break&&Wm(P,a,C,k,r))return P;if(!x.expandedStates)return{indent:D,mode:Wn,doc:x.contents};if(!x.break)for(let v=1;v<x.expandedStates.length-1;v++){let w={indent:D,mode:Ni,doc:x.expandedStates[v]};if(Wm(w,a,C,k,r))return w}return{indent:D,mode:Wn,doc:Yr(0,x.expandedStates,-1)}})();a.push(A),x.id&&(r[x.id]=A.mode);break}case oo:{let A=n-s,C=x[Ig]??0,{parts:k}=x,P=k.length-C;if(P===0)break;let v=k[C+0],w=k[C+1],I={indent:D,mode:Ni,doc:v},O={indent:D,mode:Wn,doc:v},R=Wm(I,[],A,u.length>0,r,!0);if(P===1){R?a.push(I):a.push(O);break}let M={indent:D,mode:Ni,doc:w},W={indent:D,mode:Wn,doc:w};if(P===2){R?a.push(M,I):a.push(W,O);break}let K=k[C+2],H={indent:D,mode:g,doc:{...x,[Ig]:C+2}},Z=Wm({indent:D,mode:Ni,doc:[v,w,K]},[],A,u.length>0,r,!0);a.push(H),Z?a.push(M,I):R?a.push(W,I):a.push(W,O);break}case ea:case gp:{let A=x.groupId?r[x.groupId]:g;if(A===Wn){let C=x.type===ea?x.breakContents:x.negate?x.contents:_g(x.contents);C&&a.push({indent:D,mode:g,doc:C})}if(A===Ni){let C=x.type===ea?x.flatContents:x.negate?_g(x.contents):x.contents;C&&a.push({indent:D,mode:g,doc:C})}break}case xp:u.push({indent:D,mode:g,doc:x.contents});break;case Ep:u.length>0&&a.push({indent:D,mode:g,doc:Gg});break;case Ds:switch(g){case Ni:if(!x.hard){x.soft||(h.write(" "),s+=1);break}o=!0;case Wn:if(u.length>0){a.push({indent:D,mode:g,doc:x},...u.reverse()),u.length=0;break}x.literal?(h.write(i),s=0,D.root&&(D.root.value&&h.write(D.root.value),s=D.root.length)):(h.trim(),h.write(i+D.value),s=D.length);break}break;case Cp:a.push({indent:D,mode:g,doc:x.contents});break;case wu:break;default:throw new rD(x)}a.length===0&&u.length>0&&(a.push(...u.reverse()),u.length=0)}let{text:c,positions:p}=h.finish();if(p.length!==2)return{formatted:c};let[d,f]=p;return{formatted:c,cursorNodeStart:d,cursorNodeText:c.slice(d,f)}}var Ste=Array.prototype.toReversed??function(){return[...this].reverse()},wte=$g("toReversed",function(){if(Array.isArray(this))return Ste}),_te=wte;function Bte(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var Pte=Bte();function Uw(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 Ite(e){return e=Uw(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Nte(e){e=Uw(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 Lte(e){return Pte?Nte(e):Ite(e)}var Ote=e=>String(e).split(/[/\\]/).pop(),Mte=e=>String(e).startsWith("file:");function SS(e,t){if(!t)return;let r=Ote(t).toLowerCase();return e.find(({filenames:n})=>n?.some(i=>i.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(i=>r.endsWith(i)))}function Rte(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var jte=void 0;function wS(e,t){if(t){if(Mte(t))try{t=Lte(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function qte(e,t){let r=_te(0,e.plugins).flatMap(n=>n.languages??[]);return(Rte(r,t.language)??SS(r,t.physicalFile)??SS(r,t.file)??wS(r,t.physicalFile)??wS(r,t.file)??jte?.(r,t.physicalFile))?.parsers[0]}var _S=qte;function Ute(e){return!!e?.[kw]}var Vte=Ute,$te=function(){let e=this.Parser.prototype;e.blockMethods=["frontMatter",...e.blockMethods],e.blockTokenizers.frontMatter=t;function t(r,n){let{frontMatter:i}=mp(n);if(i)return r(i.raw)({...i,type:"frontMatter"})}t.onlyAtStart=!0},zte=$te,Hte=/(?:[\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{1b128}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b168}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81e}\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,no=/(?:[\u{21}-\u{2f}\u{3a}-\u{40}\u{5b}-\u{60}\u{7b}-\u{7e}\u{3000}\u{ff5e}]|\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,Vw=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Ng=new Set([...Vw,"tableCell","paragraph","heading"]),hp="non-cjk",ds="cj-letter",Fu="k-letter",iD="cjk-punctuation",Wte=/\p{Script_Extensions=Hangul}/u;function Kg(e){let t=[],r=e.split(/([\t\n ]+)/);for(let[i,s]of r.entries()){if(i%2===1){t.push({type:"whitespace",value:/\n/.test(s)?`
- `:" "});continue}if((i===0||i===r.length-1)&&s==="")continue;let a=s.split(new RegExp(`(${Hte.source})`,"u"));for(let[o,u]of a.entries())if(!((o===0||o===a.length-1)&&u==="")){if(o%2===0){u!==""&&n({type:"word",value:u,kind:hp,isCJ:!1,hasLeadingPunctuation:no.test(u[0]),hasTrailingPunctuation:no.test(Yr(0,u,-1))});continue}if(no.test(u)){n({type:"word",value:u,kind:iD,isCJ:!0,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0});continue}if(Wte.test(u)){n({type:"word",value:u,kind:Fu,isCJ:!1,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1});continue}n({type:"word",value:u,kind:ds,isCJ:!0,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return t;function n(i){let s=Yr(0,t,-1);s?.type==="word"&&!a(hp,iD)&&[s.value,i.value].every(o=>!/\u3000/.test(o))&&t.push({type:"whitespace",value:""}),t.push(i);function a(o,u){return s.kind===o&&i.kind===u||s.kind===u&&i.kind===o}}}function io(e,t){let r=t.originalText.slice(e.position.start.offset,e.position.end.offset);if(t.parser!=="mdx"){let s=e.children[0];s&&(r=t.originalText.slice(e.position.start.offset,s.position.start.offset))}let{numberText:n,leadingSpaces:i}=r.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/).groups;return{number:Number(n),leadingSpaces:i}}function $w(e,t){return!e.ordered||e.children.length<2||io(e.children[1],t).number!==1?!1:io(e.children[0],t).number!==0?!0:e.children.length>2&&io(e.children[2],t).number===1}function zw(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith(`
- `)&&t.endsWith(`
- `)?r.slice(0,-1):r}function oi(e,t){return(function r(n,i,s){let a={...t(n,i,s)};return a.children&&(a.children=a.children.map((o,u)=>r(o,u,[a,...s]))),a})(e,null,[])}function Hw(e){if(e?.type!=="link"||e.children.length!==1)return!1;let[t]=e.children;return Qm(e)===Qm(t)&&Zm(e)===Zm(t)}function Xg(e){let t;if(e.type==="html")t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;e.type==="esComment"?r=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return t?t[1]||"next":!1}function Yg(e,t){return r(e,t,n=>n.ordered===e.ordered);function r(n,i,s){let a=-1;for(let o of i.children)if(o.type===n.type&&s(o)?a++:a=-1,o===n)return a}}function Gte(e){return e.index>0&&Xg(e.previous)==="next"}function Qg(e){let{start:t,end:r}=e.position;return t.line!==r.line}var sD=e=>e?.type==="whitespace"&&e.value===`
- `;function Jte(){return e=>oi(e,(t,r,[n])=>t.type!=="html"||Lee.test(t.value)||Ng.has(n.type)?t:{...t,type:"jsx"})}var Kte=Jte,Xte=function(){let e=this.Parser.prototype,t=e.inlineMethods;t.splice(t.indexOf("text"),0,"liquid"),e.inlineTokenizers.liquid=r;function r(n,i){let s=i.match(/^(\{%.*?%\}|\{\{.*?\}\})/s);if(s)return n(s[0])({type:"liquidNode",value:s[0]})}r.locator=function(n,i){return n.indexOf("{",i)}},Yte=Xte,Qte=function(){let e="wikiLink",t=/^\[\[(?<linkContents>.+?)\]\]/s,r=this.Parser.prototype,n=r.inlineMethods;n.splice(n.indexOf("link"),0,e),r.inlineTokenizers.wikiLink=i;function i(s,a){let o=t.exec(a);if(o){let u=o.groups.linkContents.trim();return s(o[0])({type:e,value:u})}}i.locator=function(s,a){return s.indexOf("[",a)}},Zte=Qte;function ere(e){let t=(0,Bee.default)().use(_ee.default,{commonmark:!0,blocks:[Nee]}).use(See.default).use(zte).use(wee.default).use(Ree).use(Yte).use(Kte).use(Zte);return t.run(t.parse(e))}var tre="format",rre=/<!--\s*@(?:noformat|noprettier)\s*-->|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:noformat|noprettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/m,nre=/<!--\s*@(?:format|prettier)\s*-->|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:format|prettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/m,Ww=e=>mp(e).content.trimStart().match(nre)?.index===0,ire=e=>mp(e).content.trimStart().match(rre)?.index===0,sre=e=>{let{frontMatter:t}=mp(e),r=`<!-- @${tre} -->`;return t?`${t.raw}
-
- ${r}
-
- ${e.slice(t.end.index)}`:`${r}
-
- ${e}`};function Gw(e){return{astFormat:"mdast",hasPragma:Ww,hasIgnorePragma:ire,locStart:Qm,locEnd:Zm,parse:e}}var BS=Gw(vee),are=Gw(ere),Zg={};oD(Zg,{mdast:()=>Tne});function ore(e,t){let r=e.matchAll(new RegExp(`(?:${Dp(t)})+`,"g"));return r.reduce||(r=[...r]),r.reduce((n,[i])=>Math.max(n,i.length),0)/t.length}var Jw=ore;function ure(e,t){let{node:r}=e;switch(r.type){case"code":{let{lang:n}=r;if(!n)return;let i;return n==="angular-ts"?i=_S(t,{language:"typescript"}):n==="angular-html"?i="angular":i=_S(t,{language:n}),i?async s=>{let a={parser:i};n==="ts"||n==="typescript"?a.filepath="dummy.ts":n==="tsx"&&(a.filepath="dummy.tsx");let o=await s(t.parser==="mdx"?zw(r,t.originalText):r.value,a),u=t.__inJsTemplate?"~":"`",h=u.repeat(Math.max(3,Jw(r.value,u)+1));return Bg([h,r.lang,r.meta?" "+r.meta:"",Ar,ro(o),Ar,h])}:void 0}case"import":case"export":return n=>n(r.value,{__onHtmlBindingRoot:i=>lre(i,r.type),parser:"babel"});case"jsx":return n=>n(`<$>${r.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}function lre(e,t){let{program:{body:r}}=e;if(r.some(n=>!(n.type==="ImportDeclaration"||n.type==="ExportDefaultDeclaration"||n.type==="ExportNamedDeclaration")))throw new Error(`Unexpected '${t}' in MDX.`)}var cre=ure,PS=Au(Rg(),1),pre=new Set(["position","raw"]);function Kw(e,t,r){if((e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete t.value,e.type==="list"&&delete t.isAligned,(e.type==="list"||e.type==="listItem")&&delete t.spread,e.type==="text")return null;if(e.type==="inlineCode"&&(t.value=br(0,e.value,`
- `," ")),(e.type==="definition"||e.type==="linkReference"||e.type==="imageReference")&&(t.label=(0,PS.default)(e.label)),e.type==="imageReference"&&e.referenceType==="collapsed"&&(t.alt=(0,PS.default)(e.alt)),(e.type==="link"||e.type==="image")&&e.url&&e.url.includes("("))for(let n of"<>")t.url=br(0,e.url,n,encodeURIComponent(n));if((e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(t.title=br(0,e.title,/\\(?=["')])/g,"")),r?.type==="root"&&r.children.length>0&&(r.children[0]===e||Vte(r.children[0])&&r.children[1]===e)&&e.type==="html"&&Ww(e.value))return null}Kw.ignoredProperties=pre;function hre(e,t){let r=t.originalText.slice(e.node.position.start.offset,e.node.position.end.offset);return t.parser==="mdx"?r:e.node.type==="list"&&e.findAncestor(n=>n.type==="blockquote")&&t.proseWrap!=="always"?r.replace(/\n>\s*$/,""):r}var dre=Au(Rg(),1);function fre(e,t){let r=e.match(new RegExp(`(${Dp(t)})+`,"g"));if(r===null)return 1;let n=new Map,i=0;for(let s of r){let a=s.length/t.length;n.set(a,!0),a>i&&(i=a)}for(let s=1;s<i;s++)if(!n.get(s))return s;return i+1}var mre=fre,Xw=Object.freeze({character:"'",codePoint:39}),Yw=Object.freeze({character:'"',codePoint:34}),Dre=Object.freeze({preferred:Xw,alternate:Yw}),yre=Object.freeze({preferred:Yw,alternate:Xw});function gre(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?Dre:yre,{length:i}=e,s=0,a=0;for(let o=0;o<i;o++){let u=e.charCodeAt(o);u===r.codePoint?s++:u===n.codePoint&&a++}return(s>a?n:r).character}var xre=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},Ere=xre;function Lr(e,t,r,n={}){let{processor:i=r}=n,s=[];return e.each(()=>{let a=i(e);a!==!1&&(s.length>0&&Cre(e)&&(s.push(Ar),Are(e,t)&&s.push(Ar)),s.push(a))},"children"),s}function Cre({node:e,parent:t}){let r=Vw.has(e.type)&&!(e.type==="liquidNode"&&!Ng.has(t.type)),n=e.type==="html"&&Ng.has(t.type);return!r&&!n}var Fre=new Set(["listItem","definition"]);function Are(e,t){let{node:r,previous:n,parent:i}=e;if(t.parser==="mdx"){if(IS(n,t)||r.type==="list"&&i.type==="listItem"&&(n.type==="code"||n.type==="paragraph")&&n.position.end.line+1<r.position.start.line)return!0}else{if(Qg(r)&&r.position.start.line<n.position.end.line)return!1;if(bre(e)||r.type==="list"&&i.type==="listItem"&&(n.type==="code"||n.type==="paragraph")&&n.position.end.line+1<r.position.start.line)return!0}let s=n.type===r.type&&Fre.has(r.type),a;t.parser==="mdx"?a=i.type==="listItem"&&(r.type==="list"||!IS(i,t)):a=i.type==="listItem"&&(r.type==="list"||!e.callParent(Qw));let o=Xg(n)==="next",u=r.type==="html"&&n.type==="html"&&n.position.end.line+1===r.position.start.line,h=t.parser!=="mdx"&&r.type==="html"&&n.type==="paragraph"&&n.position.end.line+1===r.position.start.line,c=r.type==="html"&&i.type==="listItem"&&n.type==="paragraph"&&n.position.end.line+1===r.position.start.line,p=(r.type==="liquidNode"||n.type==="liquidNode")&&n.position.end.line+1===r.position.start.line;return!(s||a||o||u||h||c||p)}function IS(e,t){return e.type==="listItem"&&(e.spread||t.originalText.charAt(e.position.end.offset-1)===`
- `)}function Qw({node:e,parent:t,next:r}){return e.type==="listItem"&&(e.spread||t.type==="list"&&r?.type==="listItem"&&e.position.end.line+1<r.position.start.line)}function bre(e){return e.index===0?!1:Qw({node:e.previous,parent:e.parent,next:e.node})}function kre(e,t,r){return["#".repeat(e.node.depth)+" ",Lr(e,t,r)]}function Tre(e,t,r){let{originalText:n}=t,{node:i}=e,s=i.position.end.offset,a=n.lastIndexOf(`
- `,s-1)+1,o=n.slice(a,s),u=Math.max(o.indexOf("="),o.indexOf("-")),h=o.slice(u);return[Lr(e,t,r),Ar,h]}function vre(e,t,r){return t.parser!=="mdx"&&Qg(e.node)?Tre(e,t,r):kre(e,t,r)}var Sre=999999999;function wre(e,t,r){let{node:n}=e,i=Yg(n,e.parent),s=$w(n,t),a=_re(e);return Lr(e,t,r,{processor(){let o=h(),{node:u}=e;if(u.children.length===2&&u.children[1].type==="html"&&u.children[0].position.start.column!==u.children[1].position.start.column)return[o,NS(e,t,r,o)];return[o,Li(" ".repeat(o.length),NS(e,t,r,o))];function h(){let c=n.ordered?(e.isFirst?n.start:s?1:Math.min(n.start+e.index,Sre))+(i%2===0?". ":") "):i%2===0?"- ":"* ",p=n.isAligned&&n.ordered?Zw(c,t):c;if(p.length>=a)return p;p=p.trimEnd();let d=Math.min(a-p.length,4);d>0&&(p+=" ".repeat(d));let f=Math.min(a-p.length,3);return f>0&&(p=" ".repeat(f)+p),p}}})}function NS(e,t,r,n){let{node:i}=e,s=i.checked===null?"":i.checked?"[x] ":"[ ] ";return[s,Lr(e,t,r,{processor({node:a,isFirst:o}){if(o&&a.type!=="list"||a.type==="html")return Li(" ".repeat(s.length),r());if(a.type==="code"&&a.isIndented)return r();let u=" ".repeat(e_(t.tabWidth-n.length,0,3));return[u,Li(u,r())]}})]}function _re(e){let{node:t,next:r}=e;return t.checked===null||!(r?.type==="code"&&r.isIndented)?0:4+[.../^[ \t]*/.exec(r.value)?.[0]??""].reduce((n,i)=>n+(i===" "?4:1),0)+1}function Bre(e,t,r){let{node:n}=e,i=Yg(n,e.parent),s=$w(n,t);return Lr(e,t,r,{processor(){let a=u(),{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,LS(e,t,r,a)];return[a,Li(" ".repeat(a.length),LS(e,t,r,a))];function u(){let h=n.ordered?(e.isFirst?n.start:s?1:n.start+e.index)+(i%2===0?". ":") "):i%2===0?"- ":"* ";return(n.isAligned||n.hasIndentedCodeblock)&&n.ordered?Zw(h,t):h}}})}function LS(e,t,r,n){let{node:i}=e,s=i.checked===null?"":i.checked?"[x] ":"[ ] ";return[s,Lr(e,t,r,{processor({node:a,isFirst:o}){if(o&&a.type!=="list")return Li(" ".repeat(s.length),r());if(a.type==="code"&&a.isIndented)return r();let u=" ".repeat(e_(t.tabWidth-n.length,0,3));return[u,Li(u,r())]}})]}function Zw(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let i=e.length%t.tabWidth;return i===0?0:t.tabWidth-i}}function e_(e,t,r){return Math.max(t,Math.min(e,r))}function Pre(e,t,r){let n=e.map(r,"children");return Ire(n)}function Ire(e){let t=[""];return(function r(n){for(let i of n){let s=ia(i);if(s===ta){r(i);continue}let a=i,o=[];s===oo&&([a,...o]=i.parts),t.push([t.pop(),a],...o)}})(e),Wg(t)}function Nre(e,t){let r=[""];return e.each(()=>{let{node:n}=e,i=t();switch(n.type){case"whitespace":if(ia(i)!==ao){r.push(i,"");break}default:r.push([r.pop(),i])}},"children"),Wg(r)}function Lre(e,t,r){let{node:n}=e,i=[],s=e.map(()=>e.map(({index:p})=>{let d=vte(r(),t).formatted,f=Jg(d);return i[p]=Math.max(i[p]??3,f),{text:d,width:f}},"children"),"children"),a=u(!1);if(t.proseWrap!=="never")return[nD,a];let o=u(!0);return[nD,Xm(Xee(o,a))];function u(p){return Iw(Gg,[c(s[0],p),h(p),...s.slice(1).map(d=>c(d,p))].map(d=>`| ${d.join(" | ")} |`))}function h(p){return i.map((d,f)=>{if(t.parser!=="mdx"&&f>=s[0].length)return null;let D=n.align[f],g=D==="center"||D==="left"?":":"-",x=D==="center"||D==="right"?":":"-",A=p?"-":"-".repeat(d-2);return`${g}${A}${x}`}).filter(d=>d!==null)}function c(p,d){return p.map(({text:f,width:D},g)=>{if(d)return f;let x=i[g]-D,A=n.align[g],C=0;A==="right"?C=x:A==="center"&&(C=Math.floor(x/2));let k=x-C;return`${" ".repeat(C)}${f}${" ".repeat(k)}`})}}var Ore=new Set(["tableCell","link","wikiLink"]),OS=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Mre({parent:e}){if(e.usesCJSpaces===void 0){let t={" ":0,"":0},{children:r}=e;for(let n=1;n<r.length-1;++n){let i=r[n];if(i.type==="whitespace"&&(i.value===" "||i.value==="")){let s=r[n-1].kind,a=r[n+1].kind;(s===ds&&a===hp||s===hp&&a===ds)&&++t[i.value]}}e.usesCJSpaces=t[" "]>t[""]}return e.usesCJSpaces}function Rre(e,t){if(t)return!0;let{previous:r,next:n}=e;if(!r||!n)return!0;let i=r.kind,s=n.kind;return MS(i)&&MS(s)||i===Fu&&s===ds||s===Fu&&i===ds?!0:i===iD||s===iD||i===ds&&s===ds?!1:OS.has(n.value[0])||OS.has(Yr(0,r.value,-1))?!0:r.hasTrailingPunctuation||n.hasLeadingPunctuation?!1:Mre(e)}function MS(e){return e===hp||e===Fu}function jre(e,t,r,n,i){if(r!=="always"||e.hasAncestor(o=>Ore.has(o.type)||o.type==="heading"&&(i.parser==="mdx"||!Qg(o))))return!1;if(n)return t!=="";let{previous:s,next:a}=e;return!s||!a?!0:t===""?!1:s.kind===Fu&&a.kind===ds||a.kind===Fu&&s.kind===ds?!0:!(s.isCJ||a.isCJ)}function RS(e,t,r,n,i){if(r==="preserve"&&t===`
- `)return Ar;let s=t===" "||t===`
- `&&Rre(e,n);return jre(e,t,r,n,i)?s?Nw:Lw:s?" ":""}var qre=/^(?:=+|-+)$/;function Ure(e,t){let{node:r}=e,n=e.findAncestor(s=>s.type==="emphasis"||s.type==="strong"),i=r.value;return n?(e.isFirst&&(i.startsWith("*")||i.startsWith("_"))&&e.callParent(()=>e.isFirst)&&e.grandparent===n&&(i=`\\${i}`),i=br(0,i,/(\\+|^|.)(\*+|_+)($|.)/g,(s,a,o,u)=>[...a].every(h=>h==="\\")&&a.length%2===1?s:Vre(Yr(0,a,-1)||Yr(1,e.previous?.value,-1),o,u[0]||e.next?.value[0])?`${a}\\${o}${u}`:s),i):t.proseWrap==="preserve"&&e.parent.type==="sentence"&&qre.test(i)&&sD(e.previous)&&(e.isLast||sD(e.next))?`\\${i}`:i}function Vre(e,t,r){if(!e||!r)return null;let n=/[\p{Space_Separator}\t\n\f\r]/u.test(r),i=/[\p{Space_Separator}\t\n\f\r]/u.test(e),s=no.test(r),a=no.test(e),o=!n&&(!s||s&&(i||a)),u=!i&&(!a||a&&(n||s));return t[0]==="*"?o||u:o?!u||a:u?!o||s:!1}function $re(e){let{node:t}=e,r=br(0,br(0,t.value,"*","\\*"),new RegExp([`(^|${no.source})(_+)`,`(_+)(${no.source}|$)`].join("|"),"gu"),(s,a,o,u,h)=>br(0,o?`${a}${o}`:`${u}${h}`,"_","\\_")),n=(s,a,o)=>s.type==="sentence"&&o===0,i=(s,a,o)=>Hw(s.children[o-1]);return r!==t.value&&(e.match(void 0,n,i)||e.match(void 0,n,(s,a,o)=>s.type==="emphasis"&&o===0,i))&&(r=r.replace(/^(\\?[*_])+/,s=>br(0,s,"\\",""))),r}function jS(e){let{previous:t,next:r}=e;return t?.type==="sentence"&&Yr(0,t.children,-1)?.type==="word"&&!Yr(0,t.children,-1).hasTrailingPunctuation&&!/[\p{Space_Separator}\t\n\f\r]$/u.test(Yr(0,t.children,-1).value)||r?.type==="sentence"&&r.children[0]?.type==="word"&&!r.children[0].hasLeadingPunctuation&&!/^[\p{Space_Separator}\t\n\f\r]/u.test(r.children[0].value)}function zre(e){let{siblings:t,index:r}=e;if(!t||typeof r!="number")return!1;let n=t[r+2];return n?.type==="whitespace"&&n.value===""}function Hre(e){if(!sD(e.node)||e.next?.value!=="-")return!1;let t=e.siblings[e.index+2];return!t||sD(t)}function Wre(e,t,r){let{node:n}=e;if(Jre(e)){let i=[""],s=Kg(t.originalText.slice(n.position.start.offset,n.position.end.offset));for(let a of s){if(a.type==="word"){i.push([i.pop(),a.value]);continue}let o=RS(e,a.value,t.proseWrap,!0,t);if(ia(o)===ao){i.push([i.pop(),o]);continue}i.push(o,"")}return Wg(i)}switch(n.type){case"root":return n.children.length===0?"":[Gre(e,t,r),Ar];case"paragraph":return Pre(e,t,r);case"sentence":return Nre(e,r);case"word":return t.parser!=="mdx"?Ure(e,t):$re(e);case"whitespace":{let{next:i}=e,s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)&&!zre(e)&&!(t.proseWrap==="preserve"&&Hre(e))?"never":t.proseWrap;return RS(e,n.value,s,!1,t)}case"emphasis":{let i;if(Hw(n.children[0]))i=t.originalText[n.position.start.offset];else{let s=jS(e),a=e.callParent(({node:o})=>o.type==="strong"&&jS(e));i=s||a||e.hasAncestor(o=>o.type==="emphasis")?"*":"_"}return[i,Lr(e,t,r),i]}case"strong":return["**",Lr(e,t,r),"**"];case"delete":return["~~",Lr(e,t,r),"~~"];case"inlineCode":{let i=t.proseWrap==="preserve"?n.value:br(0,n.value,`
- `," ");t.parser!=="mdx"&&e.hasAncestor(u=>u.type==="tableCell")&&(i=br(0,i,"|","\\|"));let s=mre(i,"`"),a="`".repeat(s),o=i.startsWith("`")||i.endsWith("`")||/^[\n ]/.test(i)&&/[\n ]$/.test(i)&&/[^\n ]/.test(i)?" ":"";return[a,o,i,o,a]}case"wikiLink":{let i;return t.proseWrap==="preserve"?i=n.value:i=br(0,n.value,/[\t\n]+/g," "),["[[",i,"]]"]}case"link":switch(t.originalText[n.position.start.offset]){case"<":{let i="mailto:";return["<",n.url.startsWith(i)&&t.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+i.length)!==i?n.url.slice(i.length):n.url,">"]}case"[":return["[",Lr(e,t,r),"](",t.parser!=="mdx"&&n.url===""?"<>":kg(n.url,")"),Ym(n.title,t),")"];default:return t.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return[""),Ym(n.title,t),")"];case"blockquote":return["> ",Li("> ",Lr(e,t,r))];case"heading":return vre(e,t,r);case"code":{if(n.isIndented){let a=" ".repeat(4);return Li(a,[a,ro(n.value,Ar)])}let i=t.__inJsTemplate?"~":"`",s=i.repeat(Math.max(3,Jw(n.value,i)+1));return[s,n.lang||"",n.meta?" "+n.meta:"",Ar,ro(t.parser==="mdx"?zw(n,t.originalText):n.value,Ar),Ar,s]}case"html":{let{parent:i,isLast:s}=e,a=i.type==="root"&&s?n.value.trimEnd():n.value,o=/^<!--.*-->$/s.test(a);return ro(a,o?Ar:Bg(Pg))}case"list":return t.parser==="mdx"?Bre(e,t,r):wre(e,t,r);case"thematicBreak":{let{ancestors:i}=e,s=i.findIndex(a=>a.type==="list");return s===-1?"---":Yg(i[s],i[s+1])%2===0?"***":"---"}case"linkReference":return["[",Lr(e,t,r),"]",n.referenceType==="full"?Gm(n):n.referenceType==="collapsed"?"[]":""];case"imageReference":{let i=VS(n,t);return n.referenceType==="full"?["![",i,"]",Gm(n)]:[...t.parser==="mdx"?["![",i,"]"]:["!",Gm(n)],n.referenceType==="collapsed"?"[]":""]}case"definition":{let i=t.proseWrap==="always"?Nw:" ";return Xm([Gm(n),":",_g([i,t.parser!=="mdx"&&n.url===""?"<>":kg(n.url),n.title===null?"":[i,Ym(n.title,t,!1)]])])}case"footnote":return["[^",Lr(e,t,r),"]"];case"footnoteReference":return US(n);case"footnoteDefinition":{let i=n.children.length===1&&n.children[0].type==="paragraph"&&(t.proseWrap==="never"||t.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return[US(n),": ",i?Lr(e,t,r):Xm([Li(" ".repeat(4),Lr(e,t,r,{processor:({isFirst:s})=>s?Xm([Lw,r()]):r()}))])]}case"table":return Lre(e,t,r);case"tableCell":return Lr(e,t,r);case"break":return/\s/.test(t.originalText[n.position.start.offset])?[" ",Bg(Pg)]:["\\",Ar];case"liquidNode":return ro(n.value,Ar);case"import":case"export":case"jsx":return n.value.trimEnd();case"esComment":return["{/* ",n.value," */}"];case"math":return["$$",n.meta?" "+n.meta:"",Ar,n.value?[ro(n.value,Ar),Ar]:"","$$"];case"inlineMath":return t.originalText.slice(Qm(n),Zm(n));case"text":return ro(n.value,Ar);default:throw new Ere(n,"Markdown")}}function Gre(e,t,r){let n=[],i=null,{children:s}=e.node;for(let[a,o]of s.entries())switch(Xg(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 Lr(e,t,r,{processor({index:a}){if(n.length>0){let o=n[0];if(a===o.start.index)return[qS(s[o.start.index]),t.originalText.slice(o.start.offset,o.end.offset),qS(s[o.end.index])];if(o.start.index<a&&a<o.end.index)return!1;if(a===o.end.index)return n.shift(),!1}return r()}})}function qS(e){if(e.type==="html")return e.value;if(e.type==="paragraph"&&Array.isArray(e.children)&&e.children.length===1&&e.children[0].type==="esComment")return["{/* ",e.children[0].value," */}"]}function Jre(e){let t=e.findAncestor(r=>r.type==="linkReference"||r.type==="imageReference");return t&&(t.type!=="linkReference"||t.referenceType!=="full")}var Kre=(e,t)=>{for(let r of t)e=br(0,e,r,encodeURIComponent(r));return e};function kg(e,t=[]){let r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map(n=>Dp(n)).join("|")).test(e)?`<${Kre(e,"<>")}>`:e}function Ym(e,t,r=!0){if(!e)return"";if(r)return" "+Ym(e,t,!1);if(t.parser==="mdx"&&(e=br(0,e,/\\(?=["')])/g,"")),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=gre(e,t.singleQuote);return e=br(0,e,"\\","\\\\"),e=br(0,e,n,`\\${n}`),`${n}${e}${n}`}function Gm(e,t){let r=(0,dre.default)(e.label);return t?.parser==="mdx"?`[${r}]`:`[${br(0,r,/[\\[\]]/g,n=>`\\${n}`)}]`}function US(e){return`[^${e.label}]`}function VS(e,t){return t.parser!=="mdx"&&e.originalAltText?e.originalAltText:e.alt||""}var Xre=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(Yr(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dp([...this.#e].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,r=>t.has(r))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
- `)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
- `).map(r=>r.slice(t)).join(`
- `)}},Yre=Xre,Qre=[" ",`
- `,"\f","\r"," "],Zre=new Yre(Qre),aD=Zre;function ene(e){let t=0;for(let r of e)if(r===">")t++;else if(r!==" "&&r!==" ")break;return t}function tne(e,t){let r=/[ \t]*(?:>|\\>|>|>|�*62;|&#[xX]0*3[eE];)[ \t]*/y,n=[],{lastIndex:i}=r,s;for(;s=r.exec(e);)n.push(s.index),i=r.lastIndex;if(t===0)return e.slice(i);let a=Yr(0,n,-t);return a===null?e:e.slice(a)}var rne=/(?<!\\)(?:\\\\)*(?:
|�*10;|&#[Xx]0*[Aa];)/g;function nne(e,t){let r=e.split(`
- `),n=t.value.split(`
- `),i=0;return r.map((s,a)=>{let o=n[i++],u=s.matchAll(rne);if(i+=[...u].length,a===0)return s;let h=ene(o);return tne(s,h)}).join(`
- `)}var ine=/^\\?.$/su,sne=/^\n *>[ >]*$/;function ane(e,t){return t.parser==="mdx"?e=one(e,t):e=une(e,t),e=cne(e),t.parser==="mdx"?e=fne(e,t):e=dne(e,t),t.parser!=="mdx"&&(e=mne(e,t)),t.parser==="mdx"?e=yne(e,t):e=Dne(e,t),t.parser==="mdx"?e=pne(e):e=hne(e),e}function one(e,t){return oi(e,r=>{if(r.type!=="text")return r;let{value:n}=r;if(n==="*"||n==="_"||!ine.test(n)||r.position.end.offset-r.position.start.offset===n.length)return r;let i=t.originalText.slice(r.position.start.offset,r.position.end.offset);return sne.test(i)?r:{...r,value:i}})}function une(e,t){return oi(e,r=>(r.type==="text"&&(r.raw=t.originalText.slice(r.position.start.offset,r.position.end.offset)),r))}function lne(e,t,r){return oi(e,n=>{if(!n.children)return n;let i=[],s,a;for(let o of n.children)s&&t(s,o)?(o=r(s,o),i.splice(-1,1,o),a||(a=!0)):i.push(o),s=o;return a?{...n,children:i}:n})}function cne(e){return lne(e,(t,r)=>t.type==="text"&&r.type==="text",(t,r)=>({type:"text",value:t.value+r.value,position:{start:t.position.start,end:r.position.end}}))}function pne(e){return oi(e,(t,r,[n])=>{if(t.type!=="text")return t;let{value:i}=t;return n.type==="paragraph"&&(r===0&&(i=aD.trimStart(i)),r===n.children.length-1&&(i=aD.trimEnd(i))),{type:"sentence",position:t.position,children:Kg(i)}})}function hne(e){let t=new Set,r=new Set;return n(e,(s,a)=>{if(s.type==="wikiLink"){i(a);return}if(s.type==="text"){if(s.raw.includes("[["))for(let o of a)o.type==="paragraph"&&t.add(o);s.raw.includes("]]")&&i(a)}}),oi(e,(s,a,o)=>{if(s.type!=="text")return s;let u=s.raw,h=o.findIndex(p=>p?.type==="paragraph"||p?.type==="heading"),c=h===-1?void 0:o[h];if(c){o.slice(h+1).some(d=>d?.type==="blockquote")&&(u=nne(u,s));let p=o[0];p?.type==="paragraph"&&(a===0&&(u=aD.trimStart(u)),a===p.children.length-1&&(u=aD.trimEnd(u)))}return c&&r.has(c.position)?{type:"text",position:s.position,value:u}:{type:"sentence",position:s.position,children:Kg(u)}});function n(s,a){return(function o(u,h){if(a(u,h),u.children)for(let c of u.children)o(c,[u,...h])})(s,[])}function i(s){for(let a of s)a.type==="paragraph"&&t.has(a)&&r.add(a.position)}}function dne(e,t){return oi(e,r=>{if(r.type!=="code")return r;let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(r.position.start.offset,r.position.end.offset));return r.isIndented=n,r})}function fne(e,t){return oi(e,(r,n,i)=>{if(r.type==="code"){let s=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(r.position.start.offset,r.position.end.offset));if(r.isIndented=s,s)for(let a=0;a<i.length;a++){let o=i[a];if(o.hasIndentedCodeblock)break;o.type==="list"&&(o.hasIndentedCodeblock=!0)}}return r})}function mne(e,t){let{originalText:r}=t;return oi(e,n=>{if(n.type==="image"||n.type==="imageReference")return n.originalAltText=$S(r,n.position.start.offset,n.position.end.offset),n;if(n.type!=="link"||!n.url)return n;let i=$S(r,n.position.start.offset,n.position.end.offset);return i&&/[[\]]/.test(i)&&(n.originalLabelText=i),n})}function $S(e,t,r){let n=e.indexOf("[",t);if(n===-1||n>=r)return null;let i=1,s=n+1;for(;s<r;){let a=e[s];if(a==="\\"){s+=2;continue}if(a==="[")i++;else if(a==="]"&&(i--,i===0))return e.slice(n+1,s);s++}return null}function Dne(e,t){return oi(e,(i,s,a)=>{if(i.type==="list"&&i.children.length>0){for(let u=0;u<a.length;u++){let h=a[u];if(h.type==="list"&&!h.isAligned)return i.isAligned=!1,i}let o=a[0]?.children[s+1];if(o?.type==="code"&&o.isIndented)return i.isAligned=!1,i;i.isAligned=n(i)}return i});function r(i){return i.children.length===0?-1:i.children[0].position.start.column-1}function n(i){if(!i.ordered)return!0;let[s,a]=i.children;if(io(s,t).leadingSpaces.length>1)return!0;let o=r(s);if(o===-1)return!1;if(i.children.length===1)return o%t.tabWidth===0;let u=r(a);return o!==u?!1:o%t.tabWidth===0?!0:io(a,t).leadingSpaces.length>1}}function yne(e,t){return oi(e,(i,s,a)=>{if(i.type==="list"&&i.children.length>0){for(let o=0;o<a.length;o++){let u=a[o];if(u.type==="list"&&!u.isAligned)return i.isAligned=!1,i}i.isAligned=n(i)}return i});function r(i){return i.children.length===0?-1:i.children[0].position.start.column-1}function n(i){if(!i.ordered)return!0;let[s,a]=i.children;if(io(s,t).leadingSpaces.length>1)return!0;let o=r(s);if(o===-1)return!1;if(i.children.length===1)return o%t.tabWidth===0;let u=r(a);return o!==u?!1:o%t.tabWidth===0?!0:io(a,t).leadingSpaces.length>1}}var gne=ane,up=null;function pp(e){if(up!==null&&typeof up.property){let t=up;return up=pp.prototype=null,t}return up=pp.prototype=e??Object.create(null),new pp}var xne=10;for(let e=0;e<=xne;e++)pp();function Ene(e){return pp(e)}function Cne(e,t="type"){Ene(e);function r(n){let i=n[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return s}return r}var Fne=Cne,Nr=[["children"]],Ane={root:Nr[0],paragraph:Nr[0],sentence:Nr[0],word:[],whitespace:[],emphasis:Nr[0],strong:Nr[0],delete:Nr[0],inlineCode:[],wikiLink:[],link:Nr[0],image:[],blockquote:Nr[0],heading:Nr[0],code:[],html:[],list:Nr[0],thematicBreak:[],linkReference:Nr[0],imageReference:[],definition:[],footnote:Nr[0],footnoteReference:[],footnoteDefinition:Nr[0],table:Nr[0],tableCell:Nr[0],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:Nr[0],listItem:Nr[0],text:[]},bne=Fne(Ane),kne=bne,Tne={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:gne,print:Wre,embed:cre,massageAstNode:Kw,hasPrettierIgnore:Gte,insertPragma:sre,getVisitorKeys:kne,printPrettierIgnored:hre};var rx=W_(l_()),vne=kf,Sne=[J0,w1,ay,xg,ex,rx.default||rx];return G_(wne);})();
-