@stacksjs/stx 0.2.199 → 0.2.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-znes1shx.js → chunk-2f80w68h.js} +1 -1
- package/dist/{chunk-cr4yw01r.js → chunk-b5nws5vh.js} +1 -1
- package/dist/{chunk-bw1b1sw8.js → chunk-eqq7k4g0.js} +1 -1
- package/dist/{chunk-tks9sy8c.js → chunk-hryeb88f.js} +1 -1
- package/dist/{chunk-2tfcqkdd.js → chunk-macr4195.js} +1 -1
- package/dist/{chunk-a2rry0gq.js → chunk-pa6gyr8e.js} +1 -1
- package/dist/{chunk-wq5cp9p1.js → chunk-v9yzmqsh.js} +1 -1
- package/dist/{chunk-eggn1f96.js → chunk-vx8cht59.js} +1 -1
- package/dist/{chunk-h4pwf1bv.js → chunk-wjqswn35.js} +146 -146
- package/dist/cli.js +3 -3
- package/dist/serve.d.ts +1 -0
- package/dist/serve.js +8 -5
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{rf as a}from"./chunk-
|
|
2
|
+
import{rf as a}from"./chunk-v9yzmqsh.js";import"./chunk-eqq7k4g0.js";import"./chunk-6wx32fa5.js";import"./chunk-8src5smc.js";import"./chunk-gcnrdgrq.js";import"./chunk-xp3fp266.js";import"./chunk-nye9brje.js";import"./chunk-31xczh3c.js";import"./chunk-cbc56wpd.js";import"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{a as startProductionServer};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ff as a}from"./chunk-
|
|
2
|
+
import{ff as a}from"./chunk-vx8cht59.js";import"./chunk-6wx32fa5.js";import"./chunk-8src5smc.js";import"./chunk-gcnrdgrq.js";import"./chunk-xp3fp266.js";import"./chunk-nye9brje.js";import"./chunk-31xczh3c.js";import"./chunk-cbc56wpd.js";import"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{a as buildApp};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Rp as R,cm as E,dm as M}from"./chunk-6wx32fa5.js";import{Wt as m,Yt as d,Zt as p}from"./chunk-3952ykhb.js";import{eu as g,hu as u}from"./chunk-pw0rzgpv.js";var f=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function C(w,J,z){let B={fullTag:z,content:J,attrs:w};if(/\bserver\b/.test(w))return{...B,type:"server"};if(/\bdata-stx-scoped\b/.test(w))return{...B,type:"client"};if(f.test(J))return{...B,type:"signals"};if(/\bclient\b/.test(w)||/\btype\s*=\s*["']module["']/.test(w)||/\bsrc\s*=/.test(w))return{...B,type:"client"};return{...B,type:"server"}}var S=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function P(w){let J=[],z=[],B=[],Y=0;while(Y<w.length){let Q=w.indexOf("<",Y);if(Q===-1)break;let U=M(w,Q);if(U>Q){Y=U;continue}let X=E(w,Q);if(X>Q){let $=w.slice(Q,X),j=S.exec($);if(j){let F=C(j[1],j[2],$);switch(F.type){case"signals":J.push(F);break;case"client":z.push(F);break;case"server":B.push(F);break}}Y=X;continue}Y=Q+(w.startsWith("<!--",Q)?4:1)}return{signals:J,client:z,server:B}}import L from"path";m();var c="stx-page-head:",i=/<!--stx-page-head:([A-Za-z0-9+/=]+)-->\n?/,A=null;function h(){if(A!==null)return A;try{let{getRouterScript:w}=(p(),g(d));A=`<script>${w()}</script>`}catch{A=""}return A}async function e(w,J){if(J===!1)return null;if(J&&typeof J==="string"){let B=L.resolve(w,J);if(await Bun.file(B).exists())return B;return null}let z=L.join(w,"app.stx");if(await Bun.file(z).exists())return z;return null}async function t(w,J){try{let z=await Bun.file(w).text(),B=z,Y=z.match(/<template\b[^>]*>([\s\S]*?)<\/template>/i);if(Y)B=Y[1].trim();let Q=P(z),U=[...Q.client.map((Z)=>Z.fullTag),...Q.signals.map((Z)=>Z.fullTag)],X=[],$=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,j;while((j=$.exec(z))!==null)X.push(j[0]);let F=B;for(let Z of Q.server)F=F.replace(Z.fullTag,"");for(let Z of Q.client)F=F.replace(Z.fullTag,"");F=F.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"");let V="<!--__STX_PAGE_SLOT__-->";if(F=F.replace(/<slot\s*\/>/gi,V).replace(/<slot\s*>\s*<\/slot>/gi,V),!F.includes(V))return console.warn(`[stx] Shell ${w} has no <slot /> \u2014 pages won't be injected`),null;let{processDirectives:W,extractVariables:G,defaultConfig:_,loadStxConfig:v}=await import("./chunk-
|
|
2
|
+
import{Rp as R,cm as E,dm as M}from"./chunk-6wx32fa5.js";import{Wt as m,Yt as d,Zt as p}from"./chunk-3952ykhb.js";import{eu as g,hu as u}from"./chunk-pw0rzgpv.js";var f=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function C(w,J,z){let B={fullTag:z,content:J,attrs:w};if(/\bserver\b/.test(w))return{...B,type:"server"};if(/\bdata-stx-scoped\b/.test(w))return{...B,type:"client"};if(f.test(J))return{...B,type:"signals"};if(/\bclient\b/.test(w)||/\btype\s*=\s*["']module["']/.test(w)||/\bsrc\s*=/.test(w))return{...B,type:"client"};return{...B,type:"server"}}var S=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function P(w){let J=[],z=[],B=[],Y=0;while(Y<w.length){let Q=w.indexOf("<",Y);if(Q===-1)break;let U=M(w,Q);if(U>Q){Y=U;continue}let X=E(w,Q);if(X>Q){let $=w.slice(Q,X),j=S.exec($);if(j){let F=C(j[1],j[2],$);switch(F.type){case"signals":J.push(F);break;case"client":z.push(F);break;case"server":B.push(F);break}}Y=X;continue}Y=Q+(w.startsWith("<!--",Q)?4:1)}return{signals:J,client:z,server:B}}import L from"path";m();var c="stx-page-head:",i=/<!--stx-page-head:([A-Za-z0-9+/=]+)-->\n?/,A=null;function h(){if(A!==null)return A;try{let{getRouterScript:w}=(p(),g(d));A=`<script>${w()}</script>`}catch{A=""}return A}async function e(w,J){if(J===!1)return null;if(J&&typeof J==="string"){let B=L.resolve(w,J);if(await Bun.file(B).exists())return B;return null}let z=L.join(w,"app.stx");if(await Bun.file(z).exists())return z;return null}async function t(w,J){try{let z=await Bun.file(w).text(),B=z,Y=z.match(/<template\b[^>]*>([\s\S]*?)<\/template>/i);if(Y)B=Y[1].trim();let Q=P(z),U=[...Q.client.map((Z)=>Z.fullTag),...Q.signals.map((Z)=>Z.fullTag)],X=[],$=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,j;while((j=$.exec(z))!==null)X.push(j[0]);let F=B;for(let Z of Q.server)F=F.replace(Z.fullTag,"");for(let Z of Q.client)F=F.replace(Z.fullTag,"");F=F.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"");let V="<!--__STX_PAGE_SLOT__-->";if(F=F.replace(/<slot\s*\/>/gi,V).replace(/<slot\s*>\s*<\/slot>/gi,V),!F.includes(V))return console.warn(`[stx] Shell ${w} has no <slot /> \u2014 pages won't be injected`),null;let{processDirectives:W,extractVariables:G,defaultConfig:_,loadStxConfig:v}=await import("./chunk-macr4195.js"),k=await v(),H={__filename:w,__dirname:L.dirname(w)};for(let Z of U){let K=Z.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);if(K&&!Z.includes("client")&&!Z.includes('type="module"'))await G(K[1],H,w)}let N=await W(F,H,w,{..._,...k,...J},new Set),q=N.indexOf(V);if(q===-1)return console.warn("[stx] Shell slot placeholder lost during processing"),null;return{beforeSlot:N.substring(0,q),afterSlot:N.substring(q+V.length),filePath:w,shellScripts:U,shellStyles:X}}catch(z){return console.error(`[stx] Error processing shell ${w}:`,z),null}}function ww(w,J,z){let B,Y="",Q=J.match(i);if(Q){J=J.replace(Q[0],"");try{let F=Buffer.from(Q[1],"base64").toString("utf8"),V=F.match(/<title[^>]*>([\s\S]*?)<\/title>/i);if(V)B=V[1].trim();Y=F.replace(/<title[^>]*>[\s\S]*?<\/title>/i,"").trim()}catch{}}let U=z||B||"stx App",X=h(),$="<script>window.__stxRouterConfig={container:'[data-stx-content]'};</script>";return`<!DOCTYPE html>
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{xg as a}from"./chunk-
|
|
2
|
+
import{xg as a}from"./chunk-pa6gyr8e.js";import"./chunk-ndnc7k2n.js";import"./chunk-eqq7k4g0.js";import"./chunk-whq99ytc.js";import"./chunk-3es366z4.js";import"./chunk-yckd6ks5.js";import"./chunk-6wx32fa5.js";import"./chunk-8src5smc.js";import"./chunk-gcnrdgrq.js";import"./chunk-xp3fp266.js";import"./chunk-nye9brje.js";import"./chunk-31xczh3c.js";import"./chunk-cbc56wpd.js";import"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{a as buildForProduction};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as Gk,$a as sm,$b as Kn,$c as Lo,$d as Lp,A as qj,Aa as Dl,Ab as cn,Ac as ko,Ad as kp,Ae as qq,B as rj,Ba as El,Bb as dn,Bc as lo,Bd as lp,Be as rq,C as sj,Ca as Fl,Cb as en,Cc as mo,Cd as mp,Ce as sq,D as tj,Da as Sl,Db as fn,Dc as no,Dd as np,De as tq,E as jk,Ea as Tl,Eb as gn,Ec as oo,Ed as op,Ee as uq,F as kk,Fa as Ul,Fb as hn,Fc as po,Fd as pp,Fe as vq,G as lk,Ga as Vl,Gb as jn,Gc as qo,Gd as qp,Ge as wq,H as mk,Ha as Wl,Hb as kn,Hc as ro,Hd as rp,He as xq,I as nk,Ia as _l,Ib as ln,Ic as so,Id as sp,Ie as yq,J as ok,Ja as $l,Jb as mn,Jc as to,Jd as tp,Je as zq,K as pk,Ka as am,Kb as nn,Kc as uo,Kd as up,Ke as Aq,L as qk,La as bm,Lb as on,Lc as vo,Ld as vp,Le as Bq,M as rk,Ma as cm,Mb as pn,Mc as wo,Md as wp,Me as Cq,N as sk,Na as dm,Nb as qn,Nc as xo,Nd as xp,Ne as Dq,O as tk,Oa as em,Ob as xn,Oc as yo,Od as yp,Oe as Eq,P as uk,Pa as fm,Pb as yn,Pc as zo,Pd as zp,Pe as Fq,Q as vk,Qa as gm,Qb as zn,Qc as Ao,Qd as Ap,Qe as Gq,R as wk,Ra as hm,Rb as An,Rc as Bo,Rd as Bp,Re as Hq,S as xk,Sa as im,Sb as Bn,Sc as Co,Sd as Cp,Se as Iq,T as yk,Ta as jm,Tb as Cn,Tc as Do,Td as Dp,Te as Jq,U as zk,Ua as km,Ub as Dn,Uc as Eo,Ud as Ep,Ue as Kq,V as Ak,Va as lm,Vb as En,Vc as Fo,Vd as Fp,Ve as Lq,W as Bk,Wa as mm,Wb as Fn,Wc as Go,Wd as Gp,We as Mq,X as Ck,Xa as nm,Xb as Gn,Xc as Ho,Xd as Hp,Xe as Nq,Y as Dk,Ya as pm,Yb as Hn,Yc as Io,Yd as Ip,Z as Ek,Za as qm,Zb as In,Zc as Jo,Zd as Jp,_ as Fk,_a as rm,_b as Jn,_c as Ko,_d as Kp,aa as Hk,ab as tm,ac as Ln,ad as Mo,ae as Mp,ba as Ik,bb as um,bc as Mn,bd as No,be as Np,ca as Jk,cb as vm,cc as Nn,cd as Oo,ce as Op,da as Kk,db as wm,dc as On,dd as Po,de as Pp,ea as Lk,eb as xm,ec as Pn,ed as Qo,ee as Qp,fa as Mk,fb as ym,fc as Qn,fd as Ro,fe as Rp,ga as Nk,gb as zm,gc as Rn,gd as So,ge as Sp,ha as Ok,hb as Am,hc as Sn,hd as To,he as Tp,ia as Pk,ib as Bm,ic as Tn,id as Uo,ie as Up,ja as Qk,jb as Cm,jc as Un,jd as Vo,je as Vp,ka as Rk,kb as Dm,kc as Vn,kd as Wo,ke as Wp,la as Sk,lb as Em,lc as Wn,ld as Xo,le as Xp,ma as Tk,mb as Fm,mc as Xn,md as Yo,me as Yp,na as Uk,nb as Gm,nc as Yn,nd as Zo,ne as Zp,o as a,oa as Vk,ob as Hm,oc as Zn,od as _o,oe as _p,p as bj,pa as Wk,pb as Km,pc as _n,pd as $o,pe as fq,q as cj,qa as tl,qb as Lm,qc as $n,qd as ap,qe as gq,r as dj,ra as ul,rb as Mm,rc as ao,rd as bp,re as hq,s as ej,sa as vl,sb as Nm,sc as bo,sd as cp,se as iq,t as fj,ta as wl,tb as Tm,tc as co,td as dp,te as jq,u as gj,ua as xl,ub as Um,uc as eo,ud as ep,ue as kq,v as hj,va as yl,vb as Vm,vc as fo,vd as fp,ve as lq,w as ij,wa as zl,wb as Wm,wc as go,wd as gp,we as mq,x as jj,xa as Al,xb as $m,xc as ho,xd as hp,xe as nq,y as oj,ya as Bl,yb as an,yc as io,yd as ip,ye as oq,z as pj,za as Cl,zb as bn,zc as jo,zd as jp,ze as pq}from"./chunk-h4pwf1bv.js";import{$e as un,Ye as rn,Ze as sn,_e as tn,af as vn,bf as wn}from"./chunk-mvb60bhh.js";import{cf as Im,df as Jm}from"./chunk-9xh78snm.js";import{ef as Om}from"./chunk-xgejppzh.js";import{ff as sl}from"./chunk-eggn1f96.js";import{gf as Xl,hf as Yl,if as Zl,jf as om,kf as Pm,lf as Qm,mf as Rm,nf as Sm,of as Xm,pf as Ym,qf as Zm,rf as _m}from"./chunk-wq5cp9p1.js";import{Af as Cj,Bf as Dj,Cf as Ej,Df as Fj,Ef as Gj,Ff as Hj,Gf as Ij,sf as uj,tf as vj,uf as wj,vf as xj,wf as yj,xf as zj,yf as Aj,zf as Bj}from"./chunk-fnkxbnka.js";import{Hf as Zj,If as _j,Jf as $j,Kf as ak,Lf as bk,Mf as ck,Nf as dk,Of as ek,Pf as fk,Qf as gk,Rf as hk,Sf as ik}from"./chunk-1mhc4g86.js";import{Tf as Xj,Uf as Yj}from"./chunk-1e25ksp6.js";import{Vf as Si,Xf as Ti}from"./chunk-9b82d4g5.js";import{bg as Jj,cg as Kj,dg as Lj,eg as Mj,fg as Nj,gg as Oj,hg as Pj,jg as Qj,kg as Rj,lg as Sj,mg as Tj,ng as Uj,og as Vj,rg as Wj}from"./chunk-ygr11tgz.js";import{sg as hl,tg as il,ug as jl,vg as kl,wg as nl,xg as rl}from"./chunk-a2rry0gq.js";import{Bg as ml,yg as ll}from"./chunk-ndnc7k2n.js";import{Jg as Xk,Kg as Yk,Lg as Zk,Mg as _k,Ng as $k,Og as al,Pg as bl,Qg as cl,Rg as ol,Sg as pl,Tg as ql}from"./chunk-bw1b1sw8.js";import{$g as Nl,Ug as Gl,Vg as Hl,Wg as Il,Xg as Jl,Yg as Kl,Zg as Ll,_g as Ml,ah as Ol,bh as Pl,ch as Ql,dh as Rl}from"./chunk-st5qggks.js";import{eh as Gg}from"./chunk-z2sp0k8d.js";import{fh as Ng,gh as Og,hh as Pg,ih as Qg,jh as Rg,kh as Sg}from"./chunk-237jkeca.js";import{lh as fi,mh as gi,nh as hi,rh as ii,sh as ji,th as ki}from"./chunk-mkm91b6w.js";import{Ah as wi,Bh as xi,Ch as yi,Dh as zi,Eh as Ai,uh as qi,vh as ri,wh as si,xh as ti,yh as ui,zh as vi}from"./chunk-e0460y7f.js";import{Fh as Xh,Gh as Yh,Hh as Zh,Ih as _h,Jh as $h,Lh as ai,Mh as bi,Nh as ci,Oh as di,Ph as ei}from"./chunk-q8szpd6w.js";import{Qh as Tf,Rh as Uf,Sh as Vf,Th as Wf,Uh as Xf}from"./chunk-w0ng9e1m.js";import{Vh as Yf,Wh as Zf,Xh as _f,Yh as $f,Zh as ag}from"./chunk-x13f5bbe.js";import{$h as cg,_h as bg,ai as dg,bi as eg,ci as fg,di as gg,ei as hg}from"./chunk-ymccpdg6.js";import{fi as ig,gi as jg,hi as kg,ii as lg,ji as mg,ki as ng}from"./chunk-vgk5v31k.js";import{mi as og,ni as pg,oi as qg,pi as rg,qi as sg,ri as tg,si as ug,ti as vg,ui as wg,vi as xg,wi as yg,xi as zg,yi as Ag,zi as Bg}from"./chunk-n8zpm7xb.js";import{Bi as Cg,Ci as Dg,Di as Eg,Ei as Fg}from"./chunk-y4hkqsgw.js";import{Ji as sf,Ki as tf,Li as uf,Mi as vf,Ni as wf,Oi as xf,Pi as yf,Qi as zf,Ri as Af,Si as Bf,Ti as Cf}from"./chunk-m1awve2j.js";import{Ui as Hf,Vi as If}from"./chunk-jn49sc7r.js";import{Yi as Jf}from"./chunk-4v5fsrdd.js";import"./chunk-ht51fz7w.js";import{aj as Kf}from"./chunk-fvjh7rx0.js";import{bj as Lf,cj as Mf}from"./chunk-b6jhznkh.js";import{dj as Nf,ej as Of,fj as Pf,gj as Qf,hj as Rf,ij as Sf}from"./chunk-hyrjade7.js";import{jj as Fd,kj as Gd,lj as Hd,mj as Id,nj as Jd,oj as Kd,pj as Ld,qj as Md,rj as Nd,sj as Od,tj as Pd,uj as Qd,vj as Rd,wj as Sd}from"./chunk-a4mcc2dm.js";import{xj as qf,yj as rf}from"./chunk-whq99ytc.js";import{Fj as bf,Gj as cf,Hj as df,Ij as ef,Jj as ff,Kj as gf,Lj as hf,Mj as jf,Nj as kf,Oj as lf,Pj as mf,Qj as nf,Rj as of,Sj as pf}from"./chunk-3es366z4.js";import{kk as $p,lk as aq,mk as bq,nk as cq,ok as dq,pk as eq}from"./chunk-3jfg5kdy.js";import{qk as kj,rk as lj,sk as mj,tk as nj,uk as dl,vk as el,wk as fl,xk as gl}from"./chunk-ycn1vnv2.js";import"./chunk-yckd6ks5.js";import"./chunk-zgvga8rc.js";import{$l as Ka,$m as Mb,$n as ad,$o as fe,$q as Kh,Al as ia,Am as mb,An as lc,Ao as Bd,Ap as Ge,Aq as ah,Ar as Ki,Bn as mc,Bo as Cd,Bp as He,Bq as bh,Br as Li,Cm as nb,Cn as nc,Co as Dd,Cp as Ie,Cq as ch,Cr as Mi,Dl as ja,Dm as ob,Dn as oc,Do as Ed,Dp as Je,Dq as dh,Dr as Ni,El as ka,Em as pb,En as pc,Ep as Ke,Eq as eh,Er as Oi,Fl as la,Fm as qb,Fn as qc,Fo as Td,Fp as Le,Fq as fh,Fr as Pi,Gl as ma,Gm as rb,Gn as rc,Gp as Me,Gq as gh,Gr as Qi,Hl as na,Hm as sb,Hn as sc,Hp as Ne,Hq as hh,Hr as Ri,Im as tb,In as tc,Ip as Oe,Iq as rh,Ir as Ui,Jm as ub,Jn as uc,Jp as Pe,Jq as sh,Jr as Vi,Kl as qa,Km as vb,Kn as vc,Kp as Qe,Kq as th,Kr as Wi,Ll as ra,Lm as wb,Ln as wc,Lp as Re,Lq as uh,Lr as Xi,Ml as ya,Mm as xb,Mn as xc,Mo as Ud,Mp as Se,Mq as vh,Mr as Yi,Nl as za,Nm as yb,Nn as yc,Np as Te,Nq as wh,Nr as Zi,Ol as Aa,Om as zb,On as zc,Oo as Vd,Op as Ue,Oq as xh,Or as _i,Pl as Ba,Pm as Ab,Pn as Ac,Pp as Ve,Pq as yh,Pr as $i,Ql as Ca,Qm as Bb,Qn as Bc,Qo as Wd,Qp as We,Qq as zh,Qr as aj,Rl as Da,Rm as Cb,Rn as Cc,Ro as Xd,Rp as Xe,Rq as Ah,Sl as Ea,Sm as Db,Sn as Dc,So as Yd,Sp as Ye,Sq as Bh,Tl as Fa,Tm as Eb,Tn as Ec,To as Zd,Tp as Ze,Tq as Ch,Ul as Ga,Um as Fb,Un as Fc,Uo as _d,Up as _e,Uq as Dh,Vm as Gb,Vn as Gc,Vo as $d,Vp as $e,Vq as Eh,Wm as Hb,Wn as Hc,Wo as ae,Wp as af,Wq as Fh,Xm as Ib,Xn as Ic,Xo as be,Xq as Gh,Yl as Ha,Ym as Jb,Yn as Zc,Yo as ce,Yp as Df,Yq as Hh,Zl as Ia,Zm as Kb,Zn as _c,Zo as de,Zq as Ih,_l as Ja,_m as Lb,_n as $c,_o as ee,_q as Jh,am as La,an as Nb,ao as bd,ap as ge,ar as Lh,bm as Ma,bn as Ob,bo as cd,bp as he,br as Mh,cn as Pb,co as dd,cp as ie,cr as Nh,dl as s,dn as Qb,do as ed,dp as je,dr as Oh,el as t,em as Na,en as Rb,eo as fd,ep as ke,er as Ph,fl as u,fm as Oa,fn as Sb,fo as gd,fp as le,fr as Qh,gl as v,gm as Pa,gn as Tb,go as hd,gp as me,gr as Rh,hl as w,hm as Qa,hn as Ub,ho as id,hp as ne,hr as Sh,il as x,im as Ra,in as Vb,io as jd,ip as oe,iq as Ef,ir as Th,jl as y,jm as Sa,jn as Wb,jo as kd,jp as pe,jq as Ff,jr as Uh,kl as z,km as Ta,kn as Xb,ko as ld,kp as qe,kq as Gf,kr as Vh,ll as A,lm as Ua,ln as Yb,lo as md,lp as re,lq as Hg,lr as Wh,ml as B,mm as Va,mn as Zb,mo as nd,mp as se,mq as Ig,mr as li,nl as C,nm as Wa,nn as _b,no as od,np as te,nq as Jg,nr as mi,ol as D,om as Xa,on as $b,oo as pd,op as ue,oq as Kg,or as ni,pl as E,pm as Ya,pn as ac,po as qd,pp as ve,pq as Lg,pr as oi,ql as F,qm as Za,qn as bc,qo as rd,qp as we,qq as Mg,qr as pi,rl as G,rm as _a,rn as cc,ro as sd,rp as xe,rq as Tg,rr as Bi,sl as H,sm as $a,sn as dc,so as td,sp as ye,sq as Ug,sr as Ci,tl as I,tn as ec,to as ud,tp as ze,tq as Vg,tr as Di,ul as J,um as gb,un as fc,uo as vd,up as Ae,uq as Wg,ur as Ei,vl as da,vm as hb,vn as gc,vo as wd,vp as Be,vq as Xg,vr as Fi,wl as ea,wm as ib,wn as hc,wo as xd,wp as Ce,wq as Yg,wr as Gi,xl as fa,xm as jb,xn as ic,xo as yd,xp as De,xq as Zg,xr as Hi,yl as ga,ym as kb,yn as jc,yo as zd,yp as Ee,yq as _g,yr as Ii,zl as ha,zm as lb,zn as kc,zo as Ad,zp as Fe,zq as $g,zr as Ji}from"./chunk-6wx32fa5.js";import{$r as n,Rr as d,Sr as e,Tr as f,Ur as g,Vr as h,Wr as i,Xr as j,Yr as k,Zr as l,_r as m,as as o,bs as p,cs as q,ds as r}from"./chunk-8src5smc.js";import{es as b,fs as c}from"./chunk-gcnrdgrq.js";import{gs as oa,hs as pa}from"./chunk-xp3fp266.js";import{is as ih,js as jh,ks as kh,ls as lh,ms as mh,ns as nh,os as oh,ps as ph,qs as qh}from"./chunk-nye9brje.js";import{Es as db,Fs as eb,Gs as fb,rs as ab,ss as bb,us as cb}from"./chunk-31xczh3c.js";import{Hs as sa,Is as ta,Js as ua,Ks as va,Ls as wa,Ms as xa}from"./chunk-cbc56wpd.js";import{$s as Xc,Ns as Jc,Os as Kc,Ps as Lc,Qs as Mc,Rs as Nc,Ss as Oc,Ts as Pc,Us as Qc,Vs as Rc,Ws as Sc,Xs as Tc,Ys as Uc,Zs as Vc,_s as Wc,at as Yc}from"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import{Ft as P,Gt as Q,Ht as R,It as S,Jt as T,Kt as U,Lt as V,Mt as W,Nt as X,Ot as Y,Pt as Z,Qt as _,Rt as $,St as aa,Tt as ba,Vt as ca,pt as K,qt as L,tt as M,yt as N,zt as O}from"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{Ej as writeNetlifyConfig,pl as writeManifest,hk as writeImageManifest,Gn as wrapComponentForHMR,Aq as withDefaults,Ri as webComponentDirectiveHandler,wo as watermark,yp as watchViews,rk as watchMultiple,sk as watchEffect,qk as watch,Gk as waitForStore,wd as waitForLocale,sn as virtualPathFor,Ei as videoDirective,Tb as validators,Eq as validated,id as validateValueEnhanced,Ig as validateTemplate,Bo as validateParams,jd as validateFormEnhanced,np as validateFile,ed as validateFields,dd as validateField,Kg as validateDirective,Dc as validateCspDirectives,Zi as validateConfig,ul as validateComponentScripts,Sl as validateComponentProps,Gf as validateClientScript,Fg as v,Ua as usesSignalsInScript,Xg as userComponentFileExists,lg as useVirtualList,Rc as useTitle,Fk as useStoreOrThrow,Yn as useStore,oj as useStorage,Jp as useSlots,qj as useSessionStorage,Oc as useSeoMeta,Hk as useRouteParams,Jk as useRouteParamOrThrow,Ik as useRouteParam,Rc as usePageTitle,pf as useOptimistic,Lk as useMiddlewareValue,Kk as useMiddlewareState,pj as useLocalStorage,zn as useLoadingIndicator,Mc as useHead,Cg as useForm,Lp as useAttrs,pp as uploadFiles,op as uploadFile,Bk as updateInstance,nf as untrack,lh as unregisterDirective,Ck as unmountInstance,$a as unescapeHtml,vn as typecheckStxFiles,Wg as transpileTypeScript,oq as translate,w as transitionDirective,Ml as toUsers,Ll as toUser,fo as thumbnail,gp as thumbHashToRGBA,hp as thumbHashToDataURL,sf as templateCache,Dn as stxClientHelpers,me as structuredDataDirective,rq as stripLocalePrefix,al as stripDocumentWrapper,pa as stripCommentsAndLiterals,ym as stringToStream,rc as strictCspPreset,Nd as streamingSuspenseDirective,Rd as streamToResponse,Ld as streamTemplateSimple,Fd as streamTemplate,jj as stopHmrServer,Il as stopBroadcasting,va as stateDirName,wa as stateDir,bf as state,Xe as startsDocument,_m as startProductionServer,Om as startInteractive,Hl as startBroadcasting,D as staggerDirective,zo as srcsetUrls,E as springDirective,ac as splitByPipe,tn as sourcePathFor,Go as smartBatchSign,Zg as slotContentHasExpressions,Eo as signUrl,Ug as shouldTranspileTypeScript,gj as shouldReloadOnChange,Jo as shouldRefreshSignature,hj as shouldIgnoreFile,dg as shouldCacheComponent,jo as sharpen,Hq as shape,ua as setStateDir,Pk as setRouteParams,Qk as setMiddlewareState,Dp as setGlobalProvide,ob as setErrorLocale,jk as setCurrentInstance,si as setCachedVideoResult,hi as setCachedImageResult,bi as setCached,Kq as serveStxFile,Mq as serveMultipleStxFiles,bj as serveMarkdownFile,jn as serveFile,Nq as serveApp,hn as serve,Jn as serializeState,om as serializeSetCookie,lo as sepia,Pc as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,Ii as scopeHTML,Hi as scopeCSS,pe as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,po as saturation,Co as sanitizeParams,Vb as sanitizeFilePath,Wb as sanitizeExpression,Xb as sanitizeDirectiveParams,Ub as sanitizeDirectiveParam,Yb as sanitizeComponentProps,Ob as safeExecuteAsync,Nb as safeExecute,fe as runPreProcessingMiddleware,ge as runPostProcessingMiddleware,Rm as runPageAction,hf as runMountCallbacks,ba as runMiddleware,zk as runHooks,hq as runDoctor,jf as runDestroyCallbacks,ue as runComposers,qo as rotate,Gg as rewriteImagesWithSiblings,bh as resolveTemplatePath,c as resolveStxTargets,Vi as resolveStxDirectories,nq as resolveI18n,co as resize,Ha as resetPlaceholders,Lc as resetHead,In as resetHMRHandler,Bb as resetErrorConfig,Cq as required,La as replacePlaceholders,wp as renderView,Bi as renderVideoComponent,za as renderVendorStyleTags,Sp as renderToString,Tp as renderToStream,Up as renderToDOM,fp as renderThumbhashToCanvas,eq as renderTemplateString,cq as renderTemplate,dq as renderString,Id as renderStreamingPage,Pg as renderSlot,Vf as renderSSRSuspense,Ro as renderProtectedVideo,Qo as renderProtectedImg,Do as renderMediaUpload,bq as renderMarkdownView,fl as renderLayoutTypes,li as renderImgComponent,Zj as renderImageComponent,Tc as renderHtmlAttrs,Sc as renderHead,zp as renderEmail,$g as renderComponentWithSlot,Uc as renderBodyAttrs,Tn as render,tc as relaxedCspPreset,cd as registerValidationRule,Pd as registerStreamingDirectives,_n as registerStoresClient,Nk as registerStore,ne as registerSeoDirectives,V as registerMiddleware,Pa as registerFilters,Oa as registerFilter,qb as registerErrorMessages,hd as registerEnhancedValidationRule,ih as registerDirective,Cc as registerCspDirectives,Vl as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,nk as ref,Gm as redirect,xa as rebaseOntoStateDir,$i as readMarkdownFile,tf as readFileCached,ok as reactive,uo as quality,Oo as pruneSignatureCache,ei as pruneCache,Bp as provide,aq as protectCodeBlocks,Bq as prop,ye as processVueTemplate,jg as processVirtualListDirectives,ng as processVirtualGridDirectives,Ai as processVideo,fd as processValidateDirective,Dd as processTranslateDirective,Pf as processTransitionDirectives,Sf as processTransitionAttributes,Xc as processTitleDirective,jb as processTemplateBindings,Lf as processTeleportDirectives,Tf as processSuspenseDirectives,ie as processStructuredData,Jd as processStreamDirectives,Ag as processStaticDirectives,de as processStackReplacements,ce as processStackPushDirectives,Qg as processSlots,_k as processShell,we as processServerBindings,je as processSeoDirective,Qd as processSectionDirectives,Be as processScopedStyles,hb as processReactiveBindings,So as processProtectedMedia,tg as processPartialHydrationDirectives,Ff as processOnceDirective,ee as processMiddleware,he as processMetaDirectives,Yc as processMetaDirective,aj as processMarkdownFileDirectives,gh as processMarkdownDirectives,Zd as processLoops,bg as processKeepAliveDirectives,Ef as processJsonDirective,mg as processInfiniteListDirectives,be as processIncludes,ni as processImgComponents,$j as processImageComponents,Oj as processImage,Wc as processHeadDirective,_c as processForms,ad as processFormInputDirectives,Ya as processExpressions,ma as processEventDirectives,bd as processErrorDirective,ze as processDynamicComponents,Hg as processDirectives,qh as processDirectiveAttributes,Kf as processDeferDirectives,Hc as processCustomDirectives,zc as processCspDirectives,Iq as processComponentProps,Ga as processClientScript,$c as processBasicFormDirectives,Yf as processAsyncDirectives,Ic as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,sd as preloadTranslationsBackground,rd as preloadTranslations,yn as preloadIslandHandlers,Td as preloadIconCollection,Dl as poolStrings,Ti as pluginManager,Of as performLeave,Nf as performEnter,kf as pendingLifecycleCounts,of as peek,_d as partialsCache,Ci as parseVideoDirectiveOptions,ao as parseUrl,ip as parseThumbhashString,gc as parseSwitchBlock,Ng as parseSlots,Og as parseSlotElement,lc as parseScriptDeclarations,Pi as parseSFCComponent,To as parseProtectedArgs,Yd as parseLoopBinding,mi as parseImgComponent,Eh as parseImageUrl,_j as parseImageComponent,Pm as parseFormBody,ic as parseExpressionWithFilters,Dm as parseCookies,_l as parseContainerSelector,dc as parseConditionalBlock,jc as parseArguments,H as parseAnimationShorthand,Dq as optional,El as optimizeTemplate,ek as optimizeImage,fk as optimizeDirectory,Fq as oneOf,$d as onceStore,wk as onUpdated,gb as onUpdate,yk as onUnmounted,Uk as onServer,uk as onMounted,ff as onMount,zg as onHydrated,Hp as onErrorCaptured,gf as onDestroy,hg as onDeactivated,Tk as onClient,vk as onBeforeUpdate,xk as onBeforeUnmount,tk as onBeforeMount,gg as onActivated,bp as observeElement,Hm as notFound,Ge as normalizeCriticalHeadOrder,Gp as nextTick,Yl as negotiateEncoding,P as navigateTo,Ak as mountInstance,z as motionDirective,sc as moderateCspPreset,Cl as minifyHtml,le as metaDirective,Qe as metaDedupKey,bo as mergeParams,Se as mergeHtmlAttrs,Nc as mergeHeadConfigs,wc as mergeCspDirectives,bb as mergeCrosswindConfig,M as matchRoute,hh as markdownDirectiveHandler,_i as markdownCache,b as looksLikeGlob,qq as localizePath,td as loadTranslationLazy,zd as loadTranslation,Wi as loadStxConfig,_ as loadMiddlewareFromDirectory,ql as loadManifest,Zo as loadElement,Jl as loadChannels,wq as lintStxStrict,$o as lazyLoadAll,_o as lazyLoad,C as keyframeDirective,Qp as jsxs,Rp as jsxDEV,Pp as jsx,Fm as jsonResponse,Od as islandDirective,yb as isTest,bl as isSpaNavigation,Ho as isSignatureValid,lf as isSignal,Mj as isSharpAvailable,rm as isServerEnvironment,Rk as isServer,wb as isProduction,d as isPresentationalRole,Wo as isNativeLazySupported,$p as isMarkdownPath,pd as isLoading,qd as isLoaded,Tg as isJavaScriptScript,Xo as isIntersectionObserverSupported,Uj as isImageFile,Nj as isImageBackendAvailable,Bd as isICUFormat,yg as isHydrated,Yg as isHydrateTrigger,qm as isEdgeEnvironment,xq as isDirectiveKind,xb as isDevelopment,mf as isDerived,fj as isCssOnlyChange,Xl as isCompressible,Sk as isClient,_f as isAsyncComponent,Qm as isActionableMethod,mo as invert,vf as invalidateFileCacheByDir,uf as invalidateFileCache,Xa as interpolateScriptsInTemplate,Va as interpolateScriptExpressions,Wa as interpolateScriptAttributes,Kb as inlineError,mq as injectThemeBootstrap,ke as injectSeoTags,jq as injectSeo,Df as injectRouterScript,ej as injectHotReload,fa as injectHeatmap,xc as injectCspMetaTag,fb as injectCrosswindCSS,Ze as injectConfigHeadTags,Fe as injectColorModeBootScript,Ue as injectCloakStyle,Me as injectBuildId,Ba as injectBrowserCoreAutoImports,lb as injectAnalytics,Cp as inject,Mk as initStoreRegistry,Hj as initNetlify,An as initLoadingIndicator,Yo as initLazyLoading,Nm as initFile,ep as initBlurUp,kp as initAllBlurUp,pi as imgDirective,ck as imageDirective,Ym as hydrateTemplateStream,Xm as hydrateTemplate,xn as hydrateIslands,vg as hydrateIsland,Zm as hydrateFragment,wg as hydrateByStrategy,xg as hydrateAll,Qn as hydrate,gn as htmlResponse,Ve as hoistLeadingHeadTags,He as hoistColorModeBootScript,ga as heatmapDirective,Zh as hashString,Cf as hashFilePath,Xh as hashFile,Yh as hashBuffer,xe as hasVueTemplateSyntax,Xd as hasVariables,Vn as hasStore,Ma as hasPlaceholders,Fj as hasNetlifyConfig,X as hasMiddleware,na as hasEventDirectives,Ye as hasDocumentShell,Lg as hasDirectives,h as hasDOMSupport,Xj as handleImageRequest,Ip as handleError,Yp as h,Tj as groupVariantsByFormat,ko as grayscale,$m as gitHash,wl as getUnusedDirectives,ud as getTranslationSync,nd as getTranslationCacheStats,vd as getTranslationAsync,Cd as getTranslation,Aj as getTotalSize,Io as getTimeUntilExpiry,Hf as getStoreScript,Wn as getStoreNames,Un as getStore,tj as getStorageSize,sj as getStorageKeys,ch as getSourceLineInfo,Vg as getSharedTranspiler,g as getScreenReaderOnlyStyle,Ji as getScopeAttribute,af as getRouteParams,qa as getPublicEnvDefine,ra as getPublicEnv,Jg as getPositionInfo,Ja as getPlaceholderRegistry,Wh as getPlaceholderCacheStats,Kc as getPageMeta,nc as getNonce,Vj as getMimeType,Z as getMiddlewareNames,W as getMiddleware,od as getLoadingState,xd as getLoadingLocales,Pj as getImageMetadata,Pn as getHydrationRuntime,Ok as getHydratedStoreState,ij as getHmrServer,Jc as getHead,Hn as getHMRHandler,Ih as getFormatExtension,$h as getFileMtime,Sj as getFallbackVariant,sb as getErrorMessage,pb as getErrorLocale,Ab as getErrorConfig,vb as getErrorCodeName,kh as getDirectives,jh as getDirective,kk as getCurrentInstance,vc as getCspPreset,Ec as getCspHeaderName,cb as getCrosswindServeAsset,fh as getComponentCacheStats,ri as getCachedVideoResult,Mo as getCachedSignature,xf as getCachedSignalsRuntime,yf as getCachedRouterScript,Uh as getCachedPlaceholder,gi as getCachedImageResult,ai as getCached,di as getCacheStats,Ke as getBuildId,Gl as getBroadcastServer,Hh as getBestVariant,Qa as getAllFilters,vh as generateWidthSrcset,kg as generateVirtualListCSS,rp as generateVideoPreview,kd as generateValidationScript,sp as generateUploadRuntime,xl as generateTreeShakenBundle,Rf as generateTransitionRuntime,Qf as generateTransitionCSS,vi as generateThumbnails,Nh as generateThumbhashPlaceholder,hm as generateTemplatesDocs,Xf as generateSuspenseRuntime,Wf as generateSuspenseCSS,Kn as generateStateScript,Fh as generateSrcsetData,ki as generateSrcset,Qj as generateSrcSet,wi as generateSpriteSheet,Ap as generateSpaShell,Gh as generateSourceTags,Bh as generateSizesFromBreakpoints,Ah as generateSizesAttribute,Rj as generateSizes,oe as generateSitemapIndex,kq as generateSitemap,Vo as generateSimpleMediaPicker,Po as generateSignatureRuntime,rf as generateSignalsRuntimeDev,qf as generateSignalsRuntime,Fa as generateServerDataBridge,Gi as generateScopeId,Qi as generateSFCWebComponent,ka as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,qe as generateRobotsTxt,lq as generateRobots,ji as generateResponsiveVariants,Mi as generateReactiveWebComponentTS,Li as generateReactiveWebComponent,Oi as generateReactiveRuntime,Ni as generateReactiveMixin,ui as generatePoster,Th as generatePlaceholderStyle,Sh as generatePlaceholderCSS,Mh as generatePlaceholder,ug as generatePartialHydrationCSS,mc as generateNonce,Bj as generateNetlifyToml,up as generateMinifiedMediaRuntime,tp as generateMediaRuntime,Uo as generateMediaManagerEmbed,ol as generateManifest,Cn as generateLoadingIndicatorHtml,dp as generateLazyLoadRuntime,gl as generateLayoutTypes,Ph as generateLQIP,fg as generateKeepAliveRuntime,eg as generateKeepAliveCSS,Bg as generateIslandManifest,qp as generateImagePreview,gk as generateImageManifest,On as generateHydrationScript,Sd as generateHydrationRuntime,Rn as generateHydrationCSS,og as generateHydrationBootstrap,dj as generateHotReloadScript,ea as generateHeatmapScript,Fn as generateHMRClientScript,xi as generateHLSManifest,Ln as generateEventBindings,zh as generateDprSrcsetWithVariableQuality,yh as generateDprSrcset,We as generateDocumentShell,mm as generateDocs,im as generateDirectivesDocs,ph as generateDirectiveRuntime,re as generateDefaultRobotsTxt,yi as generateDASHManifest,qc as generateCspMetaTag,pc as generateCspHeader,eb as generateCrosswindCSS,Np as generateCompositionRuntime,gm as generateComponentsDocs,pg as generateComponentManifest,em as generateComponentDoc,Rh as generateColorPlaceholder,Ee as generateColorModeBootScript,Dk as generateClientRuntime,_h as generateCacheKey,Da as generateBrowserAutoImportDestructuring,lp as generateBlurUpRuntime,mp as generateBlurUpCSS,ib as generateBindingsRuntime,wh as generateAutoWidthSrcset,Ca as generateAutoImportDestructuring,ag as generateAsyncComponentRuntime,$f as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,kb as generateAnalyticsScript,wn as formatTypecheckDiagnostics,qn as formatTypeErrors,Km as formatStxContent,zj as formatSize,O as formatRoutes,Lm as formatMarkdownContent,tb as formatLocalizedError,Ad as formatICU,Cb as formatFilePath,Jb as formatError,iq as formatDoctorReport,jm as formatDocsAsMarkdown,lm as formatDocsAsJson,km as formatDocsAsHtml,to as format,Bl as foldConstants,so as flipVertical,ro as flipHorizontal,hl as fingerprint,un as findRuntimeTypeDeclarations,gq as findPantryPackage,cc as findMatchingEndTag,_b as findMatchingDelimiter,oa as findInterpolationEnd,ec as findIfBlocks,hc as findExpressions,N as findErrorPage,fc as findDirectiveBlocks,yl as findDeadCode,yl as findDeadBranches,$l as findContainerRegion,fm as findComponentFiles,Lq as findCommonDir,yj as filterRequiredFiles,ah as fileExists,Ud as extractVariables,ml as extractTemplateExpressions,Kd as extractStreamBoundaries,Mn as extractState,Rg as extractSlotContent,Wd as extractScriptFromTemplate,ll as extractScriptBlocks,Ka as extractPlaceholders,bc as extractParenthesizedExpression,Ek as extractPageResponseStatus,ca as extractLayoutMetadata,Qh as extractDominantColor,kc as extractDirectiveParams,Mg as extractDirectiveNames,cl as extractContainerContent,cm as extractComponentProps,qg as extractComponentName,dm as extractComponentDescription,db as extractClassNames,Ea as extractBridgeData,rg as extractBoundProps,$b as extractBalancedExpression,ya as extractAndStripCssImports,Ki as extractAndScopeStyles,la as extractAndProcessEvents,mj as externalizeSharedAssets,nj as externalizeRepeatedAssets,lj as externalizeHtml,_a as evaluateExpression,Al as evaluateConstant,nb as evaluateAuthExpression,Ta as escapeHtmlValue,Sa as escapeHtml,Pb as errorRecovery,Rb as errorLogger,Mf as ensureTeleportTargets,_e as ensureDocumentShell,gd as enhancedValidationRules,am as enableDevTools,zl as eliminateDeadCode,df as effect,Ao as dprUrls,nm as docsCommand,el as discoverLayoutNames,cp as disconnectObserver,bm as disableDevTools,Sb as devHelpers,Zk as detectShell,pm as detectRuntime,Cj as detectProjectConfig,Jh as detectFormat,tl as detectBuildMode,cf as derived,Gj as deploy,Yi as defineStxConfig,Zn as defineStore,Kp as defineSlots,vq as defineSiteConfig,zq as definePropsWithValidation,yq as defineProps,Si as definePlugin,Qc as definePageMeta,R as defineMiddleware,Dg as defineForm,Fp as defineExpose,Ep as defineEmits,mh as defineDirective,_p as defineCustomElement,Wm as defineConfig,nh as defineClientDirective,Zf as defineAsyncComponent,vp as defaultMediaConfig,ik as defaultImageConfig,ld as defaultI18nConfig,da as defaultHeatmapConfig,Zc as defaultFormClasses,Na as defaultFilters,Gc as defaultCspConfig,Ui as defaultConfig,Jq as default,ab as deepMergeThemes,Ae as dedupeScopedStyles,Oh as decodeThumbhash,Bc as cspNonceDirective,Ac as cspDirective,jp as crossfadeTransition,eo as crop,ig as createVirtualList,Di as createVideoDirective,Bm as createVercelHandler,nn as createTypeChecker,Ed as createTranslateFilter,xm as createTextEncoderStream,Zp as createStxApp,wm as createStreamingResponse,Md as createStreamRenderer,Xn as createStore,U as createStorageManager,S as createServerCookieManager,mk as createScope,Uf as createSSRSuspense,$e as createRouter,$ as createRouteLocation,ln as createRoute,nk as createRef,ok as createReactive,Mp as createProvideContext,bn as createProject,Vm as createProductionBuild,Ia as createPlaceholder,Fl as createOptimizedBuild,Cm as createNetlifyHandler,uj as createNetlifyClient,aa as createMiddlewareContext,kn as createMiddleware,ap as createLazyObserver,cg as createKeepAliveCache,tm as createKVNamespace,sg as createIslandRegistry,oi as createImgDirective,dk as createImagePlugin,Yj as createImageHandler,bk as createImageDirective,ia as createHeatmapAggregator,xj as createFileManifest,sm as createEnvAccessor,Mb as createEnhancedError,vm as createEdgeHandler,um as createEdgeCache,dh as createDetailedErrorMessage,Am as createDenoHandler,Dj as createDefaultNetlifyConfig,Fc as createCspHeaders,Em as createCookie,pk as createComputed,lk as createComponentInstance,zm as createCloudflareHandler,T as createClientCookieManager,oh as createBuiltinDirectives,Zp as createApp,F as createAnimationTimeline,ho as cover,Vd as convertToCommonJS,oo as contrast,go as contain,Lb as consoleError,zb as configureErrorHandling,Xi as config,pk as computed,Zl as compressResponse,te as composerPattern,se as composer,$k as composeShellWithPage,Ul as componentDirective,_g as componentClientSignalNames,nl as compileTemplate,a as collectRepeatedFlag,wj as collectDeployFiles,ti as clearVideoCache,md as clearTranslationCache,If as clearStoreCache,rj as clearStorage,No as clearSignatureCache,Vh as clearPlaceholderCache,ae as clearOnceStore,oc as clearNonce,Y as clearMiddleware,ak as clearImageCache,rb as clearErrorMessages,zf as clearDevCaches,Ra as clearCustomFilters,ve as clearComposers,Jf as clearComposableCache,eh as clearComponentCache,ci as clearCache,Bn as cleanupLoadingIndicator,Xk as classifyScript,Yk as classifyAllScripts,on as checkTemplateFile,pn as checkTemplate,Af as checkCache,Ko as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Pl as channel,Jm as captureScreenshots,Im as captureScreenshot,yd as cancelPendingLoads,vj as calculateSha1,xh as calculateOptimalWidths,Bf as cacheTemplate,Fi as buildWebComponents,rn as buildVirtualSource,xp as buildViews,$n as buildUrl,Gd as buildSuspenseResolveScript,uq as buildStaticSite,il as buildRuntimeAsset,jl as buildRouterAsset,tq as buildLangPickerScript,Dh as buildImageUrl,Re as buildHtmlAttrs,rl as buildForProduction,Wl as buildComponentLibrary,Lo as buildAuthParams,sl as buildApp,sq as buildAlternateLinks,Um as build,Nl as broadcastPrivate,Ol as broadcastPresence,Kl as broadcast,no as brightness,io as blur,Fo as batchSignUrls,ef as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,vo as auto,e as attributeValue,kl as assetTags,ja as asInvocableStatement,Gq as arrayOf,pq as applyTranslations,ii as applyTransformations,Sg as applySlots,Tl as applyPropDefaults,yo as applyPreset,Te as applyHtmlAttrs,Vc as applyHead,Za as applyFilters,uc as apiCspPreset,y as animationGroupDirective,zi as analyzeVideo,vl as analyzeUsage,Vk as analyzeTemplate,Wk as analyzeProject,vl as analyzeDirectiveUsage,mb as analyticsDirective,en as addStore,dn as addPage,yc as addNonceToInlineContent,fn as addLayout,cn as addComponent,Sm as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,wf as __setSignalsGeneratorsForTest,Le as __setBuildIdForTest,qi as VideoProcessorCache,Eg as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Zb as Tokenizer,mn as TemplateTypeChecker,Mm as TEMPLATE_PRESETS,Ib as StxValidationError,Eb as StxSyntaxError,Gb as StxSecurityError,Fb as StxRuntimeError,Hb as StxFileError,Db as StxError,Vp as Show,Hd as SUSPENSE_RESOLVER_RUNTIME,Aa as STX_AUTO_IMPORTS,ta as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Tm as ProductionBuild,Xp as Portal,an as PROJECT_TEMPLATES,xo as PRESETS,Sn as MemorySessionStore,uh as MIME_TYPES,rh as MEDIA_DEFAULT_WIDTHS,th as MEDIA_DEFAULT_FORMATS,dl as LAYOUT_TYPES_FILE,fi as ImageProcessorCache,Wj as ImageProcessingError,Nn as HydrationRuntime,cj as HotReloadServer,ha as HeatmapAggregator,Pe as HTML_CLASS_MARKER,Oe as HTML_ATTRS_MARKER,Op as Fragment,Wp as For,Qb as ErrorLogger,ub as ErrorCodes,kj as EXTERNALIZED_ASSET_DIR,Ij as DeployError,Jj as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,sa as DEFAULT_STATE_DIR,Lj as DEFAULT_QUALITY,Kh as DEFAULT_PLACEHOLDER_OPTIONS,Kj as DEFAULT_FORMATS,sh as DEFAULT_DPR_VALUES,En as ComponentHMRHandler,Ch as COMMON_SIZES,Ce as COLOR_MODE_BOOT_MARKER,De as COLOR_MODE_BOOT_GLOBAL,Ne as CLOAK_STYLE,Rl as BroadcastServer,Ql as Broadcast,Ie as BUILD_ID_META,Je as BUILD_ID_HEADER,Lh as BLUR_UP_CSS,fq as $path};
|
|
2
|
+
import{$ as Gk,$a as sm,$b as Kn,$c as Lo,$d as Lp,A as qj,Aa as Dl,Ab as cn,Ac as ko,Ad as kp,Ae as qq,B as rj,Ba as El,Bb as dn,Bc as lo,Bd as lp,Be as rq,C as sj,Ca as Fl,Cb as en,Cc as mo,Cd as mp,Ce as sq,D as tj,Da as Sl,Db as fn,Dc as no,Dd as np,De as tq,E as jk,Ea as Tl,Eb as gn,Ec as oo,Ed as op,Ee as uq,F as kk,Fa as Ul,Fb as hn,Fc as po,Fd as pp,Fe as vq,G as lk,Ga as Vl,Gb as jn,Gc as qo,Gd as qp,Ge as wq,H as mk,Ha as Wl,Hb as kn,Hc as ro,Hd as rp,He as xq,I as nk,Ia as _l,Ib as ln,Ic as so,Id as sp,Ie as yq,J as ok,Ja as $l,Jb as mn,Jc as to,Jd as tp,Je as zq,K as pk,Ka as am,Kb as nn,Kc as uo,Kd as up,Ke as Aq,L as qk,La as bm,Lb as on,Lc as vo,Ld as vp,Le as Bq,M as rk,Ma as cm,Mb as pn,Mc as wo,Md as wp,Me as Cq,N as sk,Na as dm,Nb as qn,Nc as xo,Nd as xp,Ne as Dq,O as tk,Oa as em,Ob as xn,Oc as yo,Od as yp,Oe as Eq,P as uk,Pa as fm,Pb as yn,Pc as zo,Pd as zp,Pe as Fq,Q as vk,Qa as gm,Qb as zn,Qc as Ao,Qd as Ap,Qe as Gq,R as wk,Ra as hm,Rb as An,Rc as Bo,Rd as Bp,Re as Hq,S as xk,Sa as im,Sb as Bn,Sc as Co,Sd as Cp,Se as Iq,T as yk,Ta as jm,Tb as Cn,Tc as Do,Td as Dp,Te as Jq,U as zk,Ua as km,Ub as Dn,Uc as Eo,Ud as Ep,Ue as Kq,V as Ak,Va as lm,Vb as En,Vc as Fo,Vd as Fp,Ve as Lq,W as Bk,Wa as mm,Wb as Fn,Wc as Go,Wd as Gp,We as Mq,X as Ck,Xa as nm,Xb as Gn,Xc as Ho,Xd as Hp,Xe as Nq,Y as Dk,Ya as pm,Yb as Hn,Yc as Io,Yd as Ip,Z as Ek,Za as qm,Zb as In,Zc as Jo,Zd as Jp,_ as Fk,_a as rm,_b as Jn,_c as Ko,_d as Kp,aa as Hk,ab as tm,ac as Ln,ad as Mo,ae as Mp,ba as Ik,bb as um,bc as Mn,bd as No,be as Np,ca as Jk,cb as vm,cc as Nn,cd as Oo,ce as Op,da as Kk,db as wm,dc as On,dd as Po,de as Pp,ea as Lk,eb as xm,ec as Pn,ed as Qo,ee as Qp,fa as Mk,fb as ym,fc as Qn,fd as Ro,fe as Rp,ga as Nk,gb as zm,gc as Rn,gd as So,ge as Sp,ha as Ok,hb as Am,hc as Sn,hd as To,he as Tp,ia as Pk,ib as Bm,ic as Tn,id as Uo,ie as Up,ja as Qk,jb as Cm,jc as Un,jd as Vo,je as Vp,ka as Rk,kb as Dm,kc as Vn,kd as Wo,ke as Wp,la as Sk,lb as Em,lc as Wn,ld as Xo,le as Xp,ma as Tk,mb as Fm,mc as Xn,md as Yo,me as Yp,na as Uk,nb as Gm,nc as Yn,nd as Zo,ne as Zp,o as a,oa as Vk,ob as Hm,oc as Zn,od as _o,oe as _p,p as bj,pa as Wk,pb as Km,pc as _n,pd as $o,pe as fq,q as cj,qa as tl,qb as Lm,qc as $n,qd as ap,qe as gq,r as dj,ra as ul,rb as Mm,rc as ao,rd as bp,re as hq,s as ej,sa as vl,sb as Nm,sc as bo,sd as cp,se as iq,t as fj,ta as wl,tb as Tm,tc as co,td as dp,te as jq,u as gj,ua as xl,ub as Um,uc as eo,ud as ep,ue as kq,v as hj,va as yl,vb as Vm,vc as fo,vd as fp,ve as lq,w as ij,wa as zl,wb as Wm,wc as go,wd as gp,we as mq,x as jj,xa as Al,xb as $m,xc as ho,xd as hp,xe as nq,y as oj,ya as Bl,yb as an,yc as io,yd as ip,ye as oq,z as pj,za as Cl,zb as bn,zc as jo,zd as jp,ze as pq}from"./chunk-wjqswn35.js";import{$e as un,Ye as rn,Ze as sn,_e as tn,af as vn,bf as wn}from"./chunk-mvb60bhh.js";import{cf as Im,df as Jm}from"./chunk-9xh78snm.js";import{ef as Om}from"./chunk-xgejppzh.js";import{ff as sl}from"./chunk-vx8cht59.js";import{gf as Xl,hf as Yl,if as Zl,jf as om,kf as Pm,lf as Qm,mf as Rm,nf as Sm,of as Xm,pf as Ym,qf as Zm,rf as _m}from"./chunk-v9yzmqsh.js";import{Af as Cj,Bf as Dj,Cf as Ej,Df as Fj,Ef as Gj,Ff as Hj,Gf as Ij,sf as uj,tf as vj,uf as wj,vf as xj,wf as yj,xf as zj,yf as Aj,zf as Bj}from"./chunk-fnkxbnka.js";import{Hf as Zj,If as _j,Jf as $j,Kf as ak,Lf as bk,Mf as ck,Nf as dk,Of as ek,Pf as fk,Qf as gk,Rf as hk,Sf as ik}from"./chunk-1mhc4g86.js";import{Tf as Xj,Uf as Yj}from"./chunk-1e25ksp6.js";import{Vf as Si,Xf as Ti}from"./chunk-9b82d4g5.js";import{bg as Jj,cg as Kj,dg as Lj,eg as Mj,fg as Nj,gg as Oj,hg as Pj,jg as Qj,kg as Rj,lg as Sj,mg as Tj,ng as Uj,og as Vj,rg as Wj}from"./chunk-ygr11tgz.js";import{sg as hl,tg as il,ug as jl,vg as kl,wg as nl,xg as rl}from"./chunk-pa6gyr8e.js";import{Bg as ml,yg as ll}from"./chunk-ndnc7k2n.js";import{Jg as Xk,Kg as Yk,Lg as Zk,Mg as _k,Ng as $k,Og as al,Pg as bl,Qg as cl,Rg as ol,Sg as pl,Tg as ql}from"./chunk-eqq7k4g0.js";import{$g as Nl,Ug as Gl,Vg as Hl,Wg as Il,Xg as Jl,Yg as Kl,Zg as Ll,_g as Ml,ah as Ol,bh as Pl,ch as Ql,dh as Rl}from"./chunk-st5qggks.js";import{eh as Gg}from"./chunk-z2sp0k8d.js";import{fh as Ng,gh as Og,hh as Pg,ih as Qg,jh as Rg,kh as Sg}from"./chunk-237jkeca.js";import{lh as fi,mh as gi,nh as hi,rh as ii,sh as ji,th as ki}from"./chunk-mkm91b6w.js";import{Ah as wi,Bh as xi,Ch as yi,Dh as zi,Eh as Ai,uh as qi,vh as ri,wh as si,xh as ti,yh as ui,zh as vi}from"./chunk-e0460y7f.js";import{Fh as Xh,Gh as Yh,Hh as Zh,Ih as _h,Jh as $h,Lh as ai,Mh as bi,Nh as ci,Oh as di,Ph as ei}from"./chunk-q8szpd6w.js";import{Qh as Tf,Rh as Uf,Sh as Vf,Th as Wf,Uh as Xf}from"./chunk-w0ng9e1m.js";import{Vh as Yf,Wh as Zf,Xh as _f,Yh as $f,Zh as ag}from"./chunk-x13f5bbe.js";import{$h as cg,_h as bg,ai as dg,bi as eg,ci as fg,di as gg,ei as hg}from"./chunk-ymccpdg6.js";import{fi as ig,gi as jg,hi as kg,ii as lg,ji as mg,ki as ng}from"./chunk-vgk5v31k.js";import{mi as og,ni as pg,oi as qg,pi as rg,qi as sg,ri as tg,si as ug,ti as vg,ui as wg,vi as xg,wi as yg,xi as zg,yi as Ag,zi as Bg}from"./chunk-n8zpm7xb.js";import{Bi as Cg,Ci as Dg,Di as Eg,Ei as Fg}from"./chunk-y4hkqsgw.js";import{Ji as sf,Ki as tf,Li as uf,Mi as vf,Ni as wf,Oi as xf,Pi as yf,Qi as zf,Ri as Af,Si as Bf,Ti as Cf}from"./chunk-m1awve2j.js";import{Ui as Hf,Vi as If}from"./chunk-jn49sc7r.js";import{Yi as Jf}from"./chunk-4v5fsrdd.js";import"./chunk-ht51fz7w.js";import{aj as Kf}from"./chunk-fvjh7rx0.js";import{bj as Lf,cj as Mf}from"./chunk-b6jhznkh.js";import{dj as Nf,ej as Of,fj as Pf,gj as Qf,hj as Rf,ij as Sf}from"./chunk-hyrjade7.js";import{jj as Fd,kj as Gd,lj as Hd,mj as Id,nj as Jd,oj as Kd,pj as Ld,qj as Md,rj as Nd,sj as Od,tj as Pd,uj as Qd,vj as Rd,wj as Sd}from"./chunk-a4mcc2dm.js";import{xj as qf,yj as rf}from"./chunk-whq99ytc.js";import{Fj as bf,Gj as cf,Hj as df,Ij as ef,Jj as ff,Kj as gf,Lj as hf,Mj as jf,Nj as kf,Oj as lf,Pj as mf,Qj as nf,Rj as of,Sj as pf}from"./chunk-3es366z4.js";import{kk as $p,lk as aq,mk as bq,nk as cq,ok as dq,pk as eq}from"./chunk-3jfg5kdy.js";import{qk as kj,rk as lj,sk as mj,tk as nj,uk as dl,vk as el,wk as fl,xk as gl}from"./chunk-ycn1vnv2.js";import"./chunk-yckd6ks5.js";import"./chunk-zgvga8rc.js";import{$l as Ka,$m as Mb,$n as ad,$o as fe,$q as Kh,Al as ia,Am as mb,An as lc,Ao as Bd,Ap as Ge,Aq as ah,Ar as Ki,Bn as mc,Bo as Cd,Bp as He,Bq as bh,Br as Li,Cm as nb,Cn as nc,Co as Dd,Cp as Ie,Cq as ch,Cr as Mi,Dl as ja,Dm as ob,Dn as oc,Do as Ed,Dp as Je,Dq as dh,Dr as Ni,El as ka,Em as pb,En as pc,Ep as Ke,Eq as eh,Er as Oi,Fl as la,Fm as qb,Fn as qc,Fo as Td,Fp as Le,Fq as fh,Fr as Pi,Gl as ma,Gm as rb,Gn as rc,Gp as Me,Gq as gh,Gr as Qi,Hl as na,Hm as sb,Hn as sc,Hp as Ne,Hq as hh,Hr as Ri,Im as tb,In as tc,Ip as Oe,Iq as rh,Ir as Ui,Jm as ub,Jn as uc,Jp as Pe,Jq as sh,Jr as Vi,Kl as qa,Km as vb,Kn as vc,Kp as Qe,Kq as th,Kr as Wi,Ll as ra,Lm as wb,Ln as wc,Lp as Re,Lq as uh,Lr as Xi,Ml as ya,Mm as xb,Mn as xc,Mo as Ud,Mp as Se,Mq as vh,Mr as Yi,Nl as za,Nm as yb,Nn as yc,Np as Te,Nq as wh,Nr as Zi,Ol as Aa,Om as zb,On as zc,Oo as Vd,Op as Ue,Oq as xh,Or as _i,Pl as Ba,Pm as Ab,Pn as Ac,Pp as Ve,Pq as yh,Pr as $i,Ql as Ca,Qm as Bb,Qn as Bc,Qo as Wd,Qp as We,Qq as zh,Qr as aj,Rl as Da,Rm as Cb,Rn as Cc,Ro as Xd,Rp as Xe,Rq as Ah,Sl as Ea,Sm as Db,Sn as Dc,So as Yd,Sp as Ye,Sq as Bh,Tl as Fa,Tm as Eb,Tn as Ec,To as Zd,Tp as Ze,Tq as Ch,Ul as Ga,Um as Fb,Un as Fc,Uo as _d,Up as _e,Uq as Dh,Vm as Gb,Vn as Gc,Vo as $d,Vp as $e,Vq as Eh,Wm as Hb,Wn as Hc,Wo as ae,Wp as af,Wq as Fh,Xm as Ib,Xn as Ic,Xo as be,Xq as Gh,Yl as Ha,Ym as Jb,Yn as Zc,Yo as ce,Yp as Df,Yq as Hh,Zl as Ia,Zm as Kb,Zn as _c,Zo as de,Zq as Ih,_l as Ja,_m as Lb,_n as $c,_o as ee,_q as Jh,am as La,an as Nb,ao as bd,ap as ge,ar as Lh,bm as Ma,bn as Ob,bo as cd,bp as he,br as Mh,cn as Pb,co as dd,cp as ie,cr as Nh,dl as s,dn as Qb,do as ed,dp as je,dr as Oh,el as t,em as Na,en as Rb,eo as fd,ep as ke,er as Ph,fl as u,fm as Oa,fn as Sb,fo as gd,fp as le,fr as Qh,gl as v,gm as Pa,gn as Tb,go as hd,gp as me,gr as Rh,hl as w,hm as Qa,hn as Ub,ho as id,hp as ne,hr as Sh,il as x,im as Ra,in as Vb,io as jd,ip as oe,iq as Ef,ir as Th,jl as y,jm as Sa,jn as Wb,jo as kd,jp as pe,jq as Ff,jr as Uh,kl as z,km as Ta,kn as Xb,ko as ld,kp as qe,kq as Gf,kr as Vh,ll as A,lm as Ua,ln as Yb,lo as md,lp as re,lq as Hg,lr as Wh,ml as B,mm as Va,mn as Zb,mo as nd,mp as se,mq as Ig,mr as li,nl as C,nm as Wa,nn as _b,no as od,np as te,nq as Jg,nr as mi,ol as D,om as Xa,on as $b,oo as pd,op as ue,oq as Kg,or as ni,pl as E,pm as Ya,pn as ac,po as qd,pp as ve,pq as Lg,pr as oi,ql as F,qm as Za,qn as bc,qo as rd,qp as we,qq as Mg,qr as pi,rl as G,rm as _a,rn as cc,ro as sd,rp as xe,rq as Tg,rr as Bi,sl as H,sm as $a,sn as dc,so as td,sp as ye,sq as Ug,sr as Ci,tl as I,tn as ec,to as ud,tp as ze,tq as Vg,tr as Di,ul as J,um as gb,un as fc,uo as vd,up as Ae,uq as Wg,ur as Ei,vl as da,vm as hb,vn as gc,vo as wd,vp as Be,vq as Xg,vr as Fi,wl as ea,wm as ib,wn as hc,wo as xd,wp as Ce,wq as Yg,wr as Gi,xl as fa,xm as jb,xn as ic,xo as yd,xp as De,xq as Zg,xr as Hi,yl as ga,ym as kb,yn as jc,yo as zd,yp as Ee,yq as _g,yr as Ii,zl as ha,zm as lb,zn as kc,zo as Ad,zp as Fe,zq as $g,zr as Ji}from"./chunk-6wx32fa5.js";import{$r as n,Rr as d,Sr as e,Tr as f,Ur as g,Vr as h,Wr as i,Xr as j,Yr as k,Zr as l,_r as m,as as o,bs as p,cs as q,ds as r}from"./chunk-8src5smc.js";import{es as b,fs as c}from"./chunk-gcnrdgrq.js";import{gs as oa,hs as pa}from"./chunk-xp3fp266.js";import{is as ih,js as jh,ks as kh,ls as lh,ms as mh,ns as nh,os as oh,ps as ph,qs as qh}from"./chunk-nye9brje.js";import{Es as db,Fs as eb,Gs as fb,rs as ab,ss as bb,us as cb}from"./chunk-31xczh3c.js";import{Hs as sa,Is as ta,Js as ua,Ks as va,Ls as wa,Ms as xa}from"./chunk-cbc56wpd.js";import{$s as Xc,Ns as Jc,Os as Kc,Ps as Lc,Qs as Mc,Rs as Nc,Ss as Oc,Ts as Pc,Us as Qc,Vs as Rc,Ws as Sc,Xs as Tc,Ys as Uc,Zs as Vc,_s as Wc,at as Yc}from"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import{Ft as P,Gt as Q,Ht as R,It as S,Jt as T,Kt as U,Lt as V,Mt as W,Nt as X,Ot as Y,Pt as Z,Qt as _,Rt as $,St as aa,Tt as ba,Vt as ca,pt as K,qt as L,tt as M,yt as N,zt as O}from"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{Ej as writeNetlifyConfig,pl as writeManifest,hk as writeImageManifest,Gn as wrapComponentForHMR,Aq as withDefaults,Ri as webComponentDirectiveHandler,wo as watermark,yp as watchViews,rk as watchMultiple,sk as watchEffect,qk as watch,Gk as waitForStore,wd as waitForLocale,sn as virtualPathFor,Ei as videoDirective,Tb as validators,Eq as validated,id as validateValueEnhanced,Ig as validateTemplate,Bo as validateParams,jd as validateFormEnhanced,np as validateFile,ed as validateFields,dd as validateField,Kg as validateDirective,Dc as validateCspDirectives,Zi as validateConfig,ul as validateComponentScripts,Sl as validateComponentProps,Gf as validateClientScript,Fg as v,Ua as usesSignalsInScript,Xg as userComponentFileExists,lg as useVirtualList,Rc as useTitle,Fk as useStoreOrThrow,Yn as useStore,oj as useStorage,Jp as useSlots,qj as useSessionStorage,Oc as useSeoMeta,Hk as useRouteParams,Jk as useRouteParamOrThrow,Ik as useRouteParam,Rc as usePageTitle,pf as useOptimistic,Lk as useMiddlewareValue,Kk as useMiddlewareState,pj as useLocalStorage,zn as useLoadingIndicator,Mc as useHead,Cg as useForm,Lp as useAttrs,pp as uploadFiles,op as uploadFile,Bk as updateInstance,nf as untrack,lh as unregisterDirective,Ck as unmountInstance,$a as unescapeHtml,vn as typecheckStxFiles,Wg as transpileTypeScript,oq as translate,w as transitionDirective,Ml as toUsers,Ll as toUser,fo as thumbnail,gp as thumbHashToRGBA,hp as thumbHashToDataURL,sf as templateCache,Dn as stxClientHelpers,me as structuredDataDirective,rq as stripLocalePrefix,al as stripDocumentWrapper,pa as stripCommentsAndLiterals,ym as stringToStream,rc as strictCspPreset,Nd as streamingSuspenseDirective,Rd as streamToResponse,Ld as streamTemplateSimple,Fd as streamTemplate,jj as stopHmrServer,Il as stopBroadcasting,va as stateDirName,wa as stateDir,bf as state,Xe as startsDocument,_m as startProductionServer,Om as startInteractive,Hl as startBroadcasting,D as staggerDirective,zo as srcsetUrls,E as springDirective,ac as splitByPipe,tn as sourcePathFor,Go as smartBatchSign,Zg as slotContentHasExpressions,Eo as signUrl,Ug as shouldTranspileTypeScript,gj as shouldReloadOnChange,Jo as shouldRefreshSignature,hj as shouldIgnoreFile,dg as shouldCacheComponent,jo as sharpen,Hq as shape,ua as setStateDir,Pk as setRouteParams,Qk as setMiddlewareState,Dp as setGlobalProvide,ob as setErrorLocale,jk as setCurrentInstance,si as setCachedVideoResult,hi as setCachedImageResult,bi as setCached,Kq as serveStxFile,Mq as serveMultipleStxFiles,bj as serveMarkdownFile,jn as serveFile,Nq as serveApp,hn as serve,Jn as serializeState,om as serializeSetCookie,lo as sepia,Pc as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,Ii as scopeHTML,Hi as scopeCSS,pe as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,po as saturation,Co as sanitizeParams,Vb as sanitizeFilePath,Wb as sanitizeExpression,Xb as sanitizeDirectiveParams,Ub as sanitizeDirectiveParam,Yb as sanitizeComponentProps,Ob as safeExecuteAsync,Nb as safeExecute,fe as runPreProcessingMiddleware,ge as runPostProcessingMiddleware,Rm as runPageAction,hf as runMountCallbacks,ba as runMiddleware,zk as runHooks,hq as runDoctor,jf as runDestroyCallbacks,ue as runComposers,qo as rotate,Gg as rewriteImagesWithSiblings,bh as resolveTemplatePath,c as resolveStxTargets,Vi as resolveStxDirectories,nq as resolveI18n,co as resize,Ha as resetPlaceholders,Lc as resetHead,In as resetHMRHandler,Bb as resetErrorConfig,Cq as required,La as replacePlaceholders,wp as renderView,Bi as renderVideoComponent,za as renderVendorStyleTags,Sp as renderToString,Tp as renderToStream,Up as renderToDOM,fp as renderThumbhashToCanvas,eq as renderTemplateString,cq as renderTemplate,dq as renderString,Id as renderStreamingPage,Pg as renderSlot,Vf as renderSSRSuspense,Ro as renderProtectedVideo,Qo as renderProtectedImg,Do as renderMediaUpload,bq as renderMarkdownView,fl as renderLayoutTypes,li as renderImgComponent,Zj as renderImageComponent,Tc as renderHtmlAttrs,Sc as renderHead,zp as renderEmail,$g as renderComponentWithSlot,Uc as renderBodyAttrs,Tn as render,tc as relaxedCspPreset,cd as registerValidationRule,Pd as registerStreamingDirectives,_n as registerStoresClient,Nk as registerStore,ne as registerSeoDirectives,V as registerMiddleware,Pa as registerFilters,Oa as registerFilter,qb as registerErrorMessages,hd as registerEnhancedValidationRule,ih as registerDirective,Cc as registerCspDirectives,Vl as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,nk as ref,Gm as redirect,xa as rebaseOntoStateDir,$i as readMarkdownFile,tf as readFileCached,ok as reactive,uo as quality,Oo as pruneSignatureCache,ei as pruneCache,Bp as provide,aq as protectCodeBlocks,Bq as prop,ye as processVueTemplate,jg as processVirtualListDirectives,ng as processVirtualGridDirectives,Ai as processVideo,fd as processValidateDirective,Dd as processTranslateDirective,Pf as processTransitionDirectives,Sf as processTransitionAttributes,Xc as processTitleDirective,jb as processTemplateBindings,Lf as processTeleportDirectives,Tf as processSuspenseDirectives,ie as processStructuredData,Jd as processStreamDirectives,Ag as processStaticDirectives,de as processStackReplacements,ce as processStackPushDirectives,Qg as processSlots,_k as processShell,we as processServerBindings,je as processSeoDirective,Qd as processSectionDirectives,Be as processScopedStyles,hb as processReactiveBindings,So as processProtectedMedia,tg as processPartialHydrationDirectives,Ff as processOnceDirective,ee as processMiddleware,he as processMetaDirectives,Yc as processMetaDirective,aj as processMarkdownFileDirectives,gh as processMarkdownDirectives,Zd as processLoops,bg as processKeepAliveDirectives,Ef as processJsonDirective,mg as processInfiniteListDirectives,be as processIncludes,ni as processImgComponents,$j as processImageComponents,Oj as processImage,Wc as processHeadDirective,_c as processForms,ad as processFormInputDirectives,Ya as processExpressions,ma as processEventDirectives,bd as processErrorDirective,ze as processDynamicComponents,Hg as processDirectives,qh as processDirectiveAttributes,Kf as processDeferDirectives,Hc as processCustomDirectives,zc as processCspDirectives,Iq as processComponentProps,Ga as processClientScript,$c as processBasicFormDirectives,Yf as processAsyncDirectives,Ic as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,sd as preloadTranslationsBackground,rd as preloadTranslations,yn as preloadIslandHandlers,Td as preloadIconCollection,Dl as poolStrings,Ti as pluginManager,Of as performLeave,Nf as performEnter,kf as pendingLifecycleCounts,of as peek,_d as partialsCache,Ci as parseVideoDirectiveOptions,ao as parseUrl,ip as parseThumbhashString,gc as parseSwitchBlock,Ng as parseSlots,Og as parseSlotElement,lc as parseScriptDeclarations,Pi as parseSFCComponent,To as parseProtectedArgs,Yd as parseLoopBinding,mi as parseImgComponent,Eh as parseImageUrl,_j as parseImageComponent,Pm as parseFormBody,ic as parseExpressionWithFilters,Dm as parseCookies,_l as parseContainerSelector,dc as parseConditionalBlock,jc as parseArguments,H as parseAnimationShorthand,Dq as optional,El as optimizeTemplate,ek as optimizeImage,fk as optimizeDirectory,Fq as oneOf,$d as onceStore,wk as onUpdated,gb as onUpdate,yk as onUnmounted,Uk as onServer,uk as onMounted,ff as onMount,zg as onHydrated,Hp as onErrorCaptured,gf as onDestroy,hg as onDeactivated,Tk as onClient,vk as onBeforeUpdate,xk as onBeforeUnmount,tk as onBeforeMount,gg as onActivated,bp as observeElement,Hm as notFound,Ge as normalizeCriticalHeadOrder,Gp as nextTick,Yl as negotiateEncoding,P as navigateTo,Ak as mountInstance,z as motionDirective,sc as moderateCspPreset,Cl as minifyHtml,le as metaDirective,Qe as metaDedupKey,bo as mergeParams,Se as mergeHtmlAttrs,Nc as mergeHeadConfigs,wc as mergeCspDirectives,bb as mergeCrosswindConfig,M as matchRoute,hh as markdownDirectiveHandler,_i as markdownCache,b as looksLikeGlob,qq as localizePath,td as loadTranslationLazy,zd as loadTranslation,Wi as loadStxConfig,_ as loadMiddlewareFromDirectory,ql as loadManifest,Zo as loadElement,Jl as loadChannels,wq as lintStxStrict,$o as lazyLoadAll,_o as lazyLoad,C as keyframeDirective,Qp as jsxs,Rp as jsxDEV,Pp as jsx,Fm as jsonResponse,Od as islandDirective,yb as isTest,bl as isSpaNavigation,Ho as isSignatureValid,lf as isSignal,Mj as isSharpAvailable,rm as isServerEnvironment,Rk as isServer,wb as isProduction,d as isPresentationalRole,Wo as isNativeLazySupported,$p as isMarkdownPath,pd as isLoading,qd as isLoaded,Tg as isJavaScriptScript,Xo as isIntersectionObserverSupported,Uj as isImageFile,Nj as isImageBackendAvailable,Bd as isICUFormat,yg as isHydrated,Yg as isHydrateTrigger,qm as isEdgeEnvironment,xq as isDirectiveKind,xb as isDevelopment,mf as isDerived,fj as isCssOnlyChange,Xl as isCompressible,Sk as isClient,_f as isAsyncComponent,Qm as isActionableMethod,mo as invert,vf as invalidateFileCacheByDir,uf as invalidateFileCache,Xa as interpolateScriptsInTemplate,Va as interpolateScriptExpressions,Wa as interpolateScriptAttributes,Kb as inlineError,mq as injectThemeBootstrap,ke as injectSeoTags,jq as injectSeo,Df as injectRouterScript,ej as injectHotReload,fa as injectHeatmap,xc as injectCspMetaTag,fb as injectCrosswindCSS,Ze as injectConfigHeadTags,Fe as injectColorModeBootScript,Ue as injectCloakStyle,Me as injectBuildId,Ba as injectBrowserCoreAutoImports,lb as injectAnalytics,Cp as inject,Mk as initStoreRegistry,Hj as initNetlify,An as initLoadingIndicator,Yo as initLazyLoading,Nm as initFile,ep as initBlurUp,kp as initAllBlurUp,pi as imgDirective,ck as imageDirective,Ym as hydrateTemplateStream,Xm as hydrateTemplate,xn as hydrateIslands,vg as hydrateIsland,Zm as hydrateFragment,wg as hydrateByStrategy,xg as hydrateAll,Qn as hydrate,gn as htmlResponse,Ve as hoistLeadingHeadTags,He as hoistColorModeBootScript,ga as heatmapDirective,Zh as hashString,Cf as hashFilePath,Xh as hashFile,Yh as hashBuffer,xe as hasVueTemplateSyntax,Xd as hasVariables,Vn as hasStore,Ma as hasPlaceholders,Fj as hasNetlifyConfig,X as hasMiddleware,na as hasEventDirectives,Ye as hasDocumentShell,Lg as hasDirectives,h as hasDOMSupport,Xj as handleImageRequest,Ip as handleError,Yp as h,Tj as groupVariantsByFormat,ko as grayscale,$m as gitHash,wl as getUnusedDirectives,ud as getTranslationSync,nd as getTranslationCacheStats,vd as getTranslationAsync,Cd as getTranslation,Aj as getTotalSize,Io as getTimeUntilExpiry,Hf as getStoreScript,Wn as getStoreNames,Un as getStore,tj as getStorageSize,sj as getStorageKeys,ch as getSourceLineInfo,Vg as getSharedTranspiler,g as getScreenReaderOnlyStyle,Ji as getScopeAttribute,af as getRouteParams,qa as getPublicEnvDefine,ra as getPublicEnv,Jg as getPositionInfo,Ja as getPlaceholderRegistry,Wh as getPlaceholderCacheStats,Kc as getPageMeta,nc as getNonce,Vj as getMimeType,Z as getMiddlewareNames,W as getMiddleware,od as getLoadingState,xd as getLoadingLocales,Pj as getImageMetadata,Pn as getHydrationRuntime,Ok as getHydratedStoreState,ij as getHmrServer,Jc as getHead,Hn as getHMRHandler,Ih as getFormatExtension,$h as getFileMtime,Sj as getFallbackVariant,sb as getErrorMessage,pb as getErrorLocale,Ab as getErrorConfig,vb as getErrorCodeName,kh as getDirectives,jh as getDirective,kk as getCurrentInstance,vc as getCspPreset,Ec as getCspHeaderName,cb as getCrosswindServeAsset,fh as getComponentCacheStats,ri as getCachedVideoResult,Mo as getCachedSignature,xf as getCachedSignalsRuntime,yf as getCachedRouterScript,Uh as getCachedPlaceholder,gi as getCachedImageResult,ai as getCached,di as getCacheStats,Ke as getBuildId,Gl as getBroadcastServer,Hh as getBestVariant,Qa as getAllFilters,vh as generateWidthSrcset,kg as generateVirtualListCSS,rp as generateVideoPreview,kd as generateValidationScript,sp as generateUploadRuntime,xl as generateTreeShakenBundle,Rf as generateTransitionRuntime,Qf as generateTransitionCSS,vi as generateThumbnails,Nh as generateThumbhashPlaceholder,hm as generateTemplatesDocs,Xf as generateSuspenseRuntime,Wf as generateSuspenseCSS,Kn as generateStateScript,Fh as generateSrcsetData,ki as generateSrcset,Qj as generateSrcSet,wi as generateSpriteSheet,Ap as generateSpaShell,Gh as generateSourceTags,Bh as generateSizesFromBreakpoints,Ah as generateSizesAttribute,Rj as generateSizes,oe as generateSitemapIndex,kq as generateSitemap,Vo as generateSimpleMediaPicker,Po as generateSignatureRuntime,rf as generateSignalsRuntimeDev,qf as generateSignalsRuntime,Fa as generateServerDataBridge,Gi as generateScopeId,Qi as generateSFCWebComponent,ka as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,qe as generateRobotsTxt,lq as generateRobots,ji as generateResponsiveVariants,Mi as generateReactiveWebComponentTS,Li as generateReactiveWebComponent,Oi as generateReactiveRuntime,Ni as generateReactiveMixin,ui as generatePoster,Th as generatePlaceholderStyle,Sh as generatePlaceholderCSS,Mh as generatePlaceholder,ug as generatePartialHydrationCSS,mc as generateNonce,Bj as generateNetlifyToml,up as generateMinifiedMediaRuntime,tp as generateMediaRuntime,Uo as generateMediaManagerEmbed,ol as generateManifest,Cn as generateLoadingIndicatorHtml,dp as generateLazyLoadRuntime,gl as generateLayoutTypes,Ph as generateLQIP,fg as generateKeepAliveRuntime,eg as generateKeepAliveCSS,Bg as generateIslandManifest,qp as generateImagePreview,gk as generateImageManifest,On as generateHydrationScript,Sd as generateHydrationRuntime,Rn as generateHydrationCSS,og as generateHydrationBootstrap,dj as generateHotReloadScript,ea as generateHeatmapScript,Fn as generateHMRClientScript,xi as generateHLSManifest,Ln as generateEventBindings,zh as generateDprSrcsetWithVariableQuality,yh as generateDprSrcset,We as generateDocumentShell,mm as generateDocs,im as generateDirectivesDocs,ph as generateDirectiveRuntime,re as generateDefaultRobotsTxt,yi as generateDASHManifest,qc as generateCspMetaTag,pc as generateCspHeader,eb as generateCrosswindCSS,Np as generateCompositionRuntime,gm as generateComponentsDocs,pg as generateComponentManifest,em as generateComponentDoc,Rh as generateColorPlaceholder,Ee as generateColorModeBootScript,Dk as generateClientRuntime,_h as generateCacheKey,Da as generateBrowserAutoImportDestructuring,lp as generateBlurUpRuntime,mp as generateBlurUpCSS,ib as generateBindingsRuntime,wh as generateAutoWidthSrcset,Ca as generateAutoImportDestructuring,ag as generateAsyncComponentRuntime,$f as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,kb as generateAnalyticsScript,wn as formatTypecheckDiagnostics,qn as formatTypeErrors,Km as formatStxContent,zj as formatSize,O as formatRoutes,Lm as formatMarkdownContent,tb as formatLocalizedError,Ad as formatICU,Cb as formatFilePath,Jb as formatError,iq as formatDoctorReport,jm as formatDocsAsMarkdown,lm as formatDocsAsJson,km as formatDocsAsHtml,to as format,Bl as foldConstants,so as flipVertical,ro as flipHorizontal,hl as fingerprint,un as findRuntimeTypeDeclarations,gq as findPantryPackage,cc as findMatchingEndTag,_b as findMatchingDelimiter,oa as findInterpolationEnd,ec as findIfBlocks,hc as findExpressions,N as findErrorPage,fc as findDirectiveBlocks,yl as findDeadCode,yl as findDeadBranches,$l as findContainerRegion,fm as findComponentFiles,Lq as findCommonDir,yj as filterRequiredFiles,ah as fileExists,Ud as extractVariables,ml as extractTemplateExpressions,Kd as extractStreamBoundaries,Mn as extractState,Rg as extractSlotContent,Wd as extractScriptFromTemplate,ll as extractScriptBlocks,Ka as extractPlaceholders,bc as extractParenthesizedExpression,Ek as extractPageResponseStatus,ca as extractLayoutMetadata,Qh as extractDominantColor,kc as extractDirectiveParams,Mg as extractDirectiveNames,cl as extractContainerContent,cm as extractComponentProps,qg as extractComponentName,dm as extractComponentDescription,db as extractClassNames,Ea as extractBridgeData,rg as extractBoundProps,$b as extractBalancedExpression,ya as extractAndStripCssImports,Ki as extractAndScopeStyles,la as extractAndProcessEvents,mj as externalizeSharedAssets,nj as externalizeRepeatedAssets,lj as externalizeHtml,_a as evaluateExpression,Al as evaluateConstant,nb as evaluateAuthExpression,Ta as escapeHtmlValue,Sa as escapeHtml,Pb as errorRecovery,Rb as errorLogger,Mf as ensureTeleportTargets,_e as ensureDocumentShell,gd as enhancedValidationRules,am as enableDevTools,zl as eliminateDeadCode,df as effect,Ao as dprUrls,nm as docsCommand,el as discoverLayoutNames,cp as disconnectObserver,bm as disableDevTools,Sb as devHelpers,Zk as detectShell,pm as detectRuntime,Cj as detectProjectConfig,Jh as detectFormat,tl as detectBuildMode,cf as derived,Gj as deploy,Yi as defineStxConfig,Zn as defineStore,Kp as defineSlots,vq as defineSiteConfig,zq as definePropsWithValidation,yq as defineProps,Si as definePlugin,Qc as definePageMeta,R as defineMiddleware,Dg as defineForm,Fp as defineExpose,Ep as defineEmits,mh as defineDirective,_p as defineCustomElement,Wm as defineConfig,nh as defineClientDirective,Zf as defineAsyncComponent,vp as defaultMediaConfig,ik as defaultImageConfig,ld as defaultI18nConfig,da as defaultHeatmapConfig,Zc as defaultFormClasses,Na as defaultFilters,Gc as defaultCspConfig,Ui as defaultConfig,Jq as default,ab as deepMergeThemes,Ae as dedupeScopedStyles,Oh as decodeThumbhash,Bc as cspNonceDirective,Ac as cspDirective,jp as crossfadeTransition,eo as crop,ig as createVirtualList,Di as createVideoDirective,Bm as createVercelHandler,nn as createTypeChecker,Ed as createTranslateFilter,xm as createTextEncoderStream,Zp as createStxApp,wm as createStreamingResponse,Md as createStreamRenderer,Xn as createStore,U as createStorageManager,S as createServerCookieManager,mk as createScope,Uf as createSSRSuspense,$e as createRouter,$ as createRouteLocation,ln as createRoute,nk as createRef,ok as createReactive,Mp as createProvideContext,bn as createProject,Vm as createProductionBuild,Ia as createPlaceholder,Fl as createOptimizedBuild,Cm as createNetlifyHandler,uj as createNetlifyClient,aa as createMiddlewareContext,kn as createMiddleware,ap as createLazyObserver,cg as createKeepAliveCache,tm as createKVNamespace,sg as createIslandRegistry,oi as createImgDirective,dk as createImagePlugin,Yj as createImageHandler,bk as createImageDirective,ia as createHeatmapAggregator,xj as createFileManifest,sm as createEnvAccessor,Mb as createEnhancedError,vm as createEdgeHandler,um as createEdgeCache,dh as createDetailedErrorMessage,Am as createDenoHandler,Dj as createDefaultNetlifyConfig,Fc as createCspHeaders,Em as createCookie,pk as createComputed,lk as createComponentInstance,zm as createCloudflareHandler,T as createClientCookieManager,oh as createBuiltinDirectives,Zp as createApp,F as createAnimationTimeline,ho as cover,Vd as convertToCommonJS,oo as contrast,go as contain,Lb as consoleError,zb as configureErrorHandling,Xi as config,pk as computed,Zl as compressResponse,te as composerPattern,se as composer,$k as composeShellWithPage,Ul as componentDirective,_g as componentClientSignalNames,nl as compileTemplate,a as collectRepeatedFlag,wj as collectDeployFiles,ti as clearVideoCache,md as clearTranslationCache,If as clearStoreCache,rj as clearStorage,No as clearSignatureCache,Vh as clearPlaceholderCache,ae as clearOnceStore,oc as clearNonce,Y as clearMiddleware,ak as clearImageCache,rb as clearErrorMessages,zf as clearDevCaches,Ra as clearCustomFilters,ve as clearComposers,Jf as clearComposableCache,eh as clearComponentCache,ci as clearCache,Bn as cleanupLoadingIndicator,Xk as classifyScript,Yk as classifyAllScripts,on as checkTemplateFile,pn as checkTemplate,Af as checkCache,Ko as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Pl as channel,Jm as captureScreenshots,Im as captureScreenshot,yd as cancelPendingLoads,vj as calculateSha1,xh as calculateOptimalWidths,Bf as cacheTemplate,Fi as buildWebComponents,rn as buildVirtualSource,xp as buildViews,$n as buildUrl,Gd as buildSuspenseResolveScript,uq as buildStaticSite,il as buildRuntimeAsset,jl as buildRouterAsset,tq as buildLangPickerScript,Dh as buildImageUrl,Re as buildHtmlAttrs,rl as buildForProduction,Wl as buildComponentLibrary,Lo as buildAuthParams,sl as buildApp,sq as buildAlternateLinks,Um as build,Nl as broadcastPrivate,Ol as broadcastPresence,Kl as broadcast,no as brightness,io as blur,Fo as batchSignUrls,ef as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,vo as auto,e as attributeValue,kl as assetTags,ja as asInvocableStatement,Gq as arrayOf,pq as applyTranslations,ii as applyTransformations,Sg as applySlots,Tl as applyPropDefaults,yo as applyPreset,Te as applyHtmlAttrs,Vc as applyHead,Za as applyFilters,uc as apiCspPreset,y as animationGroupDirective,zi as analyzeVideo,vl as analyzeUsage,Vk as analyzeTemplate,Wk as analyzeProject,vl as analyzeDirectiveUsage,mb as analyticsDirective,en as addStore,dn as addPage,yc as addNonceToInlineContent,fn as addLayout,cn as addComponent,Sm as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,wf as __setSignalsGeneratorsForTest,Le as __setBuildIdForTest,qi as VideoProcessorCache,Eg as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Zb as Tokenizer,mn as TemplateTypeChecker,Mm as TEMPLATE_PRESETS,Ib as StxValidationError,Eb as StxSyntaxError,Gb as StxSecurityError,Fb as StxRuntimeError,Hb as StxFileError,Db as StxError,Vp as Show,Hd as SUSPENSE_RESOLVER_RUNTIME,Aa as STX_AUTO_IMPORTS,ta as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Tm as ProductionBuild,Xp as Portal,an as PROJECT_TEMPLATES,xo as PRESETS,Sn as MemorySessionStore,uh as MIME_TYPES,rh as MEDIA_DEFAULT_WIDTHS,th as MEDIA_DEFAULT_FORMATS,dl as LAYOUT_TYPES_FILE,fi as ImageProcessorCache,Wj as ImageProcessingError,Nn as HydrationRuntime,cj as HotReloadServer,ha as HeatmapAggregator,Pe as HTML_CLASS_MARKER,Oe as HTML_ATTRS_MARKER,Op as Fragment,Wp as For,Qb as ErrorLogger,ub as ErrorCodes,kj as EXTERNALIZED_ASSET_DIR,Ij as DeployError,Jj as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,sa as DEFAULT_STATE_DIR,Lj as DEFAULT_QUALITY,Kh as DEFAULT_PLACEHOLDER_OPTIONS,Kj as DEFAULT_FORMATS,sh as DEFAULT_DPR_VALUES,En as ComponentHMRHandler,Ch as COMMON_SIZES,Ce as COLOR_MODE_BOOT_MARKER,De as COLOR_MODE_BOOT_GLOBAL,Ne as CLOAK_STYLE,Rl as BroadcastServer,Ql as Broadcast,Ie as BUILD_ID_META,Je as BUILD_ID_HEADER,Lh as BLUR_UP_CSS,fq as $path};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Cg as a}from"./chunk-ndnc7k2n.js";import{Og as n,Qg as FF,Rg as YF,Sg as ZF}from"./chunk-
|
|
2
|
+
import{Cg as a}from"./chunk-ndnc7k2n.js";import{Og as n,Qg as FF,Rg as YF,Sg as ZF}from"./chunk-eqq7k4g0.js";import{xj as C,yj as D}from"./chunk-whq99ytc.js";import{Ak as XF,yk as JF,zk as QF}from"./chunk-yckd6ks5.js";import{Ir as c,Kr as N,Np as o,Up as e,Vp as t,Yl as l,_l as d,lq as u,zp as r}from"./chunk-6wx32fa5.js";import{Gs as s}from"./chunk-31xczh3c.js";import{Xt as S,Zt as zF}from"./chunk-3952ykhb.js";import G from"fs";import Z from"path";import{createHash as WF}from"crypto";zF();function g(J){return WF("sha256").update(J).digest("hex").slice(0,8)}function f(J=!1){let q=J?D():C(),z=g(q);return{content:q,filename:`runtime.${z}.js`,hash:z}}function m(){let J=S(),q=g(J);return{content:J,filename:`router.${q}.js`,hash:q}}function KF(J){return{runtimeTag:J.runtime?`<script src="/__stx/${J.runtime.filename}"></script>`:"",routerTag:J.router?`<script src="/__stx/${J.router.filename}"></script>`:"",cssTag:J.css?`<link rel="stylesheet" href="/__stx/${J.css.filename}">`:""}}import h from"path";import{createHash as $F}from"crypto";function GF(J={}){let q=new Set;return{context:new Proxy(J,{get(Q,X){if(X in Q)return Q[X];if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return},has(Q,X){if(X in Q)return!0;if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return!1}}),accessedKeys:q}}async function p(J,q,z={}){let Q=h.resolve(J),X=await Bun.file(Q).text(),I=$F("sha256").update(X).digest("hex").slice(0,16);l();let K={};try{K=await N()}catch{}let B=[],V=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,k;while((k=V.exec(X))!==null){let $=k[1];if(/\bserver\b/.test($))B.push(k[2])}let W=new Set(B.flatMap(($)=>a($))),{context:E}=GF({__filename:Q,__dirname:h.dirname(Q),__stx_serverDeclared:W}),L=new Set,_={...c,...K,...z,buildMode:"compile",strict:!1},w=await u(X,E,Q,_,L),U=n(w),H=d();return{route:q,sourceFile:J,html:w,fragment:U,placeholders:H,hasServerScripts:B.length>0,serverScriptContent:B,dependencies:Array.from(L),contentHash:I,streamTemplates:E.__streamTemplates}}var VF=new Set([".DS_Store","Thumbs.db","desktop.ini",".gitkeep",".gitignore"]);function i(J,q){let z=0,Q=0;if(!G.existsSync(J))return{copied:z,bytes:Q};G.mkdirSync(q,{recursive:!0});function X(I,K){let B=G.readdirSync(I,{withFileTypes:!0});for(let V of B){if(VF.has(V.name))continue;let k=Z.join(I,V.name),W=Z.join(K,V.name);if(V.isDirectory())G.mkdirSync(W,{recursive:!0}),X(k,W);else if(V.isFile()){if(G.existsSync(W))continue;G.copyFileSync(k,W),z++,Q+=G.statSync(W).size}}}return X(J,q),{copied:z,bytes:Q}}async function mF(J={}){let q=Date.now(),z=Z.resolve(J.root||process.cwd()),Q=Z.resolve(z,J.outputDir||".output");console.log("[stx build] Starting production build...");let X={};try{X=await N()}catch{}let I=J.componentsDir??X.componentsDir??"components",K=J.partialsDir??X.partialsDir??"partials",B=J.layoutsDir??X.layoutsDir??"layouts",V=J.publicDir??X.publicDir??"public",k=X.app?.head||{},W=X.app?.colorMode,E=X.router?.container||"main";if(G.existsSync(Q))G.rmSync(Q,{recursive:!0});let L=[Z.join(Q,"public","__stx"),Z.join(Q,"public","assets"),Z.join(Q,"server","pages"),Z.join(Q,"server","fragments")];for(let Y of L)G.mkdirSync(Y,{recursive:!0});console.log("[stx build] Discovering routes...");let _=t(z),w=["components","layouts","partials"],U=_.filter((Y)=>{return!w.some((F)=>Y.pattern.startsWith(`/${F}/`)||Y.pattern===`/${F}`)});console.log(`[stx build] Found ${U.length} page routes (${_.length-U.length} non-page files excluded)`),console.log("[stx build] Generating shared assets...");let H=f(J.debug),$=m();await Bun.write(Z.join(Q,"public","__stx",H.filename),H.content),await Bun.write(Z.join(Q,"public","__stx",$.filename),$.content),console.log(`[stx build] Runtime: ${H.filename} (${(H.content.length/1024).toFixed(1)}KB)`),console.log(`[stx build] Router: ${$.filename} (${($.content.length/1024).toFixed(1)}KB)`),console.log("[stx build] Compiling templates...");let O=[],j=[];for(let Y of U)try{let F=await p(Y.filePath,Y.pattern,{componentsDir:I,partialsDir:K,layoutsDir:B,debug:J.debug});if(O.push(F),F.html=F.html.replace(/runtime\.__STX_HASH__\.js/g,H.filename).replace(/router\.__STX_HASH__\.js/g,$.filename),F.html=e(F.html,k,{bodyScripts:[`<script src="/__stx/${$.filename}"></script>`],...W&&{colorMode:W}}),W)F.html=r(F.html,W);if(k.htmlAttrs)F.html=o(F.html,k.htmlAttrs);if(!/<body[^>]*\bdata-stx=/.test(F.html)){let T=F.html.match(/<(?!body\b)[a-zA-Z][a-zA-Z0-9-]*\b[^>]*?\s(data-stx="[^"]+")[^>]*>/);if(T&&T[1]){let P=T[1];F.html=F.html.replace(" "+P,""),F.html=F.html.replace(/<body([^>]*)>/,`<body$1 ${P}>`)}}F.html=F.html.replace(/<style data-crosswind="generated">[\s\S]*?<\/style>\s*/g,""),F.html=await s(F.html),F.fragment=FF(F.html,E);let y=Y.pattern==="/"?"index":Y.pattern.slice(1).replace(/\//g,"-").replace(/[[\]]/g,"_"),b=Z.join("server","pages",`${y}.compiled.json`),A=Z.join("server","fragments",`${y}.html`);await Bun.write(Z.join(Q,b),JSON.stringify(F,null,2)),await Bun.write(Z.join(Q,A),F.fragment),j.push({pattern:Y.pattern,compiledPath:b,fragmentPath:A,isDynamic:F.hasServerScripts,hasParams:Y.pattern.includes(":")||Y.pattern.includes("[")}),console.log(`[stx build] \u2713 ${Y.pattern}`)}catch(F){console.error(`[stx build] \u2717 ${Y.pattern}:`,F instanceof Error?F.message:F)}let M=Z.resolve(z,V);if(G.existsSync(M)){let{copied:Y,bytes:F}=i(M,Z.join(Q,"public"));if(Y>0)console.log(`[stx build] Copied ${Y} public asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${V}/`)}let v=XF(z);if(v){let{copied:Y,bytes:F}=i(v,Z.join(Q,"public",QF));if(Y>0)console.log(`[stx build] Copied ${Y} asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${JF}/`)}let R={runtime:H.filename,router:$.filename},qF=YF(j,R,Q);ZF(qF,Q);let x=Date.now()-q;return console.log(`
|
|
3
3
|
[stx build] Done in ${x}ms \u2014 ${O.length} pages compiled`),{pageCount:O.length,assets:R,outputDir:Q,duration:x}}
|
|
4
4
|
export{g as sg,f as tg,m as ug,KF as vg,p as wg,mF as xg};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Tg as n}from"./chunk-bw1b1sw8.js";import{Mo as f,Xp as p,am as b,bm as S,km as k,rm as q}from"./chunk-6wx32fa5.js";import{Vt as c,Zt as XG,st as d}from"./chunk-3952ykhb.js";import{hu as T}from"./chunk-pw0rzgpv.js";import l from"fs";import F from"path";var{serve:ZG}=globalThis.Bun;function R(G,J,K={}){let Q=`${encodeURIComponent(G)}=${encodeURIComponent(J)}`;if(K.maxAge!==void 0)Q+=`; Max-Age=${K.maxAge}`;if(K.expires)Q+=`; Expires=${K.expires.toUTCString()}`;if(K.path)Q+=`; Path=${K.path}`;if(K.domain)Q+=`; Domain=${K.domain}`;if(K.secure)Q+="; Secure";if(K.httpOnly)Q+="; HttpOnly";if(K.sameSite)Q+=`; SameSite=${K.sameSite}`;return Q}async function i(G){let J=G.headers.get("content-type")||"",K={},Q=(X,Z)=>{let $=K[X];if($===void 0)K[X]=Z;else if(Array.isArray($))$.push(Z);else K[X]=[$,Z]};if(J.includes("multipart/form-data")){let X=await G.formData();for(let[Z,$]of X.entries())if(typeof $==="string")Q(Z,$);return K}if(J.includes("application/x-www-form-urlencoded")){for(let[X,Z]of new URLSearchParams(await G.text()).entries())Q(X,Z);return K}return K}function C(G){if(!G)return!1;let J=G.toUpperCase();return J!=="GET"&&J!=="HEAD"}async function y(G,J={}){let K=J.request,Q=J.method??K?.method;if(!K||!C(Q))return{ran:!1};if(typeof G.action!=="function")return{ran:!1};let X={};try{X=await i(K)}catch{}let Z=await G.action({request:K,form:X,params:J.params??{},query:G.query??{},cookies:J.cookies??{}});if(Z&&typeof Z==="object"){let $=Z,U=a($.cookies),I=$.redirect;if(typeof I==="string"&&I)return{redirect:I,ran:!0,...U.length>0?{cookies:U}:{}};let{cookies:V,redirect:A,...O}=$;if(Object.assign(G,O),U.length>0)return{ran:!0,cookies:U}}return{ran:!0}}function a(G){if(!G||typeof G!=="object"||Array.isArray(G))return[];let J=[];for(let[K,Q]of Object.entries(G)){if(!K)continue;if(typeof Q==="string"){J.push(R(K,Q));continue}if(Q&&typeof Q==="object"){let X=Q;if(typeof X.value!=="string")continue;J.push(R(K,X.value,X))}}return J}function v(G,J=[]){let K=new Headers({Location:G,"Cache-Control":"no-store"});for(let Q of J)K.append("Set-Cookie",Q);return new Response(null,{status:303,headers:K})}async function LG(G,J={}){return(await x(G,J)).html}async function g(G,J={}){let{html:K,context:Q,redirect:X,cookies:Z}=await x(G,J);if(X)return{html:K,redirect:X,cookies:Z};let{extractStreamBoundaries:$}=await import("./chunk-a438xffx.js"),U=$(Q),I=G.streamTemplates;if(I&&Object.keys(I).length>0){let{processDirectives:V}=await import("./chunk-1ms6ey5t.js"),{defaultConfig:A}=await import("./chunk-6v4ddvfk.js"),O=Q.streamBoundaries||{},D={...A,autoShell:!1},j=Object.keys(I).map((_)=>({id:_,render:async()=>{let M=typeof O[_]==="function"?await O[_]():void 0;return V(I[_],{...Q,$boundary:M},G.sourceFile,D,new Set)}})),N=new Set(j.map((_)=>_.id));U=[...(U||[]).filter((_)=>!N.has(_.id)),...j]}return{html:K,boundaries:U&&U.length>0?U:void 0,cookies:Z}}async function x(G,J){let K={__filename:G.sourceFile,__dirname:G.sourceFile.replace(/[/\\][^/\\]+$/,""),...J};if(!G.hasServerScripts&&!S(G.html))return{html:G.html,context:K};for(let Z of G.serverScriptContent)try{await f(Z,K,G.sourceFile)}catch($){console.warn(`[stx] Server script error in ${G.sourceFile}:`,$)}let Q=await y(K,{request:J.request,method:J.method,params:J.params??{},cookies:J.cookies??{}});if(Q.redirect)return{html:G.html,context:K,redirect:Q.redirect,cookies:Q.cookies};if(!S(G.html))return{html:G.html,context:K,cookies:Q.cookies};let X=new Map;for(let[Z,$]of Object.entries(G.placeholders))if($.expression)try{let U=q($.expression,K);if($.type==="raw")X.set(Z,U!==void 0&&U!==null?String(U):"");else X.set(Z,U!==void 0&&U!==null?k(String(U)):"")}catch{X.set(Z,"")}return{html:b(G.html,X),context:K,cookies:Q.cookies}}async function VG(G,J={}){if(!G.hasServerScripts&&!S(G.fragment))return G.fragment;let K={__filename:G.sourceFile,__dirname:G.sourceFile.replace(/[/\\][^/\\]+$/,""),...J};for(let X of G.serverScriptContent)try{await f(X,K,G.sourceFile)}catch(Z){console.warn(`[stx] Server script error in ${G.sourceFile}:`,Z)}if(!S(G.fragment))return G.fragment;let Q=new Map;for(let[X,Z]of Object.entries(G.placeholders))if(Z.expression)try{let $=q(Z.expression,K);if(Z.type==="raw")Q.set(X,$!==void 0&&$!==null?String($):"");else Q.set(X,$!==void 0&&$!==null?k(String($)):"")}catch{Q.set(X,"")}return b(G.fragment,Q)}XG();import E from"zlib";import{promisify as u}from"util";var s=u(E.brotliCompress),t=u(E.gzip),o=["text/","application/json","application/javascript","application/xml","application/xhtml+xml","application/rss+xml","application/atom+xml","application/manifest+json","image/svg+xml"],e=["text/event-stream","multipart/x-mixed-replace"],GG=1024;function JG(G){if(!G)return!1;let J=G.toLowerCase();if(e.some((K)=>J.startsWith(K)))return!1;return o.some((K)=>J.startsWith(K))}function KG(G){let J=new Map;for(let K of G.split(",")){let[Q,...X]=K.trim().split(";"),Z=Q.trim().toLowerCase();if(!Z)continue;let $=1;for(let U of X){let I=/^\s*q\s*=\s*([\d.]+)\s*$/i.exec(U);if(!I)continue;let V=Number.parseFloat(I[1]);if(Number.isFinite(V))$=V}J.set(Z,$)}return J}function QG(G){if(!G)return null;let J=KG(G),K=J.get("*"),Q=(X)=>J.get(X)??K??0;if(Q("br")>0)return"br";if(Q("gzip")>0)return"gzip";return null}async function m(G,J,K={}){if(J.headers.get("content-encoding"))return J;if(J.status===204||J.status===304||!J.body)return J;if(!JG(J.headers.get("content-type")))return J;let Q=QG(G.headers.get("accept-encoding"));if(!Q)return J;let X;try{X=new Uint8Array(await J.arrayBuffer())}catch{return J}let Z=()=>new Response(X,{status:J.status,statusText:J.statusText,headers:h(J.headers)});if(X.length<(K.threshold??GG))return Z();try{let $=Q==="br"?await s(X,{params:{[E.constants.BROTLI_PARAM_QUALITY]:K.quality??5,[E.constants.BROTLI_PARAM_SIZE_HINT]:X.length}}):await t(X);if($.length>=X.length)return Z();let U=h(J.headers);return U.set("Content-Encoding",Q),U.set("Content-Length",String($.length)),new Response($,{status:J.status,statusText:J.statusText,headers:U})}catch{return Z()}}function h(G){let J=new Headers(G),K=J.get("Vary");if(!K)return J.set("Vary","Accept-Encoding"),J;if(!K.split(",").some((X)=>X.trim().toLowerCase()==="accept-encoding"))J.set("Vary",`${K}, Accept-Encoding`);return J}var $G={".js":"application/javascript",".mjs":"application/javascript",".css":"text/css",".json":"application/json",".html":"text/html",".txt":"text/plain",".xml":"application/xml",".pdf":"application/pdf",".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".webp":"image/webp",".avif":"image/avif",".svg":"image/svg+xml",".ico":"image/x-icon",".bmp":"image/bmp",".mp4":"video/mp4",".webm":"video/webm",".ogg":"audio/ogg",".mp3":"audio/mpeg",".wav":"audio/wav",".woff":"font/woff",".woff2":"font/woff2",".ttf":"font/ttf",".otf":"font/otf",".eot":"application/vnd.ms-fontobject"};async function bG(G={}){let J=F.resolve(G.outputDir||".output"),K=G.port||3000,Q=n(J);if(!Q)console.error("[stx] No build manifest found. Run `stx build` first."),process.exit(1);console.log(`[stx] Production server loading ${Q.routes.length} routes...`);let X=new Map,Z=new Map,$=new Map,U=new Map;for(let O of Q.routes)try{let D=F.join(J,O.compiledPath),j=JSON.parse(await Bun.file(D).text());X.set(O.pattern,j),$.set(O.pattern,c(j.html)),U.set(O.pattern,p(j.html));let N=F.join(J,O.fragmentPath);if(await Bun.file(N).exists())Z.set(O.pattern,await Bun.file(N).text())}catch(D){console.warn(`[stx] Failed to load route ${O.pattern}:`,D)}let I=new Map,V=[];for(let O of Q.routes)if(O.hasParams){let{regex:D,params:j}=d(O.pattern);V.push({regex:D,route:O,paramNames:j})}else I.set(O.pattern,O);let A=ZG({port:K,async fetch(O){return m(O,await(async()=>{let j=new URL(O.url).pathname;if(G.onRequest){let W=await G.onRequest(O);if(W)return W}if(G.apiRoutes?.[j])return G.apiRoutes[j](O);if((O.method==="GET"||O.method==="HEAD")&&j!=="/"){let W=F.resolve(J,"public"),Y;try{Y=decodeURIComponent(j)}catch{Y=j}if(!Y.includes("\x00")){let L=F.resolve(W,`.${Y}`);if(L===W||L.startsWith(`${W}${F.sep}`))try{if(l.existsSync(L)&&l.statSync(L).isFile()){let w=F.extname(L).toLowerCase(),H=$G[w]||"application/octet-stream",P=j.startsWith("/__stx/")||/\.[0-9a-f]{8}\./.test(j);return new Response(Bun.file(L),{headers:{"Content-Type":H,"Cache-Control":P?"public, max-age=31536000, immutable":"public, max-age=3600"}})}}catch{}}}let N=O.headers.get("X-STX-Router")==="true",_=null,M={};if(_=I.get(j)||null,!_)for(let{regex:W,route:Y,paramNames:L}of V){let B=j.match(W);if(B){_=Y,L.forEach((w,H)=>{M[w]=B[H+1]});break}}if(!_){let W=I.get("/404")||null;if(W){let Y=X.get(W.pattern);if(Y)return new Response(Y.html,{status:404,headers:{"Content-Type":"text/html"}})}return new Response("Not Found",{status:404})}if(N){let W=Z.get(_.pattern);if(W){let Y=$.get(_.pattern);return new Response(W,{headers:{"Content-Type":"text/html","X-STX-Fragment":"true",...U.has(_.pattern)?{"X-STX-Runtime":U.get(_.pattern)?"true":"false"}:{},...Y?{"X-STX-Layout":Y.layout,"X-STX-Layout-Group":Y.group}:{},"Cache-Control":"no-cache"}})}}let r=C(O.method),z=X.get(_.pattern);if(!z){let W=I.get("/500")||null;if(W){let Y=X.get(W.pattern);if(Y)return new Response(Y.html,{status:500,headers:{"Content-Type":"text/html"}})}return new Response("Internal Server Error",{status:500})}if(!r&&!z.hasServerScripts&&Object.keys(z.placeholders).length===0)return new Response(z.html,{headers:{"Content-Type":"text/html","Cache-Control":"public, max-age=60"}});try{let{html:W,boundaries:Y,redirect:L,cookies:B}=await g(z,{params:M,request:O,method:O.method});if(L)return v(L,B);if(Y&&Y.length>0){let{renderStreamingPage:H,streamToResponse:P}=await import("./chunk-a438xffx.js");return P(H(W,Y,{timeoutMs:30000}),{headers:{"Cache-Control":"no-cache"}})}let w=new Headers({"Content-Type":"text/html","Cache-Control":"no-cache"});for(let H of B??[])w.append("Set-Cookie",H);return new Response(W,{headers:w})}catch(W){return console.error(`[stx] Hydration error for ${j}:`,W),new Response(z.html,{headers:{"Content-Type":"text/html"}})}})())}});return console.log(`[stx] Production server running at http://localhost:${K}`),console.log(`[stx] Serving ${Q.routes.length} routes (${X.size} pre-loaded)`),{port:K,stop:()=>A.stop()}}
|
|
2
|
+
import{Tg as n}from"./chunk-eqq7k4g0.js";import{Mo as f,Xp as p,am as b,bm as S,km as k,rm as q}from"./chunk-6wx32fa5.js";import{Vt as c,Zt as XG,st as d}from"./chunk-3952ykhb.js";import{hu as T}from"./chunk-pw0rzgpv.js";import l from"fs";import F from"path";var{serve:ZG}=globalThis.Bun;function R(G,J,K={}){let Q=`${encodeURIComponent(G)}=${encodeURIComponent(J)}`;if(K.maxAge!==void 0)Q+=`; Max-Age=${K.maxAge}`;if(K.expires)Q+=`; Expires=${K.expires.toUTCString()}`;if(K.path)Q+=`; Path=${K.path}`;if(K.domain)Q+=`; Domain=${K.domain}`;if(K.secure)Q+="; Secure";if(K.httpOnly)Q+="; HttpOnly";if(K.sameSite)Q+=`; SameSite=${K.sameSite}`;return Q}async function i(G){let J=G.headers.get("content-type")||"",K={},Q=(X,Z)=>{let $=K[X];if($===void 0)K[X]=Z;else if(Array.isArray($))$.push(Z);else K[X]=[$,Z]};if(J.includes("multipart/form-data")){let X=await G.formData();for(let[Z,$]of X.entries())if(typeof $==="string")Q(Z,$);return K}if(J.includes("application/x-www-form-urlencoded")){for(let[X,Z]of new URLSearchParams(await G.text()).entries())Q(X,Z);return K}return K}function C(G){if(!G)return!1;let J=G.toUpperCase();return J!=="GET"&&J!=="HEAD"}async function y(G,J={}){let K=J.request,Q=J.method??K?.method;if(!K||!C(Q))return{ran:!1};if(typeof G.action!=="function")return{ran:!1};let X={};try{X=await i(K)}catch{}let Z=await G.action({request:K,form:X,params:J.params??{},query:G.query??{},cookies:J.cookies??{}});if(Z&&typeof Z==="object"){let $=Z,U=a($.cookies),I=$.redirect;if(typeof I==="string"&&I)return{redirect:I,ran:!0,...U.length>0?{cookies:U}:{}};let{cookies:V,redirect:A,...O}=$;if(Object.assign(G,O),U.length>0)return{ran:!0,cookies:U}}return{ran:!0}}function a(G){if(!G||typeof G!=="object"||Array.isArray(G))return[];let J=[];for(let[K,Q]of Object.entries(G)){if(!K)continue;if(typeof Q==="string"){J.push(R(K,Q));continue}if(Q&&typeof Q==="object"){let X=Q;if(typeof X.value!=="string")continue;J.push(R(K,X.value,X))}}return J}function v(G,J=[]){let K=new Headers({Location:G,"Cache-Control":"no-store"});for(let Q of J)K.append("Set-Cookie",Q);return new Response(null,{status:303,headers:K})}async function LG(G,J={}){return(await x(G,J)).html}async function g(G,J={}){let{html:K,context:Q,redirect:X,cookies:Z}=await x(G,J);if(X)return{html:K,redirect:X,cookies:Z};let{extractStreamBoundaries:$}=await import("./chunk-a438xffx.js"),U=$(Q),I=G.streamTemplates;if(I&&Object.keys(I).length>0){let{processDirectives:V}=await import("./chunk-1ms6ey5t.js"),{defaultConfig:A}=await import("./chunk-6v4ddvfk.js"),O=Q.streamBoundaries||{},D={...A,autoShell:!1},j=Object.keys(I).map((_)=>({id:_,render:async()=>{let M=typeof O[_]==="function"?await O[_]():void 0;return V(I[_],{...Q,$boundary:M},G.sourceFile,D,new Set)}})),N=new Set(j.map((_)=>_.id));U=[...(U||[]).filter((_)=>!N.has(_.id)),...j]}return{html:K,boundaries:U&&U.length>0?U:void 0,cookies:Z}}async function x(G,J){let K={__filename:G.sourceFile,__dirname:G.sourceFile.replace(/[/\\][^/\\]+$/,""),...J};if(!G.hasServerScripts&&!S(G.html))return{html:G.html,context:K};for(let Z of G.serverScriptContent)try{await f(Z,K,G.sourceFile)}catch($){console.warn(`[stx] Server script error in ${G.sourceFile}:`,$)}let Q=await y(K,{request:J.request,method:J.method,params:J.params??{},cookies:J.cookies??{}});if(Q.redirect)return{html:G.html,context:K,redirect:Q.redirect,cookies:Q.cookies};if(!S(G.html))return{html:G.html,context:K,cookies:Q.cookies};let X=new Map;for(let[Z,$]of Object.entries(G.placeholders))if($.expression)try{let U=q($.expression,K);if($.type==="raw")X.set(Z,U!==void 0&&U!==null?String(U):"");else X.set(Z,U!==void 0&&U!==null?k(String(U)):"")}catch{X.set(Z,"")}return{html:b(G.html,X),context:K,cookies:Q.cookies}}async function VG(G,J={}){if(!G.hasServerScripts&&!S(G.fragment))return G.fragment;let K={__filename:G.sourceFile,__dirname:G.sourceFile.replace(/[/\\][^/\\]+$/,""),...J};for(let X of G.serverScriptContent)try{await f(X,K,G.sourceFile)}catch(Z){console.warn(`[stx] Server script error in ${G.sourceFile}:`,Z)}if(!S(G.fragment))return G.fragment;let Q=new Map;for(let[X,Z]of Object.entries(G.placeholders))if(Z.expression)try{let $=q(Z.expression,K);if(Z.type==="raw")Q.set(X,$!==void 0&&$!==null?String($):"");else Q.set(X,$!==void 0&&$!==null?k(String($)):"")}catch{Q.set(X,"")}return b(G.fragment,Q)}XG();import E from"zlib";import{promisify as u}from"util";var s=u(E.brotliCompress),t=u(E.gzip),o=["text/","application/json","application/javascript","application/xml","application/xhtml+xml","application/rss+xml","application/atom+xml","application/manifest+json","image/svg+xml"],e=["text/event-stream","multipart/x-mixed-replace"],GG=1024;function JG(G){if(!G)return!1;let J=G.toLowerCase();if(e.some((K)=>J.startsWith(K)))return!1;return o.some((K)=>J.startsWith(K))}function KG(G){let J=new Map;for(let K of G.split(",")){let[Q,...X]=K.trim().split(";"),Z=Q.trim().toLowerCase();if(!Z)continue;let $=1;for(let U of X){let I=/^\s*q\s*=\s*([\d.]+)\s*$/i.exec(U);if(!I)continue;let V=Number.parseFloat(I[1]);if(Number.isFinite(V))$=V}J.set(Z,$)}return J}function QG(G){if(!G)return null;let J=KG(G),K=J.get("*"),Q=(X)=>J.get(X)??K??0;if(Q("br")>0)return"br";if(Q("gzip")>0)return"gzip";return null}async function m(G,J,K={}){if(J.headers.get("content-encoding"))return J;if(J.status===204||J.status===304||!J.body)return J;if(!JG(J.headers.get("content-type")))return J;let Q=QG(G.headers.get("accept-encoding"));if(!Q)return J;let X;try{X=new Uint8Array(await J.arrayBuffer())}catch{return J}let Z=()=>new Response(X,{status:J.status,statusText:J.statusText,headers:h(J.headers)});if(X.length<(K.threshold??GG))return Z();try{let $=Q==="br"?await s(X,{params:{[E.constants.BROTLI_PARAM_QUALITY]:K.quality??5,[E.constants.BROTLI_PARAM_SIZE_HINT]:X.length}}):await t(X);if($.length>=X.length)return Z();let U=h(J.headers);return U.set("Content-Encoding",Q),U.set("Content-Length",String($.length)),new Response($,{status:J.status,statusText:J.statusText,headers:U})}catch{return Z()}}function h(G){let J=new Headers(G),K=J.get("Vary");if(!K)return J.set("Vary","Accept-Encoding"),J;if(!K.split(",").some((X)=>X.trim().toLowerCase()==="accept-encoding"))J.set("Vary",`${K}, Accept-Encoding`);return J}var $G={".js":"application/javascript",".mjs":"application/javascript",".css":"text/css",".json":"application/json",".html":"text/html",".txt":"text/plain",".xml":"application/xml",".pdf":"application/pdf",".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".webp":"image/webp",".avif":"image/avif",".svg":"image/svg+xml",".ico":"image/x-icon",".bmp":"image/bmp",".mp4":"video/mp4",".webm":"video/webm",".ogg":"audio/ogg",".mp3":"audio/mpeg",".wav":"audio/wav",".woff":"font/woff",".woff2":"font/woff2",".ttf":"font/ttf",".otf":"font/otf",".eot":"application/vnd.ms-fontobject"};async function bG(G={}){let J=F.resolve(G.outputDir||".output"),K=G.port||3000,Q=n(J);if(!Q)console.error("[stx] No build manifest found. Run `stx build` first."),process.exit(1);console.log(`[stx] Production server loading ${Q.routes.length} routes...`);let X=new Map,Z=new Map,$=new Map,U=new Map;for(let O of Q.routes)try{let D=F.join(J,O.compiledPath),j=JSON.parse(await Bun.file(D).text());X.set(O.pattern,j),$.set(O.pattern,c(j.html)),U.set(O.pattern,p(j.html));let N=F.join(J,O.fragmentPath);if(await Bun.file(N).exists())Z.set(O.pattern,await Bun.file(N).text())}catch(D){console.warn(`[stx] Failed to load route ${O.pattern}:`,D)}let I=new Map,V=[];for(let O of Q.routes)if(O.hasParams){let{regex:D,params:j}=d(O.pattern);V.push({regex:D,route:O,paramNames:j})}else I.set(O.pattern,O);let A=ZG({port:K,async fetch(O){return m(O,await(async()=>{let j=new URL(O.url).pathname;if(G.onRequest){let W=await G.onRequest(O);if(W)return W}if(G.apiRoutes?.[j])return G.apiRoutes[j](O);if((O.method==="GET"||O.method==="HEAD")&&j!=="/"){let W=F.resolve(J,"public"),Y;try{Y=decodeURIComponent(j)}catch{Y=j}if(!Y.includes("\x00")){let L=F.resolve(W,`.${Y}`);if(L===W||L.startsWith(`${W}${F.sep}`))try{if(l.existsSync(L)&&l.statSync(L).isFile()){let w=F.extname(L).toLowerCase(),H=$G[w]||"application/octet-stream",P=j.startsWith("/__stx/")||/\.[0-9a-f]{8}\./.test(j);return new Response(Bun.file(L),{headers:{"Content-Type":H,"Cache-Control":P?"public, max-age=31536000, immutable":"public, max-age=3600"}})}}catch{}}}let N=O.headers.get("X-STX-Router")==="true",_=null,M={};if(_=I.get(j)||null,!_)for(let{regex:W,route:Y,paramNames:L}of V){let B=j.match(W);if(B){_=Y,L.forEach((w,H)=>{M[w]=B[H+1]});break}}if(!_){let W=I.get("/404")||null;if(W){let Y=X.get(W.pattern);if(Y)return new Response(Y.html,{status:404,headers:{"Content-Type":"text/html"}})}return new Response("Not Found",{status:404})}if(N){let W=Z.get(_.pattern);if(W){let Y=$.get(_.pattern);return new Response(W,{headers:{"Content-Type":"text/html","X-STX-Fragment":"true",...U.has(_.pattern)?{"X-STX-Runtime":U.get(_.pattern)?"true":"false"}:{},...Y?{"X-STX-Layout":Y.layout,"X-STX-Layout-Group":Y.group}:{},"Cache-Control":"no-cache"}})}}let r=C(O.method),z=X.get(_.pattern);if(!z){let W=I.get("/500")||null;if(W){let Y=X.get(W.pattern);if(Y)return new Response(Y.html,{status:500,headers:{"Content-Type":"text/html"}})}return new Response("Internal Server Error",{status:500})}if(!r&&!z.hasServerScripts&&Object.keys(z.placeholders).length===0)return new Response(z.html,{headers:{"Content-Type":"text/html","Cache-Control":"public, max-age=60"}});try{let{html:W,boundaries:Y,redirect:L,cookies:B}=await g(z,{params:M,request:O,method:O.method});if(L)return v(L,B);if(Y&&Y.length>0){let{renderStreamingPage:H,streamToResponse:P}=await import("./chunk-a438xffx.js");return P(H(W,Y,{timeoutMs:30000}),{headers:{"Cache-Control":"no-cache"}})}let w=new Headers({"Content-Type":"text/html","Cache-Control":"no-cache"});for(let H of B??[])w.append("Set-Cookie",H);return new Response(W,{headers:w})}catch(W){return console.error(`[stx] Hydration error for ${j}:`,W),new Response(z.html,{headers:{"Content-Type":"text/html"}})}})())}});return console.log(`[stx] Production server running at http://localhost:${K}`),console.log(`[stx] Serving ${Q.routes.length} routes (${X.size} pre-loaded)`),{port:K,stop:()=>A.stop()}}
|
|
3
3
|
export{JG as gf,QG as hf,m as if,R as jf,i as kf,C as lf,y as mf,v as nf,LG as of,g as pf,VG as qf,bG as rf};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Kr as E}from"./chunk-6wx32fa5.js";import{hu as D}from"./chunk-pw0rzgpv.js";import I from"path";async function M(q={}){let G=performance.now(),J=q.root||process.cwd(),j=await E(),y=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${y.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(y==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,...q.ssg})}else{let{buildForProduction:z}=await import("./chunk-
|
|
2
|
+
import{Kr as E}from"./chunk-6wx32fa5.js";import{hu as D}from"./chunk-pw0rzgpv.js";import I from"path";async function M(q={}){let G=performance.now(),J=q.root||process.cwd(),j=await E(),y=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${y.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(y==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,...q.ssg})}else{let{buildForProduction:z}=await import("./chunk-hryeb88f.js");B=await z({outputDir:".output",debug:q.debug,...q.ssr})}let H=Math.round(performance.now()-G);return{mode:y,ssg:A,ssr:B,duration:H}}
|
|
3
3
|
export{M as ff};
|