"use strict";var G=Object.defineProperty;var k=(A,E)=>G(A,"name",{value:E,configurable:!0});exports.ImportType=void 0,function(A){A[A.Static=1]="Static",A[A.Dynamic=2]="Dynamic",A[A.ImportMeta=3]="ImportMeta",A[A.StaticSourcePhase=4]="StaticSourcePhase",A[A.DynamicSourcePhase=5]="DynamicSourcePhase"}(exports.ImportType||(exports.ImportType={}));const r=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function U(A,E="@"){if(!Q)return F.then(()=>U(A));const g=A.length+1,B=(Q.__heap_base.value||Q.__heap_base)+4*g-Q.memory.buffer.byteLength;B>0&&Q.memory.grow(Math.ceil(B/65536));const i=Q.sa(g-1);if((r?R:Y)(A,new Uint16Array(Q.memory.buffer,i,g)),!Q.parse())throw Object.assign(new Error(`Parse error ${E}:${A.slice(0,Q.e()).split(`
`).length}:${Q.e()-A.lastIndexOf(`
`,Q.e()-1)}`),{idx:Q.e()});const a=[],t=[];for(;Q.ri();){const C=Q.is(),I=Q.ie(),D=Q.it(),s=Q.ai(),w=Q.id(),J=Q.ss(),K=Q.se();let o;Q.ip()&&(o=N(A.slice(w===-1?C-1:C,w===-1?I+1:I))),a.push({n:o,t:D,s:C,e:I,ss:J,se:K,d:w,a:s})}for(;Q.re();){const C=Q.es(),I=Q.ee(),D=Q.els(),s=Q.ele(),w=A.slice(C,I),J=w[0],K=D<0?void 0:A.slice(D,s),o=K?K[0]:"";t.push({s:C,e:I,ls:D,le:s,n:J==='"'||J==="'"?N(w):w,ln:o==='"'||o==="'"?N(K):K})}function N(C){try{return(0,eval)(C)}catch{}}return k(N,"k"),[a,t,!!Q.f(),!!Q.ms()]}k(U,"parse");function Y(A,E){const g=A.length;let B=0;for(;B<g;){const i=A.charCodeAt(B);E[B++]=(255&i)<<8|i>>>8}}k(Y,"Q");function R(A,E){const g=A.length;let B=0;for(;B<g;)E[B]=A.charCodeAt(B++)}k(R,"B");let Q;const F=WebAssembly.compile((L="[encoded data, 11796 characters]",typeof Buffer<"u"?Buffer.from(L,"base64"):Uint8Array.from(atob(L),A=>A.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:A})=>{Q=A});var L;exports.init=F,exports.parse=U;
