/* cjs-module-lexer 1.3.1 */
var N=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var f=(A,Q)=>{for(var E in Q)N(A,E,{get:Q[E],enumerable:!0})},U=(A,Q,E,C)=>{if(Q&&typeof Q=="object"||typeof Q=="function")for(let g of S(Q))!F.call(A,g)&&g!==E&&N(A,g,{get:()=>Q[g],enumerable:!(C=R(Q,g))||C.enumerable});return A};var G=A=>U(N({},"__esModule",{value:!0}),A);var i={};f(i,{init:()=>a,parse:()=>K});module.exports=G(i);var B,y=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function K(A,Q="@"){if(!B)throw new Error("Not initialized");let E=A.length+1,C=(B.__heap_base.value||B.__heap_base)+E*4-B.memory.buffer.byteLength;C>0&&B.memory.grow(Math.ceil(C/65536));let g=B.sa(E);(y?c:L)(A,new Uint16Array(B.memory.buffer,g,E));let D=B.parseCJS(g,A.length,0,0,0);if(D){let I=new Error(`Parse error ${Q}${B.e()}:${A.slice(0,B.e()).split(`
`).length}:${B.e()-A.lastIndexOf(`
`,B.e()-1)}`);throw Object.assign(I,{idx:B.e()}),(D===5||D===6||D===7)&&Object.assign(I,{code:"ERR_LEXER_ESM_SYNTAX"}),I}let w=new Set,H=new Set,J=new Set;for(;B.rre();){let I=k(A.slice(B.res(),B.ree()));I&&H.add(I)}for(;B.ru();)J.add(k(A.slice(B.us(),B.ue())));for(;B.re();){let I=k(A.slice(B.es(),B.ee()));I!==void 0&&!J.has(I)&&w.add(I)}return{exports:[...w],reexports:[...H]}}function k(A){if(A[0]==='"'||A[0]==="'")try{let Q=(0,eval)(A);for(let E=0;E<Q.length;E++){let C=Q.charCodeAt(E)&64512;if(!(C<55296))if(C===55296){if((Q.charCodeAt(++E)&64512)!==56320)return}else return}return Q}catch{}else return A}function L(A,Q){let E=A.length,C=0;for(;C<E;){let g=A.charCodeAt(C);Q[C++]=(g&255)<<8|g>>>8}}function c(A,Q){let E=A.length,C=0;for(;C<E;)Q[C]=A.charCodeAt(C++)}var q=async()=>{let A="[encoded data, 31800 characters]";return typeof window<"u"&&typeof atob=="function"?Uint8Array.from(atob(A),Q=>Q.charCodeAt(0)):Buffer.from(A,"base64")},o;function a(){return o||(o=(async()=>{let A=await WebAssembly.compile(await q()),{exports:Q}=await WebAssembly.instantiate(A);B=Q})())}0&&(module.exports={init,parse});
