@stacksjs/stx 0.2.295 → 0.2.297
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-0dt7mxd4.js +2 -0
- package/dist/{chunk-zgevnvfs.js → chunk-0xtnepfj.js} +1 -1
- package/dist/chunk-1286mhh3.js +2 -0
- package/dist/chunk-1hgjxmev.js +2 -0
- package/dist/chunk-21p24c6p.js +2 -0
- package/dist/{chunk-8553dwfj.js → chunk-29hfy1xw.js} +1 -1
- package/dist/{chunk-txjckheb.js → chunk-2b9r38hs.js} +1 -1
- package/dist/chunk-2egqczsa.js +2 -0
- package/dist/chunk-2enzjhrh.js +2 -0
- package/dist/{chunk-n0hgshd5.js → chunk-2v69c72j.js} +1 -1
- package/dist/{chunk-5g1amf33.js → chunk-3mbkn6vk.js} +2 -2
- package/dist/chunk-3nmkjd4b.js +2 -0
- package/dist/{chunk-9s0ax53m.js → chunk-3npkbgfm.js} +1 -1
- package/dist/{chunk-dd7f8yxx.js → chunk-3qej6qse.js} +1 -1
- package/dist/{chunk-d2rhtvxx.js → chunk-3y3vfypn.js} +1 -1
- package/dist/{chunk-8r7r92n4.js → chunk-412qbr7q.js} +2 -2
- package/dist/chunk-4e7ws3aa.js +2 -0
- package/dist/{chunk-mdfyv4hb.js → chunk-4yqnabzy.js} +1 -1
- package/dist/{chunk-18cn95p7.js → chunk-5ey1fdjf.js} +1 -1
- package/dist/{chunk-prt5da17.js → chunk-5t50pdtm.js} +1 -1
- package/dist/chunk-5zdxwpr4.js +2 -0
- package/dist/{chunk-359ps7j5.js → chunk-6kdb8j9d.js} +1 -1
- package/dist/{chunk-w1h2g1ej.js → chunk-6sy85s25.js} +1 -1
- package/dist/{chunk-bh4aq0dx.js → chunk-6tqbgd20.js} +1 -1
- package/dist/{chunk-wvn4gc66.js → chunk-6xsxkzhy.js} +1 -1
- package/dist/{chunk-bcgywywg.js → chunk-70z62b1s.js} +1 -1
- package/dist/{chunk-hx6y0qqy.js → chunk-75re458k.js} +1 -1
- package/dist/{chunk-t5d0pm2c.js → chunk-8h9xqc3p.js} +1 -1
- package/dist/{chunk-hh1knan6.js → chunk-8x7rzbww.js} +10 -10
- package/dist/{chunk-dxevp6w7.js → chunk-8zyv8jf3.js} +1 -1
- package/dist/{chunk-p7b34wcs.js → chunk-9616c6wn.js} +1 -1
- package/dist/{chunk-h1tkqfym.js → chunk-9rcrgt1d.js} +1 -1
- package/dist/{chunk-m8nswk6n.js → chunk-a84j7v61.js} +1 -1
- package/dist/{chunk-55rgvjvd.js → chunk-ahdzc50z.js} +1 -1
- package/dist/{chunk-weny2sns.js → chunk-ahsj1r5g.js} +1 -1
- package/dist/{chunk-br48y7q9.js → chunk-ama74dgk.js} +3 -3
- package/dist/{chunk-tweb2f3m.js → chunk-b6xqp9s4.js} +2 -2
- package/dist/{chunk-gw4hwf49.js → chunk-bc7emj22.js} +1 -1
- package/dist/chunk-c3bk5y81.js +2 -0
- package/dist/{chunk-7sdvaras.js → chunk-c5rehxqy.js} +1 -1
- package/dist/chunk-cfx3vjh6.js +2 -0
- package/dist/{chunk-6x87aw24.js → chunk-cyrcdgfj.js} +1 -1
- package/dist/{chunk-vkc53tv3.js → chunk-d3kac3mv.js} +1 -1
- package/dist/chunk-d54zmtbs.js +2 -0
- package/dist/{chunk-tjverybm.js → chunk-d93d47k0.js} +22 -22
- package/dist/{chunk-0btmm4m2.js → chunk-dn8006f7.js} +1 -1
- package/dist/chunk-f57xky9r.js +2 -0
- package/dist/{chunk-38nfzyxc.js → chunk-fdnbqt4r.js} +1 -1
- package/dist/chunk-fqggvrwy.js +2 -0
- package/dist/chunk-fz52r2f7.js +2 -0
- package/dist/{chunk-h5898m09.js → chunk-fz91fd99.js} +1 -1
- package/dist/{chunk-y6x6pbw0.js → chunk-gbewds58.js} +1 -1
- package/dist/{chunk-2bpa6n7s.js → chunk-gt6ahj63.js} +1 -1
- package/dist/chunk-gw431w90.js +2 -0
- package/dist/{chunk-0dk4qvb6.js → chunk-hfjhybrn.js} +1 -1
- package/dist/{chunk-h06cjhqg.js → chunk-hqgnxvf8.js} +1 -1
- package/dist/{chunk-rbg1m54v.js → chunk-hvqae2g1.js} +1 -1
- package/dist/{chunk-7rkxdbzr.js → chunk-jf0te8tr.js} +1 -1
- package/dist/{chunk-64d20kkv.js → chunk-jmh31a2a.js} +2 -2
- package/dist/chunk-jt2r1vzy.js +2 -0
- package/dist/{chunk-5wfgvwzg.js → chunk-k2f4jwez.js} +1 -1
- package/dist/{chunk-kxjh5mc2.js → chunk-k7mewajj.js} +1 -1
- package/dist/{chunk-ja39jznm.js → chunk-kgxkrnyt.js} +1 -1
- package/dist/{chunk-h61mtxjp.js → chunk-knz3zy2t.js} +1 -1
- package/dist/{chunk-85xj7cgm.js → chunk-kp8ec2f4.js} +1 -1
- package/dist/chunk-m38tpeke.js +2 -0
- package/dist/{chunk-ym0dqh13.js → chunk-mdd9yk4f.js} +1 -1
- package/dist/{chunk-dfcsn711.js → chunk-mhgpjegm.js} +1 -1
- package/dist/chunk-msc8zy8k.js +2 -0
- package/dist/{chunk-gjjvjzm2.js → chunk-mx93vwmq.js} +1 -1
- package/dist/{chunk-x6ehvkry.js → chunk-nnkz36zg.js} +1 -1
- package/dist/{chunk-b16crvqg.js → chunk-nqwjb8k7.js} +1 -1
- package/dist/chunk-ns50qry3.js +17 -0
- package/dist/{chunk-wxgkq79w.js → chunk-nx96x8sh.js} +1 -1
- package/dist/{chunk-nk11g9k5.js → chunk-p9bnsy2t.js} +1 -1
- package/dist/{chunk-7s1kdzcr.js → chunk-pb5s3vwg.js} +1 -1
- package/dist/{chunk-8cdfsgjb.js → chunk-pfwhd5xs.js} +1 -1
- package/dist/{chunk-p9wkzh0k.js → chunk-ph3jj8j4.js} +1 -1
- package/dist/{chunk-zg2kxgd4.js → chunk-phrd5kxe.js} +1 -1
- package/dist/chunk-ps3n1bvh.js +2 -0
- package/dist/{chunk-dd5jk2w3.js → chunk-psraz70k.js} +1 -1
- package/dist/{chunk-cvw9brjj.js → chunk-pzhq87vq.js} +1 -1
- package/dist/{chunk-6dkpsw29.js → chunk-q2dmpbqf.js} +1 -1
- package/dist/{chunk-map1tr8n.js → chunk-q7b4v144.js} +1 -1
- package/dist/{chunk-7wnbgnxj.js → chunk-qzbwa5xe.js} +1 -1
- package/dist/chunk-qzrpby7b.js +2 -0
- package/dist/chunk-r6m67kjc.js +2 -0
- package/dist/chunk-s5phwqxc.js +2 -0
- package/dist/chunk-s7yjggwh.js +2 -0
- package/dist/{chunk-rbabq8ds.js → chunk-s8g3n7ym.js} +1 -1
- package/dist/chunk-t16fgjr4.js +2 -0
- package/dist/chunk-v24y3hz7.js +2 -0
- package/dist/chunk-vedg19rq.js +2 -0
- package/dist/{chunk-6w76w8tt.js → chunk-vg8yh8te.js} +1 -1
- package/dist/chunk-vh7jr0sc.js +2 -0
- package/dist/{chunk-s30wc9qn.js → chunk-vqxpsd6r.js} +1 -1
- package/dist/{chunk-j83cstqe.js → chunk-vrhp2xnm.js} +1 -1
- package/dist/{chunk-24j0qx2z.js → chunk-vwqv8f0y.js} +1 -1
- package/dist/{chunk-regxa2tq.js → chunk-wb00aqm7.js} +1 -1
- package/dist/{chunk-mfwass3b.js → chunk-wk8v593t.js} +2 -2
- package/dist/{chunk-cjhwpp4c.js → chunk-wvxce7p4.js} +1 -1
- package/dist/{chunk-9mzj4q5k.js → chunk-x4mab1rw.js} +1 -1
- package/dist/{chunk-vpbtp5ws.js → chunk-xc4b1ngp.js} +1 -1
- package/dist/{chunk-caf2cj4f.js → chunk-xtwybxtw.js} +1 -1
- package/dist/cli.js +14 -14
- package/dist/client-script-bundler.d.ts +19 -0
- package/dist/client-script-bundler.js +23 -11
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/database.js +1 -1
- package/dist/pwa.js +2 -2
- package/dist/ssg.js +2 -2
- package/dist/visual-testing.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-11az7s55.js +0 -2
- package/dist/chunk-1jxhfa9g.js +0 -2
- package/dist/chunk-1pwcgb1t.js +0 -2
- package/dist/chunk-1xrc4jg5.js +0 -2
- package/dist/chunk-295qskae.js +0 -2
- package/dist/chunk-2cm2j31x.js +0 -2
- package/dist/chunk-3geahqf7.js +0 -2
- package/dist/chunk-4y5q9hhx.js +0 -2
- package/dist/chunk-68z2ga8f.js +0 -2
- package/dist/chunk-9rgwpt1m.js +0 -17
- package/dist/chunk-arb8nckf.js +0 -2
- package/dist/chunk-bm8mgc3b.js +0 -2
- package/dist/chunk-bnw4dyp3.js +0 -2
- package/dist/chunk-ccmr3ksw.js +0 -2
- package/dist/chunk-cemkg4m3.js +0 -2
- package/dist/chunk-ez6x07ts.js +0 -2
- package/dist/chunk-gxm3awwv.js +0 -2
- package/dist/chunk-hwn896re.js +0 -2
- package/dist/chunk-jzhk9rg5.js +0 -2
- package/dist/chunk-kagw0ckh.js +0 -2
- package/dist/chunk-mg0adds2.js +0 -2
- package/dist/chunk-qfrz7b04.js +0 -2
- package/dist/chunk-t9489pxe.js +0 -2
- package/dist/chunk-v9p2r2dv.js +0 -2
- package/dist/chunk-vgcpawx1.js +0 -2
- package/dist/chunk-w2j5ze75.js +0 -2
- package/dist/chunk-ygy2r4a8.js +0 -2
- package/dist/chunk-yshwe3ny.js +0 -2
- package/dist/chunk-zkfxz3fj.js +0 -2
|
@@ -144,4 +144,4 @@ var N=new Map,Q=new Map;function T(A){if(N.set(A.name,A),A.client)Q.set(A.name,A
|
|
|
144
144
|
console.log('[stx] Directive runtime initialized');
|
|
145
145
|
})();
|
|
146
146
|
`}function $(A){let B=/v-(\w+)(?::(\w+))?(?:\.([\w.]+))?="([^"]*)"/g;return A.replace(B,(C,F,H,L,J)=>{let E=(L?L.split("."):[]).reduce((M,S)=>{return M[S]=!0,M},{});return`data-stx-directive="${F}:${J}" data-stx-directive-arg="${H||""}" data-stx-directive-modifiers='${JSON.stringify(E)}'`})}
|
|
147
|
-
export{T as
|
|
147
|
+
export{T as Qs,V as Rs,W as Ss,X as Ts,G as Us,Y as Vs,Z as Ws,_ as Xs,$ as Ys};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$h as c,Zh as a,_h as b,ai as d,bi as e,ci as f,di as g,ei as h,fi as i,gi as j,hi as k}from"./chunk-mywp77gt.js";import"./chunk-
|
|
2
|
+
import{$h as c,Zh as a,_h as b,ai as d,bi as e,ci as f,di as g,ei as h,fi as i,gi as j,hi as k}from"./chunk-mywp77gt.js";import"./chunk-vwqv8f0y.js";export{i as processStaticDirectives,b as processPartialHydrationDirectives,h as onHydrated,g as isHydrated,d as hydrateIsland,e as hydrateByStrategy,f as hydrateAll,c as generatePartialHydrationCSS,j as generateIslandManifest,k as default,a as createIslandRegistry};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{lh as x,qh as B,rh as c,sh as u,th as n}from"./chunk-k78gvm0g.js";import{
|
|
2
|
+
import{lh as x,qh as B,rh as c,sh as u,th as n}from"./chunk-k78gvm0g.js";import{nv as v}from"./chunk-vwqv8f0y.js";import{resolve as JJ,basename as WJ,extname as _J,join as LJ}from"path";import{mkdir as QJ}from"fs/promises";var ZJ={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:2000,cacheTranscoded:!0,cacheThumbnails:!0,cacheManifests:!0};class V{config;constructor(K={}){this.config={...ZJ,...K}}async get(K,J){return c(K,J,"video",this.config)}async set(K,J,X){return u(K,J,X,"video",this.config)}async clear(){return n("video",this.config)}updateConfig(K){this.config={...this.config,...K}}}var S=null;function D(K){if(!S)S=new V(K);else if(K)S.updateConfig(K);return S}async function q(K,J,X){let N=X?{directory:`${X.outputDir}/../.cache`}:{};return D(N).get(K,J)}async function b(K,J,X,N){let Z=N?{directory:`${N.outputDir}/../.cache`}:{};return D(Z).set(K,J,X)}async function $J(){return D().clear()}import{resolve as y,basename as P,extname as f,join as U}from"path";import{mkdir as g}from"fs/promises";async function m(){try{return await import("ts-videos")}catch{return null}}async function h(K,J,X,N){let Z=await m();if(!Z)return console.warn("[stx-media] ts-videos not installed, cannot generate poster"),null;try{let $=y(K);if(!await B($))return null;await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),G=J.format||"webp",M=J.timestamp||0,E=`${z}-poster-${Y}.${G}`,W=U(X,E),Q=await Z.extractThumbnails($,{timestamps:[M],width:J.width||1280,height:J.height,format:G,quality:J.quality||85,outputDir:X,outputPattern:E.replace(`.${G}`,"")});if(Q&&Q.length>0){let _=Q[0];return{path:W,url:`${N}/${E}`,width:_.width||J.width||1280,height:_.height||720,timestamp:M,size:_.size||0}}return null}catch($){return console.warn(`[stx-media] Failed to generate poster: ${$}`),null}}async function d(K,J,X,N){let Z=await m();if(!Z)return[];try{let $=y(K);if(!await B($))return[];await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),G=J.format||"webp",W=(await new Z.Input($).getInfo()).duration||60,Q=J.count||10,_=J.interval||W/Q,O=[];for(let w=0;w<Q&&w*_<W;w++)O.push(w*_);let L=await Z.extractThumbnails($,{timestamps:O,width:J.width||320,format:G,quality:J.quality||80,outputDir:X,outputPattern:`${z}-thumb-${Y}`});if(L&&L.length>0)return L.map((w,j)=>({path:w.path||U(X,`${z}-thumb-${Y}-${j}.${G}`),url:`${N}/${z}-thumb-${Y}-${j}.${G}`,width:w.width||J.width||320,height:w.height||180,timestamp:O[j],size:w.size||0}));return[]}catch($){return console.warn(`[stx-media] Failed to generate thumbnails: ${$}`),[]}}async function zJ(K,J,X,N){let Z=await m();if(!Z)return console.warn("[stx-media] ts-videos not installed, cannot generate sprite sheet"),null;try{let $=y(K);if(!await B($))return null;await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),E=(await new Z.Input($).getInfo()).duration||60,W=J.columns||10,Q=J.interval||5,_=J.thumbnailWidth||160,O=J.thumbnailHeight||90,L=J.format||"jpeg",w=Math.ceil(E/Q),j=Math.ceil(w/W),F=`${z}-sprite-${Y}.${L}`,k=U(X,F),T=[];for(let I=0;I<w;I++)T.push(I*Q);let A=await Z.extractThumbnails($,{timestamps:T,width:_,height:O,format:L,quality:J.quality||70,outputDir:U(X,".temp")});if(!A||A.length===0)return null;try{let I=await import("ts-images"),H=W*_,kJ=j*O,jJ=await I.createSprite({images:A.map((YJ)=>YJ.path),columns:W,padding:0,outputPath:k,format:L,quality:J.quality||70});return{url:`${N}/${F}`,path:k,columns:W,rows:j,thumbnailWidth:_,thumbnailHeight:O,interval:Q,totalFrames:w}}catch{return console.warn("[stx-media] ts-images not installed, sprite sheet generation skipped"),null}}catch($){return console.warn(`[stx-media] Failed to generate sprite sheet: ${$}`),null}}import{resolve as r,basename as e,extname as i,join as C}from"path";import{mkdir as R,writeFile as o}from"fs/promises";async function t(){try{return await import("ts-videos")}catch{return null}}var s=[{label:"1080p",width:1920,height:1080,bitrate:5000000,audioBitrate:192000},{label:"720p",width:1280,height:720,bitrate:2500000,audioBitrate:128000},{label:"480p",width:854,height:480,bitrate:1e6,audioBitrate:96000},{label:"360p",width:640,height:360,bitrate:600000,audioBitrate:64000}];async function p(K,J,X,N,Z){let $=await t();if(!$)return console.warn("[stx-media] ts-videos not installed, cannot generate HLS manifest"),null;try{let Y=r(K);if(!await B(Y))return null;let z=await x(Y),G=e(K,i(K)),M=C(X,`${G}-${z}-hls`);await R(M,{recursive:!0});let E=J.length>0?J:s,W=Z?.segmentDuration||6,O=(await new $.Input(Y).getInfo()).duration||0,L=[],w=0;for(let k of E){let T=C(M,k.label);await R(T,{recursive:!0});let A=`${k.label}.m3u8`,I=C(T,A);try{let H=await $.generateHLS(Y,{outputDir:T,segmentDuration:W,width:k.width,height:k.height,videoBitrate:k.bitrate,audioBitrate:k.audioBitrate,playlistName:k.label});if(H)L.push({quality:k,url:`${N}/${G}-${z}-hls/${k.label}/${A}`,path:I}),w+=H.segmentCount||Math.ceil(O/W)}catch(H){console.warn(`[stx-media] Failed to generate HLS for ${k.label}: ${H}`)}}if(L.length===0)return null;let j=C(M,"master.m3u8"),F=GJ(L,N,G,z);return await o(j,F),{manifestUrl:`${N}/${G}-${z}-hls/master.m3u8`,manifestPath:j,playlists:L,segmentCount:w,duration:O}}catch(Y){return console.warn(`[stx-media] Failed to generate HLS manifest: ${Y}`),null}}function GJ(K,J,X,N){let Z=["#EXTM3U","#EXT-X-VERSION:3"];for(let $ of K){let{quality:Y}=$,z=Y.bitrate+(Y.audioBitrate||128000),G=`${Y.width}x${Y.height||Math.round(Y.width*9/16)}`;Z.push(`#EXT-X-STREAM-INF:BANDWIDTH=${z},RESOLUTION=${G},NAME="${Y.label}"`,`${Y.label}/${Y.label}.m3u8`)}return Z.join(`
|
|
3
3
|
`)}async function l(K,J,X,N,Z){let $=await t();if(!$)return console.warn("[stx-media] ts-videos not installed, cannot generate DASH manifest"),null;try{let Y=r(K);if(!await B(Y))return null;let z=await x(Y),G=e(K,i(K)),M=C(X,`${G}-${z}-dash`);await R(M,{recursive:!0});let E=J.length>0?J:s,W=Z?.segmentDuration||4,Q=Z?.minBufferTime||2,L=(await new $.Input(Y).getInfo()).duration||0,w=[],j=[];for(let A of E){let I=C(M,A.label);await R(I,{recursive:!0});try{if(await $.generateDASH(Y,{outputDir:I,segmentDuration:W,width:A.width,height:A.height,videoBitrate:A.bitrate,audioBitrate:A.audioBitrate})){if(w.push({bandwidth:A.bitrate,width:A.width,height:A.height||Math.round(A.width*9/16),url:`${N}/${G}-${z}-dash/${A.label}/video`}),A.audioBitrate)j.push({bandwidth:A.audioBitrate,url:`${N}/${G}-${z}-dash/${A.label}/audio`})}}catch(H){console.warn(`[stx-media] Failed to generate DASH for ${A.label}: ${H}`)}}if(w.length===0)return null;let F=C(M,"manifest.mpd"),k=NJ(w,j,L,W,Q);await o(F,k);let T=[{type:"video",representations:w}];if(j.length>0)T.push({type:"audio",representations:j});return{manifestUrl:`${N}/${G}-${z}-dash/manifest.mpd`,manifestPath:F,adaptationSets:T,duration:L}}catch(Y){return console.warn(`[stx-media] Failed to generate DASH manifest: ${Y}`),null}}function NJ(K,J,X,N,Z){let $=a(X),Y=a(Z),z=`<?xml version="1.0" encoding="UTF-8"?>
|
|
4
4
|
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011"
|
|
5
5
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ii as a,ji as b,ki as c,li as d,mi as e,ni as f,oi as g,pi as h}from"./chunk-nmkra8q5.js";import"./chunk-fed3xsp9.js";import"./chunk-
|
|
2
|
+
import{ii as a,ji as b,ki as c,li as d,mi as e,ni as f,oi as g,pi as h}from"./chunk-nmkra8q5.js";import"./chunk-fed3xsp9.js";import"./chunk-vwqv8f0y.js";export{d as v,a as useForm,g as processHasErrorsDirective,h as processFormValidationDirectives,f as processErrorsDirective,e as processErrorDirective,b as defineForm,c as Validator};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{hg as a,jg as JF,kg as ZF,lg as qF}from"./chunk-
|
|
2
|
+
import{hg as a,jg as JF,kg as ZF,lg as qF}from"./chunk-3y3vfypn.js";import{rg as p}from"./chunk-70z62b1s.js";import{sj as C,tj as D}from"./chunk-kp8ec2f4.js";import{Fk as QF,Gk as XF,Hk as YF}from"./chunk-xtx53xyz.js";import{Gp as FF,Kp as c,Mm as u,co as o,em as d,fr as n,gm as l,hr as N,jp as e,yp as t}from"./chunk-d93d47k0.js";import{Bt as r}from"./chunk-ama74dgk.js";import{bv as S,dv as WF}from"./chunk-jmh31a2a.js";import G from"fs";import Z from"path";import{createHash as $F}from"crypto";WF();function g(J){return $F("sha256").update(J).digest("hex").slice(0,8)}function f(J=!1){let q=J?D():C(),z=g(q);return{content:q,filename:`runtime.${z}.js`,hash:z}}function m(){let J=S(),q=g(J);return{content:J,filename:`router.${q}.js`,hash:q}}function UF(J){return{runtimeTag:J.runtime?`<script src="/__stx/${J.runtime.filename}"></script>`:"",routerTag:J.router?`<script src="/__stx/${J.router.filename}"></script>`:"",cssTag:J.css?`<link rel="stylesheet" href="/__stx/${J.css.filename}">`:""}}import h from"path";import{createHash as GF}from"crypto";function VF(J={}){let q=new Set;return{context:new Proxy(J,{get(Q,X){if(X in Q)return Q[X];if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return},has(Q,X){if(X in Q)return!0;if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return!1}}),accessedKeys:q}}async function i(J,q,z={}){let Q=h.resolve(J),X=await Bun.file(Q).text(),I=GF("sha256").update(X).digest("hex").slice(0,16);d();let K={};try{K=await N()}catch{}let B=[],V=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,k;while((k=V.exec(X))!==null){let $=k[1];if(/\bserver\b/.test($))B.push(k[2])}let W=new Set(B.flatMap(($)=>p($))),{context:w}=VF({__filename:Q,__dirname:h.dirname(Q),__stx_serverDeclared:W}),E=new Set,L={...n,...K,...z,buildMode:"compile",strict:!1},_=await c(X,w,Q,L,E),U=a(_),H=l();return{route:q,sourceFile:J,html:_,fragment:U,placeholders:H,hasServerScripts:B.length>0,serverScriptContent:B,dependencies:Array.from(E),contentHash:I,status:u(X),streamTemplates:w.__streamTemplates}}var kF=new Set([".DS_Store","Thumbs.db","desktop.ini",".gitkeep",".gitignore"]);function s(J,q){let z=0,Q=0;if(!G.existsSync(J))return{copied:z,bytes:Q};G.mkdirSync(q,{recursive:!0});function X(I,K){let B=G.readdirSync(I,{withFileTypes:!0});for(let V of B){if(kF.has(V.name))continue;let k=Z.join(I,V.name),W=Z.join(K,V.name);if(V.isDirectory())G.mkdirSync(W,{recursive:!0}),X(k,W);else if(V.isFile()){if(G.existsSync(W))continue;G.copyFileSync(k,W),z++,Q+=G.statSync(W).size}}}return X(J,q),{copied:z,bytes:Q}}async function dF(J={}){let q=Date.now(),z=Z.resolve(J.root||process.cwd()),Q=Z.resolve(z,J.outputDir||".output");console.log("[stx build] Starting production build...");let X={};try{X=await N()}catch{}let I=J.componentsDir??X.componentsDir??"components",K=J.partialsDir??X.partialsDir??"partials",B=J.layoutsDir??X.layoutsDir??"layouts",V=J.publicDir??X.publicDir??"public",k=X.app?.head||{},W=X.app?.colorMode,w=X.router?.container||"main";if(G.existsSync(Q))G.rmSync(Q,{recursive:!0});let E=[Z.join(Q,"public","__stx"),Z.join(Q,"public","assets"),Z.join(Q,"server","pages"),Z.join(Q,"server","fragments")];for(let Y of E)G.mkdirSync(Y,{recursive:!0});console.log("[stx build] Discovering routes...");let L=o(z),_=["components","layouts","partials"],U=L.filter((Y)=>{return!_.some((F)=>Y.pattern.startsWith(`/${F}/`)||Y.pattern===`/${F}`)});console.log(`[stx build] Found ${U.length} page routes (${L.length-U.length} non-page files excluded)`),console.log("[stx build] Generating shared assets...");let H=f(J.debug),$=m();await Bun.write(Z.join(Q,"public","__stx",H.filename),H.content),await Bun.write(Z.join(Q,"public","__stx",$.filename),$.content),console.log(`[stx build] Runtime: ${H.filename} (${(H.content.length/1024).toFixed(1)}KB)`),console.log(`[stx build] Router: ${$.filename} (${($.content.length/1024).toFixed(1)}KB)`),console.log("[stx build] Compiling templates...");let O=[],j=[];for(let Y of U)try{let F=await i(Y.filePath,Y.pattern,{componentsDir:I,partialsDir:K,layoutsDir:B,debug:J.debug});if(O.push(F),F.html=F.html.replace(/runtime\.__STX_HASH__\.js/g,H.filename).replace(/router\.__STX_HASH__\.js/g,$.filename),F.html=FF(F.html,k,{bodyScripts:[`<script src="/__stx/${$.filename}"></script>`],...W&&{colorMode:W}}),W)F.html=e(F.html,W);if(k.htmlAttrs)F.html=t(F.html,k.htmlAttrs);if(!/<body[^>]*\bdata-stx=/.test(F.html)){let T=F.html.match(/<(?!body\b)[a-zA-Z][a-zA-Z0-9-]*\b[^>]*?\s(data-stx="[^"]+")[^>]*>/);if(T&&T[1]){let P=T[1];F.html=F.html.replace(" "+P,""),F.html=F.html.replace(/<body([^>]*)>/,`<body$1 ${P}>`)}}F.html=F.html.replace(/<style data-css="generated">[\s\S]*?<\/style>\s*/g,""),F.html=await r(F.html),F.fragment=JF(F.html,w);let y=Y.pattern==="/"?"index":Y.pattern.slice(1).replace(/\//g,"-").replace(/[[\]]/g,"_"),b=Z.join("server","pages",`${y}.compiled.json`),A=Z.join("server","fragments",`${y}.html`);await Bun.write(Z.join(Q,b),JSON.stringify(F,null,2)),await Bun.write(Z.join(Q,A),F.fragment),j.push({pattern:Y.pattern,compiledPath:b,fragmentPath:A,isDynamic:F.hasServerScripts,hasParams:Y.pattern.includes(":")||Y.pattern.includes("[")}),console.log(`[stx build] \u2713 ${Y.pattern}`)}catch(F){console.error(`[stx build] \u2717 ${Y.pattern}:`,F instanceof Error?F.message:F)}let M=Z.resolve(z,V);if(G.existsSync(M)){let{copied:Y,bytes:F}=s(M,Z.join(Q,"public"));if(Y>0)console.log(`[stx build] Copied ${Y} public asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${V}/`)}let v=YF(z);if(v){let{copied:Y,bytes:F}=s(v,Z.join(Q,"public",XF));if(Y>0)console.log(`[stx build] Copied ${Y} asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${QF}/`)}let R={runtime:H.filename,router:$.filename},zF=ZF(j,R,Q);qF(zF,Q);let x=Date.now()-q;return console.log(`
|
|
3
3
|
[stx build] Done in ${x}ms \u2014 ${O.length} pages compiled`),{pageCount:O.length,assets:R,outputDir:Q,duration:x}}
|
|
4
4
|
export{g as Rf,f as Sf,m as Tf,UF as Uf,i as Vf,dF as Wf};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ik as a,Jk as b,Kk as c,Lk as d,Mk as e}from"./chunk-9a1f6dz7.js";import"./chunk-
|
|
2
|
+
import{Ik as a,Jk as b,Kk as c,Lk as d,Mk as e}from"./chunk-9a1f6dz7.js";import"./chunk-vwqv8f0y.js";export{d as runPwaAudit,e as formatAuditResult,c as calculateAuditResult,a as auditConfig,b as auditBuildOutput};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ej as a,fj as b,gj as c,hj as d,ij as e,jj as f,kj as g,lj as h,mj as i,nj as j,oj as k,pj as l,qj as m,rj as n}from"./chunk-
|
|
2
|
+
import{ej as a,fj as b,gj as c,hj as d,ij as e,jj as f,kj as g,lj as h,mj as i,nj as j,oj as k,pj as l,qj as m,rj as n}from"./chunk-75re458k.js";import"./chunk-d93d47k0.js";import"./chunk-3mbkn6vk.js";import"./chunk-dn8006f7.js";import"./chunk-vg8yh8te.js";import"./chunk-c5rehxqy.js";import"./chunk-xtwybxtw.js";import"./chunk-ama74dgk.js";import"./chunk-kgxkrnyt.js";import"./chunk-3npkbgfm.js";import"./chunk-nqwjb8k7.js";import"./chunk-nx96x8sh.js";import"./chunk-6kdb8j9d.js";import"./chunk-jmh31a2a.js";import"./chunk-d3kac3mv.js";import"./chunk-vwqv8f0y.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,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Hs as Q}from"./chunk-3mbkn6vk.js";import"./chunk-vg8yh8te.js";import{Gt as R}from"./chunk-kgxkrnyt.js";import"./chunk-vwqv8f0y.js";import O from"fs";import U from"path";async function W(j,b={}){let q=Date.now(),z={total:0,passed:0,failed:0,new:0,failures:[],duration:0},K=b.snapshotDir||R(j.root,"story","snapshots");await O.promises.mkdir(K,{recursive:!0});let B=j.storyFiles;if(b.filter&&b.filter.length>0)B=B.filter((J)=>b.filter.some((G)=>J.fileName.toLowerCase().includes(G.toLowerCase())));for(let J of B)await X(J,K,b,z);return z.duration=Date.now()-q,z}async function X(j,b,q,z){let K=j.story;if(!K)return;for(let B of K.variants){z.total++;let J=U.join(b,`${j.id}-${B.id}.snap`),G=Y(B.source||""),L=await _(J);if(q.update||!L){let M={storyId:j.id,variantId:B.id,component:j.fileName,timestamp:Date.now(),hash:G};if(await O.promises.writeFile(J,JSON.stringify(M,null,2)),!L)z.new++;z.passed++}else try{let M=await O.promises.readFile(J,"utf-8"),N=JSON.parse(M);if(N.hash===G)z.passed++;else z.failed++,z.failures.push({storyId:j.id,variantId:B.id,component:j.fileName,message:"Snapshot mismatch",difference:Z(N.hash,G)})}catch(M){z.failed++,z.failures.push({storyId:j.id,variantId:B.id,component:j.fileName,message:`Error reading snapshot: ${M}`})}}}async function A(j,b={}){return(await W(j,{...b,update:!0})).total}function Y(j){let b=0;for(let q=0;q<j.length;q++){let z=j.charCodeAt(q);b=(b<<5)-b+z,b=b&b}return b.toString(16)}function Z(j,b){if(j===b)return 0;let q=Math.abs(Number.parseInt(j,16)-Number.parseInt(b,16));return Math.min(q/1e6,1)}async function _(j){try{return await O.promises.access(j),!0}catch{return!1}}function I(j){let b=[];if(b.push(""),b.push("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501"),b.push(" STX Story Visual Regression Tests"),b.push("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501"),b.push(""),j.failures.length>0){b.push(" \u274C Failures:"),b.push("");for(let q of j.failures){if(b.push(` \u2022 ${q.component} / ${q.variantId}`),b.push(` ${q.message}`),q.difference!==void 0)b.push(` Difference: ${(q.difference*100).toFixed(2)}%`);b.push("")}}if(b.push(" Summary:"),b.push(` Total: ${j.total}`),b.push(` Passed: ${j.passed} \u2713`),b.push(` Failed: ${j.failed} \u2717`),j.new>0)b.push(` New: ${j.new} \u26A1`);return b.push(` Time: ${j.duration}ms`),b.push(""),b.push("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501"),b.push(""),b.join(`
|
|
3
3
|
`)}async function S(j,b={}){let q=performance.now(),z=[],K=0,B=0;for(let G of j.storyFiles)try{let L=await Bun.file(G.path).text(),M=await Q(L,G.path);if(M.length>0){for(let N of M)z.push({storyId:G.id,variantId:"default",component:G.component,message:`A11y: ${N.message}`,expected:"No accessibility violations",actual:`${N.type}: ${N.message} (impact: ${N.impact})`});B++}else K++}catch(L){z.push({storyId:G.id,variantId:"default",component:G.component,message:`Failed to check a11y: ${L instanceof Error?L.message:String(L)}`,expected:"File readable for a11y check",actual:"File read error"}),B++}let J=performance.now()-q;return{total:j.storyFiles.length,passed:K,failed:B,new:0,failures:z,duration:J}}export{A as updateSnapshots,W as runVisualTests,S as runA11yTests,I as formatTestResults};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Sp as M,Ul as x}from"./chunk-d93d47k0.js";import"./chunk-3mbkn6vk.js";import"./chunk-dn8006f7.js";import"./chunk-vg8yh8te.js";import"./chunk-c5rehxqy.js";import"./chunk-xtwybxtw.js";import{it as B,kt as P}from"./chunk-ama74dgk.js";import"./chunk-kgxkrnyt.js";import"./chunk-3npkbgfm.js";import"./chunk-nqwjb8k7.js";import"./chunk-nx96x8sh.js";import"./chunk-6kdb8j9d.js";import"./chunk-jmh31a2a.js";import"./chunk-d3kac3mv.js";import"./chunk-vwqv8f0y.js";import G from"path";var T=["broadcast","calculateDistance","canNotify","clearCookies","clearFetchCache","clearStorage","copyToClipboard","createShareableFile","defineForm","getBatteryLevel","getCookie","getCurrentPosition","getStorageKeys","getStorageSize","getVoices","hasBattery","hasCameraPermission","hasGeolocationPermission","hasMicrophonePermission","hasNotificationPermission","hasResizeObserver","hexToHsl","hexToRgb","isBroadcastChannelSupported","isCharging","isDeviceMotionSupported","isDeviceOrientationSupported","isEventSourceSupported","isEyeDropperSupported","isInFullscreen","isMutationObserverSupported","isPermissionGranted","isSpeechRecognitionSupported","isSpeechSynthesisSupported","isWakeLockSupported","isWebSocketSupported","notify","parseCookies","pickColor","prefetch","removeCookie","requestMediaPermissions","requestMotionPermission","requestNotificationPermission","requestOrientationPermission","setCookie","share","shareCurrentPage","shareFiles","shareText","shareURL","shareWithFallback","speak","stopSpeaking","toggleFullscreen","useAsyncData","useAttributeObserver","useAutoLogout","useAutoWakeLock","useBattery","useBreakpoint","useBroadcastChannel","useChannel","useChildListObserver","useClipboard","useColorHistory","useConditionalWakeLock","useCookies","useCopySelection","useDeviceMotion","useDeviceOrientation","useElementSize","useElementTextSelection","useElementVisibility","useEventSource","useEyeDropper","useFavicon","useForm","useFullscreen","useGeolocation","useGeolocationWatch","useHotkey","useIdle","useIdleState","useInfiniteScroll","useIntersectionObserver","useIntersectionObserverMultiple","useIsDesktop","useIsMobile","useIsTablet","useKeyPressed","useKeySequence","useKeyboard","useLastActive","useLazyLoad","useMeta","useMouse","useMouseInElement","useMutationObserver","useNetwork","useNotification","useOnline","useParallax","usePermission","usePermissions","usePointer","usePost","useResizeObserver","useResizeObserverMultiple","useSSE","useScroll","useSelectionPopup","useShare","useSpeechRecognition","useSpeechSynthesis","useStorage","useTextObserver","useTextSelection","useTitle","useVisibility","useWakeLock","useWindowSize"],O=new Set(T);var K=new Map,U=B(64),V=new Set,D=0,N=new Set(T);function f(){K.clear(),U.clear()}function S(H){let J=new Map;for(let Q of H){let Z=G.basename(Q);if(Z.endsWith(".d.ts"))continue;let z=Z.replace(/\.[jt]s$/,"");if(z==="index")continue;if(z===Z)continue;let X=J.get(z);if(X&&!X.endsWith(".js"))continue;J.set(z,Q)}return[...J.values()].sort()}function g(H,J){let Q=J.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${Q}\\b`).test(H)}function y(H){if(!H)return[];let J=P(H,D),Q=U.get(J);if(Q)return Q.slice();let Z=H.replace(/<script\b[^>]*\bdata-stx-runtime\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-framework-composables\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-stores\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-composables\b[^>]*>[\s\S]*?<\/script>/gi,""),z=[];for(let X of N){if(V.has(X))continue;let A=X.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${A}\\s*\\(`).test(Z))z.push(X)}return z.sort(),U.set(J,z),z.slice()}async function p(H,J){let Q=y(H);if(Q.length===0)return null;let Z=J??G.join(import.meta.dir,"composables"),z=`${Z}\x00${Q.join(",")}`,X=K.get(z);if(X!==void 0)return X||null;let A=M({loader:"ts",target:"browser",define:x()}),L=new Set(Q),W=[],C=new Set,F=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:Z,absolute:!0}))F.push(j)}catch{return K.set(z,""),null}F=S(F);for(let q of F){let j;try{j=await Bun.file(q).text()}catch{continue}let I=[];try{I=A.scan(j).exports.filter(($)=>$!=="default")}catch{continue}if(!I.some(($)=>L.has($)))continue;try{j=j.replace(/^import\s+.*from\s+['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^import\s+type\s+.*$/gm,""),j=j.replace(/^export\s+\*\s+(?:as\s+\w+\s+)?from\s*['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^export\s+(?:type\s+)?\{[\s\S]*?\}\s*(?:from\s*['"][^'"]+['"]\s*)?;?\s*$/gm,""),j=j.replace(/^export\s+default\s+/gm,""),j=j.replace(/^export\s+(?=(?:declare\s+)?(?:abstract\s+)?(?:async\s+)?(?:function|class|const|let|var|type|interface|enum)\b)/gm,""),W.push(`// ${G.basename(q).replace(/\.[jt]s$/,"")}
|
|
3
3
|
${A.transformSync(j).trim()}`);for(let $ of I)C.add($)}catch($){console.warn(`[stx] framework composable ${G.basename(q)} could not be bundled:`,$)}}let Y=Q.filter((q)=>!C.has(q)&&!g(H,q));if(Y.length>0)console.warn(`[stx] could not bundle ${Y.join(", ")} from @stacksjs/stx/composables \u2014 `+"calls to them will throw ReferenceError in the browser. Import them explicitly so the bundler inlines them, or use a runtime equivalent from window.stx.");if(W.length===0)return K.set(z,""),null;let k=[...C].map((q)=>` try { if (!(${JSON.stringify(q)} in __s)) { __s[${JSON.stringify(q)}] = ${q}; if (!(${JSON.stringify(q)} in window)) window[${JSON.stringify(q)}] = ${q}; } } catch (e) {}`).join(`
|
|
4
4
|
`),w=`<script data-stx-framework-composables>
|
|
5
5
|
;(function(){
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{lv as Ae,mv as u}from"./chunk-vwqv8f0y.js";function _(e){return e.split(/[\\/]/).filter(Boolean).slice(0,-1).some((a)=>g.includes(a))}function m(e){return _(e.replace(/^\//,""))}var g;var b=u(()=>{g=["components","layouts","partials","emails"]});import h from"fs";import y from"path";function x(e,t){let a=e.filter((o)=>!m(o.pattern)),r=["// Auto-generated by STX - do not edit"];if(a.length===0)r.push("// No page routes found \u2014 route paths stay typed as string.","export {}","");else{r.push("declare module '@stacksjs/stx' {"," interface KnownRoutes {");for(let o of a){let i=[];for(let c of o.params){let f=o.pattern.includes(`:${c}?`)?"?":"";i.push(`${c}${f}: string`)}let l=i.join("; ");r.push(` '${o.pattern}': { ${l} }`)}r.push(" }","}","","export {}","")}let n=r.join(`
|
|
3
3
|
`),s=y.join(t,"route-types.d.ts");try{if(h.existsSync(s)&&h.readFileSync(s,"utf8")===n)return;h.mkdirSync(t,{recursive:!0}),h.writeFileSync(s,n)}catch{}}function S(e,t,a){let r=process.cwd(),n=y.relative(r,a),s=e.filter((i)=>!m(i.pattern)),o=["// Auto-generated by stx \u2014 do not edit",`// Source: ${n||"pages"}/`,"","export const routes = ["];for(let i of s){let l=y.relative(r,i.filePath).replace(/\\/g,"/"),c=JSON.stringify(i.params),f=i.layout?`, layout: '${y.relative(r,i.layout).replace(/\\/g,"/")}'`:"";o.push(` { pattern: '${i.pattern}', filePath: '${l}', isDynamic: ${i.isDynamic}, params: ${c}${f} },`)}o.push("] as const",""),o.push("export type RouteName = typeof routes[number]['pattern']",""),h.mkdirSync(t,{recursive:!0}),h.writeFileSync(y.join(t,"routes.ts"),o.join(`
|
|
4
4
|
`))}var F=u(()=>{b()});import V from"path";function k(e,t){let r=V.relative(t,e).replace(/\.(stx|md)$/,"");if(r=r.split(V.sep).join("/"),r==="index")return"/";if(r.endsWith("/index"))r=r.slice(0,-6);return r=r.replace(/\[\[([^\]]+)\]\]/g,":$1?"),r=r.replace(/\[([^\]]+)\]/g,":$1"),r=r.replace(/:\.\.\.([^/]+)/g,":$1*"),`/${r}`}function v(e){let t=[],a="",r=0;while(r<e.length){let n=e.slice(r),s=/^\/:([^/?*]+)\?/.exec(n);if(s){t.push(s[1]),a+="(?:/([^/]+))?",r+=s[0].length;continue}let o=/^:([^/?*]+)\*/.exec(n);if(o){t.push(o[1]),a+="(.+)",r+=o[0].length;continue}let i=/^:([^/?*]+)/.exec(n);if(i){t.push(i[1]),a+="([^/]+)",r+=i[0].length;continue}a+=e[r].replace(/[.+^${}()|[\]\\*?]/g,"\\$&"),r+=1}return{regex:new RegExp(`^${a}$`),params:t}}function D(e,t){let a=e===""?"/":e;for(let r of t){let n=a.match(r.regex);if(n){let s={};return r.params.forEach((o,i)=>{s[o]=n[i+1]}),{route:r,params:s}}}return null}function W(e){let t=e.replace(/\[\[([^\]]+)\]\]/g,":$1?").replace(/\[([^\]]+)\]/g,":$1").replace(/:\.\.\.([^/]+)/g,":$1*");return v(t)}var M=()=>{};import xe from"fs";import I from"path";function A(e,t){let a=[],r=I.dirname(e);while(r.startsWith(t)||r===t){let n=I.join(r,"_layout.stx");if(xe.existsSync(n))a.unshift(n);if(r===t)break;r=I.dirname(r)}return a}var N=()=>{};import P from"fs";import d from"path";function K(e,t){let a=[];if(!P.existsSync(e))return a;let r=P.readdirSync(e,{withFileTypes:!0});for(let n of r){let s=d.join(e,n.name);if(n.isDirectory()){if(n.name.startsWith("."))continue;if(g.includes(n.name))continue;a.push(...K(s,t))}else if(n.isFile()){let o=d.extname(n.name);if(t.includes(o)){if(n.name.startsWith("_")&&n.name!=="_layout.stx")continue;if(n.name==="_layout.stx")continue;a.push(s)}}}return a}class C{routes;pagesDir;pagesDirs;config;constructor(e,t={}){this.config=t;let a=t.pagesDirs&&t.pagesDirs.length>0?t.pagesDirs:[t.pagesDir||"pages"];this.pagesDirs=a.map((o)=>d.resolve(e,o)),this.pagesDir=this.pagesDirs[0];let r=t.extensions||[".stx"],n=new Set;this.routes=[];for(let o of this.pagesDirs){let i=K(o,r);for(let l of i){let c=k(l,o);if(n.has(c))continue;n.add(c);let{regex:f,params:H}=v(c),O=t.layouts!==!1?A(l,o):[];this.routes.push({pattern:c,regex:f,params:H,filePath:l,isDynamic:H.length>0,layout:O.length>0?O[O.length-1]:void 0})}}this.routes.sort((o,i)=>{if(!o.isDynamic&&i.isDynamic)return-1;if(o.isDynamic&&!i.isDynamic)return 1;let l=o.pattern.split("/").length,c=i.pattern.split("/").length;if(l!==c)return c-l;return o.pattern.localeCompare(i.pattern)});let s=d.resolve(e,t.stateDir||process.env.STX_DIR?.trim()||".stx");x(this.routes,s),S(this.routes,s,this.pagesDir)}match(e){let t=e===""?"/":e;for(let a of this.routes){let r=t.match(a.regex);if(r){let n={};return a.params.forEach((s,o)=>{n[s]=r[o+1]}),{route:a,params:n}}}return null}resolve(e,t){let a=this.routes.find((n)=>n.pattern===e||n.filePath.includes(e));if(!a)return"#not-found";let r=a.pattern;if(t)for(let[n,s]of Object.entries(t))r=r.replace(`:${n}`,encodeURIComponent(s));return r}addRoute(e){this.routes.push(e),this.routes.sort((t,a)=>{if(!t.isDynamic&&a.isDynamic)return-1;if(t.isDynamic&&!a.isDynamic)return 1;return t.pattern.localeCompare(a.pattern)})}getLayout(e){return e.layout??null}}function $(e,t){return new C(e,t)}function z(e,t){let a=[`${t}.stx`,"error.stx"];for(let r of a){let n=d.join(e,r);if(P.existsSync(n))return n}return null}function Y(e,t){return e.map((a)=>{let r=d.relative(t,a.filePath),n=a.isDynamic?" (dynamic)":"";return`${a.pattern} \u2192 ${r}${n}`})}var J=u(()=>{F();M();N();b()});function Z(e){T=e.replace(/\/$/,"")}function Q(e,t,a={}){p[e]={path:t,name:e,params:a}}function ee(e){for(let[t,a]of Object.entries(e))if(typeof a==="string")p[t]={path:a,name:t};else p[t]={...a,name:t}}function te(e,t={},a=!1){let r=p[e];if(!r)return console.warn(`Route [${e}] not defined.`),"#undefined-route";let n={...r.params,...t},s=r.path;s=s.replace(/:(\w+)/g,(i,l)=>{let c=n[l];if(c===void 0)return console.warn(`Missing parameter [${l}] for route [${e}].`),`:${l}`;return delete n[l],encodeURIComponent(String(c))});let o=Object.entries(n);if(o.length>0){let i=o.map(([l,c])=>`${encodeURIComponent(l)}=${encodeURIComponent(String(c))}`).join("&");s+=(s.includes("?")?"&":"?")+i}return a&&T?`${T}${s}`:s}function re(){for(let e of Object.keys(p))delete p[e];T=""}var p,T="";var ae=u(()=>{p={}});import ne from"fs";import oe from"path";function se(e,t={}){return{type:"redirect",path:e,options:{replace:t.replace??!1,external:t.external??!1,redirectCode:t.redirectCode??302}}}function ie(e){return{type:"abort",error:typeof e==="string"?{statusCode:500,message:e}:e}}function le(e,t={}){return{handler:e,mode:t.mode??"universal"}}function B(e){let t={};if(!e)return t;let a=e.split(";");for(let r of a){let[n,...s]=r.split("=");if(n){let o=n.trim(),i=s.join("=").trim();if(o)t[o]=decodeURIComponent(i)}}return t}function E(e,t,a={}){let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;if(a.expires){let n=typeof a.expires==="number"?new Date(Date.now()+a.expires*1000):a.expires;r+=`; Expires=${n.toUTCString()}`}if(a.path)r+=`; Path=${a.path}`;if(a.domain)r+=`; Domain=${a.domain}`;if(a.secure)r+="; Secure";if(a.httpOnly)r+="; HttpOnly";if(a.sameSite)r+=`; SameSite=${a.sameSite}`;return r}function G(e,t){let a=e.headers.get("cookie")||"",r=B(a);return{get(n){return r[n]},set(n,s,o={}){r[n]=s,t.append("Set-Cookie",E(n,s,o))},delete(n){delete r[n],t.append("Set-Cookie",E(n,"",{expires:new Date(0),path:"/"}))},getAll(){return{...r}}}}function U(){return{get(e){if(typeof document>"u")return;return B(document.cookie)[e]},set(e,t,a={}){if(typeof document>"u")return;document.cookie=E(e,t,a)},delete(e){if(typeof document>"u")return;document.cookie=E(e,"",{expires:new Date(0),path:"/"})},getAll(){if(typeof document>"u")return{};return B(document.cookie)}}}function X(){let e=typeof window<"u"&&typeof window.localStorage<"u";return{get(t){if(!e)return null;try{return window.localStorage.getItem(t)}catch{return null}},set(t,a){if(!e)return;try{window.localStorage.setItem(t,a)}catch{}},remove(t){if(!e)return;try{window.localStorage.removeItem(t)}catch{}},isAvailable(){return e}}}function R(e,t){w.set(e,t)}function j(e){return w.get(e)}function ce(e){return w.has(e)}function ue(){w.clear()}function he(){return Array.from(w.keys())}async function de(e,t="middleware"){let a=oe.resolve(e,t);if(!ne.existsSync(a))return;let r=ne.readdirSync(a);for(let n of r){if(!n.endsWith(".ts")&&!n.endsWith(".js"))continue;if(n.includes(".test.")||n.includes(".spec."))continue;let s=n.replace(/\.(ts|js)$/,""),o=oe.join(a,n);try{let l=(await import(o)).default;if(l&&typeof l.handler==="function")R(s,l);else if(typeof l==="function")R(s,{handler:l,mode:"universal"})}catch(i){console.warn(`Failed to load middleware '${s}' from ${o}:`,i)}}}function Se(e){let t={};if(!e)return t;let a=new URLSearchParams(e);for(let[r,n]of a)t[r]=n;return t}function pe(e,t,a,r=""){return{path:e,params:t,query:Se(r),fullPath:r?`${e}?${r}`:e,meta:a}}function fe(e,t,a,r){let n=r?.isServer??typeof window>"u",s=!n,o=new Headers;return{to:e,from:t,isClient:s,isServer:n,cookies:n&&a?G(a,o):U(),storage:X(),state:{},request:a,responseHeaders:o}}async function ge(e,t){let a=Array.isArray(e)?e:[e],r=t.isServer;for(let n of a){let s=j(n);if(!s)return console.error(`Route middleware '${n}' is not registered \u2014 failing the guard closed.`),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:`Route middleware '${n}' is not registered`}},state:t.state,responseHeaders:t.responseHeaders};if(s.mode==="server"&&!r)continue;try{let o=await s.handler(t);if(o){if(o.type==="redirect")return{passed:!1,redirect:o,state:t.state,responseHeaders:t.responseHeaders};if(o.type==="abort")return{passed:!1,abort:o,state:t.state,responseHeaders:t.responseHeaders}}}catch(o){return console.error(`Error in middleware '${n}':`,o),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:o instanceof Error?o.message:"Middleware error"}},state:t.state,responseHeaders:t.responseHeaders}}}return{passed:!0,state:t.state,responseHeaders:t.responseHeaders}}var w;var me=u(()=>{w=new Map});function q(e){let a=e.replace(/\\/g,"/").split("/").filter(Boolean),r=a.lastIndexOf("layouts"),n=r>=0?a[r+1]:a.at(-1);if(!n)return"app";return n.replace(/\.stx$/i,"")||"app"}function ye(e){let t=e.match(/<meta\b[^>]*name=["']stx-layout["'][^>]*content=["']([^"']+)["'][^>]*>/i),a=e.match(/<meta\b[^>]*name=["']stx-layout-group["'][^>]*content=["']([^"']+)["'][^>]*>/i),r=e.match(/<!--\s*stx-layout:\s*([^ ]+)\s*-->/i),n=t?.[1]||r?.[1]||"";return{layout:n,group:a?.[1]||q(n)}}var ve=()=>{};function ke(e){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(e).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return e}}function we(){if(L)return L;return L=ke(`
|
|
5
5
|
;(function(){
|
|
@@ -1981,4 +1981,4 @@ else {
|
|
|
1981
1981
|
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);else init();
|
|
1982
1982
|
})();
|
|
1983
1983
|
`),L}var L;var be=()=>{};var Ce={};Ae(Ce,{setAppUrl:()=>Z,runMiddleware:()=>ge,route:()=>te,resolveLayoutChain:()=>A,resetRoutes:()=>re,registerMiddleware:()=>R,patternToRegex:()=>v,navigateTo:()=>se,matchRoute:()=>D,loadMiddlewareFromDirectory:()=>de,isNonPageRoutePattern:()=>m,isNonPageRoutePath:()=>_,hasMiddleware:()=>ce,getRouterScript:()=>we,getMiddlewareNames:()=>he,getMiddleware:()=>j,generateRouteTypes:()=>x,generateRouteManifest:()=>S,formatRoutes:()=>Y,findErrorPage:()=>z,filePathToPattern:()=>k,extractLayoutMetadata:()=>ye,deriveLayoutGroup:()=>q,defineRoutes:()=>ee,defineRoute:()=>Q,defineMiddleware:()=>le,createStorageManager:()=>X,createServerCookieManager:()=>G,createRouter:()=>$,createRouteLocation:()=>pe,createMiddlewareContext:()=>fe,createClientCookieManager:()=>U,clearMiddleware:()=>ue,bracketPathToRegex:()=>W,abortNavigation:()=>ie,Router:()=>C,NON_PAGE_DIRS:()=>g});var Te=u(()=>{J();M();ae();me();N();ve();F();b();be()});
|
|
1984
|
-
export{g as
|
|
1984
|
+
export{g as su,_ as tu,m as uu,x as vu,S as wu,k as xu,v as yu,D as zu,W as Au,A as Bu,C as Cu,$ as Du,z as Eu,Y as Fu,Z as Gu,Q as Hu,ee as Iu,te as Ju,re as Ku,se as Lu,ie as Mu,le as Nu,G as Ou,U as Pu,X as Qu,R as Ru,j as Su,ce as Tu,ue as Uu,he as Vu,de as Wu,pe as Xu,fe as Yu,ge as Zu,q as _u,ye as $u,ve as av,we as bv,Ce as cv,Te as dv};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{jk as a,kk as b,lk as c,mk as d}from"./chunk-q7b4v144.js";import"./chunk-b6xqp9s4.js";import"./chunk-d93d47k0.js";import"./chunk-3mbkn6vk.js";import"./chunk-dn8006f7.js";import"./chunk-vg8yh8te.js";import"./chunk-c5rehxqy.js";import"./chunk-xtwybxtw.js";import"./chunk-ama74dgk.js";import"./chunk-kgxkrnyt.js";import"./chunk-3npkbgfm.js";import"./chunk-nqwjb8k7.js";import"./chunk-nx96x8sh.js";import"./chunk-6kdb8j9d.js";import"./chunk-jmh31a2a.js";import"./chunk-d3kac3mv.js";import"./chunk-vwqv8f0y.js";export{b as getAvailableTargets,c as getAvailableFormats,d as default,a as buildNative};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{nk as a,ok as b,pk as c,qk as d}from"./chunk-ahqn4s3t.js";import"./chunk-
|
|
2
|
+
import{nk as a,ok as b,pk as c,qk as d}from"./chunk-ahqn4s3t.js";import"./chunk-vwqv8f0y.js";export{d as default,c as createHotReloadServer,b as compileToNative,a as NATIVE_COMPONENTS};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Eh as L,Fh as w,Gh as x,Hh as p,Ih as F,Jh as T,Mh as I,Nh as f,Oh as l,Ph as n,Qh as i,Rh as P,Sh as o,Th as a}from"./chunk-
|
|
2
|
+
import{Eh as L,Fh as w,Gh as x,Hh as p,Ih as F,Jh as T,Mh as I,Nh as f,Oh as l,Ph as n,Qh as i,Rh as P,Sh as o,Th as a}from"./chunk-pfwhd5xs.js";import{Us as ZG}from"./chunk-dn8006f7.js";function HG(X,Z={}){let{src:G,alt:J,width:q,height:$,sizes:K="100vw",loading:Q="lazy",priority:Y=!1,quality:M=x,placeholder:N="none",formats:j=w,widths:C=L,decoding:B="async",fetchpriority:V,objectFit:O,objectPosition:W}=X,H=X.class,z=X.style,{processedImage:R,variants:_,optimize:E=!0,isDev:S=!1}=Z;if(_&&_.length>0)return OG(X,_,R);if(S||!E)return MG(X);return VG(X)}function OG(X,Z,G){let{src:J,alt:q,width:$,height:K,sizes:Q="100vw",loading:Y="lazy",priority:M=!1,decoding:N="async",fetchpriority:j,objectFit:C,objectPosition:B,placeholder:V="none"}=X,O=X.class,W=X.style,H=n(Z),z=l(Z),R=typeof Q==="object"?f(Q):Q,_=G?G.aspectRatio:$&&K?Number($)/Number(K):void 0,E=[];if(_)E.push(`aspect-ratio: ${_}`);if(C)E.push(`object-fit: ${C}`);if(B)E.push(`object-position: ${B}`);if(W)E.push(W);let S=E.length>0?` style="${E.join("; ")}"`:"",b=O?` class="${O}"`:"",u=M?"":` loading="${Y}"`,d=` decoding="${N}"`,h=j?` fetchpriority="${j}"`:M?' fetchpriority="high"':"",r=["avif","webp","jpeg","png"],s=[];for(let U of r){let D=H.get(U);if(D&&D.length>0){let m=I(D),QG=P(U);s.push(` <source type="${QG}" srcset="${m}" sizes="${R}" />`)}}let e="",t="",g;if(V!=="none"&&G?.placeholder){let U=`img-${Math.random().toString(36).slice(2,8)}`;if(e=`<div class="stx-image-wrapper" id="${U}">`,t="</div>",V==="blur")g=`
|
|
3
3
|
#${U} {
|
|
4
4
|
position: relative;
|
|
5
5
|
background-image: url('${G.placeholder}');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import C from"path";var G=".stx",K="STX_DIR",J=null;function O(j){J=j?.trim()||null}function H(){return process.env[K]?.trim()||J||G}function Q(j=process.cwd(),...q){let B=H();return C.isAbsolute(B)?C.join(B,...q):C.join(j,B,...q)}function W(j){if(!j||C.isAbsolute(j))return j;let q=j.replace(/\\/g,"/");if(q!==G&&!q.startsWith(`${G}/`))return j;let B=q.slice(G.length+1);return B?C.join(H(),B):H()}
|
|
3
|
-
export{G as
|
|
3
|
+
export{G as Ct,K as Dt,O as Et,H as Ft,Q as Gt,W as Ht};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{kv as W,lv as k,mv as G}from"./chunk-vwqv8f0y.js";import A from"fs";import B from"path";function h(j){let q=0;for(let K=0;K<j.length;K++){let Q=j[K];q=(q<<5)-q+Q,q=q&q}return Math.abs(q).toString(16).padStart(8,"0")}function u(j,q){let K=B.basename(j);for(let Q of q)if(Q.startsWith("*.")){let Y=Q.slice(1);if(K.endsWith(Y))return!0}else if(Q.includes("*")){let Y=new RegExp(`^${Q.replace(/\*/g,".*")}$`);if(Y.test(K)||Y.test(j))return!0}else if(K===Q||j.includes(Q))return!0;return!1}function f(j,q,K){let Q=B.extname(j).toLowerCase(),Y=l[Q],X=(K.maxFileSizeKB||500)*1024;if(q>X)return!1;if(K.exclude&&u(j,K.exclude))return!1;if(K.include&&K.include.length>0){for(let Z of K.include)if(Z.startsWith("*.")){if(j.endsWith(Z.slice(1)))return!0}else if(j.includes(Z))return!0}if(Y&&K[Y]===!0)return!0;if(!Y)return!1;return!1}function T(j,q,K,Q){let Y=A.readdirSync(j,{withFileTypes:!0});for(let X of Y){let Z=B.join(j,X.name);if(X.isDirectory()){if(["node_modules",".git",".stx"].includes(X.name))continue;T(Z,q,K,Q)}else if(X.isFile()){let O=A.statSync(Z),_=B.relative(q,Z);if(f(_,O.size,K)){let $=A.readFileSync(Z),L=h($),V=`/${_.replace(/\\/g,"/")}`;Q.push({url:V,revision:L,size:O.size})}}}}function U(j,q){let K=q.pwa?.precache,Q=[];if(!K?.enabled)return{entries:[],totalSize:0,fileCount:0};if(!A.existsSync(j))return{entries:[],totalSize:0,fileCount:0};T(j,j,K,Q),Q.sort((X,Z)=>X.url.localeCompare(Z.url));let Y=Q.reduce((X,Z)=>X+Z.size,0);return{entries:Q,totalSize:Y,fileCount:Q.length}}function J(j){if(j.entries.length===0)return"[]";return`[
|
|
3
3
|
${j.entries.map((K)=>` { url: '${K.url}', revision: '${K.revision}' }`).join(`,
|
|
4
4
|
`)}
|
|
5
5
|
]`}function E(j){if(j<1024)return`${j} B`;if(j<1048576)return`${(j/1024).toFixed(1)} KB`;return`${(j/1048576).toFixed(2)} MB`}var l;var F=G(()=>{l={".html":"includeHtml",".htm":"includeHtml",".js":"includeJs",".mjs":"includeJs",".css":"includeCss",".png":"includeImages",".jpg":"includeImages",".jpeg":"includeImages",".gif":"includeImages",".webp":"includeImages",".svg":"includeImages",".ico":"includeImages",".woff":"includeFonts",".woff2":"includeFonts",".ttf":"includeFonts",".eot":"includeFonts",".otf":"includeFonts"}});function g(j){let q={"cache-first":{className:"CacheFirst",importFrom:"workbox-strategies"},"network-first":{className:"NetworkFirst",importFrom:"workbox-strategies"},"stale-while-revalidate":{className:"StaleWhileRevalidate",importFrom:"workbox-strategies"},"network-only":{className:"NetworkOnly",importFrom:"workbox-strategies"},"cache-only":{className:"CacheOnly",importFrom:"workbox-strategies"}};return q[j]||q["network-first"]}function R(j){return g(j).className}function M(j){let q=j.pwa;if(!q?.enabled)return"";let K=q.routes||[],Q=q.cacheStorage,Y=[];for(let X of K){let Z=R(X.strategy),O=[];if(X.maxAgeSeconds||X.maxEntries||Q?.maxEntries){let $=X.maxEntries||Q?.maxEntries||100,L=X.maxAgeSeconds||(Q?.maxAge?Q.maxAge*24*60*60:void 0);O.push(`new ExpirationPlugin({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Aj as K,Bj as N,Cj as O,Dj as P,Ej as Q,Fj as T,Jj as U,Kj as V,Lj as W,Mj as Y}from"./chunk-fed3xsp9.js";import{
|
|
2
|
+
import{Aj as K,Bj as N,Cj as O,Dj as P,Ej as Q,Fj as T,Jj as U,Kj as V,Lj as W,Mj as Y}from"./chunk-fed3xsp9.js";import{pu as J}from"./chunk-6kdb8j9d.js";function $(){let w=q(Z());try{let z=new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(w);return z=z.replace(/\}(var |let |const |function )/g,"};$1"),z}catch{return w}}function q(w){let E=[],z=0,I="console.log(";while(z<w.length){let F=w.indexOf(I,z);if(F===-1){E.push(w.slice(z));break}E.push(w.slice(z,F));let G=1,x=F+I.length;while(x<w.length&&G>0){let B=w[x];if(B==='"'||B==="'"||B==="`"){let _=B;x++;while(x<w.length&&w[x]!==_){if(w[x]==="\\")x++;x++}x++;continue}if(B==="(")G++;else if(B===")")G--;x++}E.push("0"),z=x}return E.join("")}function Z(){return`
|
|
3
3
|
// STX Signals Runtime (Development Build)
|
|
4
4
|
console.log('[stx] signals runtime loading');
|
|
5
5
|
// Pre-initialization shim: capture onMount/onDestroy calls made before the runtime IIFE runs
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Eh as a,Fh as b,Gh as c,Hh as d,Ih as e,Jh as f,Kh as g,Lh as h,Mh as i,Nh as j,Oh as k,Ph as l,Qh as m,Rh as n,Sh as o,Th as p,Uh as q}from"./chunk-
|
|
2
|
+
import{Eh as a,Fh as b,Gh as c,Hh as d,Ih as e,Jh as f,Kh as g,Lh as h,Mh as i,Nh as j,Oh as k,Ph as l,Qh as m,Rh as n,Sh as o,Th as p,Uh as q}from"./chunk-pfwhd5xs.js";import"./chunk-vwqv8f0y.js";export{h as resizeAndConvert,f as processImage,d as isSharpAvailable,m as isImageFile,e as isImageBackendAvailable,l as groupVariantsByFormat,o as getTotalSize,n as getMimeType,g as getImageMetadata,k as getFallbackVariant,i as generateSrcSet,j as generateSizes,p as formatSize,q as ImageProcessingError,a as DEFAULT_WIDTHS,c as DEFAULT_QUALITY,b as DEFAULT_FORMATS};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as wl,$a as qn,$b as Io,$c as Ip,$d as Iq,A as gk,Aa as Am,Ab as ao,Ac as hp,Ad as hq,Ae as nr,B as hk,Ba as Bm,Bb as bo,Bc as ip,Bd as iq,Be as or,C as ik,Ca as Om,Cb as co,Cc as jp,Cd as jq,Ce as pr,D as jk,Da as Pm,Db as eo,Dc as kp,Dd as kq,De as qr,E as $k,Ea as Qm,Eb as fo,Ec as lp,Ed as lq,Ee as rr,F as al,Fa as Rm,Fb as go,Fc as mp,Fd as mq,Fe as sr,G as bl,Ga as Sm,Gb as ho,Gc as np,Gd as nq,Ge as tr,H as cl,Ha as Tm,Hb as io,Hc as op,Hd as oq,He as ur,I as dl,Ia as Xm,Ib as jo,Ic as pp,Id as pq,Ie as vr,J as el,Ja as Ym,Jb as ko,Jc as qp,Jd as qq,Je as wr,K as fl,Ka as Zm,Kb as lo,Kc as rp,Kd as rq,Ke as xr,L as gl,La as _m,Lb as mo,Lc as sp,Ld as sq,Le as yr,M as hl,Ma as $m,Mb as to,Mc as tp,Md as tq,Me as zr,N as il,Na as an,Nb as uo,Nc as up,Nd as uq,Ne as Ar,O as jl,Oa as bn,Ob as vo,Oc as vp,Od as vq,Oe as Br,P as kl,Pa as cn,Pb as wo,Pc as wp,Pd as wq,Pe as Cr,Q as ll,Qa as dn,Qb as xo,Qc as xp,Qd as xq,Qe as Dr,R as ml,Ra as en,Rb as yo,Rc as yp,Rd as yq,Re as Er,S as nl,Sa as fn,Sb as zo,Sc as zp,Sd as zq,Se as Fr,T as ol,Ta as gn,Tb as Ao,Tc as Ap,Td as Aq,Te as Gr,U as pl,Ua as hn,Ub as Bo,Uc as Bp,Ud as Bq,Ue as Hr,V as ql,Va as jn,Vb as Co,Vc as Cp,Vd as Cq,Ve as Ir,W as rl,Wa as ln,Wb as Do,Wc as Dp,Wd as Dq,We as Jr,X as sl,Xa as mn,Xb as Eo,Xc as Ep,Xd as Eq,Y as tl,Ya as nn,Yb as Fo,Yc as Fp,Yd as Fq,Z as ul,Za as on,Zb as Go,Zc as Gp,Zd as Gq,_ as vl,_a as pn,_b as Ho,_c as Hp,_d as Hq,aa as xl,ab as rn,ac as Jo,ad as Jp,ae as Jq,ba as yl,bb as sn,bc as Ko,bd as Kp,be as Kq,ca as zl,cb as tn,cc as Lo,cd as Lp,ce as Lq,da as Al,db as un,dc as Mo,dd as Mp,de as Mq,ea as Bl,eb as vn,ec as No,ed as Np,ee as Nq,fa as Cl,fb as wn,fc as Oo,fd as Op,fe as Oq,ga as Dl,gb as xn,gc as Po,gd as Pp,ge as Pq,ha as El,hb as yn,hc as Qo,hd as Qp,he as Qq,ia as Fl,ib as zn,ic as Ro,id as Rp,ie as Rq,ja as Gl,jb as An,jc as So,jd as Sp,je as Sq,ka as Hl,kb as Bn,kc as To,kd as Tp,ke as Tq,la as Il,lb as Cn,lc as Uo,ld as Up,le as Uq,ma as Jl,mb as Dn,mc as Vo,md as Vp,me as Vq,na as Kl,nb as Gn,nc as Wo,nd as Wp,ne as ar,o as a,oa as Ll,ob as Hn,oc as Xo,od as Xp,oe as br,p as Tj,pa as pm,pb as In,pc as Yo,pd as Yp,pe as cr,q as Uj,qa as qm,qb as Jn,qc as Zo,qd as Zp,qe as dr,r as Vj,ra as rm,rb as Pn,rc as _o,rd as _p,re as er,s as Wj,sa as sm,sb as Qn,sc as $o,sd as $p,se as fr,t as Xj,ta as tm,tb as Rn,tc as ap,td as aq,te as gr,u as Yj,ua as um,ub as Sn,uc as bp,ud as bq,ue as hr,v as Zj,va as vm,vb as Xn,vc as cp,vd as cq,ve as ir,w as _j,wa as wm,wb as Yn,wc as dp,wd as dq,we as jr,x as $j,xa as xm,xb as Zn,xc as ep,xd as eq,xe as kr,y as ek,ya as ym,yb as _n,yc as fp,yd as fq,ye as lr,z as fk,za as zm,zb as $n,zc as gp,zd as gq,ze as mr}from"./chunk-hh1knan6.js";import{Xe as Kn}from"./chunk-weny2sns.js";import{$e as kn,Ye as Um,Ze as Vm,_e as Wm,af as Ln,bf as Mn,cf as Nn,df as On,ef as Tn,ff as Un,gf as Vn,hf as Wn}from"./chunk-9mzj4q5k.js";import{if as kk,jf as lk,kf as mk,lf as nk,mf as ok,nf as pk,of as qk,pf as rk,qf as sk,rf as tk,sf as uk,tf as vk,uf as wk,vf as xk,wf as yk}from"./chunk-ps20v1ah.js";import{Af as Sk,Bf as Tk,Cf as Uk,Df as Vk,Ef as Wk,Ff as Xk,Gf as Yk,Hf as Zk,If as _k,xf as Pk,yf as Qk,zf as Rk}from"./chunk-kxjh5mc2.js";import{Jf as no,Kf as oo,Lf as po,Mf as qo,Nf as ro,Of as so}from"./chunk-6x87aw24.js";import{Pf as En,Qf as Fn}from"./chunk-mjpqz66q.js";import{Rf as dm,Sf as em,Tf as fm,Uf as gm,Vf as jm,Wf as nm}from"./chunk-2bpa6n7s.js";import{$f as Ql,Xf as Ml,Yf as Nl,Zf as Ol,_f as Pl,ag as Rl,bg as Sl,cg as Tl,dg as Ul,eg as Vl,fg as Wl,gg as Xl,hg as Yl,ig as Zl,jg as _l,kg as km,lg as lm,mg as mm}from"./chunk-d2rhtvxx.js";import{ng as hm,qg as im}from"./chunk-bcgywywg.js";import{Ag as Em,Bg as Fm,Cg as Gm,Dg as Hm,Eg as Im,Fg as Jm,Gg as Km,Hg as Lm,Ig as Mm,Jg as Nm,yg as Cm,zg as Dm}from"./chunk-8bxtvsgm.js";import{Kg as Nk,Lg as Ok}from"./chunk-j83cstqe.js";import{Mg as om}from"./chunk-nk11g9k5.js";import{Ng as Dh,Og as Eh,Pg as Fh,Qg as Gh,Rg as Hh,Sg as Ih}from"./chunk-cvw9brjj.js";import{$g as aj,Tg as Xi,Ug as Yi,Vg as Zi,Zg as _i,_g as $i}from"./chunk-prt5da17.js";import{ah as gj,bh as hj,ch as ij,dh as jj,eh as kj,fh as lj,gh as mj,hh as nj,ih as oj,jh as pj,kh as qj}from"./chunk-h5898m09.js";import{lh as Ni,mh as Oi,nh as Pi,oh as Qi,ph as Ri,rh as Si,sh as Ti,th as Ui,uh as Vi,vh as Wi}from"./chunk-k78gvm0g.js";import{wh as Ij,yh as Jj}from"./chunk-hmf9z4jx.js";import{Eh as zk,Fh as Ak,Gh as Bk,Hh as Ck,Ih as Dk,Jh as Ek,Kh as Fk,Mh as Gk,Nh as Hk,Oh as Ik,Ph as Jk,Qh as Kk,Rh as Lk,Uh as Mk}from"./chunk-8cdfsgjb.js";import{$h as kh,Vh as eh,Wh as fh,Xh as gh,Yh as hh,Zh as ih,_h as jh,ai as lh,bi as mh,ci as nh,di as oh,ei as ph,fi as qh,gi as rh}from"./chunk-mywp77gt.js";import{ii as sh,ji as th,ki as uh,li as vh}from"./chunk-nmkra8q5.js";import{qi as wh}from"./chunk-k0y7ta0d.js";import{ri as Ag}from"./chunk-a668m28h.js";import{si as Bg,ti as Cg}from"./chunk-ynt7y2n5.js";import{ui as Dg,vi as Eg,wi as Fg,xi as Gg,yi as Hg,zi as Ig}from"./chunk-wvq1g6gr.js";import{Ai as Jg,Bi as Kg,Ci as Lg,Di as Mg,Ei as Ng}from"./chunk-wyxw61az.js";import{Fi as Og,Gi as Pg,Hi as Qg,Ii as Rg,Ji as Sg}from"./chunk-k70fgb2f.js";import{Ki as Tg,Li as Ug,Mi as Vg,Ni as Wg,Oi as Xg,Pi as Yg,Qi as Zg}from"./chunk-4vpsvh6x.js";import{Ri as _g,Si as $g,Ti as ah,Ui as bh,Vi as ch,Wi as dh}from"./chunk-jem20v5k.js";import{Yi as xg,Zi as yg}from"./chunk-rbabq8ds.js";import{aj as zg}from"./chunk-p9wkzh0k.js";import"./chunk-efr3ejqt.js";import{ej as ue,fj as ve,gj as we,hj as xe,ij as ye,jj as ze,kj as Ae,lj as Be,mj as Ce,nj as De,oj as Ee,pj as Fe,qj as Ge,rj as He}from"./chunk-hx6y0qqy.js";import{sj as Ye,tj as Ze}from"./chunk-85xj7cgm.js";import{Aj as Ke,Bj as Le,Cj as Me,Dj as Ne,Ej as Oe,Fj as Pe,Gj as Qe,Hj as Re,Ij as Se,Jj as Te,Kj as Ue,Lj as Ve,Mj as We,Nj as Xe}from"./chunk-fed3xsp9.js";import{Oj as _e,Pj as $e,Qj as af,Rj as bf,Sj as cf,Tj as df,Uj as ef,Vj as ff,Wj as gf,Xj as hf,Yj as jf,Zj as kf}from"./chunk-h1tkqfym.js";import{rk as Wq,sk as Xq,tk as Yq,uk as Zq,vk as _q,wk as $q}from"./chunk-tweb2f3m.js";import{Ak as dk,Bk as $l,Ck as am,Dk as bm,Ek as cm,xk as ak,yk as bk,zk as ck}from"./chunk-cjhwpp4c.js";import"./chunk-xtx53xyz.js";import"./chunk-9rgwpt1m.js";import{$l as ac,$m as dd,$o as Pf,$p as Vh,$q as Dj,Al as Ka,Am as Fc,An as Ed,Ao as of,Ap as og,Aq as Di,Bl as La,Bm as Gc,Bn as Fd,Bo as pf,Bp as pg,Bq as Ei,Cl as Ma,Cm as Hc,Cn as Gd,Co as qf,Cp as qg,Cq as Fi,Dl as Na,Dm as Ic,Dn as Hd,Do as rf,Dp as rg,Dq as Gi,El as Oa,Em as Jc,En as Yd,Eo as sf,Ep as sg,Eq as Hi,Fl as ib,Fm as Kc,Fn as Zd,Fo as tf,Fp as tg,Fq as Ii,Gl as jb,Gm as Lc,Gn as _d,Go as uf,Gp as ug,Gq as Ji,Hl as kb,Hn as $d,Ho as vf,Hp as vg,Hq as Ki,Il as lb,Im as Mc,In as ae,Io as wf,Ip as wg,Iq as Li,Jl as mb,Jm as Nc,Jn as be,Jo as xf,Jp as xh,Jq as Mi,Kl as nb,Km as Oc,Kn as ce,Ko as yf,Kp as yh,Kq as bj,Lm as Pc,Ln as de,Lo as zf,Lp as zh,Lq as cj,Mm as Qc,Mn as ee,Mo as Af,Mp as Ah,Mq as dj,Nl as Fb,Nm as Rc,Nn as fe,No as Bf,Np as Bh,Nq as ej,Ol as Gb,Om as Sc,On as ge,Oo as Cf,Op as Ch,Oq as fj,Pl as Hb,Pm as Tc,Pn as he,Po as Df,Pp as Jh,Pq as rj,Ql as Ib,Qm as Uc,Qn as ie,Qo as Ef,Qp as Kh,Qq as sj,Rl as Jb,Rm as Vc,Rn as je,Ro as Ff,Rp as Lh,Rq as tj,Sl as Nb,Sm as Wc,So as Gf,Sp as Mh,Sq as uj,Tl as Ob,Tm as Xc,Tn as ne,To as Hf,Tp as Nh,Tq as vj,Ul as Pb,Um as Yc,Un as oe,Uo as If,Up as Oh,Uq as wj,Vl as Wb,Vm as Zc,Vn as pe,Vo as Jf,Vp as Ph,Vq as xj,Wl as Xb,Wm as _c,Wn as qe,Wo as Kf,Wp as Qh,Wq as yj,Xl as Yb,Xm as $c,Xn as re,Xo as Lf,Xp as Rh,Xq as zj,Yl as Zb,Ym as ad,Yn as se,Yo as Mf,Yp as Sh,Yq as Aj,Zl as _b,Zm as bd,Zn as te,Zo as Nf,Zp as Th,Zq as Bj,_l as $b,_m as cd,_o as Of,_p as Uh,_q as Cj,am as bc,an as ed,ap as Qf,aq as Wh,ar as Ej,bm as cc,bn as fd,bo as Ie,bp as Rf,bq as Xh,br as Fj,cm as dc,cn as gd,co as Je,cp as Sf,cq as Yh,cr as Gj,dm as ec,dn as hd,dp as Tf,dq as Zh,dr as Hj,em as fc,en as id,eo as lf,ep as Uf,eq as hi,er as Kj,fm as gc,fn as jd,fp as Vf,fq as ii,fr as Lj,gm as hc,gn as kd,gp as Wf,gq as ji,gr as Mj,hm as ic,hn as ld,hp as Xf,hq as ki,hr as Nj,im as jc,in as md,ip as Yf,iq as li,ir as Oj,jn as nd,jp as Zf,jq as mi,jr as Pj,kn as od,kp as _f,kq as ni,kr as Qj,lm as kc,ln as pd,lp as $f,lq as oi,lr as Rj,mm as lc,mn as qd,mp as ag,mq as pi,mr as Sj,nl as xa,nm as mc,nn as rd,np as bg,nq as qi,ol as ya,om as nc,on as sd,op as cg,oq as ri,pl as za,pm as oc,pn as td,pp as dg,pq as si,ql as Aa,qm as pc,qn as ud,qp as eg,qq as ti,rl as Ba,rm as qc,rn as vd,rp as fg,rq as ui,sl as Ca,sm as rc,sn as wd,sp as gg,sq as vi,tl as Da,tm as sc,tn as xd,tp as hg,tq as wi,ul as Ea,um as tc,un as yd,up as ig,uq as xi,vl as Fa,vm as uc,vn as zd,vp as jg,vq as yi,wl as Ga,wm as vc,wn as Ad,wo as mf,wp as kg,wq as zi,xl as Ha,xm as wc,xn as Bd,xp as lg,xq as Ai,yl as Ia,ym as xc,yn as Cd,yo as nf,yp as mg,yq as Bi,zl as Ja,zm as yc,zn as Dd,zp as ng,zq as Ci}from"./chunk-tjverybm.js";import{Ar as o,As as ia,Br as p,Bs as ja,Cr as q,Cs as ka,Dr as r,Ds as la,Er as s,Es as ma,Fr as t,Fs as na,Gr as u,Gs as oa,Hr as v,Hs as pa,Ir as w,Is as qa,Jr as x,Js as ra,Kr as y,Ks as sa,Lr as z,Ls as ta,Mr as A,Ms as ua,Nr as B,Ns as va,Or as C,Os as wa,Pr as D,Qr as E,Rr as F,Sr as G,Tr as H,Ur as I,Vr as J,Wr as K,Xr as L,es as M,fs as N,gs as O,hs as P,is as Q,js as R,ks as S,ls as T,ms as U,nr as b,ns as V,or as c,os as W,pr as d,ps as X,qr as e,qs as Y,rr as f,rs as Z,sr as g,ss as _,tr as h,ts as $,ur as i,us as aa,vr as j,vs as ba,wr as k,ws as ca,xr as l,xs as da,yr as m,ys as ea,zr as n,zs as fa}from"./chunk-5g1amf33.js";import{Ps as _h,Qs as $h,Rs as ai,Ss as bi,Ts as ci,Us as di,Vs as ei,Ws as fi,Xs as gi}from"./chunk-0btmm4m2.js";import{Ys as ga,Zs as ha}from"./chunk-6w76w8tt.js";import{$s as Lb,_s as Kb,at as Mb}from"./chunk-7sdvaras.js";import{bt as ke,ct as le,dt as me}from"./chunk-caf2cj4f.js";import{At as Ec,mt as zc,nt as Ac,pt as Bc,yt as Cc,zt as Dc}from"./chunk-br48y7q9.js";import{Bt as Qb,Ct as Rb,Dt as Sb,Et as Tb,Ft as Ub,Gt as Vb}from"./chunk-ja39jznm.js";import{Ht as Id,It as Jd,Jt as Kd,Kt as Ld,Lt as Md,Mt as Nd,Nt as Od,Ot as Pd,Pt as Qd,Qt as Rd,Rt as Sd,St as Td,Tt as Ud,Ut as Vd,Vt as Wd,Wt as Xd}from"./chunk-9s0ax53m.js";import"./chunk-b16crvqg.js";import"./chunk-wxgkq79w.js";import{au as ob,bu as pb,cu as qb,du as rb,eu as sb,fu as tb,gu as ub,hu as vb,iu as wb,ju as xb,ku as yb,lu as zb,mu as Ab,nu as Bb,ou as Cb,pu as Db,qu as Eb}from"./chunk-359ps7j5.js";import{Du as Sa,Eu as Ta,Ku as Ua,Lu as Va,Mu as Wa,Nu as Xa,Ou as Ya,Pu as Za,Qu as _a,Ru as $a,Su as ab,Tu as bb,Uu as cb,Vu as db,Wu as eb,Xu as fb,Yu as gb,_u as hb,uu as Pa,vu as Qa,yu as Ra}from"./chunk-64d20kkv.js";import"./chunk-vkc53tv3.js";import"./chunk-24j0qx2z.js";export{uk as writeNetlifyConfig,lm as writeManifest,Zk as writeImageManifest,Co as wrapComponentForHMR,wr as withDefaults,Hj as webComponentDirectiveHandler,rp as watermark,tq as watchViews,hl as watchMultiple,il as watchEffect,gl as watch,re as warmImagePlaceholders,vl as waitForStore,X as waitForLocale,oo as virtualPathFor,uj as videoDirective,G as validators,Ar as validated,he as validateValueEnhanced,yh as validateTemplate,wp as validateParams,ie as validateFormEnhanced,iq as validateFile,de as validateFields,ce as validateField,Ah as validateDirective,Cd as validateCspDirectives,Pj as validateConfig,qm as validateComponentScripts,Om as validateComponentProps,wg as validateClientScript,vh as v,rc as usesSignalsInScript,ub as usesReactiveRuntime,Nh as userComponentFileExists,bh as useVirtualList,Qd as useTitle,ul as useStoreOrThrow,Uo as useStore,ek as useStorage,Eq as useSlots,gk as useSessionStorage,Nd as useSeoMeta,wl as useRouteParams,yl as useRouteParamOrThrow,xl as useRouteParam,Qd as usePageTitle,Xe as useOptimistic,Al as useMiddlewareValue,zl as useMiddlewareState,fk as useLocalStorage,vo as useLoadingIndicator,Ld as useHead,sh as useForm,Gq as useAttrs,kq as uploadFiles,jq as uploadFile,rl as updateInstance,Ve as untrack,bi as unregisterDirective,sl as unmountInstance,yc as unescapeHtml,ro as typecheckStxFiles,Mh as transpileTypeScript,jr as translate,Ba as transitionDirective,_b as transformAutoImports,Im as toUsers,Hm as toUser,ap as thumbnail,bq as thumbHashToRGBA,cq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,_e as templateCache,Uc as syncRecordedResponse,zo as stxClientHelpers,Gf as structuredDataDirective,mr as stripLocalePrefix,Yl as stripDocumentWrapper,Lb as stripCommentsAndLiterals,un as stringToStream,qd as strictCspPreset,Ce as streamingSuspenseDirective,Ge as streamToResponse,Ae as streamTemplateSimple,ue as streamTemplate,$j as stopHmrServer,Em as stopBroadcasting,Tb as stateDirName,Ub as stateDir,Ke as state,qg as startsDocument,Wn as startProductionServer,Kn as startInteractive,Dm as startBroadcasting,or as stampLocaleLayoutGroup,Ia as staggerDirective,up as srcsetUrls,Ja as springDirective,$c as splitByPipe,Ul as spaNavVaryHeaders,po as sourcePathFor,Bp as smartBatchSign,Ph as slotContentHasExpressions,zp as signUrl,Kh as shouldTranspileTypeScript,Yj as shouldReloadOnChange,Ep as shouldRefreshSignature,Zj as shouldIgnoreFile,Vg as shouldCacheComponent,ep as sharpen,Dr as shape,Sb as setStateDir,El as setRouteParams,Fl as setMiddlewareState,qe as setImagePlaceholder,yq as setGlobalProvide,b as setErrorLocale,$k as setCurrentInstance,ij as setCachedVideoResult,Zi as setCachedImageResult,Ti as setCached,Gr as serveStxFile,Ir as serveMultipleStxFiles,Tj as serveMarkdownFile,fo as serveFile,Jr as serveApp,eo as serve,Fo as serializeState,kn as serializeSetCookie,gp as sepia,Od as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,yj as scopeHTML,xj as scopeCSS,Jf as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,kp as saturation,xp 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,zf as runPreProcessingMiddleware,Af as runPostProcessingMiddleware,Nn as runPageAction,Qe as runMountCallbacks,gb as runMiddleware,pl as runHooks,cr as runDoctor,Re as runDestroyCallbacks,Of as runComposers,lp as rotate,wh as rewriteImagesWithSiblings,Vc as responseBindings,Th as resolveTemplatePath,ha as resolveStxTargets,Lj as resolveStxDirectories,ir as resolveI18n,_o as resize,ec as resetPlaceholders,Kd as resetHead,Eo as resetHMRHandler,o as resetErrorConfig,yr as required,ic as replacePlaceholders,rq as renderView,rj as renderVideoComponent,Xb as renderVendorStyleTags,Nq as renderToString,Oq as renderToStream,Pq as renderToDOM,aq as renderThumbhashToCanvas,$q as renderTemplateString,Zq as renderTemplate,_q as renderString,xe as renderStreamingPage,Fh as renderSlot,Lg as renderSSRSuspense,Mp as renderProtectedVideo,Lp as renderProtectedImg,yp as renderMediaUpload,Yq as renderMarkdownView,bm as renderLayoutTypes,bj as renderImgComponent,Pk as renderImageComponent,Sd as renderHtmlAttrs,Rd as renderHead,uq as renderEmail,Rh as renderComponentWithSlot,Td as renderBodyAttrs,Po as render,sd as relaxedCspPreset,be as registerValidationRule,Ee as registerStreamingDirectives,Wo as registerStoresClient,Cl as registerStore,Hf as registerSeoDirectives,_a as registerMiddleware,mc as registerFilters,lc as registerFilter,d as registerErrorMessages,ge as registerEnhancedValidationRule,_h as registerDirective,Bd as registerCspDirectives,Rm as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,dl as ref,Cn as redirect,Qc as recordResponseStatus,Rc as recordResponseHeader,Vb as rebaseOntoStateDir,Sc as readResponseStatus,Tc as readResponseHeaders,Rj as readMarkdownFile,$e as readFileCached,el as reactive,pp as quality,Jp as pruneSignatureCache,Wi as pruneCache,wq as provide,Xq as protectCodeBlocks,xr as prop,Rf as processVueTemplate,$g as processVirtualListDirectives,dh as processVirtualGridDirectives,qj as processVideo,ee as processValidateDirective,ea as processTranslateDirective,Fg as processTransitionDirectives,Ig as processTransitionAttributes,Wd as processTitleDirective,Ic as processTemplateBindings,Bg as processTeleportDirectives,Jg as processSuspenseDirectives,Cf as processStructuredData,ye as processStreamDirectives,Wc as processStatusDirective,qh as processStaticDirectives,xf as processStackReplacements,wf as processStackPushDirectives,Gh as processSlots,Wl as processShell,te as processServerBindings,Df as processSeoDirective,Fe as processSectionDirectives,Uf as processScopedStyles,Gc as processReactiveBindings,Np as processProtectedMedia,jh as processPartialHydrationDirectives,vg as processOnceDirective,yf as processMiddleware,Bf as processMetaDirectives,Xd as processMetaDirective,Sj as processMarkdownFileDirectives,Yh as processMarkdownDirectives,rf as processLoops,Tg as processKeepAliveDirectives,ug as processJsonDirective,ch as processInfiniteListDirectives,vf as processIncludes,dj as processImgComponents,Rk as processImageComponents,Ek as processImage,Vd as processHeadDirective,Zd as processForms,$d as processFormInputDirectives,vc as processExpressions,Ib as processEventDirectives,ae as processErrorDirective,Sf as processDynamicComponents,xh as processDirectives,gi as processDirectiveAttributes,Ag as processDeferDirectives,Gd as processCustomDirectives,yd as processCspDirectives,Er as processComponentProps,dc as processClientScript,_d as processBasicFormDirectives,Og as processAsyncDirectives,Hd as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,me as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,uo as preloadIslandHandlers,se as preloadIconCollection,zm as poolStrings,Jj as pluginManager,oe as placeholdersWarmed,Eg as performLeave,Dg as performEnter,Se as pendingLifecycleCounts,We as peek,sf as partialsCache,sj as parseVideoDirectiveOptions,Yo as parseUrl,dq as parseThumbhashString,fd as parseSwitchBlock,Dh as parseSlots,Eh as parseSlotElement,kd as parseScriptDeclarations,Fj as parseSFCComponent,Op as parseProtectedArgs,qf as parseLoopBinding,cj as parseImgComponent,ui as parseImageUrl,Qk as parseImageComponent,Ln as parseFormBody,hd as parseExpressionWithFilters,Sm as parseDefaults,zn as parseCookies,Ol as parseContainerSelector,cd as parseConditionalBlock,id as parseArguments,Ma as parseAnimationShorthand,zr as optional,Am as optimizeTemplate,Wk as optimizeImage,Xk as optimizeDirectory,Br as oneOf,tf as onceStore,ml as onUpdated,Fc as onUpdate,ol as onUnmounted,Jl as onServer,kl as onMounted,Oe as onMount,ph as onHydrated,Cq as onErrorCaptured,Pe as onDestroy,Zg as onDeactivated,Il as onClient,ll as onBeforeUpdate,nl as onBeforeUnmount,jl as onBeforeMount,Yg as onActivated,Yp as observeElement,Dn as notFound,Zf as normalizeCriticalHeadOrder,Bq as nextTick,Vm as negotiateEncoding,Ua as navigateTo,ql as mountInstance,Ea as motionDirective,rd as moderateCspPreset,ym as minifyHtml,Ff as metaDirective,ig as metaDedupKey,Zo as mergeParams,kg as mergeHtmlAttrs,Md as mergeHeadConfigs,Ac as mergeCssConfig,vd as mergeCspDirectives,Ra as matchRoute,Zh as markdownDirectiveHandler,Qj as markdownCache,ga as looksLikeGlob,lr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Mj as loadStxConfig,db as loadMiddlewareFromDirectory,mm as loadManifest,Up as loadElement,Fm as loadChannels,sr as lintStxStrict,Wp as lazyLoadAll,Vp as lazyLoad,Ha as keyframeDirective,Lq as jsxs,Mq as jsxDEV,Kq as jsx,Bn as jsonResponse,De as islandDirective,l as isTest,Zl as isSpaNavigation,Sl as isSpaNavRequest,Cp as isSignatureValid,Te as isSignal,Ck as isSharpAvailable,nn as isServerEnvironment,Gl as isServer,yb as isRuntimeOwnedColonAttr,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Rp as isNativeLazySupported,Wq as isMarkdownPath,Q as isLoading,R as isLoaded,Jh as isJavaScriptScript,Sp as isIntersectionObserverSupported,Kk as isImageFile,Dk as isImageBackendAvailable,aa as isICUFormat,oh as isHydrated,Oh as isHydrateTrigger,Oc as isHttpStatus,mn as isEdgeEnvironment,tr as isDirectiveKind,k as isDevelopment,Ue as isDerived,Xj as isCssOnlyChange,Um as isCompressible,Hl as isClient,Qg as isAsyncComponent,Mn as isActionableMethod,hp as invert,bf as invalidateFileCacheByDir,af as invalidateFileCache,uc as interpolateScriptsInTemplate,sc as interpolateScriptExpressions,tc as interpolateScriptAttributes,x as inlineError,hr as injectThemeBootstrap,Ef as injectSeoTags,er as injectSeo,lf as injectRouterScript,Wj as injectHotReload,kb as injectHeatmap,Ec as injectCss,wd as injectCspMetaTag,sg as injectConfigHeadTags,Yf as injectColorModeBootScript,mg as injectCloakStyle,dg as injectBuildId,Zb as injectBrowserCoreAutoImports,Kc as injectAnalytics,xq as inject,Bl as initStoreRegistry,xk as initNetlify,wo as initLoadingIndicator,Tp as initLazyLoading,Jn as initFile,$p as initBlurUp,fq as initAllBlurUp,fj as imgDirective,Uk as imageDirective,Un as hydrateTemplateStream,Tn as hydrateTemplate,to as hydrateIslands,lh as hydrateIsland,Vn as hydrateFragment,mh as hydrateByStrategy,nh as hydrateAll,Mo as hydrate,co as htmlResponse,og as hoistLeadingHeadTags,_f as hoistColorModeBootScript,lb as heatmapDirective,Pi as hashString,kf as hashFilePath,Ni as hashFile,Oi as hashBuffer,Qf as hasVueTemplateSyntax,pf as hasVariables,Ro as hasStore,jc as hasPlaceholders,vk as hasNetlifyConfig,ab as hasMiddleware,Jb as hasEventDirectives,rg as hasDocumentShell,Bh as hasDirectives,ma as hasDOMSupport,Nk as handleImageRequest,Dq as handleError,Tq as h,Jk as groupVariantsByFormat,fp as grayscale,Xn as gitHash,sm as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,qk as getTotalSize,Dp as getTimeUntilExpiry,xg as getStoreScript,So as getStoreNames,Qo as getStore,jk as getStorageSize,ik as getStorageKeys,Uh as getSourceLineInfo,Lh as getSharedTranspiler,ff as getServeClientAsset,la as getScreenReaderOnlyStyle,zj as getScopeAttribute,Je as getRouteParams,Ob as getPublicEnvDefine,Pb as getPublicEnv,zh as getPositionInfo,gc as getPlaceholderRegistry,Mi as getPlaceholderCacheStats,Jd as getPageMeta,md as getNonce,Lk as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,ne as getImagePlaceholder,Fk as getImageMetadata,ke as getImageDelivery,Lo as getHydrationRuntime,Dl as getHydratedStoreState,_j as getHmrServer,Id as getHead,Do as getHMRHandler,yi as getFormatExtension,Ri as getFileMtime,Ik as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,ai as getDirectives,$h as getDirective,al as getCurrentInstance,Bc as getCssServeAsset,ud as getCspPreset,Dd as getCspHeaderName,Xh as getComponentCacheStats,hj as getCachedVideoResult,Hp as getCachedSignature,df as getCachedSignalsRuntime,ef as getCachedRouterScript,Ki as getCachedPlaceholder,Yi as getCachedImageResult,Si as getCached,Vi as getCacheStats,bg as getBuildId,Cm as getBroadcastServer,xi as getBestVariant,nc as getAllFilters,li as generateWidthSrcset,ah as generateVirtualListCSS,mq as generateVideoPreview,je as generateValidationScript,nq as generateUploadRuntime,tm as generateTreeShakenBundle,Hg as generateTransitionRuntime,Gg as generateTransitionCSS,lj as generateThumbnails,Di as generateThumbhashPlaceholder,cn as generateTemplatesDocs,Ng as generateSuspenseRuntime,Mg as generateSuspenseCSS,Go as generateStateScript,vi as generateSrcsetData,aj as generateSrcset,Gk as generateSrcSet,mj as generateSpriteSheet,vq as generateSpaShell,wi as generateSourceTags,ri as generateSizesFromBreakpoints,qi as generateSizesAttribute,Hk as generateSizes,If as generateSitemapIndex,fr as generateSitemap,Qp as generateSimpleMediaPicker,Kp as generateSignatureRuntime,Ze as generateSignalsRuntimeDev,Ye as generateSignalsRuntime,cc as generateServerDataBridge,wj as generateScopeId,Gj as generateSFCWebComponent,Gb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,Kf as generateRobotsTxt,gr as generateRobots,$i as generateResponsiveVariants,Cj as generateReactiveWebComponentTS,Bj as generateReactiveWebComponent,Ej as generateReactiveRuntime,Dj as generateReactiveMixin,kj as generatePoster,Ji as generatePlaceholderStyle,Ii as generatePlaceholderCSS,Ci as generatePlaceholder,kh as generatePartialHydrationCSS,ld as generateNonce,rk as generateNetlifyToml,pq as generateMinifiedMediaRuntime,oq as generateMediaRuntime,Pp as generateMediaManagerEmbed,km as generateManifest,yo as generateLoadingIndicatorHtml,_p as generateLazyLoadRuntime,cm as generateLayoutTypes,Fi as generateLQIP,Xg as generateKeepAliveRuntime,Wg as generateKeepAliveCSS,rh as generateIslandManifest,lq as generateImagePreview,Yk as generateImageManifest,Ko as generateHydrationScript,He as generateHydrationRuntime,No as generateHydrationCSS,eh as generateHydrationBootstrap,Vj as generateHotReloadScript,jb as generateHeatmapScript,Bo as generateHMRClientScript,nj as generateHLSManifest,Ho as generateEventBindings,pi as generateDprSrcsetWithVariableQuality,oi as generateDprSrcset,pg as generateDocumentShell,hn as generateDocs,dn as generateDirectivesDocs,fi as generateDirectiveRuntime,Lf as generateDefaultRobotsTxt,oj as generateDASHManifest,Dc as generateCss,pd as generateCspMetaTag,od as generateCspHeader,Iq as generateCompositionRuntime,bn as generateComponentsDocs,fh as generateComponentManifest,$m as generateComponentDoc,Hi as generateColorPlaceholder,Xf as generateColorModeBootScript,tl as generateClientRuntime,Qi as generateCacheKey,ac as generateBrowserAutoImportDestructuring,gq as generateBlurUpRuntime,hq as generateBlurUpCSS,Hc as generateBindingsRuntime,mi as generateAutoWidthSrcset,$b as generateAutoImportDestructuring,Sg as generateAsyncComponentRuntime,Rg as generateAsyncComponentCSS,Na as generateAnimationRuntime,La as generateAnimationCSS,Jc as generateAnalyticsScript,so as formatTypecheckDiagnostics,mo as formatTypeErrors,Gn as formatStxContent,pk as formatSize,Ta as formatRoutes,Hn as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,dr as formatDoctorReport,en as formatDocsAsMarkdown,gn as formatDocsAsJson,fn as formatDocsAsHtml,op as format,xm as foldConstants,np as flipVertical,mp as flipHorizontal,dm as fingerprint,qo as findRuntimeTypeDeclarations,br as findPantryPackage,bd as findMatchingEndTag,Zc as findMatchingDelimiter,Kb as findInterpolationEnd,dd as findIfBlocks,gd as findExpressions,Sa as findErrorPage,ed as findDirectiveBlocks,um as findDeadCode,um as findDeadBranches,Pl as findContainerRegion,an as findComponentFiles,Hr as findCommonDir,ok as filterRequiredFiles,Sh as fileExists,mf as extractVariables,im as extractTemplateExpressions,ze as extractStreamBoundaries,Io as extractState,Hh as extractSlotContent,of as extractScriptFromTemplate,hm as extractScriptBlocks,hc as extractPlaceholders,ad as extractParenthesizedExpression,Pc as extractPageResponseStatus,hb as extractLayoutMetadata,Gi as extractDominantColor,jd as extractDirectiveParams,Ch as extractDirectiveNames,_l as extractContainerContent,Zm as extractComponentProps,gh as extractComponentName,_m as extractComponentDescription,Cc as extractClassNames,bc as extractBridgeData,hh as extractBoundProps,_c as extractBalancedExpression,Wb as extractAndStripCssImports,Aj as extractAndScopeStyles,Hb as extractAndProcessEvents,ck as externalizeSharedAssets,dk as externalizeRepeatedAssets,bk as externalizeHtml,xc as evaluateExpression,wm as evaluateConstant,Xc as evaluateAuthExpression,qc as escapeHtmlValue,pc as escapeHtml,C as errorRecovery,E as errorLogger,Cg as ensureTeleportTargets,tg as ensureDocumentShell,fe as enhancedValidationRules,Xm as enableDevTools,vm as eliminateDeadCode,Me as effect,vp as dprUrls,jn as docsCommand,am as discoverLayoutNames,Zp as disconnectObserver,Ym as disableDevTools,F as devHelpers,Vl as detectShell,ln as detectRuntime,sk as detectProjectConfig,zi as detectFormat,pm as detectBuildMode,Le as derived,wk as deploy,Oj as defineStxConfig,Vo as defineStore,Fq as defineSlots,rr as defineSiteConfig,vr as definePropsWithValidation,ur as defineProps,Ij as definePlugin,Pd as definePageMeta,Wa as defineMiddleware,th as defineForm,Aq as defineExpose,zq as defineEmits,ci as defineDirective,Vq as defineCustomElement,Sn as defineConfig,di as defineClientDirective,Pg as defineAsyncComponent,qq as defaultMediaConfig,_k as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,Yd as defaultFormClasses,kc as defaultFilters,Fd as defaultCspConfig,Kj as defaultConfig,Fr as default,zc as deepMergeThemes,Tf as dedupeScopedStyles,Ei as decodeThumbhash,Ad as cspNonceDirective,zd as cspDirective,eq as crossfadeTransition,$o as crop,_g as createVirtualList,tj as createVideoDirective,xn as createVercelHandler,jo as createTypeChecker,fa as createTranslateFilter,tn as createTextEncoderStream,Uq as createStxApp,sn as createStreamingResponse,Be as createStreamRenderer,To as createStore,Za as createStorageManager,Xa as createServerCookieManager,cl as createScope,Kg as createSSRSuspense,Ie as createRouter,eb as createRouteLocation,ho as createRoute,dl as createRef,el as createReactive,Hq as createProvideContext,Zn as createProject,Rn as createProductionBuild,fc as createPlaceholder,Bm as createOptimizedBuild,yn as createNetlifyHandler,kk as createNetlifyClient,fb as createMiddlewareContext,go as createMiddleware,Xp as createLazyObserver,Ug as createKeepAliveCache,pn as createKVNamespace,ih as createIslandRegistry,ej as createImgDirective,Vk as createImagePlugin,Ok as createImageHandler,Tk as createImageDirective,nb as createHeatmapAggregator,nk as createFileManifest,on as createEnvAccessor,z as createEnhancedError,rn as createEdgeHandler,qn as createEdgeCache,Vh as createDetailedErrorMessage,wn as createDenoHandler,tk as createDefaultNetlifyConfig,Ed as createCspHeaders,An as createCookie,fl as createComputed,bl as createComponentInstance,vn as createCloudflareHandler,Ya as createClientCookieManager,ei as createBuiltinDirectives,Uq as createApp,Ka as createAnimationTimeline,cp as cover,nf as convertToCommonJS,jp as contrast,bp as contain,y as consoleError,m as configureErrorHandling,Nj as config,fl as computed,Wm as compressResponse,Nf as composerPattern,Mf as composer,Xl as composeShellWithPage,Qm as componentDirective,Qh as componentClientSignalNames,jm as compileTemplate,a as collectRepeatedFlag,mk as collectDeployFiles,ng as cloakStyleFragment,jj as clearVideoCache,N as clearTranslationCache,yg as clearStoreCache,hk as clearStorage,Ip as clearSignatureCache,Li as clearPlaceholderCache,uf as clearOnceStore,nd as clearNonce,bb as clearMiddleware,pe as clearImagePlaceholders,le as clearImageDeliveryCatalog,Sk as clearImageCache,e as clearErrorMessages,gf as clearDevCaches,oc as clearCustomFilters,Pf as clearComposers,zg as clearComposableCache,Wh as clearComponentCache,Ui as clearCache,Db as clearBlankCache,xo as cleanupLoadingIndicator,Ml as classifyScript,Nl as classifyAllScripts,ko as checkTemplateFile,lo as checkTemplate,hf as checkCache,Fp as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Lm as channel,Fn as captureScreenshots,En as captureScreenshot,Z as cancelPendingLoads,lk as calculateSha1,ni as calculateOptimalWidths,jf as cacheTemplate,vj as buildWebComponents,no as buildVirtualSource,sq as buildViews,Xo as buildUrl,ve as buildSuspenseResolveScript,qr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,em as buildRuntimeAsset,fm as buildRouterAsset,pr as buildLangPickerScript,ti as buildImageUrl,eg as buildIdFragment,jg as buildHtmlAttrs,nm as buildForProduction,Tm as buildComponentLibrary,Gp as buildAuthParams,om as buildApp,nr as buildAlternateLinks,Qn as build,Jm as broadcastPrivate,Km as broadcastPresence,Gm as broadcast,ip as brightness,Mb as bracketDepths,dp as blur,Eb as blankInertHtmlRegions,Ap as batchSignUrls,Ne as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,qp as auto,ja as attributeValue,gm as assetTags,Fb as asInvocableStatement,Cr as arrayOf,kr as applyTranslations,_i as applyTransformations,Ih as applySlots,Pm as applyPropDefaults,tp as applyPreset,lg as applyHtmlAttrs,Ud as applyHead,wc as applyFilters,Tl as appendVary,td as apiCspPreset,Da as animationGroupDirective,pj as analyzeVideo,rm as analyzeUsage,Kl as analyzeTemplate,Ll as analyzeProject,rm as analyzeDirectiveUsage,Lc as analyticsDirective,ao as addStore,$n as addPage,xd as addNonceToInlineContent,bo as addLayout,_n as addComponent,On as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,cf as __setSignalsGeneratorsForTest,cg as __setBuildIdForTest,gj as VideoProcessorCache,uh as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,Yc as Tokenizer,io as TemplateTypeChecker,In as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,Qq as Show,we as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,Yb as STX_AUTO_IMPORTS,Rb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Ql as SPA_NAV_HEADER,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Mc as RESPONSE_STATUS_KEY,Nc as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Pn as ProductionBuild,Sq as Portal,Yn as PROJECT_TEMPLATES,sp as PRESETS,sb as NON_CLIENT_PRIMITIVES,Oo as MemorySessionStore,ki as MIME_TYPES,hi as MEDIA_DEFAULT_WIDTHS,ji as MEDIA_DEFAULT_FORMATS,$l as LAYOUT_TYPES_FILE,Xi as ImageProcessorCache,Mk as ImageProcessingError,Jo as HydrationRuntime,Uj as HotReloadServer,mb as HeatmapAggregator,hg as HTML_CLASS_MARKER,gg as HTML_ATTRS_MARKER,Jq as Fragment,Rq as For,Rl as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,ak as EXTERNALIZED_ASSET_DIR,yk as DeployError,zk as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Qb as DEFAULT_STATE_DIR,Bk as DEFAULT_QUALITY,Ai as DEFAULT_PLACEHOLDER_OPTIONS,Ak as DEFAULT_FORMATS,ii as DEFAULT_DPR_VALUES,Ao as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,si as COMMON_SIZES,Vf as COLOR_MODE_BOOT_MARKER,Wf as COLOR_MODE_BOOT_GLOBAL,fg as CLOAK_STYLE,Nm as BroadcastServer,Mm as Broadcast,$f as BUILD_ID_META,ag as BUILD_ID_HEADER,Nb as BROWSER_CORE_IMPORTS,Bi as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,ar as $path};
|
|
2
|
+
import{$ as wl,$a as qn,$b as Io,$c as Ip,$d as Iq,A as gk,Aa as Am,Ab as ao,Ac as hp,Ad as hq,Ae as nr,B as hk,Ba as Bm,Bb as bo,Bc as ip,Bd as iq,Be as or,C as ik,Ca as Om,Cb as co,Cc as jp,Cd as jq,Ce as pr,D as jk,Da as Pm,Db as eo,Dc as kp,Dd as kq,De as qr,E as $k,Ea as Qm,Eb as fo,Ec as lp,Ed as lq,Ee as rr,F as al,Fa as Rm,Fb as go,Fc as mp,Fd as mq,Fe as sr,G as bl,Ga as Sm,Gb as ho,Gc as np,Gd as nq,Ge as tr,H as cl,Ha as Tm,Hb as io,Hc as op,Hd as oq,He as ur,I as dl,Ia as Xm,Ib as jo,Ic as pp,Id as pq,Ie as vr,J as el,Ja as Ym,Jb as ko,Jc as qp,Jd as qq,Je as wr,K as fl,Ka as Zm,Kb as lo,Kc as rp,Kd as rq,Ke as xr,L as gl,La as _m,Lb as mo,Lc as sp,Ld as sq,Le as yr,M as hl,Ma as $m,Mb as to,Mc as tp,Md as tq,Me as zr,N as il,Na as an,Nb as uo,Nc as up,Nd as uq,Ne as Ar,O as jl,Oa as bn,Ob as vo,Oc as vp,Od as vq,Oe as Br,P as kl,Pa as cn,Pb as wo,Pc as wp,Pd as wq,Pe as Cr,Q as ll,Qa as dn,Qb as xo,Qc as xp,Qd as xq,Qe as Dr,R as ml,Ra as en,Rb as yo,Rc as yp,Rd as yq,Re as Er,S as nl,Sa as fn,Sb as zo,Sc as zp,Sd as zq,Se as Fr,T as ol,Ta as gn,Tb as Ao,Tc as Ap,Td as Aq,Te as Gr,U as pl,Ua as hn,Ub as Bo,Uc as Bp,Ud as Bq,Ue as Hr,V as ql,Va as jn,Vb as Co,Vc as Cp,Vd as Cq,Ve as Ir,W as rl,Wa as ln,Wb as Do,Wc as Dp,Wd as Dq,We as Jr,X as sl,Xa as mn,Xb as Eo,Xc as Ep,Xd as Eq,Y as tl,Ya as nn,Yb as Fo,Yc as Fp,Yd as Fq,Z as ul,Za as on,Zb as Go,Zc as Gp,Zd as Gq,_ as vl,_a as pn,_b as Ho,_c as Hp,_d as Hq,aa as xl,ab as rn,ac as Jo,ad as Jp,ae as Jq,ba as yl,bb as sn,bc as Ko,bd as Kp,be as Kq,ca as zl,cb as tn,cc as Lo,cd as Lp,ce as Lq,da as Al,db as un,dc as Mo,dd as Mp,de as Mq,ea as Bl,eb as vn,ec as No,ed as Np,ee as Nq,fa as Cl,fb as wn,fc as Oo,fd as Op,fe as Oq,ga as Dl,gb as xn,gc as Po,gd as Pp,ge as Pq,ha as El,hb as yn,hc as Qo,hd as Qp,he as Qq,ia as Fl,ib as zn,ic as Ro,id as Rp,ie as Rq,ja as Gl,jb as An,jc as So,jd as Sp,je as Sq,ka as Hl,kb as Bn,kc as To,kd as Tp,ke as Tq,la as Il,lb as Cn,lc as Uo,ld as Up,le as Uq,ma as Jl,mb as Dn,mc as Vo,md as Vp,me as Vq,na as Kl,nb as Gn,nc as Wo,nd as Wp,ne as ar,o as a,oa as Ll,ob as Hn,oc as Xo,od as Xp,oe as br,p as Tj,pa as pm,pb as In,pc as Yo,pd as Yp,pe as cr,q as Uj,qa as qm,qb as Jn,qc as Zo,qd as Zp,qe as dr,r as Vj,ra as rm,rb as Pn,rc as _o,rd as _p,re as er,s as Wj,sa as sm,sb as Qn,sc as $o,sd as $p,se as fr,t as Xj,ta as tm,tb as Rn,tc as ap,td as aq,te as gr,u as Yj,ua as um,ub as Sn,uc as bp,ud as bq,ue as hr,v as Zj,va as vm,vb as Xn,vc as cp,vd as cq,ve as ir,w as _j,wa as wm,wb as Yn,wc as dp,wd as dq,we as jr,x as $j,xa as xm,xb as Zn,xc as ep,xd as eq,xe as kr,y as ek,ya as ym,yb as _n,yc as fp,yd as fq,ye as lr,z as fk,za as zm,zb as $n,zc as gp,zd as gq,ze as mr}from"./chunk-8x7rzbww.js";import{Xe as Kn}from"./chunk-ahsj1r5g.js";import{$e as kn,Ye as Um,Ze as Vm,_e as Wm,af as Ln,bf as Mn,cf as Nn,df as On,ef as Tn,ff as Un,gf as Vn,hf as Wn}from"./chunk-x4mab1rw.js";import{if as kk,jf as lk,kf as mk,lf as nk,mf as ok,nf as pk,of as qk,pf as rk,qf as sk,rf as tk,sf as uk,tf as vk,uf as wk,vf as xk,wf as yk}from"./chunk-ps20v1ah.js";import{Af as Sk,Bf as Tk,Cf as Uk,Df as Vk,Ef as Wk,Ff as Xk,Gf as Yk,Hf as Zk,If as _k,xf as Pk,yf as Qk,zf as Rk}from"./chunk-k7mewajj.js";import{Jf as no,Kf as oo,Lf as po,Mf as qo,Nf as ro,Of as so}from"./chunk-cyrcdgfj.js";import{Pf as En,Qf as Fn}from"./chunk-mjpqz66q.js";import{Rf as dm,Sf as em,Tf as fm,Uf as gm,Vf as jm,Wf as nm}from"./chunk-gt6ahj63.js";import{$f as Ql,Xf as Ml,Yf as Nl,Zf as Ol,_f as Pl,ag as Rl,bg as Sl,cg as Tl,dg as Ul,eg as Vl,fg as Wl,gg as Xl,hg as Yl,ig as Zl,jg as _l,kg as km,lg as lm,mg as mm}from"./chunk-3y3vfypn.js";import{ng as hm,qg as im}from"./chunk-70z62b1s.js";import{Ag as Em,Bg as Fm,Cg as Gm,Dg as Hm,Eg as Im,Fg as Jm,Gg as Km,Hg as Lm,Ig as Mm,Jg as Nm,yg as Cm,zg as Dm}from"./chunk-8bxtvsgm.js";import{Kg as Nk,Lg as Ok}from"./chunk-vrhp2xnm.js";import{Mg as om}from"./chunk-p9bnsy2t.js";import{Ng as Dh,Og as Eh,Pg as Fh,Qg as Gh,Rg as Hh,Sg as Ih}from"./chunk-pzhq87vq.js";import{$g as aj,Tg as Xi,Ug as Yi,Vg as Zi,Zg as _i,_g as $i}from"./chunk-5t50pdtm.js";import{ah as gj,bh as hj,ch as ij,dh as jj,eh as kj,fh as lj,gh as mj,hh as nj,ih as oj,jh as pj,kh as qj}from"./chunk-fz91fd99.js";import{lh as Ni,mh as Oi,nh as Pi,oh as Qi,ph as Ri,rh as Si,sh as Ti,th as Ui,uh as Vi,vh as Wi}from"./chunk-k78gvm0g.js";import{wh as Ij,yh as Jj}from"./chunk-hmf9z4jx.js";import{Eh as zk,Fh as Ak,Gh as Bk,Hh as Ck,Ih as Dk,Jh as Ek,Kh as Fk,Mh as Gk,Nh as Hk,Oh as Ik,Ph as Jk,Qh as Kk,Rh as Lk,Uh as Mk}from"./chunk-pfwhd5xs.js";import{$h as kh,Vh as eh,Wh as fh,Xh as gh,Yh as hh,Zh as ih,_h as jh,ai as lh,bi as mh,ci as nh,di as oh,ei as ph,fi as qh,gi as rh}from"./chunk-mywp77gt.js";import{ii as sh,ji as th,ki as uh,li as vh}from"./chunk-nmkra8q5.js";import{qi as wh}from"./chunk-k0y7ta0d.js";import{ri as Ag}from"./chunk-a668m28h.js";import{si as Bg,ti as Cg}from"./chunk-ynt7y2n5.js";import{ui as Dg,vi as Eg,wi as Fg,xi as Gg,yi as Hg,zi as Ig}from"./chunk-wvq1g6gr.js";import{Ai as Jg,Bi as Kg,Ci as Lg,Di as Mg,Ei as Ng}from"./chunk-wyxw61az.js";import{Fi as Og,Gi as Pg,Hi as Qg,Ii as Rg,Ji as Sg}from"./chunk-k70fgb2f.js";import{Ki as Tg,Li as Ug,Mi as Vg,Ni as Wg,Oi as Xg,Pi as Yg,Qi as Zg}from"./chunk-4vpsvh6x.js";import{Ri as _g,Si as $g,Ti as ah,Ui as bh,Vi as ch,Wi as dh}from"./chunk-jem20v5k.js";import{Yi as xg,Zi as yg}from"./chunk-s8g3n7ym.js";import{aj as zg}from"./chunk-ph3jj8j4.js";import"./chunk-efr3ejqt.js";import{ej as ue,fj as ve,gj as we,hj as xe,ij as ye,jj as ze,kj as Ae,lj as Be,mj as Ce,nj as De,oj as Ee,pj as Fe,qj as Ge,rj as He}from"./chunk-75re458k.js";import{sj as Ye,tj as Ze}from"./chunk-kp8ec2f4.js";import{Aj as Ke,Bj as Le,Cj as Me,Dj as Ne,Ej as Oe,Fj as Pe,Gj as Qe,Hj as Re,Ij as Se,Jj as Te,Kj as Ue,Lj as Ve,Mj as We,Nj as Xe}from"./chunk-fed3xsp9.js";import{Oj as _e,Pj as $e,Qj as af,Rj as bf,Sj as cf,Tj as df,Uj as ef,Vj as ff,Wj as gf,Xj as hf,Yj as jf,Zj as kf}from"./chunk-9rcrgt1d.js";import{rk as Wq,sk as Xq,tk as Yq,uk as Zq,vk as _q,wk as $q}from"./chunk-b6xqp9s4.js";import{Ak as dk,Bk as $l,Ck as am,Dk as bm,Ek as cm,xk as ak,yk as bk,zk as ck}from"./chunk-wvxce7p4.js";import"./chunk-xtx53xyz.js";import"./chunk-ns50qry3.js";import{$l as $b,$m as cd,$o as Of,$p as Uh,$q as Cj,Al as Ja,Am as yc,An as Dd,Ap as ng,Aq as Ci,Bl as Ka,Bm as Fc,Bn as Ed,Bo as of,Bp as og,Bq as Di,Cl as La,Cm as Gc,Cn as Fd,Co as pf,Cp as pg,Cq as Ei,Dl as Ma,Dm as Hc,Dn as Gd,Do as qf,Dp as qg,Dq as Fi,El as Na,Em as Ic,En as Hd,Eo as rf,Ep as rg,Eq as Gi,Fl as Oa,Fm as Jc,Fn as Yd,Fo as sf,Fp as sg,Fq as Hi,Gl as ib,Gm as Kc,Gn as Zd,Go as tf,Gp as tg,Gq as Ii,Hl as jb,Hm as Lc,Hn as _d,Ho as uf,Hp as ug,Hq as Ji,Il as kb,In as $d,Io as vf,Ip as vg,Iq as Ki,Jl as lb,Jm as Mc,Jn as ae,Jo as wf,Jp as wg,Jq as Li,Kl as mb,Km as Nc,Kn as be,Ko as xf,Kp as xh,Kq as Mi,Ll as nb,Lm as Oc,Ln as ce,Lo as yf,Lp as yh,Lq as bj,Mm as Pc,Mn as de,Mo as zf,Mp as zh,Mq as cj,Nm as Qc,Nn as ee,No as Af,Np as Ah,Nq as dj,Ol as Fb,Om as Rc,On as fe,Oo as Bf,Op as Bh,Oq as ej,Pl as Gb,Pm as Sc,Pn as ge,Po as Cf,Pp as Ch,Pq as fj,Ql as Hb,Qm as Tc,Qn as he,Qo as Df,Qp as Jh,Qq as rj,Rl as Ib,Rm as Uc,Rn as ie,Ro as Ef,Rp as Kh,Rq as sj,Sl as Jb,Sm as Vc,Sn as je,So as Ff,Sp as Lh,Sq as tj,Tl as Nb,Tm as Wc,To as Gf,Tp as Mh,Tq as uj,Ul as Ob,Um as Xc,Un as ne,Uo as Hf,Up as Nh,Uq as vj,Vl as Pb,Vm as Yc,Vn as oe,Vo as If,Vp as Oh,Vq as wj,Wl as Wb,Wm as Zc,Wn as pe,Wo as Jf,Wp as Ph,Wq as xj,Xl as Xb,Xm as _c,Xn as qe,Xo as Kf,Xp as Qh,Xq as yj,Yl as Yb,Ym as $c,Yn as re,Yo as Lf,Yp as Rh,Yq as zj,Zl as Zb,Zm as ad,Zn as se,Zo as Mf,Zp as Sh,Zq as Aj,_l as _b,_m as bd,_n as te,_o as Nf,_p as Th,_q as Bj,am as ac,an as dd,ap as Pf,aq as Vh,ar as Dj,bm as bc,bn as ed,bp as Qf,bq as Wh,br as Ej,cm as cc,cn as fd,co as Ie,cp as Rf,cq as Xh,cr as Fj,dm as dc,dn as gd,do as Je,dp as Sf,dq as Yh,dr as Gj,em as ec,en as hd,ep as Tf,eq as Zh,er as Hj,fm as fc,fn as id,fo as lf,fp as Uf,fq as hi,fr as Kj,gm as gc,gn as jd,gp as Vf,gq as ii,gr as Lj,hm as hc,hn as kd,hp as Wf,hq as ji,hr as Mj,im as ic,in as ld,ip as Xf,iq as ki,ir as Nj,jm as jc,jn as md,jp as Yf,jq as li,jr as Oj,kn as nd,kp as Zf,kq as mi,kr as Pj,ln as od,lp as _f,lq as ni,lr as Qj,mm as kc,mn as pd,mp as $f,mq as oi,mr as Rj,nm as lc,nn as qd,np as ag,nq as pi,nr as Sj,ol as xa,om as mc,on as rd,op as bg,oq as qi,pl as ya,pm as nc,pn as sd,pp as cg,pq as ri,ql as za,qm as oc,qn as td,qp as dg,qq as si,rl as Aa,rm as pc,rn as ud,rp as eg,rq as ti,sl as Ba,sm as qc,sn as vd,sp as fg,sq as ui,tl as Ca,tm as rc,tn as wd,tp as gg,tq as vi,ul as Da,um as sc,un as xd,up as hg,uq as wi,vl as Ea,vm as tc,vn as yd,vp as ig,vq as xi,wl as Fa,wm as uc,wn as zd,wp as jg,wq as yi,xl as Ga,xm as vc,xn as Ad,xo as mf,xp as kg,xq as zi,yl as Ha,ym as wc,yn as Bd,yp as lg,yq as Ai,zl as Ia,zm as xc,zn as Cd,zo as nf,zp as mg,zq as Bi}from"./chunk-d93d47k0.js";import{Ar as n,As as fa,Br as o,Bs as ia,Cr as p,Cs as ja,Dr as q,Ds as ka,Er as r,Es as la,Fr as s,Fs as ma,Gr as t,Gs as na,Hr as u,Hs as oa,Ir as v,Is as pa,Jr as w,Js as qa,Kr as x,Ks as ra,Lr as y,Ls as sa,Mr as z,Ms as ta,Nr as A,Ns as ua,Or as B,Os as va,Pr as C,Ps as wa,Qr as D,Rr as E,Sr as F,Tr as G,Ur as H,Vr as I,Wr as J,Xr as K,Yr as L,fs as M,gs as N,hs as O,is as P,js as Q,ks as R,ls as S,ms as T,ns as U,or as b,os as V,pr as c,ps as W,qr as d,qs as X,rr as e,rs as Y,sr as f,ss as Z,tr as g,ts as _,ur as h,us as $,vr as i,vs as aa,wr as j,ws as ba,xr as k,xs as ca,yr as l,ys as da,zr as m,zs as ea}from"./chunk-3mbkn6vk.js";import{Qs as _h,Rs as $h,Ss as ai,Ts as bi,Us as ci,Vs as di,Ws as ei,Xs as fi,Ys as gi}from"./chunk-dn8006f7.js";import{Zs as ga,_s as ha}from"./chunk-vg8yh8te.js";import{$s as Kb,at as Lb,bt as Mb}from"./chunk-c5rehxqy.js";import{ct as ke,dt as le,et as me}from"./chunk-xtwybxtw.js";import{At as Dc,Bt as Ec,nt as zc,ot as Ac,qt as Bc,zt as Cc}from"./chunk-ama74dgk.js";import{Ct as Qb,Dt as Rb,Et as Sb,Ft as Tb,Gt as Ub,Ht as Vb}from"./chunk-kgxkrnyt.js";import{It as Id,Jt as Jd,Kt as Kd,Lt as Ld,Mt as Md,Nt as Nd,Ot as Od,Pt as Pd,Qt as Qd,Rt as Rd,St as Sd,Tt as Td,Ut as Ud,Vt as Vd,Wt as Wd,Xt as Xd}from"./chunk-3npkbgfm.js";import"./chunk-nqwjb8k7.js";import"./chunk-nx96x8sh.js";import{bu as ob,cu as pb,du as qb,eu as rb,fu as sb,gu as tb,hu as ub,iu as vb,ju as wb,ku as xb,lu as yb,mu as zb,nu as Ab,ou as Bb,pu as Cb,qu as Db,ru as Eb}from"./chunk-6kdb8j9d.js";import{$u as hb,Eu as Sa,Fu as Ta,Lu as Ua,Mu as Va,Nu as Wa,Ou as Xa,Pu as Ya,Qu as Za,Ru as _a,Su as $a,Tu as ab,Uu as bb,Vu as cb,Wu as db,Xu as eb,Yu as fb,Zu as gb,vu as Pa,wu as Qa,zu as Ra}from"./chunk-jmh31a2a.js";import"./chunk-d3kac3mv.js";import"./chunk-vwqv8f0y.js";export{uk as writeNetlifyConfig,lm as writeManifest,Zk as writeImageManifest,Co as wrapComponentForHMR,wr as withDefaults,Hj as webComponentDirectiveHandler,rp as watermark,tq as watchViews,hl as watchMultiple,il as watchEffect,gl as watch,re as warmImagePlaceholders,vl as waitForStore,X as waitForLocale,oo as virtualPathFor,uj as videoDirective,G as validators,Ar as validated,he as validateValueEnhanced,yh as validateTemplate,wp as validateParams,ie as validateFormEnhanced,iq as validateFile,de as validateFields,ce as validateField,Ah as validateDirective,Cd as validateCspDirectives,Pj as validateConfig,qm as validateComponentScripts,Om as validateComponentProps,wg as validateClientScript,vh as v,rc as usesSignalsInScript,ub as usesReactiveRuntime,Nh as userComponentFileExists,bh as useVirtualList,Qd as useTitle,ul as useStoreOrThrow,Uo as useStore,ek as useStorage,Eq as useSlots,gk as useSessionStorage,Nd as useSeoMeta,wl as useRouteParams,yl as useRouteParamOrThrow,xl as useRouteParam,Qd as usePageTitle,Xe as useOptimistic,Al as useMiddlewareValue,zl as useMiddlewareState,fk as useLocalStorage,vo as useLoadingIndicator,Ld as useHead,sh as useForm,Gq as useAttrs,kq as uploadFiles,jq as uploadFile,rl as updateInstance,Ve as untrack,bi as unregisterDirective,sl as unmountInstance,yc as unescapeHtml,ro as typecheckStxFiles,Mh as transpileTypeScript,jr as translate,Ba as transitionDirective,_b as transformAutoImports,Im as toUsers,Hm as toUser,ap as thumbnail,bq as thumbHashToRGBA,cq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,_e as templateCache,Uc as syncRecordedResponse,zo as stxClientHelpers,Gf as structuredDataDirective,mr as stripLocalePrefix,Yl as stripDocumentWrapper,Lb as stripCommentsAndLiterals,un as stringToStream,qd as strictCspPreset,Ce as streamingSuspenseDirective,Ge as streamToResponse,Ae as streamTemplateSimple,ue as streamTemplate,$j as stopHmrServer,Em as stopBroadcasting,Tb as stateDirName,Ub as stateDir,Ke as state,qg as startsDocument,Wn as startProductionServer,Kn as startInteractive,Dm as startBroadcasting,or as stampLocaleLayoutGroup,Ia as staggerDirective,up as srcsetUrls,Ja as springDirective,$c as splitByPipe,Ul as spaNavVaryHeaders,po as sourcePathFor,Bp as smartBatchSign,Ph as slotContentHasExpressions,zp as signUrl,Kh as shouldTranspileTypeScript,Yj as shouldReloadOnChange,Ep as shouldRefreshSignature,Zj as shouldIgnoreFile,Vg as shouldCacheComponent,ep as sharpen,Dr as shape,Sb as setStateDir,El as setRouteParams,Fl as setMiddlewareState,qe as setImagePlaceholder,yq as setGlobalProvide,b as setErrorLocale,$k as setCurrentInstance,ij as setCachedVideoResult,Zi as setCachedImageResult,Ti as setCached,Gr as serveStxFile,Ir as serveMultipleStxFiles,Tj as serveMarkdownFile,fo as serveFile,Jr as serveApp,eo as serve,Fo as serializeState,kn as serializeSetCookie,gp as sepia,Od as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,yj as scopeHTML,xj as scopeCSS,Jf as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,kp as saturation,xp 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,zf as runPreProcessingMiddleware,Af as runPostProcessingMiddleware,Nn as runPageAction,Qe as runMountCallbacks,gb as runMiddleware,pl as runHooks,cr as runDoctor,Re as runDestroyCallbacks,Of as runComposers,lp as rotate,wh as rewriteImagesWithSiblings,Vc as responseBindings,Th as resolveTemplatePath,ha as resolveStxTargets,Lj as resolveStxDirectories,ir as resolveI18n,_o as resize,ec as resetPlaceholders,Kd as resetHead,Eo as resetHMRHandler,o as resetErrorConfig,yr as required,ic as replacePlaceholders,rq as renderView,rj as renderVideoComponent,Xb as renderVendorStyleTags,Nq as renderToString,Oq as renderToStream,Pq as renderToDOM,aq as renderThumbhashToCanvas,$q as renderTemplateString,Zq as renderTemplate,_q as renderString,xe as renderStreamingPage,Fh as renderSlot,Lg as renderSSRSuspense,Mp as renderProtectedVideo,Lp as renderProtectedImg,yp as renderMediaUpload,Yq as renderMarkdownView,bm as renderLayoutTypes,bj as renderImgComponent,Pk as renderImageComponent,Sd as renderHtmlAttrs,Rd as renderHead,uq as renderEmail,Rh as renderComponentWithSlot,Td as renderBodyAttrs,Po as render,sd as relaxedCspPreset,be as registerValidationRule,Ee as registerStreamingDirectives,Wo as registerStoresClient,Cl as registerStore,Hf as registerSeoDirectives,_a as registerMiddleware,mc as registerFilters,lc as registerFilter,d as registerErrorMessages,ge as registerEnhancedValidationRule,_h as registerDirective,Bd as registerCspDirectives,Rm as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,dl as ref,Cn as redirect,Qc as recordResponseStatus,Rc as recordResponseHeader,Vb as rebaseOntoStateDir,Sc as readResponseStatus,Tc as readResponseHeaders,Rj as readMarkdownFile,$e as readFileCached,el as reactive,pp as quality,Jp as pruneSignatureCache,Wi as pruneCache,wq as provide,Xq as protectCodeBlocks,xr as prop,Rf as processVueTemplate,$g as processVirtualListDirectives,dh as processVirtualGridDirectives,qj as processVideo,ee as processValidateDirective,ea as processTranslateDirective,Fg as processTransitionDirectives,Ig as processTransitionAttributes,Wd as processTitleDirective,Ic as processTemplateBindings,Bg as processTeleportDirectives,Jg as processSuspenseDirectives,Cf as processStructuredData,ye as processStreamDirectives,Wc as processStatusDirective,qh as processStaticDirectives,xf as processStackReplacements,wf as processStackPushDirectives,Gh as processSlots,Wl as processShell,te as processServerBindings,Df as processSeoDirective,Fe as processSectionDirectives,Uf as processScopedStyles,Gc as processReactiveBindings,Np as processProtectedMedia,jh as processPartialHydrationDirectives,vg as processOnceDirective,yf as processMiddleware,Bf as processMetaDirectives,Xd as processMetaDirective,Sj as processMarkdownFileDirectives,Yh as processMarkdownDirectives,rf as processLoops,Tg as processKeepAliveDirectives,ug as processJsonDirective,ch as processInfiniteListDirectives,vf as processIncludes,dj as processImgComponents,Rk as processImageComponents,Ek as processImage,Vd as processHeadDirective,Zd as processForms,$d as processFormInputDirectives,vc as processExpressions,Ib as processEventDirectives,ae as processErrorDirective,Sf as processDynamicComponents,xh as processDirectives,gi as processDirectiveAttributes,Ag as processDeferDirectives,Gd as processCustomDirectives,yd as processCspDirectives,Er as processComponentProps,dc as processClientScript,_d as processBasicFormDirectives,Og as processAsyncDirectives,Hd as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,me as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,uo as preloadIslandHandlers,se as preloadIconCollection,zm as poolStrings,Jj as pluginManager,oe as placeholdersWarmed,Eg as performLeave,Dg as performEnter,Se as pendingLifecycleCounts,We as peek,sf as partialsCache,sj as parseVideoDirectiveOptions,Yo as parseUrl,dq as parseThumbhashString,fd as parseSwitchBlock,Dh as parseSlots,Eh as parseSlotElement,kd as parseScriptDeclarations,Fj as parseSFCComponent,Op as parseProtectedArgs,qf as parseLoopBinding,cj as parseImgComponent,ui as parseImageUrl,Qk as parseImageComponent,Ln as parseFormBody,hd as parseExpressionWithFilters,Sm as parseDefaults,zn as parseCookies,Ol as parseContainerSelector,cd as parseConditionalBlock,id as parseArguments,Ma as parseAnimationShorthand,zr as optional,Am as optimizeTemplate,Wk as optimizeImage,Xk as optimizeDirectory,Br as oneOf,tf as onceStore,ml as onUpdated,Fc as onUpdate,ol as onUnmounted,Jl as onServer,kl as onMounted,Oe as onMount,ph as onHydrated,Cq as onErrorCaptured,Pe as onDestroy,Zg as onDeactivated,Il as onClient,ll as onBeforeUpdate,nl as onBeforeUnmount,jl as onBeforeMount,Yg as onActivated,Yp as observeElement,Dn as notFound,Zf as normalizeCriticalHeadOrder,Bq as nextTick,Vm as negotiateEncoding,Ua as navigateTo,ql as mountInstance,Ea as motionDirective,rd as moderateCspPreset,ym as minifyHtml,Ff as metaDirective,ig as metaDedupKey,Zo as mergeParams,kg as mergeHtmlAttrs,Md as mergeHeadConfigs,Ac as mergeCssConfig,vd as mergeCspDirectives,Ra as matchRoute,Zh as markdownDirectiveHandler,Qj as markdownCache,ga as looksLikeGlob,lr as localizePath,U as loadTranslationLazy,_ as loadTranslation,Mj as loadStxConfig,db as loadMiddlewareFromDirectory,mm as loadManifest,Up as loadElement,Fm as loadChannels,sr as lintStxStrict,Wp as lazyLoadAll,Vp as lazyLoad,Ha as keyframeDirective,Lq as jsxs,Mq as jsxDEV,Kq as jsx,Bn as jsonResponse,De as islandDirective,l as isTest,Zl as isSpaNavigation,Sl as isSpaNavRequest,Cp as isSignatureValid,Te as isSignal,Ck as isSharpAvailable,nn as isServerEnvironment,Gl as isServer,yb as isRuntimeOwnedColonAttr,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Rp as isNativeLazySupported,Wq as isMarkdownPath,Q as isLoading,R as isLoaded,Jh as isJavaScriptScript,Sp as isIntersectionObserverSupported,Kk as isImageFile,Dk as isImageBackendAvailable,aa as isICUFormat,oh as isHydrated,Oh as isHydrateTrigger,Oc as isHttpStatus,mn as isEdgeEnvironment,tr as isDirectiveKind,k as isDevelopment,Ue as isDerived,Xj as isCssOnlyChange,Um as isCompressible,Hl as isClient,Qg as isAsyncComponent,Mn as isActionableMethod,hp as invert,bf as invalidateFileCacheByDir,af as invalidateFileCache,uc as interpolateScriptsInTemplate,sc as interpolateScriptExpressions,tc as interpolateScriptAttributes,x as inlineError,hr as injectThemeBootstrap,Ef as injectSeoTags,er as injectSeo,lf as injectRouterScript,Wj as injectHotReload,kb as injectHeatmap,Ec as injectCss,wd as injectCspMetaTag,sg as injectConfigHeadTags,Yf as injectColorModeBootScript,mg as injectCloakStyle,dg as injectBuildId,Zb as injectBrowserCoreAutoImports,Kc as injectAnalytics,xq as inject,Bl as initStoreRegistry,xk as initNetlify,wo as initLoadingIndicator,Tp as initLazyLoading,Jn as initFile,$p as initBlurUp,fq as initAllBlurUp,fj as imgDirective,Uk as imageDirective,Un as hydrateTemplateStream,Tn as hydrateTemplate,to as hydrateIslands,lh as hydrateIsland,Vn as hydrateFragment,mh as hydrateByStrategy,nh as hydrateAll,Mo as hydrate,co as htmlResponse,og as hoistLeadingHeadTags,_f as hoistColorModeBootScript,lb as heatmapDirective,Pi as hashString,kf as hashFilePath,Ni as hashFile,Oi as hashBuffer,Qf as hasVueTemplateSyntax,pf as hasVariables,Ro as hasStore,jc as hasPlaceholders,vk as hasNetlifyConfig,ab as hasMiddleware,Jb as hasEventDirectives,rg as hasDocumentShell,Bh as hasDirectives,ma as hasDOMSupport,Nk as handleImageRequest,Dq as handleError,Tq as h,Jk as groupVariantsByFormat,fp as grayscale,Xn as gitHash,sm as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,qk as getTotalSize,Dp as getTimeUntilExpiry,xg as getStoreScript,So as getStoreNames,Qo as getStore,jk as getStorageSize,ik as getStorageKeys,Uh as getSourceLineInfo,Lh as getSharedTranspiler,ff as getServeClientAsset,la as getScreenReaderOnlyStyle,zj as getScopeAttribute,Je as getRouteParams,Ob as getPublicEnvDefine,Pb as getPublicEnv,zh as getPositionInfo,gc as getPlaceholderRegistry,Mi as getPlaceholderCacheStats,Jd as getPageMeta,md as getNonce,Lk as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,ne as getImagePlaceholder,Fk as getImageMetadata,ke as getImageDelivery,Lo as getHydrationRuntime,Dl as getHydratedStoreState,_j as getHmrServer,Id as getHead,Do as getHMRHandler,yi as getFormatExtension,Ri as getFileMtime,Ik as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,ai as getDirectives,$h as getDirective,al as getCurrentInstance,Bc as getCssServeAsset,ud as getCspPreset,Dd as getCspHeaderName,Xh as getComponentCacheStats,hj as getCachedVideoResult,Hp as getCachedSignature,df as getCachedSignalsRuntime,ef as getCachedRouterScript,Ki as getCachedPlaceholder,Yi as getCachedImageResult,Si as getCached,Vi as getCacheStats,bg as getBuildId,Cm as getBroadcastServer,xi as getBestVariant,nc as getAllFilters,li as generateWidthSrcset,ah as generateVirtualListCSS,mq as generateVideoPreview,je as generateValidationScript,nq as generateUploadRuntime,tm as generateTreeShakenBundle,Hg as generateTransitionRuntime,Gg as generateTransitionCSS,lj as generateThumbnails,Di as generateThumbhashPlaceholder,cn as generateTemplatesDocs,Ng as generateSuspenseRuntime,Mg as generateSuspenseCSS,Go as generateStateScript,vi as generateSrcsetData,aj as generateSrcset,Gk as generateSrcSet,mj as generateSpriteSheet,vq as generateSpaShell,wi as generateSourceTags,ri as generateSizesFromBreakpoints,qi as generateSizesAttribute,Hk as generateSizes,If as generateSitemapIndex,fr as generateSitemap,Qp as generateSimpleMediaPicker,Kp as generateSignatureRuntime,Ze as generateSignalsRuntimeDev,Ye as generateSignalsRuntime,cc as generateServerDataBridge,wj as generateScopeId,Gj as generateSFCWebComponent,Gb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,Kf as generateRobotsTxt,gr as generateRobots,$i as generateResponsiveVariants,Cj as generateReactiveWebComponentTS,Bj as generateReactiveWebComponent,Ej as generateReactiveRuntime,Dj as generateReactiveMixin,kj as generatePoster,Ji as generatePlaceholderStyle,Ii as generatePlaceholderCSS,Ci as generatePlaceholder,kh as generatePartialHydrationCSS,ld as generateNonce,rk as generateNetlifyToml,pq as generateMinifiedMediaRuntime,oq as generateMediaRuntime,Pp as generateMediaManagerEmbed,km as generateManifest,yo as generateLoadingIndicatorHtml,_p as generateLazyLoadRuntime,cm as generateLayoutTypes,Fi as generateLQIP,Xg as generateKeepAliveRuntime,Wg as generateKeepAliveCSS,rh as generateIslandManifest,lq as generateImagePreview,Yk as generateImageManifest,Ko as generateHydrationScript,He as generateHydrationRuntime,No as generateHydrationCSS,eh as generateHydrationBootstrap,Vj as generateHotReloadScript,jb as generateHeatmapScript,Bo as generateHMRClientScript,nj as generateHLSManifest,Ho as generateEventBindings,pi as generateDprSrcsetWithVariableQuality,oi as generateDprSrcset,pg as generateDocumentShell,hn as generateDocs,dn as generateDirectivesDocs,fi as generateDirectiveRuntime,Lf as generateDefaultRobotsTxt,oj as generateDASHManifest,Dc as generateCss,pd as generateCspMetaTag,od as generateCspHeader,Iq as generateCompositionRuntime,bn as generateComponentsDocs,fh as generateComponentManifest,$m as generateComponentDoc,Hi as generateColorPlaceholder,Xf as generateColorModeBootScript,tl as generateClientRuntime,Qi as generateCacheKey,ac as generateBrowserAutoImportDestructuring,gq as generateBlurUpRuntime,hq as generateBlurUpCSS,Hc as generateBindingsRuntime,mi as generateAutoWidthSrcset,$b as generateAutoImportDestructuring,Sg as generateAsyncComponentRuntime,Rg as generateAsyncComponentCSS,Na as generateAnimationRuntime,La as generateAnimationCSS,Jc as generateAnalyticsScript,so as formatTypecheckDiagnostics,mo as formatTypeErrors,Gn as formatStxContent,pk as formatSize,Ta as formatRoutes,Hn as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,dr as formatDoctorReport,en as formatDocsAsMarkdown,gn as formatDocsAsJson,fn as formatDocsAsHtml,op as format,xm as foldConstants,np as flipVertical,mp as flipHorizontal,dm as fingerprint,qo as findRuntimeTypeDeclarations,br as findPantryPackage,bd as findMatchingEndTag,Zc as findMatchingDelimiter,Kb as findInterpolationEnd,dd as findIfBlocks,gd as findExpressions,Sa as findErrorPage,ed as findDirectiveBlocks,um as findDeadCode,um as findDeadBranches,Pl as findContainerRegion,an as findComponentFiles,Hr as findCommonDir,ok as filterRequiredFiles,Sh as fileExists,mf as extractVariables,im as extractTemplateExpressions,ze as extractStreamBoundaries,Io as extractState,Hh as extractSlotContent,of as extractScriptFromTemplate,hm as extractScriptBlocks,hc as extractPlaceholders,ad as extractParenthesizedExpression,Pc as extractPageResponseStatus,hb as extractLayoutMetadata,Gi as extractDominantColor,jd as extractDirectiveParams,Ch as extractDirectiveNames,_l as extractContainerContent,Zm as extractComponentProps,gh as extractComponentName,_m as extractComponentDescription,Cc as extractClassNames,bc as extractBridgeData,hh as extractBoundProps,_c as extractBalancedExpression,Wb as extractAndStripCssImports,Aj as extractAndScopeStyles,Hb as extractAndProcessEvents,ck as externalizeSharedAssets,dk as externalizeRepeatedAssets,bk as externalizeHtml,xc as evaluateExpression,wm as evaluateConstant,Xc as evaluateAuthExpression,qc as escapeHtmlValue,pc as escapeHtml,C as errorRecovery,E as errorLogger,Cg as ensureTeleportTargets,tg as ensureDocumentShell,fe as enhancedValidationRules,Xm as enableDevTools,vm as eliminateDeadCode,Me as effect,vp as dprUrls,jn as docsCommand,am as discoverLayoutNames,Zp as disconnectObserver,Ym as disableDevTools,F as devHelpers,Vl as detectShell,ln as detectRuntime,sk as detectProjectConfig,zi as detectFormat,pm as detectBuildMode,Le as derived,wk as deploy,Oj as defineStxConfig,Vo as defineStore,Fq as defineSlots,rr as defineSiteConfig,vr as definePropsWithValidation,ur as defineProps,Ij as definePlugin,Pd as definePageMeta,Wa as defineMiddleware,th as defineForm,Aq as defineExpose,zq as defineEmits,ci as defineDirective,Vq as defineCustomElement,Sn as defineConfig,di as defineClientDirective,Pg as defineAsyncComponent,qq as defaultMediaConfig,_k as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,Yd as defaultFormClasses,kc as defaultFilters,Fd as defaultCspConfig,Kj as defaultConfig,Fr as default,zc as deepMergeThemes,Tf as dedupeScopedStyles,Ei as decodeThumbhash,Ad as cspNonceDirective,zd as cspDirective,eq as crossfadeTransition,$o as crop,_g as createVirtualList,tj as createVideoDirective,xn as createVercelHandler,jo as createTypeChecker,fa as createTranslateFilter,tn as createTextEncoderStream,Uq as createStxApp,sn as createStreamingResponse,Be as createStreamRenderer,To as createStore,Za as createStorageManager,Xa as createServerCookieManager,cl as createScope,Kg as createSSRSuspense,Ie as createRouter,eb as createRouteLocation,ho as createRoute,dl as createRef,el as createReactive,Hq as createProvideContext,Zn as createProject,Rn as createProductionBuild,fc as createPlaceholder,Bm as createOptimizedBuild,yn as createNetlifyHandler,kk as createNetlifyClient,fb as createMiddlewareContext,go as createMiddleware,Xp as createLazyObserver,Ug as createKeepAliveCache,pn as createKVNamespace,ih as createIslandRegistry,ej as createImgDirective,Vk as createImagePlugin,Ok as createImageHandler,Tk as createImageDirective,nb as createHeatmapAggregator,nk as createFileManifest,on as createEnvAccessor,z as createEnhancedError,rn as createEdgeHandler,qn as createEdgeCache,Vh as createDetailedErrorMessage,wn as createDenoHandler,tk as createDefaultNetlifyConfig,Ed as createCspHeaders,An as createCookie,fl as createComputed,bl as createComponentInstance,vn as createCloudflareHandler,Ya as createClientCookieManager,ei as createBuiltinDirectives,Uq as createApp,Ka as createAnimationTimeline,cp as cover,nf as convertToCommonJS,jp as contrast,bp as contain,y as consoleError,m as configureErrorHandling,Nj as config,fl as computed,Wm as compressResponse,Nf as composerPattern,Mf as composer,Xl as composeShellWithPage,Qm as componentDirective,Qh as componentClientSignalNames,jm as compileTemplate,a as collectRepeatedFlag,mk as collectDeployFiles,ng as cloakStyleFragment,jj as clearVideoCache,N as clearTranslationCache,yg as clearStoreCache,hk as clearStorage,Ip as clearSignatureCache,Li as clearPlaceholderCache,uf as clearOnceStore,nd as clearNonce,bb as clearMiddleware,pe as clearImagePlaceholders,le as clearImageDeliveryCatalog,Sk as clearImageCache,e as clearErrorMessages,gf as clearDevCaches,oc as clearCustomFilters,Pf as clearComposers,zg as clearComposableCache,Wh as clearComponentCache,Ui as clearCache,Db as clearBlankCache,xo as cleanupLoadingIndicator,Ml as classifyScript,Nl as classifyAllScripts,ko as checkTemplateFile,lo as checkTemplate,hf as checkCache,Fp as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,Lm as channel,Fn as captureScreenshots,En as captureScreenshot,Z as cancelPendingLoads,lk as calculateSha1,ni as calculateOptimalWidths,jf as cacheTemplate,vj as buildWebComponents,no as buildVirtualSource,sq as buildViews,Xo as buildUrl,ve as buildSuspenseResolveScript,qr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,em as buildRuntimeAsset,fm as buildRouterAsset,pr as buildLangPickerScript,ti as buildImageUrl,eg as buildIdFragment,jg as buildHtmlAttrs,nm as buildForProduction,Tm as buildComponentLibrary,Gp as buildAuthParams,om as buildApp,nr as buildAlternateLinks,Qn as build,Jm as broadcastPrivate,Km as broadcastPresence,Gm as broadcast,ip as brightness,Mb as bracketDepths,dp as blur,Eb as blankInertHtmlRegions,Ap as batchSignUrls,Ne as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,qp as auto,ja as attributeValue,gm as assetTags,Fb as asInvocableStatement,Cr as arrayOf,kr as applyTranslations,_i as applyTransformations,Ih as applySlots,Pm as applyPropDefaults,tp as applyPreset,lg as applyHtmlAttrs,Ud as applyHead,wc as applyFilters,Tl as appendVary,td as apiCspPreset,Da as animationGroupDirective,pj as analyzeVideo,rm as analyzeUsage,Kl as analyzeTemplate,Ll as analyzeProject,rm as analyzeDirectiveUsage,Lc as analyticsDirective,ao as addStore,$n as addPage,xd as addNonceToInlineContent,bo as addLayout,_n as addComponent,On as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,cf as __setSignalsGeneratorsForTest,cg as __setBuildIdForTest,gj as VideoProcessorCache,uh as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,Yc as Tokenizer,io as TemplateTypeChecker,In as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,Qq as Show,we as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,Yb as STX_AUTO_IMPORTS,Rb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Ql as SPA_NAV_HEADER,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Mc as RESPONSE_STATUS_KEY,Nc as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Pn as ProductionBuild,Sq as Portal,Yn as PROJECT_TEMPLATES,sp as PRESETS,sb as NON_CLIENT_PRIMITIVES,Oo as MemorySessionStore,ki as MIME_TYPES,hi as MEDIA_DEFAULT_WIDTHS,ji as MEDIA_DEFAULT_FORMATS,$l as LAYOUT_TYPES_FILE,Xi as ImageProcessorCache,Mk as ImageProcessingError,Jo as HydrationRuntime,Uj as HotReloadServer,mb as HeatmapAggregator,hg as HTML_CLASS_MARKER,gg as HTML_ATTRS_MARKER,Jq as Fragment,Rq as For,Rl as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,ak as EXTERNALIZED_ASSET_DIR,yk as DeployError,zk as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Qb as DEFAULT_STATE_DIR,Bk as DEFAULT_QUALITY,Ai as DEFAULT_PLACEHOLDER_OPTIONS,Ak as DEFAULT_FORMATS,ii as DEFAULT_DPR_VALUES,Ao as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,si as COMMON_SIZES,Vf as COLOR_MODE_BOOT_MARKER,Wf as COLOR_MODE_BOOT_GLOBAL,fg as CLOAK_STYLE,Nm as BroadcastServer,Mm as Broadcast,$f as BUILD_ID_META,ag as BUILD_ID_HEADER,Nb as BROWSER_CORE_IMPORTS,Bi as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,ar as $path};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ng as a,Og as b,Pg as c,Qg as d,Rg as e,Sg as f}from"./chunk-pzhq87vq.js";import"./chunk-d93d47k0.js";import"./chunk-3mbkn6vk.js";import"./chunk-dn8006f7.js";import"./chunk-vg8yh8te.js";import"./chunk-c5rehxqy.js";import"./chunk-xtwybxtw.js";import"./chunk-ama74dgk.js";import"./chunk-kgxkrnyt.js";import"./chunk-3npkbgfm.js";import"./chunk-nqwjb8k7.js";import"./chunk-nx96x8sh.js";import"./chunk-6kdb8j9d.js";import"./chunk-jmh31a2a.js";import"./chunk-d3kac3mv.js";import"./chunk-vwqv8f0y.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ki as a,Li as b,Mi as c,Ni as d,Oi as e,Pi as f,Qi as g}from"./chunk-4vpsvh6x.js";import"./chunk-
|
|
2
|
+
import{Ki as a,Li as b,Mi as c,Ni as d,Oi as e,Pi as f,Qi as g}from"./chunk-4vpsvh6x.js";import"./chunk-vwqv8f0y.js";export{c as shouldCacheComponent,a as processKeepAliveDirectives,g as onDeactivated,f as onActivated,e as generateKeepAliveRuntime,d as generateKeepAliveCSS,b as createKeepAliveCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Fi as a,Gi as b,Hi as c,Ii as d,Ji as e}from"./chunk-k70fgb2f.js";import"./chunk-
|
|
2
|
+
import{Fi as a,Gi as b,Hi as c,Ii as d,Ji as e}from"./chunk-k70fgb2f.js";import"./chunk-vwqv8f0y.js";export{a as processAsyncDirectives,c as isAsyncComponent,e as generateAsyncComponentRuntime,d as generateAsyncComponentCSS,b as defineAsyncComponent};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
function A(h){let q=/import\s*\{([^}]+)\}\s*from\s*['"](@stores|stx\/stores)['"]\s*;?\n?/g;h=h.replace(q,(w,j)=>{return`const { ${j.split(",").map((k)=>k.trim()).filter(Boolean).join(", ")} } = window.__STX_STORES__
|
|
3
3
|
`});let v=/import\s*\{([^}]+)\}\s*from\s*['"]@composables['"]\s*;?\n?/g;return h=h.replace(v,(w,j)=>{return`const { ${j.split(",").map((k)=>k.trim()).filter(Boolean).join(", ")} } = window.__composables
|
|
4
4
|
`}),h}function B(h){return h.replace(/^import\s+[^'"]*?from\s*['"][^'"]+['"]\s*;?[ \t]*$/gm,"").replace(/^import\s+['"][^'"]+['"]\s*;?[ \t]*$/gm,"")}
|
|
5
|
-
export{A as
|
|
5
|
+
export{A as Yt,B as Zt};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ul as ZJ,ir as QJ}from"./chunk-d93d47k0.js";import{at as JJ,bt as KJ}from"./chunk-c5rehxqy.js";import{it as $J,mt as g}from"./chunk-ama74dgk.js";import{Gt as h}from"./chunk-kgxkrnyt.js";import j from"path";import O from"fs";function qJ(J){if(!J||typeof J!=="object")return!1;let K=J;return typeof K.message==="string"&&(K.name==="BuildMessage"||K.name==="ResolveMessage"||("position"in K))}function VJ(J){if(J&&typeof J==="object"&&Array.isArray(J.errors))return J.errors;return[J]}function E(J,K){let G=[];for(let W of VJ(J)){if(qJ(W)){let Y=W.position||void 0;G.push({file:K||Y?.file,line:Y?.line,column:Y?.column,message:W.message??"",lineText:Y?.lineText});continue}G.push({file:K,message:W instanceof Error?W.message:String(W)})}return G}function i(J,K){return E(J,K).map((G)=>{let W=G.file?`${G.file}${G.line?`:${G.line}${G.column?`:${G.column}`:""}`:""}`:"",Y=G.lineText?`
|
|
3
|
+
${G.lineText.trim()}`:"";return W?`${W}: ${G.message}${Y}`:`${G.message}${Y}`}).join(`
|
|
4
|
+
`)}var kJ=7,GJ=1,WJ=new Map,b=600,OJ=100,P=new Map;async function AJ(J){let K=P.get(J)??0;if(K>0&&K<OJ){P.set(J,K+1);return}P.set(J,1);try{let G=(await O.promises.readdir(J)).filter((H)=>H.endsWith(".js"));if(G.length<=b)return;let Y=(await Promise.all(G.map(async(H)=>{try{return{name:H,at:(await O.promises.stat(j.join(J,H))).mtimeMs}}catch{return null}}))).filter((H)=>H!==null);Y.sort((H,Q)=>Q.at-H.at);for(let H of Y.slice(b)){let Q=H.name.slice(0,-3);await O.promises.rm(j.join(J,`${Q}.js`),{force:!0}),await O.promises.rm(j.join(J,`${Q}.deps.json`),{force:!0})}T("pruned bundle cache to",b,"entries")}catch{}}function bJ(J){return WJ.get(J)??[]}function m(J,K){if(J)WJ.set(J,K)}function wJ(J=process.env){return J.STX_DEBUG==="true"||J.STX_DEBUG==="1"}function T(...J){if(wJ())console.log("[stx:bundler]",...J)}var p=[];function r(J,K,G){p.push({filePath:J||"<inline>",message:K,details:G})}function PJ(){return p.slice()}function fJ(){p.length=0}var u;function gJ(J){u=J}function s(){if(u)return u;try{let J=QJ.strict;return typeof J==="object"&&J!==null?J.bundlerFallback??"warn":"warn"}catch{return"warn"}}var t=[/^stx$/,/^@stacksjs\/stx$/,/^@stores$/,/^stx\/stores$/,/^@composables$/];function mJ(J){let K=/^[ \t]*import[ \t]+(?!type(?:[ \t]|{))[\s\S]*?\s+from\s+['"]([^'"]+)['"][ \t]*;?/gm,G;while((G=K.exec(J))!==null){let Y=G[1];if(!t.some((Q)=>Q.test(Y)))return T("detected user import:",Y),!0}let W=/^[ \t]*import[ \t]+['"]([^'"]+)['"]/gm;while((G=W.exec(J))!==null){let Y=G[1];if(/\.css(?:\?.*)?$/.test(Y))continue;if(!t.some((Q)=>Q.test(Y)))return T("detected side-effect import:",Y),!0}return!1}var v="stx-module:",UJ=/\.(?:[cm]?[jt]sx?|json)$/i;function CJ(J,K){return j.relative(J,K).split(j.sep).join("/")}function LJ(J,K){if(K.size===0)return J;return J.replace(/^([ \t]*import\s+(?:[^;"']*?\s+from\s+)?)(["'])([^"']+)\2/gm,(G,W,Y,H)=>{let Q=K.get(H);return Q&&!H.startsWith(v)?`${W}${Y}${Q}${Y}`:G})}function TJ(J,K){let G=0,W=(H)=>{let Q=`__stxMod${G++}`,A=JSON.stringify(H);return K.push(`var ${Q} = globalThis.__stxModules && globalThis.__stxModules[${A}];`,`if (${Q} === undefined) throw new Error("[stx] module " + ${JSON.stringify(A)} + " is not registered on this page (#1957)");`),Q},Y=(H,Q)=>{for(let A of H.split(",")){let z=A.trim();if(!z)continue;let Z=z.match(/^("(?:[^"\\]|\\.)*"|[\w$]+)(?:\s+as\s+([\w$]+))?$/);if(!Z)continue;let $=Z[1].startsWith('"')?JSON.parse(Z[1]):Z[1],X=Z[2]??$;K.push(`var ${X} = ${Q}[${JSON.stringify($)}];`)}};return J=J.replace(/^[ \t]*import\s+([^;"']*?)\s+from\s+["'](stx-module:[^"']+)["'];?[ \t]*$/gm,(H,Q,A)=>{let z=A.slice(v.length),Z=W(z),$=Q.trim(),X=$.match(/^([\w$]+)\s*(?:,\s*|$)/);if(X&&!$.startsWith("{")&&!$.startsWith("*"))K.push(`var ${X[1]} = ${Z}.default;`),$=$.slice(X[0].length).trim();let k=$.match(/^\*\s*as\s+([\w$]+)$/);if(k)K.push(`var ${k[1]} = ${Z};`);else if($.startsWith("{"))Y($.replace(/^\{|\}$/g,""),Z);return""}),J=J.replace(/^[ \t]*import\s+["'](stx-module:[^"']+)["'];?[ \t]*$/gm,(H,Q)=>{return W(Q.slice(v.length)),""}),J}function a(J){let K=[J,`${J}.ts`,`${J}.tsx`,`${J}.js`,`${J}.mjs`,`${J}.jsx`,j.join(J,"index.ts"),j.join(J,"index.tsx"),j.join(J,"index.js"),j.join(J,"index.mjs")];for(let G of K)try{if(O.existsSync(G)&&O.statSync(G,{throwIfNoEntry:!1})?.isFile())return G}catch{}return}function MJ(J,K,G,W,Y,H=new Map){let Q=(z,Z,$)=>{if(!Y||z!==G||!UJ.test(Z))return null;try{if(!O.statSync(Z,{throwIfNoEntry:!1})?.isFile())return null}catch{return null}W.add(Z);let X=`${v}${CJ(process.cwd(),Z)}`;return H.set($,X),{path:X,external:!0}},A=(z,Z)=>{let $=z===G?K:j.dirname(z),X=j.resolve($,Z);return a(X)??X};return{name:"stx-client-bundle",setup(z){z.onResolve({filter:/^(stx|@stacksjs\/stx)$/},(Z)=>({path:Z.path,external:!0})),z.onResolve({filter:/^(@stores|@composables|stx\/stores)$/},(Z)=>({path:Z.path,external:!0})),z.onResolve({filter:/^\//},(Z)=>{let $=a(Z.path);if($){let X=Q(Z.importer,$,Z.path);if(X)return X;if($!==G)W.add($);return{path:$}}return{path:Z.path,external:!0}}),z.onResolve({filter:/^\.\.?\//},(Z)=>{let $=A(Z.importer,Z.path),X=Q(Z.importer,$,Z.path);if(X)return X;return W.add($),{path:$}}),z.onResolve({filter:/^[@~]\//},(Z)=>{let $=j.resolve(J,Z.path.slice(2)),X=[$,`${$}.ts`,`${$}.tsx`,`${$}.js`,`${$}.mjs`,`${$}.jsx`,j.join($,"index.ts"),j.join($,"index.tsx"),j.join($,"index.js"),j.join($,"index.mjs")];for(let k of X)if(O.existsSync(k)&&O.statSync(k,{throwIfNoEntry:!1})?.isFile()){let _=Q(Z.importer,k,Z.path);if(_)return _;return T(`resolved ${Z.path[0]}/ import:`,Z.path,"\u2192",k),W.add(k),{path:k}}return console.warn(`[stx:bundler] could not resolve ${Z.path[0]}/ import:`,Z.path),{path:$}}),z.onResolve({filter:/^(?!node:|bun:)(?:@[\w.-]+\/)?[\w.-]/},(Z)=>{if(!Y||Z.importer!==G)return;let $=`${v}npm:${Z.path}`;return H.set(Z.path,$),{path:$,external:!0}}),z.onLoad({filter:/\.(?:[cm]?[jt]sx?|json)$/},(Z)=>{let $=j.extname(Z.path).toLowerCase(),X=$===".json"?"json":$===".tsx"?"tsx":$===".jsx"?"jsx":$===".ts"||$===".mts"||$===".cts"?"ts":"js";if(Z.path!==G)W.add(Z.path);return{contents:O.readFileSync(Z.path,"utf8"),loader:X}})}}}var f=new Map,F=$J(64),e=Symbol.for("stx.client-bundle-build-queue");function SJ(J){let K=globalThis,W=(K[e]??Promise.resolve()).then(J,J);return K[e]=W.then(()=>{return},()=>{return}),W}async function uJ(J,K,G={}){let W=G.projectRoot||process.cwd(),Y=G.minify??!1,H=G.externalizeUserModules??!0,Q=G.cacheDir||h(W,"bundle-cache"),A=new Bun.CryptoHasher("md5");A.update(`${kJ}\x00${H?"registry":"inline"}\x00${J}\x00${K}`);let z=A.digest("hex").slice(0,12),Z=j.join(Q,`${z}.js`),$=F.get(Z);if($){if(g($.files)){T("memo hit:",z);let S=$.files.map((L)=>L.path);return m(K,S),G.collectInputs?.push(...S),$.code}F.delete(Z),T("memo invalidated by dep change:",z)}let X=j.join(Q,`${z}.deps.json`),k=Bun.file(Z);if(await k.exists()){let S=Bun.file(X),L=!0,w=null;if(await S.exists())try{let I=JSON.parse(await S.text());if(I.metadataVersion!==GJ||!Array.isArray(I.files))L=!1;else w=I.files;if(w&&!g(w))L=!1}catch{L=!1}if(L){if(T("cache hit:",z),w)m(K,w.map((y)=>y.path)),G.collectInputs?.push(...w.map((y)=>y.path));let I=await k.text();if(w)F.set(Z,{code:I,files:w});return I}T("cache invalidated by dep change:",z)}let _=f.get(z);if(_){let S=await _;if(G.collectInputs)G.collectInputs.push(...(F.get(Z)?.files??[]).map((L)=>L.path));return S}let M=SJ(()=>xJ(J,K,{projectRoot:W,minify:Y,cacheDir:Q,hash:z,cachePath:Z,depsPath:X,collectInputs:G.collectInputs,externalizeUserModules:H}));f.set(z,M);try{return await M}finally{f.delete(z)}}async function xJ(J,K,G){let{projectRoot:W,minify:Y,cacheDir:H,hash:Q,cachePath:A,depsPath:z,externalizeUserModules:Z}=G,$=h(W,"bundle-tmp"),X=j.join($,`${Q}.ts`),k=j.join($,"out",Q);O.mkdirSync($,{recursive:!0}),O.mkdirSync(k,{recursive:!0});let _=j.dirname(K),M=new Set,S=/^[ \t]*(export\s+)?(?:const|let|var)\s+(?:\{([^}]+)\}|(\w+))/gm,L=/^[ \t]*(export\s+)?(?:async\s+)?function\s+(\w+)/gm,w=JJ(J),{depths:I,balanced:y}=KJ(w),c=(U)=>!y||I[U]===0,C;while((C=S.exec(w))!==null){if(C[1])continue;if(!c(C.index))continue;if(C[2])C[2].split(",").forEach((U)=>{let V=IJ(U);if(V)M.add(V)});else if(C[3])M.add(C[3])}while((C=L.exec(w))!==null){if(C[1])continue;if(!c(C.index))continue;M.add(C[2])}let YJ=M.size>0?`
|
|
5
|
+
export { ${[...M].join(", ")} }`:"";await Bun.write(X,J+YJ),T("bundling:",Q,"from:",j.basename(K));let o=new Set,n=new Map;try{let U=await Bun.build({entrypoints:[X],outdir:k,target:"browser",format:"esm",minify:Y,plugins:[MJ(W,_,X,o,Z,n)],define:{"process.env.NODE_ENV":Y?'"production"':'"development"',...ZJ()},root:W});if(!U.success){let N=U.logs.filter((B)=>B.level==="error").map((B)=>B.message).join(", ")||`Unable to bundle ${j.basename(K)}`,R=E(U.logs,K||void 0);if(console.warn("[stx:bundler] build failed:",N),r(K||"",N,R),s()==="error")throw Error(N);return J}let V="";for(let q of U.outputs){V=await q.text();break}let x=[];for(let q of V.matchAll(/^\s*export\s*\{([^}]*)\}\s*;?\s*$/gm))for(let N of q[1].split(",")){let R=N.trim().match(/^([A-Za-z_$][\w$]*)\s+as\s+([A-Za-z_$][\w$]*)$/);if(R){x.push([R[2],R[1]]);continue}let B=N.trim();if(/^[A-Za-z_$][\w$]*$/.test(B))x.push([B,B])}let l=[];V=TJ(LJ(V,n),l);let HJ=V.match(/^\s*import\s+[^;]+;?\s*$/gm)||[];V=V.replace(/^\s*import\s+[^;]+;?\s*$/gm,"").replace(/^\s*export\s*\{[^}]*\}\s*;?\s*$/gm,"").replace(/^\s*export\s+default\s+.*$/gm,"").trim();let d=`__stxBundle_${Q}`,zJ=x.map(([q,N])=>`${JSON.stringify(q)}: ${N}`).join(", "),XJ=x.map(([q])=>`var ${q} = undefined;`).join(`
|
|
6
|
+
`),jJ=x.map(([q])=>`${q} = ${d}[${JSON.stringify(q)}];`).join(`
|
|
7
|
+
`);if(V=`${HJ.join(`
|
|
8
|
+
`)}
|
|
9
|
+
${XJ}
|
|
10
|
+
var ${d} = (function() {
|
|
11
|
+
${l.join(`
|
|
12
|
+
`)}
|
|
13
|
+
${V}
|
|
14
|
+
return { ${zJ} };
|
|
15
|
+
})();
|
|
16
|
+
${jJ}`.trim(),T("bundled:",Q,"output:",V.length,"bytes"),M.size>0&&x.length===0)return console.warn(`[stx:bundler] dropped every binding for ${j.basename(K)} (${Q}); serving the unbundled source and not caching this result`),J;O.mkdirSync(H,{recursive:!0}),await Bun.write(A,V);let D=Array.from(o).map((q)=>{try{return{path:q,mtimeMs:O.statSync(q).mtimeMs}}catch{return null}}).filter((q)=>q!==null);return await Bun.write(z,JSON.stringify({metadataVersion:GJ,files:D})),m(K,D.map((q)=>q.path)),G.collectInputs?.push(...D.map((q)=>q.path)),F.set(A,{code:V,files:D}),await AJ(H),V}catch(U){let V=E(U,K||void 0),x=i(U,K||void 0);if(console.warn(`[stx:bundler] error: ${x}`),r(K||"",x,V),s()==="error")throw U;return J}finally{try{O.rmSync(X,{force:!0}),O.rmSync(k,{recursive:!0,force:!0})}catch{}}}function IJ(J){let K=J.trim();if(!K)return null;let G=K.indexOf("=");if(G!==-1)K=K.slice(0,G).trim();let W=K.indexOf(":");if(W!==-1)K=K.slice(W+1).trim();if(K.startsWith("..."))K=K.slice(3).trim();return/^[A-Za-z_$][\w$]*$/.test(K)?K:null}
|
|
17
|
+
export{i as $k,bJ as al,wJ as bl,r as cl,PJ as dl,fJ as el,gJ as fl,s as gl,mJ as hl,v as il,CJ as jl,LJ as kl,TJ as ll,SJ as ml,uJ as nl};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var E=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),N=new Set(["html","head","body","p","li","dt","dd","rt","rp","option","optgroup","thead","tbody","tfoot","tr","td","th","colgroup","caption"]);function X(Q){return Q.replace(/[^\n]/g," ")}function R(Q){let H=Q.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,X).replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,X).replace(/<!--[\s\S]*?-->/g,X).replace(/\{\{\{[\s\S]*?\}\}\}/g,X).replace(/\{\{[\s\S]*?\}\}/g,X).replace(/\{!![\s\S]*?!!\}/g,X),F=new Map,J=new Map,Y=/<(\/?)([A-Za-z][\w-]*)\b(?:[^>"']|"[^"]*"|'[^']*')*?(\/?)>/g,z;while((z=Y.exec(H))!==null){let j=z[1]==="/",q=z[2],W=z[3]==="/";if(E.has(q.toLowerCase()))continue;if(W)continue;if(j)J.set(q,(J.get(q)??0)+1);else{let Z=F.get(q);if(Z)Z.count++;else{let B=H.slice(0,z.index).split(`
|
|
3
3
|
`).length;F.set(q,{count:1,firstLine:B})}}}let M=[];for(let j of new Set([...F.keys(),...J.keys()])){if(N.has(j.toLowerCase()))continue;let q=F.get(j)?.count??0,W=J.get(j)??0;if(q!==W)M.push({tag:j,opened:q,closed:W,firstOpenLine:F.get(j)?.firstLine??0})}return M}var $=new Set;function U(Q,H){let F;try{F=R(Q)}catch{return}if(F.length===0)return;let J=`${H}:${Q.length}`;if($.has(J))return;$.add(J);let Y=H?H.split(/[/\\]/).pop()||H:"template";for(let{tag:z,opened:M,closed:j,firstOpenLine:q}of F)if(M>j){let W=q?` (first opened at line ${q})`:"";console.warn(`[stx] ${Y}: <${z}> ${M} opened, ${j} closed \u2014 an unclosed <${z}>${W} may swallow the content that follows it.`)}else console.warn(`[stx] ${Y}: <${z}> ${M} opened, ${j} closed \u2014 ${j-M} stray </${z}>.`)}
|
|
4
|
-
export{R as
|
|
4
|
+
export{R as _t,U as $t};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{hr as E}from"./chunk-d93d47k0.js";import{nv as D}from"./chunk-vwqv8f0y.js";import I from"path";async function M(k={}){let G=performance.now(),J=k.root||process.cwd(),j=await E(),q=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${q.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(q==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,router:j.router,...k.ssg})}else{let{buildForProduction:z}=await import("./chunk-21p24c6p.js");B=await z({outputDir:".output",debug:k.debug,...k.ssr})}let H=Math.round(performance.now()-G);return{mode:q,ssg:A,ssr:B,duration:H}}
|
|
3
3
|
export{M as Mg};
|