@stacksjs/stx 0.2.366 → 0.2.367
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-y3gd1g9s.js → chunk-0vgexs1k.js} +16 -16
- package/dist/{chunk-z541dzm4.js → chunk-17s5aghd.js} +1 -1
- package/dist/{chunk-vd3ja1q9.js → chunk-22rr5608.js} +1 -1
- package/dist/{chunk-y4j6br2e.js → chunk-243n8zxy.js} +1 -1
- package/dist/{chunk-z9zayxg4.js → chunk-2sngz0mn.js} +1 -1
- package/dist/{chunk-5yhbx6em.js → chunk-3ab5knmx.js} +1 -1
- package/dist/{chunk-nhshe26k.js → chunk-3bcmvdzz.js} +8 -8
- package/dist/{chunk-3vctbh57.js → chunk-4nty9rg5.js} +1 -1
- package/dist/{chunk-2hpey68b.js → chunk-51x9g5xc.js} +1 -1
- package/dist/{chunk-jxc8ezvk.js → chunk-59vxqjdn.js} +1 -1
- package/dist/{chunk-ksfnb7rd.js → chunk-8gm2ctc2.js} +1 -1
- package/dist/{chunk-ht2neybr.js → chunk-8wr21vxv.js} +1 -1
- package/dist/{chunk-hd3g347d.js → chunk-azg8n1ez.js} +1 -1
- package/dist/{chunk-y1twpva6.js → chunk-bjvksac7.js} +1 -1
- package/dist/{chunk-9n4wz4p2.js → chunk-ccre21me.js} +1 -1
- package/dist/{chunk-chnhccbg.js → chunk-cf4191be.js} +1 -1
- package/dist/{chunk-g1wgckhg.js → chunk-cjevg8se.js} +1 -1
- package/dist/{chunk-nfmdrmgz.js → chunk-dqgtzhfj.js} +1 -1
- package/dist/{chunk-0vary9ym.js → chunk-dtxx5xze.js} +1 -1
- package/dist/{chunk-65nbdz3c.js → chunk-dxp0rdvp.js} +1 -1
- package/dist/{chunk-dvzxdyth.js → chunk-fpsvcam8.js} +1 -1
- package/dist/{chunk-vr3a5wma.js → chunk-fy5k7xh8.js} +1 -1
- package/dist/{chunk-tc8yfmm5.js → chunk-g3ksdqyc.js} +1 -1
- package/dist/{chunk-2d737x81.js → chunk-gyv6ge1q.js} +2 -2
- package/dist/{chunk-53breaeh.js → chunk-h8de9t8c.js} +1 -1
- package/dist/{chunk-2wbs79rn.js → chunk-hvkzj71k.js} +1 -1
- package/dist/{chunk-cvpr7j0a.js → chunk-j68egpw9.js} +1 -1
- package/dist/{chunk-exve9vx9.js → chunk-k4my696m.js} +1 -1
- package/dist/{chunk-m883x1fp.js → chunk-k8gb8b8h.js} +1 -1
- package/dist/{chunk-09ypvk2t.js → chunk-mcc96y04.js} +1 -1
- package/dist/{chunk-34thbja9.js → chunk-nhhdqk62.js} +1 -1
- package/dist/{chunk-e16evm88.js → chunk-p9jgsbrd.js} +1 -1
- package/dist/{chunk-8czscsf3.js → chunk-pfn13pck.js} +1 -1
- package/dist/{chunk-hdpcrf2k.js → chunk-pkma79bf.js} +1 -1
- package/dist/{chunk-t6928tnd.js → chunk-q2jvq038.js} +1 -1
- package/dist/{chunk-r92073jh.js → chunk-qz8bkt99.js} +1 -1
- package/dist/{chunk-b3yn2q9z.js → chunk-rg7d10cb.js} +1 -1
- package/dist/{chunk-jf9mv5tq.js → chunk-rnzwf3z2.js} +23 -21
- package/dist/{chunk-264fwxyv.js → chunk-rvmgbjbh.js} +2 -2
- package/dist/{chunk-09xgdh4x.js → chunk-ttb07mnn.js} +1 -1
- package/dist/{chunk-jq1pddw6.js → chunk-v7zx438v.js} +1 -1
- package/dist/{chunk-5gwf1fxm.js → chunk-v8hhk3cd.js} +1 -1
- package/dist/{chunk-k2sdmmmq.js → chunk-vs5zebkb.js} +2 -2
- package/dist/{chunk-rg473fqn.js → chunk-w54m70rf.js} +1 -1
- package/dist/{chunk-0jp8bx88.js → chunk-wda7kq69.js} +1 -1
- package/dist/{chunk-e2wkw0mv.js → chunk-whpk0ekx.js} +1 -1
- package/dist/{chunk-wb2y68dk.js → chunk-xcxa0grg.js} +1 -1
- package/dist/{chunk-t0bnbghk.js → chunk-yf8bdka7.js} +1 -1
- package/dist/{chunk-v8ncfppj.js → chunk-yt532p7h.js} +1 -1
- package/dist/{chunk-bxgq1ec0.js → chunk-z81k9w7b.js} +1 -1
- package/dist/cli.js +8 -8
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/pwa.js +1 -1
- package/dist/signals.js +23 -21
- package/dist/ssg.js +2 -2
- package/package.json +5 -5
|
@@ -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-nhshe26k.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-09ypvk2t.js";import{Se as Bo,Te as Co}from"./chunk-7hb89n3z.js";import{Ue as Ho}from"./chunk-cvpr7j0a.js";import{Ve as mn}from"./chunk-chnhccbg.js";import{We as Sn,Xe as Tn,Ye as Un,Ze as Mo}from"./chunk-tc8yfmm5.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-r92073jh.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-k2sdmmmq.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-m883x1fp.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-hdpcrf2k.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-65nbdz3c.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-nfmdrmgz.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-jf9mv5tq.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-2wbs79rn.js";import{pk as Ar,qk as Br,rk as Cr,sk as Dr,tk as Er,uk as Fr}from"./chunk-264fwxyv.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-z541dzm4.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-t6928tnd.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-y3gd1g9s.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-y4j6br2e.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-rg473fqn.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-3bcmvdzz.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-mcc96y04.js";import{Se as Bo,Te as Co}from"./chunk-7hb89n3z.js";import{Ue as Ho}from"./chunk-j68egpw9.js";import{Ve as mn}from"./chunk-cf4191be.js";import{We as Sn,Xe as Tn,Ye as Un,Ze as Mo}from"./chunk-g3ksdqyc.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-qz8bkt99.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-vs5zebkb.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-k8gb8b8h.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-pkma79bf.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-dxp0rdvp.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-dqgtzhfj.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-rnzwf3z2.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-hvkzj71k.js";import{pk as Ar,qk as Br,rk as Cr,sk as Dr,tk as Er,uk as Fr}from"./chunk-rvmgbjbh.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-17s5aghd.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-q2jvq038.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-0vgexs1k.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-243n8zxy.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-w54m70rf.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};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{go as b,ho as c,io as d}from"./chunk-
|
|
2
|
+
import{go as b,ho as c,io as d}from"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.js";import"./chunk-xk402w4a.js";import"./chunk-dnard9gp.js";import"./chunk-vgx5077x.js";import{rv as a}from"./chunk-met6wtbk.js";import"./chunk-ta6z7k4p.js";import"./chunk-zxptxz2b.js";import"./chunk-7racewc5.js";import"./chunk-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{b as rendersAsElement,c as processESImports,d as processComponents,a as freeIdentifiers};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ar as f,vr as a,wr as b,xr as c,yr as d,zr as e}from"./chunk-
|
|
2
|
+
import{Ar as f,vr as a,wr as b,xr as c,yr as d,zr as e}from"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$m as l,Cm as P,Co as i,Ep as h,Io as T,Km as k,_m as c,sm as R,tm as O}from"./chunk-
|
|
2
|
+
import{$m as l,Cm as P,Co as i,Ep as h,Io as T,Km as k,_m as c,sm as R,tm as O}from"./chunk-0vgexs1k.js";import{Ps as S,Rs as y}from"./chunk-243n8zxy.js";import{Lu as m}from"./chunk-met6wtbk.js";import{Ew as YJ,Hw as ZJ,Iw as $J}from"./chunk-e03m4har.js";import{Pw as XJ,Sw as q}from"./chunk-m8kem5ca.js";var r=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function s(J,Y,Q){let X={fullTag:Q,content:Y,attrs:J};if(/\bserver\b/.test(J))return{...X,type:"server"};if(/\bdata-stx-scoped\b/.test(J))return{...X,type:"client"};if(r.test(Y))return{...X,type:"signals"};if(/\bclient\b/.test(J)||/\btype\s*=\s*["']module["']/.test(J)||/\bsrc\s*=/.test(J))return{...X,type:"client"};return{...X,type:"server"}}var o=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function C(J){let Y=[],Q=[],X=[],$=0;while($<J.length){let Z=J.indexOf("<",$);if(Z===-1)break;let U=y(J,Z);if(U>Z){$=U;continue}let W=S(J,Z);if(W>Z){let j=J.slice(Z,W),F=o.exec(j);if(F){let K=s(F[1],F[2],j);switch(K.type){case"signals":Y.push(K);break;case"client":Q.push(K);break;case"server":X.push(K);break}}$=W;continue}$=Z+(J.startsWith("<!--",Z)?4:1)}return{signals:Y,client:Q,server:X}}var a=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function t(J){let Y=[],Q=/<!--[\s\S]*?(?:-->|$)|<(script|style|textarea|title|template)\b[^>]*>[\s\S]*?<\/\1\s*>/gi,X;while((X=Q.exec(J))!==null)Y.push({start:X.index,end:X.index+X[0].length});return Y}function v(J,Y){return Y.some((Q)=>J>=Q.start&&J<Q.end)}function e(J){let Y=(J||"").trim();if(!Y)return null;if(/[\s>+~,:]/.test(Y))return null;let Q={},X=Y,$=X.match(/^[a-z][\w-]*/i);if($)Q.tag=$[0].toLowerCase(),X=X.slice($[0].length);while(X.length>0){let Z=X.match(/^\[([\w-]+)(?:=(["']?)([^\]"']*)\2)?\]/);if(Z){if(Q.attr=Z[1],Z[3]!==void 0&&Z[3]!=="")Q.attrValue=Z[3];X=X.slice(Z[0].length);continue}let U=X.match(/^#([\w-]+)/);if(U){Q.id=U[1],X=X.slice(U[0].length);continue}let W=X.match(/^\.([\w-]+)/);if(W){Q.className=W[1],X=X.slice(W[0].length);continue}return null}if(!Q.tag&&!Q.attr&&!Q.id&&!Q.className)return null;return Q}function JJ(J,Y){if(Y.attr){if(!(Y.attrValue===void 0?new RegExp(`\\b${Y.attr}(?=[\\s=>/]|$)`,"i"):new RegExp(`\\b${Y.attr}\\s*=\\s*(["'])\\s*${Y.attrValue}\\s*\\1`,"i")).test(J))return!1}if(Y.id){if(!new RegExp(`\\bid\\s*=\\s*(["'])\\s*${Y.id}\\s*\\1`,"i").test(J))return!1}if(Y.className){let Q=J.match(/\bclass\s*=\s*(["'])([\s\S]*?)\1/i);if(!Q)return!1;if(!Q[2].split(/\s+/).includes(Y.className))return!1}return!0}function x(J,Y="main"){let Q=e(Y);if(!Q)return null;let X=/<([a-z][\w-]*)\b([^>]*)>/gi,$=t(J),Z;while((Z=X.exec(J))!==null){if(v(Z.index,$))continue;let U=Z[1].toLowerCase(),W=Z[2]||"";if(W.trimEnd().endsWith("/")||a.has(U))continue;if(Q.tag&&Q.tag!==U)continue;if(!JJ(W,Q))continue;let j=Z[0],F=Z.index+j.length,K=new RegExp(`<(/?)${U}\\b([^>]*)>`,"gi");K.lastIndex=F;let G=1,B;while((B=K.exec(J))!==null){if(v(B.index,$))continue;let w=B[1]==="/";if(!w&&(B[2]||"").trimEnd().endsWith("/"))continue;if(G+=w?-1:1,G===0)return{openTag:j,openIndex:Z.index,start:F,end:B.index,tagName:U}}return null}return null}var NJ="X-STX-Router",_J="private, no-store";function AJ(J){return J.replace(/&#(\d+);/g,(Y,Q)=>f(Number(Q),Y)).replace(/&#x([0-9a-f]+);/gi,(Y,Q)=>f(Number.parseInt(Q,16),Y)).replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")}function f(J,Y){if(!Number.isInteger(J)||J<0||J>1114111)return Y;try{return String.fromCodePoint(J)}catch{return Y}}function g(J){return J.headers.get("X-STX-Router")==="true"}function QJ(J,Y){if(!J)return Y;return J.split(",").some((X)=>X.trim().toLowerCase()===Y.toLowerCase())?J:`${J}, ${Y}`}function IJ(J){return{Vary:QJ(J,"X-STX-Router")}}import E from"path";YJ();var UJ="stx-page-head:",WJ=/<!--stx-page-head:([A-Za-z0-9+/=]+)-->\n?/,D={dev:null,prod:null};function jJ(){let J=m()?"dev":"prod",Y=D[J];if(Y!==null)return Y;try{let Q=($J(),XJ(ZJ)),X=J==="dev"&&typeof Q.getRouterScriptDev==="function"?Q.getRouterScriptDev:Q.getRouterScript;D[J]=`<script>${X()}</script>`}catch{D[J]=""}return D[J]}async function RJ(J,Y){if(Y===!1)return null;if(Y&&typeof Y==="string"){let X=E.resolve(J,Y);if(await Bun.file(X).exists())return X;return null}let Q=E.join(J,"app.stx");if(await Bun.file(Q).exists())return Q;return null}async function PJ(J,Y){try{let Q=await Bun.file(J).text(),X=Q,$=Q.match(/<template\b[^>]*>([\s\S]*?)<\/template>/i);if($)X=$[1].trim();let Z=C(Q),U=[...Z.client.map((V)=>V.fullTag),...Z.signals.map((V)=>V.fullTag)],W=[],j=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,F;while((F=j.exec(Q))!==null)W.push(F[0]);let K=X;for(let V of Z.server)K=K.replace(V.fullTag,"");for(let V of Z.client)K=K.replace(V.fullTag,"");K=K.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"");let G="<!--__STX_PAGE_SLOT__-->";if(K=K.replace(/<slot\s*\/>/gi,G).replace(/<slot\s*>\s*<\/slot>/gi,G),!K.includes(G))return console.warn(`[stx] Shell ${J} has no <slot /> \u2014 pages won't be injected`),null;let{processDirectives:B,extractVariables:w,defaultConfig:N,loadStxConfig:A}=await import("./chunk-ttb07mnn.js"),I=await A(),z={__filename:J,__dirname:E.dirname(J)};for(let V of U){let L=V.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);if(L&&!V.includes("client")&&!V.includes('type="module"'))await w(L[1],z,J)}let _=await B(K,z,J,{...N,...I,...Y},new Set),H=_.indexOf(G);if(H===-1)return console.warn("[stx] Shell slot placeholder lost during processing"),null;return{beforeSlot:_.substring(0,H),afterSlot:_.substring(H+G.length),filePath:J,shellScripts:U,shellStyles:W}}catch(Q){return console.error(`[stx] Error processing shell ${J}:`,Q),null}}function kJ(J,Y,Q){let X,$="",Z=Y.match(WJ);if(Z){Y=Y.replace(Z[0],"");try{let K=Buffer.from(Z[1],"base64").toString("utf8"),G=K.match(/<title[^>]*>([\s\S]*?)<\/title>/i);if(G)X=G[1].trim();$=K.replace(/<title[^>]*>[\s\S]*?<\/title>/i,"").trim()}catch{}}let U=Q||X||"stx App",W=jJ(),j="<script>window.__stxRouterConfig={container:'[data-stx-content]'};</script>";return`<!DOCTYPE html>
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
@@ -26,5 +26,5 @@ ${W}
|
|
|
26
26
|
`));if($.length>0)N.push($.join(`
|
|
27
27
|
`));if(G.length>0)N.push(G.join(`
|
|
28
28
|
`));return N.push(K),N.join(`
|
|
29
|
-
`)}import M from"fs";import p from"path";function fJ(J,Y,Q){return{version:1,buildTime:new Date().toISOString(),routes:J,assets:Y,outputDir:Q}}function gJ(J,Y){let Q=p.join(Y,"manifest.json");M.writeFileSync(Q,JSON.stringify(J,null,2))}function uJ(J){let Y=p.join(J,"manifest.json");if(!M.existsSync(Y))return null;try{let Q=M.readFileSync(Y,"utf-8"),X=JSON.parse(Q);if(X.version!==1)return console.warn(`[stx] Manifest version mismatch: expected 1, got ${X.version}`),null;return X}catch(Q){return console.warn("[stx] Failed to load manifest:",Q),null}}function b(J,Y,Q={}){let X=`${encodeURIComponent(J)}=${encodeURIComponent(Y)}`;if(Q.maxAge!==void 0)X+=`; Max-Age=${Q.maxAge}`;if(Q.expires)X+=`; Expires=${Q.expires.toUTCString()}`;if(Q.path)X+=`; Path=${Q.path}`;if(Q.domain)X+=`; Domain=${Q.domain}`;if(Q.secure)X+="; Secure";if(Q.httpOnly)X+="; HttpOnly";if(Q.sameSite)X+=`; SameSite=${Q.sameSite}`;return X}async function FJ(J){let Y=J.headers.get("content-type")||"",Q={},X=($,Z)=>{let U=Q[$];if(U===void 0)Q[$]=Z;else if(Array.isArray(U))U.push(Z);else Q[$]=[U,Z]};if(Y.includes("multipart/form-data")){let $=await J.formData();for(let[Z,U]of $.entries())if(typeof U==="string")X(Z,U);return Q}if(Y.includes("application/x-www-form-urlencoded")){for(let[$,Z]of new URLSearchParams(await J.text()).entries())X($,Z);return Q}return Q}function GJ(J){if(!J)return!1;let Y=J.toUpperCase();return Y!=="GET"&&Y!=="HEAD"}async function d(J,Y={}){let Q=Y.request,X=Y.method??Q?.method;if(!Q||!GJ(X))return{ran:!1};if(typeof J.action!=="function")return{ran:!1};let $={};try{$=await FJ(Q)}catch{}let Z=await J.action({request:Q,form:$,params:Y.params??{},query:J.query??{},cookies:Y.cookies??{}});if(Z&&typeof Z==="object"){let U=Z,W=zJ(U.cookies),j=U.redirect;if(typeof j==="string"&&j)return{redirect:j,ran:!0,...W.length>0?{cookies:W}:{}};let{cookies:F,redirect:K,...G}=U;if(Object.assign(J,G),W.length>0)return{ran:!0,cookies:W}}return{ran:!0}}function zJ(J){if(!J||typeof J!=="object"||Array.isArray(J))return[];let Y=[];for(let[Q,X]of Object.entries(J)){if(!Q)continue;if(typeof X==="string"){Y.push(b(Q,X));continue}if(X&&typeof X==="object"){let $=X;if(typeof $.value!=="string")continue;Y.push(b(Q,$.value,$))}}return Y}function dJ(J,Y=[],Q){let X=new Headers({Location:J,"Cache-Control":"no-store"});for(let $ of Y)X.append("Set-Cookie",$);for(let[$,Z]of Object.entries(Q??{}))if($.toLowerCase()!=="location")X.set($,Z);return new Response(null,{status:303,headers:X})}async function aJ(J,Y={}){return(await n(J,Y)).html}async function tJ(J,Y={}){let{html:Q,context:X,redirect:$,cookies:Z}=await n(J,Y),U=c(X),W=l(X);if($)return{html:Q,redirect:$,cookies:Z,status:U,headers:W};let{extractStreamBoundaries:j}=await import("./chunk-
|
|
29
|
+
`)}import M from"fs";import p from"path";function fJ(J,Y,Q){return{version:1,buildTime:new Date().toISOString(),routes:J,assets:Y,outputDir:Q}}function gJ(J,Y){let Q=p.join(Y,"manifest.json");M.writeFileSync(Q,JSON.stringify(J,null,2))}function uJ(J){let Y=p.join(J,"manifest.json");if(!M.existsSync(Y))return null;try{let Q=M.readFileSync(Y,"utf-8"),X=JSON.parse(Q);if(X.version!==1)return console.warn(`[stx] Manifest version mismatch: expected 1, got ${X.version}`),null;return X}catch(Q){return console.warn("[stx] Failed to load manifest:",Q),null}}function b(J,Y,Q={}){let X=`${encodeURIComponent(J)}=${encodeURIComponent(Y)}`;if(Q.maxAge!==void 0)X+=`; Max-Age=${Q.maxAge}`;if(Q.expires)X+=`; Expires=${Q.expires.toUTCString()}`;if(Q.path)X+=`; Path=${Q.path}`;if(Q.domain)X+=`; Domain=${Q.domain}`;if(Q.secure)X+="; Secure";if(Q.httpOnly)X+="; HttpOnly";if(Q.sameSite)X+=`; SameSite=${Q.sameSite}`;return X}async function FJ(J){let Y=J.headers.get("content-type")||"",Q={},X=($,Z)=>{let U=Q[$];if(U===void 0)Q[$]=Z;else if(Array.isArray(U))U.push(Z);else Q[$]=[U,Z]};if(Y.includes("multipart/form-data")){let $=await J.formData();for(let[Z,U]of $.entries())if(typeof U==="string")X(Z,U);return Q}if(Y.includes("application/x-www-form-urlencoded")){for(let[$,Z]of new URLSearchParams(await J.text()).entries())X($,Z);return Q}return Q}function GJ(J){if(!J)return!1;let Y=J.toUpperCase();return Y!=="GET"&&Y!=="HEAD"}async function d(J,Y={}){let Q=Y.request,X=Y.method??Q?.method;if(!Q||!GJ(X))return{ran:!1};if(typeof J.action!=="function")return{ran:!1};let $={};try{$=await FJ(Q)}catch{}let Z=await J.action({request:Q,form:$,params:Y.params??{},query:J.query??{},cookies:Y.cookies??{}});if(Z&&typeof Z==="object"){let U=Z,W=zJ(U.cookies),j=U.redirect;if(typeof j==="string"&&j)return{redirect:j,ran:!0,...W.length>0?{cookies:W}:{}};let{cookies:F,redirect:K,...G}=U;if(Object.assign(J,G),W.length>0)return{ran:!0,cookies:W}}return{ran:!0}}function zJ(J){if(!J||typeof J!=="object"||Array.isArray(J))return[];let Y=[];for(let[Q,X]of Object.entries(J)){if(!Q)continue;if(typeof X==="string"){Y.push(b(Q,X));continue}if(X&&typeof X==="object"){let $=X;if(typeof $.value!=="string")continue;Y.push(b(Q,$.value,$))}}return Y}function dJ(J,Y=[],Q){let X=new Headers({Location:J,"Cache-Control":"no-store"});for(let $ of Y)X.append("Set-Cookie",$);for(let[$,Z]of Object.entries(Q??{}))if($.toLowerCase()!=="location")X.set($,Z);return new Response(null,{status:303,headers:X})}async function aJ(J,Y={}){return(await n(J,Y)).html}async function tJ(J,Y={}){let{html:Q,context:X,redirect:$,cookies:Z}=await n(J,Y),U=c(X),W=l(X);if($)return{html:Q,redirect:$,cookies:Z,status:U,headers:W};let{extractStreamBoundaries:j}=await import("./chunk-yt532p7h.js"),F=j(X),K=J.streamTemplates;if(K&&Object.keys(K).length>0){let{processDirectives:G}=await import("./chunk-ccre21me.js"),{defaultConfig:B}=await import("./chunk-v8hhk3cd.js"),w=X.streamBoundaries||{},N={...B,autoShell:!1},A=Object.keys(K).map((z)=>({id:z,render:async()=>{let _=typeof w[z]==="function"?await w[z]():void 0;return G(K[z],{...X,$boundary:_},J.sourceFile,N,new Set)}})),I=new Set(A.map((z)=>z.id));F=[...(F||[]).filter((z)=>!I.has(z.id)),...A]}return{html:Q,boundaries:F&&F.length>0?F:void 0,cookies:Z,status:U,headers:W}}async function n(J,Y){let Q={__filename:J.sourceFile,__dirname:J.sourceFile.replace(/[/\\][^/\\]+$/,""),...Y};if(!J.hasServerScripts&&!O(J.html))return{html:J.html,context:Q};for(let U of J.serverScriptContent)try{await T(U,Q,J.sourceFile)}catch(W){if(Y.__stx_strict_hydration)throw W;console.warn(`[stx] Server script error in ${J.sourceFile}:`,W)}let X=await d(Q,{request:Y.request,method:Y.method,params:Y.params??{},cookies:Y.cookies??{}}),$=(U)=>{let W=U.replace(/<script\b[^>]*\bdata-stx-server-data\b[^>]*>[\s\S]*?<\/script>/gi,""),j=i(Q);if(!j)return W;let F=W.indexOf("</head>");return F<0?j+W:W.slice(0,F)+j+W.slice(F)};if(X.redirect)return{html:J.html,context:Q,redirect:X.redirect,cookies:X.cookies};if(!O(J.html))return{html:$(J.html),context:Q,cookies:X.cookies};let Z=new Map;for(let[U,W]of Object.entries(J.placeholders))if(W.expression)try{let j=k(W.expression,Q);if(W.type==="raw")Z.set(U,j!==void 0&&j!==null?String(j):"");else Z.set(U,j!==void 0&&j!==null?P(String(j)):"")}catch(j){if(Y.__stx_strict_hydration)throw j;Z.set(U,"")}return{html:$(R(J.html,Z)),context:Q,cookies:X.cookies}}async function eJ(J,Y={}){if(!J.hasServerScripts&&!O(J.fragment))return J.fragment;let Q={__filename:J.sourceFile,__dirname:J.sourceFile.replace(/[/\\][^/\\]+$/,""),...Y};for(let $ of J.serverScriptContent)try{await T($,Q,J.sourceFile)}catch(Z){console.warn(`[stx] Server script error in ${J.sourceFile}:`,Z)}if(!O(J.fragment))return J.fragment;let X=new Map;for(let[$,Z]of Object.entries(J.placeholders))if(Z.expression)try{let U=k(Z.expression,Q);if(Z.type==="raw")X.set($,U!==void 0&&U!==null?String(U):"");else X.set($,U!==void 0&&U!==null?P(String(U)):"")}catch{X.set($,"")}return R(J.fragment,X)}
|
|
30
30
|
export{s as Yf,C as Zf,e as _f,x as $f,NJ as ag,_J as bg,AJ as cg,g as dg,QJ as eg,IJ as fg,RJ as gg,PJ as hg,kJ as ig,KJ as jg,TJ as kg,SJ as lg,fJ as mg,gJ as ng,uJ as og,b as pg,FJ as qg,GJ as rg,d as sg,dJ as tg,aJ as ug,tJ as vg,eJ as wg};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Jt as H,Mt as F}from"./chunk-xk402w4a.js";import{Sw as I}from"./chunk-m8kem5ca.js";import J from"fs";import z from"path";async function N(w,A,j){if(w.__stx_runtime_config)return;let b=H();if(b||j){w.__stx_runtime_config=b??F(j);return}let q=z.dirname(z.resolve(A));while(!0){if(["stx.config.ts","stx.config.js",".config/stx.config.ts",".config/stx.config.js"].some((D)=>J.existsSync(z.join(q,D)))){let{loadStxConfig:D}=await import("./chunk-
|
|
2
|
+
import{Jt as H,Mt as F}from"./chunk-xk402w4a.js";import{Sw as I}from"./chunk-m8kem5ca.js";import J from"fs";import z from"path";async function N(w,A,j){if(w.__stx_runtime_config)return;let b=H();if(b||j){w.__stx_runtime_config=b??F(j);return}let q=z.dirname(z.resolve(A));while(!0){if(["stx.config.ts","stx.config.js",".config/stx.config.ts",".config/stx.config.js"].some((D)=>J.existsSync(z.join(q,D)))){let{loadStxConfig:D}=await import("./chunk-v8hhk3cd.js"),G=await D(q);if(G.runtimeConfig)w.__stx_runtime_config=F(G.runtimeConfig);return}let B=z.dirname(q);if(B===q)return;q=B}}async function O(w,A){function j(b){if(b===null)return"null";if(Array.isArray(b))return`Array<${b.length?[...new Set(b.map(j))].join(" | "):"unknown"}>`;if(typeof b==="object")return`{ ${Object.entries(b).map(([q,B])=>`readonly ${JSON.stringify(q)}: ${j(B)}`).join("; ")} }`;return typeof b}await Bun.write(z.join(w,".stx/runtime-config.d.ts"),`import '@stacksjs/stx/runtime-config'
|
|
3
3
|
declare module '@stacksjs/stx/runtime-config' { interface PublicRuntimeConfig ${j(A.public??{})} }
|
|
4
4
|
`),await Bun.write(z.join(w,".stx/runtime-config-server.d.ts"),`import '@stacksjs/stx/runtime-config-server'
|
|
5
5
|
declare module '@stacksjs/stx/runtime-config-server' { interface PrivateRuntimeConfig ${j(A.private??{})} }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ze as a}from"./chunk-
|
|
2
|
+
import{Ze as a}from"./chunk-g3ksdqyc.js";import"./chunk-vs5zebkb.js";import"./chunk-0knxnyq6.js";import"./chunk-q2jvq038.js";import"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{a as startProductionServer};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ii as a,Ji as b}from"./chunk-
|
|
2
|
+
import{Ii as a,Ji as b}from"./chunk-dxp0rdvp.js";import"./chunk-ra1s4s6b.js";import"./chunk-17s5aghd.js";import"./chunk-q2jvq038.js";import"./chunk-qjvny3wf.js";import"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{a as getStoreScript,b as clearStoreCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{oj as o,pj as p,qj as q}from"./chunk-
|
|
2
|
+
import{oj as o,pj as p,qj as q}from"./chunk-rnzwf3z2.js";import{Aj as e,Bj as f,Cj as g,Dj as h,Ej as i,Fj as j,Gj as k,Hj as l,Ij as m,Jj as n,wj as a,xj as b,yj as c,zj as d}from"./chunk-y32dbdta.js";import"./chunk-7racewc5.js";import"./chunk-m8kem5ca.js";export{n as useOptimistic,l as untrack,a as state,g as runMountCallbacks,h as runDestroyCallbacks,i as pendingLifecycleCounts,m as peek,e as onMount,f as onDestroy,j as isSignal,k as isDerived,p as generateSignalsRuntimeDev,o as generateSignalsRuntime,c as effect,b as derived,q as default,d as batch};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Le as c,Me as d,Ne as e,Oe as f,Pe as g,Qe as h,Re as i}from"./chunk-
|
|
2
|
+
import{Le as c,Me as d,Ne as e,Oe as f,Pe as g,Qe as h,Re as i}from"./chunk-mcc96y04.js";import"./chunk-pkma79bf.js";import"./chunk-ra1s4s6b.js";import"./chunk-17s5aghd.js";import"./chunk-q2jvq038.js";import"./chunk-qjvny3wf.js";import{Mp as a,Pp as b}from"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{d as virtualPathFor,h as typecheckStxFiles,e as sourcePathFor,i as formatTypecheckDiagnostics,g as findStxModuleDeclarations,f as findRuntimeTypeDeclarations,b as extractTemplateExpressions,a as extractScriptBlocks,c as buildVirtualSource};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ni as a,Oi as b,Pi as c,Qi as d,Ri as e,Si as f,Ti as g,Ui as h,Vi as i,Wi as j,Xi as k,Yi as l,Zi as m,_i as n}from"./chunk-
|
|
2
|
+
import{Ni as a,Oi as b,Pi as c,Qi as d,Ri as e,Si as f,Ti as g,Ui as h,Vi as i,Wi as j,Xi as k,Yi as l,Zi as m,_i as n}from"./chunk-dqgtzhfj.js";import"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{i as streamingSuspenseDirective,m as streamToResponse,g as streamTemplateSimple,a as streamTemplate,d as renderStreamingPage,k as registerStreamingDirectives,e as processStreamDirectives,l as processSectionDirectives,j as islandDirective,n as generateHydrationRuntime,f as extractStreamBoundaries,h as createStreamRenderer,b as buildSuspenseResolveScript,c as SUSPENSE_RESOLVER_RUNTIME};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{no as a,oo as b,po as c,qo as d,ro as e,so as f,to as g,uo as h,vo as i,wo as j,xo as k,yo as l,zo as m}from"./chunk-
|
|
2
|
+
import{no as a,oo as b,po as c,qo as d,ro as e,so as f,to as g,uo as h,vo as i,wo as j,xo as k,yo as l,zo as m}from"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.js";import"./chunk-vsqx756d.js";import"./chunk-m8kem5ca.js";export{m as stripStxRuntimeImports,b as scanScriptTags,l as rewriteStxImportSpecifiers,j as processSignals,h as processScriptSetup,f as preEvalLiteralReactiveIfs,c as parseLoopExpression,d as hasSignalsSyntax,k as findMarkupIndexOutsideScripts,i as extractExports,g as convertSignalLoopsToAttributes,e as convertSignalDirectivesToAttributes,a as clearScriptScanCache};
|
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-3bcmvdzz.js";import"./chunk-mcc96y04.js";import"./chunk-7hb89n3z.js";import"./chunk-j68egpw9.js";import"./chunk-cf4191be.js";import"./chunk-g3ksdqyc.js";import"./chunk-n0d7nwhd.js";import"./chunk-84577w4y.js";import"./chunk-5j3v0p6s.js";import"./chunk-198fr2d4.js";import"./chunk-qz8bkt99.js";import"./chunk-vs5zebkb.js";import"./chunk-0knxnyq6.js";import"./chunk-634gaa9d.js";import"./chunk-k8gb8b8h.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-pkma79bf.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-dxp0rdvp.js";import"./chunk-ra1s4s6b.js";import"./chunk-dqgtzhfj.js";import"./chunk-rnzwf3z2.js";import"./chunk-y32dbdta.js";import"./chunk-hvkzj71k.js";import"./chunk-rvmgbjbh.js";import"./chunk-necx4e30.js";import"./chunk-frp9fc7j.js";import{bl as u,cl as c}from"./chunk-17s5aghd.js";import"./chunk-q2jvq038.js";import"./chunk-qjvny3wf.js";import"./chunk-0vgexs1k.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-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.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.367";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-v8hhk3cd.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-k4my696m.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-wda7kq69.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-yf8bdka7.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.
|
|
@@ -136,7 +136,7 @@ ${Y} files need formatting. Run 'stx format' to fix.`),w.exit(1);else if(!b.chec
|
|
|
136
136
|
${z(X.diagnostics)}
|
|
137
137
|
`);if(console.log(` Checked ${X.blockCount} script block(s) and ${X.expressionCount} template expression(s) in ${X.checkedFiles.length} file(s) \u2014 `+`${_.length} error(s), ${X.diagnostics.length-_.length} warning(s)
|
|
138
138
|
`),_.length>0)w.exit(1)}),E.command("codemod [patterns...]","Find hand-rolled code that an stx primitive already covers").option("--fix","Write the safe rewrites (default is report-only)").option("--rule <rule>","Run one rule only: confirm | tooltip (rewritable) \xB7 alert | route-params | search-params | navigate | "+"fetch | polling | debounce | click-outside | focus | clipboard | watch (report-only)").example("stx codemod").example("stx codemod --rule route-params").example('stx codemod --fix "resources/views/**/*.stx"').action(async(x,b)=>{let{codemodSource:z,formatCodemodFindings:k}=await import("./chunk-xb23pzwa.js"),j=globalThis.Bun.Glob,W=Array.isArray(x)?x:x?[x]:[],H=W.length?W:["**/*.stx","**/*.ts"],U=b.rule?[b.rule]:void 0;if(b.rule&&b.rule!=="confirm"&&b.rule!=="tooltip")console.error(`Unknown rule "${b.rule}". Expected: confirm | tooltip`),w.exit(1);let Y=new Set,Q=[],X=0,_=new Set;try{let q=Bun.spawnSync(["git","ls-files","--others","--ignored","--exclude-standard","-z"],{cwd:w.cwd(),stdout:"pipe",stderr:"pipe"});for(let O of new TextDecoder().decode(q.stdout).split("\x00"))if(O)_.add($.resolve(w.cwd(),O))}catch{}for(let q of H)for await(let O of new j(q).scan({cwd:w.cwd(),absolute:!0})){if(O.includes("/node_modules/")||O.includes("/dist/")||Y.has(O)||_.has(O))continue;Y.add(O);let M=await Bun.file(O).text(),G=z(M,{file:O,rules:U});if(Q.push(...G.findings),b.fix&&G.code!==M)await Bun.write(O,G.code),X++}if(console.error(k(Q,Boolean(b.fix))),b.fix)console.error(`
|
|
139
|
-
${X} file(s) written.`)}),E.command("doctor","Diagnose the stx framework-runtime resolution + staleness chain").option("--json","Output the report as JSON").example("stx doctor").example("stx doctor --json").action(async(x)=>{try{let b;try{b=(await import("./chunk-
|
|
139
|
+
${X} file(s) written.`)}),E.command("doctor","Diagnose the stx framework-runtime resolution + staleness chain").option("--json","Output the report as JSON").example("stx doctor").example("stx doctor --json").action(async(x)=>{try{let b;try{b=(await import("./chunk-xcxa0grg.js")).generateSignalsRuntime}catch{b=void 0}let z=await s({generateRuntime:b});if(x.json)console.log(JSON.stringify(z,null,2));else console.log(t(z));if(!z.ok)w.exit(1)}catch(b){console.error("Error running doctor:",b),w.exit(1)}}),E.command("debug <file>","Debug STX template processing step by step").option("--step","Step through processing stages interactively").option("--verbose","Show detailed processing information").option("--context <data>","JSON string of context data to use").option("--save-report <file>","Save debug report to file").example("stx debug template.stx").example("stx debug template.stx --step").example(`stx debug template.stx --context '{"name": "John", "items": [1,2,3]}'`).action(async(x,b)=>{try{let z=d(x);if(!z.isValid)S(z);console.log(`\uD83D\uDD0D Debugging stx template: ${x}
|
|
140
140
|
`);let k={};if(b.context)try{k=JSON.parse(b.context)}catch(H){console.error("\u274C Invalid JSON in --context option"),w.exit(1)}let j=await Bun.file(x).text();console.log(`\uD83D\uDCC4 Template Content (${j.length} chars):`),console.log("\u2500".repeat(50)),console.log(j.substring(0,500)+(j.length>500?`
|
|
141
141
|
...
|
|
142
142
|
`:"")),console.log("\u2500".repeat(50));let W=j.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);if(W)console.log(`
|
|
@@ -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-8wr21vxv.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-bjvksac7.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-gyv6ge1q.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-nhhdqk62.js";import"./chunk-rvmgbjbh.js";import"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.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-nhhdqk62.js";import"./chunk-rvmgbjbh.js";import"./chunk-0vgexs1k.js";import"./chunk-jc6wrxrh.js";import"./chunk-2xpdcr8c.js";import"./chunk-v90kxg77.js";import"./chunk-4arms0am.js";import"./chunk-135mme4g.js";import"./chunk-243n8zxy.js";import"./chunk-w1asc0zd.js";import"./chunk-kd95t585.js";import"./chunk-w54m70rf.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-e03m4har.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(`
|