@stacksjs/stx 0.2.393 → 0.2.394
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-3fq88re1.js → chunk-14nzhhwk.js} +1 -1
- package/dist/{chunk-f2vw4xjb.js → chunk-1d9tcdh0.js} +1 -1
- package/dist/{chunk-3bn4v9gc.js → chunk-2q6napbj.js} +2 -2
- package/dist/{chunk-jqwpvtxt.js → chunk-2q9bwe7v.js} +1 -1
- package/dist/{chunk-hwrwpz4k.js → chunk-2yjj4awx.js} +1 -1
- package/dist/{chunk-8jjx8tmg.js → chunk-35tvbs3e.js} +1 -1
- package/dist/{chunk-q8rfphxc.js → chunk-3sn517bh.js} +1 -1
- package/dist/{chunk-s80a8k71.js → chunk-3v5gtrhd.js} +1 -1
- package/dist/{chunk-x123899f.js → chunk-4cgfaqf0.js} +1 -1
- package/dist/{chunk-bb5bw63y.js → chunk-5jh75095.js} +1 -1
- package/dist/{chunk-qcx39mnq.js → chunk-7myx6gsh.js} +1 -1
- package/dist/{chunk-95gc6vft.js → chunk-8sw55jct.js} +1 -1
- package/dist/{chunk-j9hja65d.js → chunk-8xc4cv9z.js} +1 -1
- package/dist/{chunk-9f1exg8t.js → chunk-9cbarfcc.js} +1 -1
- package/dist/{chunk-z3ctvhn7.js → chunk-9f5fr80c.js} +1 -1
- package/dist/{chunk-9qmfvrkj.js → chunk-9mcb531n.js} +1 -1
- package/dist/{chunk-djhr2man.js → chunk-an49az59.js} +1 -1
- package/dist/{chunk-0e3mfah1.js → chunk-ap2922rj.js} +1 -1
- package/dist/{chunk-ydvfeqa2.js → chunk-ax9cv0wz.js} +1 -1
- package/dist/{chunk-wqsz351k.js → chunk-bmzycf2s.js} +1 -1
- package/dist/{chunk-c61qn3v3.js → chunk-e3k0gjj1.js} +1 -1
- package/dist/{chunk-4jjhp8qt.js → chunk-fd2ea6w6.js} +1 -1
- package/dist/{chunk-3y27rpjm.js → chunk-fj38s763.js} +2 -2
- package/dist/{chunk-gtg5epsx.js → chunk-fnq5ddev.js} +1 -1
- package/dist/{chunk-0c0nvf5h.js → chunk-fznyn3et.js} +1 -1
- package/dist/{chunk-chaxw0y9.js → chunk-g8jp7wyn.js} +1 -1
- package/dist/{chunk-qgfrxefd.js → chunk-grrwb137.js} +1 -1
- package/dist/{chunk-vfkw8zj6.js → chunk-gyksjr2k.js} +1 -1
- package/dist/{chunk-vhw1ge7q.js → chunk-hcx4qbq2.js} +1 -1
- package/dist/{chunk-d8e21yc7.js → chunk-hm2fb439.js} +2 -2
- package/dist/{chunk-z9f25j7k.js → chunk-k30cnmqg.js} +1 -1
- package/dist/chunk-ke5myms8.js +2 -0
- package/dist/{chunk-j5b314qv.js → chunk-kqc8ktjf.js} +1 -1
- package/dist/{chunk-284bzr4e.js → chunk-kvbdcda5.js} +1 -1
- package/dist/{chunk-j3mfw6s1.js → chunk-pd7p6k4j.js} +1 -1
- package/dist/{chunk-x46g0r3q.js → chunk-pjf5sgr8.js} +1 -1
- package/dist/chunk-rqf0z85e.js +2 -0
- package/dist/{chunk-xdppgpwt.js → chunk-rrngg6vf.js} +1 -1
- package/dist/{chunk-z1126p95.js → chunk-trzgqqsx.js} +1 -1
- package/dist/{chunk-kwz3tfdm.js → chunk-v1x6apxf.js} +16 -0
- package/dist/{chunk-2nn2rh00.js → chunk-vhab7n2x.js} +1 -1
- package/dist/{chunk-efbkfsc9.js → chunk-vrwdzew1.js} +2 -2
- package/dist/{chunk-nkv0yh89.js → chunk-vw0vkkwf.js} +1 -1
- package/dist/{chunk-s8xq37g6.js → chunk-w5mrng59.js} +1 -1
- package/dist/{chunk-5j42pjjv.js → chunk-x59dzh2q.js} +1 -1
- package/dist/{chunk-ttyf8ba9.js → chunk-xc0sc2bv.js} +9 -9
- package/dist/{chunk-5adz7ypm.js → chunk-xf8s416a.js} +1 -1
- package/dist/{chunk-sqpakk1p.js → chunk-xhz5zhg5.js} +1 -1
- package/dist/{chunk-8f25fxph.js → chunk-yajazn0v.js} +32 -17
- package/dist/{chunk-20tw16e1.js → chunk-ybe6a8pr.js} +1 -1
- package/dist/{chunk-k1dt0dcy.js → chunk-zbxhd7yp.js} +1 -1
- package/dist/cli.js +7 -7
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/offline/app-service-worker.js +16 -1
- package/dist/pwa.js +1 -1
- package/dist/ssg.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-893ve0hh.js +0 -2
- package/dist/chunk-yrjtjn50.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as om,$a as ro,$b as Cp,$c as Cq,$d as Cr,A as _k,Aa as Cn,Ab as Wo,Ac as bq,Ad as br,Ae as hs,B as $k,Ba as Dn,Bb as Xo,Bc as cq,Bd as cr,Be as is,C as al,Ca as Qn,Cb as Yo,Cc as dq,Cd as dr,Ce as js,D as bl,Da as Rn,Db as Zo,Dc as eq,Dd as er,De as ks,E as Tl,Ea as Sn,Eb as _o,Ec as fq,Ed as fr,Ee as ls,F as Ul,Fa as Tn,Fb as $o,Fc as gq,Fd as gr,Fe as ms,G as Vl,Ga as Un,Gb as ap,Gc as hq,Gd as hr,Ge as ns,H as Wl,Ha as Vn,Hb as bp,Hc as iq,Hd as ir,He as os,I as Xl,Ia as Zn,Ib as cp,Ic as jq,Id as jr,Ie as ps,J as Yl,Ja as _n,Jb as dp,Jc as kq,Jd as kr,Je as qs,K as Zl,Ka as $n,Kb as ep,Kc as lq,Kd as lr,Ke as rs,L as _l,La as ao,Lb as fp,Lc as mq,Ld as mr,M as $l,Ma as bo,Mb as gp,Mc as nq,Md as nr,N as am,Na as co,Nb as op,Nc as oq,Nd as or,O as bm,Oa as eo,Ob as pp,Oc as pq,Od as pr,P as cm,Pa as fo,Pb as qp,Pc as qq,Pd as qr,Q as dm,Qa as go,Qb as rp,Qc as rq,Qd as rr,R as em,Ra as ho,Rb as sp,Rc as sq,Rd as sr,S as fm,Sa as io,Sb as tp,Sc as tq,Sd as tr,T as gm,Ta as jo,Tb as up,Tc as uq,Td as ur,U as hm,Ua as ko,Ub as vp,Uc as vq,Ud as vr,V as im,Va as lo,Vb as wp,Vc as wq,Vd as wr,W as jm,Wa as mo,Wb as xp,Wc as xq,Wd as xr,X as km,Xa as no,Xb as yp,Xc as yq,Xd as yr,Y as lm,Ya as oo,Yb as zp,Yc as zq,Yd as zr,Z as mm,Za as po,Zb as Ap,Zc as Aq,Zd as Ar,_ as nm,_a as qo,_b as Bp,_c as Bq,_d as Br,aa as pm,ab as so,ac as Dp,ad as Dq,ae as Dr,ba as qm,bb as to,bc as Ep,bd as Eq,be as Kr,ca as rm,cb as uo,cc as Fp,cd as Fq,ce as Lr,da as sm,db as vo,dc as Gp,dd as Gq,de as Mr,ea as tm,eb as wo,ec as Hp,ed as Hq,ee as Nr,fa as um,fb as xo,fc as Ip,fd as Iq,fe as Or,ga as vm,gb as yo,gc as Jp,gd as Jq,ge as Pr,ha as wm,hb as zo,hc as Kp,hd as Kq,he as Qr,ia as xm,ib as Ao,ic as Lp,id as Lq,ie as Rr,ja as ym,jb as Bo,jc as Mp,jd as Mq,je as Sr,ka as zm,kb as Co,kc as Np,kd as Nq,ke as Tr,la as Am,lb as Do,lc as Op,ld as Oq,le as Ur,ma as Bm,mb as Eo,mc as Pp,md as Pq,me as Vr,na as Cm,nb as Ho,nc as Qp,nd as Qq,ne as Wr,o as a,oa as Dm,ob as Io,oc as Rp,od as Rq,oe as Xr,p as Lk,pa as rn,pb as Jo,pc as Sp,pd as Sq,pe as Yr,q as Mk,qa as sn,qb as Ko,qc as Tp,qd as Tq,qe as Zr,r as Nk,ra as tn,rb as Mo,rc as Up,rd as Uq,re as _r,s as Ok,sa as un,sb as No,sc as Vp,sd as Vq,se as $r,t as Pk,ta as vn,tb as Oo,tc as Wp,td as Wq,te as as,u as Qk,ua as wn,ub as Po,uc as Xp,ud as Xq,ue as bs,v as Rk,va as xn,vb as Ro,vc as Yp,vd as Yq,ve as cs,w as Sk,wa as yn,wb as So,wc as Zp,wd as Zq,we as ds,x as Tk,xa as zn,xb as To,xc as _p,xd as _q,xe as es,y as Yk,ya as An,yb as Uo,yc as $p,yd as $q,ye as fs,z as Zk,za as Bn,zb as Vo,zc as aq,zd as ar,ze as gs}from"./chunk-ttyf8ba9.js";import{Le as hp,Me as ip,Ne as jp,Oe as kp,Pe as lp,Qe as mp,Re as np}from"./chunk-chaxw0y9.js";import{Se as Fo,Te as Go}from"./chunk-7hb89n3z.js";import{Ue as Lo}from"./chunk-wqsz351k.js";import{Ve as qn}from"./chunk-z9f25j7k.js";import{We as Wn,Xe as Xn,Ye as Yn,Ze as Qo}from"./chunk-gtg5epsx.js";import{$e as dl,_e as cl,af as el,bf as fl,cf as gl,df as hl,ef as il,ff as jl,gf as kl,hf as ll,if as ml,jf as nl,kf as ol,lf as pl,mf as ql}from"./chunk-n0d7nwhd.js";import{nf as Hl,of as Il,pf as Jl,qf as Kl,rf as Ll,sf as Ml,tf as Nl,uf as Ol,vf as Pl,wf as Ql,xf as Rl,yf as Sl}from"./chunk-dct8xw04.js";import{Af as Gl,zf as Fl}from"./chunk-wf45k2yw.js";import{Bf as rl,Cf as sl,Df as tl,Ef as ul,Ff as vl,Gf as wl,Hf as xl,Jf as yl,Kf as zl,Lf as Al,Mf as Bl,Nf as Cl,Of as Dl,Rf as El}from"./chunk-efsr5fbm.js";import{Sf as _m,Tf as $m,Uf as an,Vf as bn,Wf as cn,Xf as pn}from"./chunk-vfkw8zj6.js";import{$f as Hm,Yf as Em,Zf as Fm,_f as Gm,ag as Im,bg as Jm,cg as Km,dg as Lm,eg as Mm,fg as Nm,gg as Om,hg as Pm,ig as Qm,jg as Rm,kg as Sm,lg as Tm,mg as dn,ng as en,og as fn,pg as gn,qg as hn,rg as jn,sg as kn,tg as ln,ug as mn,vg as nn,wg as on}from"./chunk-3y27rpjm.js";import{xg as Um,yg as Vm}from"./chunk-0knxnyq6.js";import{Ag as Fn,Bg as Gn,Cg as Hn,Dg as In,Eg as Jn,Fg as Kn,Gg as Ln,Hg as Mn,Ig as Nn,Jg as On,Kg as Pn,zg as En}from"./chunk-634gaa9d.js";import{Lg as ui,Mg as vi,Ng as wi,Og as xi,Pg as yi,Qg as zi}from"./chunk-qcx39mnq.js";import{Rg as Pj,Sg as Qj,Tg as Rj,Xg as Sj,Yg as Tj,Zg as Uj}from"./chunk-nptdshhw.js";import{$g as $j,_g as _j,ah as ak,bh as bk,ch as ck,dh as dk,eh as ek,fh as fk,gh as gk,hh as hk,ih as ik}from"./chunk-k7f7391g.js";import{jh as Fj,kh as Gj,lh as Hj,mh as Ij,nh as Jj,ph as Kj,qh as Lj,rh as Mj,sh as Nj,th as Oj}from"./chunk-bcpjhcpn.js";import{uh as Ak,wh as Bk}from"./chunk-y4zddt5r.js";import{Ch as Ph,Dh as Qh,Eh as Rh,Fh as Sh,Gh as Th,Hh as Uh}from"./chunk-g7bpkpd4.js";import{Jh as Vh,Kh as Wh,Lh as Xh,Mh as Yh,Nh as Zh,Oh as _h,Ph as $h,Qh as ai,Rh as bi,Sh as ci,Th as di,Uh as ei,Vh as fi,Wh as gi}from"./chunk-k33778kc.js";import{$h as ki,Yh as hi,Zh as ii,_h as ji}from"./chunk-ys4hpkrp.js";import{ei as li}from"./chunk-g1vxsvqv.js";import{hi as oh}from"./chunk-bb5bw63y.js";import{ii as ph}from"./chunk-fqq5k9ve.js";import{ji as qh,ki as rh}from"./chunk-ya5m5vbn.js";import{li as sh,mi as th,ni as uh,oi as vh,pi as wh,qi as xh}from"./chunk-y4nzmkea.js";import{ri as yh,si as zh,ti as Ah,ui as Bh,vi as Ch}from"./chunk-7kw3grq5.js";import{Ai as Hh,wi as Dh,xi as Eh,yi as Fh,zi as Gh}from"./chunk-c79nfdyj.js";import{Bi as Ih,Ci as Jh,Di as Kh,Ei as Lh,Fi as Mh,Gi as Nh,Hi as Oh}from"./chunk-ej8mv2k6.js";import{Ii as mh,Ji as nh}from"./chunk-s80a8k71.js";import"./chunk-ra1s4s6b.js";import{Ni as Pe,Oi as Qe,Pi as Re,Qi as Se,Ri as Te,Si as Ue,Ti as Ve,Ui as We,Vi as Xe,Wi as Ye,Xi as Ze,Yi as _e,Zi as $e,_i as af}from"./chunk-jqwpvtxt.js";import{$i as sf,aj as tf,bj as uf,cj as vf,dj as wf,ej as xf,fj as yf,gj as zf,hj as Af,ij as Bf,jj as Cf,kj as Df,lj as Ef,mj as Ff,nj as Gf,oj as Hf,pj as If}from"./chunk-vhsza3n0.js";import{Aj as hf,Bj as jf,Cj as kf,Dj as lf,Ej as mf,Fj as nf,Gj as of,Hj as pf,Ij as qf,Jj as rf,wj as df,xj as ef,yj as ff,zj as gf}from"./chunk-y32dbdta.js";import{Kj as Jf,Lj as Kf,Mj as Lf,Nj as Mf,Oj as Nf,Pj as Of,Qj as Pf,Rj as Qf,Sj as Rf,Tj as Sf,Uj as Tf,Vj as Uf,Wj as Vf,Xj as Wf}from"./chunk-5adz7ypm.js";import{pk as Er,qk as Fr,rk as Gr,sk as Hr,tk as Ir,uk as Jr}from"./chunk-d8e21yc7.js";import{Ak as Xm,Bk as Ym,Ck as Zm,vk as Uk,wk as Vk,xk as Wk,yk as Xk,zk as Wm}from"./chunk-k1dt0dcy.js";import"./chunk-frp9fc7j.js";import"./chunk-vhw1ge7q.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-efbkfsc9.js";import{ul as bc}from"./chunk-qjvny3wf.js";import{$l as Qb,$m as ld,$o as xg,$q as Aj,Al as Ca,Am as Ec,An as Qd,Ap as Yg,Aq as $i,Ar as Ck,Bl as Da,Bm as Fc,Bn as Rd,Bp as Zg,Bq as aj,Br as Dk,Cl as Ea,Cm as Gc,Cn as Sd,Co as Yf,Cp as _g,Cq as bj,Cr as Ek,Dl as Fa,Dm as Hc,Dn as Td,Dp as $g,Dq as cj,Dr as Fk,El as Ga,Em as Ic,En as Ud,Ep as ah,Eq as dj,Er as Gk,Fl as Ha,Fm as Jc,Fn as Vd,Fp as bh,Fq as ej,Fr as Hk,Gl as Ia,Gm as Kc,Gn as Wd,Gp as ch,Gq as fj,Gr as Ik,Hl as Ja,Hm as Lc,Hn as Xd,Hp as dh,Hq as gj,Hr as Jk,Il as Ka,Im as Mc,In as Yd,Ip as eh,Iq as hj,Ir as Kk,Jl as La,Jm as Nc,Jn as Zd,Jp as fh,Jq as ij,Kl as Ma,Km as Oc,Kn as _d,Ko as Zf,Kp as gh,Kq as jj,Ll as Na,Lm as Pc,Ln as $d,Lp as hh,Lq as kj,Ml as Oa,Mm as Qc,Mn as ae,Mo as _f,Mp as ih,Mq as lj,Nl as ib,Nm as _c,Nn as re,Np as jh,Nq as mj,Ol as jb,Om as $c,On as se,Oo as $f,Op as kh,Oq as nj,Pl as kb,Pm as ad,Pn as te,Po as ag,Pp as lh,Pq as oj,Ql as lb,Qm as bd,Qn as ue,Qo as bg,Qp as mi,Qq as pj,Rl as mb,Rm as cd,Rn as ve,Ro as cg,Rp as ni,Rq as qj,Sl as nb,Sm as dd,Sn as we,So as dg,Sq as rj,Tm as ed,Tn as xe,To as eg,Tq as sj,Un as ye,Uo as qg,Up as oi,Uq as tj,Vl as Kb,Vm as fd,Vn as ze,Vo as rg,Vq as uj,Wl as Lb,Wm as gd,Wn as Ae,Wo as sg,Wq as vj,Xl as Mb,Xm as hd,Xn as Be,Xo as tg,Xq as wj,Yl as Nb,Ym as id,Yn as Ce,Yo as ug,Yq as xj,Zl as Ob,Zm as jd,Zn as De,Zo as vg,Zq as yj,_l as Pb,_m as kd,_n as Ee,_o as wg,_q as zj,am as Ub,an as md,ao as Ie,ap as yg,ar as Bj,bm as Vb,bn as nd,bo as Je,bp as zg,br as Cj,cm as Wb,cn as od,co as Ke,cp as Ag,cr as Dj,dm as hc,dn as pd,do as Le,dp as Bg,dq as pi,dr as Ej,em as ic,en as qd,eo as Me,ep as Cg,eq as qi,er as Vj,fm as jc,fn as vd,fo as Ne,fp as Dg,fq as ri,fr as Wj,gm as kc,gn as wd,go as Oe,gp as Eg,gq as si,gr as Xj,hm as lc,hn as xd,hp as Fg,hq as ti,hr as Yj,im as mc,in as yd,ip as Gg,iq as Ai,ir as Zj,jm as nc,jn as zd,jp as Hg,jq as Bi,jr as jk,km as oc,kn as Ad,ko as bf,kp as Ig,kq as Ci,kr as kk,lm as pc,ln as Bd,lo as cf,lp as Jg,lq as Di,lr as lk,mm as qc,mn as Cd,mp as Kg,mq as Ei,mr as mk,nm as rc,nn as Dd,no as Xf,np as Lg,nq as Fi,nr as nk,om as sc,on as Ed,op as Mg,oq as Gi,or as ok,pm as tc,pn as Fd,pp as Ng,pq as Hi,pr as pk,qm as uc,qn as Gd,qp as Og,qq as Ii,qr as qk,rm as vc,rn as Hd,rp as Pg,rq as Ji,rr as rk,sm as wc,sn as Id,sp as Qg,sq as Ki,sr as sk,tm as xc,tn as Jd,tp as Rg,tq as Li,tr as tk,um as yc,un as Kd,up as Sg,uq as Mi,ur as uk,vl as xa,vm as zc,vn as Ld,vp as Tg,vq as Ni,vr as vk,wl as ya,wm as Ac,wn as Md,wp as Ug,wq as Oi,wr as wk,xl as za,xm as Bc,xn as Nd,xp as Vg,xq as Pi,xr as xk,yl as Aa,ym as Cc,yn as Od,yp as Wg,yq as Qi,yr as yk,zl as Ba,zm as Dc,zn as Pd,zp as Xg,zq as Ri,zr as zk}from"./chunk-8f25fxph.js";import{$r as ca,Jr as M,Kr as N,Lr as O,Mr as P,Nr as Q,Or as R,Pr as S,Qr as T,Rr as U,Sr as V,Tr as W,Ur as X,Vr as Y,Wr as Z,Xr as _,Yr as $,Zr as aa,_r as ba,as as da,bs as ea,cs as fa,ds as ia,es as ja,fs as ka,gs as la,hs as ma,is as na,js as oa,ks as pa,ls as qa,ms as ra,ns as sa,os as ta,ps as ua,qs as va,rs as wa}from"./chunk-fc8471kb.js";import{ss as ga,ts as ha}from"./chunk-3wa1ybzj.js";import{us as Rb,vs as Sb,ws as Tb}from"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import{Ds as Si,Es as Ti,Fs as Ui,Gs as Vi,Hs as Wi,Is as Xi,Js as Yi,Ks as Zi,Ls as _i}from"./chunk-q9zsjgpf.js";import{bt as Rc,ct as Sc,dt as Tc,et as Uc,ft as Vc,ht as Wc,qt as Xc,rt as Yc,st as Zc}from"./chunk-hwrwpz4k.js";import{tt as Xb,ut as Yb,vt as Zb,wt as _b,xt as $b,yt as ac}from"./chunk-n98anpe9.js";import{Ft as Fe,Ht as Ge,Kt as He}from"./chunk-y70wabha.js";import"./chunk-ydvfeqa2.js";import{Pt as cc,Qt as dc}from"./chunk-hestqebq.js";import{Ut as fg,Vt as gg,Wt as hg,Xt as ig,Yt as jg,Zt as kg,_t as lg,au as mg,bu as ng,cu as og,du as pg}from"./chunk-qsq1eha8.js";import{Au as ke,Bu as le,Cu as me,Du as ne,Eu as oe,Fu as pe,Gu as qe,eu as rd,fu as sd,gu as td,hu as ud,ru as be,su as ce,tu as de,uu as ee,vu as fe,wu as ge,xu as he,yu as ie,zu as je}from"./chunk-3rf705aq.js";import{$u as y,Hu as b,Iu as c,Ju as d,Ku as e,Lu as f,Mu as g,Nu as h,Ou as i,Pu as m,Qu as n,Ru as o,Su as p,Tu as q,Uu as r,Vu as s,Wu as t,Xu as u,Yu as v,Zu as w,_u as x,av as z,bv as A,cv as B,dv as C,ev as D,fv as E,gv as F,hv as G,iv as H,jv as I,kv as J,lv as K,mv as L}from"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import{Cv as ob,Dv as pb,Ev as qb,Fv as rb,Gv as sb,Hv as tb,Iv as ub,Jv as vb,Kv as wb,Lv as xb,Mv as yb,Nv as zb,Ov as Ab,Pv as Bb,Qv as Cb,Rv as Db,Sv as Eb,Tv as Fb,Uv as Gb,Vv as Hb,Wv as Ib,Xv as Jb}from"./chunk-8hqayvjh.js";import{$v as Pa,Aw as db,Bw as eb,Cw as fb,Dw as gb,Fw as hb,aw as Qa,dw as Ra,iw as Sa,jw as Ta,pw as Ua,qw as Va,rw as Wa,sw as Xa,tw as Ya,uw as Za,vw as _a,ww as $a,xw as ab,yw as bb,zw as cb}from"./chunk-kwz3tfdm.js";import"./chunk-zn70s4gs.js";import{Rw as j,Sw as k,Tw as l}from"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{ml as writeNetlifyConfig,en as writeManifest,Rl as writeImageManifest,xp as wrapComponentForHMR,es as withDefaults,zk as webComponentDirectiveHandler,mq as watermark,or as watchViews,$l as watchMultiple,am as watchEffect,_l as watch,Me as warmImagePlaceholders,nm as waitForStore,X as waitForLocale,ip as virtualPathFor,mk as videoDirective,G as validators,is as validated,Ce as validateValueEnhanced,pi as validateTemplate,Um as validateRouteRules,rq as validateParams,De as validateFormEnhanced,dr as validateFile,ye as validateFields,xe as validateField,ri as validateDirective,Xd as validateCspDirectives,Hk as validateConfig,sn as validateComponentScripts,Qn as validateComponentProps,lh as validateClientScript,ki as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Fi as userComponentFileExists,Sh as useVirtualList,je as useTitle,mm as useStoreOrThrow,Pp as useStore,Yk as useStorage,Af as useSlots,_k as useSessionStorage,cc as useServerRuntimeConfig,Yf as useServerData,ge as useSeoMeta,dc as useRuntimeConfig,om as useRouteParams,qm as useRouteParamOrThrow,pm as useRouteParam,je as usePageTitle,rf as useOptimistic,Ff as useModel,sm as useMiddlewareValue,rm as useMiddlewareState,Zk as useLocalStorage,qp as useLoadingIndicator,ee as useHead,hi as useForm,Cf as useAttrs,fr as uploadFiles,er as uploadFile,jm as updateInstance,pf as untrack,Vi as unregisterDirective,km as unmountInstance,Qc as unescapeHtml,mp as typecheckStxFiles,Di as transpileTypeScript,Tr as translate,Ba as transitionDirective,lc as transformAutoImports,Kn as toUsers,Jn as toUser,Xp as thumbnail,Yq as thumbHashToRGBA,Zq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,Jf as templateCache,nd as syncRecordedResponse,up as stxClientHelpers,kg as structuredDataDirective,Wr as stripLocalePrefix,Rm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,vo as stringToStream,Ld as strictCspPreset,Xe as streamingSuspenseDirective,$e as streamToResponse,Ve as streamTemplateSimple,Pe as streamTemplate,Tk as stopHmrServer,Gn as stopBroadcasting,_b as stateDirName,$b as stateDir,df as state,fh as startsDocument,Qo as startProductionServer,Lo as startInteractive,Fn as startBroadcasting,Yr as stampLocaleLayoutGroup,Ia as staggerDirective,pq as srcsetUrls,Ja as springDirective,ud as splitByPipe,Nm as spaNavVaryHeaders,jp as sourcePathFor,wq as smartBatchSign,Hi as slotContentHasExpressions,uq as signUrl,Bi as shouldTranspileTypeScript,Qk as shouldReloadOnChange,zq as shouldRefreshSignature,Rk as shouldIgnoreFile,Kh as shouldCacheComponent,$p as sharpen,ls as shape,Zb as setStateDir,wm as setRouteParams,xm as setMiddlewareState,Le as setImagePlaceholder,uf as setGlobalProvide,b as setErrorLocale,Tl as setCurrentInstance,ak as setCachedVideoResult,Rj as setCachedImageResult,Lj as setCached,os as serveStxFile,qs as serveMultipleStxFiles,Lk as serveMarkdownFile,$o as serveFile,rs as serveApp,_o as serve,Ap as serializeState,gn as serializeSetCookie,bq as sepia,he as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Ei as scopeOnRootElement,qk as scopeHTML,pk as scopeCSS,ng as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,fq as saturation,sq 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,yg as runPreProcessingMiddleware,zg as runPostProcessingMiddleware,kn as runPageAction,kf as runMountCallbacks,gb as runMiddleware,hm as runHooks,Mr as runDoctor,lf as runDestroyCallbacks,Cg as runComposers,gq as rotate,li as rewriteImagesWithSiblings,od as responseBindings,Li as resolveTemplatePath,ha as resolveStxTargets,Dk as resolveStxDirectories,Sr as resolveI18n,Vp as resize,qg as resetUnscopedSignalWarnings,Oc as resetRejectedExpressionWarnings,sc as resetPlaceholders,de as resetHead,zp as resetHMRHandler,o as resetErrorConfig,gs as required,cg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,mr as renderView,jk as renderVideoComponent,ic as renderVendorStyleTags,vr as renderToString,wr as renderToStream,xr as renderToDOM,Xq as renderThumbhashToCanvas,Jr as renderTemplateString,Hr as renderTemplate,Ir as renderString,Se as renderStreamingPage,wi as renderSlot,Ah as renderSSRSuspense,Hq as renderProtectedVideo,Gq as renderProtectedImg,tq as renderMediaUpload,Gr as renderMarkdownView,Ym as renderLayoutTypes,Vj as renderImgComponent,Hl as renderImageComponent,le as renderHtmlAttrs,ke as renderHead,pr as renderEmail,Ji as renderComponentWithSlot,me as renderBodyAttrs,Kp as render,Nd as relaxedCspPreset,we as registerValidationRule,Ze as registerStreamingDirectives,Rp as registerStoresClient,um as registerStore,Rf as registerServeModuleBundle,lg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Be as registerEnhancedValidationRule,Si as registerDirective,Wd as registerCspDirectives,Tn as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Xl as ref,Do as redirect,jd as recordResponseStatus,kd as recordResponseHeader,ac as rebaseOntoStateDir,ld as readResponseStatus,md as readResponseHeaders,Jk as readMarkdownFile,Kf as readFileCached,Yl as reactive,kq as quality,Eq as pruneSignatureCache,Oj as pruneCache,sf as provide,Fr as protectCodeBlocks,fs as prop,Fg as processVueTemplate,Qh as processVirtualListDirectives,Uh as processVirtualGridDirectives,ik as processVideo,ze as processValidateDirective,ea as processTranslateDirective,uh as processTransitionDirectives,xh as processTransitionAttributes,pe as processTitleDirective,bd as processTemplateBindings,qh as processTeleportDirectives,yh as processSuspenseDirectives,gg as processStructuredData,Te as processStreamDirectives,pd as processStatusDirective,fi as processStaticDirectives,wg as processStackReplacements,vg as processStackPushDirectives,xi as processSlots,Pm as processShell,Oe as processServerBindings,hg as processSeoDirective,_e as processSectionDirectives,Vc as processScopedStyles,$c as processReactiveBindings,Iq as processProtectedMedia,_h as processPartialHydrationDirectives,kh as processOnceDirective,xg as processMiddleware,fg as processMetaDirectives,qe as processMetaDirective,Kk as processMarkdownFileDirectives,Qi as processMarkdownDirectives,dg as processLoops,Ih as processKeepAliveDirectives,jh as processJsonDirective,Th as processInfiniteListDirectives,ug as processIncludes,Xj as processImgComponents,Jl as processImageComponents,wl as processImage,oe as processHeadDirective,se as processForms,ue as processFormInputDirectives,Mc as processExpressions,Pb as processEventDirectives,ve as processErrorDirective,Gg as processDynamicComponents,mi as processDirectives,_i as processDirectiveAttributes,ph as processDeferDirectives,$d as processCustomDirectives,Td as processCspDirectives,ms as processComponentProps,rc as processClientScript,te as processBasicFormDirectives,Dh as processAsyncDirectives,ae as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,He as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,pp as preloadIslandHandlers,Ne as preloadIconCollection,Bn as poolStrings,Bk as pluginManager,Je as placeholdersWarmed,th as performLeave,sh as performEnter,mf as pendingLifecycleCounts,qf as peek,rg as partialsCache,kk as parseVideoDirectiveOptions,Tp as parseUrl,_q as parseThumbhashString,Ad as parseSwitchBlock,ui as parseSlots,vi as parseSlotElement,Fd as parseScriptDeclarations,xk as parseSFCComponent,Jq as parseProtectedArgs,bg as parseLoopBinding,Wj as parseImgComponent,mj as parseImageUrl,Il as parseImageComponent,hn as parseFormBody,Cd as parseExpressionWithFilters,Un as parseDefaults,Ao as parseCookies,Gm as parseContainerSelector,xd as parseConditionalBlock,Dd as parseArguments,Ma as parseAnimationShorthand,hs as optional,Cn as optimizeTemplate,Ol as optimizeImage,Pl as optimizeDirectory,js as oneOf,sg as onceStore,em as onUpdated,_c as onUpdate,gm as onUnmounted,Bm as onServer,cm as onMounted,hf as onMount,ei as onHydrated,yf as onErrorCaptured,jf as onDestroy,Oh as onDeactivated,Am as onClient,dm as onBeforeUpdate,fm as onBeforeUnmount,bm as onBeforeMount,Nh as onActivated,Tq as observeElement,Eo as notFound,Lg as normalizeCriticalHeadOrder,xf as nextTick,Xn as negotiateEncoding,Ua as navigateTo,im as mountInstance,Ea as motionDirective,Md as moderateCspPreset,An as minifyHtml,jg as metaDirective,Zg as metaDedupKey,Up as mergeParams,$g as mergeHtmlAttrs,fe as mergeHeadConfigs,Sc as mergeCssConfig,Qd as mergeCspDirectives,Ra as matchRoute,Ri as markdownDirectiveHandler,Ik as markdownCache,ga as looksLikeGlob,Vr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Ek as loadStxConfig,db as loadMiddlewareFromDirectory,fn as loadManifest,Pq as loadElement,Hn as loadChannels,Lb as listensPassively,as as lintStxStrict,Rq as lazyLoadAll,Qq as lazyLoad,Ha as keyframeDirective,tr as jsxs,ur as jsxDEV,sr as jsx,Co as jsonResponse,Ye as islandDirective,l as isTest,Sm as isSpaNavigation,Lm as isSpaNavRequest,xq as isSignatureValid,nf as isSignal,ul as isSharpAvailable,oo as isServerEnvironment,ym as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Mq as isNativeLazySupported,Er as isMarkdownPath,Q as isLoading,R as isLoaded,Ai as isJavaScriptScript,Nq as isIntersectionObserverSupported,Cl as isImageFile,vl as isImageBackendAvailable,aa as isICUFormat,di as isHydrated,Gi as isHydrateTrigger,hd as isHttpStatus,no as isEdgeEnvironment,bs as isDirectiveKind,k as isDevelopment,of as isDerived,Pk as isCssOnlyChange,Wn as isCompressible,zm as isClient,Fh as isAsyncComponent,jn as isActionableMethod,cq as invert,Mf as invalidateFileCacheByDir,Lf as invalidateFileCache,Lc as interpolateScriptsInTemplate,Jc as interpolateScriptExpressions,Kc as interpolateScriptAttributes,x as inlineError,Rr as injectThemeBootstrap,ig as injectSeoTags,Or as injectSeo,Xf as injectRouterScript,Ok as injectHotReload,kb as injectHeatmap,Zc as injectCss,Rd as injectCspMetaTag,hh as injectConfigHeadTags,Kg as injectColorModeBootScript,bh as injectCloakStyle,Rg as injectBuildId,kc as injectBrowserCoreAutoImports,dd as injectAnalytics,tf as inject,tm as initStoreRegistry,pl as initNetlify,rp as initLoadingIndicator,Oq as initLazyLoading,Ko as initFile,Wq as initBlurUp,ar as initAllBlurUp,Zj as imgDirective,Ml as imageDirective,nn as hydrateTemplateStream,mn as hydrateTemplate,op as hydrateIslands,ai as hydrateIsland,on as hydrateFragment,bi as hydrateByStrategy,ci as hydrateAll,Hp as hydrate,Zo as htmlResponse,dh as hoistLeadingHeadTags,Mg as hoistColorModeBootScript,lb as heatmapDirective,Hj as hashString,Wf as hashFilePath,Fj as hashFile,Gj as hashBuffer,Eg as hasVueTemplateSyntax,ag as hasVariables,Mp as hasStore,xc as hasPlaceholders,nl as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,gh as hasDocumentShell,si as hasDirectives,ma as hasDOMSupport,Fl as handleImageRequest,zf as handleError,Br as h,Bl as groupVariantsByFormat,aq as grayscale,So as gitHash,un as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,il as getTotalSize,yq as getTimeUntilExpiry,mh as getStoreScript,Np as getStoreNames,Lp as getStore,bl as getStorageSize,al as getStorageKeys,Mi as getSourceLineInfo,Ci as getSharedTranspiler,Sf as getServeModuleBundle,Qf as getServeClientAsset,la as getScreenReaderOnlyStyle,rk as getScopeAttribute,cf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,qi as getPositionInfo,uc as getPlaceholderRegistry,Ej as getPlaceholderCacheStats,ce as getPageMeta,Hd as getNonce,Dl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,Ie as getImagePlaceholder,xl as getImageMetadata,Fe as getImageDelivery,Gp as getHydrationRuntime,vm as getHydratedStoreState,Sk as getHmrServer,be as getHead,yp as getHMRHandler,qj as getFormatExtension,Jj as getFileMtime,Al as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Ui as getDirectives,Ti as getDirective,Ul as getCurrentInstance,Wc as getCssServeAsset,Pd as getCspPreset,Yd as getCspHeaderName,Pi as getComponentCacheStats,$j as getCachedVideoResult,Cq as getCachedSignature,Of as getCachedSignalsRuntime,Pf as getCachedRouterScript,Cj as getCachedPlaceholder,Qj as getCachedImageResult,Kj as getCached,Nj as getCacheStats,Pg as getBuildId,En as getBroadcastServer,pj as getBestVariant,Bc as getAllFilters,dj as generateWidthSrcset,Rh as generateVirtualListCSS,hr as generateVideoPreview,Ee as generateValidationScript,ir as generateUploadRuntime,vn as generateTreeShakenBundle,wh as generateTransitionRuntime,vh as generateTransitionCSS,dk as generateThumbnails,vj as generateThumbhashPlaceholder,fo as generateTemplatesDocs,Ch as generateSuspenseRuntime,Bh as generateSuspenseCSS,Bp as generateStateScript,nj as generateSrcsetData,Uj as generateSrcset,yl as generateSrcSet,ek as generateSpriteSheet,qr as generateSpaShell,oj as generateSourceTags,jj as generateSizesFromBreakpoints,ij as generateSizesAttribute,zl as generateSizes,mg as generateSitemapIndex,Pr as generateSitemap,Lq as generateSimpleMediaPicker,Fq as generateSignatureRuntime,If as generateSignalsRuntimeDev,Hf as generateSignalsRuntime,qc as generateServerDataBridge,ok as generateScopeId,yk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,og as generateRobotsTxt,Qr as generateRobots,Tj as generateResponsiveVariants,uk as generateReactiveWebComponentTS,tk as generateReactiveWebComponent,wk as generateReactiveRuntime,vk as generateReactiveMixin,ck as generatePoster,Bj as generatePlaceholderStyle,Aj as generatePlaceholderCSS,uj as generatePlaceholder,$h as generatePartialHydrationCSS,Vg as generateOfflineWorker,Gd as generateNonce,jl as generateNetlifyToml,kr as generateMinifiedMediaRuntime,jr as generateMediaRuntime,Kq as generateMediaManagerEmbed,dn as generateManifest,tp as generateLoadingIndicatorHtml,Vq as generateLazyLoadRuntime,Zm as generateLayoutTypes,xj as generateLQIP,Mh as generateKeepAliveRuntime,Lh as generateKeepAliveCSS,gi as generateIslandManifest,gr as generateImagePreview,Ql as generateImageManifest,Fp as generateHydrationScript,af as generateHydrationRuntime,Ip as generateHydrationCSS,Vh as generateHydrationBootstrap,Nk as generateHotReloadScript,jb as generateHeatmapScript,wp as generateHMRClientScript,fk as generateHLSManifest,Cp as generateEventBindings,hj as generateDprSrcsetWithVariableQuality,gj as generateDprSrcset,eh as generateDocumentShell,ko as generateDocs,go as generateDirectivesDocs,Zi as generateDirectiveRuntime,pg as generateDefaultRobotsTxt,gk as generateDASHManifest,Yc as generateCss,Kd as generateCspMetaTag,Jd as generateCspHeader,Ef as generateCompositionRuntime,eo as generateComponentsDocs,Wh as generateComponentManifest,bo as generateComponentDoc,zj as generateColorPlaceholder,Jg as generateColorModeBootScript,lm as generateClientRuntime,Ij as generateCacheKey,oc as generateBrowserAutoImportDestructuring,br as generateBlurUpRuntime,cr as generateBlurUpCSS,ad as generateBindingsRuntime,ej as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Hh as generateAsyncComponentRuntime,Gh as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,cd as generateAnalyticsScript,np as formatTypecheckDiagnostics,gp as formatTypeErrors,Ho as formatStxContent,hl as formatSize,Ta as formatRoutes,Io as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Nr as formatDoctorReport,ho as formatDocsAsMarkdown,jo as formatDocsAsJson,io as formatDocsAsHtml,jq as format,zn as foldConstants,iq as flipVertical,hq as flipHorizontal,_m as fingerprint,lp as findStxModuleDeclarations,kp as findRuntimeTypeDeclarations,Lr as findPantryPackage,Dc as findMustacheEnd,wd as findMatchingEndTag,sd as findMatchingDelimiter,Rb as findInterpolationEnd,yd as findIfBlocks,Bd as findExpressions,Sa as findErrorPage,Tc as findDuplicateScopedStyleRanges,zd as findDirectiveBlocks,wn as findDeadCode,wn as findDeadBranches,Hm as findContainerRegion,co as findComponentFiles,ps as findCommonDir,gl as filterRequiredFiles,Ki as fileExists,Zf as extractVariables,oi as extractTemplateExpressions,Ue as extractStreamBoundaries,Dp as extractState,yi as extractSlotContent,$f as extractScriptFromTemplate,ni as extractScriptBlocks,vc as extractPlaceholders,vd as extractParenthesizedExpression,id as extractPageResponseStatus,hb as extractLayoutMetadata,yj as extractDominantColor,Ed as extractDirectiveParams,ti as extractDirectiveNames,Tm as extractContainerContent,$n as extractComponentProps,Xh as extractComponentName,ao as extractComponentDescription,Xc as extractClassNames,pc as extractBridgeData,Yh as extractBoundProps,td as extractBalancedExpression,hc as extractAndStripCssImports,sk as extractAndScopeStyles,Ob as extractAndProcessEvents,Wk as externalizeSharedAssets,Xk as externalizeRepeatedAssets,Vk as externalizeHtml,Pc as evaluateExpression,yn as evaluateConstant,qd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,rh as ensureTeleportTargets,ih as ensureDocumentShell,Ae as enhancedValidationRules,Zn as enableDevTools,xn as eliminateDeadCode,ff as effect,qq as dprUrls,lo as docsCommand,ec as discoverServerApi,Xm as discoverLayoutNames,Uq as disconnectObserver,_n as disableDevTools,F as devHelpers,Om as detectShell,mo as detectRuntime,kl as detectProjectConfig,rj as detectFormat,rn as detectBuildMode,ef as derived,ol as deploy,Gk as defineStxConfig,Qp as defineStore,Bf as defineSlots,$r as defineSiteConfig,ds as definePropsWithValidation,cs as defineProps,Ak as definePlugin,ie as definePageMeta,Wa as defineMiddleware,ii as defineForm,wf as defineExpose,vf as defineEmits,Wi as defineDirective,Dr as defineCustomElement,Po as defineConfig,Xi as defineClientDirective,Eh as defineAsyncComponent,Ro as defineApiHandler,lr as defaultMediaConfig,Sl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,re as defaultFormClasses,yc as defaultFilters,_d as defaultCspConfig,Ck as defaultConfig,ns as default,Rc as deepMergeThemes,Uc as dedupeScopedStyles,Km as decodeTitleEntities,wj as decodeThumbhash,eg as declareBareLoopHead,Vd as cspNonceDirective,Ud as cspDirective,$q as crossfadeTransition,Wp as crop,Ph as createVirtualList,lk as createVideoDirective,yo as createVercelHandler,dp as createTypeChecker,fa as createTranslateFilter,uo as createTextEncoderStream,Cr as createStxApp,to as createStreamingResponse,We as createStreamRenderer,Op as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Wl as createScope,zh as createSSRSuspense,bf as createRouter,Vm as createRouteRuleResolver,eb as createRouteLocation,bp as createRoute,Xl as createRef,Yl as createReactive,Df as createProvideContext,Uo as createProject,Oo as createProductionBuild,tc as createPlaceholder,Dn as createOptimizedBuild,zo as createNetlifyHandler,cl as createNetlifyClient,fb as createMiddlewareContext,ap as createMiddleware,Sq as createLazyObserver,Jh as createKeepAliveCache,qo as createKVNamespace,Zh as createIslandRegistry,Yj as createImgDirective,Nl as createImagePlugin,Gl as createImageHandler,Ll as createImageDirective,nb as createHeatmapAggregator,fl as createFileManifest,po as createEnvAccessor,z as createEnhancedError,so as createEdgeHandler,ro as createEdgeCache,Ni as createDetailedErrorMessage,xo as createDenoHandler,ll as createDefaultNetlifyConfig,Zd as createCspHeaders,Bo as createCookie,Zl as createComputed,Vl as createComponentInstance,wo as createCloudflareHandler,Ya as createClientCookieManager,Yi as createBuiltinDirectives,Cr as createApp,Ka as createAnimationTimeline,Zp as cover,_f as convertToCommonJS,eq as contrast,Yp as contain,y as consoleError,m as configureErrorHandling,Fk as config,Zl as computed,Yn as compressResponse,Bg as composerPattern,Ag as composer,Qm as composeShellWithPage,Sn as componentDirective,Ii as componentClientSignalNames,cn as compileTemplate,a as collectRepeatedFlag,el as collectDeployFiles,ch as cloakStyleFragment,Ic as clientLoopScopes,bk as clearVideoCache,N as clearTranslationCache,nh as clearStoreCache,$k as clearStorage,Dq as clearSignatureCache,Gf as clearServerData,Dj as clearPlaceholderCache,tg as clearOnceStore,Id as clearNonce,bb as clearMiddleware,Ke as clearImagePlaceholders,Ge as clearImageDeliveryCatalog,Kl as clearImageCache,e as clearErrorMessages,Tf as clearDevCaches,Cc as clearCustomFilters,Dg as clearComposers,oh as clearComposableCache,Oi as clearComponentCache,Mj as clearCache,Ib as clearBlankCache,sp as cleanupLoadingIndicator,Em as classifyScript,Fm as classifyAllScripts,ep as checkTemplateFile,fp as checkTemplate,Uf as checkCache,Aq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Nn as channel,Go as captureScreenshots,Fo as captureScreenshot,Z as cancelPendingLoads,dl as calculateSha1,fj as calculateOptimalWidths,Vf as cacheTemplate,bc as cacheEngineFingerprint,nk as buildWebComponents,hp as buildVirtualSource,nr as buildViews,Sp as buildUrl,Qe as buildSuspenseResolveScript,_r as buildStaticSite,qb as buildRuntimeGlobalsDestructure,$m as buildRuntimeAsset,an as buildRouterAsset,Zr as buildLangPickerScript,lj as buildImageUrl,Sg as buildIdFragment,_g as buildHtmlAttrs,pn as buildForProduction,Vn as buildComponentLibrary,Bq as buildAuthParams,qn as buildApp,Xr as buildAlternateLinks,No as build,Ln as broadcastPrivate,Mn as broadcastPresence,In as broadcast,dq as brightness,Tb as bracketDepths,_p as blur,Jb as blankInertHtmlRegions,vq as batchSignUrls,gf as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,lq as auto,ja as attributeValue,bn as assetTags,Mb as asInvocableStatement,ks as arrayOf,Ur as applyTranslations,Sj as applyTransformations,zi as applySlots,Rn as applyPropDefaults,oq as applyPreset,ah as applyHtmlAttrs,ne as applyHead,Nc as applyFilters,Mm as appendVary,Od as apiCspPreset,Da as animationGroupDirective,hk as analyzeVideo,tn as analyzeUsage,Cm as analyzeTemplate,Dm as analyzeProject,tn as analyzeDirectiveUsage,ed as analyticsDirective,Xo as addStore,Wo as addPage,Sd as addNonceToInlineContent,Yo as addLayout,Vo as addComponent,ln as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Nf as __setSignalsGeneratorsForTest,Qg as __setBuildIdForTest,_j as VideoProcessorCache,ji as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,rd as Tokenizer,cp as TemplateTypeChecker,Jo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,yr as Show,Re as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Im 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,fd as RESPONSE_STATUS_KEY,gd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Mo as ProductionBuild,Ar as Portal,To as PROJECT_TEMPLATES,nq as PRESETS,Tg as OFFLINE_WORKER_PATH,Ug as OFFLINE_REGISTER_SCRIPT,sb as NON_CLIENT_PRIMITIVES,Jp as MemorySessionStore,cj as MIME_TYPES,$i as MEDIA_DEFAULT_WIDTHS,bj as MEDIA_DEFAULT_FORMATS,Wm as LAYOUT_TYPES_FILE,Pj as ImageProcessorCache,El as ImageProcessingError,Ep as HydrationRuntime,Mk as HotReloadServer,mb as HeatmapAggregator,Yg as HTML_CLASS_MARKER,Xg as HTML_ATTRS_MARKER,rr as Fragment,zr as For,Jm as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Uk as EXTERNALIZED_ASSET_DIR,ql as DeployError,rl as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,tl as DEFAULT_QUALITY,sj as DEFAULT_PLACEHOLDER_OPTIONS,sl as DEFAULT_FORMATS,aj as DEFAULT_DPR_VALUES,vp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,kj as COMMON_SIZES,Hg as COLOR_MODE_BOOT_MARKER,Ig as COLOR_MODE_BOOT_GLOBAL,Wg as CLOAK_STYLE,Pn as BroadcastServer,On as Broadcast,Ng as BUILD_ID_META,Og as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,tj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Kr as $path};
|
|
2
|
+
import{$ as om,$a as ro,$b as Cp,$c as Cq,$d as Cr,A as _k,Aa as Cn,Ab as Wo,Ac as bq,Ad as br,Ae as hs,B as $k,Ba as Dn,Bb as Xo,Bc as cq,Bd as cr,Be as is,C as al,Ca as Qn,Cb as Yo,Cc as dq,Cd as dr,Ce as js,D as bl,Da as Rn,Db as Zo,Dc as eq,Dd as er,De as ks,E as Tl,Ea as Sn,Eb as _o,Ec as fq,Ed as fr,Ee as ls,F as Ul,Fa as Tn,Fb as $o,Fc as gq,Fd as gr,Fe as ms,G as Vl,Ga as Un,Gb as ap,Gc as hq,Gd as hr,Ge as ns,H as Wl,Ha as Vn,Hb as bp,Hc as iq,Hd as ir,He as os,I as Xl,Ia as Zn,Ib as cp,Ic as jq,Id as jr,Ie as ps,J as Yl,Ja as _n,Jb as dp,Jc as kq,Jd as kr,Je as qs,K as Zl,Ka as $n,Kb as ep,Kc as lq,Kd as lr,Ke as rs,L as _l,La as ao,Lb as fp,Lc as mq,Ld as mr,M as $l,Ma as bo,Mb as gp,Mc as nq,Md as nr,N as am,Na as co,Nb as op,Nc as oq,Nd as or,O as bm,Oa as eo,Ob as pp,Oc as pq,Od as pr,P as cm,Pa as fo,Pb as qp,Pc as qq,Pd as qr,Q as dm,Qa as go,Qb as rp,Qc as rq,Qd as rr,R as em,Ra as ho,Rb as sp,Rc as sq,Rd as sr,S as fm,Sa as io,Sb as tp,Sc as tq,Sd as tr,T as gm,Ta as jo,Tb as up,Tc as uq,Td as ur,U as hm,Ua as ko,Ub as vp,Uc as vq,Ud as vr,V as im,Va as lo,Vb as wp,Vc as wq,Vd as wr,W as jm,Wa as mo,Wb as xp,Wc as xq,Wd as xr,X as km,Xa as no,Xb as yp,Xc as yq,Xd as yr,Y as lm,Ya as oo,Yb as zp,Yc as zq,Yd as zr,Z as mm,Za as po,Zb as Ap,Zc as Aq,Zd as Ar,_ as nm,_a as qo,_b as Bp,_c as Bq,_d as Br,aa as pm,ab as so,ac as Dp,ad as Dq,ae as Dr,ba as qm,bb as to,bc as Ep,bd as Eq,be as Kr,ca as rm,cb as uo,cc as Fp,cd as Fq,ce as Lr,da as sm,db as vo,dc as Gp,dd as Gq,de as Mr,ea as tm,eb as wo,ec as Hp,ed as Hq,ee as Nr,fa as um,fb as xo,fc as Ip,fd as Iq,fe as Or,ga as vm,gb as yo,gc as Jp,gd as Jq,ge as Pr,ha as wm,hb as zo,hc as Kp,hd as Kq,he as Qr,ia as xm,ib as Ao,ic as Lp,id as Lq,ie as Rr,ja as ym,jb as Bo,jc as Mp,jd as Mq,je as Sr,ka as zm,kb as Co,kc as Np,kd as Nq,ke as Tr,la as Am,lb as Do,lc as Op,ld as Oq,le as Ur,ma as Bm,mb as Eo,mc as Pp,md as Pq,me as Vr,na as Cm,nb as Ho,nc as Qp,nd as Qq,ne as Wr,o as a,oa as Dm,ob as Io,oc as Rp,od as Rq,oe as Xr,p as Lk,pa as rn,pb as Jo,pc as Sp,pd as Sq,pe as Yr,q as Mk,qa as sn,qb as Ko,qc as Tp,qd as Tq,qe as Zr,r as Nk,ra as tn,rb as Mo,rc as Up,rd as Uq,re as _r,s as Ok,sa as un,sb as No,sc as Vp,sd as Vq,se as $r,t as Pk,ta as vn,tb as Oo,tc as Wp,td as Wq,te as as,u as Qk,ua as wn,ub as Po,uc as Xp,ud as Xq,ue as bs,v as Rk,va as xn,vb as Ro,vc as Yp,vd as Yq,ve as cs,w as Sk,wa as yn,wb as So,wc as Zp,wd as Zq,we as ds,x as Tk,xa as zn,xb as To,xc as _p,xd as _q,xe as es,y as Yk,ya as An,yb as Uo,yc as $p,yd as $q,ye as fs,z as Zk,za as Bn,zb as Vo,zc as aq,zd as ar,ze as gs}from"./chunk-xc0sc2bv.js";import{Le as hp,Me as ip,Ne as jp,Oe as kp,Pe as lp,Qe as mp,Re as np}from"./chunk-g8jp7wyn.js";import{Se as Fo,Te as Go}from"./chunk-7hb89n3z.js";import{Ue as Lo}from"./chunk-bmzycf2s.js";import{Ve as qn}from"./chunk-k30cnmqg.js";import{We as Wn,Xe as Xn,Ye as Yn,Ze as Qo}from"./chunk-fnq5ddev.js";import{$e as dl,_e as cl,af as el,bf as fl,cf as gl,df as hl,ef as il,ff as jl,gf as kl,hf as ll,if as ml,jf as nl,kf as ol,lf as pl,mf as ql}from"./chunk-n0d7nwhd.js";import{nf as Hl,of as Il,pf as Jl,qf as Kl,rf as Ll,sf as Ml,tf as Nl,uf as Ol,vf as Pl,wf as Ql,xf as Rl,yf as Sl}from"./chunk-dct8xw04.js";import{Af as Gl,zf as Fl}from"./chunk-wf45k2yw.js";import{Bf as rl,Cf as sl,Df as tl,Ef as ul,Ff as vl,Gf as wl,Hf as xl,Jf as yl,Kf as zl,Lf as Al,Mf as Bl,Nf as Cl,Of as Dl,Rf as El}from"./chunk-efsr5fbm.js";import{Sf as _m,Tf as $m,Uf as an,Vf as bn,Wf as cn,Xf as pn}from"./chunk-gyksjr2k.js";import{$f as Hm,Yf as Em,Zf as Fm,_f as Gm,ag as Im,bg as Jm,cg as Km,dg as Lm,eg as Mm,fg as Nm,gg as Om,hg as Pm,ig as Qm,jg as Rm,kg as Sm,lg as Tm,mg as dn,ng as en,og as fn,pg as gn,qg as hn,rg as jn,sg as kn,tg as ln,ug as mn,vg as nn,wg as on}from"./chunk-fj38s763.js";import{xg as Um,yg as Vm}from"./chunk-0knxnyq6.js";import{Ag as Fn,Bg as Gn,Cg as Hn,Dg as In,Eg as Jn,Fg as Kn,Gg as Ln,Hg as Mn,Ig as Nn,Jg as On,Kg as Pn,zg as En}from"./chunk-634gaa9d.js";import{Lg as ui,Mg as vi,Ng as wi,Og as xi,Pg as yi,Qg as zi}from"./chunk-7myx6gsh.js";import{Rg as Pj,Sg as Qj,Tg as Rj,Xg as Sj,Yg as Tj,Zg as Uj}from"./chunk-nptdshhw.js";import{$g as $j,_g as _j,ah as ak,bh as bk,ch as ck,dh as dk,eh as ek,fh as fk,gh as gk,hh as hk,ih as ik}from"./chunk-k7f7391g.js";import{jh as Fj,kh as Gj,lh as Hj,mh as Ij,nh as Jj,ph as Kj,qh as Lj,rh as Mj,sh as Nj,th as Oj}from"./chunk-bcpjhcpn.js";import{uh as Ak,wh as Bk}from"./chunk-y4zddt5r.js";import{Ch as Ph,Dh as Qh,Eh as Rh,Fh as Sh,Gh as Th,Hh as Uh}from"./chunk-g7bpkpd4.js";import{Jh as Vh,Kh as Wh,Lh as Xh,Mh as Yh,Nh as Zh,Oh as _h,Ph as $h,Qh as ai,Rh as bi,Sh as ci,Th as di,Uh as ei,Vh as fi,Wh as gi}from"./chunk-k33778kc.js";import{$h as ki,Yh as hi,Zh as ii,_h as ji}from"./chunk-ys4hpkrp.js";import{ei as li}from"./chunk-g1vxsvqv.js";import{hi as oh}from"./chunk-5jh75095.js";import{ii as ph}from"./chunk-fqq5k9ve.js";import{ji as qh,ki as rh}from"./chunk-ya5m5vbn.js";import{li as sh,mi as th,ni as uh,oi as vh,pi as wh,qi as xh}from"./chunk-y4nzmkea.js";import{ri as yh,si as zh,ti as Ah,ui as Bh,vi as Ch}from"./chunk-7kw3grq5.js";import{Ai as Hh,wi as Dh,xi as Eh,yi as Fh,zi as Gh}from"./chunk-c79nfdyj.js";import{Bi as Ih,Ci as Jh,Di as Kh,Ei as Lh,Fi as Mh,Gi as Nh,Hi as Oh}from"./chunk-ej8mv2k6.js";import{Ii as mh,Ji as nh}from"./chunk-3v5gtrhd.js";import"./chunk-ra1s4s6b.js";import{Ni as Pe,Oi as Qe,Pi as Re,Qi as Se,Ri as Te,Si as Ue,Ti as Ve,Ui as We,Vi as Xe,Wi as Ye,Xi as Ze,Yi as _e,Zi as $e,_i as af}from"./chunk-2q9bwe7v.js";import{$i as sf,aj as tf,bj as uf,cj as vf,dj as wf,ej as xf,fj as yf,gj as zf,hj as Af,ij as Bf,jj as Cf,kj as Df,lj as Ef,mj as Ff,nj as Gf,oj as Hf,pj as If}from"./chunk-vhsza3n0.js";import{Aj as hf,Bj as jf,Cj as kf,Dj as lf,Ej as mf,Fj as nf,Gj as of,Hj as pf,Ij as qf,Jj as rf,wj as df,xj as ef,yj as ff,zj as gf}from"./chunk-y32dbdta.js";import{Kj as Jf,Lj as Kf,Mj as Lf,Nj as Mf,Oj as Nf,Pj as Of,Qj as Pf,Rj as Qf,Sj as Rf,Tj as Sf,Uj as Tf,Vj as Uf,Wj as Vf,Xj as Wf}from"./chunk-xf8s416a.js";import{pk as Er,qk as Fr,rk as Gr,sk as Hr,tk as Ir,uk as Jr}from"./chunk-hm2fb439.js";import{Ak as Xm,Bk as Ym,Ck as Zm,vk as Uk,wk as Vk,xk as Wk,yk as Xk,zk as Wm}from"./chunk-zbxhd7yp.js";import"./chunk-frp9fc7j.js";import"./chunk-hcx4qbq2.js";import{nl as ec,ol as fc,sl as gc}from"./chunk-vrwdzew1.js";import{ul as bc}from"./chunk-qjvny3wf.js";import{$l as Qb,$m as ld,$o as xg,$q as Aj,Al as Ca,Am as Ec,An as Qd,Ap as Yg,Aq as $i,Ar as Ck,Bl as Da,Bm as Fc,Bn as Rd,Bp as Zg,Bq as aj,Br as Dk,Cl as Ea,Cm as Gc,Cn as Sd,Co as Yf,Cp as _g,Cq as bj,Cr as Ek,Dl as Fa,Dm as Hc,Dn as Td,Dp as $g,Dq as cj,Dr as Fk,El as Ga,Em as Ic,En as Ud,Ep as ah,Eq as dj,Er as Gk,Fl as Ha,Fm as Jc,Fn as Vd,Fp as bh,Fq as ej,Fr as Hk,Gl as Ia,Gm as Kc,Gn as Wd,Gp as ch,Gq as fj,Gr as Ik,Hl as Ja,Hm as Lc,Hn as Xd,Hp as dh,Hq as gj,Hr as Jk,Il as Ka,Im as Mc,In as Yd,Ip as eh,Iq as hj,Ir as Kk,Jl as La,Jm as Nc,Jn as Zd,Jp as fh,Jq as ij,Kl as Ma,Km as Oc,Kn as _d,Ko as Zf,Kp as gh,Kq as jj,Ll as Na,Lm as Pc,Ln as $d,Lp as hh,Lq as kj,Ml as Oa,Mm as Qc,Mn as ae,Mo as _f,Mp as ih,Mq as lj,Nl as ib,Nm as _c,Nn as re,Np as jh,Nq as mj,Ol as jb,Om as $c,On as se,Oo as $f,Op as kh,Oq as nj,Pl as kb,Pm as ad,Pn as te,Po as ag,Pp as lh,Pq as oj,Ql as lb,Qm as bd,Qn as ue,Qo as bg,Qp as mi,Qq as pj,Rl as mb,Rm as cd,Rn as ve,Ro as cg,Rp as ni,Rq as qj,Sl as nb,Sm as dd,Sn as we,So as dg,Sq as rj,Tm as ed,Tn as xe,To as eg,Tq as sj,Un as ye,Uo as qg,Up as oi,Uq as tj,Vl as Kb,Vm as fd,Vn as ze,Vo as rg,Vq as uj,Wl as Lb,Wm as gd,Wn as Ae,Wo as sg,Wq as vj,Xl as Mb,Xm as hd,Xn as Be,Xo as tg,Xq as wj,Yl as Nb,Ym as id,Yn as Ce,Yo as ug,Yq as xj,Zl as Ob,Zm as jd,Zn as De,Zo as vg,Zq as yj,_l as Pb,_m as kd,_n as Ee,_o as wg,_q as zj,am as Ub,an as md,ao as Ie,ap as yg,ar as Bj,bm as Vb,bn as nd,bo as Je,bp as zg,br as Cj,cm as Wb,cn as od,co as Ke,cp as Ag,cr as Dj,dm as hc,dn as pd,do as Le,dp as Bg,dq as pi,dr as Ej,em as ic,en as qd,eo as Me,ep as Cg,eq as qi,er as Vj,fm as jc,fn as vd,fo as Ne,fp as Dg,fq as ri,fr as Wj,gm as kc,gn as wd,go as Oe,gp as Eg,gq as si,gr as Xj,hm as lc,hn as xd,hp as Fg,hq as ti,hr as Yj,im as mc,in as yd,ip as Gg,iq as Ai,ir as Zj,jm as nc,jn as zd,jp as Hg,jq as Bi,jr as jk,km as oc,kn as Ad,ko as bf,kp as Ig,kq as Ci,kr as kk,lm as pc,ln as Bd,lo as cf,lp as Jg,lq as Di,lr as lk,mm as qc,mn as Cd,mp as Kg,mq as Ei,mr as mk,nm as rc,nn as Dd,no as Xf,np as Lg,nq as Fi,nr as nk,om as sc,on as Ed,op as Mg,oq as Gi,or as ok,pm as tc,pn as Fd,pp as Ng,pq as Hi,pr as pk,qm as uc,qn as Gd,qp as Og,qq as Ii,qr as qk,rm as vc,rn as Hd,rp as Pg,rq as Ji,rr as rk,sm as wc,sn as Id,sp as Qg,sq as Ki,sr as sk,tm as xc,tn as Jd,tp as Rg,tq as Li,tr as tk,um as yc,un as Kd,up as Sg,uq as Mi,ur as uk,vl as xa,vm as zc,vn as Ld,vp as Tg,vq as Ni,vr as vk,wl as ya,wm as Ac,wn as Md,wp as Ug,wq as Oi,wr as wk,xl as za,xm as Bc,xn as Nd,xp as Vg,xq as Pi,xr as xk,yl as Aa,ym as Cc,yn as Od,yp as Wg,yq as Qi,yr as yk,zl as Ba,zm as Dc,zn as Pd,zp as Xg,zq as Ri,zr as zk}from"./chunk-yajazn0v.js";import{$r as ca,Jr as M,Kr as N,Lr as O,Mr as P,Nr as Q,Or as R,Pr as S,Qr as T,Rr as U,Sr as V,Tr as W,Ur as X,Vr as Y,Wr as Z,Xr as _,Yr as $,Zr as aa,_r as ba,as as da,bs as ea,cs as fa,ds as ia,es as ja,fs as ka,gs as la,hs as ma,is as na,js as oa,ks as pa,ls as qa,ms as ra,ns as sa,os as ta,ps as ua,qs as va,rs as wa}from"./chunk-fc8471kb.js";import{ss as ga,ts as ha}from"./chunk-3wa1ybzj.js";import{us as Rb,vs as Sb,ws as Tb}from"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import{Ds as Si,Es as Ti,Fs as Ui,Gs as Vi,Hs as Wi,Is as Xi,Js as Yi,Ks as Zi,Ls as _i}from"./chunk-q9zsjgpf.js";import{bt as Rc,ct as Sc,dt as Tc,et as Uc,ft as Vc,ht as Wc,qt as Xc,rt as Yc,st as Zc}from"./chunk-2yjj4awx.js";import{tt as Xb,ut as Yb,vt as Zb,wt as _b,xt as $b,yt as ac}from"./chunk-n98anpe9.js";import{Ft as Fe,Ht as Ge,Kt as He}from"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import{Pt as cc,Qt as dc}from"./chunk-hestqebq.js";import{Ut as fg,Vt as gg,Wt as hg,Xt as ig,Yt as jg,Zt as kg,_t as lg,au as mg,bu as ng,cu as og,du as pg}from"./chunk-qsq1eha8.js";import{Au as ke,Bu as le,Cu as me,Du as ne,Eu as oe,Fu as pe,Gu as qe,eu as rd,fu as sd,gu as td,hu as ud,ru as be,su as ce,tu as de,uu as ee,vu as fe,wu as ge,xu as he,yu as ie,zu as je}from"./chunk-3rf705aq.js";import{$u as y,Hu as b,Iu as c,Ju as d,Ku as e,Lu as f,Mu as g,Nu as h,Ou as i,Pu as m,Qu as n,Ru as o,Su as p,Tu as q,Uu as r,Vu as s,Wu as t,Xu as u,Yu as v,Zu as w,_u as x,av as z,bv as A,cv as B,dv as C,ev as D,fv as E,gv as F,hv as G,iv as H,jv as I,kv as J,lv as K,mv as L}from"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import{Cv as ob,Dv as pb,Ev as qb,Fv as rb,Gv as sb,Hv as tb,Iv as ub,Jv as vb,Kv as wb,Lv as xb,Mv as yb,Nv as zb,Ov as Ab,Pv as Bb,Qv as Cb,Rv as Db,Sv as Eb,Tv as Fb,Uv as Gb,Vv as Hb,Wv as Ib,Xv as Jb}from"./chunk-8hqayvjh.js";import{$v as Pa,Aw as db,Bw as eb,Cw as fb,Dw as gb,Fw as hb,aw as Qa,dw as Ra,iw as Sa,jw as Ta,pw as Ua,qw as Va,rw as Wa,sw as Xa,tw as Ya,uw as Za,vw as _a,ww as $a,xw as ab,yw as bb,zw as cb}from"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import{Rw as j,Sw as k,Tw as l}from"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{ml as writeNetlifyConfig,en as writeManifest,Rl as writeImageManifest,xp as wrapComponentForHMR,es as withDefaults,zk as webComponentDirectiveHandler,mq as watermark,or as watchViews,$l as watchMultiple,am as watchEffect,_l as watch,Me as warmImagePlaceholders,nm as waitForStore,X as waitForLocale,ip as virtualPathFor,mk as videoDirective,G as validators,is as validated,Ce as validateValueEnhanced,pi as validateTemplate,Um as validateRouteRules,rq as validateParams,De as validateFormEnhanced,dr as validateFile,ye as validateFields,xe as validateField,ri as validateDirective,Xd as validateCspDirectives,Hk as validateConfig,sn as validateComponentScripts,Qn as validateComponentProps,lh as validateClientScript,ki as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Fi as userComponentFileExists,Sh as useVirtualList,je as useTitle,mm as useStoreOrThrow,Pp as useStore,Yk as useStorage,Af as useSlots,_k as useSessionStorage,cc as useServerRuntimeConfig,Yf as useServerData,ge as useSeoMeta,dc as useRuntimeConfig,om as useRouteParams,qm as useRouteParamOrThrow,pm as useRouteParam,je as usePageTitle,rf as useOptimistic,Ff as useModel,sm as useMiddlewareValue,rm as useMiddlewareState,Zk as useLocalStorage,qp as useLoadingIndicator,ee as useHead,hi as useForm,Cf as useAttrs,fr as uploadFiles,er as uploadFile,jm as updateInstance,pf as untrack,Vi as unregisterDirective,km as unmountInstance,Qc as unescapeHtml,mp as typecheckStxFiles,Di as transpileTypeScript,Tr as translate,Ba as transitionDirective,lc as transformAutoImports,Kn as toUsers,Jn as toUser,Xp as thumbnail,Yq as thumbHashToRGBA,Zq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,Jf as templateCache,nd as syncRecordedResponse,up as stxClientHelpers,kg as structuredDataDirective,Wr as stripLocalePrefix,Rm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,vo as stringToStream,Ld as strictCspPreset,Xe as streamingSuspenseDirective,$e as streamToResponse,Ve as streamTemplateSimple,Pe as streamTemplate,Tk as stopHmrServer,Gn as stopBroadcasting,_b as stateDirName,$b as stateDir,df as state,fh as startsDocument,Qo as startProductionServer,Lo as startInteractive,Fn as startBroadcasting,Yr as stampLocaleLayoutGroup,Ia as staggerDirective,pq as srcsetUrls,Ja as springDirective,ud as splitByPipe,Nm as spaNavVaryHeaders,jp as sourcePathFor,wq as smartBatchSign,Hi as slotContentHasExpressions,uq as signUrl,Bi as shouldTranspileTypeScript,Qk as shouldReloadOnChange,zq as shouldRefreshSignature,Rk as shouldIgnoreFile,Kh as shouldCacheComponent,$p as sharpen,ls as shape,Zb as setStateDir,wm as setRouteParams,xm as setMiddlewareState,Le as setImagePlaceholder,uf as setGlobalProvide,b as setErrorLocale,Tl as setCurrentInstance,ak as setCachedVideoResult,Rj as setCachedImageResult,Lj as setCached,os as serveStxFile,qs as serveMultipleStxFiles,Lk as serveMarkdownFile,$o as serveFile,rs as serveApp,_o as serve,Ap as serializeState,gn as serializeSetCookie,bq as sepia,he as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Ei as scopeOnRootElement,qk as scopeHTML,pk as scopeCSS,ng as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,fq as saturation,sq 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,yg as runPreProcessingMiddleware,zg as runPostProcessingMiddleware,kn as runPageAction,kf as runMountCallbacks,gb as runMiddleware,hm as runHooks,Mr as runDoctor,lf as runDestroyCallbacks,Cg as runComposers,gq as rotate,li as rewriteImagesWithSiblings,od as responseBindings,Li as resolveTemplatePath,ha as resolveStxTargets,Dk as resolveStxDirectories,Sr as resolveI18n,Vp as resize,qg as resetUnscopedSignalWarnings,Oc as resetRejectedExpressionWarnings,sc as resetPlaceholders,de as resetHead,zp as resetHMRHandler,o as resetErrorConfig,gs as required,cg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,mr as renderView,jk as renderVideoComponent,ic as renderVendorStyleTags,vr as renderToString,wr as renderToStream,xr as renderToDOM,Xq as renderThumbhashToCanvas,Jr as renderTemplateString,Hr as renderTemplate,Ir as renderString,Se as renderStreamingPage,wi as renderSlot,Ah as renderSSRSuspense,Hq as renderProtectedVideo,Gq as renderProtectedImg,tq as renderMediaUpload,Gr as renderMarkdownView,Ym as renderLayoutTypes,Vj as renderImgComponent,Hl as renderImageComponent,le as renderHtmlAttrs,ke as renderHead,pr as renderEmail,Ji as renderComponentWithSlot,me as renderBodyAttrs,Kp as render,Nd as relaxedCspPreset,we as registerValidationRule,Ze as registerStreamingDirectives,Rp as registerStoresClient,um as registerStore,Rf as registerServeModuleBundle,lg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Be as registerEnhancedValidationRule,Si as registerDirective,Wd as registerCspDirectives,Tn as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Xl as ref,Do as redirect,jd as recordResponseStatus,kd as recordResponseHeader,ac as rebaseOntoStateDir,ld as readResponseStatus,md as readResponseHeaders,Jk as readMarkdownFile,Kf as readFileCached,Yl as reactive,kq as quality,Eq as pruneSignatureCache,Oj as pruneCache,sf as provide,Fr as protectCodeBlocks,fs as prop,Fg as processVueTemplate,Qh as processVirtualListDirectives,Uh as processVirtualGridDirectives,ik as processVideo,ze as processValidateDirective,ea as processTranslateDirective,uh as processTransitionDirectives,xh as processTransitionAttributes,pe as processTitleDirective,bd as processTemplateBindings,qh as processTeleportDirectives,yh as processSuspenseDirectives,gg as processStructuredData,Te as processStreamDirectives,pd as processStatusDirective,fi as processStaticDirectives,wg as processStackReplacements,vg as processStackPushDirectives,xi as processSlots,Pm as processShell,Oe as processServerBindings,hg as processSeoDirective,_e as processSectionDirectives,Vc as processScopedStyles,$c as processReactiveBindings,Iq as processProtectedMedia,_h as processPartialHydrationDirectives,kh as processOnceDirective,xg as processMiddleware,fg as processMetaDirectives,qe as processMetaDirective,Kk as processMarkdownFileDirectives,Qi as processMarkdownDirectives,dg as processLoops,Ih as processKeepAliveDirectives,jh as processJsonDirective,Th as processInfiniteListDirectives,ug as processIncludes,Xj as processImgComponents,Jl as processImageComponents,wl as processImage,oe as processHeadDirective,se as processForms,ue as processFormInputDirectives,Mc as processExpressions,Pb as processEventDirectives,ve as processErrorDirective,Gg as processDynamicComponents,mi as processDirectives,_i as processDirectiveAttributes,ph as processDeferDirectives,$d as processCustomDirectives,Td as processCspDirectives,ms as processComponentProps,rc as processClientScript,te as processBasicFormDirectives,Dh as processAsyncDirectives,ae as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,He as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,pp as preloadIslandHandlers,Ne as preloadIconCollection,Bn as poolStrings,Bk as pluginManager,Je as placeholdersWarmed,th as performLeave,sh as performEnter,mf as pendingLifecycleCounts,qf as peek,rg as partialsCache,kk as parseVideoDirectiveOptions,Tp as parseUrl,_q as parseThumbhashString,Ad as parseSwitchBlock,ui as parseSlots,vi as parseSlotElement,Fd as parseScriptDeclarations,xk as parseSFCComponent,Jq as parseProtectedArgs,bg as parseLoopBinding,Wj as parseImgComponent,mj as parseImageUrl,Il as parseImageComponent,hn as parseFormBody,Cd as parseExpressionWithFilters,Un as parseDefaults,Ao as parseCookies,Gm as parseContainerSelector,xd as parseConditionalBlock,Dd as parseArguments,Ma as parseAnimationShorthand,hs as optional,Cn as optimizeTemplate,Ol as optimizeImage,Pl as optimizeDirectory,js as oneOf,sg as onceStore,em as onUpdated,_c as onUpdate,gm as onUnmounted,Bm as onServer,cm as onMounted,hf as onMount,ei as onHydrated,yf as onErrorCaptured,jf as onDestroy,Oh as onDeactivated,Am as onClient,dm as onBeforeUpdate,fm as onBeforeUnmount,bm as onBeforeMount,Nh as onActivated,Tq as observeElement,Eo as notFound,Lg as normalizeCriticalHeadOrder,xf as nextTick,Xn as negotiateEncoding,Ua as navigateTo,im as mountInstance,Ea as motionDirective,Md as moderateCspPreset,An as minifyHtml,jg as metaDirective,Zg as metaDedupKey,Up as mergeParams,$g as mergeHtmlAttrs,fe as mergeHeadConfigs,Sc as mergeCssConfig,Qd as mergeCspDirectives,Ra as matchRoute,Ri as markdownDirectiveHandler,Ik as markdownCache,ga as looksLikeGlob,Vr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Ek as loadStxConfig,db as loadMiddlewareFromDirectory,fn as loadManifest,Pq as loadElement,Hn as loadChannels,Lb as listensPassively,as as lintStxStrict,Rq as lazyLoadAll,Qq as lazyLoad,Ha as keyframeDirective,tr as jsxs,ur as jsxDEV,sr as jsx,Co as jsonResponse,Ye as islandDirective,l as isTest,Sm as isSpaNavigation,Lm as isSpaNavRequest,xq as isSignatureValid,nf as isSignal,ul as isSharpAvailable,oo as isServerEnvironment,ym as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Mq as isNativeLazySupported,Er as isMarkdownPath,Q as isLoading,R as isLoaded,Ai as isJavaScriptScript,Nq as isIntersectionObserverSupported,Cl as isImageFile,vl as isImageBackendAvailable,aa as isICUFormat,di as isHydrated,Gi as isHydrateTrigger,hd as isHttpStatus,no as isEdgeEnvironment,bs as isDirectiveKind,k as isDevelopment,of as isDerived,Pk as isCssOnlyChange,Wn as isCompressible,zm as isClient,Fh as isAsyncComponent,jn as isActionableMethod,cq as invert,Mf as invalidateFileCacheByDir,Lf as invalidateFileCache,Lc as interpolateScriptsInTemplate,Jc as interpolateScriptExpressions,Kc as interpolateScriptAttributes,x as inlineError,Rr as injectThemeBootstrap,ig as injectSeoTags,Or as injectSeo,Xf as injectRouterScript,Ok as injectHotReload,kb as injectHeatmap,Zc as injectCss,Rd as injectCspMetaTag,hh as injectConfigHeadTags,Kg as injectColorModeBootScript,bh as injectCloakStyle,Rg as injectBuildId,kc as injectBrowserCoreAutoImports,dd as injectAnalytics,tf as inject,tm as initStoreRegistry,pl as initNetlify,rp as initLoadingIndicator,Oq as initLazyLoading,Ko as initFile,Wq as initBlurUp,ar as initAllBlurUp,Zj as imgDirective,Ml as imageDirective,nn as hydrateTemplateStream,mn as hydrateTemplate,op as hydrateIslands,ai as hydrateIsland,on as hydrateFragment,bi as hydrateByStrategy,ci as hydrateAll,Hp as hydrate,Zo as htmlResponse,dh as hoistLeadingHeadTags,Mg as hoistColorModeBootScript,lb as heatmapDirective,Hj as hashString,Wf as hashFilePath,Fj as hashFile,Gj as hashBuffer,Eg as hasVueTemplateSyntax,ag as hasVariables,Mp as hasStore,xc as hasPlaceholders,nl as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,gh as hasDocumentShell,si as hasDirectives,ma as hasDOMSupport,Fl as handleImageRequest,zf as handleError,Br as h,Bl as groupVariantsByFormat,aq as grayscale,So as gitHash,un as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,il as getTotalSize,yq as getTimeUntilExpiry,mh as getStoreScript,Np as getStoreNames,Lp as getStore,bl as getStorageSize,al as getStorageKeys,Mi as getSourceLineInfo,Ci as getSharedTranspiler,Sf as getServeModuleBundle,Qf as getServeClientAsset,la as getScreenReaderOnlyStyle,rk as getScopeAttribute,cf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,qi as getPositionInfo,uc as getPlaceholderRegistry,Ej as getPlaceholderCacheStats,ce as getPageMeta,Hd as getNonce,Dl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,Ie as getImagePlaceholder,xl as getImageMetadata,Fe as getImageDelivery,Gp as getHydrationRuntime,vm as getHydratedStoreState,Sk as getHmrServer,be as getHead,yp as getHMRHandler,qj as getFormatExtension,Jj as getFileMtime,Al as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Ui as getDirectives,Ti as getDirective,Ul as getCurrentInstance,Wc as getCssServeAsset,Pd as getCspPreset,Yd as getCspHeaderName,Pi as getComponentCacheStats,$j as getCachedVideoResult,Cq as getCachedSignature,Of as getCachedSignalsRuntime,Pf as getCachedRouterScript,Cj as getCachedPlaceholder,Qj as getCachedImageResult,Kj as getCached,Nj as getCacheStats,Pg as getBuildId,En as getBroadcastServer,pj as getBestVariant,Bc as getAllFilters,dj as generateWidthSrcset,Rh as generateVirtualListCSS,hr as generateVideoPreview,Ee as generateValidationScript,ir as generateUploadRuntime,vn as generateTreeShakenBundle,wh as generateTransitionRuntime,vh as generateTransitionCSS,dk as generateThumbnails,vj as generateThumbhashPlaceholder,fo as generateTemplatesDocs,Ch as generateSuspenseRuntime,Bh as generateSuspenseCSS,Bp as generateStateScript,nj as generateSrcsetData,Uj as generateSrcset,yl as generateSrcSet,ek as generateSpriteSheet,qr as generateSpaShell,oj as generateSourceTags,jj as generateSizesFromBreakpoints,ij as generateSizesAttribute,zl as generateSizes,mg as generateSitemapIndex,Pr as generateSitemap,Lq as generateSimpleMediaPicker,Fq as generateSignatureRuntime,If as generateSignalsRuntimeDev,Hf as generateSignalsRuntime,qc as generateServerDataBridge,ok as generateScopeId,yk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,og as generateRobotsTxt,Qr as generateRobots,Tj as generateResponsiveVariants,uk as generateReactiveWebComponentTS,tk as generateReactiveWebComponent,wk as generateReactiveRuntime,vk as generateReactiveMixin,ck as generatePoster,Bj as generatePlaceholderStyle,Aj as generatePlaceholderCSS,uj as generatePlaceholder,$h as generatePartialHydrationCSS,Vg as generateOfflineWorker,Gd as generateNonce,jl as generateNetlifyToml,kr as generateMinifiedMediaRuntime,jr as generateMediaRuntime,Kq as generateMediaManagerEmbed,dn as generateManifest,tp as generateLoadingIndicatorHtml,Vq as generateLazyLoadRuntime,Zm as generateLayoutTypes,xj as generateLQIP,Mh as generateKeepAliveRuntime,Lh as generateKeepAliveCSS,gi as generateIslandManifest,gr as generateImagePreview,Ql as generateImageManifest,Fp as generateHydrationScript,af as generateHydrationRuntime,Ip as generateHydrationCSS,Vh as generateHydrationBootstrap,Nk as generateHotReloadScript,jb as generateHeatmapScript,wp as generateHMRClientScript,fk as generateHLSManifest,Cp as generateEventBindings,hj as generateDprSrcsetWithVariableQuality,gj as generateDprSrcset,eh as generateDocumentShell,ko as generateDocs,go as generateDirectivesDocs,Zi as generateDirectiveRuntime,pg as generateDefaultRobotsTxt,gk as generateDASHManifest,Yc as generateCss,Kd as generateCspMetaTag,Jd as generateCspHeader,Ef as generateCompositionRuntime,eo as generateComponentsDocs,Wh as generateComponentManifest,bo as generateComponentDoc,zj as generateColorPlaceholder,Jg as generateColorModeBootScript,lm as generateClientRuntime,Ij as generateCacheKey,oc as generateBrowserAutoImportDestructuring,br as generateBlurUpRuntime,cr as generateBlurUpCSS,ad as generateBindingsRuntime,ej as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Hh as generateAsyncComponentRuntime,Gh as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,cd as generateAnalyticsScript,np as formatTypecheckDiagnostics,gp as formatTypeErrors,Ho as formatStxContent,hl as formatSize,Ta as formatRoutes,Io as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Nr as formatDoctorReport,ho as formatDocsAsMarkdown,jo as formatDocsAsJson,io as formatDocsAsHtml,jq as format,zn as foldConstants,iq as flipVertical,hq as flipHorizontal,_m as fingerprint,lp as findStxModuleDeclarations,kp as findRuntimeTypeDeclarations,Lr as findPantryPackage,Dc as findMustacheEnd,wd as findMatchingEndTag,sd as findMatchingDelimiter,Rb as findInterpolationEnd,yd as findIfBlocks,Bd as findExpressions,Sa as findErrorPage,Tc as findDuplicateScopedStyleRanges,zd as findDirectiveBlocks,wn as findDeadCode,wn as findDeadBranches,Hm as findContainerRegion,co as findComponentFiles,ps as findCommonDir,gl as filterRequiredFiles,Ki as fileExists,Zf as extractVariables,oi as extractTemplateExpressions,Ue as extractStreamBoundaries,Dp as extractState,yi as extractSlotContent,$f as extractScriptFromTemplate,ni as extractScriptBlocks,vc as extractPlaceholders,vd as extractParenthesizedExpression,id as extractPageResponseStatus,hb as extractLayoutMetadata,yj as extractDominantColor,Ed as extractDirectiveParams,ti as extractDirectiveNames,Tm as extractContainerContent,$n as extractComponentProps,Xh as extractComponentName,ao as extractComponentDescription,Xc as extractClassNames,pc as extractBridgeData,Yh as extractBoundProps,td as extractBalancedExpression,hc as extractAndStripCssImports,sk as extractAndScopeStyles,Ob as extractAndProcessEvents,Wk as externalizeSharedAssets,Xk as externalizeRepeatedAssets,Vk as externalizeHtml,Pc as evaluateExpression,yn as evaluateConstant,qd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,rh as ensureTeleportTargets,ih as ensureDocumentShell,Ae as enhancedValidationRules,Zn as enableDevTools,xn as eliminateDeadCode,ff as effect,qq as dprUrls,lo as docsCommand,ec as discoverServerApi,Xm as discoverLayoutNames,Uq as disconnectObserver,_n as disableDevTools,F as devHelpers,Om as detectShell,mo as detectRuntime,kl as detectProjectConfig,rj as detectFormat,rn as detectBuildMode,ef as derived,ol as deploy,Gk as defineStxConfig,Qp as defineStore,Bf as defineSlots,$r as defineSiteConfig,ds as definePropsWithValidation,cs as defineProps,Ak as definePlugin,ie as definePageMeta,Wa as defineMiddleware,ii as defineForm,wf as defineExpose,vf as defineEmits,Wi as defineDirective,Dr as defineCustomElement,Po as defineConfig,Xi as defineClientDirective,Eh as defineAsyncComponent,Ro as defineApiHandler,lr as defaultMediaConfig,Sl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,re as defaultFormClasses,yc as defaultFilters,_d as defaultCspConfig,Ck as defaultConfig,ns as default,Rc as deepMergeThemes,Uc as dedupeScopedStyles,Km as decodeTitleEntities,wj as decodeThumbhash,eg as declareBareLoopHead,Vd as cspNonceDirective,Ud as cspDirective,$q as crossfadeTransition,Wp as crop,Ph as createVirtualList,lk as createVideoDirective,yo as createVercelHandler,dp as createTypeChecker,fa as createTranslateFilter,uo as createTextEncoderStream,Cr as createStxApp,to as createStreamingResponse,We as createStreamRenderer,Op as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Wl as createScope,zh as createSSRSuspense,bf as createRouter,Vm as createRouteRuleResolver,eb as createRouteLocation,bp as createRoute,Xl as createRef,Yl as createReactive,Df as createProvideContext,Uo as createProject,Oo as createProductionBuild,tc as createPlaceholder,Dn as createOptimizedBuild,zo as createNetlifyHandler,cl as createNetlifyClient,fb as createMiddlewareContext,ap as createMiddleware,Sq as createLazyObserver,Jh as createKeepAliveCache,qo as createKVNamespace,Zh as createIslandRegistry,Yj as createImgDirective,Nl as createImagePlugin,Gl as createImageHandler,Ll as createImageDirective,nb as createHeatmapAggregator,fl as createFileManifest,po as createEnvAccessor,z as createEnhancedError,so as createEdgeHandler,ro as createEdgeCache,Ni as createDetailedErrorMessage,xo as createDenoHandler,ll as createDefaultNetlifyConfig,Zd as createCspHeaders,Bo as createCookie,Zl as createComputed,Vl as createComponentInstance,wo as createCloudflareHandler,Ya as createClientCookieManager,Yi as createBuiltinDirectives,Cr as createApp,Ka as createAnimationTimeline,Zp as cover,_f as convertToCommonJS,eq as contrast,Yp as contain,y as consoleError,m as configureErrorHandling,Fk as config,Zl as computed,Yn as compressResponse,Bg as composerPattern,Ag as composer,Qm as composeShellWithPage,Sn as componentDirective,Ii as componentClientSignalNames,cn as compileTemplate,a as collectRepeatedFlag,el as collectDeployFiles,ch as cloakStyleFragment,Ic as clientLoopScopes,bk as clearVideoCache,N as clearTranslationCache,nh as clearStoreCache,$k as clearStorage,Dq as clearSignatureCache,Gf as clearServerData,Dj as clearPlaceholderCache,tg as clearOnceStore,Id as clearNonce,bb as clearMiddleware,Ke as clearImagePlaceholders,Ge as clearImageDeliveryCatalog,Kl as clearImageCache,e as clearErrorMessages,Tf as clearDevCaches,Cc as clearCustomFilters,Dg as clearComposers,oh as clearComposableCache,Oi as clearComponentCache,Mj as clearCache,Ib as clearBlankCache,sp as cleanupLoadingIndicator,Em as classifyScript,Fm as classifyAllScripts,ep as checkTemplateFile,fp as checkTemplate,Uf as checkCache,Aq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Nn as channel,Go as captureScreenshots,Fo as captureScreenshot,Z as cancelPendingLoads,dl as calculateSha1,fj as calculateOptimalWidths,Vf as cacheTemplate,bc as cacheEngineFingerprint,nk as buildWebComponents,hp as buildVirtualSource,nr as buildViews,Sp as buildUrl,Qe as buildSuspenseResolveScript,_r as buildStaticSite,qb as buildRuntimeGlobalsDestructure,$m as buildRuntimeAsset,an as buildRouterAsset,Zr as buildLangPickerScript,lj as buildImageUrl,Sg as buildIdFragment,_g as buildHtmlAttrs,pn as buildForProduction,Vn as buildComponentLibrary,Bq as buildAuthParams,qn as buildApp,Xr as buildAlternateLinks,No as build,Ln as broadcastPrivate,Mn as broadcastPresence,In as broadcast,dq as brightness,Tb as bracketDepths,_p as blur,Jb as blankInertHtmlRegions,vq as batchSignUrls,gf as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,lq as auto,ja as attributeValue,bn as assetTags,Mb as asInvocableStatement,ks as arrayOf,Ur as applyTranslations,Sj as applyTransformations,zi as applySlots,Rn as applyPropDefaults,oq as applyPreset,ah as applyHtmlAttrs,ne as applyHead,Nc as applyFilters,Mm as appendVary,Od as apiCspPreset,Da as animationGroupDirective,hk as analyzeVideo,tn as analyzeUsage,Cm as analyzeTemplate,Dm as analyzeProject,tn as analyzeDirectiveUsage,ed as analyticsDirective,Xo as addStore,Wo as addPage,Sd as addNonceToInlineContent,Yo as addLayout,Vo as addComponent,ln as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Nf as __setSignalsGeneratorsForTest,Qg as __setBuildIdForTest,_j as VideoProcessorCache,ji as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,rd as Tokenizer,cp as TemplateTypeChecker,Jo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,yr as Show,Re as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Im 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,fd as RESPONSE_STATUS_KEY,gd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Mo as ProductionBuild,Ar as Portal,To as PROJECT_TEMPLATES,nq as PRESETS,Tg as OFFLINE_WORKER_PATH,Ug as OFFLINE_REGISTER_SCRIPT,sb as NON_CLIENT_PRIMITIVES,Jp as MemorySessionStore,cj as MIME_TYPES,$i as MEDIA_DEFAULT_WIDTHS,bj as MEDIA_DEFAULT_FORMATS,Wm as LAYOUT_TYPES_FILE,Pj as ImageProcessorCache,El as ImageProcessingError,Ep as HydrationRuntime,Mk as HotReloadServer,mb as HeatmapAggregator,Yg as HTML_CLASS_MARKER,Xg as HTML_ATTRS_MARKER,rr as Fragment,zr as For,Jm as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Uk as EXTERNALIZED_ASSET_DIR,ql as DeployError,rl as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,tl as DEFAULT_QUALITY,sj as DEFAULT_PLACEHOLDER_OPTIONS,sl as DEFAULT_FORMATS,aj as DEFAULT_DPR_VALUES,vp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,kj as COMMON_SIZES,Hg as COLOR_MODE_BOOT_MARKER,Ig as COLOR_MODE_BOOT_GLOBAL,Wg as CLOAK_STYLE,Pn as BroadcastServer,On as Broadcast,Ng as BUILD_ID_META,Og as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,tj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Kr as $path};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$k as b,_k as a,al as c,bl as d,cl as e,dl as f,el as g,fl as h,gl as i,hl as j,il as k,jl as l,kl as m,ll as n,ml as o}from"./chunk-
|
|
2
|
+
import{$k as b,_k as a,al as c,bl as d,cl as e,dl as f,el as g,fl as h,gl as i,hl as j,il as k,jl as l,kl as m,ll as n,ml as o}from"./chunk-hcx4qbq2.js";import"./chunk-vrwdzew1.js";import"./chunk-qjvny3wf.js";import"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{o as tempBuildName,b as shouldLogBundlerDiagnostics,f as setBundlerFallbackMode,l as rewriteRegistryImports,g as resolveBundlerFallback,j as registryIdForPath,c as recordBundleFailure,m as queueClientBundleBuild,k as normalizeRegistrySpecifiers,h as hasUserImports,d as getBundleFailures,a as clientBundleDependencies,e as clearBundleFailures,n as bundleClientScript,i as MODULE_SPECIFIER_PREFIX};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{a as x,b as u,c as b,d as Az,e as G,f as d,h as y,i as I,j as Uz,k as v}from"./chunk-0y46fbkx.js";import{l as h,m as f,n as g}from"./chunk-q9n5swx7.js";import{Ko as V}from"./chunk-
|
|
2
|
+
import{a as x,b as u,c as b,d as Az,e as G,f as d,h as y,i as I,j as Uz,k as v}from"./chunk-0y46fbkx.js";import{l as h,m as f,n as g}from"./chunk-q9n5swx7.js";import{Ko as V}from"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import{Yw as F}from"./chunk-n0hrb3ek.js";import l from"fs";import R from"path";function m(z,J){let Z=[R.join(z.root,"stx.config.ts"),R.join(z.root,"stx.config.js"),R.join(z.root,"stx.config.mjs")],K=J.debounceMs??300,$=null,X=[];for(let B of Z)try{if(!l.existsSync(B))continue;let Y=l.watch(B,(W)=>{if(W==="change"){if($)clearTimeout($);$=setTimeout(async()=>{d("Config file changed, restarting...");try{await J.onChange()}catch(j){G(`Failed to restart: ${j}`)}},K)}});X.push(Y)}catch{}return{stop(){if($)clearTimeout($);for(let B of X)B.close()}}}import E from"fs";import i from"path";var Gz=".stx/story/analytics.json",Nz=1,c=1e4;class M{storage;storagePath;currentSession=null;dirty=!1;viewStartTimes=new Map;constructor(z){this.storagePath=i.join(z,Gz),this.storage=this.loadStorage(),this.startSession()}loadStorage(){try{let z=E.readFileSync(this.storagePath,"utf-8");return JSON.parse(z)}catch{return{version:Nz,events:[],sessions:[]}}}async save(){if(!this.dirty)return;let z=i.dirname(this.storagePath);if(await E.promises.mkdir(z,{recursive:!0}),this.storage.events.length>c)this.storage.events=this.storage.events.slice(-c);await E.promises.writeFile(this.storagePath,JSON.stringify(this.storage,null,2)),this.dirty=!1}startSession(){this.endSession(),this.currentSession={id:Hz(),startTime:Date.now(),componentViews:[]},this.storage.sessions.push(this.currentSession),this.dirty=!0}endSession(){if(this.currentSession)this.currentSession.endTime=Date.now(),this.currentSession=null}track(z){this.storage.events.push({...z,timestamp:Date.now()}),this.dirty=!0}trackView(z,J){if(this.endViewTiming(z),this.viewStartTimes.set(z,Date.now()),this.track({type:"view",componentId:z,variantId:J}),this.currentSession&&!this.currentSession.componentViews.includes(z))this.currentSession.componentViews.push(z)}endViewTiming(z){let J=this.viewStartTimes.get(z);if(J){let Z=Date.now()-J;this.track({type:"view",componentId:z,metadata:{duration:Z,endView:!0}}),this.viewStartTimes.delete(z)}}trackPropChange(z,J,Z){this.track({type:"prop_change",componentId:z,propName:J,metadata:{value:Z}})}trackVariantSwitch(z,J){this.track({type:"variant_switch",componentId:z,variantId:J})}trackSearch(z,J){this.track({type:"search",query:z,metadata:{resultCount:J}})}getComponentAnalytics(z,J){let Z=this.storage.events.filter((Q)=>Q.componentId===z),K=Z.filter((Q)=>Q.type==="view"&&!Q.metadata?.endView),$=Z.filter((Q)=>Q.type==="prop_change"),X=Z.filter((Q)=>Q.type==="variant_switch"),B={};for(let Q of $)if(Q.propName)B[Q.propName]=(B[Q.propName]||0)+1;let Y={};for(let Q of X)if(Q.variantId)Y[Q.variantId]=(Y[Q.variantId]||0)+1;let W=new Set(this.storage.sessions.filter((Q)=>Q.componentViews.includes(z)).map((Q)=>Q.id)),j=Z.filter((Q)=>Q.metadata?.duration).map((Q)=>Q.metadata.duration),U=j.length>0?j.reduce((Q,D)=>Q+D,0)/j.length:0,_=Object.entries(B).sort((Q,D)=>D[1]-Q[1]).slice(0,5).map(([Q])=>Q);return{componentId:z,componentName:J,viewCount:K.length,uniqueViews:W.size,lastViewed:K[K.length-1]?.timestamp,propChanges:B,topChangedProps:_,variantViews:Y,avgTimeSpent:U}}getMostViewedComponents(z=10){let J=new Map;for(let Z of this.storage.events)if(Z.type==="view"&&Z.componentId&&!Z.metadata?.endView)J.set(Z.componentId,(J.get(Z.componentId)||0)+1);return Array.from(J.entries()).map(([Z,K])=>({componentId:Z,viewCount:K})).sort((Z,K)=>K.viewCount-Z.viewCount).slice(0,z)}getMostChangedProps(z=10){let J=new Map;for(let Z of this.storage.events)if(Z.type==="prop_change"&&Z.propName)J.set(Z.propName,(J.get(Z.propName)||0)+1);return Array.from(J.entries()).map(([Z,K])=>({propName:Z,changeCount:K})).sort((Z,K)=>K.changeCount-Z.changeCount).slice(0,z)}getSearchAnalytics(){let z=this.storage.events.filter(($)=>$.type==="search"),J=new Map,Z=0;for(let $ of z){if($.query)J.set($.query,(J.get($.query)||0)+1);if($.metadata?.resultCount!==void 0)Z+=$.metadata.resultCount}let K=Array.from(J.entries()).map(([$,X])=>({query:$,count:X})).sort(($,X)=>X.count-$.count).slice(0,10);return{totalSearches:z.length,topQueries:K,avgResultCount:z.length>0?Z/z.length:0}}clear(){this.storage.events=[],this.storage.sessions=[],this.dirty=!0,this.startSession()}exportAnalytics(){return JSON.stringify({exportedAt:Date.now(),...this.storage},null,2)}}function Hz(){return`session-${Date.now()}-${Math.random().toString(36).slice(2,8)}`}import P from"fs";import p from"path";var Fz=".stx/story/bookmarks.json",Vz=1;class T{storage;storagePath;dirty=!1;constructor(z){this.storagePath=p.join(z,Fz),this.storage=this.loadStorage()}loadStorage(){try{let z=P.readFileSync(this.storagePath,"utf-8");return JSON.parse(z)}catch{return{version:Vz,bookmarks:[]}}}async save(){if(!this.dirty)return;let z=p.dirname(this.storagePath);await P.promises.mkdir(z,{recursive:!0}),await P.promises.writeFile(this.storagePath,JSON.stringify(this.storage,null,2)),this.dirty=!1}addBookmark(z,J,Z,K={}){let $={id:Rz(),name:K.name||`${z}/${J}`,storyId:z,variantId:J,props:Z,created:Date.now(),notes:K.notes,color:K.color};return this.storage.bookmarks.push($),this.dirty=!0,$}getAllBookmarks(){return[...this.storage.bookmarks]}getBookmarksForStory(z){return this.storage.bookmarks.filter((J)=>J.storyId===z)}getBookmark(z){return this.storage.bookmarks.find((J)=>J.id===z)}isBookmarked(z,J){return this.storage.bookmarks.some((Z)=>Z.storyId===z&&Z.variantId===J)}updateBookmark(z,J){let Z=this.getBookmark(z);if(!Z)return;return Object.assign(Z,J),this.dirty=!0,Z}deleteBookmark(z){let J=this.storage.bookmarks.findIndex((Z)=>Z.id===z);if(J===-1)return!1;return this.storage.bookmarks.splice(J,1),this.dirty=!0,!0}toggleBookmark(z,J,Z){let K=this.storage.bookmarks.find((X)=>X.storyId===z&&X.variantId===J);if(K)return this.deleteBookmark(K.id),{added:!1};return{added:!0,bookmark:this.addBookmark(z,J,Z)}}exportBookmarks(){return JSON.stringify(this.storage,null,2)}importBookmarks(z,J=!0){let Z=JSON.parse(z),K=0;for(let $ of Z.bookmarks){if(J){let X=this.storage.bookmarks.find((B)=>B.id===$.id);if(X)Object.assign(X,$);else this.storage.bookmarks.push($)}else this.storage.bookmarks.push($);K++}if(K>0)this.dirty=!0;return K}}function Rz(){return`bm-${Date.now()}-${Math.random().toString(36).slice(2,8)}`}var N=new Set;function s(){return{open(z){N.add(z),z.send(JSON.stringify({type:"connected",timestamp:Date.now()}))},close(z){N.delete(z)},message(z,J){}}}function q(z){let J=JSON.stringify({...z,timestamp:z.timestamp||Date.now()});for(let Z of N)try{Z.send(J)}catch{N.delete(Z)}}function n(z,J){q({type:"story-update",data:{storyId:z,...J}})}function a(z,J){q({type:"story-add",data:{storyId:z,...J}})}function o(z){q({type:"story-remove",data:{storyId:z}})}function r(z){return`
|
|
3
3
|
<script>
|
|
4
4
|
(function() {
|
|
5
5
|
const ws = new WebSocket('${z}');
|
|
@@ -556,7 +556,7 @@ window.__stxPerformance = {
|
|
|
556
556
|
|
|
557
557
|
window.clearPerformanceMetrics = () => window.__stxPerformance.clear();
|
|
558
558
|
</script>
|
|
559
|
-
`}import w from"fs";import Xz from"path";var Mz=".stx/story/presets.json",C=1,Pz=10;class k{storage;storagePath;dirty=!1;constructor(z){this.storagePath=Xz.join(z,Mz),this.storage=this.loadStorage()}loadStorage(){try{let z=w.readFileSync(this.storagePath,"utf-8"),J=JSON.parse(z);if(J.version!==C)return this.migrateStorage(J);return J}catch{return{version:C,presets:[],recentIds:[]}}}migrateStorage(z){return{version:C,presets:z.presets||[],recentIds:z.recentIds||[]}}async save(){if(!this.dirty)return;let z=Xz.dirname(this.storagePath);await w.promises.mkdir(z,{recursive:!0}),await w.promises.writeFile(this.storagePath,JSON.stringify(this.storage,null,2)),this.dirty=!1}createPreset(z,J,Z={}){let K={id:Tz(),name:z,description:Z.description,props:J,componentId:Z.componentId,created:Date.now(),usageCount:0,tags:Z.tags};return this.storage.presets.push(K),this.dirty=!0,K}getPreset(z){return this.storage.presets.find((J)=>J.id===z)}getAllPresets(){return[...this.storage.presets]}getPresetsForComponent(z){return this.storage.presets.filter((J)=>!J.componentId||J.componentId===z)}getRecentPresets(){return this.storage.recentIds.map((z)=>this.getPreset(z)).filter((z)=>z!==void 0)}usePreset(z){let J=this.getPreset(z);if(!J)return;return J.lastUsed=Date.now(),J.usageCount++,this.storage.recentIds=[z,...this.storage.recentIds.filter((Z)=>Z!==z)].slice(0,Pz),this.dirty=!0,J}updatePreset(z,J){let Z=this.getPreset(z);if(!Z)return;return Object.assign(Z,J),this.dirty=!0,Z}deletePreset(z){let J=this.storage.presets.findIndex((Z)=>Z.id===z);if(J===-1)return!1;return this.storage.presets.splice(J,1),this.storage.recentIds=this.storage.recentIds.filter((Z)=>Z!==z),this.dirty=!0,!0}searchPresets(z){let J=z.toLowerCase();return this.storage.presets.filter((Z)=>{if(Z.name.toLowerCase().includes(J))return!0;if(Z.description?.toLowerCase().includes(J))return!0;if(Z.tags?.some((K)=>K.toLowerCase().includes(J)))return!0;return!1})}getMostUsedPresets(z=5){return[...this.storage.presets].sort((J,Z)=>Z.usageCount-J.usageCount).slice(0,z)}exportPresets(z){let J=z?this.storage.presets.filter((Z)=>z.includes(Z.id)):this.storage.presets;return JSON.stringify({presets:J},null,2)}importPresets(z,J=!1){let Z=JSON.parse(z),K=0;for(let $ of Z.presets){let X=this.storage.presets.find((B)=>B.id===$.id);if(X&&!J)continue;if(X)Object.assign(X,$);else this.storage.presets.push($);K++}if(K>0)this.dirty=!0;return K}}function Tz(){return`preset-${Date.now()}-${Math.random().toString(36).slice(2,8)}`}import S from"fs";var Qz=new Map;async function H(z,J,Z={}){let K=performance.now(),$=[];try{let X=await S.promises.stat(J),B=Qz.get(J),Y;if(B&&B.mtime===X.mtimeMs)Y=B.content;else Y=await S.promises.readFile(J,"utf-8"),Qz.set(J,{content:Y,mtime:X.mtimeMs,analyzed:null});let{processDirectives:W}=await import("./chunk-
|
|
559
|
+
`}import w from"fs";import Xz from"path";var Mz=".stx/story/presets.json",C=1,Pz=10;class k{storage;storagePath;dirty=!1;constructor(z){this.storagePath=Xz.join(z,Mz),this.storage=this.loadStorage()}loadStorage(){try{let z=w.readFileSync(this.storagePath,"utf-8"),J=JSON.parse(z);if(J.version!==C)return this.migrateStorage(J);return J}catch{return{version:C,presets:[],recentIds:[]}}}migrateStorage(z){return{version:C,presets:z.presets||[],recentIds:z.recentIds||[]}}async save(){if(!this.dirty)return;let z=Xz.dirname(this.storagePath);await w.promises.mkdir(z,{recursive:!0}),await w.promises.writeFile(this.storagePath,JSON.stringify(this.storage,null,2)),this.dirty=!1}createPreset(z,J,Z={}){let K={id:Tz(),name:z,description:Z.description,props:J,componentId:Z.componentId,created:Date.now(),usageCount:0,tags:Z.tags};return this.storage.presets.push(K),this.dirty=!0,K}getPreset(z){return this.storage.presets.find((J)=>J.id===z)}getAllPresets(){return[...this.storage.presets]}getPresetsForComponent(z){return this.storage.presets.filter((J)=>!J.componentId||J.componentId===z)}getRecentPresets(){return this.storage.recentIds.map((z)=>this.getPreset(z)).filter((z)=>z!==void 0)}usePreset(z){let J=this.getPreset(z);if(!J)return;return J.lastUsed=Date.now(),J.usageCount++,this.storage.recentIds=[z,...this.storage.recentIds.filter((Z)=>Z!==z)].slice(0,Pz),this.dirty=!0,J}updatePreset(z,J){let Z=this.getPreset(z);if(!Z)return;return Object.assign(Z,J),this.dirty=!0,Z}deletePreset(z){let J=this.storage.presets.findIndex((Z)=>Z.id===z);if(J===-1)return!1;return this.storage.presets.splice(J,1),this.storage.recentIds=this.storage.recentIds.filter((Z)=>Z!==z),this.dirty=!0,!0}searchPresets(z){let J=z.toLowerCase();return this.storage.presets.filter((Z)=>{if(Z.name.toLowerCase().includes(J))return!0;if(Z.description?.toLowerCase().includes(J))return!0;if(Z.tags?.some((K)=>K.toLowerCase().includes(J)))return!0;return!1})}getMostUsedPresets(z=5){return[...this.storage.presets].sort((J,Z)=>Z.usageCount-J.usageCount).slice(0,z)}exportPresets(z){let J=z?this.storage.presets.filter((Z)=>z.includes(Z.id)):this.storage.presets;return JSON.stringify({presets:J},null,2)}importPresets(z,J=!1){let Z=JSON.parse(z),K=0;for(let $ of Z.presets){let X=this.storage.presets.find((B)=>B.id===$.id);if(X&&!J)continue;if(X)Object.assign(X,$);else this.storage.presets.push($);K++}if(K>0)this.dirty=!0;return K}}function Tz(){return`preset-${Date.now()}-${Math.random().toString(36).slice(2,8)}`}import S from"fs";var Qz=new Map;async function H(z,J,Z={}){let K=performance.now(),$=[];try{let X=await S.promises.stat(J),B=Qz.get(J),Y;if(B&&B.mtime===X.mtimeMs)Y=B.content;else Y=await S.promises.readFile(J,"utf-8"),Qz.set(J,{content:Y,mtime:X.mtimeMs,analyzed:null});let{processDirectives:W}=await import("./chunk-35tvbs3e.js"),j={},U=A(Y);if(U)try{await V(U,j,J)}catch(O){$.push(`Warning: Could not extract script variables: ${O instanceof Error?O.message:String(O)}`)}if(Z.props)Object.assign(j,Z.props);let Q=await W(Y,j,J,{},new Set),D=Wz(Y),L=A(Y);return Q=jz(Q),Q=Dz(Q,j),{html:Q,css:D,js:L,errors:$,duration:performance.now()-K}}catch(X){return $.push(X instanceof Error?X.message:String(X)),{html:`<div class="stx-render-error">${Lz($[0])}</div>`,css:"",js:"",errors:$,duration:performance.now()-K}}}async function qz(z){try{let J=await S.promises.readFile(z,"utf-8"),Z=A(J);if(!Z)return null;let K={};if(await V(Z,K,z),Array.isArray(K.variants))return K.variants;return null}catch{return null}}async function Bz(z,J,Z,K){let $=J.story?.variants;if(!$){let Y=await qz(J.path);if(Y)$=Y}if(!$&&Z==="default")return H(z,J.path,{props:K||{}});if(!$)return H(z,J.path,{props:K||{}});let X=$.find((Y)=>Y.id===Z);if(!X&&Z==="default")return H(z,J.path,{props:K||{}});if(!X)return{html:'<div class="stx-render-error">Variant not found</div>',css:"",js:"",errors:[`Variant '${Z}' not found`],duration:0};let B={...X.state,...K};if(X.source)return wz(z,X.source,B);return H(z,J.path,{props:B})}async function wz(z,J,Z={}){let K=performance.now(),$=[];try{let{processDirectives:X}=await import("./chunk-35tvbs3e.js"),B={...Z},Y=A(J);if(Y)try{await V(Y,B,"inline-template.stx")}catch{}let j=await X(J,B,"inline-template.stx",{},new Set);return j=jz(j),j=Dz(j,B),{html:j,css:Wz(J),js:A(J),errors:$,duration:performance.now()-K}}catch(X){return $.push(X instanceof Error?X.message:String(X)),{html:`<div class="stx-render-error">${Lz($[0])}</div>`,css:"",js:"",errors:$,duration:performance.now()-K}}}function Wz(z){let J=[],Z=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,K=Z.exec(z);while(K!==null)J.push(K[1].trim()),K=Z.exec(z);return J.join(`
|
|
560
560
|
`)}function jz(z){return z.replace(/<!--[\s\S]*?-->/g,"").replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"").replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/^\s*\n/gm,"").trim()}function A(z){let J=[],Z=/<script\b[^>]*>([\s\S]*?)<\/script>/gi,K=Z.exec(z);while(K!==null)J.push(K[1].trim()),K=Z.exec(z);return J.join(`
|
|
561
561
|
`)}function Dz(z,J){let Z=`<script>window.__stxProps = ${JSON.stringify(J)};</script>`;return z+Z}function Lz(z){return z.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}async function Oz(z,J){let Z=await I(z);f(z,Z);let K=v(z.config,Z);g(z,K),console.log(` Found ${Z.length} story files`);let $=typeof J.host==="string"?J.host:J.host===!0?"0.0.0.0":"localhost",X=new k(z.root),B=new T(z.root),Y=new M(z.root),W=s(),j=Bun.serve({port:J.port,hostname:$,fetch:async(Q,D)=>{let O=new URL(Q.url).pathname;if(O==="/__hmr"){if(D.upgrade(Q,{data:{isHmr:!0}}))return;return new Response("WebSocket upgrade failed",{status:400})}if(O.startsWith("/api/"))return Cz(z,O,Q,{presetsManager:X,bookmarksManager:B,analyticsTracker:Y});return kz(z,O,J.port)},websocket:{open(Q){W.open(Q)},close(Q){W.close(Q)},message(Q,D){W.message(Q,D)}}}),U=`http://${$}:${J.port}`,_=Uz(z,async(Q,D)=>{console.log(` [${Q}] ${D.relativePath}`);let L=await I(z);f(z,L);let O=v(z.config,L);if(g(z,O),Q==="add")a(D.id,{fileName:D.fileName});else if(Q==="unlink")o(D.id);else n(D.id,{fileName:D.fileName})});if(J.open){let Q=U;try{let{exec:D}=await import("child_process"),L=process.platform;D(`${L==="darwin"?"open":L==="win32"?"start":"xdg-open"} ${Q}`)}catch{}}return{server:j,url:U,close:async()=>{_(),j.stop()}}}async function Cz(z,J,Z,K){let{presetsManager:$,bookmarksManager:X,analyticsTracker:B}=K;if(J==="/api/stories")return Response.json({files:z.storyFiles.map((Y)=>({id:Y.id,fileName:Y.fileName,relativePath:Y.relativePath,treePath:Y.treePath})),tree:z.tree});if(J.startsWith("/api/story/")){let Y=J.slice(11),W=z.storyFiles.find((j)=>j.id===Y);if(!W)return new Response("Story not found",{status:404});try{let j=await Bun.file(W.path).text();return Response.json({id:W.id,fileName:W.fileName,relativePath:W.relativePath,content:j})}catch{return new Response("Error reading story",{status:500})}}if(J==="/api/config")return Response.json({theme:z.config.theme,responsivePresets:z.config.responsivePresets,backgroundPresets:z.config.backgroundPresets});if(J.startsWith("/api/render/")){let Y=new URL(Z.url),W=J.slice(12).split("/"),j=W[0],U=W[1]||"default",_,Q=Y.searchParams.get("props");if(Q)try{_=JSON.parse(Q)}catch{}let D=z.storyFiles.find((L)=>L.id===j);if(!D)return new Response("Story not found",{status:404});try{let L=await Bz(z,D,U,_);return Response.json({html:L.html,css:L.css,js:L.js,errors:L.errors,duration:L.duration})}catch(L){return Response.json({html:"",css:"",js:"",errors:[L instanceof Error?L.message:String(L)],duration:0},{status:500})}}if(J==="/api/presets"&&Z.method==="GET")return Response.json({presets:$.getAllPresets()});if(J==="/api/presets"&&Z.method==="POST")try{let Y=await Z.json(),W=$.createPreset(Y.name,Y.props,{componentId:Y.componentId,description:Y.description});return await $.save(),Response.json(W)}catch(Y){return Response.json({error:String(Y)},{status:400})}if(J.startsWith("/api/presets/")&&!J.includes("/use")&&Z.method==="GET"){let Y=J.slice(13),W=$.getPreset(Y);if(!W)return new Response("Preset not found",{status:404});return Response.json(W)}if(J.endsWith("/use")&&Z.method==="POST"){let Y=J.slice(13,-4),W=$.usePreset(Y);if(!W)return new Response("Preset not found",{status:404});return await $.save(),Response.json(W)}if(J.startsWith("/api/presets/")&&Z.method==="DELETE"){let Y=J.slice(13);if(!$.deletePreset(Y))return new Response("Preset not found",{status:404});return await $.save(),Response.json({success:!0})}if(J==="/api/bookmarks"&&Z.method==="GET")return Response.json({bookmarks:X.getAllBookmarks()});if(J==="/api/bookmarks"&&Z.method==="POST")try{let Y=await Z.json(),W=X.addBookmark(Y.storyId,Y.variantId,Y.props,{name:Y.name,notes:Y.notes,color:Y.color});return await X.save(),Response.json(W)}catch(Y){return Response.json({error:String(Y)},{status:400})}if(J==="/api/bookmarks/toggle"&&Z.method==="POST")try{let Y=await Z.json(),W=X.toggleBookmark(Y.storyId,Y.variantId,Y.props);return await X.save(),Response.json(W)}catch(Y){return Response.json({error:String(Y)},{status:400})}if(J.startsWith("/api/bookmarks/")&&J!=="/api/bookmarks/toggle"&&Z.method==="GET"){let Y=J.slice(15),W=X.getBookmark(Y);if(!W)return new Response("Bookmark not found",{status:404});return Response.json(W)}if(J.startsWith("/api/bookmarks/")&&Z.method==="DELETE"){let Y=J.slice(15);if(!X.deleteBookmark(Y))return new Response("Bookmark not found",{status:404});return await X.save(),Response.json({success:!0})}if(J==="/api/analytics/track"&&Z.method==="POST")try{let Y=await Z.json();if(Y.type==="view"&&Y.componentId)B.trackView(Y.componentId,Y.variantId);else if(Y.type==="prop_change"&&Y.componentId&&Y.propName)B.trackPropChange(Y.componentId,Y.propName,null);else if(Y.type==="variant_switch"&&Y.componentId&&Y.variantId)B.trackVariantSwitch(Y.componentId,Y.variantId);else if(Y.type==="search"&&Y.query)B.trackSearch(Y.query,0);return await B.save(),Response.json({success:!0})}catch(Y){return Response.json({error:String(Y)},{status:400})}if(J==="/api/analytics/summary"&&Z.method==="GET")return Response.json({mostViewed:B.getMostViewedComponents(10),mostChangedProps:B.getMostChangedProps(10),searchAnalytics:B.getSearchAnalytics()});if(J.startsWith("/api/analytics/component/")&&Z.method==="GET"){let Y=J.slice(25),W=z.storyFiles.find((U)=>U.id===Y),j=B.getComponentAnalytics(Y,W?.fileName||Y);return Response.json(j)}return new Response("Not found",{status:404})}function kz(z,J,Z){let K=Sz(z,Z);return new Response(K,{headers:{"Content-Type":"text/html; charset=utf-8"}})}function Sz(z,J){let{theme:Z}=z.config,K=Z.title||"STX Story",$=`ws://localhost:${J}/__hmr`,X=r($);return`<!DOCTYPE html>
|
|
562
562
|
<html lang="en" class="${Z.darkClass||"dark"}">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ar as g,Bm as O,Ko as R,Qp as H,vq as x}from"./chunk-
|
|
2
|
+
import{Ar as g,Bm as O,Ko as R,Qp as H,vq as x}from"./chunk-yajazn0v.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
|
|
3
3
|
<template data-suspense-fallback>Loading...</template>
|
|
4
4
|
</div>`),w.set(Z.name,H(Z.content,j,q,G,$))}K.enqueue(`
|
|
5
5
|
<script>
|
|
@@ -18,7 +18,7 @@ catch (e) {
|
|
|
18
18
|
}
|
|
19
19
|
throw e;
|
|
20
20
|
}
|
|
21
|
-
`),U.set(X,q)}return q(...V)}catch{return}}};if(this.pool.length<this.maxPoolSize)this.pool.push({func:j,context:Q.slice()});return j}clear(){this.pool.length=0,this.fnCache.clear()}}var xQ=new AJ;class _J{metrics=new Map;budgets=new Map;violations=[];maxViolations=100;violationHandlers=[];enabled=!0;setEnabled(J){this.enabled=J}isEnabled(){return this.enabled}setBudget(J,Q){this.budgets.set(J,{warnThreshold:0.8,action:"warn",...Q})}setBudgets(J){for(let[Q,Z]of Object.entries(J))this.setBudget(Q,Z)}removeBudget(J){this.budgets.delete(J)}getBudgets(){let J={};for(let[Q,Z]of this.budgets.entries())J[Q]=Z;return J}onViolation(J){this.violationHandlers.push(J)}offViolation(J){let Q=this.violationHandlers.indexOf(J);if(Q!==-1)this.violationHandlers.splice(Q,1)}time(J,Q){if(!this.enabled)return Q();let Z=performance.now(),$=Q(),U=performance.now()-Z;return this.recordTime(J,U),this.checkBudget(J,U),$}async timeAsync(J,Q){if(!this.enabled)return Q();let Z=performance.now(),$=await Q(),U=performance.now()-Z;return this.recordTime(J,U),this.checkBudget(J,U),$}checkBudget(J,Q){let Z=this.budgets.get(J);if(!Z)return;let $=Q/Z.maxTime*100,U=Z.warnThreshold!==void 0?Q>=Z.maxTime*Z.warnThreshold&&Q<Z.maxTime:!1,F=Q>=Z.maxTime;if(!U&&!F)return;let j={label:J,actualTime:Q,budgetTime:Z.maxTime,exceedancePercent:$,timestamp:new Date,isWarning:U};this.violations.push(j);while(this.violations.length>this.maxViolations)this.violations.shift();for(let W of this.violationHandlers)try{W(j)}catch{}let V=U?`[Performance Warning] "${J}" took ${Q.toFixed(2)}ms (${$.toFixed(1)}% of ${Z.maxTime}ms budget)`:`[Performance Budget Exceeded] "${J}" took ${Q.toFixed(2)}ms (exceeded ${Z.maxTime}ms budget by ${($-100).toFixed(1)}%)`;switch(Z.action){case"log":console.log(V);break;case"warn":console.warn(V);break;case"error":console.error(V);break;case"throw":if(F)throw Error(V);else console.warn(V);break}}recordTime(J,Q){let Z=this.metrics.get(J);if(Z)Z.count++,Z.totalTime+=Q,Z.maxTime=Math.max(Z.maxTime,Q),Z.minTime=Math.min(Z.minTime,Q);else this.metrics.set(J,{count:1,totalTime:Q,maxTime:Q,minTime:Q})}getStats(J){if(J){let Z=this.metrics.get(J);if(!Z)return{};let $=this.budgets.get(J);return{count:Z.count,avgTime:Z.totalTime/Z.count,totalTime:Z.totalTime,maxTime:Z.maxTime,minTime:Z.minTime,budget:$?.maxTime,budgetUtilization:$?Z.totalTime/Z.count/$.maxTime*100:void 0}}let Q={};for(let[Z,$]of this.metrics.entries()){let U=this.budgets.get(Z);Q[Z]={count:$.count,avgTime:$.totalTime/$.count,totalTime:$.totalTime,maxTime:$.maxTime,minTime:$.minTime,budget:U?.maxTime,budgetUtilization:U?$.totalTime/$.count/U.maxTime*100:void 0}}return Q}getViolations(J){if(J)return this.violations.filter((Q)=>Q.label===J);return[...this.violations]}getViolationStats(){let J={},Q=0,Z=0;for(let $ of this.violations)if(J[$.label]=(J[$.label]||0)+1,$.isWarning)Q++;else Z++;return{total:this.violations.length,byLabel:J,warnings:Q,errors:Z}}clear(){this.metrics.clear()}clearViolations(){this.violations.length=0}clearBudgets(){this.budgets.clear()}reset(){this.clear(),this.clearViolations(),this.clearBudgets(),this.violationHandlers.length=0}}var a=null;function ZQ(){if(!a)a=new _J;return a}var EQ=new Proxy({},{get(J,Q){return ZQ()[Q]}});var RJ=[];function TJ(J){let Q=new s(J);return RJ.push(Q),Q}function CQ(){for(let J of RJ)J.clear()}function t(J,...Q){return`${Q.map((Z)=>String(Z??"")).join("\x00")}\x00${J.length}\x00${Bun.hash(J)}`}function gQ(J){let Q=[];for(let Z of new Set(J))try{Q.push({path:Z,mtimeMs:vJ.statSync(Z).mtimeMs})}catch{}return Q}function uQ(J){for(let Q of J)try{if(vJ.statSync(Q.path).mtimeMs!==Q.mtimeMs)return!1}catch{return!1}return!0}var B=null,JJ=!1,D=null,_="",M=!1,yJ=256,I=new Map,H=new Map,T=null,fJ=null,b=new Map;function k(J){return Bun.hash(J).toString(16).padStart(16,"0").slice(0,16)}function e(J,Q){if(I.has(J))I.delete(J);else if(I.size>=yJ)I.delete(I.keys().next().value);I.set(J,Q)}function UQ(J){let Q=k(J);if(H.has(Q))H.delete(Q);else if(H.size>=yJ)H.delete(H.keys().next().value);return H.set(Q,J),Q}function lQ(J){let Q=H.get(J);if(Q===void 0)return;return H.delete(J),H.set(J,Q),Q}async function FQ(J,Q=T){if(!Q)return null;try{let Z=Bun.file(G.join(Q,`cw-${k(J)}.css`));if(!await Z.exists())return null;return await Z.text()}catch{return null}}async function jQ(J,Q,Z=T){if(!Z)return;try{if(!fs.existsSync(Z))fs.mkdirSync(Z,{recursive:!0});await Bun.write(G.join(Z,`cw-${k(J)}.css`),Q)}catch{}}async function kJ(J){try{let Q=await import(J);if(Q&&Q.CSSGenerator)return{CSSGenerator:Q.CSSGenerator,config:Q.config,build:Q.build,defaultConfig:Q.defaultConfig,extractClasses:Q.extractClasses}}catch{}return null}var WQ=[["@stacksjs","ts-css","dist","engine","index.js"],["@stacksjs","ts-css","src","engine","index.ts"]],XQ=["@stacksjs/ts-css/engine","@stacksjs/ts-css/dist/engine/index.js"];function VQ(){let J=[],Q=process.cwd();while(Q!==G.dirname(Q)){for(let Z of["node_modules","pantry"])for(let $ of WQ)J.push(G.join(Q,Z,...$));Q=G.dirname(Q)}return J}function qQ(){let J=[],Q=process.env.HOME||process.env.USERPROFILE||"",Z=[Q&&G.join(Q,"Code","Tools","ts-css"),Q&&G.join(Q,"Code","Tools","crosswind"),Q&&G.join(Q,"repos","stacks-org","ts-css"),Q&&G.join(Q,"repos","stacks-org","crosswind"),G.join(process.cwd(),"..","ts-css"),G.join(process.cwd(),"..","crosswind")].filter(Boolean);for(let $ of Z)J.push(G.join($,"packages","toolkit","dist","engine","index.js")),J.push(G.join($,"packages","toolkit","src","engine","index.ts"));if(Q)J.push(G.join(Q,"Code","Tools","stx","node_modules","@stacksjs","ts-css","dist","engine","index.js"));return J}async function CJ(){if(JJ)return B;JJ=!0;try{let J=async(U)=>{for(let F of U){if(!await Bun.file(F).exists())continue;let j=await kJ(F);if(j){if(!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} CSS engine loaded from ${G.dirname(G.dirname(F))}`);return j}}return null};if(process.env.CROSSWIND_SRC){let U=G.resolve(process.env.CROSSWIND_SRC),F=await J([U]);if(!F)throw Error(`CROSSWIND_SRC did not resolve to a Css module: ${U}`);return B=F,B}let Q=await J(VQ());if(Q)return B=Q,B;let Z=XQ;for(let U of Z){let F=await kJ(U);if(F){if(B=F,!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} CSS engine loaded`);return B}}let $=await J(qQ());if($)return B=$,B;throw Error("Css CSSGenerator not found in any location")}catch{return console.warn(`${Y.yellow}[ts-css] CSS engine not available, Tailwind styles will not be generated${Y.reset}`),console.warn(`${Y.yellow}Run 'bun add @stacksjs/ts-css' to enable CSS generation${Y.reset}`),null}}function oQ(){QJ.clear(),B=null,JJ=!1,D=null,_="",I.clear(),H.clear(),fJ=null,b.clear()}var xJ=!1;async function gJ(J){try{let Q=bJ({name:"css",cwd:J})?"css":bJ({name:"crosswind",cwd:J})?"crosswind":null;if(!Q)return null;if(Q==="crosswind"&&!process.env.STACKS_DEV_QUIET&&!xJ)xJ=!0,console.warn(`${Y.yellow}[ts-css]${Y.reset} Reading the CSS config from a \`crosswind\` file. Rename it to \`css\` (e.g. config/css.ts) \u2014 the old name is deprecated.`);let{loadConfigWithResult:Z}=await import("bunfig"),$=await Z({name:Q,cwd:J,defaultConfig:{},checkEnv:!1,verbose:!1});if(!$?.path||!$.config||Object.keys($.config).length===0)return null;let U=G.relative(J,$.path);if(!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} Loaded config from ${U||$.path}`);return $.config}catch(Q){if(Q instanceof Error&&Q.name==="ConfigNotFoundError")return null;return console.warn(`${Y.yellow}[ts-css]${Y.reset} Failed to load css config:`,Q instanceof Error?Q.message:Q),null}}async function zQ(J){let Q=null;try{let{loadStxConfig:Z}=await import("./chunk-nkv0yh89.js"),$=await Z(J);if($.css)if(typeof $.css==="string"){let U=G.isAbsolute($.css)?$.css:G.resolve(J,$.css);if(await Bun.file(U).exists()){let F=await import(U);Q=F.default||F,console.log(`${Y.green}[ts-css]${Y.reset} Loaded config from stx.config.ts \u2192 ${$.css}`)}}else{if(Q={...$.css,content:$.css.content||[],preflight:$.css.preflight??!0,minify:$.css.minify??!1},$.css.config){let U=G.isAbsolute($.css.config)?$.css.config:G.resolve(J,$.css.config);if(await Bun.file(U).exists()){let F=await import(U);Q={...F.default||F,...Q}}}console.log(`${Y.green}[ts-css]${Y.reset} Using inline CSS config from stx.config.ts`)}}catch{}return Q||await gJ(J)}function GQ(J){try{let Q=new WeakSet;return k(JSON.stringify(J??{},(Z,$)=>{if(typeof $==="function")return`[fn]${String($)}`;if(typeof $==="object"&&$!==null){if(Q.has($))return"[circular]";Q.add($)}return $})??"")}catch{return"unhashable"}}async function YQ(J){if(M)return _;M=!0;try{let Q=await CJ();if(!Q||!Q.build)return M=!1,"";if(!D)D=await gJ(J);if(!D)return M=!1,"";let Z=Q.defaultConfig?.theme||{},$=D.theme||{},U={...Q.defaultConfig,...D,theme:{...Z,...$,extend:{...Z.extend||{},...$.extend||{}}}},F=performance.now(),j=await Q.build(U),V=performance.now()-F;if(_=j.css,console.log(`${Y.cyan}[ts-css]${Y.reset} Built ${j.classes.size} classes in ${V.toFixed(1)}ms`),U.output){let W=G.isAbsolute(U.output)?U.output:G.join(J,U.output),X=G.dirname(W);if(!fs.existsSync(X))fs.mkdirSync(X,{recursive:!0});await Bun.write(W,j.css)}return M=!1,j.css}catch(Q){return console.error(`${Y.red}[ts-css]${Y.reset} Build error:`,Q),M=!1,_}}async function aQ(J){D=null,await YQ(J)}function sQ(){return _}function wQ(J){let Q=new Set,Z=/class\s*=\s*["']([^"']+)["']/gi,$=Z.exec(J);while($!==null){for(let j of $[1].split(/\s+/))if(j.trim())Q.add(j.trim());$=Z.exec(J)}let U=/(?:x-class|:class)\s*=\s*"([^"]+)"/gi,F=U.exec(J);while(F!==null){let j=F[1].match(/'([^']+)'/g);if(j){for(let V of j)for(let W of V.slice(1,-1).split(/\s+/))if(W.trim())Q.add(W.trim())}F=U.exec(J)}return Q}var QJ=TJ(64);async function LQ(J,Q){let Z=()=>b.get(Q?G.resolve(Q):process.cwd())?.fingerprint??null,$=QJ.get(t(J,Q,Z()));if($!==void 0)return $;let U=await BQ(J,Q);if(U)QJ.set(t(J,Q,Z()),U);return U}async function BQ(J,Q){try{let Z=await CJ();if(!Z)return"";let $=typeof Z.extractClasses==="function"?Z.extractClasses(J):wQ(J);if($.size===0)return"";let U=Q?G.resolve(Q):process.cwd(),F=SJ(U,"cache");if(!T)T=F;let j=b.get(U);if(!j){let L=await zQ(U);j={config:L,fingerprint:GQ(L)},b.set(U,j),fJ=j.fingerprint}let V=[...$].sort().join(" "),W=`${j.fingerprint||"default"}::${V}`,X=I.get(W);if(X!==void 0)return e(W,X),X;let q=await FQ(W,F);if(q!==null)return e(W,q),q;let z=Z.defaultConfig||Z.config,w=j.config||{},O=YJ(z,w),{safelist:K,includePreflight:$J,minify:ZJ,tokenCSS:uJ}=O,x=O.config,E=new Z.CSSGenerator(x),S=x.shortcuts||w.shortcuts||{},UJ=Object.keys(S).filter((L)=>$.has(L)||K.includes(L));for(let L of K)if(!S[L])E.generate(L);for(let L of $)if(!S[L])E.generate(L);let P="";if(UJ.length>0){let L=new Z.CSSGenerator(x);for(let dJ of UJ)L.generate(dJ);if(P=L.toCSS(!1,ZJ),P&&!P.endsWith(`
|
|
21
|
+
`),U.set(X,q)}return q(...V)}catch{return}}};if(this.pool.length<this.maxPoolSize)this.pool.push({func:j,context:Q.slice()});return j}clear(){this.pool.length=0,this.fnCache.clear()}}var xQ=new AJ;class _J{metrics=new Map;budgets=new Map;violations=[];maxViolations=100;violationHandlers=[];enabled=!0;setEnabled(J){this.enabled=J}isEnabled(){return this.enabled}setBudget(J,Q){this.budgets.set(J,{warnThreshold:0.8,action:"warn",...Q})}setBudgets(J){for(let[Q,Z]of Object.entries(J))this.setBudget(Q,Z)}removeBudget(J){this.budgets.delete(J)}getBudgets(){let J={};for(let[Q,Z]of this.budgets.entries())J[Q]=Z;return J}onViolation(J){this.violationHandlers.push(J)}offViolation(J){let Q=this.violationHandlers.indexOf(J);if(Q!==-1)this.violationHandlers.splice(Q,1)}time(J,Q){if(!this.enabled)return Q();let Z=performance.now(),$=Q(),U=performance.now()-Z;return this.recordTime(J,U),this.checkBudget(J,U),$}async timeAsync(J,Q){if(!this.enabled)return Q();let Z=performance.now(),$=await Q(),U=performance.now()-Z;return this.recordTime(J,U),this.checkBudget(J,U),$}checkBudget(J,Q){let Z=this.budgets.get(J);if(!Z)return;let $=Q/Z.maxTime*100,U=Z.warnThreshold!==void 0?Q>=Z.maxTime*Z.warnThreshold&&Q<Z.maxTime:!1,F=Q>=Z.maxTime;if(!U&&!F)return;let j={label:J,actualTime:Q,budgetTime:Z.maxTime,exceedancePercent:$,timestamp:new Date,isWarning:U};this.violations.push(j);while(this.violations.length>this.maxViolations)this.violations.shift();for(let W of this.violationHandlers)try{W(j)}catch{}let V=U?`[Performance Warning] "${J}" took ${Q.toFixed(2)}ms (${$.toFixed(1)}% of ${Z.maxTime}ms budget)`:`[Performance Budget Exceeded] "${J}" took ${Q.toFixed(2)}ms (exceeded ${Z.maxTime}ms budget by ${($-100).toFixed(1)}%)`;switch(Z.action){case"log":console.log(V);break;case"warn":console.warn(V);break;case"error":console.error(V);break;case"throw":if(F)throw Error(V);else console.warn(V);break}}recordTime(J,Q){let Z=this.metrics.get(J);if(Z)Z.count++,Z.totalTime+=Q,Z.maxTime=Math.max(Z.maxTime,Q),Z.minTime=Math.min(Z.minTime,Q);else this.metrics.set(J,{count:1,totalTime:Q,maxTime:Q,minTime:Q})}getStats(J){if(J){let Z=this.metrics.get(J);if(!Z)return{};let $=this.budgets.get(J);return{count:Z.count,avgTime:Z.totalTime/Z.count,totalTime:Z.totalTime,maxTime:Z.maxTime,minTime:Z.minTime,budget:$?.maxTime,budgetUtilization:$?Z.totalTime/Z.count/$.maxTime*100:void 0}}let Q={};for(let[Z,$]of this.metrics.entries()){let U=this.budgets.get(Z);Q[Z]={count:$.count,avgTime:$.totalTime/$.count,totalTime:$.totalTime,maxTime:$.maxTime,minTime:$.minTime,budget:U?.maxTime,budgetUtilization:U?$.totalTime/$.count/U.maxTime*100:void 0}}return Q}getViolations(J){if(J)return this.violations.filter((Q)=>Q.label===J);return[...this.violations]}getViolationStats(){let J={},Q=0,Z=0;for(let $ of this.violations)if(J[$.label]=(J[$.label]||0)+1,$.isWarning)Q++;else Z++;return{total:this.violations.length,byLabel:J,warnings:Q,errors:Z}}clear(){this.metrics.clear()}clearViolations(){this.violations.length=0}clearBudgets(){this.budgets.clear()}reset(){this.clear(),this.clearViolations(),this.clearBudgets(),this.violationHandlers.length=0}}var a=null;function ZQ(){if(!a)a=new _J;return a}var EQ=new Proxy({},{get(J,Q){return ZQ()[Q]}});var RJ=[];function TJ(J){let Q=new s(J);return RJ.push(Q),Q}function CQ(){for(let J of RJ)J.clear()}function t(J,...Q){return`${Q.map((Z)=>String(Z??"")).join("\x00")}\x00${J.length}\x00${Bun.hash(J)}`}function gQ(J){let Q=[];for(let Z of new Set(J))try{Q.push({path:Z,mtimeMs:vJ.statSync(Z).mtimeMs})}catch{}return Q}function uQ(J){for(let Q of J)try{if(vJ.statSync(Q.path).mtimeMs!==Q.mtimeMs)return!1}catch{return!1}return!0}var B=null,JJ=!1,D=null,_="",M=!1,yJ=256,I=new Map,H=new Map,T=null,fJ=null,b=new Map;function k(J){return Bun.hash(J).toString(16).padStart(16,"0").slice(0,16)}function e(J,Q){if(I.has(J))I.delete(J);else if(I.size>=yJ)I.delete(I.keys().next().value);I.set(J,Q)}function UQ(J){let Q=k(J);if(H.has(Q))H.delete(Q);else if(H.size>=yJ)H.delete(H.keys().next().value);return H.set(Q,J),Q}function lQ(J){let Q=H.get(J);if(Q===void 0)return;return H.delete(J),H.set(J,Q),Q}async function FQ(J,Q=T){if(!Q)return null;try{let Z=Bun.file(G.join(Q,`cw-${k(J)}.css`));if(!await Z.exists())return null;return await Z.text()}catch{return null}}async function jQ(J,Q,Z=T){if(!Z)return;try{if(!fs.existsSync(Z))fs.mkdirSync(Z,{recursive:!0});await Bun.write(G.join(Z,`cw-${k(J)}.css`),Q)}catch{}}async function kJ(J){try{let Q=await import(J);if(Q&&Q.CSSGenerator)return{CSSGenerator:Q.CSSGenerator,config:Q.config,build:Q.build,defaultConfig:Q.defaultConfig,extractClasses:Q.extractClasses}}catch{}return null}var WQ=[["@stacksjs","ts-css","dist","engine","index.js"],["@stacksjs","ts-css","src","engine","index.ts"]],XQ=["@stacksjs/ts-css/engine","@stacksjs/ts-css/dist/engine/index.js"];function VQ(){let J=[],Q=process.cwd();while(Q!==G.dirname(Q)){for(let Z of["node_modules","pantry"])for(let $ of WQ)J.push(G.join(Q,Z,...$));Q=G.dirname(Q)}return J}function qQ(){let J=[],Q=process.env.HOME||process.env.USERPROFILE||"",Z=[Q&&G.join(Q,"Code","Tools","ts-css"),Q&&G.join(Q,"Code","Tools","crosswind"),Q&&G.join(Q,"repos","stacks-org","ts-css"),Q&&G.join(Q,"repos","stacks-org","crosswind"),G.join(process.cwd(),"..","ts-css"),G.join(process.cwd(),"..","crosswind")].filter(Boolean);for(let $ of Z)J.push(G.join($,"packages","toolkit","dist","engine","index.js")),J.push(G.join($,"packages","toolkit","src","engine","index.ts"));if(Q)J.push(G.join(Q,"Code","Tools","stx","node_modules","@stacksjs","ts-css","dist","engine","index.js"));return J}async function CJ(){if(JJ)return B;JJ=!0;try{let J=async(U)=>{for(let F of U){if(!await Bun.file(F).exists())continue;let j=await kJ(F);if(j){if(!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} CSS engine loaded from ${G.dirname(G.dirname(F))}`);return j}}return null};if(process.env.CROSSWIND_SRC){let U=G.resolve(process.env.CROSSWIND_SRC),F=await J([U]);if(!F)throw Error(`CROSSWIND_SRC did not resolve to a Css module: ${U}`);return B=F,B}let Q=await J(VQ());if(Q)return B=Q,B;let Z=XQ;for(let U of Z){let F=await kJ(U);if(F){if(B=F,!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} CSS engine loaded`);return B}}let $=await J(qQ());if($)return B=$,B;throw Error("Css CSSGenerator not found in any location")}catch{return console.warn(`${Y.yellow}[ts-css] CSS engine not available, Tailwind styles will not be generated${Y.reset}`),console.warn(`${Y.yellow}Run 'bun add @stacksjs/ts-css' to enable CSS generation${Y.reset}`),null}}function oQ(){QJ.clear(),B=null,JJ=!1,D=null,_="",I.clear(),H.clear(),fJ=null,b.clear()}var xJ=!1;async function gJ(J){try{let Q=bJ({name:"css",cwd:J})?"css":bJ({name:"crosswind",cwd:J})?"crosswind":null;if(!Q)return null;if(Q==="crosswind"&&!process.env.STACKS_DEV_QUIET&&!xJ)xJ=!0,console.warn(`${Y.yellow}[ts-css]${Y.reset} Reading the CSS config from a \`crosswind\` file. Rename it to \`css\` (e.g. config/css.ts) \u2014 the old name is deprecated.`);let{loadConfigWithResult:Z}=await import("bunfig"),$=await Z({name:Q,cwd:J,defaultConfig:{},checkEnv:!1,verbose:!1});if(!$?.path||!$.config||Object.keys($.config).length===0)return null;let U=G.relative(J,$.path);if(!process.env.STACKS_DEV_QUIET)console.log(`${Y.green}[ts-css]${Y.reset} Loaded config from ${U||$.path}`);return $.config}catch(Q){if(Q instanceof Error&&Q.name==="ConfigNotFoundError")return null;return console.warn(`${Y.yellow}[ts-css]${Y.reset} Failed to load css config:`,Q instanceof Error?Q.message:Q),null}}async function zQ(J){let Q=null;try{let{loadStxConfig:Z}=await import("./chunk-vw0vkkwf.js"),$=await Z(J);if($.css)if(typeof $.css==="string"){let U=G.isAbsolute($.css)?$.css:G.resolve(J,$.css);if(await Bun.file(U).exists()){let F=await import(U);Q=F.default||F,console.log(`${Y.green}[ts-css]${Y.reset} Loaded config from stx.config.ts \u2192 ${$.css}`)}}else{if(Q={...$.css,content:$.css.content||[],preflight:$.css.preflight??!0,minify:$.css.minify??!1},$.css.config){let U=G.isAbsolute($.css.config)?$.css.config:G.resolve(J,$.css.config);if(await Bun.file(U).exists()){let F=await import(U);Q={...F.default||F,...Q}}}console.log(`${Y.green}[ts-css]${Y.reset} Using inline CSS config from stx.config.ts`)}}catch{}return Q||await gJ(J)}function GQ(J){try{let Q=new WeakSet;return k(JSON.stringify(J??{},(Z,$)=>{if(typeof $==="function")return`[fn]${String($)}`;if(typeof $==="object"&&$!==null){if(Q.has($))return"[circular]";Q.add($)}return $})??"")}catch{return"unhashable"}}async function YQ(J){if(M)return _;M=!0;try{let Q=await CJ();if(!Q||!Q.build)return M=!1,"";if(!D)D=await gJ(J);if(!D)return M=!1,"";let Z=Q.defaultConfig?.theme||{},$=D.theme||{},U={...Q.defaultConfig,...D,theme:{...Z,...$,extend:{...Z.extend||{},...$.extend||{}}}},F=performance.now(),j=await Q.build(U),V=performance.now()-F;if(_=j.css,console.log(`${Y.cyan}[ts-css]${Y.reset} Built ${j.classes.size} classes in ${V.toFixed(1)}ms`),U.output){let W=G.isAbsolute(U.output)?U.output:G.join(J,U.output),X=G.dirname(W);if(!fs.existsSync(X))fs.mkdirSync(X,{recursive:!0});await Bun.write(W,j.css)}return M=!1,j.css}catch(Q){return console.error(`${Y.red}[ts-css]${Y.reset} Build error:`,Q),M=!1,_}}async function aQ(J){D=null,await YQ(J)}function sQ(){return _}function wQ(J){let Q=new Set,Z=/class\s*=\s*["']([^"']+)["']/gi,$=Z.exec(J);while($!==null){for(let j of $[1].split(/\s+/))if(j.trim())Q.add(j.trim());$=Z.exec(J)}let U=/(?:x-class|:class)\s*=\s*"([^"]+)"/gi,F=U.exec(J);while(F!==null){let j=F[1].match(/'([^']+)'/g);if(j){for(let V of j)for(let W of V.slice(1,-1).split(/\s+/))if(W.trim())Q.add(W.trim())}F=U.exec(J)}return Q}var QJ=TJ(64);async function LQ(J,Q){let Z=()=>b.get(Q?G.resolve(Q):process.cwd())?.fingerprint??null,$=QJ.get(t(J,Q,Z()));if($!==void 0)return $;let U=await BQ(J,Q);if(U)QJ.set(t(J,Q,Z()),U);return U}async function BQ(J,Q){try{let Z=await CJ();if(!Z)return"";let $=typeof Z.extractClasses==="function"?Z.extractClasses(J):wQ(J);if($.size===0)return"";let U=Q?G.resolve(Q):process.cwd(),F=SJ(U,"cache");if(!T)T=F;let j=b.get(U);if(!j){let L=await zQ(U);j={config:L,fingerprint:GQ(L)},b.set(U,j),fJ=j.fingerprint}let V=[...$].sort().join(" "),W=`${j.fingerprint||"default"}::${V}`,X=I.get(W);if(X!==void 0)return e(W,X),X;let q=await FQ(W,F);if(q!==null)return e(W,q),q;let z=Z.defaultConfig||Z.config,w=j.config||{},O=YJ(z,w),{safelist:K,includePreflight:$J,minify:ZJ,tokenCSS:uJ}=O,x=O.config,E=new Z.CSSGenerator(x),S=x.shortcuts||w.shortcuts||{},UJ=Object.keys(S).filter((L)=>$.has(L)||K.includes(L));for(let L of K)if(!S[L])E.generate(L);for(let L of $)if(!S[L])E.generate(L);let P="";if(UJ.length>0){let L=new Z.CSSGenerator(x);for(let dJ of UJ)L.generate(dJ);if(P=L.toCSS(!1,ZJ),P&&!P.endsWith(`
|
|
22
22
|
`))P+=`
|
|
23
23
|
`}let A=P+E.toCSS($J,ZJ);return A=uJ+A,e(W,A),jQ(W,A,F),A}catch(Z){return console.warn("Failed to generate Css CSS:",Z),""}}async function tQ(J,Q,Z=!1,$=!1){let U=await LQ(J,Q);if(!U)return $?o(J):J;let F=Z?`<link data-css="generated" rel="stylesheet" href="/_stx/css.${UQ(U)}.css">`:`<style data-css="generated">
|
|
24
24
|
${U}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Np as b,Op as c,Pp as d,Qp as e,no as a}from"./chunk-
|
|
2
|
+
import{Np as b,Op as c,Pp as d,Qp as e,no as a}from"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{d as validateClientScript,c as processOnceDirective,b as processJsonDirective,e as processDirectives,a as injectRouterScript};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Lt as a,Mt as b}from"./chunk-
|
|
2
|
+
import{Lt as a,Mt as b}from"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-n0hrb3ek.js";export{a as prepareRuntimeConfig,b as generateRuntimeConfigTypes};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ki as O,Li as w,Mi as Z}from"./chunk-ra1s4s6b.js";import{_k as R,fl as U,ll as T}from"./chunk-
|
|
2
|
+
import{Ki as O,Li as w,Mi as Z}from"./chunk-ra1s4s6b.js";import{_k as R,fl as U,ll as T}from"./chunk-hcx4qbq2.js";import{Ao as W,Cr as C,bm as M,kq as k}from"./chunk-yajazn0v.js";import{xv as E,yv as L}from"./chunk-y9f2csr0.js";import{Cv as B}from"./chunk-8hqayvjh.js";import $ from"path";var Y=new Map;function b(Q,z){for(let J of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(J[1])z.add(J[1]);for(let J of Q.matchAll(/\b(?:const|let|var)\s*\{([^{}]*)\}\s*=/g))for(let H of(J[1]??"").split(",")){let K=((H.includes(":")?H.split(":").pop():H)??"").replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(K))z.add(K)}for(let J of Q.matchAll(/\b(?:const|let|var)\s*\[([^\]]*)\]\s*=/g))for(let H of(J[1]??"").split(",")){let V=H.replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(V))z.add(V)}}async function l(Q){let z;if(Q)z=$.resolve(Q);else{let q=await C();z=$.resolve(q.root||process.cwd(),q.storesDir||"stores")}let J=new Bun.Glob("*.ts"),H=[];try{for await(let q of J.scan({cwd:z,absolute:!0})){let y=$.basename(q,".ts");if(["index","types"].includes(y))continue;if(q.includes(".d.ts"))continue;H.push(q)}}catch{return Z(Y,z,"",""),null}let V=()=>[...new Set([...H,...H.flatMap((q)=>R(q))])],K=O(V()),P=w(Y,z,K);if(P!==void 0)return P||null;if(H.length===0)return Z(Y,z,K,""),null;let A=[];for(let q of H){let y=await Bun.file(q).text();A.push({file:q,hasUseStore:/useStore\s*\(/.test(y)})}A.sort((q,y)=>{if(q.hasUseStore===y.hasUseStore)return 0;return q.hasUseStore?1:-1});let N=A.map((q)=>q.file),G=[],X=new Set,F=k({loader:"ts",target:"browser",define:M()});for(let q of N)try{let y=await Bun.file(q).text(),I=$.basename(q,".ts");if(b(y,X),U(y))y=await T(y,q,{projectRoot:process.cwd(),externalizeUserModules:!1});y=W(y),y=E(y),y=L(y),y=y.replace(/^export\s+(default\s+)?/gm,""),y=F.transformSync(y),G.push(`// Store: ${I}
|
|
3
3
|
${y.trim()}`)}catch(y){console.warn(`[stx] Failed to load store ${q}:`,y)}if(G.length===0)return Z(Y,z,K,""),null;let j=G.join(`
|
|
4
4
|
|
|
5
5
|
`),x=`;(function(){
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ao as m,oo as a,po as b,qo as c,ro as d,so as e,to as f,uo as g,vo as h,wo as i,xo as j,yo as k,zo as l}from"./chunk-
|
|
2
|
+
import{Ao as m,oo as a,po as b,qo as c,ro as d,so as e,to as f,uo as g,vo as h,wo as i,xo as j,yo as k,zo as l}from"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.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};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ki as T,Li as u,Mi as A}from"./chunk-ra1s4s6b.js";import{_k as g,fl as h,ll as b}from"./chunk-
|
|
2
|
+
import{Ki as T,Li as u,Mi as A}from"./chunk-ra1s4s6b.js";import{_k as g,fl as h,ll as b}from"./chunk-hcx4qbq2.js";import{Ao as f,Cr as I,bm as k,kq as B}from"./chunk-yajazn0v.js";import{xv as D,yv as S}from"./chunk-y9f2csr0.js";import{Cv as F}from"./chunk-8hqayvjh.js";import P from"path";var j=new Map,K=new Map,n=["composables","functions"];function p(z){let H=P.basename(z,".ts");return H==="index"||H==="types"||z.endsWith(".d.ts")}async function r(z){if(z)return P.resolve(z);let H=`<default>:${process.cwd()}`,Y=K.get(H);if(Y!==void 0)return Y;let J=await l();if(J!==null)K.set(H,J);return J}async function l(){let z=await I(),H=z.root||process.cwd(),Y=z.composablesDir;if(Y)return P.resolve(H,Y);for(let J of n){let V=P.resolve(H,J);try{let Z=new Bun.Glob("**/*.ts");for await(let W of Z.scan({cwd:V,absolute:!0}))if(!p(W))return V}catch{}}return null}async function m(z){let H=Array.isArray(z)?z:z?[P.resolve(z)]:(await I())._layerComposableDirs??[await r()].filter((J)=>!!J),Y=new Map;for(let J of H){let V=new Bun.Glob("**/*.ts");try{for await(let Z of V.scan({cwd:J,absolute:!0})){let W=P.relative(J,Z);if(!p(Z)&&!Y.has(W))Y.set(W,Z)}}catch{}}return{key:H.join("\x00"),files:[...Y.values()].sort()}}async function Wq(z){let{files:H}=await m(z),Y=B({loader:"ts",target:"browser",define:k()}),J=[];for(let V of H)try{let Z=await Bun.file(V).text(),W=Y.scan(Z).exports.filter((G)=>G!=="default");if(W.length>0)J.push({file:V,names:W})}catch{}return J}function c(z,H){return new RegExp(`\\b${H.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`).test(z)}function a(z,H,Y){let J=new Map;for(let{file:G,names:$}of z)for(let O of $)if(!J.has(O))J.set(O,G);let V=(G)=>{let $=[];for(let[O,w]of J)if(c(G,O))$.push(w);return $},Z=new Set,W=Y.flatMap(V);while(W.length>0){let G=[];for(let $ of W){if(Z.has($))continue;Z.add($);for(let O of V(H.get($)??""))if(!Z.has(O))G.push(O)}W=G}return Z}async function Yq(z,H,Y){let{key:J,files:V}=await m(z);if(!J)return null;let Z=()=>[...new Set([...V,...V.flatMap((q)=>g(q))])],W=T(Z());if(V.length===0)return A(j,J,W,""),null;V.sort();let G=B({loader:"ts",target:"browser",define:k()}),$=new Map,O=[];for(let q of V)try{let Q=await Bun.file(q).text();$.set(q,Q);let U=G.scan(Q).exports.filter((X)=>X!=="default");if(U.length>0)O.push({file:q,names:U})}catch{$.set(q,"")}let w=H===void 0?new Set(V):a(O,$,Y?[H,...Y]:[H]);if(w.size===0)return null;let _=V.filter((q)=>w.has(q)),M=`${J}\x00${_.join("\x00")}`,v=u(j,M,W);if(v!==void 0)return v||null;let R=[],L=new Set,C=new Set;for(let q of _)try{let Q=$.get(q)??await Bun.file(q).text(),U=P.basename(q,".ts");for(let X of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(X[1])C.add(X[1]);try{for(let X of G.scan(Q).exports)if(X!=="default")L.add(X)}catch{}if(Q=D(Q),h(Q))Q=await b(Q,q,{projectRoot:process.cwd(),externalizeUserModules:!1}),Q=f(Q);Q=S(Q),Q=Q.replace(/^export\s+(default\s+)?/gm,""),Q=G.transformSync(Q),R.push(`// Composable: ${U}
|
|
3
3
|
${Q.trim()}`)}catch(Q){console.warn(`[stx] Failed to load composable ${q}:`,Q)}if(R.length===0||L.size===0)return A(j,M,W,""),null;let t=[...L].map((q)=>` try { if (!(${JSON.stringify(q)} in __c)) __c[${JSON.stringify(q)}] = ${q}; } catch (e) {}`).join(`
|
|
4
4
|
`),N=JSON.stringify([...L]),E=R.join(`
|
|
5
5
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Bm as b}from"./chunk-
|
|
2
|
+
import{Bm as b}from"./chunk-yajazn0v.js";import{rv as L,vv as R}from"./chunk-3ha78evt.js";function P(j,U){let Q=1,J=U,B="<template",z="</template";while(J<j.length&&Q>0){let G=j.indexOf("<",J);if(G===-1)break;if(J=G,j.startsWith(B,J)&&(J+B.length>=j.length||/[\s>\/]/.test(j[J+B.length]))){Q++,J+=B.length;continue}if(j.startsWith(z,J)){let W=j.indexOf(">",J+z.length);if(W!==-1){if(Q--,Q===0)return W+1;J=W+1;continue}}J++}return Q===0?J:-1}var F=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function O(j,U){let Q=null;for(let J=U;J<j.length;J++){let B=j[J];if(Q){if(B==="\\"){J++;continue}if(B===Q)Q=null;continue}if(B==='"'||B==="'"){Q=B;continue}if(B===">")return J+1}return-1}function I(j,U,Q){let J=U.toLowerCase(),B=1,z=Q;while(z<j.length){let G=j.indexOf("<",z);if(G===-1)return-1;if(j.startsWith("<!--",G)){let $=j.indexOf("-->",G+4);z=$===-1?j.length:$+3;continue}let W=O(j,G+1);if(W===-1)return-1;let Z=j.slice(G,W),Y=Z.match(/^<\s*(\/?)\s*([a-zA-Z][\w-]*)/);if(Y&&Y[2].toLowerCase()===J){if(Y[1]==="/"){if(B--,B===0)return W}else if(!/\/\s*>$/.test(Z))B++}z=W}return-1}function w(j){let U=[],Q=[],J=/\bslot\s*=\s*(?:"([^"]+)"|'([^']+)')/i,B=0;while(B<j.length){let z=j.indexOf("<",B);if(z===-1)break;if(j.startsWith("<!--",z)){let X=j.indexOf("-->",z+4);B=X===-1?j.length:X+3;continue}let G=O(j,z+1);if(G===-1)break;let W=j.slice(z,G),Z=W.match(/^<\s*(\/?)\s*([a-zA-Z][\w-]*)/);if(!Z){B=G;continue}let Y=Z[2].toLowerCase();if(Z[1]==="/"){let X=Q.lastIndexOf(Y);if(X!==-1)Q.splice(X);B=G;continue}let $=/\/\s*>$/.test(W),K=Q.length===0?W.match(J):null;if(K){let X=K[1]||K[2],H=W.replace(J,"").replace(/\s+(?=\/?>$)/,"").replace(/\s{2,}/g," "),_=$||F.has(Y)?-1:I(j,Y,G);if(_===-1)U.push({start:z,end:G,slotName:X,element:H}),B=G;else U.push({start:z,end:_,slotName:X,element:H+j.slice(G,_)}),B=_;continue}if(!$&&!F.has(Y)){if(Q.push(Y),Y==="script"||Y==="style"){let X=j.toLowerCase().indexOf(`</${Y}>`,G);if(X!==-1){B=X;continue}}}B=G}return U}function D(j){let U=[],Q=[],J=/^<template\s+(?:#([a-zA-Z][\w-]*)|v-slot:([a-zA-Z][\w-]*)|slot="([a-zA-Z][\w-]*)")(?:\s*=\s*"([^"]*)")?[^>]*>$/i,B=0;while(B<j.length){let z=j.indexOf("<",B);if(z===-1)break;if(j.startsWith("<!--",z)){let X=j.indexOf("-->",z+4);B=X===-1?j.length:X+3;continue}let G=O(j,z+1);if(G===-1)break;let W=j.slice(z,G),Z=W.match(/^<\s*(\/?)\s*([a-zA-Z][\w-]*)/);if(!Z){B=G;continue}let Y=Z[1]==="/",$=Z[2].toLowerCase();if(Y){let X=Q.lastIndexOf($);if(X!==-1)Q.splice(X);B=G;continue}if($==="template"&&Q.length===0){let X=W.match(J);if(X){let H=P(j,G);if(H!==-1){let _=X[1]||X[2]||X[3];U.push({start:z,end:H,slotName:_,content:j.slice(G,H-11).trim(),propsBinding:X[4]||void 0}),B=H;continue}}}if(!/\/\s*>$/.test(W)&&!F.has($)){if(Q.push($),$==="script"||$==="style"){let X=j.toLowerCase().indexOf(`</${$}>`,G);if(X!==-1){B=X;continue}}}B=G}return U}function v(j){let U={default:"",named:new Map},Q=j,J=D(j);for(let z of J)U.named.set(z.slotName,{name:z.slotName,content:z.content,propsBinding:z.propsBinding});J.sort((z,G)=>G.start-z.start);for(let z of J)Q=Q.slice(0,z.start)+Q.slice(z.end);let B=w(Q);for(let z of B){let G=U.named.get(z.slotName);if(G)G.content+=z.element;else U.named.set(z.slotName,{name:z.slotName,content:z.element})}for(let z=B.length-1;z>=0;z--){let G=B[z];Q=Q.slice(0,G.start)+Q.slice(G.end)}return U.default=Q.trim(),U}function S(j){let U=j.match(/name\s*=\s*["']([^"']+)["']/),Q=U?U[1]:"",J={},B=/:([a-zA-Z][\w-]*)\s*=\s*["']([^"']+)["']/g,z;while((z=B.exec(j))!==null)J[z[1]]=z[2];let G=j.match(/<slot[^>]*>([\s\S]*?)<\/slot>/i),W=G?G[1].trim():"";return{name:Q,props:J,defaultContent:W}}async function k(j,U,Q,J){if(!j)return Q;let B=j.content;if(j.propsBinding&&Object.keys(U).length>0){let z=j.propsBinding.trim(),G={...J};if(z.startsWith("{")&&z.endsWith("}")){let W=z.slice(1,-1).split(",").map((Z)=>Z.trim()).filter(Boolean);for(let Z of W){let[Y,$]=Z.split(":").map((X)=>X.trim()),K=$||Y;if(U[Y]!==void 0)G[K]=U[Y]}}else G[z]=U;B=N(B,G)}return B}function N(j,U){return j.replace(/\{\{\s*([^}]+)\s*\}\}/g,(Q,J)=>{try{let B=J.trim(),z=y(B,U);return b(String(z??""))}catch{return`{{ ${J} }}`}})}function y(j,U){if(/^[a-zA-Z_$][\w$]*(\.[a-zA-Z_$][\w$]*)*$/.test(j)){let J=j.split("."),B=U;for(let z of J)if(B&&typeof B==="object"&&z in B)B=B[z];else return;return B}let Q=j.match(/^([a-zA-Z_$][\w$]*)\s*([+\-*/])\s*(\d+)$/);if(Q){let[,J,B,z]=Q,G=U[J],W=parseInt(z,10);if(typeof G==="number")switch(B){case"+":return G+W;case"-":return G-W;case"*":return G*W;case"/":return G/W}}try{if(!L(j))return;return R(j,Object.keys(U))(...Object.values(U))}catch{return}}async function T(j,U,Q){let J=j;J=await C(J,/<slot\s+name\s*=\s*["']([^"']+)["']([^>]*?)(?:\/>|>([\s\S]*?)<\/slot>)/gi,async(G,W,Z,Y)=>{let $=U.named.get(W),K=Y?.trim()||"",X=Z||"",H={},_=/:([a-zA-Z_$][\w$-]*)\s*=\s*["']([^"']+)["']/g,q;while((q=_.exec(X))!==null){let A=q[1],V=q[2];H[A]=y(V,Q)}return await k($,H,K,Q)});let z=/<slot\b((?:"[^"]*"|'[^']*'|[^>"'])*?)\s*(?:\/>|>([\s\S]*?)<\/slot>)/gi;return J=J.replace(z,(G,W,Z)=>{if(/\bname\s*=/.test(W||""))return G;let Y=Z?.trim()||"";return U.default||Y}),J}async function C(j,U,Q){let J=[],B=[];j.replace(U,(W,...Z)=>{let Y=Z[Z.length-2];return B.push({match:W,index:Y}),J.push(Q(W,...Z.slice(0,-2))),W});let z=await Promise.all(J),G=j;for(let W=B.length-1;W>=0;W--){let{match:Z,index:Y}=B[W];G=G.slice(0,Y)+z[W]+G.slice(Y+Z.length)}return G}function E(j){let U=v(j);return{defaultSlot:U.default,namedSlots:U.named}}async function x(j,U,Q,J){return await T(j,{default:U,named:Q},J)}
|
|
3
3
|
export{v as Lg,S as Mg,k as Ng,T as Og,E as Pg,x as Qg};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import{Yw as H}from"./chunk-n0hrb3ek.js";import P from"path";var $=/__stxModules\["((?:[^"\\]|\\.)*)"\]/g;function G(...w){let v=new Set;for(let q of w){if(!q||!q.includes("__stxModules["))continue;for(let z of q.matchAll($))try{v.add(JSON.parse(`"${z[1]}"`))}catch{}}return[...v].sort()}async function T(w,v={}){if(w.length===0)return null;let q=process.cwd(),z=[],J=[];w.forEach((j,X)=>{let Z=j.startsWith("npm:")?j.slice(4):P.resolve(q,j),N=`__stxRegistered${X}`,O=JSON.stringify(j);z.push(`import * as ${N} from ${JSON.stringify(Z)};`),J.push(`if (!globalThis.__stxModules[${O}]) globalThis.__stxModules[${O}] = ${N};`)});let L=[...z,"globalThis.__stxModules = globalThis.__stxModules || {};",...J].join(`
|
|
3
|
-
`),B;try{let{bundleClientScript:j}=await import("./chunk-
|
|
3
|
+
`),B;try{let{bundleClientScript:j}=await import("./chunk-1d9tcdh0.js");B=await j(L,P.join(q,".stx-module-registry.ts"),{projectRoot:q,minify:v.minify,externalizeUserModules:!1,collectInputs:v.collectInputs})}catch(j){return console.warn("[stx] could not build the page module registry (#1957):",j),null}let{transformAutoImports:Q,generateAutoImportDestructuring:U}=await import("./chunk-pjf5sgr8.js"),F=Q(B),V=U(F.stxImports,F.browserImports),{transformStoreImports:W}=await import("./chunk-2efz2s54.js");B=W(F.code);let M=JSON.stringify(new Bun.CryptoHasher("md5").update(L).digest("hex").slice(0,12));return[";(function() {"," var __stxBundles = globalThis.__stxModuleBundles || (globalThis.__stxModuleBundles = {});",` if (__stxBundles[${M}]) return;`,` __stxBundles[${M}] = true;`,V,B,"})();"].join(`
|
|
4
4
|
`)}export{G as registeredModuleIdsIn,T as buildModuleRegistryScript};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Qo as a,Ro as b,So as c,To as d}from"./chunk-
|
|
2
|
+
import{Qo as a,Ro as b,So as c,To as d}from"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{b as reportDeferredLoopWarnings,c as processLoops,a as parseLoopBinding,d as declareBareLoopHead};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ho as b,io as c,jo as d}from"./chunk-
|
|
2
|
+
import{ho as b,io as c,jo as d}from"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import{tv as a}from"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{b as rendersAsElement,c as processESImports,d as processComponents,a as freeIdentifiers};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Kj as b,Lj as c,Mj as d,Nj as e,Oj as f,Pj as g,Qj as h,Rj as i,Sj as j,Tj as k,Uj as l,Vj as m,Wj as n,Xj as o}from"./chunk-
|
|
2
|
+
import{Kj as b,Lj as c,Mj as d,Nj as e,Oj as f,Pj as g,Qj as h,Rj as i,Sj as j,Tj as k,Uj as l,Vj as m,Wj as n,Xj as o}from"./chunk-xf8s416a.js";import{ul as a}from"./chunk-qjvny3wf.js";import"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{b as templateCache,j as registerServeModuleBundle,c as readFileCached,e as invalidateFileCacheByDir,d as invalidateFileCache,o as hashFilePath,k as getServeModuleBundle,i as getServeClientAsset,g as getCachedSignalsRuntime,h as getCachedRouterScript,l as clearDevCaches,m as checkCache,n as cacheTemplate,a as cacheEngineFingerprint,f as __setSignalsGeneratorsForTest};
|
|
@@ -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-2q9bwe7v.js";import"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.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,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{sk as m}from"./chunk-
|
|
2
|
+
import{sk as m}from"./chunk-hm2fb439.js";import{Yw as z}from"./chunk-n0hrb3ek.js";import{existsSync as s,mkdirSync as T,copyFileSync as F,chmodSync as A}from"fs";import{join as Z,basename as Yq}from"path";import{spawn as j,execSync as Zq}from"child_process";import{tmpdir as c,homedir as P,platform as Lq}from"os";var Iq=`
|
|
3
3
|
<script>
|
|
4
4
|
(function() {
|
|
5
5
|
'use strict';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ue as a}from"./chunk-
|
|
2
|
+
import{Ue as a}from"./chunk-bmzycf2s.js";import"./chunk-yajazn0v.js";import"./chunk-fc8471kb.js";import"./chunk-3wa1ybzj.js";import"./chunk-89tp5zsn.js";import"./chunk-y33pm4g5.js";import"./chunk-q9zsjgpf.js";import"./chunk-2yjj4awx.js";import"./chunk-n98anpe9.js";import"./chunk-y70wabha.js";import"./chunk-ax9cv0wz.js";import"./chunk-hestqebq.js";import"./chunk-qsq1eha8.js";import"./chunk-3rf705aq.js";import"./chunk-3ha78evt.js";import"./chunk-y9f2csr0.js";import"./chunk-mvnjpwes.js";import"./chunk-8hqayvjh.js";import"./chunk-v1x6apxf.js";import"./chunk-zn70s4gs.js";import"./chunk-8ph7mee2.js";import"./chunk-n0hrb3ek.js";export{a as startInteractive};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ot as H,Rt as F}from"./chunk-hestqebq.js";import{Yw as I}from"./chunk-n0hrb3ek.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{Ot as H,Rt as F}from"./chunk-hestqebq.js";import{Yw as I}from"./chunk-n0hrb3ek.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-vw0vkkwf.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,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Im as W,Qp as X}from"./chunk-
|
|
2
|
+
import{Im as W,Qp as X}from"./chunk-yajazn0v.js";import V from"fs";import M from"path";import*as Y from"readline";var j={reset:"\x1B[0m",bold:"\x1B[1m",dim:"\x1B[2m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m"},Q={help:{description:"Show available commands",usage:"help [command]",handler:async(q,z)=>{if(q[0]&&Q[q[0]]){let A=Q[q[0]];console.log(`
|
|
3
3
|
${j.bold}${q[0]}${j.reset} - ${A.description}`),console.log(` Usage: ${j.cyan}${A.usage}${j.reset}
|
|
4
4
|
`)}else{console.log(`
|
|
5
5
|
${j.bold}Available Commands:${j.reset}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{nl as a,ol as b,pl as c,ql as d,rl as e,sl as f,tl as g}from"./chunk-
|
|
2
|
+
import{nl as a,ol as b,pl as c,ql as d,rl as e,sl as f,tl as g}from"./chunk-vrwdzew1.js";import"./chunk-y33pm4g5.js";import"./chunk-n98anpe9.js";import"./chunk-hestqebq.js";import"./chunk-v1x6apxf.js";import"./chunk-n0hrb3ek.js";export{e as productionApiDispatcher,g as isServerApiSource,b as generateApiTypes,a as discoverServerApi,f as createServerApi,d as createApiDispatcher,c as buildServerApi};
|