var Y=Object.defineProperty;var k=(A,E)=>Y(A,"name",{value:E,configurable:!0});var L;(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"})(L||(L={}));const R=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function F(A,E="@"){if(!Q)return G.then(()=>F(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 s=Q.sa(g-1);if((R?c:r)(A,new Uint16Array(Q.memory.buffer,s,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 U=[],t=[];for(;Q.ri();){const C=Q.is(),I=Q.ie(),D=Q.it(),i=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))),U.push({n:o,t:D,s:C,e:I,ss:J,se:K,d:w,a:i})}for(;Q.re();){const C=Q.es(),I=Q.ee(),D=Q.els(),i=Q.ele(),w=A.slice(C,I),J=w[0],K=D<0?void 0:A.slice(D,i),o=K?K[0]:"";t.push({s:C,e:I,ls:D,le:i,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"),[U,t,!!Q.f(),!!Q.ms()]}k(F,"parse");function r(A,E){const g=A.length;let B=0;for(;B>>8}}k(r,"Q");function c(A,E){const g=A.length;let B=0;for(;BA.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:A})=>{Q=A});var a;export{L as ImportType,G as init,F as parse};