@stacksjs/stx 0.2.374 → 0.2.376
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-aw7eh64z.js → chunk-2gw7rgbd.js} +1 -1
- package/dist/{chunk-p6nywd36.js → chunk-2kabn4gx.js} +1 -1
- package/dist/{chunk-fsy7xd3d.js → chunk-2tbxmf8q.js} +1 -1
- package/dist/{chunk-2bj8gspx.js → chunk-49k7jgtd.js} +1 -1
- package/dist/{chunk-5sq1pcwk.js → chunk-4a93q5s6.js} +1 -1
- package/dist/{chunk-vspnheas.js → chunk-4gpbttfy.js} +1 -1
- package/dist/{chunk-gbghz9yz.js → chunk-5bcjbtzv.js} +1 -1
- package/dist/{chunk-7gv648nv.js → chunk-5fws3j14.js} +1 -1
- package/dist/{chunk-b6t6qrke.js → chunk-60cttsne.js} +16 -16
- package/dist/{chunk-h7y1r2sv.js → chunk-7d2az9wf.js} +1 -1
- package/dist/{chunk-e03m4har.js → chunk-7rwmnwc3.js} +27 -6
- package/dist/{chunk-xzf7e8gr.js → chunk-7shj7qhy.js} +1 -1
- package/dist/chunk-85hnnapk.js +2 -0
- package/dist/{chunk-6ed51835.js → chunk-890ykrtx.js} +2 -2
- package/dist/chunk-8ee37nzy.js +2 -0
- package/dist/{chunk-fsq3zc6s.js → chunk-c7wxj426.js} +2 -2
- package/dist/{chunk-1ey09r60.js → chunk-cn04s9jy.js} +1 -1
- package/dist/{chunk-rbwpa3da.js → chunk-dn3f4vha.js} +1 -1
- package/dist/{chunk-hws9wnp9.js → chunk-e7eka8f0.js} +1 -1
- package/dist/{chunk-27pj25sv.js → chunk-f42xqr15.js} +1 -1
- package/dist/{chunk-mkn44868.js → chunk-fq6x61z6.js} +1 -1
- package/dist/{chunk-z6g9r92p.js → chunk-fw8jzvjq.js} +1 -1
- package/dist/{chunk-wnrd37y2.js → chunk-h2xrx8dp.js} +1 -1
- package/dist/{chunk-fx1egmxf.js → chunk-jg47xsh5.js} +1 -1
- package/dist/{chunk-qn51tb5q.js → chunk-kh2v2xqp.js} +2 -2
- package/dist/{chunk-yszn9hat.js → chunk-mze9423y.js} +1 -1
- package/dist/{chunk-fa57b8p0.js → chunk-n1wxgmf5.js} +1 -1
- package/dist/{chunk-6n0gta5t.js → chunk-nak6z2rd.js} +2 -2
- package/dist/{chunk-3zk48rp9.js → chunk-njqp8xdd.js} +1 -1
- package/dist/{chunk-4pra0ywp.js → chunk-p0pp4mx1.js} +1 -1
- package/dist/{chunk-7fm77te2.js → chunk-pz7jrd7e.js} +1 -1
- package/dist/{chunk-k021r83x.js → chunk-qca0yw23.js} +1 -1
- package/dist/{chunk-bpw2f94e.js → chunk-qnh4my5d.js} +1 -1
- package/dist/{chunk-wcrq4jp8.js → chunk-qwbrahwb.js} +1 -1
- package/dist/{chunk-8a1426r7.js → chunk-ryv2ase3.js} +1 -1
- package/dist/{chunk-tzw1wpm2.js → chunk-rz8atgv8.js} +1 -1
- package/dist/{chunk-t9m81dj8.js → chunk-skqqb8s4.js} +1 -1
- package/dist/{chunk-8y4jxjj8.js → chunk-sxzdtsqe.js} +1 -1
- package/dist/{chunk-wr470cac.js → chunk-tk9acsdg.js} +1 -1
- package/dist/{chunk-t783ns4v.js → chunk-v1k2a5rq.js} +1 -1
- package/dist/{chunk-a3k5g93v.js → chunk-vsqz8wre.js} +9 -9
- package/dist/{chunk-8jhm7jxm.js → chunk-vybqgjxd.js} +1 -1
- package/dist/{chunk-fwvk9867.js → chunk-wkrbkr05.js} +1 -1
- package/dist/{chunk-bb7vcv1s.js → chunk-xagg1b4c.js} +1 -1
- package/dist/{chunk-twdngbmt.js → chunk-xkcz6hd9.js} +1 -1
- package/dist/{chunk-crdy450h.js → chunk-xq8dj9br.js} +1 -1
- package/dist/{chunk-xv3bdpj7.js → chunk-y062nrhj.js} +1 -1
- package/dist/{chunk-b3cqp202.js → chunk-yhfej8dy.js} +1 -1
- package/dist/{chunk-necx4e30.js → chunk-ypm408ak.js} +1 -1
- package/dist/{chunk-h9352tgz.js → chunk-zfysz73j.js} +1 -1
- package/dist/{chunk-ezkvwsdf.js → chunk-zmssgked.js} +1 -1
- package/dist/cli.js +7 -7
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/pwa.js +1 -1
- package/dist/ssg.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-ezvwd27c.js +0 -2
- package/dist/chunk-gvy5nhc6.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as km,$a as no,$b as yp,$c as yq,$d as yr,A as Wk,Aa as yn,Ab as So,Ac as Zp,Ad as Zq,Ae as ds,B as Xk,Ba as zn,Bb as To,Bc as _p,Bd as _q,Be as es,C as Yk,Ca as Mn,Cb as Uo,Cc as $p,Cd as $q,Ce as fs,D as Zk,Da as Nn,Db as Vo,Dc as aq,Dd as ar,De as gs,E as Pl,Ea as On,Eb as Wo,Ec as bq,Ed as br,Ee as hs,F as Ql,Fa as Pn,Fb as Xo,Fc as cq,Fd as cr,Fe as is,G as Rl,Ga as Qn,Gb as Yo,Gc as dq,Gd as dr,Ge as js,H as Sl,Ha as Rn,Hb as Zo,Hc as eq,Hd as er,He as ks,I as Tl,Ia as Vn,Ib as _o,Ic as fq,Id as fr,Ie as ls,J as Ul,Ja as Wn,Jb as $o,Jc as gq,Jd as gr,Je as ms,K as Vl,Ka as Xn,Kb as ap,Kc as hq,Kd as hr,Ke as ns,L as Wl,La as Yn,Lb as bp,Lc as iq,Ld as ir,M as Xl,Ma as Zn,Mb as cp,Mc as jq,Md as jr,N as Yl,Na as _n,Nb as kp,Nc as kq,Nd as kr,O as Zl,Oa as $n,Ob as lp,Oc as lq,Od as lr,P as _l,Pa as ao,Pb as mp,Pc as mq,Pd as mr,Q as $l,Qa as bo,Qb as np,Qc as nq,Qd as nr,R as am,Ra as co,Rb as op,Rc as oq,Rd as or,S as bm,Sa as eo,Sb as pp,Sc as pq,Sd as pr,T as cm,Ta as fo,Tb as qp,Tc as qq,Td as qr,U as dm,Ua as go,Ub as rp,Uc as rq,Ud as rr,V as em,Va as ho,Vb as sp,Vc as sq,Vd as sr,W as fm,Wa as io,Wb as tp,Wc as tq,Wd as tr,X as gm,Xa as jo,Xb as up,Xc as uq,Xd as ur,Y as hm,Ya as ko,Yb as vp,Yc as vq,Yd as vr,Z as im,Za as lo,Zb as wp,Zc as wq,Zd as wr,_ as jm,_a as mo,_b as xp,_c as xq,_d as xr,aa as lm,ab as oo,ac as zp,ad as zq,ae as zr,ba as mm,bb as po,bc as Ap,bd as Aq,be as Gr,ca as nm,cb as qo,cc as Bp,cd as Bq,ce as Hr,da as om,db as ro,dc as Cp,dd as Cq,de as Ir,ea as pm,eb as so,ec as Dp,ed as Dq,ee as Jr,fa as qm,fb as to,fc as Ep,fd as Eq,fe as Kr,ga as rm,gb as uo,gc as Fp,gd as Fq,ge as Lr,ha as sm,hb as vo,hc as Gp,hd as Gq,he as Mr,ia as tm,ib as wo,ic as Hp,id as Hq,ie as Nr,ja as um,jb as xo,jc as Ip,jd as Iq,je as Or,ka as vm,kb as yo,kc as Jp,kd as Jq,ke as Pr,la as wm,lb as zo,lc as Kp,ld as Kq,le as Qr,ma as xm,mb as Ao,mc as Lp,md as Lq,me as Rr,na as ym,nb as Do,nc as Mp,nd as Mq,ne as Sr,o as a,oa as zm,ob as Eo,oc as Np,od as Nq,oe as Tr,p as Hk,pa as nn,pb as Fo,pc as Op,pd as Oq,pe as Ur,q as Ik,qa as on,qb as Go,qc as Pp,qd as Pq,qe as Vr,r as Jk,ra as pn,rb as Io,rc as Qp,rd as Qq,re as Wr,s as Kk,sa as qn,sb as Jo,sc as Rp,sd as Rq,se as Xr,t as Lk,ta as rn,tb as Ko,tc as Sp,td as Sq,te as Yr,u as Mk,ua as sn,ub as Lo,uc as Tp,ud as Tq,ue as Zr,v as Nk,va as tn,vb as No,vc as Up,vd as Uq,ve as _r,w as Ok,wa as un,wb as Oo,wc as Vp,wd as Vq,we as $r,x as Pk,xa as vn,xb as Po,xc as Wp,xd as Wq,xe as as,y as Uk,ya as wn,yb as Qo,yc as Xp,yd as Xq,ye as bs,z as Vk,za as xn,zb as Ro,zc as Yp,zd as Yq,ze as cs}from"./chunk-a3k5g93v.js";import{Le as dp,Me as ep,Ne as fp,Oe as gp,Pe as hp,Qe as ip,Re as jp}from"./chunk-wnrd37y2.js";import{Se as Bo,Te as Co}from"./chunk-7hb89n3z.js";import{Ue as Ho}from"./chunk-5sq1pcwk.js";import{Ve as mn}from"./chunk-27pj25sv.js";import{We as Sn,Xe as Tn,Ye as Un,Ze as Mo}from"./chunk-tzw1wpm2.js";import{$e as $k,_e as _k,af as al,bf as bl,cf as cl,df as dl,ef as el,ff as fl,gf as gl,hf as hl,if as il,jf as jl,kf as kl,lf as ll,mf as ml}from"./chunk-n0d7nwhd.js";import{nf as Dl,of as El,pf as Fl,qf as Gl,rf as Hl,sf as Il,tf as Jl,uf as Kl,vf as Ll,wf as Ml,xf as Nl,yf as Ol}from"./chunk-84577w4y.js";import{Af as Cl,zf as Bl}from"./chunk-5j3v0p6s.js";import{Bf as nl,Cf as ol,Df as pl,Ef as ql,Ff as rl,Gf as sl,Hf as tl,Jf as ul,Kf as vl,Lf as wl,Mf as xl,Nf as yl,Of as zl,Rf as Al}from"./chunk-198fr2d4.js";import{Sf as Wm,Tf as Xm,Uf as Ym,Vf as Zm,Wf as _m,Xf as ln}from"./chunk-8jhm7jxm.js";import{$f as Dm,Yf as Am,Zf as Bm,_f as Cm,ag as Em,bg as Fm,cg as Gm,dg as Hm,eg as Im,fg as Jm,gg as Km,hg as Lm,ig as Mm,jg as Nm,kg as Om,lg as Pm,mg as $m,ng as an,og as bn,pg as cn,qg as dn,rg as en,sg as fn,tg as gn,ug as hn,vg as jn,wg as kn}from"./chunk-6n0gta5t.js";import{xg as Qm,yg as Rm}from"./chunk-0knxnyq6.js";import{Ag as Bn,Bg as Cn,Cg as Dn,Dg as En,Eg as Fn,Fg as Gn,Gg as Hn,Hg as In,Ig as Jn,Jg as Kn,Kg as Ln,zg as An}from"./chunk-634gaa9d.js";import{Lg as qi,Mg as ri,Ng as si,Og as ti,Pg as ui,Qg as vi}from"./chunk-hws9wnp9.js";import{Rg as Lj,Sg as Mj,Tg as Nj,Xg as Oj,Yg as Pj,Zg as Qj}from"./chunk-karkhcja.js";import{$g as Xj,_g as Wj,ah as Yj,bh as Zj,ch as _j,dh as $j,eh as ak,fh as bk,gh as ck,hh as dk,ih as ek}from"./chunk-ypgyhr2p.js";import{jh as Bj,kh as Cj,lh as Dj,mh as Ej,nh as Fj,ph as Gj,qh as Hj,rh as Ij,sh as Jj,th as Kj}from"./chunk-bcpjhcpn.js";import{uh as wk,wh as xk}from"./chunk-y4zddt5r.js";import{Ch as Lh,Dh as Mh,Eh as Nh,Fh as Oh,Gh as Ph,Hh as Qh}from"./chunk-g7bpkpd4.js";import{Jh as Rh,Kh as Sh,Lh as Th,Mh as Uh,Nh as Vh,Oh as Wh,Ph as Xh,Qh as Yh,Rh as Zh,Sh as _h,Th as $h,Uh as ai,Vh as bi,Wh as ci}from"./chunk-k33778kc.js";import{$h as gi,Yh as di,Zh as ei,_h as fi}from"./chunk-ys4hpkrp.js";import{ei as hi}from"./chunk-g1vxsvqv.js";import{hi as kh}from"./chunk-h9352tgz.js";import{ii as lh}from"./chunk-fqq5k9ve.js";import{ji as mh,ki as nh}from"./chunk-ya5m5vbn.js";import{li as oh,mi as ph,ni as qh,oi as rh,pi as sh,qi as th}from"./chunk-y4nzmkea.js";import{ri as uh,si as vh,ti as wh,ui as xh,vi as yh}from"./chunk-7kw3grq5.js";import{Ai as Dh,wi as zh,xi as Ah,yi as Bh,zi as Ch}from"./chunk-c79nfdyj.js";import{Bi as Eh,Ci as Fh,Di as Gh,Ei as Hh,Fi as Ih,Gi as Jh,Hi as Kh}from"./chunk-ej8mv2k6.js";import{Ii as ih,Ji as jh}from"./chunk-fx1egmxf.js";import"./chunk-ra1s4s6b.js";import{Ni as Oe,Oi as Pe,Pi as Qe,Qi as Re,Ri as Se,Si as Te,Ti as Ue,Ui as Ve,Vi as We,Wi as Xe,Xi as Ye,Yi as Ze,Zi as _e,_i as $e}from"./chunk-twdngbmt.js";import{$i as rf,aj as sf,bj as tf,cj as uf,dj as vf,ej as wf,fj as xf,gj as yf,hj as zf,ij as Af,jj as Bf,kj as Cf,lj as Df,mj as Ef,nj as Ff,oj as Gf,pj as Hf}from"./chunk-kaf0x9rk.js";import{Aj as gf,Bj as hf,Cj as jf,Dj as kf,Ej as lf,Fj as mf,Gj as nf,Hj as of,Ij as pf,Jj as qf,wj as cf,xj as df,yj as ef,zj as ff}from"./chunk-y32dbdta.js";import{Kj as If,Lj as Jf,Mj as Kf,Nj as Lf,Oj as Mf,Pj as Nf,Qj as Of,Rj as Pf,Sj as Qf,Tj as Rf,Uj as Sf,Vj as Tf,Wj as Uf,Xj as Vf}from"./chunk-fsy7xd3d.js";import{pk as Ar,qk as Br,rk as Cr,sk as Dr,tk as Er,uk as Fr}from"./chunk-qn51tb5q.js";import{Ak as Tm,Bk as Um,Ck as Vm,vk as Qk,wk as Rk,xk as Sk,yk as Tk,zk as Sm}from"./chunk-necx4e30.js";import"./chunk-frp9fc7j.js";import"./chunk-xv3bdpj7.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-fsq3zc6s.js";import{ul as bc}from"./chunk-qjvny3wf.js";import{$l as Qb,$m as ld,$n as He,$o as yg,$p as mi,$q as Rj,Al as Ca,Am as Ec,An as Qd,Ap as Zg,Aq as aj,Ar as Dk,Bl as Da,Bm as Fc,Bn as Rd,Bo as Xf,Bp as _g,Bq as bj,Br as Ek,Cl as Ea,Cm as Gc,Cn as Sd,Cp as $g,Cq as cj,Cr as Fk,Dl as Fa,Dm as Hc,Dn as Td,Dp as ah,Dq as dj,Dr as Gk,El as Ga,Em as Ic,En as Ud,Ep as bh,Eq as ej,Fl as Ha,Fm as Jc,Fn as Vd,Fp as ch,Fq as fj,Gl as Ia,Gm as Kc,Gn as Wd,Gp as dh,Gq as gj,Hl as Ja,Hm as Lc,Hn as Xd,Hp as eh,Hq as hj,Il as Ka,Im as Mc,In as Yd,Io as Yf,Ip as fh,Iq as ij,Jl as La,Jm as Nc,Jn as Zd,Jp as gh,Jq as jj,Kl as Ma,Km as Oc,Kn as _d,Ko as Zf,Kp as hh,Kq as kj,Ll as Na,Lm as Pc,Ln as $d,Lp as ii,Lq as lj,Ml as Oa,Mm as Zc,Mn as qe,Mo as _f,Mp as ji,Mq as mj,Nl as ib,Nm as _c,Nn as re,No as $f,Nq as nj,Ol as jb,Om as $c,On as se,Oo as ag,Oq as oj,Pl as kb,Pm as ad,Pn as te,Po as bg,Pp as ki,Pq as pj,Ql as lb,Qm as bd,Qn as ue,Qo as cg,Qq as qj,Rl as mb,Rm as cd,Rn as ve,Ro as dg,Rq as rj,Sl as nb,Sm as dd,Sn as we,So as pg,Sq as sj,Tn as xe,To as qg,Tq as tj,Um as ed,Un as ye,Uo as rg,Uq as uj,Vl as Kb,Vm as fd,Vn as ze,Vo as sg,Vq as vj,Wl as Lb,Wm as gd,Wn as Ae,Wo as tg,Wq as wj,Xl as Mb,Xm as hd,Xn as Be,Xo as ug,Xq as xj,Yl as Nb,Ym as id,Yn as Ce,Yo as vg,Yq as yj,Zl as Ob,Zm as jd,Zn as De,Zo as wg,Zq as zj,_l as Pb,_m as kd,_o as xg,_p as li,_q as Aj,am as Ub,an as md,ao as Ie,ap as zg,aq as ni,ar as Sj,bm as Vb,bn as nd,bo as Je,bp as Ag,bq as oi,br as Tj,cm as Wb,cn as od,co as Ke,cp as Bg,cq as pi,cr as Uj,dm as hc,dn as pd,do as Le,dp as Cg,dq as wi,dr as Vj,em as ic,en as ud,eo as Me,ep as Dg,eq as xi,er as fk,fm as jc,fn as vd,fo as Ne,fp as Eg,fq as yi,fr as gk,gm as kc,gn as wd,gp as Fg,gq as zi,gr as hk,hm as lc,hn as xd,hp as Gg,hq as Ai,hr as ik,im as mc,in as yd,ip as Hg,iq as Bi,ir as jk,jm as nc,jn as zd,jo as af,jp as Ig,jq as Ci,jr as kk,km as oc,kn as Ad,ko as bf,kp as Jg,kq as Di,kr as lk,lm as pc,ln as Bd,lp as Kg,lq as Ei,lr as mk,mm as qc,mn as Cd,mo as Wf,mp as Lg,mq as Fi,mr as nk,nm as rc,nn as Dd,np as Mg,nq as Gi,nr as ok,om as sc,on as Ed,op as Ng,oq as Hi,or as pk,pm as tc,pn as Fd,pp as Og,pq as Ii,pr as qk,qm as uc,qn as Gd,qp as Pg,qq as Ji,qr as rk,rm as vc,rn as Hd,rp as Qg,rq as Ki,rr as sk,sm as wc,sn as Id,sp as Rg,sq as Li,sr as tk,tm as xc,tn as Jd,tp as Sg,tq as Mi,tr as uk,um as yc,un as Kd,up as Tg,uq as Ni,ur as vk,vl as xa,vm as zc,vn as Ld,vp as Ug,vq as Xi,vr as yk,wl as ya,wm as Ac,wn as Md,wp as Vg,wq as Yi,wr as zk,xl as za,xm as Bc,xn as Nd,xp as Wg,xq as Zi,xr as Ak,yl as Aa,ym as Cc,yn as Od,yp as Xg,yq as _i,yr as Bk,zl as Ba,zm as Dc,zn as Pd,zp as Yg,zq as $i,zr as Ck}from"./chunk-b6t6qrke.js";import{$r as ja,Er as M,Fr as N,Gr as O,Hr as P,Ir as Q,Jr as R,Kr as S,Lr as T,Mr as U,Nr as V,Or as W,Pr as X,Qr as Y,Rr as Z,Sr as _,Tr as $,Ur as aa,Vr as ba,Wr as ca,Xr as da,Yr as ea,Zr as fa,_r as ia,as as ka,bs as la,cs as ma,ds as na,es as oa,fs as pa,gs as qa,hs as ra,is as sa,js as ta,ks as ua,ls as va,ms as wa}from"./chunk-jc6wrxrh.js";import{ns as ga,os as ha}from"./chunk-2xpdcr8c.js";import{ps as Rb,qs as Sb,rs as Tb}from"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import{As as Qi,Bs as Ri,Cs as Si,Ds as Ti,Es as Ui,Fs as Vi,Gs as Wi,ys as Oi,zs as Pi}from"./chunk-135mme4g.js";import{$s as Tc,Ys as Qc,Zs as Rc,_s as Sc,at as Uc,ct as Vc,lt as Wc,mt as Xc,nt as Yc}from"./chunk-8y4jxjj8.js";import{ot as Xb,pt as Yb,qt as Zb,rt as _b,st as $b,tt as ac}from"./chunk-w1asc0zd.js";import{At as Ee,Ct as Fe,Ft as Ge}from"./chunk-kd95t585.js";import"./chunk-fa57b8p0.js";import{Kt as cc,Lt as dc}from"./chunk-xk402w4a.js";import{Pt as eg,Qt as fg,Rt as gg,St as hg,Tt as ig,Ut as jg,Vt as kg,Xt as lg,Yt as mg,Zt as ng,_t as og}from"./chunk-dnard9gp.js";import{$t as qd,Au as oe,Bu as pe,au as rd,bu as sd,cu as td,mu as ae,nu as be,ou as ce,pu as de,qu as ee,ru as fe,su as ge,tu as he,uu as ie,vu as je,wu as ke,xu as le,yu as me,zu as ne}from"./chunk-vgx5077x.js";import{$u as A,Cu as b,Du as c,Eu as d,Fu as e,Gu as f,Hu as g,Iu as h,Ju as i,Ku as j,Lu as k,Mu as l,Nu as m,Ou as n,Pu as o,Qu as p,Ru as q,Su as r,Tu as s,Uu as t,Vu as u,Wu as v,Xu as w,Yu as x,Zu as y,_u as z,av as B,bv as C,cv as D,dv as E,ev as F,fv as G,gv as H,hv as I,iv as J,jv as K,kv as L}from"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import{Av as ob,Bv as pb,Cv as qb,Dv as rb,Ev as sb,Fv as tb,Gv as ub,Hv as vb,Iv as wb,Jv as xb,Kv as yb,Lv as zb,Mv as Ab,Nv as Bb,Ov as Cb,Pv as Db,Qv as Eb,Rv as Fb,Sv as Gb,Tv as Hb,Uv as Ib,Vv as Jb}from"./chunk-7racewc5.js";import{Aw as fb,Bw as gb,Dw as hb,Zv as Pa,_v as Qa,bw as Ra,gw as Sa,hw as Ta,nw as Ua,ow as Va,pw as Wa,qw as Xa,rw as Ya,sw as Za,tw as _a,uw as $a,vw as ab,ww as bb,xw as cb,yw as db,zw as eb}from"./chunk-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{il as writeNetlifyConfig,an as writeManifest,Nl as writeImageManifest,tp as wrapComponentForHMR,as as withDefaults,vk as webComponentDirectiveHandler,iq as watermark,kr as watchViews,Xl as watchMultiple,Yl as watchEffect,Wl as watch,Le as warmImagePlaceholders,jm as waitForStore,X as waitForLocale,ep as virtualPathFor,ik as videoDirective,G as validators,es as validated,Be as validateValueEnhanced,li as validateTemplate,Qm as validateRouteRules,nq as validateParams,Ce as validateFormEnhanced,$q as validateFile,xe as validateFields,we as validateField,ni as validateDirective,Wd as validateCspDirectives,Dk as validateConfig,on as validateComponentScripts,Mn as validateComponentProps,hh as validateClientScript,gi as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Bi as userComponentFileExists,Oh as useVirtualList,ie as useTitle,im as useStoreOrThrow,Lp as useStore,Uk as useStorage,zf as useSlots,Wk as useSessionStorage,cc as useServerRuntimeConfig,Xf as useServerData,fe as useSeoMeta,dc as useRuntimeConfig,km as useRouteParams,mm as useRouteParamOrThrow,lm as useRouteParam,ie as usePageTitle,qf as useOptimistic,Ef as useModel,om as useMiddlewareValue,nm as useMiddlewareState,Vk as useLocalStorage,mp as useLoadingIndicator,de as useHead,di as useForm,Bf as useAttrs,br as uploadFiles,ar as uploadFile,fm as updateInstance,of as untrack,Ri as unregisterDirective,gm as unmountInstance,Pc as unescapeHtml,ip as typecheckStxFiles,zi as transpileTypeScript,Pr as translate,Ba as transitionDirective,lc as transformAutoImports,Gn as toUsers,Fn as toUser,Tp as thumbnail,Uq as thumbHashToRGBA,Vq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,If as templateCache,md as syncRecordedResponse,qp as stxClientHelpers,jg as structuredDataDirective,Sr as stripLocalePrefix,Nm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,ro as stringToStream,Kd as strictCspPreset,We as streamingSuspenseDirective,_e as streamToResponse,Ue as streamTemplateSimple,Oe as streamTemplate,Pk as stopHmrServer,Cn as stopBroadcasting,_b as stateDirName,$b as stateDir,cf as state,bh as startsDocument,Mo as startProductionServer,Ho as startInteractive,Bn as startBroadcasting,Ur as stampLocaleLayoutGroup,Ia as staggerDirective,lq as srcsetUrls,Ja as springDirective,td as splitByPipe,Jm as spaNavVaryHeaders,fp as sourcePathFor,sq as smartBatchSign,Di as slotContentHasExpressions,qq as signUrl,xi as shouldTranspileTypeScript,Mk as shouldReloadOnChange,vq as shouldRefreshSignature,Nk as shouldIgnoreFile,Gh as shouldCacheComponent,Xp as sharpen,hs as shape,Zb as setStateDir,sm as setRouteParams,tm as setMiddlewareState,Ke as setImagePlaceholder,tf as setGlobalProvide,b as setErrorLocale,Pl as setCurrentInstance,Yj as setCachedVideoResult,Nj as setCachedImageResult,Hj as setCached,ks as serveStxFile,ms as serveMultipleStxFiles,Hk as serveMarkdownFile,Xo as serveFile,ns as serveApp,Wo as serve,wp as serializeState,cn as serializeSetCookie,Zp as sepia,ge as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Ai as scopeOnRootElement,mk as scopeHTML,lk as scopeCSS,mg as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,bq as saturation,oq as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,Gb as runtimeEventRegexLiteral,Eb as runtimeDirectiveNamesLiteral,xg as runPreProcessingMiddleware,yg as runPostProcessingMiddleware,fn as runPageAction,jf as runMountCallbacks,gb as runMiddleware,dm as runHooks,Ir as runDoctor,kf as runDestroyCallbacks,Bg as runComposers,cq as rotate,hi as rewriteImagesWithSiblings,nd as responseBindings,Hi as resolveTemplatePath,ha as resolveStxTargets,zk as resolveStxDirectories,Or as resolveI18n,Rp as resize,pg as resetUnscopedSignalWarnings,Nc as resetRejectedExpressionWarnings,sc as resetPlaceholders,ce as resetHead,vp as resetHMRHandler,o as resetErrorConfig,cs as required,bg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,ir as renderView,fk as renderVideoComponent,ic as renderVendorStyleTags,rr as renderToString,sr as renderToStream,tr as renderToDOM,Tq as renderThumbhashToCanvas,Fr as renderTemplateString,Dr as renderTemplate,Er as renderString,Re as renderStreamingPage,si as renderSlot,wh as renderSSRSuspense,Dq as renderProtectedVideo,Cq as renderProtectedImg,pq as renderMediaUpload,Cr as renderMarkdownView,Um as renderLayoutTypes,Rj as renderImgComponent,Dl as renderImageComponent,ke as renderHtmlAttrs,je as renderHead,lr as renderEmail,Fi as renderComponentWithSlot,le as renderBodyAttrs,Gp as render,Md as relaxedCspPreset,ve as registerValidationRule,Ye as registerStreamingDirectives,Np as registerStoresClient,qm as registerStore,Qf as registerServeModuleBundle,kg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Ae as registerEnhancedValidationRule,Oi as registerDirective,Vd as registerCspDirectives,Pn as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Tl as ref,zo as redirect,id as recordResponseStatus,jd as recordResponseHeader,ac as rebaseOntoStateDir,kd as readResponseStatus,ld as readResponseHeaders,Fk as readMarkdownFile,Jf as readFileCached,Ul as reactive,gq as quality,Aq as pruneSignatureCache,Kj as pruneCache,rf as provide,Br as protectCodeBlocks,bs as prop,Eg as processVueTemplate,Mh as processVirtualListDirectives,Qh as processVirtualGridDirectives,ek as processVideo,ye as processValidateDirective,ea as processTranslateDirective,qh as processTransitionDirectives,th as processTransitionAttributes,oe as processTitleDirective,ad as processTemplateBindings,mh as processTeleportDirectives,uh as processSuspenseDirectives,fg as processStructuredData,Se as processStreamDirectives,od as processStatusDirective,bi as processStaticDirectives,vg as processStackReplacements,ug as processStackPushDirectives,ti as processSlots,Lm as processShell,Ne as processServerBindings,gg as processSeoDirective,Ze as processSectionDirectives,Uc as processScopedStyles,_c as processReactiveBindings,Eq as processProtectedMedia,Wh as processPartialHydrationDirectives,gh as processOnceDirective,wg as processMiddleware,eg as processMetaDirectives,pe as processMetaDirective,Gk as processMarkdownFileDirectives,Mi as processMarkdownDirectives,cg as processLoops,Eh as processKeepAliveDirectives,fh as processJsonDirective,Ph as processInfiniteListDirectives,tg as processIncludes,Tj as processImgComponents,Fl as processImageComponents,sl as processImage,ne as processHeadDirective,re as processForms,te as processFormInputDirectives,Lc as processExpressions,Pb as processEventDirectives,ue as processErrorDirective,Fg as processDynamicComponents,ii as processDirectives,Wi as processDirectiveAttributes,lh as processDeferDirectives,_d as processCustomDirectives,Sd as processCspDirectives,is as processComponentProps,rc as processClientScript,se as processBasicFormDirectives,zh as processAsyncDirectives,$d as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,Ge as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,lp as preloadIslandHandlers,Me as preloadIconCollection,xn as poolStrings,xk as pluginManager,Ie as placeholdersWarmed,ph as performLeave,oh as performEnter,lf as pendingLifecycleCounts,pf as peek,qg as partialsCache,gk as parseVideoDirectiveOptions,Pp as parseUrl,Wq as parseThumbhashString,zd as parseSwitchBlock,qi as parseSlots,ri as parseSlotElement,Ed as parseScriptDeclarations,tk as parseSFCComponent,Fq as parseProtectedArgs,ag as parseLoopBinding,Sj as parseImgComponent,ij as parseImageUrl,El as parseImageComponent,dn as parseFormBody,Bd as parseExpressionWithFilters,Qn as parseDefaults,wo as parseCookies,Cm as parseContainerSelector,wd as parseConditionalBlock,Cd as parseArguments,Ma as parseAnimationShorthand,ds as optional,yn as optimizeTemplate,Kl as optimizeImage,Ll as optimizeDirectory,fs as oneOf,rg as onceStore,am as onUpdated,Zc as onUpdate,cm as onUnmounted,xm as onServer,_l as onMounted,gf as onMount,ai as onHydrated,xf as onErrorCaptured,hf as onDestroy,Kh as onDeactivated,wm as onClient,$l as onBeforeUpdate,bm as onBeforeUnmount,Zl as onBeforeMount,Jh as onActivated,Pq as observeElement,Ao as notFound,Kg as normalizeCriticalHeadOrder,wf as nextTick,Tn as negotiateEncoding,Ua as navigateTo,em as mountInstance,Ea as motionDirective,Ld as moderateCspPreset,wn as minifyHtml,ig as metaDirective,Vg as metaDedupKey,Qp as mergeParams,Xg as mergeHtmlAttrs,ee as mergeHeadConfigs,Rc as mergeCssConfig,Pd as mergeCspDirectives,Ra as matchRoute,Ni as markdownDirectiveHandler,Ek as markdownCache,ga as looksLikeGlob,Rr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Ak as loadStxConfig,db as loadMiddlewareFromDirectory,bn as loadManifest,Lq as loadElement,Dn as loadChannels,Lb as listensPassively,Yr as lintStxStrict,Nq as lazyLoadAll,Mq as lazyLoad,Ha as keyframeDirective,pr as jsxs,qr as jsxDEV,or as jsx,yo as jsonResponse,Xe as islandDirective,l as isTest,Om as isSpaNavigation,Hm as isSpaNavRequest,tq as isSignatureValid,mf as isSignal,ql as isSharpAvailable,ko as isServerEnvironment,um as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Iq as isNativeLazySupported,Ar as isMarkdownPath,Q as isLoading,R as isLoaded,wi as isJavaScriptScript,Jq as isIntersectionObserverSupported,yl as isImageFile,rl as isImageBackendAvailable,aa as isICUFormat,$h as isHydrated,Ci as isHydrateTrigger,gd as isHttpStatus,jo as isEdgeEnvironment,Zr as isDirectiveKind,k as isDevelopment,nf as isDerived,Lk as isCssOnlyChange,Sn as isCompressible,vm as isClient,Bh as isAsyncComponent,en as isActionableMethod,_p as invert,Lf as invalidateFileCacheByDir,Kf as invalidateFileCache,Kc as interpolateScriptsInTemplate,Ic as interpolateScriptExpressions,Jc as interpolateScriptAttributes,x as inlineError,Nr as injectThemeBootstrap,hg as injectSeoTags,Kr as injectSeo,Wf as injectRouterScript,Kk as injectHotReload,kb as injectHeatmap,Yc as injectCss,Qd as injectCspMetaTag,dh as injectConfigHeadTags,Jg as injectColorModeBootScript,Zg as injectCloakStyle,Qg as injectBuildId,kc as injectBrowserCoreAutoImports,cd as injectAnalytics,sf as inject,pm as initStoreRegistry,ll as initNetlify,np as initLoadingIndicator,Kq as initLazyLoading,Go as initFile,Sq as initBlurUp,Yq as initAllBlurUp,Vj as imgDirective,Il as imageDirective,jn as hydrateTemplateStream,hn as hydrateTemplate,kp as hydrateIslands,Yh as hydrateIsland,kn as hydrateFragment,Zh as hydrateByStrategy,_h as hydrateAll,Dp as hydrate,Vo as htmlResponse,$g as hoistLeadingHeadTags,Lg as hoistColorModeBootScript,lb as heatmapDirective,Dj as hashString,Vf as hashFilePath,Bj as hashFile,Cj as hashBuffer,Dg as hasVueTemplateSyntax,$f as hasVariables,Ip as hasStore,xc as hasPlaceholders,jl as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,ch as hasDocumentShell,oi as hasDirectives,ma as hasDOMSupport,Bl as handleImageRequest,yf as handleError,xr as h,xl as groupVariantsByFormat,Yp as grayscale,Oo as gitHash,qn as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,el as getTotalSize,uq as getTimeUntilExpiry,ih as getStoreScript,Jp as getStoreNames,Hp as getStore,Zk as getStorageSize,Yk as getStorageKeys,Ii as getSourceLineInfo,yi as getSharedTranspiler,Rf as getServeModuleBundle,Pf as getServeClientAsset,la as getScreenReaderOnlyStyle,nk as getScopeAttribute,bf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,mi as getPositionInfo,uc as getPlaceholderRegistry,Aj as getPlaceholderCacheStats,be as getPageMeta,Gd as getNonce,zl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,He as getImagePlaceholder,tl as getImageMetadata,Ee as getImageDelivery,Cp as getHydrationRuntime,rm as getHydratedStoreState,Ok as getHmrServer,ae as getHead,up as getHMRHandler,mj as getFormatExtension,Fj as getFileMtime,wl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Qi as getDirectives,Pi as getDirective,Ql as getCurrentInstance,Vc as getCssServeAsset,Od as getCspPreset,Xd as getCspHeaderName,Li as getComponentCacheStats,Xj as getCachedVideoResult,yq as getCachedSignature,Nf as getCachedSignalsRuntime,Of as getCachedRouterScript,yj as getCachedPlaceholder,Mj as getCachedImageResult,Gj as getCached,Jj as getCacheStats,Og as getBuildId,An as getBroadcastServer,lj as getBestVariant,Bc as getAllFilters,$i as generateWidthSrcset,Nh as generateVirtualListCSS,dr as generateVideoPreview,De as generateValidationScript,er as generateUploadRuntime,rn as generateTreeShakenBundle,sh as generateTransitionRuntime,rh as generateTransitionCSS,$j as generateThumbnails,rj as generateThumbhashPlaceholder,ao as generateTemplatesDocs,yh as generateSuspenseRuntime,xh as generateSuspenseCSS,xp as generateStateScript,jj as generateSrcsetData,Qj as generateSrcset,ul as generateSrcSet,ak as generateSpriteSheet,mr as generateSpaShell,kj as generateSourceTags,fj as generateSizesFromBreakpoints,ej as generateSizesAttribute,vl as generateSizes,lg as generateSitemapIndex,Lr as generateSitemap,Hq as generateSimpleMediaPicker,Bq as generateSignatureRuntime,Hf as generateSignalsRuntimeDev,Gf as generateSignalsRuntime,qc as generateServerDataBridge,kk as generateScopeId,uk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,ng as generateRobotsTxt,Mr as generateRobots,Pj as generateResponsiveVariants,qk as generateReactiveWebComponentTS,pk as generateReactiveWebComponent,sk as generateReactiveRuntime,rk as generateReactiveMixin,_j as generatePoster,xj as generatePlaceholderStyle,wj as generatePlaceholderCSS,qj as generatePlaceholder,Xh as generatePartialHydrationCSS,Fd as generateNonce,fl as generateNetlifyToml,gr as generateMinifiedMediaRuntime,fr as generateMediaRuntime,Gq as generateMediaManagerEmbed,$m as generateManifest,pp as generateLoadingIndicatorHtml,Rq as generateLazyLoadRuntime,Vm as generateLayoutTypes,tj as generateLQIP,Ih as generateKeepAliveRuntime,Hh as generateKeepAliveCSS,ci as generateIslandManifest,cr as generateImagePreview,Ml as generateImageManifest,Bp as generateHydrationScript,$e as generateHydrationRuntime,Ep as generateHydrationCSS,Rh as generateHydrationBootstrap,Jk as generateHotReloadScript,jb as generateHeatmapScript,sp as generateHMRClientScript,bk as generateHLSManifest,yp as generateEventBindings,dj as generateDprSrcsetWithVariableQuality,cj as generateDprSrcset,ah as generateDocumentShell,go as generateDocs,bo as generateDirectivesDocs,Vi as generateDirectiveRuntime,og as generateDefaultRobotsTxt,ck as generateDASHManifest,Xc as generateCss,Jd as generateCspMetaTag,Id as generateCspHeader,Df as generateCompositionRuntime,$n as generateComponentsDocs,Sh as generateComponentManifest,Zn as generateComponentDoc,vj as generateColorPlaceholder,Ig as generateColorModeBootScript,hm as generateClientRuntime,Ej as generateCacheKey,oc as generateBrowserAutoImportDestructuring,Zq as generateBlurUpRuntime,_q as generateBlurUpCSS,$c as generateBindingsRuntime,aj as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Dh as generateAsyncComponentRuntime,Ch as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,bd as generateAnalyticsScript,jp as formatTypecheckDiagnostics,cp as formatTypeErrors,Do as formatStxContent,dl as formatSize,Ta as formatRoutes,Eo as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Jr as formatDoctorReport,co as formatDocsAsMarkdown,fo as formatDocsAsJson,eo as formatDocsAsHtml,fq as format,vn as foldConstants,eq as flipVertical,dq as flipHorizontal,Wm as fingerprint,hp as findStxModuleDeclarations,gp as findRuntimeTypeDeclarations,Hr as findPantryPackage,Dc as findMustacheEnd,vd as findMatchingEndTag,rd as findMatchingDelimiter,Rb as findInterpolationEnd,xd as findIfBlocks,Ad as findExpressions,Sa as findErrorPage,Sc as findDuplicateScopedStyleRanges,yd as findDirectiveBlocks,sn as findDeadCode,sn as findDeadBranches,Dm as findContainerRegion,_n as findComponentFiles,ls as findCommonDir,cl as filterRequiredFiles,Gi as fileExists,Yf as extractVariables,ki as extractTemplateExpressions,Te as extractStreamBoundaries,zp as extractState,ui as extractSlotContent,_f as extractScriptFromTemplate,ji as extractScriptBlocks,vc as extractPlaceholders,ud as extractParenthesizedExpression,hd as extractPageResponseStatus,hb as extractLayoutMetadata,uj as extractDominantColor,Dd as extractDirectiveParams,pi as extractDirectiveNames,Pm as extractContainerContent,Xn as extractComponentProps,Th as extractComponentName,Yn as extractComponentDescription,Wc as extractClassNames,pc as extractBridgeData,Uh as extractBoundProps,sd as extractBalancedExpression,hc as extractAndStripCssImports,ok as extractAndScopeStyles,Ob as extractAndProcessEvents,Sk as externalizeSharedAssets,Tk as externalizeRepeatedAssets,Rk as externalizeHtml,Oc as evaluateExpression,un as evaluateConstant,pd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,nh as ensureTeleportTargets,eh as ensureDocumentShell,ze as enhancedValidationRules,Vn as enableDevTools,tn as eliminateDeadCode,ef as effect,mq as dprUrls,ho as docsCommand,ec as discoverServerApi,Tm as discoverLayoutNames,Qq as disconnectObserver,Wn as disableDevTools,F as devHelpers,Km as detectShell,io as detectRuntime,gl as detectProjectConfig,nj as detectFormat,nn as detectBuildMode,df as derived,kl as deploy,Ck as defineStxConfig,Mp as defineStore,Af as defineSlots,Xr as defineSiteConfig,$r as definePropsWithValidation,_r as defineProps,wk as definePlugin,he as definePageMeta,Wa as defineMiddleware,ei as defineForm,vf as defineExpose,uf as defineEmits,Si as defineDirective,zr as defineCustomElement,Lo as defineConfig,Ti as defineClientDirective,Ah as defineAsyncComponent,No as defineApiHandler,hr as defaultMediaConfig,Ol as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,qe as defaultFormClasses,yc as defaultFilters,Zd as defaultCspConfig,yk as defaultConfig,js as default,Qc as deepMergeThemes,Tc as dedupeScopedStyles,Gm as decodeTitleEntities,sj as decodeThumbhash,dg as declareBareLoopHead,Ud as cspNonceDirective,Td as cspDirective,Xq as crossfadeTransition,Sp as crop,Lh as createVirtualList,hk as createVideoDirective,uo as createVercelHandler,$o as createTypeChecker,fa as createTranslateFilter,qo as createTextEncoderStream,yr as createStxApp,po as createStreamingResponse,Ve as createStreamRenderer,Kp as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Sl as createScope,vh as createSSRSuspense,af as createRouter,Rm as createRouteRuleResolver,eb as createRouteLocation,Zo as createRoute,Tl as createRef,Ul as createReactive,Cf as createProvideContext,Qo as createProject,Ko as createProductionBuild,tc as createPlaceholder,zn as createOptimizedBuild,vo as createNetlifyHandler,_k as createNetlifyClient,fb as createMiddlewareContext,Yo as createMiddleware,Oq as createLazyObserver,Fh as createKeepAliveCache,mo as createKVNamespace,Vh as createIslandRegistry,Uj as createImgDirective,Jl as createImagePlugin,Cl as createImageHandler,Hl as createImageDirective,nb as createHeatmapAggregator,bl as createFileManifest,lo as createEnvAccessor,z as createEnhancedError,oo as createEdgeHandler,no as createEdgeCache,Ji as createDetailedErrorMessage,to as createDenoHandler,hl as createDefaultNetlifyConfig,Yd as createCspHeaders,xo as createCookie,Vl as createComputed,Rl as createComponentInstance,so as createCloudflareHandler,Ya as createClientCookieManager,Ui as createBuiltinDirectives,yr as createApp,Ka as createAnimationTimeline,Vp as cover,Zf as convertToCommonJS,aq as contrast,Up as contain,y as consoleError,m as configureErrorHandling,Bk as config,Vl as computed,Un as compressResponse,Ag as composerPattern,zg as composer,Mm as composeShellWithPage,On as componentDirective,Ei as componentClientSignalNames,_m as compileTemplate,a as collectRepeatedFlag,al as collectDeployFiles,_g as cloakStyleFragment,Zj as clearVideoCache,N as clearTranslationCache,jh as clearStoreCache,Xk as clearStorage,zq as clearSignatureCache,Ff as clearServerData,zj as clearPlaceholderCache,sg as clearOnceStore,Hd as clearNonce,bb as clearMiddleware,Je as clearImagePlaceholders,Fe as clearImageDeliveryCatalog,Gl as clearImageCache,e as clearErrorMessages,Sf as clearDevCaches,Cc as clearCustomFilters,Cg as clearComposers,kh as clearComposableCache,Ki as clearComponentCache,Ij as clearCache,Ib as clearBlankCache,op as cleanupLoadingIndicator,Am as classifyScript,Bm as classifyAllScripts,ap as checkTemplateFile,bp as checkTemplate,Tf as checkCache,wq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Jn as channel,Co as captureScreenshots,Bo as captureScreenshot,Z as cancelPendingLoads,$k as calculateSha1,bj as calculateOptimalWidths,Uf as cacheTemplate,bc as cacheEngineFingerprint,jk as buildWebComponents,dp as buildVirtualSource,jr as buildViews,Op as buildUrl,Pe as buildSuspenseResolveScript,Wr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Xm as buildRuntimeAsset,Ym as buildRouterAsset,Vr as buildLangPickerScript,hj as buildImageUrl,Rg as buildIdFragment,Wg as buildHtmlAttrs,ln as buildForProduction,Rn as buildComponentLibrary,xq as buildAuthParams,mn as buildApp,Tr as buildAlternateLinks,Jo as build,Hn as broadcastPrivate,In as broadcastPresence,En as broadcast,$p as brightness,Tb as bracketDepths,Wp as blur,Jb as blankInertHtmlRegions,rq as batchSignUrls,ff as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,hq as auto,ja as attributeValue,Zm as assetTags,Mb as asInvocableStatement,gs as arrayOf,Qr as applyTranslations,Oj as applyTransformations,vi as applySlots,Nn as applyPropDefaults,kq as applyPreset,Yg as applyHtmlAttrs,me as applyHead,Mc as applyFilters,Im as appendVary,Nd as apiCspPreset,Da as animationGroupDirective,dk as analyzeVideo,pn as analyzeUsage,ym as analyzeTemplate,zm as analyzeProject,pn as analyzeDirectiveUsage,dd as analyticsDirective,To as addStore,So as addPage,Rd as addNonceToInlineContent,Uo as addLayout,Ro as addComponent,gn as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Mf as __setSignalsGeneratorsForTest,Pg as __setBuildIdForTest,Wj as VideoProcessorCache,fi as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,qd as Tokenizer,_o as TemplateTypeChecker,Fo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,ur as Show,Qe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Em as SPA_NAV_HEADER,Kb as SCROLL_BLOCKING_EVENTS,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Fb as RUNTIME_EVENT_NAMES,Db as RUNTIME_DIRECTIVE_NAMES,ed as RESPONSE_STATUS_KEY,fd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Io as ProductionBuild,wr as Portal,Po as PROJECT_TEMPLATES,jq as PRESETS,sb as NON_CLIENT_PRIMITIVES,Fp as MemorySessionStore,_i as MIME_TYPES,Xi as MEDIA_DEFAULT_WIDTHS,Zi as MEDIA_DEFAULT_FORMATS,Sm as LAYOUT_TYPES_FILE,Lj as ImageProcessorCache,Al as ImageProcessingError,Ap as HydrationRuntime,Ik as HotReloadServer,mb as HeatmapAggregator,Ug as HTML_CLASS_MARKER,Tg as HTML_ATTRS_MARKER,nr as Fragment,vr as For,Fm as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Qk as EXTERNALIZED_ASSET_DIR,ml as DeployError,nl as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,pl as DEFAULT_QUALITY,oj as DEFAULT_PLACEHOLDER_OPTIONS,ol as DEFAULT_FORMATS,Yi as DEFAULT_DPR_VALUES,rp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,gj as COMMON_SIZES,Gg as COLOR_MODE_BOOT_MARKER,Hg as COLOR_MODE_BOOT_GLOBAL,Sg as CLOAK_STYLE,Ln as BroadcastServer,Kn as Broadcast,Mg as BUILD_ID_META,Ng as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,pj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Gr as $path};
|
|
2
|
+
import{$ as km,$a as no,$b as yp,$c as yq,$d as yr,A as Wk,Aa as yn,Ab as So,Ac as Zp,Ad as Zq,Ae as ds,B as Xk,Ba as zn,Bb as To,Bc as _p,Bd as _q,Be as es,C as Yk,Ca as Mn,Cb as Uo,Cc as $p,Cd as $q,Ce as fs,D as Zk,Da as Nn,Db as Vo,Dc as aq,Dd as ar,De as gs,E as Pl,Ea as On,Eb as Wo,Ec as bq,Ed as br,Ee as hs,F as Ql,Fa as Pn,Fb as Xo,Fc as cq,Fd as cr,Fe as is,G as Rl,Ga as Qn,Gb as Yo,Gc as dq,Gd as dr,Ge as js,H as Sl,Ha as Rn,Hb as Zo,Hc as eq,Hd as er,He as ks,I as Tl,Ia as Vn,Ib as _o,Ic as fq,Id as fr,Ie as ls,J as Ul,Ja as Wn,Jb as $o,Jc as gq,Jd as gr,Je as ms,K as Vl,Ka as Xn,Kb as ap,Kc as hq,Kd as hr,Ke as ns,L as Wl,La as Yn,Lb as bp,Lc as iq,Ld as ir,M as Xl,Ma as Zn,Mb as cp,Mc as jq,Md as jr,N as Yl,Na as _n,Nb as kp,Nc as kq,Nd as kr,O as Zl,Oa as $n,Ob as lp,Oc as lq,Od as lr,P as _l,Pa as ao,Pb as mp,Pc as mq,Pd as mr,Q as $l,Qa as bo,Qb as np,Qc as nq,Qd as nr,R as am,Ra as co,Rb as op,Rc as oq,Rd as or,S as bm,Sa as eo,Sb as pp,Sc as pq,Sd as pr,T as cm,Ta as fo,Tb as qp,Tc as qq,Td as qr,U as dm,Ua as go,Ub as rp,Uc as rq,Ud as rr,V as em,Va as ho,Vb as sp,Vc as sq,Vd as sr,W as fm,Wa as io,Wb as tp,Wc as tq,Wd as tr,X as gm,Xa as jo,Xb as up,Xc as uq,Xd as ur,Y as hm,Ya as ko,Yb as vp,Yc as vq,Yd as vr,Z as im,Za as lo,Zb as wp,Zc as wq,Zd as wr,_ as jm,_a as mo,_b as xp,_c as xq,_d as xr,aa as lm,ab as oo,ac as zp,ad as zq,ae as zr,ba as mm,bb as po,bc as Ap,bd as Aq,be as Gr,ca as nm,cb as qo,cc as Bp,cd as Bq,ce as Hr,da as om,db as ro,dc as Cp,dd as Cq,de as Ir,ea as pm,eb as so,ec as Dp,ed as Dq,ee as Jr,fa as qm,fb as to,fc as Ep,fd as Eq,fe as Kr,ga as rm,gb as uo,gc as Fp,gd as Fq,ge as Lr,ha as sm,hb as vo,hc as Gp,hd as Gq,he as Mr,ia as tm,ib as wo,ic as Hp,id as Hq,ie as Nr,ja as um,jb as xo,jc as Ip,jd as Iq,je as Or,ka as vm,kb as yo,kc as Jp,kd as Jq,ke as Pr,la as wm,lb as zo,lc as Kp,ld as Kq,le as Qr,ma as xm,mb as Ao,mc as Lp,md as Lq,me as Rr,na as ym,nb as Do,nc as Mp,nd as Mq,ne as Sr,o as a,oa as zm,ob as Eo,oc as Np,od as Nq,oe as Tr,p as Hk,pa as nn,pb as Fo,pc as Op,pd as Oq,pe as Ur,q as Ik,qa as on,qb as Go,qc as Pp,qd as Pq,qe as Vr,r as Jk,ra as pn,rb as Io,rc as Qp,rd as Qq,re as Wr,s as Kk,sa as qn,sb as Jo,sc as Rp,sd as Rq,se as Xr,t as Lk,ta as rn,tb as Ko,tc as Sp,td as Sq,te as Yr,u as Mk,ua as sn,ub as Lo,uc as Tp,ud as Tq,ue as Zr,v as Nk,va as tn,vb as No,vc as Up,vd as Uq,ve as _r,w as Ok,wa as un,wb as Oo,wc as Vp,wd as Vq,we as $r,x as Pk,xa as vn,xb as Po,xc as Wp,xd as Wq,xe as as,y as Uk,ya as wn,yb as Qo,yc as Xp,yd as Xq,ye as bs,z as Vk,za as xn,zb as Ro,zc as Yp,zd as Yq,ze as cs}from"./chunk-vsqz8wre.js";import{Le as dp,Me as ep,Ne as fp,Oe as gp,Pe as hp,Qe as ip,Re as jp}from"./chunk-h2xrx8dp.js";import{Se as Bo,Te as Co}from"./chunk-7hb89n3z.js";import{Ue as Ho}from"./chunk-4a93q5s6.js";import{Ve as mn}from"./chunk-f42xqr15.js";import{We as Sn,Xe as Tn,Ye as Un,Ze as Mo}from"./chunk-rz8atgv8.js";import{$e as $k,_e as _k,af as al,bf as bl,cf as cl,df as dl,ef as el,ff as fl,gf as gl,hf as hl,if as il,jf as jl,kf as kl,lf as ll,mf as ml}from"./chunk-n0d7nwhd.js";import{nf as Dl,of as El,pf as Fl,qf as Gl,rf as Hl,sf as Il,tf as Jl,uf as Kl,vf as Ll,wf as Ml,xf as Nl,yf as Ol}from"./chunk-84577w4y.js";import{Af as Cl,zf as Bl}from"./chunk-5j3v0p6s.js";import{Bf as nl,Cf as ol,Df as pl,Ef as ql,Ff as rl,Gf as sl,Hf as tl,Jf as ul,Kf as vl,Lf as wl,Mf as xl,Nf as yl,Of as zl,Rf as Al}from"./chunk-198fr2d4.js";import{Sf as Wm,Tf as Xm,Uf as Ym,Vf as Zm,Wf as _m,Xf as ln}from"./chunk-vybqgjxd.js";import{$f as Dm,Yf as Am,Zf as Bm,_f as Cm,ag as Em,bg as Fm,cg as Gm,dg as Hm,eg as Im,fg as Jm,gg as Km,hg as Lm,ig as Mm,jg as Nm,kg as Om,lg as Pm,mg as $m,ng as an,og as bn,pg as cn,qg as dn,rg as en,sg as fn,tg as gn,ug as hn,vg as jn,wg as kn}from"./chunk-nak6z2rd.js";import{xg as Qm,yg as Rm}from"./chunk-0knxnyq6.js";import{Ag as Bn,Bg as Cn,Cg as Dn,Dg as En,Eg as Fn,Fg as Gn,Gg as Hn,Hg as In,Ig as Jn,Jg as Kn,Kg as Ln,zg as An}from"./chunk-634gaa9d.js";import{Lg as qi,Mg as ri,Ng as si,Og as ti,Pg as ui,Qg as vi}from"./chunk-e7eka8f0.js";import{Rg as Lj,Sg as Mj,Tg as Nj,Xg as Oj,Yg as Pj,Zg as Qj}from"./chunk-karkhcja.js";import{$g as Xj,_g as Wj,ah as Yj,bh as Zj,ch as _j,dh as $j,eh as ak,fh as bk,gh as ck,hh as dk,ih as ek}from"./chunk-ypgyhr2p.js";import{jh as Bj,kh as Cj,lh as Dj,mh as Ej,nh as Fj,ph as Gj,qh as Hj,rh as Ij,sh as Jj,th as Kj}from"./chunk-bcpjhcpn.js";import{uh as wk,wh as xk}from"./chunk-y4zddt5r.js";import{Ch as Lh,Dh as Mh,Eh as Nh,Fh as Oh,Gh as Ph,Hh as Qh}from"./chunk-g7bpkpd4.js";import{Jh as Rh,Kh as Sh,Lh as Th,Mh as Uh,Nh as Vh,Oh as Wh,Ph as Xh,Qh as Yh,Rh as Zh,Sh as _h,Th as $h,Uh as ai,Vh as bi,Wh as ci}from"./chunk-k33778kc.js";import{$h as gi,Yh as di,Zh as ei,_h as fi}from"./chunk-ys4hpkrp.js";import{ei as hi}from"./chunk-g1vxsvqv.js";import{hi as kh}from"./chunk-zfysz73j.js";import{ii as lh}from"./chunk-fqq5k9ve.js";import{ji as mh,ki as nh}from"./chunk-ya5m5vbn.js";import{li as oh,mi as ph,ni as qh,oi as rh,pi as sh,qi as th}from"./chunk-y4nzmkea.js";import{ri as uh,si as vh,ti as wh,ui as xh,vi as yh}from"./chunk-7kw3grq5.js";import{Ai as Dh,wi as zh,xi as Ah,yi as Bh,zi as Ch}from"./chunk-c79nfdyj.js";import{Bi as Eh,Ci as Fh,Di as Gh,Ei as Hh,Fi as Ih,Gi as Jh,Hi as Kh}from"./chunk-ej8mv2k6.js";import{Ii as ih,Ji as jh}from"./chunk-jg47xsh5.js";import"./chunk-ra1s4s6b.js";import{Ni as Oe,Oi as Pe,Pi as Qe,Qi as Re,Ri as Se,Si as Te,Ti as Ue,Ui as Ve,Vi as We,Wi as Xe,Xi as Ye,Yi as Ze,Zi as _e,_i as $e}from"./chunk-xkcz6hd9.js";import{$i as rf,aj as sf,bj as tf,cj as uf,dj as vf,ej as wf,fj as xf,gj as yf,hj as zf,ij as Af,jj as Bf,kj as Cf,lj as Df,mj as Ef,nj as Ff,oj as Gf,pj as Hf}from"./chunk-kaf0x9rk.js";import{Aj as gf,Bj as hf,Cj as jf,Dj as kf,Ej as lf,Fj as mf,Gj as nf,Hj as of,Ij as pf,Jj as qf,wj as cf,xj as df,yj as ef,zj as ff}from"./chunk-y32dbdta.js";import{Kj as If,Lj as Jf,Mj as Kf,Nj as Lf,Oj as Mf,Pj as Nf,Qj as Of,Rj as Pf,Sj as Qf,Tj as Rf,Uj as Sf,Vj as Tf,Wj as Uf,Xj as Vf}from"./chunk-2tbxmf8q.js";import{pk as Ar,qk as Br,rk as Cr,sk as Dr,tk as Er,uk as Fr}from"./chunk-kh2v2xqp.js";import{Ak as Tm,Bk as Um,Ck as Vm,vk as Qk,wk as Rk,xk as Sk,yk as Tk,zk as Sm}from"./chunk-ypm408ak.js";import"./chunk-frp9fc7j.js";import"./chunk-y062nrhj.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-c7wxj426.js";import{ul as bc}from"./chunk-qjvny3wf.js";import{$l as Qb,$m as ld,$n as He,$o as yg,$p as mi,$q as Rj,Al as Ca,Am as Ec,An as Qd,Ap as Zg,Aq as aj,Ar as Dk,Bl as Da,Bm as Fc,Bn as Rd,Bo as Xf,Bp as _g,Bq as bj,Br as Ek,Cl as Ea,Cm as Gc,Cn as Sd,Cp as $g,Cq as cj,Cr as Fk,Dl as Fa,Dm as Hc,Dn as Td,Dp as ah,Dq as dj,Dr as Gk,El as Ga,Em as Ic,En as Ud,Ep as bh,Eq as ej,Fl as Ha,Fm as Jc,Fn as Vd,Fp as ch,Fq as fj,Gl as Ia,Gm as Kc,Gn as Wd,Gp as dh,Gq as gj,Hl as Ja,Hm as Lc,Hn as Xd,Hp as eh,Hq as hj,Il as Ka,Im as Mc,In as Yd,Io as Yf,Ip as fh,Iq as ij,Jl as La,Jm as Nc,Jn as Zd,Jp as gh,Jq as jj,Kl as Ma,Km as Oc,Kn as _d,Ko as Zf,Kp as hh,Kq as kj,Ll as Na,Lm as Pc,Ln as $d,Lp as ii,Lq as lj,Ml as Oa,Mm as Zc,Mn as qe,Mo as _f,Mp as ji,Mq as mj,Nl as ib,Nm as _c,Nn as re,No as $f,Nq as nj,Ol as jb,Om as $c,On as se,Oo as ag,Oq as oj,Pl as kb,Pm as ad,Pn as te,Po as bg,Pp as ki,Pq as pj,Ql as lb,Qm as bd,Qn as ue,Qo as cg,Qq as qj,Rl as mb,Rm as cd,Rn as ve,Ro as dg,Rq as rj,Sl as nb,Sm as dd,Sn as we,So as pg,Sq as sj,Tn as xe,To as qg,Tq as tj,Um as ed,Un as ye,Uo as rg,Uq as uj,Vl as Kb,Vm as fd,Vn as ze,Vo as sg,Vq as vj,Wl as Lb,Wm as gd,Wn as Ae,Wo as tg,Wq as wj,Xl as Mb,Xm as hd,Xn as Be,Xo as ug,Xq as xj,Yl as Nb,Ym as id,Yn as Ce,Yo as vg,Yq as yj,Zl as Ob,Zm as jd,Zn as De,Zo as wg,Zq as zj,_l as Pb,_m as kd,_o as xg,_p as li,_q as Aj,am as Ub,an as md,ao as Ie,ap as zg,aq as ni,ar as Sj,bm as Vb,bn as nd,bo as Je,bp as Ag,bq as oi,br as Tj,cm as Wb,cn as od,co as Ke,cp as Bg,cq as pi,cr as Uj,dm as hc,dn as pd,do as Le,dp as Cg,dq as wi,dr as Vj,em as ic,en as ud,eo as Me,ep as Dg,eq as xi,er as fk,fm as jc,fn as vd,fo as Ne,fp as Eg,fq as yi,fr as gk,gm as kc,gn as wd,gp as Fg,gq as zi,gr as hk,hm as lc,hn as xd,hp as Gg,hq as Ai,hr as ik,im as mc,in as yd,ip as Hg,iq as Bi,ir as jk,jm as nc,jn as zd,jo as af,jp as Ig,jq as Ci,jr as kk,km as oc,kn as Ad,ko as bf,kp as Jg,kq as Di,kr as lk,lm as pc,ln as Bd,lp as Kg,lq as Ei,lr as mk,mm as qc,mn as Cd,mo as Wf,mp as Lg,mq as Fi,mr as nk,nm as rc,nn as Dd,np as Mg,nq as Gi,nr as ok,om as sc,on as Ed,op as Ng,oq as Hi,or as pk,pm as tc,pn as Fd,pp as Og,pq as Ii,pr as qk,qm as uc,qn as Gd,qp as Pg,qq as Ji,qr as rk,rm as vc,rn as Hd,rp as Qg,rq as Ki,rr as sk,sm as wc,sn as Id,sp as Rg,sq as Li,sr as tk,tm as xc,tn as Jd,tp as Sg,tq as Mi,tr as uk,um as yc,un as Kd,up as Tg,uq as Ni,ur as vk,vl as xa,vm as zc,vn as Ld,vp as Ug,vq as Xi,vr as yk,wl as ya,wm as Ac,wn as Md,wp as Vg,wq as Yi,wr as zk,xl as za,xm as Bc,xn as Nd,xp as Wg,xq as Zi,xr as Ak,yl as Aa,ym as Cc,yn as Od,yp as Xg,yq as _i,yr as Bk,zl as Ba,zm as Dc,zn as Pd,zp as Yg,zq as $i,zr as Ck}from"./chunk-60cttsne.js";import{$r as ja,Er as M,Fr as N,Gr as O,Hr as P,Ir as Q,Jr as R,Kr as S,Lr as T,Mr as U,Nr as V,Or as W,Pr as X,Qr as Y,Rr as Z,Sr as _,Tr as $,Ur as aa,Vr as ba,Wr as ca,Xr as da,Yr as ea,Zr as fa,_r as ia,as as ka,bs as la,cs as ma,ds as na,es as oa,fs as pa,gs as qa,hs as ra,is as sa,js as ta,ks as ua,ls as va,ms as wa}from"./chunk-jc6wrxrh.js";import{ns as ga,os as ha}from"./chunk-2xpdcr8c.js";import{ps as Rb,qs as Sb,rs as Tb}from"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import{As as Qi,Bs as Ri,Cs as Si,Ds as Ti,Es as Ui,Fs as Vi,Gs as Wi,ys as Oi,zs as Pi}from"./chunk-135mme4g.js";import{$s as Tc,Ys as Qc,Zs as Rc,_s as Sc,at as Uc,ct as Vc,lt as Wc,mt as Xc,nt as Yc}from"./chunk-sxzdtsqe.js";import{ot as Xb,pt as Yb,qt as Zb,rt as _b,st as $b,tt as ac}from"./chunk-w1asc0zd.js";import{At as Ee,Ct as Fe,Ft as Ge}from"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import{Kt as cc,Lt as dc}from"./chunk-xk402w4a.js";import{Pt as eg,Qt as fg,Rt as gg,St as hg,Tt as ig,Ut as jg,Vt as kg,Xt as lg,Yt as mg,Zt as ng,_t as og}from"./chunk-dnard9gp.js";import{$t as qd,Au as oe,Bu as pe,au as rd,bu as sd,cu as td,mu as ae,nu as be,ou as ce,pu as de,qu as ee,ru as fe,su as ge,tu as he,uu as ie,vu as je,wu as ke,xu as le,yu as me,zu as ne}from"./chunk-vgx5077x.js";import{$u as A,Cu as b,Du as c,Eu as d,Fu as e,Gu as f,Hu as g,Iu as h,Ju as i,Ku as j,Lu as k,Mu as l,Nu as m,Ou as n,Pu as o,Qu as p,Ru as q,Su as r,Tu as s,Uu as t,Vu as u,Wu as v,Xu as w,Yu as x,Zu as y,_u as z,av as B,bv as C,cv as D,dv as E,ev as F,fv as G,gv as H,hv as I,iv as J,jv as K,kv as L}from"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import{Av as ob,Bv as pb,Cv as qb,Dv as rb,Ev as sb,Fv as tb,Gv as ub,Hv as vb,Iv as wb,Jv as xb,Kv as yb,Lv as zb,Mv as Ab,Nv as Bb,Ov as Cb,Pv as Db,Qv as Eb,Rv as Fb,Sv as Gb,Tv as Hb,Uv as Ib,Vv as Jb}from"./chunk-7racewc5.js";import{Aw as fb,Bw as gb,Dw as hb,Zv as Pa,_v as Qa,bw as Ra,gw as Sa,hw as Ta,nw as Ua,ow as Va,pw as Wa,qw as Xa,rw as Ya,sw as Za,tw as _a,uw as $a,vw as ab,ww as bb,xw as cb,yw as db,zw as eb}from"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{il as writeNetlifyConfig,an as writeManifest,Nl as writeImageManifest,tp as wrapComponentForHMR,as as withDefaults,vk as webComponentDirectiveHandler,iq as watermark,kr as watchViews,Xl as watchMultiple,Yl as watchEffect,Wl as watch,Le as warmImagePlaceholders,jm as waitForStore,X as waitForLocale,ep as virtualPathFor,ik as videoDirective,G as validators,es as validated,Be as validateValueEnhanced,li as validateTemplate,Qm as validateRouteRules,nq as validateParams,Ce as validateFormEnhanced,$q as validateFile,xe as validateFields,we as validateField,ni as validateDirective,Wd as validateCspDirectives,Dk as validateConfig,on as validateComponentScripts,Mn as validateComponentProps,hh as validateClientScript,gi as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Bi as userComponentFileExists,Oh as useVirtualList,ie as useTitle,im as useStoreOrThrow,Lp as useStore,Uk as useStorage,zf as useSlots,Wk as useSessionStorage,cc as useServerRuntimeConfig,Xf as useServerData,fe as useSeoMeta,dc as useRuntimeConfig,km as useRouteParams,mm as useRouteParamOrThrow,lm as useRouteParam,ie as usePageTitle,qf as useOptimistic,Ef as useModel,om as useMiddlewareValue,nm as useMiddlewareState,Vk as useLocalStorage,mp as useLoadingIndicator,de as useHead,di as useForm,Bf as useAttrs,br as uploadFiles,ar as uploadFile,fm as updateInstance,of as untrack,Ri as unregisterDirective,gm as unmountInstance,Pc as unescapeHtml,ip as typecheckStxFiles,zi as transpileTypeScript,Pr as translate,Ba as transitionDirective,lc as transformAutoImports,Gn as toUsers,Fn as toUser,Tp as thumbnail,Uq as thumbHashToRGBA,Vq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,If as templateCache,md as syncRecordedResponse,qp as stxClientHelpers,jg as structuredDataDirective,Sr as stripLocalePrefix,Nm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,ro as stringToStream,Kd as strictCspPreset,We as streamingSuspenseDirective,_e as streamToResponse,Ue as streamTemplateSimple,Oe as streamTemplate,Pk as stopHmrServer,Cn as stopBroadcasting,_b as stateDirName,$b as stateDir,cf as state,bh as startsDocument,Mo as startProductionServer,Ho as startInteractive,Bn as startBroadcasting,Ur as stampLocaleLayoutGroup,Ia as staggerDirective,lq as srcsetUrls,Ja as springDirective,td as splitByPipe,Jm as spaNavVaryHeaders,fp as sourcePathFor,sq as smartBatchSign,Di as slotContentHasExpressions,qq as signUrl,xi as shouldTranspileTypeScript,Mk as shouldReloadOnChange,vq as shouldRefreshSignature,Nk as shouldIgnoreFile,Gh as shouldCacheComponent,Xp as sharpen,hs as shape,Zb as setStateDir,sm as setRouteParams,tm as setMiddlewareState,Ke as setImagePlaceholder,tf as setGlobalProvide,b as setErrorLocale,Pl as setCurrentInstance,Yj as setCachedVideoResult,Nj as setCachedImageResult,Hj as setCached,ks as serveStxFile,ms as serveMultipleStxFiles,Hk as serveMarkdownFile,Xo as serveFile,ns as serveApp,Wo as serve,wp as serializeState,cn as serializeSetCookie,Zp as sepia,ge as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Ai as scopeOnRootElement,mk as scopeHTML,lk as scopeCSS,mg as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,bq as saturation,oq as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,Gb as runtimeEventRegexLiteral,Eb as runtimeDirectiveNamesLiteral,xg as runPreProcessingMiddleware,yg as runPostProcessingMiddleware,fn as runPageAction,jf as runMountCallbacks,gb as runMiddleware,dm as runHooks,Ir as runDoctor,kf as runDestroyCallbacks,Bg as runComposers,cq as rotate,hi as rewriteImagesWithSiblings,nd as responseBindings,Hi as resolveTemplatePath,ha as resolveStxTargets,zk as resolveStxDirectories,Or as resolveI18n,Rp as resize,pg as resetUnscopedSignalWarnings,Nc as resetRejectedExpressionWarnings,sc as resetPlaceholders,ce as resetHead,vp as resetHMRHandler,o as resetErrorConfig,cs as required,bg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,ir as renderView,fk as renderVideoComponent,ic as renderVendorStyleTags,rr as renderToString,sr as renderToStream,tr as renderToDOM,Tq as renderThumbhashToCanvas,Fr as renderTemplateString,Dr as renderTemplate,Er as renderString,Re as renderStreamingPage,si as renderSlot,wh as renderSSRSuspense,Dq as renderProtectedVideo,Cq as renderProtectedImg,pq as renderMediaUpload,Cr as renderMarkdownView,Um as renderLayoutTypes,Rj as renderImgComponent,Dl as renderImageComponent,ke as renderHtmlAttrs,je as renderHead,lr as renderEmail,Fi as renderComponentWithSlot,le as renderBodyAttrs,Gp as render,Md as relaxedCspPreset,ve as registerValidationRule,Ye as registerStreamingDirectives,Np as registerStoresClient,qm as registerStore,Qf as registerServeModuleBundle,kg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Ae as registerEnhancedValidationRule,Oi as registerDirective,Vd as registerCspDirectives,Pn as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Tl as ref,zo as redirect,id as recordResponseStatus,jd as recordResponseHeader,ac as rebaseOntoStateDir,kd as readResponseStatus,ld as readResponseHeaders,Fk as readMarkdownFile,Jf as readFileCached,Ul as reactive,gq as quality,Aq as pruneSignatureCache,Kj as pruneCache,rf as provide,Br as protectCodeBlocks,bs as prop,Eg as processVueTemplate,Mh as processVirtualListDirectives,Qh as processVirtualGridDirectives,ek as processVideo,ye as processValidateDirective,ea as processTranslateDirective,qh as processTransitionDirectives,th as processTransitionAttributes,oe as processTitleDirective,ad as processTemplateBindings,mh as processTeleportDirectives,uh as processSuspenseDirectives,fg as processStructuredData,Se as processStreamDirectives,od as processStatusDirective,bi as processStaticDirectives,vg as processStackReplacements,ug as processStackPushDirectives,ti as processSlots,Lm as processShell,Ne as processServerBindings,gg as processSeoDirective,Ze as processSectionDirectives,Uc as processScopedStyles,_c as processReactiveBindings,Eq as processProtectedMedia,Wh as processPartialHydrationDirectives,gh as processOnceDirective,wg as processMiddleware,eg as processMetaDirectives,pe as processMetaDirective,Gk as processMarkdownFileDirectives,Mi as processMarkdownDirectives,cg as processLoops,Eh as processKeepAliveDirectives,fh as processJsonDirective,Ph as processInfiniteListDirectives,tg as processIncludes,Tj as processImgComponents,Fl as processImageComponents,sl as processImage,ne as processHeadDirective,re as processForms,te as processFormInputDirectives,Lc as processExpressions,Pb as processEventDirectives,ue as processErrorDirective,Fg as processDynamicComponents,ii as processDirectives,Wi as processDirectiveAttributes,lh as processDeferDirectives,_d as processCustomDirectives,Sd as processCspDirectives,is as processComponentProps,rc as processClientScript,se as processBasicFormDirectives,zh as processAsyncDirectives,$d as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,Ge as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,lp as preloadIslandHandlers,Me as preloadIconCollection,xn as poolStrings,xk as pluginManager,Ie as placeholdersWarmed,ph as performLeave,oh as performEnter,lf as pendingLifecycleCounts,pf as peek,qg as partialsCache,gk as parseVideoDirectiveOptions,Pp as parseUrl,Wq as parseThumbhashString,zd as parseSwitchBlock,qi as parseSlots,ri as parseSlotElement,Ed as parseScriptDeclarations,tk as parseSFCComponent,Fq as parseProtectedArgs,ag as parseLoopBinding,Sj as parseImgComponent,ij as parseImageUrl,El as parseImageComponent,dn as parseFormBody,Bd as parseExpressionWithFilters,Qn as parseDefaults,wo as parseCookies,Cm as parseContainerSelector,wd as parseConditionalBlock,Cd as parseArguments,Ma as parseAnimationShorthand,ds as optional,yn as optimizeTemplate,Kl as optimizeImage,Ll as optimizeDirectory,fs as oneOf,rg as onceStore,am as onUpdated,Zc as onUpdate,cm as onUnmounted,xm as onServer,_l as onMounted,gf as onMount,ai as onHydrated,xf as onErrorCaptured,hf as onDestroy,Kh as onDeactivated,wm as onClient,$l as onBeforeUpdate,bm as onBeforeUnmount,Zl as onBeforeMount,Jh as onActivated,Pq as observeElement,Ao as notFound,Kg as normalizeCriticalHeadOrder,wf as nextTick,Tn as negotiateEncoding,Ua as navigateTo,em as mountInstance,Ea as motionDirective,Ld as moderateCspPreset,wn as minifyHtml,ig as metaDirective,Vg as metaDedupKey,Qp as mergeParams,Xg as mergeHtmlAttrs,ee as mergeHeadConfigs,Rc as mergeCssConfig,Pd as mergeCspDirectives,Ra as matchRoute,Ni as markdownDirectiveHandler,Ek as markdownCache,ga as looksLikeGlob,Rr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Ak as loadStxConfig,db as loadMiddlewareFromDirectory,bn as loadManifest,Lq as loadElement,Dn as loadChannels,Lb as listensPassively,Yr as lintStxStrict,Nq as lazyLoadAll,Mq as lazyLoad,Ha as keyframeDirective,pr as jsxs,qr as jsxDEV,or as jsx,yo as jsonResponse,Xe as islandDirective,l as isTest,Om as isSpaNavigation,Hm as isSpaNavRequest,tq as isSignatureValid,mf as isSignal,ql as isSharpAvailable,ko as isServerEnvironment,um as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Iq as isNativeLazySupported,Ar as isMarkdownPath,Q as isLoading,R as isLoaded,wi as isJavaScriptScript,Jq as isIntersectionObserverSupported,yl as isImageFile,rl as isImageBackendAvailable,aa as isICUFormat,$h as isHydrated,Ci as isHydrateTrigger,gd as isHttpStatus,jo as isEdgeEnvironment,Zr as isDirectiveKind,k as isDevelopment,nf as isDerived,Lk as isCssOnlyChange,Sn as isCompressible,vm as isClient,Bh as isAsyncComponent,en as isActionableMethod,_p as invert,Lf as invalidateFileCacheByDir,Kf as invalidateFileCache,Kc as interpolateScriptsInTemplate,Ic as interpolateScriptExpressions,Jc as interpolateScriptAttributes,x as inlineError,Nr as injectThemeBootstrap,hg as injectSeoTags,Kr as injectSeo,Wf as injectRouterScript,Kk as injectHotReload,kb as injectHeatmap,Yc as injectCss,Qd as injectCspMetaTag,dh as injectConfigHeadTags,Jg as injectColorModeBootScript,Zg as injectCloakStyle,Qg as injectBuildId,kc as injectBrowserCoreAutoImports,cd as injectAnalytics,sf as inject,pm as initStoreRegistry,ll as initNetlify,np as initLoadingIndicator,Kq as initLazyLoading,Go as initFile,Sq as initBlurUp,Yq as initAllBlurUp,Vj as imgDirective,Il as imageDirective,jn as hydrateTemplateStream,hn as hydrateTemplate,kp as hydrateIslands,Yh as hydrateIsland,kn as hydrateFragment,Zh as hydrateByStrategy,_h as hydrateAll,Dp as hydrate,Vo as htmlResponse,$g as hoistLeadingHeadTags,Lg as hoistColorModeBootScript,lb as heatmapDirective,Dj as hashString,Vf as hashFilePath,Bj as hashFile,Cj as hashBuffer,Dg as hasVueTemplateSyntax,$f as hasVariables,Ip as hasStore,xc as hasPlaceholders,jl as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,ch as hasDocumentShell,oi as hasDirectives,ma as hasDOMSupport,Bl as handleImageRequest,yf as handleError,xr as h,xl as groupVariantsByFormat,Yp as grayscale,Oo as gitHash,qn as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,el as getTotalSize,uq as getTimeUntilExpiry,ih as getStoreScript,Jp as getStoreNames,Hp as getStore,Zk as getStorageSize,Yk as getStorageKeys,Ii as getSourceLineInfo,yi as getSharedTranspiler,Rf as getServeModuleBundle,Pf as getServeClientAsset,la as getScreenReaderOnlyStyle,nk as getScopeAttribute,bf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,mi as getPositionInfo,uc as getPlaceholderRegistry,Aj as getPlaceholderCacheStats,be as getPageMeta,Gd as getNonce,zl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,He as getImagePlaceholder,tl as getImageMetadata,Ee as getImageDelivery,Cp as getHydrationRuntime,rm as getHydratedStoreState,Ok as getHmrServer,ae as getHead,up as getHMRHandler,mj as getFormatExtension,Fj as getFileMtime,wl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Qi as getDirectives,Pi as getDirective,Ql as getCurrentInstance,Vc as getCssServeAsset,Od as getCspPreset,Xd as getCspHeaderName,Li as getComponentCacheStats,Xj as getCachedVideoResult,yq as getCachedSignature,Nf as getCachedSignalsRuntime,Of as getCachedRouterScript,yj as getCachedPlaceholder,Mj as getCachedImageResult,Gj as getCached,Jj as getCacheStats,Og as getBuildId,An as getBroadcastServer,lj as getBestVariant,Bc as getAllFilters,$i as generateWidthSrcset,Nh as generateVirtualListCSS,dr as generateVideoPreview,De as generateValidationScript,er as generateUploadRuntime,rn as generateTreeShakenBundle,sh as generateTransitionRuntime,rh as generateTransitionCSS,$j as generateThumbnails,rj as generateThumbhashPlaceholder,ao as generateTemplatesDocs,yh as generateSuspenseRuntime,xh as generateSuspenseCSS,xp as generateStateScript,jj as generateSrcsetData,Qj as generateSrcset,ul as generateSrcSet,ak as generateSpriteSheet,mr as generateSpaShell,kj as generateSourceTags,fj as generateSizesFromBreakpoints,ej as generateSizesAttribute,vl as generateSizes,lg as generateSitemapIndex,Lr as generateSitemap,Hq as generateSimpleMediaPicker,Bq as generateSignatureRuntime,Hf as generateSignalsRuntimeDev,Gf as generateSignalsRuntime,qc as generateServerDataBridge,kk as generateScopeId,uk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,ng as generateRobotsTxt,Mr as generateRobots,Pj as generateResponsiveVariants,qk as generateReactiveWebComponentTS,pk as generateReactiveWebComponent,sk as generateReactiveRuntime,rk as generateReactiveMixin,_j as generatePoster,xj as generatePlaceholderStyle,wj as generatePlaceholderCSS,qj as generatePlaceholder,Xh as generatePartialHydrationCSS,Fd as generateNonce,fl as generateNetlifyToml,gr as generateMinifiedMediaRuntime,fr as generateMediaRuntime,Gq as generateMediaManagerEmbed,$m as generateManifest,pp as generateLoadingIndicatorHtml,Rq as generateLazyLoadRuntime,Vm as generateLayoutTypes,tj as generateLQIP,Ih as generateKeepAliveRuntime,Hh as generateKeepAliveCSS,ci as generateIslandManifest,cr as generateImagePreview,Ml as generateImageManifest,Bp as generateHydrationScript,$e as generateHydrationRuntime,Ep as generateHydrationCSS,Rh as generateHydrationBootstrap,Jk as generateHotReloadScript,jb as generateHeatmapScript,sp as generateHMRClientScript,bk as generateHLSManifest,yp as generateEventBindings,dj as generateDprSrcsetWithVariableQuality,cj as generateDprSrcset,ah as generateDocumentShell,go as generateDocs,bo as generateDirectivesDocs,Vi as generateDirectiveRuntime,og as generateDefaultRobotsTxt,ck as generateDASHManifest,Xc as generateCss,Jd as generateCspMetaTag,Id as generateCspHeader,Df as generateCompositionRuntime,$n as generateComponentsDocs,Sh as generateComponentManifest,Zn as generateComponentDoc,vj as generateColorPlaceholder,Ig as generateColorModeBootScript,hm as generateClientRuntime,Ej as generateCacheKey,oc as generateBrowserAutoImportDestructuring,Zq as generateBlurUpRuntime,_q as generateBlurUpCSS,$c as generateBindingsRuntime,aj as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Dh as generateAsyncComponentRuntime,Ch as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,bd as generateAnalyticsScript,jp as formatTypecheckDiagnostics,cp as formatTypeErrors,Do as formatStxContent,dl as formatSize,Ta as formatRoutes,Eo as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Jr as formatDoctorReport,co as formatDocsAsMarkdown,fo as formatDocsAsJson,eo as formatDocsAsHtml,fq as format,vn as foldConstants,eq as flipVertical,dq as flipHorizontal,Wm as fingerprint,hp as findStxModuleDeclarations,gp as findRuntimeTypeDeclarations,Hr as findPantryPackage,Dc as findMustacheEnd,vd as findMatchingEndTag,rd as findMatchingDelimiter,Rb as findInterpolationEnd,xd as findIfBlocks,Ad as findExpressions,Sa as findErrorPage,Sc as findDuplicateScopedStyleRanges,yd as findDirectiveBlocks,sn as findDeadCode,sn as findDeadBranches,Dm as findContainerRegion,_n as findComponentFiles,ls as findCommonDir,cl as filterRequiredFiles,Gi as fileExists,Yf as extractVariables,ki as extractTemplateExpressions,Te as extractStreamBoundaries,zp as extractState,ui as extractSlotContent,_f as extractScriptFromTemplate,ji as extractScriptBlocks,vc as extractPlaceholders,ud as extractParenthesizedExpression,hd as extractPageResponseStatus,hb as extractLayoutMetadata,uj as extractDominantColor,Dd as extractDirectiveParams,pi as extractDirectiveNames,Pm as extractContainerContent,Xn as extractComponentProps,Th as extractComponentName,Yn as extractComponentDescription,Wc as extractClassNames,pc as extractBridgeData,Uh as extractBoundProps,sd as extractBalancedExpression,hc as extractAndStripCssImports,ok as extractAndScopeStyles,Ob as extractAndProcessEvents,Sk as externalizeSharedAssets,Tk as externalizeRepeatedAssets,Rk as externalizeHtml,Oc as evaluateExpression,un as evaluateConstant,pd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,nh as ensureTeleportTargets,eh as ensureDocumentShell,ze as enhancedValidationRules,Vn as enableDevTools,tn as eliminateDeadCode,ef as effect,mq as dprUrls,ho as docsCommand,ec as discoverServerApi,Tm as discoverLayoutNames,Qq as disconnectObserver,Wn as disableDevTools,F as devHelpers,Km as detectShell,io as detectRuntime,gl as detectProjectConfig,nj as detectFormat,nn as detectBuildMode,df as derived,kl as deploy,Ck as defineStxConfig,Mp as defineStore,Af as defineSlots,Xr as defineSiteConfig,$r as definePropsWithValidation,_r as defineProps,wk as definePlugin,he as definePageMeta,Wa as defineMiddleware,ei as defineForm,vf as defineExpose,uf as defineEmits,Si as defineDirective,zr as defineCustomElement,Lo as defineConfig,Ti as defineClientDirective,Ah as defineAsyncComponent,No as defineApiHandler,hr as defaultMediaConfig,Ol as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,qe as defaultFormClasses,yc as defaultFilters,Zd as defaultCspConfig,yk as defaultConfig,js as default,Qc as deepMergeThemes,Tc as dedupeScopedStyles,Gm as decodeTitleEntities,sj as decodeThumbhash,dg as declareBareLoopHead,Ud as cspNonceDirective,Td as cspDirective,Xq as crossfadeTransition,Sp as crop,Lh as createVirtualList,hk as createVideoDirective,uo as createVercelHandler,$o as createTypeChecker,fa as createTranslateFilter,qo as createTextEncoderStream,yr as createStxApp,po as createStreamingResponse,Ve as createStreamRenderer,Kp as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Sl as createScope,vh as createSSRSuspense,af as createRouter,Rm as createRouteRuleResolver,eb as createRouteLocation,Zo as createRoute,Tl as createRef,Ul as createReactive,Cf as createProvideContext,Qo as createProject,Ko as createProductionBuild,tc as createPlaceholder,zn as createOptimizedBuild,vo as createNetlifyHandler,_k as createNetlifyClient,fb as createMiddlewareContext,Yo as createMiddleware,Oq as createLazyObserver,Fh as createKeepAliveCache,mo as createKVNamespace,Vh as createIslandRegistry,Uj as createImgDirective,Jl as createImagePlugin,Cl as createImageHandler,Hl as createImageDirective,nb as createHeatmapAggregator,bl as createFileManifest,lo as createEnvAccessor,z as createEnhancedError,oo as createEdgeHandler,no as createEdgeCache,Ji as createDetailedErrorMessage,to as createDenoHandler,hl as createDefaultNetlifyConfig,Yd as createCspHeaders,xo as createCookie,Vl as createComputed,Rl as createComponentInstance,so as createCloudflareHandler,Ya as createClientCookieManager,Ui as createBuiltinDirectives,yr as createApp,Ka as createAnimationTimeline,Vp as cover,Zf as convertToCommonJS,aq as contrast,Up as contain,y as consoleError,m as configureErrorHandling,Bk as config,Vl as computed,Un as compressResponse,Ag as composerPattern,zg as composer,Mm as composeShellWithPage,On as componentDirective,Ei as componentClientSignalNames,_m as compileTemplate,a as collectRepeatedFlag,al as collectDeployFiles,_g as cloakStyleFragment,Zj as clearVideoCache,N as clearTranslationCache,jh as clearStoreCache,Xk as clearStorage,zq as clearSignatureCache,Ff as clearServerData,zj as clearPlaceholderCache,sg as clearOnceStore,Hd as clearNonce,bb as clearMiddleware,Je as clearImagePlaceholders,Fe as clearImageDeliveryCatalog,Gl as clearImageCache,e as clearErrorMessages,Sf as clearDevCaches,Cc as clearCustomFilters,Cg as clearComposers,kh as clearComposableCache,Ki as clearComponentCache,Ij as clearCache,Ib as clearBlankCache,op as cleanupLoadingIndicator,Am as classifyScript,Bm as classifyAllScripts,ap as checkTemplateFile,bp as checkTemplate,Tf as checkCache,wq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Jn as channel,Co as captureScreenshots,Bo as captureScreenshot,Z as cancelPendingLoads,$k as calculateSha1,bj as calculateOptimalWidths,Uf as cacheTemplate,bc as cacheEngineFingerprint,jk as buildWebComponents,dp as buildVirtualSource,jr as buildViews,Op as buildUrl,Pe as buildSuspenseResolveScript,Wr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Xm as buildRuntimeAsset,Ym as buildRouterAsset,Vr as buildLangPickerScript,hj as buildImageUrl,Rg as buildIdFragment,Wg as buildHtmlAttrs,ln as buildForProduction,Rn as buildComponentLibrary,xq as buildAuthParams,mn as buildApp,Tr as buildAlternateLinks,Jo as build,Hn as broadcastPrivate,In as broadcastPresence,En as broadcast,$p as brightness,Tb as bracketDepths,Wp as blur,Jb as blankInertHtmlRegions,rq as batchSignUrls,ff as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,hq as auto,ja as attributeValue,Zm as assetTags,Mb as asInvocableStatement,gs as arrayOf,Qr as applyTranslations,Oj as applyTransformations,vi as applySlots,Nn as applyPropDefaults,kq as applyPreset,Yg as applyHtmlAttrs,me as applyHead,Mc as applyFilters,Im as appendVary,Nd as apiCspPreset,Da as animationGroupDirective,dk as analyzeVideo,pn as analyzeUsage,ym as analyzeTemplate,zm as analyzeProject,pn as analyzeDirectiveUsage,dd as analyticsDirective,To as addStore,So as addPage,Rd as addNonceToInlineContent,Uo as addLayout,Ro as addComponent,gn as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Mf as __setSignalsGeneratorsForTest,Pg as __setBuildIdForTest,Wj as VideoProcessorCache,fi as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,qd as Tokenizer,_o as TemplateTypeChecker,Fo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,ur as Show,Qe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Em as SPA_NAV_HEADER,Kb as SCROLL_BLOCKING_EVENTS,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Fb as RUNTIME_EVENT_NAMES,Db as RUNTIME_DIRECTIVE_NAMES,ed as RESPONSE_STATUS_KEY,fd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Io as ProductionBuild,wr as Portal,Po as PROJECT_TEMPLATES,jq as PRESETS,sb as NON_CLIENT_PRIMITIVES,Fp as MemorySessionStore,_i as MIME_TYPES,Xi as MEDIA_DEFAULT_WIDTHS,Zi as MEDIA_DEFAULT_FORMATS,Sm as LAYOUT_TYPES_FILE,Lj as ImageProcessorCache,Al as ImageProcessingError,Ap as HydrationRuntime,Ik as HotReloadServer,mb as HeatmapAggregator,Ug as HTML_CLASS_MARKER,Tg as HTML_ATTRS_MARKER,nr as Fragment,vr as For,Fm as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Qk as EXTERNALIZED_ASSET_DIR,ml as DeployError,nl as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,pl as DEFAULT_QUALITY,oj as DEFAULT_PLACEHOLDER_OPTIONS,ol as DEFAULT_FORMATS,Yi as DEFAULT_DPR_VALUES,rp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,gj as COMMON_SIZES,Gg as COLOR_MODE_BOOT_MARKER,Hg as COLOR_MODE_BOOT_GLOBAL,Sg as CLOAK_STYLE,Ln as BroadcastServer,Kn as Broadcast,Mg as BUILD_ID_META,Ng as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,pj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Gr as $path};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Am as g,Bm as h,Cm as i,Dm as j,Em as k,Fm as l,Gm as m,Hm as n,Im as o,Jm as p,Km as q,Lm as r,um as a,vm as b,wm as c,xm as d,ym as e,zm as f}from"./chunk-
|
|
2
|
+
import{Am as g,Bm as h,Cm as i,Dm as j,Em as k,Fm as l,Gm as m,Hm as n,Im as o,Jm as p,Km as q,Lm as r,um as a,vm as b,wm as c,xm as d,ym as e,zm as f}from"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{j as usesSignalsInScript,r as unescapeHtml,p as resetRejectedExpressionWarnings,g as replaceInterpolations,c as registerFilters,b as registerFilter,n as processExpressions,m as interpolateScriptsInTemplate,k as interpolateScriptExpressions,l as interpolateScriptAttributes,d as getAllFilters,f as findMustacheEnd,q as evaluateExpression,i as escapeHtmlValue,h as escapeHtml,a as defaultFilters,e as clearCustomFilters,o as applyFilters};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Bm as O,Io as R,Lp as H,qq as x,vr as g}from"./chunk-
|
|
2
|
+
import{Bm as O,Io as R,Lp as H,qq as x,vr as g}from"./chunk-60cttsne.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
|
|
3
3
|
<template data-suspense-fallback>Loading...</template>
|
|
4
4
|
</div>`),w.set(Z.name,H(Z.content,j,q,G,$))}K.enqueue(`
|
|
5
5
|
<script>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$p as f,Io as a,Ko as b,Mo as c,No as d,_p as e,aq as g,bq as h,cq as i,dq as j,eq as k,fq as l,gq as m,hq as n,iq as o,jq as p,kq as q,lq as r,mq as s,nq as t,oq as u,pq as v,qq as w,rq as x,sq as y}from"./chunk-
|
|
2
|
+
import{$p as f,Io as a,Ko as b,Mo as c,No as d,_p as e,aq as g,bq as h,cq as i,dq as j,eq as k,fq as l,gq as m,hq as n,iq as o,jq as p,kq as q,lq as r,mq as s,nq as t,oq as u,pq as v,qq as w,rq as x,sq as y}from"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{e as validateTemplate,g as validateDirective,o as userComponentFileExists,m as transpileTypeScript,q as slotContentHasExpressions,k as shouldTranspileTypeScript,n as scopeOnRootElement,u as resolveTemplatePath,s as renderComponentWithSlot,j as isJavaScriptScript,p as isHydrateTrigger,d as hasVariables,h as hasDirectives,v as getSourceLineInfo,l as getSharedTranspiler,f as getPositionInfo,y as getComponentCacheStats,t as fileExists,a as extractVariables,c as extractScriptFromTemplate,i as extractDirectiveNames,w as createDetailedErrorMessage,b as convertToCommonJS,r as componentClientSignalNames,x as clearComponentCache};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{tl as QJ}from"./chunk-
|
|
2
|
+
import{tl as QJ}from"./chunk-c7wxj426.js";import{ul as WJ}from"./chunk-qjvny3wf.js";import{bm as GJ,xr as XJ,yr as qJ}from"./chunk-60cttsne.js";import{qs as ZJ,rs as $J}from"./chunk-v90kxg77.js";import{Ks as YJ,Os as u}from"./chunk-sxzdtsqe.js";import{st as c}from"./chunk-w1asc0zd.js";import X from"path";import O from"fs";function UJ(J){if(!J||typeof J!=="object")return!1;let K=J;return typeof K.message==="string"&&(K.name==="BuildMessage"||K.name==="ResolveMessage"||("position"in K))}function LJ(J){if(J&&typeof J==="object"&&Array.isArray(J.errors))return J.errors;return[J]}function b(J,K){let $=[];for(let W of LJ(J)){if(UJ(W)){let Y=W.position||void 0;$.push({file:K||Y?.file,line:Y?.line,column:Y?.column,message:W.message??"",lineText:Y?.lineText});continue}$.push({file:K,message:W instanceof Error?W.message:String(W)})}return $}function t(J,K){return b(J,K).map(($)=>{let W=$.file?`${$.file}${$.line?`:${$.line}${$.column?`:${$.column}`:""}`:""}`:"",Y=$.lineText?`
|
|
3
3
|
${$.lineText.trim()}`:"";return W?`${W}: ${$.message}${Y}`:`${$.message}${Y}`}).join(`
|
|
4
4
|
`)}var TJ=9;function P(J,K,$){return/^(?:(?:stx|ui)\.config\.[cm]?[jt]s|runtime-config-(?:server|loader)\.[cm]?[jt]s)$/.test(X.basename(J))||QJ(J,K,$)}var HJ=1,zJ=new Map,f=600,AJ=100,g=new Map;async function MJ(J){let K=g.get(J)??0;if(K>0&&K<AJ){g.set(J,K+1);return}g.set(J,1);try{let $=(await O.promises.readdir(J)).filter((z)=>z.endsWith(".js"));if($.length<=f)return;let Y=(await Promise.all($.map(async(z)=>{try{return{name:z,at:(await O.promises.stat(X.join(J,z))).mtimeMs}}catch{return null}}))).filter((z)=>z!==null);Y.sort((z,H)=>H.at-z.at);for(let z of Y.slice(f)){let H=z.name.slice(0,-3);await O.promises.rm(X.join(J,`${H}.js`),{force:!0}),await O.promises.rm(X.join(J,`${H}.deps.json`),{force:!0})}x("pruned bundle cache to",f,"entries")}catch{}}function nJ(J){return zJ.get(J)??[]}function h(J,K){if(J)zJ.set(J,K)}function CJ(J=process.env){return J.STX_DEBUG==="true"||J.STX_DEBUG==="1"}function x(...J){if(CJ())console.log("[stx:bundler]",...J)}var n=[];function r(J,K,$){n.push({filePath:J||"<inline>",message:K,details:$})}function oJ(){return n.slice()}function lJ(){n.length=0}var p;function dJ(J){p=J}function a(){if(p)return p;try{let J=qJ.strict;return typeof J==="object"&&J!==null?J.bundlerFallback??"warn":"warn"}catch{return"warn"}}var e=[/^stx$/,/^@stacksjs\/stx$/,/^@stores$/,/^stx\/stores$/,/^@composables$/];function sJ(J){let K=/^[ \t]*import[ \t]+(?!type(?:[ \t]|{))[\s\S]*?\s+from\s+['"]([^'"]+)['"][ \t]*;?/gm,$;while(($=K.exec(J))!==null){let Y=$[1];if(!e.some((H)=>H.test(Y)))return x("detected user import:",Y),!0}let W=/^[ \t]*import[ \t]+['"]([^'"]+)['"]/gm;while(($=W.exec(J))!==null){let Y=$[1];if(/\.css(?:\?.*)?$/.test(Y))continue;if(!e.some((H)=>H.test(Y)))return x("detected side-effect import:",Y),!0}return!1}var v="stx-module:",xJ=/\.(?:[cm]?[jt]sx?|json)$/i;function IJ(J,K){return X.relative(J,K).split(X.sep).join("/")}function _J(J,K){if(K.size===0)return J;return J.replace(/^([ \t]*import\s+(?:[^;"']*?\s+from\s+)?)(["'])([^"']+)\2/gm,($,W,Y,z)=>{let H=K.get(z);return H&&!z.startsWith(v)?`${W}${Y}${H}${Y}`:$})}function NJ(J,K){let $=0,W=(z)=>{let H=`__stxMod${$++}`,j=JSON.stringify(z);return K.push(`var ${H} = globalThis.__stxModules && globalThis.__stxModules[${j}];`,`if (${H} === undefined) throw new Error("[stx] module " + ${JSON.stringify(j)} + " is not registered on this page (#1957)");`),H},Y=(z,H)=>{for(let j of z.split(",")){let T=j.trim();if(!T)continue;let Q=T.match(/^("(?:[^"\\]|\\.)*"|[\w$]+)(?:\s+as\s+([\w$]+))?$/);if(!Q)continue;let Z=Q[1].startsWith('"')?JSON.parse(Q[1]):Q[1],G=Q[2]??Z;K.push(`var ${G} = ${H}[${JSON.stringify(Z)}];`)}};return J=J.replace(/^[ \t]*import\s+([^;"']*?)\s+from\s+["'](stx-module:[^"']+)["'];?[ \t]*$/gm,(z,H,j)=>{let T=j.slice(v.length),Q=W(T),Z=H.trim(),G=Z.match(/^([\w$]+)\s*(?:,\s*|$)/);if(G&&!Z.startsWith("{")&&!Z.startsWith("*"))K.push(`var ${G[1]} = ${Q}.default;`),Z=Z.slice(G[0].length).trim();let q=Z.match(/^\*\s*as\s+([\w$]+)$/);if(q)K.push(`var ${q[1]} = ${Q};`);else if(Z.startsWith("{"))Y(Z.replace(/^\{|\}$/g,""),Q);return""}),J=J.replace(/^[ \t]*import\s+["'](stx-module:[^"']+)["'];?[ \t]*$/gm,(z,H)=>{return W(H.slice(v.length)),""}),J}function JJ(J){let K=[J,`${J}.ts`,`${J}.tsx`,`${J}.js`,`${J}.mjs`,`${J}.jsx`,X.join(J,"index.ts"),X.join(J,"index.tsx"),X.join(J,"index.js"),X.join(J,"index.mjs")];for(let $ of K)try{if(O.existsSync($)&&O.statSync($,{throwIfNoEntry:!1})?.isFile())return $}catch{}return}function SJ(J,K,$,W,Y,z=new Map,H){let j=(Q,Z,G)=>{if(P(Z,J,H))return null;if(!Y||Q!==$||!xJ.test(Z))return null;try{if(!O.statSync(Z,{throwIfNoEntry:!1})?.isFile())return null}catch{return null}W.add(Z);let q=`${v}${IJ(process.cwd(),Z)}`;return z.set(G,q),{path:q,external:!0}},T=(Q,Z)=>{let G=Q===$?K:X.dirname(Q),q=X.resolve(G,Z);return JJ(q)??q};return{name:"stx-client-bundle",setup(Q){if(Q.onResolve({filter:/^(stx|@stacksjs\/stx)$/},(Z)=>({path:Z.path,external:!0})),Q.onResolve({filter:/^(@stores|@composables|stx\/stores)$/},(Z)=>({path:Z.path,external:!0})),Q.onResolve({filter:/^\//},(Z)=>{let G=JJ(Z.path);if(G){let q=j(Z.importer,G,Z.path);if(q)return q;if(G!==$)W.add(G);return{path:G}}return{path:Z.path,external:!0}}),Q.onResolve({filter:/^\.\.?\//},(Z)=>{let G=T(Z.importer,Z.path),q=j(Z.importer,G,Z.path);if(q)return q;return W.add(G),{path:G}}),Q.onResolve({filter:/^[@~]\//},(Z)=>{let G=X.resolve(J,Z.path.slice(2)),q=[G,`${G}.ts`,`${G}.tsx`,`${G}.js`,`${G}.mjs`,`${G}.jsx`,X.join(G,"index.ts"),X.join(G,"index.tsx"),X.join(G,"index.js"),X.join(G,"index.mjs")];for(let w of q)if(O.existsSync(w)&&O.statSync(w,{throwIfNoEntry:!1})?.isFile()){let y=j(Z.importer,w,Z.path);if(y)return y;return x(`resolved ${Z.path[0]}/ import:`,Z.path,"\u2192",w),W.add(w),{path:w}}return console.warn(`[stx:bundler] could not resolve ${Z.path[0]}/ import:`,Z.path),{path:G}}),Y)Q.onResolve({filter:/^(?!node:|bun:)(?:@[\w.-]+\/)?[\w.-]/},(Z)=>{if(Z.importer!==$)return;let G=`${v}npm:${Z.path}`;return z.set(Z.path,G),{path:G,external:!0}});Q.onLoad({filter:/\.(?:[cm]?[jt]sx?|json)$/},(Z)=>{if(P(Z.path,J,H))throw Error(`Server-only API source cannot be imported by a client script: ${Z.path}`);let G=X.extname(Z.path).toLowerCase(),q=G===".json"?"json":G===".tsx"?"tsx":G===".jsx"?"jsx":G===".ts"||G===".mts"||G===".cts"?"ts":"js";if(Z.path!==$)W.add(Z.path);return{contents:O.readFileSync(Z.path,"utf8"),loader:q}})}}}var m=new Map,D=YJ(64),KJ=Symbol.for("stx.client-bundle-build-queue");function yJ(J){let K=globalThis,W=(K[KJ]??Promise.resolve()).then(J,J);return K[KJ]=W.then(()=>{return},()=>{return}),W}async function iJ(J,K,$={}){let W=$.projectRoot||process.cwd(),Y=(await XJ(W)).serverApi,z=$.minify??!1,H=$.externalizeUserModules??!0,j=$.cacheDir||c(W,"bundle-cache"),T=new Bun.CryptoHasher("md5");T.update(`${TJ}\x00${WJ()}\x00${JSON.stringify(Y??!1)}\x00${H?"registry":"inline"}\x00${J}\x00${K}`);let Q=T.digest("hex").slice(0,12),Z=X.join(j,`${Q}.js`),G=D.get(Z);if(G){if(u(G.files)&&G.files.every((A)=>!P(A.path,W,Y))){x("memo hit:",Q);let A=G.files.map((M)=>M.path);return h(K,A),$.collectInputs?.push(...A),G.code}D.delete(Z),x("memo invalidated by dep change:",Q)}let q=X.join(j,`${Q}.deps.json`),w=Bun.file(Z);if(await w.exists()){let A=Bun.file(q),M=!1,U=null;if(await A.exists())try{let N=JSON.parse(await A.text());if(N.metadataVersion!==HJ||!Array.isArray(N.files))M=!1;else U=N.files,M=!0;if(U&&(!u(U)||U.some((B)=>P(B.path,W,Y))))M=!1}catch{M=!1}if(M){if(x("cache hit:",Q),U)h(K,U.map((B)=>B.path)),$.collectInputs?.push(...U.map((B)=>B.path));let N=await w.text();if(U)D.set(Z,{code:N,files:U});return N}x("cache invalidated by dep change:",Q)}let y=m.get(Q);if(y){let A=await y;if($.collectInputs)$.collectInputs.push(...(D.get(Z)?.files??[]).map((M)=>M.path));return A}let I=yJ(()=>FJ(J,K,{projectRoot:W,minify:z,cacheDir:j,hash:Q,cachePath:Z,depsPath:q,collectInputs:$.collectInputs,externalizeUserModules:H,serverApi:Y}));m.set(Q,I);try{return await I}finally{m.delete(Q)}}var BJ=0;function RJ(J){return`${J}-${process.pid}-${++BJ}`}async function FJ(J,K,$){let{projectRoot:W,minify:Y,cacheDir:z,hash:H,cachePath:j,depsPath:T,externalizeUserModules:Q}=$,Z=c(W,"bundle-tmp"),G=RJ(H),q=X.join(Z,`${G}.ts`),w=X.join(Z,"out",G);O.mkdirSync(Z,{recursive:!0}),O.mkdirSync(w,{recursive:!0});let y=X.dirname(K),I=new Set,A=/^[ \t]*(export\s+)?(?:const|let|var)\s+(?:\{([^}]+)\}|(\w+))/gm,M=/^[ \t]*(export\s+)?(?:async\s+)?function\s+(\w+)/gm,U=ZJ(J),{depths:N,balanced:B}=$J(U),o=(L)=>!B||N[L]===0,C;while((C=A.exec(U))!==null){if(C[1])continue;if(!o(C.index))continue;if(C[2])C[2].split(",").forEach((L)=>{let k=DJ(L);if(k)I.add(k)});else if(C[3])I.add(C[3])}while((C=M.exec(U))!==null){if(C[1])continue;if(!o(C.index))continue;I.add(C[2])}let VJ=I.size>0?`
|
|
5
5
|
export { ${[...I].join(", ")} }`:"";await Bun.write(q,J+VJ),x("bundling:",H,"from:",X.basename(K));let l=new Set,d=new Map;try{let L=await Bun.build({entrypoints:[q],outdir:w,target:"browser",format:"esm",minify:Y,plugins:[SJ(W,y,q,l,Q,d,$.serverApi)],define:{"process.env.NODE_ENV":Y?'"production"':'"development"',...GJ()},root:W});if(!L.success){let S=L.logs.filter((R)=>R.level==="error").map((R)=>R.message).join(", ")||`Unable to bundle ${X.basename(K)}`,F=b(L.logs,K||void 0);if(console.warn("[stx:bundler] build failed:",S),r(K||"",S,F),a()==="error")throw Error(S);return J}let k="";for(let V of L.outputs){k=await V.text();break}let _=[];for(let V of k.matchAll(/^\s*export\s*\{([^}]*)\}\s*;?\s*$/gm))for(let S of V[1].split(",")){let F=S.trim().match(/^([A-Za-z_$][\w$]*)\s+as\s+([A-Za-z_$][\w$]*)$/);if(F){_.push([F[2],F[1]]);continue}let R=S.trim();if(/^[A-Za-z_$][\w$]*$/.test(R))_.push([R,R])}let s=[];k=NJ(_J(k,d),s);let kJ=k.match(/^\s*import\s+[^;]+;?\s*$/gm)||[];k=k.replace(/^\s*import\s+[^;]+;?\s*$/gm,"").replace(/^\s*export\s*\{[^}]*\}\s*;?\s*$/gm,"").replace(/^\s*export\s+default\s+.*$/gm,"").trim();let i=`__stxBundle_${H}`,jJ=_.map(([V,S])=>`${JSON.stringify(V)}: ${S}`).join(", "),OJ=_.map(([V])=>`var ${V} = undefined;`).join(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{fi as a,gi as b,hi as c}from"./chunk-
|
|
2
|
+
import{fi as a,gi as b,hi as c}from"./chunk-zfysz73j.js";import"./chunk-ra1s4s6b.js";import"./chunk-y062nrhj.js";import"./chunk-c7wxj426.js";import"./chunk-qjvny3wf.js";import"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{a as listComposableModules,b as getComposableScript,c as clearComposableCache};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Iw as y}from"./chunk-
|
|
2
|
+
import{Iw as y}from"./chunk-7rwmnwc3.js";import N from"fs";import B from"path";var Y="_stx";function L(M){return Bun.hash(M).toString(16).slice(0,8)}function T(M){let C=[],v=(q)=>{for(let g of N.readdirSync(q,{withFileTypes:!0})){let j=B.join(q,g.name);if(g.isDirectory())v(j);else if(g.isFile()&&j.endsWith(".html"))C.push(j)}};if(N.existsSync(M))v(M);return C}var S=[{pattern:/<script\b([^>]*\bdata-stx-runtime\b[^>]*)>([\s\S]*?)<\/script>/gi,prefix:"runtime",extension:"js",contentType:"text/javascript; charset=utf-8",replace:(M)=>`<script data-stx-runtime src="${M}"></script>`},{pattern:/<script\b([^>]*\bdata-stx-router\b[^>]*)>([\s\S]*?)<\/script>/gi,prefix:"router",extension:"js",contentType:"text/javascript; charset=utf-8",replace:(M)=>`<script data-stx-router src="${M}"></script>`},{pattern:/<style\b([^>]*\bdata-css=(?:"generated"|'generated')[^>]*)>([\s\S]*?)<\/style>/gi,prefix:"css",extension:"css",contentType:"text/css; charset=utf-8",replace:(M)=>`<link data-css="generated" rel="stylesheet" href="${M}">`}];function _(M,C=`/${Y}`){let v=[],q=new Set,g=0,j=M;for(let G of S)j=j.replace(G.pattern,(R,K,W)=>{if(/\b(?:src|href)\s*=/.test(K)||!W.trim())return R;let Q=`${G.prefix}.${L(W)}.${G.extension}`;if(!q.has(Q))q.add(Q),v.push({filename:Q,contents:W,contentType:G.contentType});return g+=W.length,G.replace(`${C}/${Q}`)});return{html:j,assets:v,bytesInlined:g}}function a(M){let C={pages:0,assets:0,bytesInlined:0},v=B.join(M,Y),q=new Set;for(let g of T(M)){let j=N.readFileSync(g,"utf8"),{html:G,assets:R,bytesInlined:K}=_(j);if(G===j)continue;for(let W of R){if(q.has(W.filename))continue;q.add(W.filename),N.mkdirSync(v,{recursive:!0}),N.writeFileSync(B.join(v,W.filename),W.contents),C.assets++}N.writeFileSync(g,G),C.bytesInlined+=K,C.pages++}return C}import z from"fs";import P from"path";var I=1024,E=/<(script|style)\b([^>]*)>([\s\S]*?)<\/\1>/gi,d=new Set(["","module","text/javascript","application/javascript","module/javascript"]);function b(M){return Bun.hash(M).toString(16).slice(0,8)}function p(M){let C=[],v=(q)=>{for(let g of z.readdirSync(q,{withFileTypes:!0})){let j=P.join(q,g.name);if(g.isDirectory())v(j);else if(g.isFile()&&j.endsWith(".html"))C.push(j)}};if(z.existsSync(M))v(M);return C}function D(M,C){let v=M.match(new RegExp(`\\b${C}\\s*=\\s*("([^"]*)"|'([^']*)'|([^\\s>]+))`,"i"));if(!v)return;return v[2]??v[3]??v[4]??""}function m(M,C,v){if(v.length<I)return!1;if(/\b(?:src|href)\s*=/i.test(C))return!1;if(M.toLowerCase()==="script"){if(!d.has((D(C,"type")??"").trim().toLowerCase()))return!1;return!0}return!0}function o(M){let C=[];for(let v of M.matchAll(/<template\b[^>]*>[\s\S]*?<\/template>/gi))C.push([v.index,v.index+v[0].length]);return C}function s(M){let C={pages:0,assets:0,bytesInlined:0},v=p(M);if(v.length<2)return C;let q=new Map,g=new Map;for(let Q of v){let O=z.readFileSync(Q,"utf8");q.set(Q,O);let x=o(O);for(let U of O.matchAll(E)){let[w,V,J,$]=U;if(!m(V,J,$))continue;if(x.some(([A,k])=>U.index>=A&&U.index<k))continue;let H=`${V.toLowerCase()}\x00${$}`,X=g.get(H);if(X)X.push({file:Q,whole:w,tag:V,attrs:J,body:$});else g.set(H,[{file:Q,whole:w,tag:V,attrs:J,body:$}])}}let j=[...g.values()].filter((Q)=>new Set(Q.map((O)=>O.file)).size>1);if(j.length===0)return C;let G=P.join(M,Y),R=new Map(q),K=new Map,W=[];for(let Q of j){let{tag:O,body:x}=Q[0],U=O.toLowerCase()==="script",w=`${U?"chunk":"style"}.${b(x)}.${U?"js":"css"}`;W.push({filename:w,contents:x,contentType:U?"text/javascript; charset=utf-8":"text/css; charset=utf-8"});let V=`/${Y}/${w}`;for(let J of Q){let $=U?`<script${J.attrs} src="${V}"></script>`:`<link${J.attrs} rel="stylesheet" href="${V}">`,H=R.get(J.file),X=H.replace(J.whole,()=>$);if(X===H)continue;R.set(J.file,X),K.set(J.file,(K.get(J.file)??0)+J.body.length)}}z.mkdirSync(G,{recursive:!0});for(let Q of W)z.writeFileSync(P.join(G,Q.filename),Q.contents),C.assets++;for(let[Q,O]of R){if(O===q.get(Q))continue;z.writeFileSync(Q,O),C.pages++,C.bytesInlined+=K.get(Q)??0}return C}y();import Z from"fs";import F from"path";var h="layout-types.d.ts";function f(M){let C=[],v=(q,g)=>{let j;try{j=Z.readdirSync(q,{withFileTypes:!0})}catch{return}for(let G of j){if(G.name.startsWith("."))continue;let R=F.join(q,G.name);if(G.isDirectory())v(R,g?`${g}/${G.name}`:G.name);else if(G.isFile()&&G.name.endsWith(".stx")&&G.name!=="_layout.stx"){let K=G.name.slice(0,-4);C.push(g?`${g}/${K}`:K)}}};return v(M,""),C.sort()}function c(M){let C=["// Auto-generated by stx \u2014 do not edit.","//","// Makes `definePageMeta({ layout })` reject a name with no layout behind it.","// Include this file in your tsconfig (it lives in the stx state directory,","// `.stx/` by default) for the check to apply.",""];if(M.length===0)return C.push("// No layouts found \u2014 `layout` stays typed as `string`.","export {}",""),C.join(`
|
|
3
3
|
`);return C.push("declare module '@stacksjs/stx' {"," interface KnownLayouts {",...M.map((v)=>` '${v}': true`)," }","}","","export {}",""),C.join(`
|
|
4
4
|
`)}function HM(M,C){if(!M)return[];let v=F.isAbsolute(M)?M:F.resolve(process.cwd(),M),q=f(v),g=c(q),j=F.join(C,h);try{if(Z.existsSync(j)&&Z.readFileSync(j,"utf8")===g)return q;Z.mkdirSync(C,{recursive:!0}),Z.writeFileSync(j,g)}catch{}return q}
|
|
5
5
|
export{Y as vk,_ as wk,a as xk,s as yk,h as zk,f as Ak,c as Bk,HM as Ck};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ki as T,Li as u,Mi as A}from"./chunk-ra1s4s6b.js";import{_k as g,fl as h,ll as b}from"./chunk-
|
|
2
|
+
import{Ki as T,Li as u,Mi as A}from"./chunk-ra1s4s6b.js";import{_k as g,fl as h,ll as b}from"./chunk-y062nrhj.js";import{bm as k,fq as B,xr as I,zo as f}from"./chunk-60cttsne.js";import{vv as D,wv as S}from"./chunk-ta6z7k4p.js";import{Av as F}from"./chunk-7racewc5.js";import P from"path";var j=new Map,K=new Map,n=["composables","functions"];function p(z){let H=P.basename(z,".ts");return H==="index"||H==="types"||z.endsWith(".d.ts")}async function r(z){if(z)return P.resolve(z);let H=`<default>:${process.cwd()}`,Y=K.get(H);if(Y!==void 0)return Y;let J=await l();if(J!==null)K.set(H,J);return J}async function l(){let z=await I(),H=z.root||process.cwd(),Y=z.composablesDir;if(Y)return P.resolve(H,Y);for(let J of n){let V=P.resolve(H,J);try{let Z=new Bun.Glob("**/*.ts");for await(let W of Z.scan({cwd:V,absolute:!0}))if(!p(W))return V}catch{}}return null}async function m(z){let H=Array.isArray(z)?z:z?[P.resolve(z)]:(await I())._layerComposableDirs??[await r()].filter((J)=>!!J),Y=new Map;for(let J of H){let V=new Bun.Glob("**/*.ts");try{for await(let Z of V.scan({cwd:J,absolute:!0})){let W=P.relative(J,Z);if(!p(Z)&&!Y.has(W))Y.set(W,Z)}}catch{}}return{key:H.join("\x00"),files:[...Y.values()].sort()}}async function Wq(z){let{files:H}=await m(z),Y=B({loader:"ts",target:"browser",define:k()}),J=[];for(let V of H)try{let Z=await Bun.file(V).text(),W=Y.scan(Z).exports.filter((G)=>G!=="default");if(W.length>0)J.push({file:V,names:W})}catch{}return J}function c(z,H){return new RegExp(`\\b${H.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`).test(z)}function a(z,H,Y){let J=new Map;for(let{file:G,names:$}of z)for(let O of $)if(!J.has(O))J.set(O,G);let V=(G)=>{let $=[];for(let[O,w]of J)if(c(G,O))$.push(w);return $},Z=new Set,W=Y.flatMap(V);while(W.length>0){let G=[];for(let $ of W){if(Z.has($))continue;Z.add($);for(let O of V(H.get($)??""))if(!Z.has(O))G.push(O)}W=G}return Z}async function Yq(z,H,Y){let{key:J,files:V}=await m(z);if(!J)return null;let Z=()=>[...new Set([...V,...V.flatMap((q)=>g(q))])],W=T(Z());if(V.length===0)return A(j,J,W,""),null;V.sort();let G=B({loader:"ts",target:"browser",define:k()}),$=new Map,O=[];for(let q of V)try{let Q=await Bun.file(q).text();$.set(q,Q);let U=G.scan(Q).exports.filter((X)=>X!=="default");if(U.length>0)O.push({file:q,names:U})}catch{$.set(q,"")}let w=H===void 0?new Set(V):a(O,$,Y?[H,...Y]:[H]);if(w.size===0)return null;let _=V.filter((q)=>w.has(q)),M=`${J}\x00${_.join("\x00")}`,v=u(j,M,W);if(v!==void 0)return v||null;let R=[],L=new Set,C=new Set;for(let q of _)try{let Q=$.get(q)??await Bun.file(q).text(),U=P.basename(q,".ts");for(let X of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(X[1])C.add(X[1]);try{for(let X of G.scan(Q).exports)if(X!=="default")L.add(X)}catch{}if(Q=D(Q),h(Q))Q=await b(Q,q,{projectRoot:process.cwd(),externalizeUserModules:!1}),Q=f(Q);Q=S(Q),Q=Q.replace(/^export\s+(default\s+)?/gm,""),Q=G.transformSync(Q),R.push(`// Composable: ${U}
|
|
3
3
|
${Q.trim()}`)}catch(Q){console.warn(`[stx] Failed to load composable ${q}:`,Q)}if(R.length===0||L.size===0)return A(j,M,W,""),null;let t=[...L].map((q)=>` try { if (!(${JSON.stringify(q)} in __c)) __c[${JSON.stringify(q)}] = ${q}; } catch (e) {}`).join(`
|
|
4
4
|
`),N=JSON.stringify([...L]),E=R.join(`
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{So as a,To as b,Uo as c,Vo as d,Wo as e,Xo as f,Yo as g}from"./chunk-
|
|
2
|
+
import{So as a,To as b,Uo as c,Vo as d,Wo as e,Xo as f,Yo as g}from"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{a as resetUnscopedSignalWarnings,g as processStackReplacements,f as processStackPushDirectives,e as processIncludes,b as partialsCache,c as onceStore,d as clearOnceStore};
|
package/dist/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{Ha as a,He as F,Je as v,Ke as P,Va as r,de as s,ee as t,nb as n,o as m,oa as l,ob as p,qb as i,wb as e}from"./chunk-
|
|
3
|
+
import{Ha as a,He as F,Je as v,Ke as P,Va as r,de as s,ee as t,nb as n,o as m,oa as l,ob as p,qb as i,wb as e}from"./chunk-vsqz8wre.js";import"./chunk-h2xrx8dp.js";import"./chunk-7hb89n3z.js";import"./chunk-4a93q5s6.js";import"./chunk-f42xqr15.js";import"./chunk-rz8atgv8.js";import"./chunk-n0d7nwhd.js";import"./chunk-84577w4y.js";import"./chunk-5j3v0p6s.js";import"./chunk-198fr2d4.js";import"./chunk-vybqgjxd.js";import"./chunk-nak6z2rd.js";import"./chunk-0knxnyq6.js";import"./chunk-634gaa9d.js";import"./chunk-e7eka8f0.js";import"./chunk-karkhcja.js";import"./chunk-ypgyhr2p.js";import"./chunk-bcpjhcpn.js";import"./chunk-y4zddt5r.js";import"./chunk-g7bpkpd4.js";import"./chunk-k33778kc.js";import"./chunk-ys4hpkrp.js";import"./chunk-g1vxsvqv.js";import"./chunk-zfysz73j.js";import"./chunk-fqq5k9ve.js";import"./chunk-ya5m5vbn.js";import"./chunk-y4nzmkea.js";import"./chunk-7kw3grq5.js";import"./chunk-c79nfdyj.js";import"./chunk-ej8mv2k6.js";import"./chunk-jg47xsh5.js";import"./chunk-ra1s4s6b.js";import"./chunk-xkcz6hd9.js";import"./chunk-kaf0x9rk.js";import"./chunk-y32dbdta.js";import"./chunk-2tbxmf8q.js";import"./chunk-kh2v2xqp.js";import"./chunk-ypm408ak.js";import"./chunk-frp9fc7j.js";import{bl as u,cl as c}from"./chunk-y062nrhj.js";import"./chunk-c7wxj426.js";import"./chunk-qjvny3wf.js";import"./chunk-60cttsne.js";import{fs as f}from"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import{Js as A}from"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import{Sw as B}from"./chunk-m8kem5ca.js";import{spawn as o}from"child_process";import L from"fs";import zb from"os";import $ from"path";import w from"process";import{CLI as wb}from"@stacksjs/clapp";var N="0.2.376";var __dirname="/home/runner/work/stx/stx/packages/stx/bin",E=new wb("stx");function h(J){let Z=typeof J==="string"?Number.parseInt(J,10):J;if(Number.isNaN(Z))return{isValid:!1,error:"Port must be a valid number",suggestion:"Try using a number between 1024 and 65535"};if(Z<1024||Z>65535)return{isValid:!1,error:"Port must be between 1024 and 65535",suggestion:"Try using a port between 1024 and 65535"};return{isValid:!0}}function d(J){try{if(!L.existsSync(J)){let K=$.dirname(J),x=$.basename(J);if(L.existsSync(K)){let z=L.readdirSync(K).filter((j)=>j.toLowerCase().includes(x.toLowerCase().substring(0,3))||j.endsWith(".stx")||j.endsWith(".md")),k=z.length>0?`File not found. Similar files in ${K}: ${z.slice(0,3).join(", ")}`:`File not found. Directory ${K} exists but doesn't contain the specified file.`;return{isValid:!1,error:`File does not exist: ${J}`,suggestion:k}}return{isValid:!1,error:`File does not exist: ${J}`,suggestion:"Check the file path and try again"}}if(L.statSync(J).isDirectory())return{isValid:!1,error:`Expected file but got directory: ${J}`,suggestion:"Specify a .stx or .md file path"};return{isValid:!0}}catch(Z){return{isValid:!1,error:`Cannot access file: ${J}`,suggestion:"Check file permissions and path"}}}function y(J){let Z=typeof J==="string"?Number.parseInt(J,10):J;if(Number.isNaN(Z))return{isValid:!1,error:"Timeout must be a valid number",suggestion:"Specify timeout in milliseconds (e.g., 5000 for 5 seconds)"};if(Z<100)return{isValid:!1,error:"Timeout too short (minimum 100ms)",suggestion:"Use a timeout of at least 100ms"};if(Z>300000)return{isValid:!1,error:"Timeout too long (maximum 5 minutes)",suggestion:"Use a timeout of less than 300000ms (5 minutes)"};return{isValid:!0}}var V=(J)=>J.includes("*")||J.includes("?")||J.includes("{")||J.includes("["),jb=(J)=>J.endsWith(".stx")||J.endsWith(".md");function S(J,Z=1){if(console.error(`\u274C ${J.error}`),J.suggestion)console.error(`\uD83D\uDCA1 suggestion: ${J.suggestion}`);w.exit(Z)}function kb(J){if(!J)return;let Z;try{Z=JSON.parse(J)}catch(K){console.error(`\u274C --info-plist is not valid JSON: ${K.message}`),w.exit(1)}if(typeof Z!=="object"||Z===null||Array.isArray(Z))console.error(`\u274C --info-plist must be a JSON object, e.g. '{"NSFocusStatusUsageDescription":"\u2026"}'`),w.exit(1);for(let[K,x]of Object.entries(Z))if(typeof x!=="string"&&typeof x!=="number"&&typeof x!=="boolean")console.error(`\u274C --info-plist value for "${K}" must be a string, number or boolean`),w.exit(1);return Z}async function Hb(J,Z){try{let K=["test"],x=[];if(J&&J.length>0)for(let W of J)if(V(W))try{let H=await Array.fromAsync(new Bun.Glob(W).scan({onlyFiles:!0,absolute:!0}));if(H.length===0)console.warn(`Warning: No files found matching pattern: ${W}`);else if(x.push(...H),Z.verbose)console.log(`Found ${H.length} file(s) matching pattern: ${W}`)}catch(H){return console.error(`Error expanding glob pattern ${W}:`,H),!1}else x.push(W);if(x.length===0)return console.error("Error: No test files found matching the provided patterns."),!1;if(K.push(...x),Z.filter)K.push("--pattern",Z.filter);if(Z.timeout)K.push("--timeout",Z.timeout.toString());if(Z.reporter&&Z.reporter!=="default")if(Z.reporter==="junit"){let W=$.join(zb.tmpdir(),`stx-test-report-${Date.now()}.xml`);K.push("--reporter",Z.reporter),K.push("--reporter-outfile",W)}else console.warn(`Warning: Reporter '${Z.reporter}' is not supported. Using default reporter.`);if(Z.coverage)K.push("--coverage");if(Z.watch)K.push("--watch");K.push("--preload",$.join(__dirname,"../../../test-utils/happy-dom.ts"));let b={...w.env,STX_TEST_MODE:"true",STX_TEST_UI:Z.ui?"true":"false",STX_TEST_VERBOSE:Z.verbose?"true":"false"},z="bun";if(Z.verbose)console.log(`Running: ${z} ${K.join(" ")}`);let k=performance.now(),j=o(z,K,{stdio:"inherit",shell:!1,env:b});return new Promise((W)=>{j.on("close",(H)=>{let Y=((performance.now()-k)/1000).toFixed(2);if(H===0)W(!0);else W(!1)}),w.on("SIGINT",()=>{console.log(`
|
|
4
4
|
Test run interrupted`),j.kill("SIGINT"),w.exit(1)})})}catch(K){return console.error("Error running tests:",K instanceof Error?K.message:String(K)),!1}}var Qb=w.argv.length>=3&&(jb(w.argv[2])&&L.existsSync(w.argv[2])||V(w.argv[2]));if(Qb){let J=w.argv[2],Z={port:3000,watch:!0,cache:!0,markdown:{syntaxHighlighting:{enabled:!0,serverSide:!0,defaultTheme:"github-dark",highlightUnknownLanguages:!0}}};for(let K=3;K<w.argv.length;K++){let x=w.argv[K];if(x==="--port"&&K+1<w.argv.length){let b=h(w.argv[++K]);if(!b.isValid)S(b);Z.port=Number.parseInt(w.argv[K],10)}else if(x==="--no-watch")Z.watch=!1;else if(x==="--highlight-theme"&&K+1<w.argv.length){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.defaultTheme=w.argv[++K]}else if(x==="--no-highlight"){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.enabled=!1}else if(x==="--no-highlight-unknown"){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.highlightUnknownLanguages=!1}else if(x==="--no-cache")Z.cache=!1;else if(x==="--native")Z.native=!0}if(V(J))try{let K=await Array.fromAsync(new Bun.Glob(J).scan({onlyFiles:!0,absolute:!0})),x=J.endsWith(".stx")?K.filter((j)=>j.endsWith(".stx")):J.endsWith(".md")?K.filter((j)=>j.endsWith(".md")):K.filter((j)=>j.endsWith(".stx")||j.endsWith(".md")),b=J.split("*")[0].replace(/\/$/,"")||".",z=$.resolve(b);try{let j=new Bun.Glob("**/*.stx"),H=(await Array.fromAsync(j.scan({cwd:z,onlyFiles:!0,absolute:!0}))).filter((U)=>/\[.+\]/.test($.basename(U)));for(let U of H)if(!x.includes(U))x.push(U)}catch{}if(x.length===0)console.error(`Error: No STX or Markdown files found matching pattern: ${J}`),w.exit(1);if(!await v(x,Z))w.exit(1)}catch(K){console.error("Failed to process files:",K),w.exit(1)}else F(J,Z).catch((K)=>{console.error("Failed to start dev server:",K),w.exit(1)})}else{let J=function(x,b){let z=[];for(let k=0;k<=b.length;k++)z[k]=[k];for(let k=0;k<=x.length;k++)z[0][k]=k;for(let k=1;k<=b.length;k++)for(let j=1;j<=x.length;j++)if(b.charAt(k-1)===x.charAt(j-1))z[k][j]=z[k-1][j-1];else z[k][j]=Math.min(z[k-1][j-1]+1,z[k][j-1]+1,z[k-1][j]+1);return z[b.length][x.length]};E.command("docs","Generate documentation for components, templates, and directives").option("--output <dir>","Output directory for documentation",{default:"docs"}).option("--format <format>","Documentation format (markdown, html, json)",{default:"markdown"}).option("--components-dir <dir>","Components directory",{default:"components"}).option("--templates-dir <dir>","Templates directory",{default:"."}).option("--no-components","Disable components documentation").option("--no-templates","Disable templates documentation").option("--no-directives","Disable directives documentation").option("--extra-content <content>","Extra content to include in documentation").example("stx docs --output docs --format html").action(async(x)=>{try{if(await r(x))console.log("Documentation generated successfully."),w.exit(0);else console.error("Documentation generation failed."),w.exit(1)}catch(b){console.error("Error generating documentation:",b),w.exit(1)}}),E.command("iconify <command>","Generate Iconify icon packages").option("--output <dir>","Output directory for generated packages",{default:"packages"}).option("--icons <icons>","Comma-separated list of specific icons to generate").example("stx iconify list").example("stx iconify generate mdi").example("stx iconify generate lucide --icons home,settings,user").action(async(x,b)=>{try{let{fetchCollections:z,generatePackage:k}=await import("./chunk-p41s1y4v.js");if(x==="list"){console.log(`
|
|
5
5
|
\uD83D\uDCDA Fetching available icon collections...
|
|
6
6
|
`);let j=await z(),W=Object.entries(j).sort((H,U)=>U[1].total-H[1].total);console.log(`Available collections:
|
|
7
7
|
`);for(let[H,U]of W){let Y=U;console.log(` ${H.padEnd(30)} ${Y.name} (${Y.total} icons)`)}console.log(`
|
|
8
8
|
Total: ${W.length} collections`)}else if(x.startsWith("generate")){let j=x==="generate"?"":x.replace("generate:","").replace("generate-","").replace("generate","").trim();if(!j)console.error("Error: Please specify a collection prefix"),console.error("Usage: stx iconify generate <prefix> [--icons icon1,icon2,...]"),w.exit(1);let W=b.output||$.join(w.cwd(),"packages/collections"),H=b.icons?b.icons.split(",").map((U)=>U.trim()):void 0;await k(j,W,H),console.log(`
|
|
9
9
|
\u2713 Package generated successfully!`),console.log(`
|
|
10
|
-
To use the package:`),console.log(` 1. cd packages/collections/iconify-${j}`),console.log(" 2. bun install"),console.log(" 3. bun run build")}else console.error(`Unknown iconify command: ${x}`),console.error("Available commands: list, generate"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("pwa <command>","PWA tools - audit configuration and build output").option("--output <dir>","Build output directory to audit",{default:"dist"}).example("stx pwa audit").example("stx pwa audit --output build").action(async(x,b)=>{try{if(x==="audit"){let{runPwaAudit:z,formatAuditResult:k}=await import("./chunk-dwyad9gb.js"),{loadConfig:j}=await import("./chunk-
|
|
10
|
+
To use the package:`),console.log(` 1. cd packages/collections/iconify-${j}`),console.log(" 2. bun install"),console.log(" 3. bun run build")}else console.error(`Unknown iconify command: ${x}`),console.error("Available commands: list, generate"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("pwa <command>","PWA tools - audit configuration and build output").option("--output <dir>","Build output directory to audit",{default:"dist"}).example("stx pwa audit").example("stx pwa audit --output build").action(async(x,b)=>{try{if(x==="audit"){let{runPwaAudit:z,formatAuditResult:k}=await import("./chunk-dwyad9gb.js"),{loadConfig:j}=await import("./chunk-fw8jzvjq.js");console.log(`
|
|
11
11
|
\uD83D\uDD0D Running PWA audit...
|
|
12
12
|
`);let W=await j(),H=b.output||"dist",U=z(W,H);if(console.log(k(U)),U.failed>0)w.exit(1)}else console.error(`Unknown pwa command: ${x}`),console.error("Available commands: audit"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("dev [file]","Start a development server for an STX app or file").option("--port <port>","Port to use for the dev server",{default:3000}).option("--pages <dir>",'Directory containing page templates (default: pagesDir from stx.config.ts, else "pages")').option("--no-watch","Disable file watching and auto-reload").option("--native","Open in a native desktop window using Zyte").option("--titlebar-hidden","Hide the native titlebar but keep the traffic-light buttons (web content draws under a transparent full-size titlebar). Implies --native.").option("--highlight-theme <theme>","Syntax highlighting theme for Markdown code blocks",{default:"github-dark"}).option("--no-highlight","Disable syntax highlighting for Markdown code blocks").option("--no-highlight-unknown","Disable syntax highlighting for unknown languages in Markdown").option("--no-cache","Disable caching of parsed files").option("--no-hmr","Disable HMR / live-reload script injection (useful for clean network traces)").option("--profile","Print per-directive timing for every page render via performanceMonitor").option("--debug-directives","Log directive ordering and intermediate template state during rendering").example("stx dev").example("stx dev --port 8080").example("stx dev --pages src/pages").example("stx dev template.stx").example("stx dev components/hero.stx --port 8080").example("stx dev **/*.stx").example("stx dev docs/guide.md").example("stx dev template.stx --native").action(async(x,b)=>{try{if(b.port!==void 0){let k=h(b.port);if(!k.isValid)S(k);b.port=Number.parseInt(String(b.port),10)}if(b.timeout!==void 0){let k=y(b.timeout);if(!k.isValid)S(k)}let z={syntaxHighlighting:{enabled:b.highlight!==!1,serverSide:!0,defaultTheme:b.highlightTheme||"github-dark",highlightUnknownLanguages:b.highlightUnknown!==!1}};if(!x){if(!await P(".",{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,cache:b.cache!==!1,hotReload:b.hmr!==!1,profile:b.profile===!0,debugDirectives:b.debugDirectives===!0,...b.pages&&{pagesDir:b.pages}}))w.exit(1);return}if(!V(x))try{let k=await import("fs");if(k.existsSync(x)&&k.statSync(x).isDirectory()){if(!await P(x,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,cache:b.cache!==!1,hotReload:b.hmr!==!1,profile:b.profile===!0,debugDirectives:b.debugDirectives===!0,...b.pages&&{pagesDir:b.pages}}))w.exit(1);return}}catch{}if(V(x)){console.log(`Expanding glob pattern: ${x}`);let k=await A.timeAsync("glob-expansion",async()=>{return Array.fromAsync(new Bun.Glob(x).scan({onlyFiles:!0,absolute:!0}))}),j=x.endsWith(".stx")?k.filter((Y)=>Y.endsWith(".stx")):x.endsWith(".md")?k.filter((Y)=>Y.endsWith(".md")):k.filter((Y)=>Y.endsWith(".stx")||Y.endsWith(".md"));if(j.length===0)console.error(`No STX or Markdown files found matching pattern: ${x}`),console.error("Try using patterns like '*.stx' or 'components/**/*.stx'"),w.exit(1);let W=x.split("*")[0].replace(/\/$/,"")||".",H=$.resolve(W);try{let Y=new Bun.Glob("**/*.stx"),X=(await Array.fromAsync(Y.scan({cwd:H,onlyFiles:!0,absolute:!0}))).filter((_)=>/\[.+\]/.test($.basename(_)));for(let _ of X)if(!j.includes(_))j.push(_)}catch{}if(console.log(`Found ${j.length} ${j.length===1?"file":"files"} matching ${x}`),!await v(j,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,markdown:z,cache:b.cache!==!1}))w.exit(1)}else{if(!V(x)){let j=d(x);if(!j.isValid)S(j)}if(!await F(x,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,markdown:z,cache:b.cache!==!1}))w.exit(1)}}catch(z){console.error("Error starting dev server:",z),w.exit(1)}}),E.command("a11y [target]","Scan .stx files for accessibility issues (directory, file, or glob)").option("--no-recursive","Disable recursive scanning of directories").option("--ignore <paths>","Comma-separated paths to ignore",{default:""}).option("--json","Output results as JSON").option("--output <file>","Write results to a file instead of stdout").option("--fix","Automatically fix common accessibility issues").example("stx a11y ./templates").example('stx a11y "resources/**/*.stx"').example("stx a11y resources/emails/welcome.stx").example("stx a11y --json --output a11y-report.json").action(async(x=".",b)=>{try{console.log(`Scanning ${x} for accessibility issues...`);let z=b.ignore?b.ignore.split(",").map((U)=>U.trim()):[],{results:k,scannedFiles:j}=await f(x,{recursive:b.recursive!==!1,ignorePaths:z});if(j.length===0)console.log(`
|
|
13
13
|
No .stx files matched ${x}
|
|
@@ -69,7 +69,7 @@ Total: ${H} issues in ${W} files`),b.output){let U=`
|
|
|
69
69
|
File not found: ${x}`),w.exit(1);if(!x.endsWith(".stx"))console.error(`
|
|
70
70
|
File must have .stx extension: ${x}`),w.exit(1)}let k=$.resolve(b.pages),j=$.resolve(b.out);if(!x&&!L.existsSync(k))console.error(`
|
|
71
71
|
Pages directory not found: ${k}`),console.log(`
|
|
72
|
-
Create a 'pages' directory with .stx files, or use --pages to specify a different directory.`),w.exit(1);let{buildApp:W}=await import("./chunk-
|
|
72
|
+
Create a 'pages' directory with .stx files, or use --pages to specify a different directory.`),w.exit(1);let{buildApp:W}=await import("./chunk-85hnnapk.js");c();let H=await W({root:x?$.dirname(x):void 0,debug:b.verbose,ssg:{pagesDir:b.pages,outputDir:b.out,domain:b.domain,baseUrl:b.base,sitemap:b.sitemap,rss:b.rss,minify:b.minify,cache:b.cache!==!1,cleanOutput:b.clean,concurrency:Number.parseInt(b.concurrency,10)||10,publicDir:b.public,trailingSlash:b.trailingSlash,generate404:!0,hooks:b.verbose?{onPageStart:(Y)=>console.log(` Generating: ${Y}`),onPageEnd:(Y,Q)=>console.log(` Generated: ${Y} (${Q.length} bytes)`),onError:(Y,Q)=>console.error(` Error in ${Q}: ${Y.message}`)}:void 0},ssr:{outputDir:b.out==="dist"?".output":b.out,debug:b.verbose}}),U=((performance.now()-z)/1000).toFixed(2);if(H.mode==="ssr"&&H.ssr)console.log(`
|
|
73
73
|
Build complete! (SSR)
|
|
74
74
|
`),console.log(` Pages compiled: ${H.ssr.pageCount}`),console.log(` Output: ${H.ssr.outputDir}`),console.log(` Duration: ${U}s
|
|
75
75
|
`);else if(H.ssg){if(console.log(`
|
|
@@ -84,7 +84,7 @@ Total: ${H} issues in ${W} files`),b.output){let U=`
|
|
|
84
84
|
Build completed with ${H.ssg.failedCount} error(s). Fix the issues above and try again.
|
|
85
85
|
`),w.exit(1);console.log(" To preview locally:"),console.log(` cd ${b.out||"dist"} && npx serve
|
|
86
86
|
`)}}catch(z){console.error(`
|
|
87
|
-
Build failed:`,z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("start","Start the production server (serves pre-built .output/)").option("--port <number>","Server port",{default:"3000"}).option("--output <dir>","Output directory from stx build",{default:".output"}).example("stx start").example("stx start --port 8080").action(async(x)=>{try{let b=$.resolve(x.output);if(!L.existsSync($.join(b,"manifest.json")))console.error("\n No production build found. Run `stx build --out .output` first.\n"),w.exit(1);let{startProductionServer:z}=await import("./chunk-
|
|
87
|
+
Build failed:`,z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("start","Start the production server (serves pre-built .output/)").option("--port <number>","Server port",{default:"3000"}).option("--output <dir>","Output directory from stx build",{default:".output"}).example("stx start").example("stx start --port 8080").action(async(x)=>{try{let b=$.resolve(x.output);if(!L.existsSync($.join(b,"manifest.json")))console.error("\n No production build found. Run `stx build --out .output` first.\n"),w.exit(1);let{startProductionServer:z}=await import("./chunk-8ee37nzy.js");await z({outputDir:b,port:Number.parseInt(x.port,10)||3000})}catch(b){console.error(`
|
|
88
88
|
Failed to start production server:`,b instanceof Error?b.message:String(b)),w.exit(1)}}),E.command("deploy [directory]","Deploy built site to Netlify").option("--site-id <id>","Netlify site ID (or set NETLIFY_SITE_ID env var)").option("--token <token>","Auth token (or set NETLIFY_AUTH_TOKEN env var)").option("--production","Deploy to production (default: draft preview)").option("--message <msg>","Deploy message/title").option("--no-build","Skip build step before deploy").option("--open","Open deployed URL in browser").option("--dry-run","Preview deployment without uploading").option("--init","Initialize Netlify configuration for this project").example("stx deploy").example("stx deploy --production").example("stx deploy dist --site-id my-site-abc123").example("stx deploy --init").example("stx deploy --dry-run").action(async(x,b)=>{try{let{deploy:z,initNetlify:k,DeployError:j}=await import("./chunk-89xwdc1d.js");if(console.log(`\x1B[1mstx deploy\x1B[0m \x1B[2mv${N}\x1B[0m`),b.init){console.log(`
|
|
89
89
|
\uD83D\uDCDD Initializing Netlify configuration...
|
|
90
90
|
`);let H=await k({directory:x||w.cwd(),siteId:b.siteId});if(console.log(`\u2713 Created ${H.configPath}`),H.siteId)console.log("\u2713 Saved site ID to .env.local");console.log(`
|
|
@@ -124,7 +124,7 @@ To view it in the development server:`),console.log(` stx dev ${x}
|
|
|
124
124
|
\uD83D\uDCDD ${$.relative(w.cwd(),Q)}:`),console.log("--- Original"),console.log("+++ Formatted"),console.log(`@@ Changes in ${$.basename(Q)} @@`),console.log("+ Formatted content would be applied");else await Bun.write(Q,q),console.log(`\u2705 Formatted ${$.relative(w.cwd(),Q)}`),U++}catch(X){console.error(`\u274C Error formatting ${$.relative(w.cwd(),Q)}:`,X),Y++}if(b.check&&Y>0)console.log(`
|
|
125
125
|
${Y} files need formatting. Run 'stx format' to fix.`),w.exit(1);else if(!b.check&&!b.diff)console.log(`\u2728 Formatted ${U} files successfully`)}catch(z){console.error("Error formatting files:",z),w.exit(1)}}),E.command("perf [command...]","Show performance statistics for STX operations").option("--clear","Clear performance statistics").option("--json","Output as JSON").example("stx perf").example("stx perf --clear").example("stx perf --json").action(async(x,b)=>{try{if(b.clear){A.clear(),console.log("\u2705 Performance statistics cleared");return}let z=A.getStats();if(Object.keys(z).length===0){if(b.json){console.log(JSON.stringify({},null,2));return}console.log("No performance data available. Run some STX commands first.");return}if(b.json)console.log(JSON.stringify(z,null,2));else{console.log(`
|
|
126
126
|
\uD83D\uDCCA STX Performance Statistics
|
|
127
|
-
`);for(let[k,j]of Object.entries(z))console.log(`\uD83D\uDD27 ${k}:`),console.log(` Count: ${j.count}`),console.log(` Average: ${j.avgTime.toFixed(2)}ms`),console.log(` Total: ${j.totalTime.toFixed(2)}ms`),console.log(` Min: ${j.minTime.toFixed(2)}ms`),console.log(` Max: ${j.maxTime.toFixed(2)}ms`),console.log("")}}catch(z){console.error("Error showing performance stats:",z),w.exit(1)}}),E.command("typecheck [patterns...]","Type-check the TypeScript inside .stx script blocks").option("--no-client","Skip <script client> and bare <script> blocks").option("--no-server","Skip <script server> blocks").option("--no-templates","Skip {{ }} and directive expressions in the markup").option("--lib <path>","Extra ambient declaration file (repeatable)").example("stx typecheck").example('stx typecheck "resources/views/**/*.stx"').action(async(x,b)=>{let{formatTypecheckDiagnostics:z,typecheckStxFiles:k}=await import("./chunk-
|
|
127
|
+
`);for(let[k,j]of Object.entries(z))console.log(`\uD83D\uDD27 ${k}:`),console.log(` Count: ${j.count}`),console.log(` Average: ${j.avgTime.toFixed(2)}ms`),console.log(` Total: ${j.totalTime.toFixed(2)}ms`),console.log(` Min: ${j.minTime.toFixed(2)}ms`),console.log(` Max: ${j.maxTime.toFixed(2)}ms`),console.log("")}}catch(z){console.error("Error showing performance stats:",z),w.exit(1)}}),E.command("typecheck [patterns...]","Type-check the TypeScript inside .stx script blocks").option("--no-client","Skip <script client> and bare <script> blocks").option("--no-server","Skip <script server> blocks").option("--no-templates","Skip {{ }} and directive expressions in the markup").option("--lib <path>","Extra ambient declaration file (repeatable)").example("stx typecheck").example('stx typecheck "resources/views/**/*.stx"').action(async(x,b)=>{let{formatTypecheckDiagnostics:z,typecheckStxFiles:k}=await import("./chunk-dn3f4vha.js"),{resolveStxTargets:j}=await import("./chunk-erbyg322.js"),W=Array.isArray(x)?x:x?[x]:[],H=W.length?W:["**/*.stx"],U=await j(H);if(U.length===0){console.log(`
|
|
128
128
|
No .stx files matched ${H.join(", ")}
|
|
129
129
|
`);return}let Y=m(w.argv,"--lib"),Q=Y.length>0?Y:b.lib?Array.isArray(b.lib)?b.lib:[b.lib]:[],X=await k(U,{client:b.client!==!1,server:b.server!==!1,templates:b.templates!==!1,extraLibs:Q});if(X.failure)console.error(`
|
|
130
130
|
Type-check did not run.
|
|
@@ -160,11 +160,11 @@ Press Ctrl+C to stop watching...
|
|
|
160
160
|
\uD83D\uDCC4 Files with issues:`),Y.forEach((Q)=>{let X=Q.issues.filter((_)=>j[_.type]>=W).length;if(X>0)console.log(` ${$.relative(w.cwd(),Q.file)} (${X} issues)`)});if(b.saveReport){let Q={summary:U,results:Y,generatedAt:new Date().toISOString(),commandOptions:b};await Bun.write(b.saveReport,JSON.stringify(Q,null,2)),console.log(`
|
|
161
161
|
\uD83D\uDCCB Analysis report saved to: ${b.saveReport}`)}console.log(`
|
|
162
162
|
\u2728 Analysis complete! Use --detailed for more information.`)}catch(z){console.error("Error analyzing templates:",z),w.exit(1)}}),E.command("screenshot [input]","Capture PNG screenshot(s) of page(s) via Bun WebView \u2014 a file, URL, or dist directory").option("--out <dir>","Output directory",{default:"screenshots"}).option("--width <px>","Viewport width",{default:"1440"}).option("--height <px>","Viewport height",{default:"2200"}).option("--wait <ms>","Settle time after navigation before capture",{default:"800"}).option("--timeout <ms>","Hard cap on waiting for navigation",{default:"15000"}).option("--full-page","Capture the entire scrollable page, not just the viewport").option("--wait-selector <sel>","Wait until a CSS selector exists before capturing").option("--format <fmt>","Image format: png | jpeg | webp",{default:"png"}).option("--backend <name>","WebView backend: webkit (macOS, default) | chrome").action(async(x,b)=>{let{captureScreenshots:z}=await import("./chunk-5fzgdrfy.js"),k=x||"dist";try{let j=await z(k,b.out,{width:Number.parseInt(b.width,10),height:Number.parseInt(b.height,10),waitMs:Number.parseInt(b.wait,10),timeoutMs:Number.parseInt(b.timeout,10),fullPage:Boolean(b.fullPage),waitSelector:b.waitSelector,format:b.format,backend:b.backend});for(let W of j)console.log(`\uD83D\uDCF8 ${W.output} (${(W.bytes/1024).toFixed(0)} KB)`);console.log(`
|
|
163
|
-
\u2728 Captured ${j.length} screenshot(s) to ${b.out}/ via Bun WebView`)}catch(j){console.error(`Screenshot failed: ${j.message}`),w.exit(1)}}),E.command("version","Show the version of the CLI").action(()=>{console.log(N)}),E.command("interactive","Start interactive REPL mode for template development").alias("i").option("--context <file>","Load initial context from JSON file").option("--cwd <directory>","Set working directory").option("--verbose","Show verbose output").action(async(x)=>{let{startInteractive:b}=await import("./chunk-
|
|
163
|
+
\u2728 Captured ${j.length} screenshot(s) to ${b.out}/ via Bun WebView`)}catch(j){console.error(`Screenshot failed: ${j.message}`),w.exit(1)}}),E.command("version","Show the version of the CLI").action(()=>{console.log(N)}),E.command("interactive","Start interactive REPL mode for template development").alias("i").option("--context <file>","Load initial context from JSON file").option("--cwd <directory>","Set working directory").option("--verbose","Show verbose output").action(async(x)=>{let{startInteractive:b}=await import("./chunk-2gw7rgbd.js"),z={};if(x.context){let k=$.resolve(x.context);if(L.existsSync(k))try{let j=L.readFileSync(k,"utf-8");z=JSON.parse(j)}catch(j){console.error("Error loading context file:",j),w.exit(1)}else console.error(`Context file not found: ${k}`),w.exit(1)}await b({context:z,cwd:x.cwd?$.resolve(x.cwd):w.cwd(),verbose:x.verbose})}),E.command("build:native <input>","Build stx template into a native desktop/mobile app").option("--output <dir>","Output directory",{default:"dist/native"}).option("--target <platform>","Target platform: macos, windows, linux, ios, android").option("--format <format>","Output format: app, dmg, pkg, msi, zip, deb, rpm, appimage, ipa, apk").option("--name <name>","Application name (defaults to filename)").option("--version <version>","Application version",{default:"1.0.0"}).option("--description <desc>","Application description").option("--author <author>","Author/Maintainer name").option("--bundle-id <id>","Bundle identifier (macOS/iOS)").option("--icon <path>","Path to application icon").option("--width <width>","Window width",{default:"1200"}).option("--height <height>","Window height",{default:"800"}).option("--title <title>","Window title").option("--system-tray","Enable system tray/menubar mode").option("--menubar-only","Run without a dock icon (implied by --system-tray)").option("--category <type>","LSApplicationCategoryType (macOS)").option("--copyright <text>","NSHumanReadableCopyright (macOS)").option("--min-system-version <v>","LSMinimumSystemVersion (macOS)").option("--info-plist <json>","Extra Info.plist keys as a JSON object (macOS)").option("--dev-tools","Enable developer tools").option("--frameless","Create frameless window").option("--always-on-top","Keep window always on top").option("--craft-path <path>","Path to Craft binary").option("--verbose","Show verbose output").example("stx build:native app.stx --target macos").example("stx build:native app.stx --target macos --format dmg").example("stx build:native app.stx --target linux --format appimage").example('stx build:native app.stx --name "My App" --icon icon.png').action(async(x,b)=>{try{let{buildNative:z,getAvailableTargets:k,getAvailableFormats:j}=await import("./chunk-ryv2ase3.js"),W=$.resolve(x);if(!L.existsSync(W))console.error(`\u274C Input file not found: ${x}`),w.exit(1);let H=k();if(b.target&&!["macos","windows","linux","ios","android"].includes(b.target))console.error(`\u274C Invalid target: ${b.target}`),console.error("\uD83D\uDCA1 Available targets: macos, windows, linux, ios, android"),console.error(`\uD83D\uDCA1 Targets available on this machine: ${H.join(", ")}`),w.exit(1);let U=b.target||H[0],Y=j(U);if(b.format&&!Y.includes(b.format))console.error(`\u274C Invalid format for ${U}: ${b.format}`),console.error(`\uD83D\uDCA1 Available formats: ${Y.join(", ")}`),w.exit(1);console.log(`
|
|
164
164
|
\uD83D\uDD28 Building native app...`),console.log(` Input: ${x}`),console.log(` Target: ${U}`),console.log(` Format: ${b.format||"default"}`),console.log(` Output: ${b.output}
|
|
165
165
|
`);let Q=await z({input:W,output:$.resolve(b.output),target:U,format:b.format,name:b.name,version:b.version,description:b.description,author:b.author,bundleId:b.bundleId,icon:b.icon?$.resolve(b.icon):void 0,window:{title:b.title,width:Number.parseInt(b.width,10),height:Number.parseInt(b.height,10),frameless:b.frameless,alwaysOnTop:b.alwaysOnTop},systemTray:b.systemTray,menubarOnly:b.menubarOnly,category:b.category,copyright:b.copyright,minimumSystemVersion:b.minSystemVersion,infoPlist:kb(b.infoPlist),devTools:b.devTools,craftPath:b.craftPath,verbose:b.verbose});if(Q.success){if(console.log("\u2705 Build successful!"),console.log(` Output: ${Q.outputPath}`),Q.duration)console.log(` Duration: ${(Q.duration/1000).toFixed(2)}s`);if(U==="macos"&&Q.format==="app")console.log(`
|
|
166
166
|
\uD83D\uDCA1 To run: open "${Q.outputPath}"`);else if(U==="linux"&&Q.format==="appimage")console.log(`
|
|
167
|
-
\uD83D\uDCA1 To run: chmod +x "${Q.outputPath}" && "${Q.outputPath}"`)}else console.error(`\u274C Build failed: ${Q.error}`),w.exit(1)}catch(z){console.error(`\u274C Build error: ${z.message}`),w.exit(1)}}),E.command("story","Start component showcase and testing server").option("-p, --port <port>","Server port",{default:"6006"}).option("-o, --open","Open browser automatically",{default:!1}).option("--host <host>","Host to bind to",{default:"localhost"}).example("stx story").example("stx story --port 3000 --open").action(async(x)=>{try{let{devCommand:b}=await import("./chunk-
|
|
167
|
+
\uD83D\uDCA1 To run: chmod +x "${Q.outputPath}" && "${Q.outputPath}"`)}else console.error(`\u274C Build failed: ${Q.error}`),w.exit(1)}catch(z){console.error(`\u274C Build error: ${z.message}`),w.exit(1)}}),E.command("story","Start component showcase and testing server").option("-p, --port <port>","Server port",{default:"6006"}).option("-o, --open","Open browser automatically",{default:!1}).option("--host <host>","Host to bind to",{default:"localhost"}).example("stx story").example("stx story --port 3000 --open").action(async(x)=>{try{let{devCommand:b}=await import("./chunk-890ykrtx.js");await b({port:x.port?Number.parseInt(x.port,10):6006,open:x.open,host:x.host})}catch(b){console.error(`\u274C Story error: ${b.message}`),w.exit(1)}}),E.command("story:build","Build static story site").option("-o, --outDir <dir>","Output directory",{default:".stx/dist/story"}).example("stx story:build").example("stx story:build --outDir ./docs/components").action(async(x)=>{try{let{buildCommand:b}=await import("./chunk-enjfp0tp.js");await b({outDir:x.outDir})}catch(b){console.error(`\u274C Story build error: ${b.message}`),w.exit(1)}}),E.command("story:test","Run visual regression tests").option("-u, --update","Update snapshots",{default:!1}).option("-f, --filter <name>","Filter components by name").example("stx story:test").example("stx story:test --update").example("stx story:test --filter Button").action(async(x)=>{try{let{createContext:b}=await import("./chunk-mzrejx5e.js"),{runVisualTests:z,updateSnapshots:k,formatTestResults:j}=await import("./chunk-hkq7d4t2.js"),W=await b({mode:"build"});if(x.update){let H=await k(W,{filter:x.filter?[x.filter]:void 0});console.log(`Updated ${H} snapshots`)}else{let H=await z(W,{filter:x.filter?[x.filter]:void 0});if(console.log(j(H)),H.failed>0)w.exit(1)}}catch(b){console.error(`\u274C Story test error: ${b.message}`),w.exit(1)}}),E.command("compile <input>","Compile stx template to native Craft component code").option("--target <platform>","Target platform: macos, windows, linux, ios, android, universal",{default:"universal"}).option("--format <format>","Output format: zig, typescript, json",{default:"zig"}).option("--output <path>","Output directory for compiled files",{default:"./dist"}).option("--optimize","Enable optimizations",{default:!0}).option("--tree-shake","Enable tree shaking",{default:!0}).option("--hot-reload","Enable hot reload support",{default:!1}).option("--sourcemaps","Generate source maps",{default:!1}).option("--bundle","Bundle all dependencies",{default:!0}).option("--minify","Minify output",{default:!1}).option("--verbose","Show detailed output",{default:!1}).example("stx compile app.stx").example("stx compile app.stx --target macos --format zig").example("stx compile app.stx --format typescript --output ./native").example("stx compile app.stx --optimize --tree-shake --minify").action(async(x,b)=>{try{let{compileToNative:z}=await import("./chunk-g8k2zj4z.js"),k=$.resolve(x);if(!L.existsSync(k))console.error(`\u274C Input file not found: ${x}`),w.exit(1);let j=["macos","windows","linux","ios","android","universal"];if(!j.includes(b.target))console.error(`\u274C Invalid target: ${b.target}`),console.error(`\uD83D\uDCA1 Available targets: ${j.join(", ")}`),w.exit(1);let W=["zig","typescript","json"];if(!W.includes(b.format))console.error(`\u274C Invalid format: ${b.format}`),console.error(`\uD83D\uDCA1 Available formats: ${W.join(", ")}`),w.exit(1);console.log(`
|
|
168
168
|
\uD83D\uDD27 Compiling stx template to native code...`),console.log(` Input: ${x}`),console.log(` Target: ${b.target}`),console.log(` Format: ${b.format}`),console.log(` Output: ${b.output}
|
|
169
169
|
`);let H=L.readFileSync(k,"utf-8"),U=await z(H,{target:b.target,format:b.format,optimize:b.optimize,treeShake:b.treeShake,hotReload:b.hotReload,debug:b.verbose,sourceMaps:b.sourcemaps,bundle:b.bundle,minify:b.minify}),Y=$.resolve(b.output);if(!L.existsSync(Y))L.mkdirSync(Y,{recursive:!0});let Q=$.basename(x,$.extname(x)),X=b.format==="typescript"?"ts":b.format==="json"?"json":"zig",_=$.join(Y,`${Q}.${X}`);L.writeFileSync(_,U.code);let q=$.join(Y,`${Q}.manifest.json`);if(L.writeFileSync(q,JSON.stringify(U.manifest,null,2)),b.sourcemaps&&U.sourceMaps){let O=$.join(Y,`${Q}.${X}.map`);L.writeFileSync(O,U.sourceMaps)}if(b.target==="universal"&&U.platformCode.size>0)for(let[O,M]of U.platformCode){let G=$.join(Y,`${Q}.${O}.${X}`);L.writeFileSync(G,M)}if(console.log("\u2705 Compilation successful!"),console.log(` Output: ${_}`),console.log(` Manifest: ${q}`),console.log(`
|
|
170
170
|
\uD83D\uDCCA Statistics:`),console.log(` Compilation time: ${U.stats.compilationTime.toFixed(2)}ms`),console.log(` Total components: ${U.stats.totalComponents}`),console.log(` Native components: ${U.stats.nativeComponents}`),console.log(` Web fallback components: ${U.stats.webComponents}`),console.log(` Bundle size: ${(U.stats.bundleSize/1024).toFixed(2)}KB`),U.stats.warnings.length>0){console.log(`
|
package/dist/craft-entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Yj as Nj,Zj as wj,_j as Aj}from"./chunk-x21hdhjw.js";import{ak as Uj,bk as Xj,ck as Yj,dk as Zj,ek as _j,fk as $j,gk as qj,hk as Fj,ik as Oj,jk as Vj,kk as Ij,lk as Qj,mk as Wj,nk as Kj}from"./chunk-
|
|
2
|
+
import{Yj as Nj,Zj as wj,_j as Aj}from"./chunk-x21hdhjw.js";import{ak as Uj,bk as Xj,ck as Yj,dk as Zj,ek as _j,fk as $j,gk as qj,hk as Fj,ik as Oj,jk as Vj,kk as Ij,lk as Qj,mk as Wj,nk as Kj}from"./chunk-pz7jrd7e.js";import"./chunk-kh2v2xqp.js";import"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";var I=new Map,Q=new Map;function L(j,B){let G=B?.id||g(j),J=h(j),U=I.get(G);if(U&&U.hash===J)return U;let X=S(j),Z=y(j),Y=T(j),_=v(X),{staticParts:q,dynamicParts:$}=C(X),F=u(j),O={id:G,hash:J,tree:X,scripts:Z,styles:Y,staticParts:q,dynamicParts:$,dependencies:F,metadata:_};return I.set(G,O),O}async function r(j,B={},G={}){let J=performance.now();if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`,_=Q.get(Y);if(_&&Date.now()-_.timestamp<(G.cacheTTL||60000))return{html:_.html,styles:j.styles.join(`
|
|
3
3
|
`),scripts:j.scripts.join(`
|
|
4
4
|
`),metadata:{renderTime:0,cacheHit:!0,totalSize:_.html.length,componentCount:j.metadata.componentCount}}}let U;if(G.streaming)U=await H(j.tree,B);else U=W(j.tree,B);let X;if(G.hydrate){let Y=k(U,j,B);U=Y.html,X=Y.data}if(G.minify)U=x(U);if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`;Q.set(Y,{html:U,timestamp:Date.now()})}let Z=performance.now()-J;return{html:U,styles:j.styles.join(`
|
|
5
5
|
`),scripts:j.scripts.join(`
|
package/dist/craft.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Yj as Nj,Zj as wj,_j as Aj}from"./chunk-x21hdhjw.js";import{ak as Uj,bk as Xj,ck as Yj,dk as Zj,ek as _j,fk as $j,gk as qj,hk as Fj,ik as Oj,jk as Vj,kk as Ij,lk as Qj,mk as Wj,nk as Kj}from"./chunk-
|
|
2
|
+
import{Yj as Nj,Zj as wj,_j as Aj}from"./chunk-x21hdhjw.js";import{ak as Uj,bk as Xj,ck as Yj,dk as Zj,ek as _j,fk as $j,gk as qj,hk as Fj,ik as Oj,jk as Vj,kk as Ij,lk as Qj,mk as Wj,nk as Kj}from"./chunk-pz7jrd7e.js";import"./chunk-kh2v2xqp.js";import"./chunk-60cttsne.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-sxzdtsqe.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-n1wxgmf5.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-7rwmnwc3.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";var I=new Map,Q=new Map;function L(j,B){let G=B?.id||g(j),J=h(j),U=I.get(G);if(U&&U.hash===J)return U;let X=S(j),Z=y(j),Y=T(j),_=v(X),{staticParts:q,dynamicParts:$}=C(X),F=u(j),O={id:G,hash:J,tree:X,scripts:Z,styles:Y,staticParts:q,dynamicParts:$,dependencies:F,metadata:_};return I.set(G,O),O}async function r(j,B={},G={}){let J=performance.now();if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`,_=Q.get(Y);if(_&&Date.now()-_.timestamp<(G.cacheTTL||60000))return{html:_.html,styles:j.styles.join(`
|
|
3
3
|
`),scripts:j.scripts.join(`
|
|
4
4
|
`),metadata:{renderTime:0,cacheHit:!0,totalSize:_.html.length,componentCount:j.metadata.componentCount}}}let U;if(G.streaming)U=await H(j.tree,B);else U=W(j.tree,B);let X;if(G.hydrate){let Y=k(U,j,B);U=Y.html,X=Y.data}if(G.minify)U=x(U);if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`;Q.set(Y,{html:U,timestamp:Date.now()})}let Z=performance.now()-J;return{html:U,styles:j.styles.join(`
|
|
5
5
|
`),scripts:j.scripts.join(`
|