@stacksjs/stx 0.2.274 → 0.2.276
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/build-id.d.ts +8 -0
- package/dist/build-id.js +12 -7
- package/dist/builtins/image-delivery.js +46 -8
- package/dist/{chunk-d204cw1f.js → chunk-04k37rg4.js} +1 -1
- package/dist/{chunk-fk5y786g.js → chunk-08q58gc0.js} +1 -1
- package/dist/{chunk-30jz1ens.js → chunk-0a0wgpf5.js} +1 -1
- package/dist/chunk-0fstcrz7.js +2 -0
- package/dist/{chunk-t7b39wwk.js → chunk-0ym08enb.js} +1 -1
- package/dist/{chunk-cwg4czbe.js → chunk-0z81f8dc.js} +2 -2
- package/dist/{chunk-e4ty7vfv.js → chunk-1w9s36v0.js} +1 -1
- package/dist/chunk-1zmwpw88.js +2 -0
- package/dist/chunk-2218hm3h.js +2 -0
- package/dist/{chunk-c98tk6zv.js → chunk-2bjdjnqf.js} +1 -1
- package/dist/{chunk-a53v7hcy.js → chunk-2fx2xdre.js} +1 -1
- package/dist/{chunk-sfn4z72v.js → chunk-2n2ghmb1.js} +1 -1
- package/dist/{chunk-eq8f3dwn.js → chunk-35zv60a3.js} +1 -1
- package/dist/{chunk-3445kmwm.js → chunk-37dznstc.js} +1 -1
- package/dist/{chunk-ae5tb4zm.js → chunk-3kj7kd8g.js} +1 -1
- package/dist/{chunk-1fgbwc7a.js → chunk-3tr99nn5.js} +1 -1
- package/dist/{chunk-vf4tde50.js → chunk-3yg0f94g.js} +1 -1
- package/dist/{chunk-gyrpe6m3.js → chunk-4963bekg.js} +1 -1
- package/dist/{chunk-ht4r7d1p.js → chunk-4xbakvp1.js} +1 -1
- package/dist/{chunk-e5z100yg.js → chunk-4z157x30.js} +1 -1
- package/dist/{chunk-89wwrrpk.js → chunk-5d0jtpqm.js} +1 -1
- package/dist/chunk-5knwpqt9.js +2 -0
- package/dist/{chunk-qyfh6mf4.js → chunk-5mkc9fvx.js} +1 -1
- package/dist/{chunk-nsn7gfew.js → chunk-5v2wk7sj.js} +1 -1
- package/dist/{chunk-b63wkbvt.js → chunk-5vday0wx.js} +1 -1
- package/dist/{chunk-4drmhqx2.js → chunk-69p440ab.js} +1 -1
- package/dist/{chunk-q9zsjgpf.js → chunk-6gb72zp2.js} +1 -1
- package/dist/chunk-6nyncb9j.js +2 -0
- package/dist/{chunk-5n2g2z63.js → chunk-71r0nchv.js} +1 -1
- package/dist/{chunk-f69mqf03.js → chunk-78r2f3fp.js} +268 -268
- package/dist/{chunk-a6a9djpq.js → chunk-82kkkpw2.js} +1 -1
- package/dist/chunk-8s59xjyq.js +2 -0
- package/dist/chunk-9ek5503f.js +2 -0
- package/dist/{chunk-w6v7pwkn.js → chunk-9hw2wrcz.js} +1 -1
- package/dist/{chunk-brahft3h.js → chunk-9p25rqhp.js} +1 -1
- package/dist/{chunk-t1xzgpdm.js → chunk-9y5xb0p4.js} +1 -1
- package/dist/chunk-ax3ygk67.js +2 -0
- package/dist/{chunk-2c2z8n54.js → chunk-azfjfrns.js} +1 -1
- package/dist/{chunk-g8xanqdg.js → chunk-b1tjzeb0.js} +1 -1
- package/dist/{chunk-4xcpdp6k.js → chunk-b6tatw3n.js} +1 -1
- package/dist/{chunk-aehdyekj.js → chunk-c77syzg1.js} +1 -1
- package/dist/chunk-c8j11f9v.js +2 -0
- package/dist/{chunk-yce1ntz9.js → chunk-cnnedvhc.js} +1 -1
- package/dist/{chunk-4we8yzyx.js → chunk-dqzxr0pk.js} +1 -1
- package/dist/{chunk-0gpkptex.js → chunk-dyd3jdrn.js} +1 -1
- package/dist/{chunk-kms7q66w.js → chunk-e5vy94ck.js} +1 -1
- package/dist/{chunk-tvtnf09q.js → chunk-e8jazdsk.js} +1 -1
- package/dist/chunk-e9gjf5k7.js +2 -0
- package/dist/{chunk-djzbg6pr.js → chunk-eahvjj6d.js} +1 -1
- package/dist/chunk-ekt8zz65.js +3 -0
- package/dist/chunk-ftj0wyjr.js +2 -0
- package/dist/{chunk-jqm0hfx2.js → chunk-gdhyfrst.js} +1 -1
- package/dist/{chunk-yvpagchj.js → chunk-gfhzedsr.js} +1 -1
- package/dist/{chunk-e7svf8zh.js → chunk-gjhwmkw8.js} +1 -1
- package/dist/{chunk-k2nej4y6.js → chunk-ha5zt2y3.js} +1 -1
- package/dist/chunk-jezc3z4j.js +2 -0
- package/dist/{chunk-zzpsgq47.js → chunk-jg0dhkq7.js} +1 -1
- package/dist/{chunk-vesr13aj.js → chunk-jj6nrqje.js} +1 -1
- package/dist/chunk-jnt7mwwy.js +2 -0
- package/dist/{chunk-5xj9t4wa.js → chunk-k47az0ta.js} +1 -1
- package/dist/{chunk-9ej520sb.js → chunk-k484xgz0.js} +1 -1
- package/dist/{chunk-kdg7g76f.js → chunk-kr0r8x5w.js} +1 -1
- package/dist/chunk-ndy32jg2.js +2 -0
- package/dist/chunk-nmxc5vnq.js +2 -0
- package/dist/{chunk-vds4gmts.js → chunk-nvzaa3ww.js} +1 -1
- package/dist/{chunk-e88gqmtz.js → chunk-nzwz4pxc.js} +1 -1
- package/dist/chunk-p7vgvndc.js +2 -0
- package/dist/{chunk-vfdabmm2.js → chunk-pebbrxrx.js} +1 -1
- package/dist/chunk-pghw8xrx.js +2 -0
- package/dist/{chunk-x25ppstj.js → chunk-py8ky9v7.js} +1 -1
- package/dist/{chunk-w18t3nmy.js → chunk-q4desjj6.js} +1 -1
- package/dist/{chunk-6hxqck1t.js → chunk-qcz7pwth.js} +1 -1
- package/dist/chunk-qex26kx0.js +2 -0
- package/dist/chunk-qjzkn85m.js +2 -0
- package/dist/{chunk-twna1gqh.js → chunk-qt96zf2z.js} +1 -1
- package/dist/chunk-ragz3hr7.js +2 -0
- package/dist/{chunk-dry0kpjd.js → chunk-rqtvt1fc.js} +1 -1
- package/dist/chunk-s82b89ez.js +2 -0
- package/dist/{chunk-rhbq1var.js → chunk-sfaayvmn.js} +2 -2
- package/dist/{chunk-s9z3d94k.js → chunk-shh4jfwc.js} +1 -1
- package/dist/{chunk-txys90mf.js → chunk-shyqtvbq.js} +1 -1
- package/dist/{chunk-c3s5pez3.js → chunk-svdkq833.js} +1 -1
- package/dist/chunk-t7snemp0.js +2 -0
- package/dist/chunk-tqse14sf.js +2 -0
- package/dist/{chunk-3w45v2rv.js → chunk-tyr2z96r.js} +1 -1
- package/dist/{chunk-e6a2gr2w.js → chunk-vvx22149.js} +4 -4
- package/dist/chunk-vx3awpzd.js +2 -0
- package/dist/{chunk-1spzqjve.js → chunk-w1asc0zd.js} +1 -1
- package/dist/{chunk-0an022xa.js → chunk-w1zde8wp.js} +1 -1
- package/dist/chunk-wkb78edm.js +2 -0
- package/dist/chunk-wxnwc06w.js +2 -0
- package/dist/{chunk-yy6m9kgm.js → chunk-x4w3awav.js} +1 -1
- package/dist/{chunk-f0m82977.js → chunk-xay59qky.js} +1 -1
- package/dist/{chunk-1bwwtctk.js → chunk-xpxw2ked.js} +2 -2
- package/dist/{chunk-s5r7hwsw.js → chunk-y3r71hx6.js} +1 -1
- package/dist/{chunk-689wa5cj.js → chunk-yvm0yh36.js} +1 -1
- package/dist/{chunk-48yhwh4b.js → chunk-z297netm.js} +10 -10
- package/dist/{chunk-94jz7dpg.js → chunk-z31kfvmf.js} +1 -1
- package/dist/{chunk-71gwef4q.js → chunk-z45t29sf.js} +1 -1
- package/dist/{chunk-0ye9aj3r.js → chunk-zbynjn6g.js} +1 -1
- package/dist/{chunk-kw05bztg.js → chunk-zgcnyj36.js} +2 -2
- package/dist/cli.js +14 -14
- package/dist/config.js +1 -0
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/database.js +1 -1
- package/dist/document-shell.d.ts +10 -0
- package/dist/document-shell.js +11 -5
- package/dist/head-injection.d.ts +44 -0
- package/dist/head-injection.js +20 -0
- package/dist/performance-utils.d.ts +15 -1
- package/dist/performance-utils.js +11 -0
- package/dist/process.js +10 -4
- package/dist/pwa.js +2 -2
- package/dist/signal-processing.js +8 -2
- package/dist/ssg.js +2 -2
- package/dist/types/config-types.d.ts +17 -0
- package/dist/utils.js +12 -2
- package/dist/visual-testing.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-3zd2f5qr.js +0 -2
- package/dist/chunk-4g93sqtn.js +0 -2
- package/dist/chunk-4z55rsz6.js +0 -2
- package/dist/chunk-56w05c8k.js +0 -2
- package/dist/chunk-5arv7j0q.js +0 -2
- package/dist/chunk-6nar1v2y.js +0 -2
- package/dist/chunk-7hghkqzt.js +0 -2
- package/dist/chunk-8qvk5sna.js +0 -2
- package/dist/chunk-8v09eehd.js +0 -2
- package/dist/chunk-aqhnv526.js +0 -2
- package/dist/chunk-ayfbw3ke.js +0 -2
- package/dist/chunk-cp0dnekw.js +0 -2
- package/dist/chunk-cs20nm0r.js +0 -2
- package/dist/chunk-d8np0m39.js +0 -2
- package/dist/chunk-eqnwq9m0.js +0 -2
- package/dist/chunk-f68eb80q.js +0 -2
- package/dist/chunk-g6rfy2b9.js +0 -2
- package/dist/chunk-h45js0cg.js +0 -3
- package/dist/chunk-kpzy8wd7.js +0 -2
- package/dist/chunk-mtk42c2k.js +0 -2
- package/dist/chunk-ner93kgx.js +0 -2
- package/dist/chunk-nsb6fcde.js +0 -2
- package/dist/chunk-r13htfx6.js +0 -2
- package/dist/chunk-sevgcxxp.js +0 -2
- package/dist/chunk-t42rq0p7.js +0 -2
- package/dist/chunk-vrx2rq5x.js +0 -2
- package/dist/chunk-xtw5sm29.js +0 -2
package/dist/pwa.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Hk as wq,Ik as dq,Jk as Cq,Kk as mq,Lk as gq}from"./chunk-hpybjwwf.js";import{Mk as S,Nk as Tq,Ok as _q,Pk as z,Qk as D,Rk as P,Sk as kq,Tk as vq,Uk as w,Vk as Iq,Wk as d,Xk as Hq,Yk as Oq,Zk as Mq}from"./chunk-
|
|
3
|
-
Icon generation requires the sharp package for image processing.`),q.success=!1,q}let R=await y.default(Y).metadata();if(R.width&&R.width<512)q.warnings.push(`Source icon is ${R.width}x${R.height}. Recommend using at least 512x512 for best quality.`);for(let $ of X){let x=L.join(Q,`icon-${$}x${$}.png`);if(await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x),j){let F=L.join(Q,`icon-${$}x${$}.webp`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).webp({quality:90}).toFile(F),q.generatedFiles.push(F)}}if(J){for(let x of v){let F=L.join(Q,`apple-touch-icon-${x}x${x}.png`);await y.default(Y).resize(x,x,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile(F),q.generatedFiles.push(F)}let $=L.join(Q,"apple-touch-icon.png");await y.default(Y).resize(180,180,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile($),q.generatedFiles.push($)}for(let $ of I){let x=L.join(Q,`favicon-${$}x${$}.png`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x)}let U=512,T=L.join(Q,`icon-maskable-${U}x${U}.png`),Z=Math.floor(U*0.1),_=U-Z*2;await y.default(Y).resize(_,_,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).extend({top:Z,bottom:Z,left:Z,right:Z,background:{r:255,g:255,b:255,alpha:1}}).png().toFile(T),q.generatedFiles.push(T)}catch(y){let V=y instanceof Error?y.message:String(y);q.errors.push(`Icon generation failed: ${V}`),q.success=!1}return q}function n(G){let B=G.sizes||k,q=G.outputDir?`/${G.outputDir}`:"/pwa-icons",K=G.generateWebP??!0,Y=G.generateAppleIcons??!0,Q=[];for(let X of B)if(Q.push(`${q}/icon-${X}x${X}.png`),K)Q.push(`${q}/icon-${X}x${X}.webp`);if(Y){Q.push(`${q}/apple-touch-icon.png`);for(let X of v)Q.push(`${q}/apple-touch-icon-${X}x${X}.png`)}for(let X of I)Q.push(`${q}/favicon-${X}x${X}.png`);return Q.push(`${q}/icon-maskable-512x512.png`),Q}async function O(){try{return await import("sharp"),!0}catch{return!1}}function m(G,B,q,K){let Y=[],Q=K.join(" ");for(let X of G)if(Y.push({src:`${B}/icon-${X}x${X}.png`,sizes:`${X}x${X}`,type:"image/png",purpose:Q}),q)Y.push({src:`${B}/icon-${X}x${X}.webp`,sizes:`${X}x${X}`,type:"image/webp",purpose:Q});return Y}function g(G){return G.map((B)=>({name:B.name,short_name:B.shortName,description:B.description,url:B.url,icons:B.icons?.map((q)=>({src:q.src,sizes:q.sizes,type:q.type}))}))}function h(G){let B=G.pwa?.shareTarget;if(!B?.enabled)return;let q={action:B.action||"/share",method:B.method||"POST",enctype:B.enctype||"multipart/form-data",params:{title:B.params?.title||"title",text:B.params?.text||"text",url:B.params?.url||"url"}};if(B.acceptFiles&&B.acceptFiles.length>0)q.params.files=B.acceptFiles.map((K)=>({name:K.name,accept:K.accept}));return q}function c(G){let B=G.pwa?.fileHandlers;if(!B?.enabled||!B.accept)return;let q=[{action:B.action||"/",accept:B.accept,launch_type:B.launchType||"single-client"}];if(B.icons)q[0].icons=B.icons.map((K)=>({src:K.src,sizes:K.sizes,type:K.type}));return q}function l(G){let B=G.pwa?.protocolHandlers;if(!B||B.length===0)return;return B.map((q)=>({protocol:q.protocol,url:q.url}))}function u(G){let B=G.pwa;if(!B?.enabled||!B.manifest)return null;let{manifest:q,icons:K}=B,Y=K?.sizes||[72,96,128,144,152,192,384,512],Q=K?.outputDir?`/${K.outputDir}`:"/pwa-icons",X=K?.generateWebP??!0,j=K?.purpose||["any","maskable"],J={name:q.name,short_name:q.shortName||q.name,description:q.description,start_url:q.startUrl||"/",display:q.display||"standalone",display_override:q.displayOverride,orientation:q.orientation,theme_color:q.themeColor,background_color:q.backgroundColor,scope:q.scope||"/",lang:q.lang,dir:q.dir,id:q.id,categories:q.categories,icons:m(Y,Q,X,j)};if(q.shortcuts&&q.shortcuts.length>0)J.shortcuts=g(q.shortcuts);if(q.screenshots&&q.screenshots.length>0)J.screenshots=q.screenshots.map((U)=>({src:U.src,sizes:U.sizes,type:U.type,label:U.label,form_factor:U.platform}));let y=h(G);if(y)J.share_target=y;let V=c(G);if(V)J.file_handlers=V;let R=l(G);if(R)J.protocol_handlers=R;if(q.launchHandler)J.launch_handler={client_mode:q.launchHandler};if(q.handleLinks)J.handle_links=q.handleLinks;if(q.edgeSidePanel?.enabled)J.edge_side_panel={preferred_width:q.edgeSidePanel.preferredWidth};return J}function M(G){let B=u(G);if(!B)return"";let q=JSON.parse(JSON.stringify(B));return JSON.stringify(q,null,2)}function i(G,B){return{...B,...G,shortcuts:G.shortcuts||B.shortcuts,screenshots:G.screenshots||B.screenshots,categories:G.categories||B.categories}}function s(G){let B=[],q=G.pwa;if(!q?.enabled)return B;let K=q.manifest;if(!K)return B.push("PWA manifest configuration is missing"),B;if(!K.name)B.push("Manifest name is required");let Y=["fullscreen","standalone","minimal-ui","browser"];if(K.display&&!Y.includes(K.display))B.push(`Invalid display mode: ${K.display}. Must be one of: ${Y.join(", ")}`);let Q=["any","natural","landscape","landscape-primary","landscape-secondary","portrait","portrait-primary","portrait-secondary"];if(K.orientation&&!Q.includes(K.orientation))B.push(`Invalid orientation: ${K.orientation}`);let X=/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;if(K.themeColor&&!X.test(K.themeColor))B.push(`Invalid theme color: ${K.themeColor}. Must be a valid hex color.`);if(K.backgroundColor&&!X.test(K.backgroundColor))B.push(`Invalid background color: ${K.backgroundColor}. Must be a valid hex color.`);if(q.shareTarget?.enabled){if(!q.shareTarget.action)B.push("Share target action URL is required")}if(q.fileHandlers?.enabled){if(!q.fileHandlers.accept||Object.keys(q.fileHandlers.accept).length===0)B.push("File handlers must specify accepted MIME types")}if(q.protocolHandlers)for(let j of q.protocolHandlers){if(!j.protocol)B.push("Protocol handler missing protocol");if(!j.url||!j.url.includes("%s"))B.push(`Protocol handler URL must contain %s placeholder: ${j.protocol}`)}return B}import A from"path";async function b(G){let B=G.pwa?.offline;if(!B?.enabled)return"";if(B.page){let q=A.isAbsolute(B.page)?B.page:A.resolve(process.cwd(),B.page);if(await Bun.file(q).exists())try{let{processDirectives:K}=await import("./chunk-
|
|
2
|
+
import{Hk as wq,Ik as dq,Jk as Cq,Kk as mq,Lk as gq}from"./chunk-hpybjwwf.js";import{Mk as S,Nk as Tq,Ok as _q,Pk as z,Qk as D,Rk as P,Sk as kq,Tk as vq,Uk as w,Vk as Iq,Wk as d,Xk as Hq,Yk as Oq,Zk as Mq}from"./chunk-gdhyfrst.js";import{Su as Aq,Tu as bq,Uu as Sq,Vu as zq,Wu as Dq,Xu as Pq}from"./chunk-azfjfrns.js";import{$u as N}from"./chunk-z45t29sf.js";import p from"fs";import E from"path";import C from"fs";import L from"path";var k=[72,96,128,144,152,192,384,512],v=[120,152,167,180],I=[16,32];async function H(G,B){let q={success:!0,generatedFiles:[],errors:[],warnings:[]},K=G.pwa?.icons;if(!K?.src)return q.errors.push("No source icon specified in pwa.icons.src"),q.success=!1,q;let Y=L.isAbsolute(K.src)?K.src:L.resolve(process.cwd(),K.src);if(!await Bun.file(Y).exists())return q.errors.push(`Source icon not found: ${Y}`),q.success=!1,q;let Q=L.resolve(B,K.outputDir||"pwa-icons");try{C.mkdirSync(Q,{recursive:!0})}catch{return q.errors.push(`Failed to create output directory: ${Q}`),q.success=!1,q}let X=K.sizes||k,j=K.generateWebP??!0,J=K.generateAppleIcons??!0;try{let y;try{y=await import("sharp")}catch{return q.errors.push(`sharp is not installed. Install it with: bun add sharp
|
|
3
|
+
Icon generation requires the sharp package for image processing.`),q.success=!1,q}let R=await y.default(Y).metadata();if(R.width&&R.width<512)q.warnings.push(`Source icon is ${R.width}x${R.height}. Recommend using at least 512x512 for best quality.`);for(let $ of X){let x=L.join(Q,`icon-${$}x${$}.png`);if(await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x),j){let F=L.join(Q,`icon-${$}x${$}.webp`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).webp({quality:90}).toFile(F),q.generatedFiles.push(F)}}if(J){for(let x of v){let F=L.join(Q,`apple-touch-icon-${x}x${x}.png`);await y.default(Y).resize(x,x,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile(F),q.generatedFiles.push(F)}let $=L.join(Q,"apple-touch-icon.png");await y.default(Y).resize(180,180,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile($),q.generatedFiles.push($)}for(let $ of I){let x=L.join(Q,`favicon-${$}x${$}.png`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x)}let U=512,T=L.join(Q,`icon-maskable-${U}x${U}.png`),Z=Math.floor(U*0.1),_=U-Z*2;await y.default(Y).resize(_,_,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).extend({top:Z,bottom:Z,left:Z,right:Z,background:{r:255,g:255,b:255,alpha:1}}).png().toFile(T),q.generatedFiles.push(T)}catch(y){let V=y instanceof Error?y.message:String(y);q.errors.push(`Icon generation failed: ${V}`),q.success=!1}return q}function n(G){let B=G.sizes||k,q=G.outputDir?`/${G.outputDir}`:"/pwa-icons",K=G.generateWebP??!0,Y=G.generateAppleIcons??!0,Q=[];for(let X of B)if(Q.push(`${q}/icon-${X}x${X}.png`),K)Q.push(`${q}/icon-${X}x${X}.webp`);if(Y){Q.push(`${q}/apple-touch-icon.png`);for(let X of v)Q.push(`${q}/apple-touch-icon-${X}x${X}.png`)}for(let X of I)Q.push(`${q}/favicon-${X}x${X}.png`);return Q.push(`${q}/icon-maskable-512x512.png`),Q}async function O(){try{return await import("sharp"),!0}catch{return!1}}function m(G,B,q,K){let Y=[],Q=K.join(" ");for(let X of G)if(Y.push({src:`${B}/icon-${X}x${X}.png`,sizes:`${X}x${X}`,type:"image/png",purpose:Q}),q)Y.push({src:`${B}/icon-${X}x${X}.webp`,sizes:`${X}x${X}`,type:"image/webp",purpose:Q});return Y}function g(G){return G.map((B)=>({name:B.name,short_name:B.shortName,description:B.description,url:B.url,icons:B.icons?.map((q)=>({src:q.src,sizes:q.sizes,type:q.type}))}))}function h(G){let B=G.pwa?.shareTarget;if(!B?.enabled)return;let q={action:B.action||"/share",method:B.method||"POST",enctype:B.enctype||"multipart/form-data",params:{title:B.params?.title||"title",text:B.params?.text||"text",url:B.params?.url||"url"}};if(B.acceptFiles&&B.acceptFiles.length>0)q.params.files=B.acceptFiles.map((K)=>({name:K.name,accept:K.accept}));return q}function c(G){let B=G.pwa?.fileHandlers;if(!B?.enabled||!B.accept)return;let q=[{action:B.action||"/",accept:B.accept,launch_type:B.launchType||"single-client"}];if(B.icons)q[0].icons=B.icons.map((K)=>({src:K.src,sizes:K.sizes,type:K.type}));return q}function l(G){let B=G.pwa?.protocolHandlers;if(!B||B.length===0)return;return B.map((q)=>({protocol:q.protocol,url:q.url}))}function u(G){let B=G.pwa;if(!B?.enabled||!B.manifest)return null;let{manifest:q,icons:K}=B,Y=K?.sizes||[72,96,128,144,152,192,384,512],Q=K?.outputDir?`/${K.outputDir}`:"/pwa-icons",X=K?.generateWebP??!0,j=K?.purpose||["any","maskable"],J={name:q.name,short_name:q.shortName||q.name,description:q.description,start_url:q.startUrl||"/",display:q.display||"standalone",display_override:q.displayOverride,orientation:q.orientation,theme_color:q.themeColor,background_color:q.backgroundColor,scope:q.scope||"/",lang:q.lang,dir:q.dir,id:q.id,categories:q.categories,icons:m(Y,Q,X,j)};if(q.shortcuts&&q.shortcuts.length>0)J.shortcuts=g(q.shortcuts);if(q.screenshots&&q.screenshots.length>0)J.screenshots=q.screenshots.map((U)=>({src:U.src,sizes:U.sizes,type:U.type,label:U.label,form_factor:U.platform}));let y=h(G);if(y)J.share_target=y;let V=c(G);if(V)J.file_handlers=V;let R=l(G);if(R)J.protocol_handlers=R;if(q.launchHandler)J.launch_handler={client_mode:q.launchHandler};if(q.handleLinks)J.handle_links=q.handleLinks;if(q.edgeSidePanel?.enabled)J.edge_side_panel={preferred_width:q.edgeSidePanel.preferredWidth};return J}function M(G){let B=u(G);if(!B)return"";let q=JSON.parse(JSON.stringify(B));return JSON.stringify(q,null,2)}function i(G,B){return{...B,...G,shortcuts:G.shortcuts||B.shortcuts,screenshots:G.screenshots||B.screenshots,categories:G.categories||B.categories}}function s(G){let B=[],q=G.pwa;if(!q?.enabled)return B;let K=q.manifest;if(!K)return B.push("PWA manifest configuration is missing"),B;if(!K.name)B.push("Manifest name is required");let Y=["fullscreen","standalone","minimal-ui","browser"];if(K.display&&!Y.includes(K.display))B.push(`Invalid display mode: ${K.display}. Must be one of: ${Y.join(", ")}`);let Q=["any","natural","landscape","landscape-primary","landscape-secondary","portrait","portrait-primary","portrait-secondary"];if(K.orientation&&!Q.includes(K.orientation))B.push(`Invalid orientation: ${K.orientation}`);let X=/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;if(K.themeColor&&!X.test(K.themeColor))B.push(`Invalid theme color: ${K.themeColor}. Must be a valid hex color.`);if(K.backgroundColor&&!X.test(K.backgroundColor))B.push(`Invalid background color: ${K.backgroundColor}. Must be a valid hex color.`);if(q.shareTarget?.enabled){if(!q.shareTarget.action)B.push("Share target action URL is required")}if(q.fileHandlers?.enabled){if(!q.fileHandlers.accept||Object.keys(q.fileHandlers.accept).length===0)B.push("File handlers must specify accepted MIME types")}if(q.protocolHandlers)for(let j of q.protocolHandlers){if(!j.protocol)B.push("Protocol handler missing protocol");if(!j.url||!j.url.includes("%s"))B.push(`Protocol handler URL must contain %s placeholder: ${j.protocol}`)}return B}import A from"path";async function b(G){let B=G.pwa?.offline;if(!B?.enabled)return"";if(B.page){let q=A.isAbsolute(B.page)?B.page:A.resolve(process.cwd(),B.page);if(await Bun.file(q).exists())try{let{processDirectives:K}=await import("./chunk-jnt7mwwy.js"),Y=await Bun.file(q).text();return await K(Y,{},q,G,new Set)}catch(K){console.warn(`[PWA] Failed to process custom offline page: ${K}`)}else console.warn(`[PWA] Custom offline page not found: ${q}`)}return f(G)}function f(G){let B=G.pwa?.offline,q=G.pwa?.manifest,K=B?.fallbackTitle||"You are offline",Y=B?.fallbackMessage||"Please check your internet connection and try again.",Q=q?.themeColor||"#4f46e5",X=q?.shortName||q?.name||"App";return`<!DOCTYPE html>
|
|
4
4
|
<html lang="en">
|
|
5
5
|
<head>
|
|
6
6
|
<meta charset="UTF-8">
|
|
@@ -521,14 +521,20 @@ export function convertSignalLoopsToAttributes(template, context) {
|
|
|
521
521
|
}
|
|
522
522
|
if (parsed.style === "as")
|
|
523
523
|
expr = parsed.indexVar ? `(${parsed.itemVar}, ${parsed.indexVar}) in ${parsed.iterable}` : `${parsed.itemVar} in ${parsed.iterable}`;
|
|
524
|
-
const content = output.substring(afterExpr, endIdx - endTag.length).trim(),
|
|
524
|
+
const content = output.substring(afterExpr, endIdx - endTag.length).trim(), nestedContext = context ? { ...context } : {};
|
|
525
|
+
if (parsed.itemVar)
|
|
526
|
+
delete nestedContext[parsed.itemVar];
|
|
527
|
+
if (parsed.indexVar)
|
|
528
|
+
delete nestedContext[parsed.indexVar];
|
|
529
|
+
const convertedContent = convertSignalLoopsToAttributes(content, nestedContext), singleElementMatch = convertedContent.match(SINGLE_ELEMENT_RE);
|
|
525
530
|
let replacement;
|
|
526
531
|
if (singleElementMatch) {
|
|
527
532
|
const [, tag, attrs, innerContent] = singleElementMatch;
|
|
528
533
|
replacement = `<${tag}${attrs} @for="${expr}">${innerContent}</${tag}>`;
|
|
529
534
|
} else
|
|
530
|
-
replacement = `<template @for="${expr}">${
|
|
535
|
+
replacement = `<template @for="${expr}">${convertedContent}</template>`;
|
|
531
536
|
replacements.push({ start: startIdx, end: endIdx, replacement });
|
|
537
|
+
forDirectiveStart.lastIndex = endIdx;
|
|
532
538
|
}
|
|
533
539
|
for (let i = replacements.length - 1;i >= 0; i--) {
|
|
534
540
|
const { start, end, replacement } = replacements[i];
|
package/dist/ssg.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Dk as Fq,yk as Uq,zk as Iq}from"./chunk-
|
|
2
|
+
import{Dk as Fq,yk as Uq,zk as Iq}from"./chunk-3yg0f94g.js";import{Ek as Eq,Fk as Tq,Gk as Dq}from"./chunk-58f0mthg.js";import{$k as _q,cl as zq,dl as Aq}from"./chunk-2n2ghmb1.js";import{Jm as Oq,Mq as P,Zp as Bq,fp as l,ip as Hq,js as n}from"./chunk-78r2f3fp.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import{nt as Xq}from"./chunk-vvx22149.js";import{st as d}from"./chunk-w1asc0zd.js";import"./chunk-ekt8zz65.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import{Gu as Yq,Hu as Vq,Iu as jq,Ju as Gq,Ku as Lq,Lu as Nq}from"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import{$u as y}from"./chunk-z45t29sf.js";import O from"fs";import j from"path";import{createHash as xq}from"crypto";function yq(q){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(q).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return q}}var Pq=/<script\s+type="stx\/island"\s+data-stx-island="([^"]+)"([^>]*)>([\s\S]*?)<\/script>/g;function Cq(q){return Bun.hash(q).toString(16)}function Qq(q,Z={}){if(!q.includes('type="stx/island"'))return{html:q,chunks:[]};let $=new Map,Q=q.replace(Pq,(J,W,z,A)=>{let G=A.trim();if(!G)return J;if(/\bdata-stx-src=/.test(z))return J;if(Z.minify)G=yq(G);let X=Cq(G);if(!$.has(X))$.set(X,G);let B=Z.integrity?` data-stx-integrity="sha384-${xq("sha384").update(G).digest("base64")}"`:"";return`<script type="stx/island" data-stx-island="${W}" data-stx-src="/_stx/islands/${X}.js"${B}${z}></script>`}),K=Array.from($,([J,W])=>({hash:J,code:W}));return{html:Q,chunks:K}}var gq=new Set(["visible","idle"]);function Zq(q){if(!q.includes("data-stx-src="))return q;let Z=new Map,$=/data-stx-scope="([^"]+)"[^>]*?stx-hydrate="([^"]+)"/g,Q;while((Q=$.exec(q))!==null)Z.set(Q[1],Q[2]);let K=new Set,J=/data-stx-island="([^"]+)"[^>]*?data-stx-src="([^"]+)"/g,W;while((W=J.exec(q))!==null)if(gq.has(Z.get(W[1])||""))K.add(W[2]);let z=q.lastIndexOf("</head>");if(K.size===0||z===-1)return q;let A=Array.from(K).filter((G)=>!q.includes(`rel="prefetch" href="${G}"`)).map((G)=>`<link rel="prefetch" href="${G}" as="script">`).join("");if(!A)return q;return q.slice(0,z)+A+q.slice(z)}var fq=["STX_SITE_URL","SITE_URL","URL","VERCEL_URL","CF_PAGES_URL"];function h(q){let Z=q.trim();if(!Z)return null;let $=/^https?:\/\//i.test(Z)?Z:`https://${Z}`;try{return new URL($).origin+new URL($).pathname.replace(/\/$/,"")}catch{return null}}function mq(q){for(let Z of fq){let $=q[Z];if(!$)continue;let Q=h($);if(Q)return{url:Q,source:"env",via:Z}}return null}function $q(q){if(!q||typeof q!=="object")return null;let Z=q,$=Z.site?.url??Z.url??Z.app?.url;return typeof $==="string"?h($):null}async function dq(q){let{existsSync:Z}=await import("fs"),$=await import("path");for(let Q of["site.config.ts","site.config.js",".config/site.config.ts"]){let K=$.resolve(q,Q);if(!Z(K))continue;try{let J=await import(K),W=$q(J.default??J);if(W)return W}catch{}}return null}async function Kq(q={}){let Z=q.cwd??process.cwd(),$=q.env??process.env;if(q.explicit){let W=h(q.explicit);if(W)return{url:W,source:"option"}}let Q=$q(q.stxConfig);if(Q)return{url:Q,source:"stx.config",via:"site.url"};let K=await dq(Z);if(K)return{url:K,source:"site.config",via:"url"};let J=mq($);if(J)return J;return{url:"http://localhost",source:"fallback"}}function Wq(){return["No site URL configured \u2014 sitemap.xml and robots.txt will point at http://localhost."," Set one in stx.config.ts (site: { url: 'https://example.com' }), in site.config.ts,"," via --domain, or with SITE_URL in the build environment."].join(`
|
|
3
3
|
`)}class Rq{cacheDir;cache=new Map;loaded=!1;salt;constructor(q,Z=""){this.cacheDir=q,this.salt=Z}async load(){if(this.loaded)return;let q=j.join(this.cacheDir,"build-cache.json");if(await Bun.file(q).exists())try{let Z=JSON.parse(await Bun.file(q).text());for(let[$,Q]of Object.entries(Z))this.cache.set($,Q)}catch{}this.loaded=!0}async save(){await O.promises.mkdir(this.cacheDir,{recursive:!0});let q=j.join(this.cacheDir,"build-cache.json"),Z={};for(let[$,Q]of this.cache)Z[$]=Q;await Bun.write(q,JSON.stringify(Z))}getHash(q,Z){let $=O.statSync(q),Q=`${this.salt}|${q}:${$.mtimeMs}`;for(let J of Z)if(O.existsSync(J)){let W=O.statSync(J);Q+=`:${J}:${W.mtimeMs}`}let K=0;for(let J=0;J<Q.length;J++){let W=Q.charCodeAt(J);K=(K<<5)-K+W,K=K&K}return Math.abs(K).toString(36)}get(q,Z){let $=this.cache.get(q);if(!$)return null;let Q=this.getHash(Z,$.dependencies??[]);if($.hash!==Q)return this.cache.delete(q),null;return $.html}set(q,Z,$,Q){let K=this.getHash(Z,$);this.cache.set(q,{hash:K,html:Q,generatedAt:Date.now(),dependencies:$})}}class Mq{cacheDir;constructor(q){this.cacheDir=q}getFilePath(q){let Z=q.replace(/[^a-zA-Z0-9]/g,"_")+".json";return j.join(this.cacheDir,"isr",Z)}async get(q){let Z=this.getFilePath(q);if(!await Bun.file(Z).exists())return null;try{return JSON.parse(await Bun.file(Z).text())}catch{return null}}async set(q,Z){let $=this.getFilePath(q);await O.promises.mkdir(j.dirname($),{recursive:!0}),await Bun.write($,JSON.stringify(Z))}async invalidate(q){let Z=this.getFilePath(q);if(await Bun.file(Z).exists())await O.promises.unlink(Z)}async invalidatePattern(q){let Z=j.join(this.cacheDir,"isr");if(!O.existsSync(Z))return;let $=await O.promises.readdir(Z);for(let Q of $){let K=Q.replace(/_/g,"/").replace(".json","");if(q.test(K))await O.promises.unlink(j.join(Z,Q))}}async needsRevalidation(q){let Z=await this.get(q);if(!Z)return!0;return Date.now()>Z.revalidateAfter}}async function pq(q){try{let $=(await Bun.file(q).text()).match(/<script\s+server\b[^>]*>([\s\S]*?)<\/script>/i);if(!$)return null;let Q=$[1];if(!Q.includes("getStaticPaths"))return null;let K=Q.match(/(?:export\s+)?(?:async\s+)?function\s+getStaticPaths\s*\([^)]*\)\s*\{([\s\S]*?)\n[\t ]*\}/);if(!K)return null;return await Function(`
|
|
4
4
|
return (async function getStaticPaths() {
|
|
5
5
|
${K[1]}
|
|
@@ -41,7 +41,7 @@ ${q.map((Q)=>{let K=new URL(Q.loc,Z).href,J=` <url>
|
|
|
41
41
|
${$.join(`
|
|
42
42
|
`)}
|
|
43
43
|
</channel>
|
|
44
|
-
</rss>`}async function rq(q={}){let Z=Date.now();Aq();let $=await n(process.cwd()),Q=$.build||{},K=await Kq({explicit:q.domain||Q.domain,stxConfig:$});if(K.source==="fallback"&&(q.sitemap??Q.sitemap??!0))console.warn(Wq());let J={router:q.router??$?.router??{},pagesDir:q.pagesDir||Q.pagesDir||"pages",outputDir:q.outputDir||Q.outputDir||"dist",baseUrl:q.baseUrl||Q.baseUrl||"/",domain:K.url,revalidate:q.revalidate??Q.revalidate??!1,sitemap:q.sitemap??Q.sitemap??!0,sitemapExclude:q.sitemapExclude||Q.sitemapExclude||[],robots:q.robots??Q.robots??!0,rss:q.rss??Q.rss??!1,concurrency:q.concurrency||Q.concurrency||10,cache:q.cache??Q.cache??!0,cacheDir:q.cacheDir||Q.cacheDir||d(process.cwd(),"ssg-cache"),contentLoaders:q.contentLoaders||[],hooks:q.hooks||{},minify:q.minify??Q.minify??!0,generate404:q.generate404??Q.generate404??!0,publicDir:q.publicDir||Q.publicDir||"public",trailingSlash:q.trailingSlash??Q.trailingSlash??!1,cleanOutput:q.cleanOutput??Q.cleanOutput??!0,cacheSalt:q.cacheSalt??"",partialsDir:q.partialsDir||$?.partialsDir||"",componentsDir:q.componentsDir||$?.componentsDir||"",failOnIncludeError:q.failOnIncludeError??!0,chunkIslands:q.chunkIslands===!0,prefetchIslands:q.prefetchIslands===!0,integrityIslands:q.integrityIslands===!0},W={totalPages:0,successCount:0,failedCount:0,cachedCount:0,buildTime:0,pages:[],errors:[]},z=new Set,A=0,G={},X={};await J.hooks.onBuildStart?.();try{if(J.cleanOutput&&O.existsSync(J.outputDir))await O.promises.rm(J.outputDir,{recursive:!0});await O.promises.mkdir(J.outputDir,{recursive:!0});let L=J.cacheSalt;if(!L){let{resolveUserCrosswindConfig:Y,fingerprintConfig:N}=await import("./chunk-
|
|
44
|
+
</rss>`}async function rq(q={}){let Z=Date.now();Aq();let $=await n(process.cwd()),Q=$.build||{},K=await Kq({explicit:q.domain||Q.domain,stxConfig:$});if(K.source==="fallback"&&(q.sitemap??Q.sitemap??!0))console.warn(Wq());let J={router:q.router??$?.router??{},pagesDir:q.pagesDir||Q.pagesDir||"pages",outputDir:q.outputDir||Q.outputDir||"dist",baseUrl:q.baseUrl||Q.baseUrl||"/",domain:K.url,revalidate:q.revalidate??Q.revalidate??!1,sitemap:q.sitemap??Q.sitemap??!0,sitemapExclude:q.sitemapExclude||Q.sitemapExclude||[],robots:q.robots??Q.robots??!0,rss:q.rss??Q.rss??!1,concurrency:q.concurrency||Q.concurrency||10,cache:q.cache??Q.cache??!0,cacheDir:q.cacheDir||Q.cacheDir||d(process.cwd(),"ssg-cache"),contentLoaders:q.contentLoaders||[],hooks:q.hooks||{},minify:q.minify??Q.minify??!0,generate404:q.generate404??Q.generate404??!0,publicDir:q.publicDir||Q.publicDir||"public",trailingSlash:q.trailingSlash??Q.trailingSlash??!1,cleanOutput:q.cleanOutput??Q.cleanOutput??!0,cacheSalt:q.cacheSalt??"",partialsDir:q.partialsDir||$?.partialsDir||"",componentsDir:q.componentsDir||$?.componentsDir||"",failOnIncludeError:q.failOnIncludeError??!0,chunkIslands:q.chunkIslands===!0,prefetchIslands:q.prefetchIslands===!0,integrityIslands:q.integrityIslands===!0},W={totalPages:0,successCount:0,failedCount:0,cachedCount:0,buildTime:0,pages:[],errors:[]},z=new Set,A=0,G={},X={};await J.hooks.onBuildStart?.();try{if(J.cleanOutput&&O.existsSync(J.outputDir))await O.promises.rm(J.outputDir,{recursive:!0});await O.promises.mkdir(J.outputDir,{recursive:!0});let L=J.cacheSalt;if(!L){let{resolveUserCrosswindConfig:Y,fingerprintConfig:N}=await import("./chunk-69p440ab.js");try{L=N(await Y(process.cwd()))}catch{}}let{prepareImageDelivery:_}=await import("./chunk-p7vgvndc.js"),F=await _(J.publicDir,J.outputDir);if(F.count>0)console.log(`Optimized ${F.count} image(s) for responsive delivery`),L=[L,F.fingerprint].filter(Boolean).join(":");let C=new Rq(J.cacheDir,L);if(J.cache)await C.load();try{let{generateCrosswindCSS:Y}=await import("./chunk-69p440ab.js");await Y('<div class="bg-black"></div>')}catch{}Yq();let kq=$?.routeMiddleware?.dir||"middleware";await jq(process.cwd(),kq);let p=Vq();if(p.length>0)console.log(`Loaded ${p.length} middleware: ${p.join(", ")}`);let bq=$?.routeMiddleware?.global||[];Fq($?.layoutsDir,d(process.cwd()));let i=l(".",{pagesDir:J.pagesDir});console.log(`Found ${i.length} routes`);let g=[];for(let Y of i){let N=await uq(Y);for(let H of N)g.push({route:Y,url:H.url,params:H.params,props:H.props,revalidate:H.revalidate??J.revalidate})}W.totalPages=g.length,console.log(`Generating ${W.totalPages} pages...`);let b=[],s=[];for(let Y=0;Y<g.length;Y+=J.concurrency)s.push(g.slice(Y,Y+J.concurrency));for(let Y of s)await Promise.all(Y.map(async(N)=>{let{route:H,url:V,params:S,props:Sq,revalidate:r}=N;try{await J.hooks.onPageStart?.(V);let R=await Bun.file(H.filePath).text(),M=JJ(R),vq=M?.middleware?Array.isArray(M.middleware)?M.middleware:[M.middleware]:[],t=[...bq,...vq];if(t.length>0){let D=Gq(V,S,M||{}),w=Lq(D,null,void 0,{isServer:!0}),E=await Nq(t,w);if(E.redirect){let U=typeof E.redirect==="string"?E.redirect:E.redirect.path||E.redirect,x=QJ(String(U),V),k=ZJ(V,J);await O.promises.mkdir(j.dirname(k),{recursive:!0}),await Bun.write(k,x),W.successCount++,W.pages.push({route:V,outputPath:k,size:Buffer.byteLength(x),cached:!1}),b.push({loc:V,lastmod:new Date().toISOString()}),console.log(` \u21B3 ${V} \u2192 redirect to ${U}`);return}if(E.abort){let U=typeof E.abort==="string"?E.abort:E.abort?.error?.message||"aborted";console.warn(` \u21B3 ${V} \u2014 middleware aborted: ${U}`);return}}let e=R.match(/definePageMeta\s*\(\s*\{[\s\S]*?validate\s*:\s*((?:\([^)]*\)|[^,}])*(?:\{[\s\S]*?\})?)/m);if(e)try{if(!await Function("route",`
|
|
45
45
|
const validate = ${e[1]};
|
|
46
46
|
return validate(route);
|
|
47
47
|
`)({params:S})){console.warn(`Validation failed for ${V}, skipping...`);return}}catch{}let I=null,qq=!1;if(J.cache){if(I=C.get(V,H.filePath),I)qq=!0,W.cachedCount++}if(!I){let D=await wq(H,S,Sq,J,$);if(I=D.html,J.failOnIncludeError&&D.includeFailures.length>0)throw Error(`${D.includeFailures.length} include(s) failed to resolve, so this page would have shipped with an error banner where the markup should be:
|
|
@@ -719,6 +719,23 @@ export interface StxConfig {
|
|
|
719
719
|
*/
|
|
720
720
|
/** Directory to store cached templates, defaults to `cache` inside `stateDir` */
|
|
721
721
|
cachePath: string;
|
|
722
|
+
/**
|
|
723
|
+
* Bytes the rendered-fragment cache may retain, across all entries.
|
|
724
|
+
*
|
|
725
|
+
* A component declaring `<script server cache>` has its rendered output kept
|
|
726
|
+
* and reused for the same props, which is what makes an unchanged page cheap
|
|
727
|
+
* to re-render (stacksjs/stx#1945). That memory is real, and how much of it
|
|
728
|
+
* is worth spending is a property of the HOST, not of stx: a build box has
|
|
729
|
+
* room a container under an OOM limit does not.
|
|
730
|
+
*
|
|
731
|
+
* Entry count is bounded separately and always; this is the byte ceiling,
|
|
732
|
+
* whichever binds first. Set it to 0 to keep no rendered fragments at all --
|
|
733
|
+
* every render then does the full work, which is the behaviour before the
|
|
734
|
+
* cache existed and the right answer when memory is scarcer than time.
|
|
735
|
+
*
|
|
736
|
+
* @default 33554432 (32MB)
|
|
737
|
+
*/
|
|
738
|
+
componentRenderCacheBytes: number;
|
|
722
739
|
/** Custom directives registered by the user */
|
|
723
740
|
customDirectives?: CustomDirective[];
|
|
724
741
|
/** Middleware for pre/post-processing templates */
|
package/dist/utils.js
CHANGED
|
@@ -32,7 +32,16 @@ export {
|
|
|
32
32
|
extractVariables,
|
|
33
33
|
hasVariables
|
|
34
34
|
} from "./variable-extractor.js";
|
|
35
|
-
const componentsCache = new LRUCache(500), componentResolutionCache = new LRUCache(1000), COMPONENT_RENDER_CACHE_BYTES = 33554432
|
|
35
|
+
const componentsCache = new LRUCache(500), componentResolutionCache = new LRUCache(1000), COMPONENT_RENDER_CACHE_BYTES = 33554432;
|
|
36
|
+
let appliedComponentRenderCacheBytes = COMPONENT_RENDER_CACHE_BYTES;
|
|
37
|
+
function applyComponentRenderCacheBudget(options) {
|
|
38
|
+
const configured = options.componentRenderCacheBytes;
|
|
39
|
+
if (typeof configured !== "number" || configured < 0 || configured === appliedComponentRenderCacheBytes)
|
|
40
|
+
return;
|
|
41
|
+
appliedComponentRenderCacheBytes = configured;
|
|
42
|
+
componentRenderCache.setMaxBytes(configured);
|
|
43
|
+
}
|
|
44
|
+
const componentRenderCache = new LRUCache(2000, {
|
|
36
45
|
maxBytes: COMPONENT_RENDER_CACHE_BYTES,
|
|
37
46
|
sizeOf: (entry) => entry.output.length
|
|
38
47
|
});
|
|
@@ -635,7 +644,8 @@ ${triedPaths.map((p) => ` - ${p}`).join(`
|
|
|
635
644
|
workingContent = templateBlock.content.trim();
|
|
636
645
|
const scriptRegex = /<script\b([^>]*)>([\s\S]*?)<\/script>/gi, scriptMatches = [...componentContent.matchAll(scriptRegex)], clientScripts = [], cacheableServerComponent = scriptMatches.some((match) => /\bserver\b/.test(match[1] || "") && /\bcache\b/.test(match[1] || ""));
|
|
637
646
|
let componentRenderCacheKey = null, dependencyBaseline = null, clientFactoryBaseline = null, uidBaseline = 0, preservedExpressionBaseline = null;
|
|
638
|
-
|
|
647
|
+
applyComponentRenderCacheBudget(options);
|
|
648
|
+
if (cacheableServerComponent && appliedComponentRenderCacheBytes > 0) {
|
|
639
649
|
const serializedInput = serializeComponentRenderInput({
|
|
640
650
|
props,
|
|
641
651
|
slot: slotContent,
|
package/dist/visual-testing.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-z45t29sf.js";import B from"fs";import $ from"path";import k from"crypto";var V=[{name:"mobile",width:375,height:667,isMobile:!0,hasTouch:!0},{name:"tablet",width:768,height:1024,isMobile:!0,hasTouch:!0},{name:"desktop",width:1280,height:800,isMobile:!1,hasTouch:!1},{name:"wide",width:1920,height:1080,isMobile:!1,hasTouch:!1}];function J(N={}){let Y={snapshotDir:N.snapshotDir||"__snapshots__",screenshotDir:N.screenshotDir||"__screenshots__",updateSnapshots:N.updateSnapshots||process.env.UPDATE_SNAPSHOTS==="true",threshold:N.threshold??0.01,viewports:N.viewports||V,generateDiff:N.generateDiff??!0,diffDir:N.diffDir||"__diffs__",compare:N.compare||b,ci:N.ci??process.env.CI==="true",retries:N.retries??(N.ci?3:1)};return{async snapshot(M,X){let q=$.join(Y.snapshotDir,`${X}.html`),G=C(M),Q=K(G);if(await Bun.file(q).exists()){let W=await Bun.file(q).text(),Z=K(C(W));if(Q===Z)return{passed:!0,snapshotPath:q,message:"Snapshot matches"};if(Y.updateSnapshots)return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"Snapshot updated"};let F=$.join(Y.diffDir,`${X}.actual.html`),U=$.join(Y.diffDir,`${X}.diff.html`);return await B.promises.mkdir(Y.diffDir,{recursive:!0}),await Bun.write(F,G),await Bun.write(U,I(W,G)),{passed:!1,snapshotPath:q,actualPath:F,diffPath:U,message:"Snapshot does not match"}}return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"New snapshot created"}},async snapshotJson(M,X){let q=$.join(Y.snapshotDir,`${X}.json`),G=JSON.stringify(M,null,2);if(await Bun.file(q).exists()){let Q=await Bun.file(q).text();if(G===Q)return{passed:!0,snapshotPath:q};if(Y.updateSnapshots)return await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"Snapshot updated"};return{passed:!1,snapshotPath:q,message:`JSON snapshot mismatch:
|
|
3
3
|
${z(Q,G)}`}}return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"New snapshot created"}},matchInlineSnapshot(M,X){let q=C(M);if(X===void 0)return{passed:!0,expected:q};let G=C(X);return{passed:q===G,expected:q}},getConfig(){return Y}}}function D(N={}){let Y=J(N),M=Y.getConfig();return{async compareScreenshots(X,q,G="desktop"){let Q=$.join(M.screenshotDir,G,`${X}.png`),W=$.join(M.diffDir,G,`${X}.actual.png`),Z=$.join(M.diffDir,G,`${X}.diff.png`);if(await Bun.file(Q).exists()){let F=await Bun.file(Q).arrayBuffer(),U=Buffer.from(F),_=await M.compare(q,U);if(_.match||_.diffPercentage<=M.threshold)return{viewport:G,passed:!0,baselinePath:Q};if(M.updateSnapshots)return await B.promises.mkdir($.dirname(Q),{recursive:!0}),await Bun.write(Q,q),{viewport:G,passed:!0,baselinePath:Q};if(await B.promises.mkdir($.dirname(W),{recursive:!0}),await Bun.write(W,q),_.diffImage&&M.generateDiff)await Bun.write(Z,_.diffImage);return{viewport:G,passed:!1,baselinePath:Q,actualPath:W,diffPath:M.generateDiff?Z:void 0,diffPercentage:_.diffPercentage}}return await B.promises.mkdir($.dirname(Q),{recursive:!0}),await Bun.write(Q,q),{viewport:G,passed:!0,baselinePath:Q}},async testViewports(X,q,G=M.viewports){let Q=[];for(let W of G){let Z=null;for(let F=0;F<M.retries;F++)try{let U=await q(W),_=await this.compareScreenshots(X,U,W.name);Q.push(_),Z=null;break}catch(U){if(Z=U,F<M.retries-1)await new Promise((_)=>setTimeout(_,100*(F+1)))}if(Z)Q.push({viewport:W.name,passed:!1,baselinePath:"",diffPercentage:100})}return Q},getSnapshotTester(){return Y}}}function L(N={}){let M=D(N).getSnapshotTester(),X=new Map;return{addStory(q){X.set(`${q.component}/${q.name}`,q)},addStories(q){for(let G of q)this.addStory(G)},getStories(){return Array.from(X.values())},getStoriesForComponent(q){return Array.from(X.values()).filter((G)=>G.component===q)},async testStory(q){let G=X.get(q);if(!G)return{name:q,passed:!1,duration:0,snapshots:[],screenshots:[],errors:[Error(`Story not found: ${q}`)]};let Q=Date.now(),W={name:q,passed:!0,duration:0,snapshots:[],screenshots:[],errors:[]};try{let Z=await G.render(),F=await M.snapshot(Z,q.replace(/\//g,"-"));if(W.snapshots.push(F),!F.passed)W.passed=!1}catch(Z){W.passed=!1,W.errors.push(Z)}return W.duration=Date.now()-Q,W},async testAllStories(){let q=[];for(let G of X.keys()){let Q=await this.testStory(G);q.push(Q)}return q},async generateStoryIndex(){let q={};for(let G of X.values()){if(!q[G.component])q[G.component]=[];q[G.component].push({name:G.name,args:G.args})}return JSON.stringify(q,null,2)}}}async function S(N,Y={}){let M={outputDir:Y.outputDir||"visual-test-report",format:Y.format||"html",title:Y.title||"Visual Test Report",includeScreenshots:Y.includeScreenshots??!0};await B.promises.mkdir(M.outputDir,{recursive:!0});let X=N.length,q=N.filter((F)=>F.passed).length,G=X-q,Q=N.reduce((F,U)=>F+U.duration,0);if(M.format==="json"){let F={title:M.title,summary:{total:X,passed:q,failed:G,duration:Q},results:N,generatedAt:new Date().toISOString()},U=$.join(M.outputDir,"report.json");return await Bun.write(U,JSON.stringify(F,null,2)),U}if(M.format==="markdown"){let F=`# ${M.title}
|
|
4
4
|
|
|
5
5
|
`;F+=`## Summary
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.276",
|
|
5
5
|
"description": "A performant UI Framework. Powered by Bun.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"dependencies": {
|
|
118
118
|
"@cwcss/crosswind": "^0.2.19",
|
|
119
119
|
"@stacksjs/clapp": "^0.2.14",
|
|
120
|
-
"@stacksjs/desktop": "0.2.
|
|
121
|
-
"@stacksjs/sanitizer": "0.2.
|
|
120
|
+
"@stacksjs/desktop": "0.2.276",
|
|
121
|
+
"@stacksjs/sanitizer": "0.2.276",
|
|
122
122
|
"@stacksjs/ts-i18n": "^0.1.11",
|
|
123
|
-
"bun-plugin-stx": "0.2.
|
|
123
|
+
"bun-plugin-stx": "0.2.276",
|
|
124
124
|
"bunfig": "^0.15.17",
|
|
125
|
-
"stx-router": "0.2.
|
|
125
|
+
"stx-router": "0.2.276",
|
|
126
126
|
"ts-broadcasting": "^0.0.9",
|
|
127
127
|
"ts-images": "^0.2.17",
|
|
128
128
|
"ts-syntax-highlighter": "^0.2.1"
|
package/dist/chunk-3zd2f5qr.js
DELETED
package/dist/chunk-4g93sqtn.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ef as a}from"./chunk-94jz7dpg.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as buildApp};
|
package/dist/chunk-4z55rsz6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Oj as a,Pj as b,Qj as c,Rj as d,Sj as e,Tj as f,Uj as g,Vj as h,Wj as i,Xj as j,Yj as k}from"./chunk-vfdabmm2.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as templateCache,b as readFileCached,d as invalidateFileCacheByDir,c as invalidateFileCache,k as hashFilePath,f as getCachedSignalsRuntime,g as getCachedRouterScript,h as clearDevCaches,i as checkCache,j as cacheTemplate,e as __setSignalsGeneratorsForTest};
|
package/dist/chunk-56w05c8k.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{hf as c,if as d,jf as e,kf as f,lf as g,mf as h}from"./chunk-c3s5pez3.js";import{Ug as a,Xg as b}from"./chunk-w6v7pwkn.js";import"./chunk-yce1ntz9.js";import"./chunk-9n0gvfrg.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{d as virtualPathFor,g as typecheckStxFiles,e as sourcePathFor,h as formatTypecheckDiagnostics,f as findRuntimeTypeDeclarations,b as extractTemplateExpressions,a as extractScriptBlocks,c as buildVirtualSource};
|
package/dist/chunk-5arv7j0q.js
DELETED
package/dist/chunk-6nar1v2y.js
DELETED
package/dist/chunk-7hghkqzt.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Tg as a}from"./chunk-vds4gmts.js";import"./chunk-w6v7pwkn.js";import"./chunk-x25ppstj.js";import"./chunk-c98tk6zv.js";import"./chunk-w95sp0k9.js";import"./chunk-58f0mthg.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as buildForProduction};
|
package/dist/chunk-8qvk5sna.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{fs as a,gs as b,hs as c,is as d,js as e,ks as f}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
|
package/dist/chunk-8v09eehd.js
DELETED
package/dist/chunk-aqhnv526.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Fp as a,Gp as b}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{b as processLoops,a as parseLoopBinding};
|
package/dist/chunk-ayfbw3ke.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Xi as a,Yi as b,Zi as c}from"./chunk-yce1ntz9.js";import"./chunk-9n0gvfrg.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as listComposableModules,b as getComposableScript,c as clearComposableCache};
|
package/dist/chunk-cp0dnekw.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Hp as a,Ip as b,Jp as c,Kp as d,Lp as e,Mp as f}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{f as processStackReplacements,e as processStackPushDirectives,d as processIncludes,a as partialsCache,b as onceStore,c as clearOnceStore};
|
package/dist/chunk-cs20nm0r.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{mk as a,nk as b,ok as c,pk as d}from"./chunk-30jz1ens.js";import"./chunk-kw05bztg.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{b as getAvailableTargets,c as getAvailableFormats,d as default,a as buildNative};
|
package/dist/chunk-d8np0m39.js
DELETED
package/dist/chunk-eqnwq9m0.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{dm as a,dp as b,ep as c}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{b as processESImports,c as processComponents,a as freeIdentifiers};
|
package/dist/chunk-f68eb80q.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ap as f,Bp as g,Cp as h,Dp as i,Ep as j,vp as a,wp as b,xp as c,yp as d,zp as e}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{b as stripTypeScript,h as splitDeclaration,c as isModuleResolutionFailure,d as isMissingBindingFailure,f as isCompleteImport,j as hasVariables,e as extractVariables,i as extractScriptFromTemplate,g as convertToCommonJS,a as STX_ENGINE_BINDING_NAMES};
|
package/dist/chunk-g6rfy2b9.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$ as pl,$a as jn,$b as Bo,$c as Bp,$d as Bq,A as $j,Aa as tm,Ab as Vn,Ac as ap,Ad as aq,Ae as gr,B as ak,Ba as um,Bb as Wn,Bc as bp,Bd as bq,Be as hr,C as bk,Ca as Hm,Cb as Xn,Cc as cp,Cd as cq,Ce as ir,D as ck,Da as Im,Db as Yn,Dc as dp,Dd as dq,De as jr,E as Uk,Ea as Jm,Eb as Zn,Ec as ep,Ed as eq,Ee as kr,F as Vk,Fa as Km,Fb as _n,Fc as fp,Fd as fq,Fe as lr,G as Wk,Ga as Lm,Gb as $n,Gc as gp,Gd as gq,Ge as mr,H as Xk,Ha as Mm,Hb as ao,Hc as hp,Hd as hq,He as nr,I as Yk,Ia as Qm,Ib as bo,Ic as ip,Id as iq,Ie as or,J as Zk,Ja as Rm,Jb as co,Jc as jp,Jd as jq,Je as pr,K as _k,Ka as Sm,Kb as eo,Kc as kp,Kd as kq,Ke as qr,L as $k,La as Tm,Lb as fo,Lc as lp,Ld as lq,Le as rr,M as al,Ma as Um,Mb as mo,Mc as mp,Md as mq,Me as sr,N as bl,Na as Vm,Nb as no,Nc as np,Nd as nq,Ne as tr,O as cl,Oa as Wm,Ob as oo,Oc as op,Od as oq,Oe as ur,P as dl,Pa as Xm,Pb as po,Pc as pp,Pd as pq,Pe as vr,Q as el,Qa as Ym,Qb as qo,Qc as qp,Qd as qq,Qe as wr,R as fl,Ra as Zm,Rb as ro,Rc as rp,Rd as rq,Re as xr,S as gl,Sa as _m,Sb as so,Sc as sp,Sd as sq,Se as yr,T as hl,Ta as $m,Tb as to,Tc as tp,Td as tq,Te as zr,U as il,Ua as an,Ub as uo,Uc as up,Ud as uq,Ue as Ar,V as jl,Va as bn,Vb as vo,Vc as vp,Vd as vq,Ve as Br,W as kl,Wa as dn,Wb as wo,Wc as wp,Wd as wq,We as Cr,X as ll,Xa as en,Xb as xo,Xc as xp,Xd as xq,Y as ml,Ya as fn,Yb as yo,Yc as yp,Yd as yq,Z as nl,Za as gn,Zb as zo,Zc as zp,Zd as zq,_ as ol,_a as hn,_b as Ao,_c as Ap,_d as Aq,aa as ql,ab as kn,ac as Co,ad as Cp,ae as Cq,ba as rl,bb as ln,bc as Do,bd as Dp,be as Dq,ca as sl,cb as mn,cc as Eo,cd as Ep,ce as Eq,da as tl,db as nn,dc as Fo,dd as Fp,de as Fq,ea as ul,eb as on,ec as Go,ed as Gp,ee as Gq,fa as vl,fb as pn,fc as Ho,fd as Hp,fe as Hq,ga as wl,gb as qn,gc as Io,gd as Ip,ge as Iq,ha as xl,hb as rn,hc as Jo,hd as Jp,he as Jq,ia as yl,ib as sn,ic as Ko,id as Kp,ie as Kq,ja as zl,jb as tn,jc as Lo,jd as Lp,je as Lq,ka as Al,kb as un,kc as Mo,kd as Mp,ke as Mq,la as Bl,lb as vn,lc as No,ld as Np,le as Nq,ma as Cl,mb as wn,mc as Oo,md as Op,me as Oq,na as Dl,nb as zn,nc as Po,nd as Pp,ne as Vq,o as a,oa as El,ob as An,oc as Qo,od as Qp,oe as Wq,p as Mj,pa as im,pb as Bn,pc as Ro,pd as Rp,pe as Xq,q as Nj,qa as jm,qb as Cn,qc as So,qd as Sp,qe as Yq,r as Oj,ra as km,rb as In,rc as To,rd as Tp,re as Zq,s as Pj,sa as lm,sb as Jn,sc as Uo,sd as Up,se as _q,t as Qj,ta as mm,tb as Kn,tc as Vo,td as Vp,te as $q,u as Rj,ua as nm,ub as Ln,uc as Wo,ud as Wp,ue as ar,v as Sj,va as om,vb as Qn,vc as Xo,vd as Xp,ve as br,w as Tj,wa as pm,wb as Rn,wc as Yo,wd as Yp,we as cr,x as Uj,xa as qm,xb as Sn,xc as Zo,xd as Zp,xe as dr,y as Zj,ya as rm,yb as Tn,yc as _o,yd as _p,ye as er,z as _j,za as sm,zb as Un,zc as $o,zd as $p,ze as fr}from"./chunk-48yhwh4b.js";import{$e as Mk,Xe as Ik,Ye as Jk,Ze as Kk,_e as Lk,af as Nk,bf as Ok,cf as Pk,df as Qk,ef as Rk,ff as Sk,gf as Tk}from"./chunk-s9z3d94k.js";import{hf as go,if as ho,jf as io,kf as jo,lf as ko,mf as lo}from"./chunk-c3s5pez3.js";import{nf as xn,of as yn}from"./chunk-n3ggrhb3.js";import{pf as Dn}from"./chunk-eq8f3dwn.js";import{Af as Fm,Bf as Gm,qf as vm,rf as wm,sf as xm,tf as ym,uf as zm,vf as Am,wf as Bm,xf as Cm,yf as Dm,zf as Em}from"./chunk-vqxmxgaj.js";import{Cf as Gk,Df as Hk}from"./chunk-5n2g2z63.js";import{Ef as hm}from"./chunk-94jz7dpg.js";import{Ff as Nm,Gf as Om,Hf as Pm,If as cn,Jf as En,Kf as Fn,Lf as Gn,Mf as Hn,Nf as Mn,Of as Nn,Pf as On,Qf as Pn}from"./chunk-zzpsgq47.js";import{$f as nk,Rf as dk,Sf as ek,Tf as fk,Uf as gk,Vf as hk,Wf as ik,Xf as jk,Yf as kk,Zf as lk,_f as mk,ag as ok,bg as pk,cg as qk,dg as rk}from"./chunk-nx5qkm8k.js";import{eg as $i,fg as aj,gg as bj,hg as cj,ig as dj,jg as ej,kg as fj,lg as gj,mg as hj,ng as ij,og as jj}from"./chunk-89wwrrpk.js";import{pg as Bj,rg as Cj}from"./chunk-bz820epz.js";import{Ag as vk,Bg as wk,Cg as xk,Dg as yk,Fg as zk,Gg as Ak,Hg as Bk,Ig as Ck,Jg as Dk,Kg as Ek,Ng as Fk,xg as sk,yg as tk,zg as uk}from"./chunk-tvtnf09q.js";import{Og as Yl,Pg as Zl,Qg as _l,Rg as $l,Sg as cm,Tg as gm}from"./chunk-vds4gmts.js";import{Ug as am,Xg as bm}from"./chunk-w6v7pwkn.js";import{dh as Fl,eh as Gl,fh as Hl,gh as Il,hh as Jl,ih as Kl,jh as Ll,kh as Ml,lh as Nl,mh as Ol,nh as Pl,oh as Ql,ph as Rl,qh as Sl,rh as Tl,sh as dm,th as em,uh as fm}from"./chunk-x25ppstj.js";import{vh as lh,wh as mh,xh as nh,yh as oh}from"./chunk-49kk0s96.js";import{Dh as ph}from"./chunk-w3ycm4na.js";import{Eh as wh,Fh as xh,Gh as yh,Hh as zh,Ih as Ah,Jh as Bh}from"./chunk-e88gqmtz.js";import{Kh as Qi,Lh as Ri,Mh as Si,Qh as Ti,Rh as Ui,Sh as Vi}from"./chunk-brahft3h.js";import{$h as Ni,Th as Gi,Uh as Hi,Vh as Ii,Wh as Ji,Xh as Ki,Zh as Li,_h as Mi,ai as Oi,bi as Pi}from"./chunk-74cv4ta1.js";import{ci as wg,di as xg,ei as yg,fi as zg,gi as Ag,hi as Bg}from"./chunk-wcm80anz.js";import{ii as Cg,ji as Dg,ki as Eg,li as Fg,mi as Gg}from"./chunk-y7m2dpd3.js";import{ni as Hg,oi as Ig,pi as Jg,qi as Kg,ri as Lg}from"./chunk-9y0g8kzt.js";import{si as Mg,ti as Ng,ui as Og,vi as Pg,wi as Qg,xi as Rg,yi as Sg}from"./chunk-t6nseeb9.js";import{Ai as Ug,Bi as Vg,Ci as Wg,Di as Xg,Ei as Yg,zi as Tg}from"./chunk-xttsqmkm.js";import{Gi as Zg,Hi as _g,Ii as $g,Ji as ah,Ki as bh,Li as ch,Mi as dh,Ni as eh,Oi as fh,Pi as gh,Qi as hh,Ri as ih,Si as jh,Ti as kh}from"./chunk-54st8g2j.js";import{Vi as qg,Wi as rg}from"./chunk-689wa5cj.js";import{Zi as sg}from"./chunk-yce1ntz9.js";import"./chunk-9n0gvfrg.js";import{bj as tg}from"./chunk-7q9mwh4v.js";import{cj as ug,dj as vg}from"./chunk-refwkt87.js";import{ej as ge,fj as he,gj as ie,hj as je,ij as ke,jj as le,kj as me,lj as ne,mj as oe,nj as pe,oj as qe,pj as re,qj as se,rj as te}from"./chunk-4xcpdp6k.js";import{sj as Ue,tj as Ve}from"./chunk-c98tk6zv.js";import{Aj as Ge,Bj as He,Cj as Ie,Dj as Je,Ej as Ke,Fj as Le,Gj as Me,Hj as Ne,Ij as Oe,Jj as Pe,Kj as Qe,Lj as Re,Mj as Se,Nj as Te}from"./chunk-w95sp0k9.js";import{Oj as We,Pj as Xe,Qj as Ye,Rj as Ze,Sj as _e,Tj as $e,Uj as af,Vj as bf,Wj as cf,Xj as df,Yj as ef}from"./chunk-vfdabmm2.js";import{qk as Pq,rk as Qq,sk as Rq,tk as Sq,uk as Tq,vk as Uq}from"./chunk-kw05bztg.js";import{Ak as Ul,Bk as Vl,Ck as Wl,Dk as Xl,wk as Vj,xk as Wj,yk as Xj,zk as Yj}from"./chunk-vf4tde50.js";import"./chunk-58f0mthg.js";import"./chunk-sfn4z72v.js";import{$l as Xa,$m as Wb,$n as Wc,$o as Ae,$p as Hf,$q as Nh,$r as vj,Al as J,Am as qb,An as vc,Ao as Ld,Aq as gg,Ar as vi,Bl as da,Bm as rb,Bn as wc,Bo as Md,Bp as hf,Bq as hg,Br as wi,Cl as ea,Cm as yb,Cn as xc,Co as Nd,Cq as ig,Cr as xi,Dl as fa,Dm as zb,Dn as yc,Do as Od,Dp as jf,Dq as jg,Dr as yi,El as ga,Em as Ab,En as zc,Eo as Pd,Ep as kf,Eq as kg,Er as zi,Fl as ha,Fm as Bb,Fn as Ac,Fo as Qd,Fp as lf,Fq as lg,Fr as Ai,Gl as ia,Gm as Cb,Gn as Bc,Go as Rd,Gp as mf,Gq as mg,Gr as Bi,Hm as Db,Hn as Cc,Ho as Sd,Hp as nf,Hq as ng,Hr as Ci,Im as Eb,In as Dc,Io as Td,Ip as of,Iq as og,Ir as Di,Jl as za,Jn as Ec,Jo as Ud,Jp as pf,Jq as pg,Jr as Ei,Kl as Aa,Km as Fb,Kn as Fc,Ko as Vd,Kp as qf,Kq as qh,Kr as Fi,Ll as Ba,Lm as Gb,Ln as Gc,Lo as Wd,Lp as rf,Lq as rh,Lr as Wi,Ml as Ca,Mm as Hb,Mn as Hc,Mo as Xd,Mp as sf,Mq as sh,Mr as Xi,Nl as Da,Nm as Ib,Nn as Ic,No as Yd,Np as tf,Nq as th,Nr as Yi,Om as Jb,On as Jc,Oo as Zd,Op as uf,Oq as uh,Or as Zi,Pm as Kb,Pn as Kc,Po as _d,Pp as vf,Pq as vh,Pr as _i,Ql as Ga,Qm as Lb,Qn as Lc,Qo as $d,Qp as wf,Qq as Ch,Qr as kj,Rl as Ha,Rm as Mb,Rn as Mc,Ro as ae,Rp as xf,Rq as Dh,Rr as lj,Sl as Ia,Sm as Nb,Sn as Nc,So as be,Sp as yf,Sq as Eh,Sr as mj,Tl as Pa,Tm as Ob,Tn as Oc,To as ce,Tp as zf,Tq as Fh,Tr as nj,Ul as Qa,Um as Pb,Un as Pc,Uo as de,Up as Af,Uq as Gh,Ur as oj,Vl as Ra,Vm as Qb,Vn as Qc,Vo as ee,Vp as Bf,Vq as Hh,Vr as pj,Wl as Sa,Wm as Rb,Wn as Rc,Wo as fe,Wp as Cf,Wq as Ih,Wr as qj,Xl as Ta,Xm as Sb,Xn as Sc,Xp as Df,Xq as Jh,Xr as rj,Yl as Ua,Ym as Tb,Yn as Tc,Yo as xe,Yp as Ef,Yq as Kh,Yr as sj,Zl as Va,Zm as Ub,Zn as Uc,Zo as ye,Zp as Ff,Zq as Lh,Zr as tj,_l as Wa,_m as Vb,_n as Vc,_o as ze,_p as Gf,_q as Mh,_r as uj,am as Ya,an as Xb,ao as Xc,ap as Be,aq as If,ar as Oh,as as wj,bn as Yb,bo as Yc,bp as Ce,bq as Jf,br as Ph,bs as xj,cn as Zb,co as Zc,cp as De,cq as Kf,cr as Qh,cs as yj,dn as _b,do as _c,dq as Lf,dr as Rh,ds as zj,en as $b,eo as $c,eq as Mf,er as Sh,es as Aj,fm as Za,fn as ac,fo as ad,fp as Ee,fq as Nf,fr as ai,fs as Dj,gm as _a,gn as bc,go as bd,gp as Fe,gq as Of,gr as bi,gs as Ej,hm as $a,hn as cc,ho as cd,hq as Pf,hr as ci,hs as Fj,im as ab,in as dc,io as dd,ip as ff,iq as Qf,ir as di,is as Gj,jl as s,jm as bb,jn as ec,jo as ed,jq as Rf,jr as ei,js as Hj,kl as t,km as cb,kn as fc,ko as fd,kq as Sf,kr as fi,ks as Ij,ll as u,ln as gc,lo as gd,lq as Tf,lr as gi,ls as Jj,ml as v,mn as hc,mo as hd,mq as Uf,mr as hi,ms as Kj,nl as w,nm as db,nn as ic,no as id,nq as Vf,nr as ii,ns as Lj,ol as x,om as eb,on as jc,oo as jd,oq as Wf,or as ji,pl as y,pm as fb,pn as kc,po as Ad,pq as Xf,pr as ki,ql as z,qm as gb,qn as lc,qo as Bd,qq as Yf,qr as li,rl as A,rm as hb,rn as mc,ro as Cd,rq as Zf,rr as mi,sl as B,sm as ib,sn as nc,so as Dd,sq as _f,sr as ni,tl as C,tm as jb,tn as oc,to as Ed,tq as $f,tr as oi,ul as D,um as kb,un as pc,uo as Fd,uq as ag,ur as pi,vl as E,vm as lb,vn as qc,vo as Gd,vq as bg,vr as qi,wl as F,wm as mb,wn as rc,wo as Hd,wq as cg,wr as ri,xl as G,xm as nb,xn as sc,xo as Id,xq as dg,xr as si,yl as H,ym as ob,yn as tc,yo as Jd,yq as eg,yr as ti,zl as I,zm as pb,zn as uc,zo as Kd,zp as gf,zq as fg,zr as ui}from"./chunk-f69mqf03.js";import{As as p,Bs as q,Cs as r,os as d,ps as e,qs as f,rs as g,ss as h,ts as i,us as j,vs as k,ws as l,xs as m,ys as n,zs as o}from"./chunk-1bwwtctk.js";import{Ds as Th,Es as Uh,Fs as Vh,Gs as Wh,Hs as Xh,Is as Yh,Js as Zh,Ks as _h,Ls as $h}from"./chunk-q9zsjgpf.js";import{Ms as b,Ns as c}from"./chunk-a6a9djpq.js";import{Os as Ea,Ps as Fa}from"./chunk-txys90mf.js";import{$s as ub,Ys as sb,Zs as tb,jt as vb,kt as wb,lt as xb}from"./chunk-e6a2gr2w.js";import{mt as Ja,nt as Ka,ot as La,pt as Ma,qt as Na,rt as Oa}from"./chunk-1spzqjve.js";import{st as ue,tt as ve,ut as we}from"./chunk-h45js0cg.js";import{At as pd,Bt as qd,Ct as rd,Dt as sd,Et as td,Ft as ud,Gt as vd,Ht as wd,It as xd,Jt as yd,Kt as zd,vt as kd,wt as ld,xt as md,yt as nd,zt as od}from"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import{$t as wa,Ot as ja,Pt as ka,Qt as la,Rt as ma,St as na,Tt as oa,Ut as pa,Vt as qa,Wt as ra,Xt as sa,Yt as ta,Zt as ua,_t as va,au as xa,bu as ya}from"./chunk-yvpagchj.js";import{Au as U,Bu as V,Cu as W,Du as X,Eu as Y,Fu as Z,Gu as _,Hu as $,Iu as aa,Ju as ba,Lu as ca,fu as K,gu as L,ju as M,ou as N,pu as O,vu as P,wu as Q,xu as R,yu as S,zu as T}from"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{nk as writeNetlifyConfig,em as writeManifest,Sk as writeImageManifest,vo as wrapComponentForHMR,pr as withDefaults,Aj as webComponentDirectiveHandler,kp as watermark,mq as watchViews,al as watchMultiple,bl as watchEffect,$k as watch,Be as warmImagePlaceholders,ol as waitForStore,Zd as waitForLocale,ho as virtualPathFor,nj as videoDirective,uc as validators,tr as validated,Ld as validateValueEnhanced,rh as validateTemplate,pp as validateParams,Md as validateFormEnhanced,bq as validateFile,Hd as validateFields,Gd as validateField,th as validateDirective,ed as validateCspDirectives,Ij as validateConfig,jm as validateComponentScripts,Hm as validateComponentProps,pg as validateClientScript,oh as v,kb as usesSignalsInScript,pa as usesReactiveRuntime,Gh as userComponentFileExists,Wg as useVirtualList,sd as useTitle,nl as useStoreOrThrow,No as useStore,Zj as useStorage,xq as useSlots,$j as useSessionStorage,pd as useSeoMeta,pl as useRouteParams,rl as useRouteParamOrThrow,ql as useRouteParam,sd as usePageTitle,Te as useOptimistic,tl as useMiddlewareValue,sl as useMiddlewareState,_j as useLocalStorage,oo as useLoadingIndicator,nd as useHead,lh as useForm,zq as useAttrs,dq as uploadFiles,cq as uploadFile,kl as updateInstance,Re as untrack,Wh as unregisterDirective,ll as unmountInstance,rb as unescapeHtml,ko as typecheckStxFiles,Fh as transpileTypeScript,cr as translate,w as transitionDirective,Ta as transformAutoImports,Bm as toUsers,Am as toUser,Vo as thumbnail,Wp as thumbHashToRGBA,Xp as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,We as templateCache,Nb as syncRecordedResponse,so as stxClientHelpers,Bf as structuredDataDirective,fr as stripLocalePrefix,Rl as stripDocumentWrapper,Fa as stripCommentsAndLiterals,nn as stringToStream,Uc as strictCspPreset,oe as streamingSuspenseDirective,se as streamToResponse,me as streamTemplateSimple,ge as streamTemplate,Uj as stopHmrServer,xm as stopBroadcasting,Ma as stateDirName,Na as stateDir,Ge as state,jg as startsDocument,Pn as startProductionServer,Dn as startInteractive,wm as startBroadcasting,hr as stampLocaleLayoutGroup,D as staggerDirective,np as srcsetUrls,E as springDirective,Dc as splitByPipe,Nl as spaNavVaryHeaders,io as sourcePathFor,up as smartBatchSign,Ih as slotContentHasExpressions,sp as signUrl,Dh as shouldTranspileTypeScript,Rj as shouldReloadOnChange,xp as shouldRefreshSignature,Sj as shouldIgnoreFile,Og as shouldCacheComponent,Zo as sharpen,wr as shape,La as setStateDir,xl as setRouteParams,yl as setMiddlewareState,Ae as setImagePlaceholder,rq as setGlobalProvide,Rb as setErrorLocale,Uk as setCurrentInstance,bj as setCachedVideoResult,Si as setCachedImageResult,Mi as setCached,zr as serveStxFile,Br as serveMultipleStxFiles,Mj as serveMarkdownFile,Zn as serveFile,Cr as serveApp,Yn as serve,yo as serializeState,cn as serializeSetCookie,$o as sepia,qd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,rj as scopeHTML,qj as scopeCSS,Ef as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,dp as saturation,qp as sanitizeParams,wc as sanitizeFilePath,xc as sanitizeExpression,yc as sanitizeDirectiveParams,vc as sanitizeDirectiveParam,zc as sanitizeComponentProps,pc as safeExecuteAsync,oc as safeExecute,xa as runtimeHandledXAttrsLiteral,uf as runPreProcessingMiddleware,vf as runPostProcessingMiddleware,Gn as runPageAction,Me as runMountCallbacks,ba as runMiddleware,il as runHooks,Xq as runDoctor,Ne as runDestroyCallbacks,Jf as runComposers,ep as rotate,ph as rewriteImagesWithSiblings,Ob as responseBindings,Mh as resolveTemplatePath,c as resolveStxTargets,Ej as resolveStxDirectories,br as resolveI18n,To as resize,Za as resetPlaceholders,md as resetHead,xo as resetHMRHandler,cc as resetErrorConfig,rr as required,bb as replacePlaceholders,kq as renderView,kj as renderVideoComponent,Qa as renderVendorStyleTags,Gq as renderToString,Hq as renderToStream,Iq as renderToDOM,Vp as renderThumbhashToCanvas,Uq as renderTemplateString,Sq as renderTemplate,Tq as renderString,je as renderStreamingPage,yh as renderSlot,Eg as renderSSRSuspense,Fp as renderProtectedVideo,Ep as renderProtectedImg,rp as renderMediaUpload,Rq as renderMarkdownView,Wl as renderLayoutTypes,Wi as renderImgComponent,Ik as renderImageComponent,ud as renderHtmlAttrs,td as renderHead,nq as renderEmail,Kh as renderComponentWithSlot,vd as renderBodyAttrs,Io as render,Wc as relaxedCspPreset,Fd as registerValidationRule,qe as registerStreamingDirectives,Po as registerStoresClient,vl as registerStore,Cf as registerSeoDirectives,V as registerMiddleware,fb as registerFilters,eb as registerFilter,Tb as registerErrorMessages,Kd as registerEnhancedValidationRule,Th as registerDirective,dd as registerCspDirectives,Km as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,Yk as ref,vn as redirect,Jb as recordResponseStatus,Kb as recordResponseHeader,Oa as rebaseOntoStateDir,Lb as readResponseStatus,Mb as readResponseHeaders,Kj as readMarkdownFile,Xe as readFileCached,Zk as reactive,ip as quality,Cp as pruneSignatureCache,Pi as pruneCache,pq as provide,Qq as protectCodeBlocks,qr as prop,Mf as processVueTemplate,Ug as processVirtualListDirectives,Yg as processVirtualGridDirectives,jj as processVideo,Id as processValidateDirective,ee as processTranslateDirective,yg as processTransitionDirectives,Bg as processTransitionAttributes,yd as processTitleDirective,Bb as processTemplateBindings,ug as processTeleportDirectives,Cg as processSuspenseDirectives,xf as processStructuredData,ke as processStreamDirectives,Pb as processStatusDirective,jh as processStaticDirectives,sf as processStackReplacements,rf as processStackPushDirectives,zh as processSlots,Pl as processShell,De as processServerBindings,yf as processSeoDirective,re as processSectionDirectives,Pf as processScopedStyles,zb as processReactiveBindings,Gp as processProtectedMedia,ch as processPartialHydrationDirectives,og as processOnceDirective,tf as processMiddleware,wf as processMetaDirectives,zd as processMetaDirective,Lj as processMarkdownFileDirectives,Rh as processMarkdownDirectives,mf as processLoops,Mg as processKeepAliveDirectives,ng as processJsonDirective,Xg as processInfiniteListDirectives,qf as processIncludes,Yi as processImgComponents,Kk as processImageComponents,xk as processImage,xd as processHeadDirective,Bd as processForms,Dd as processFormInputDirectives,ob as processExpressions,Ca as processEventDirectives,Ed as processErrorDirective,Nf as processDynamicComponents,qh as processDirectives,$h as processDirectiveAttributes,tg as processDeferDirectives,id as processCustomDirectives,ad as processCspDirectives,xr as processComponentProps,Ya as processClientScript,Cd as processBasicFormDirectives,Hg as processAsyncDirectives,jd as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,we as prepareImageDelivery,Vd as preloadTranslationsBackground,Ud as preloadTranslations,no as preloadIslandHandlers,Ce as preloadIconCollection,sm as poolStrings,Cj as pluginManager,ye as placeholdersWarmed,xg as performLeave,wg as performEnter,Oe as pendingLifecycleCounts,Se as peek,nf as partialsCache,lj as parseVideoDirectiveOptions,Ro as parseUrl,Yp as parseThumbhashString,Jc as parseSwitchBlock,wh as parseSlots,xh as parseSlotElement,Oc as parseScriptDeclarations,yj as parseSFCComponent,Hp as parseProtectedArgs,lf as parseLoopBinding,Xi as parseImgComponent,ni as parseImageUrl,Jk as parseImageComponent,En as parseFormBody,Lc as parseExpressionWithFilters,Lm as parseDefaults,sn as parseCookies,Hl as parseContainerSelector,Gc as parseConditionalBlock,Mc as parseArguments,H as parseAnimationShorthand,sr as optional,tm as optimizeTemplate,Pk as optimizeImage,Qk as optimizeDirectory,ur as oneOf,of as onceStore,fl as onUpdated,yb as onUpdate,hl as onUnmounted,Cl as onServer,dl as onMounted,Ke as onMount,ih as onHydrated,vq as onErrorCaptured,Le as onDestroy,Sg as onDeactivated,Bl as onClient,el as onBeforeUpdate,gl as onBeforeUnmount,cl as onBeforeMount,Rg as onActivated,Rp as observeElement,wn as notFound,Uf as normalizeCriticalHeadOrder,uq as nextTick,Om as negotiateEncoding,P as navigateTo,jl as mountInstance,z as motionDirective,Vc as moderateCspPreset,rm as minifyHtml,Af as metaDirective,cg as metaDedupKey,So as mergeParams,eg as mergeHtmlAttrs,od as mergeHeadConfigs,Zc as mergeCspDirectives,tb as mergeCrosswindConfig,M as matchRoute,Sh as markdownDirectiveHandler,Jj as markdownCache,b as looksLikeGlob,er as localizePath,Wd as loadTranslationLazy,ae as loadTranslation,Fj as loadStxConfig,_ as loadMiddlewareFromDirectory,fm as loadManifest,Np as loadElement,ym as loadChannels,lr as lintStxStrict,Pp as lazyLoadAll,Op as lazyLoad,C as keyframeDirective,Eq as jsxs,Fq as jsxDEV,Dq as jsx,un as jsonResponse,pe as islandDirective,$b as isTest,Sl as isSpaNavigation,Ll as isSpaNavRequest,vp as isSignatureValid,Pe as isSignal,vk as isSharpAvailable,fn as isServerEnvironment,zl as isServer,ta as isRuntimeOwnedColonAttr,Zb as isProduction,d as isPresentationalRole,Kp as isNativeLazySupported,Pq as isMarkdownPath,Sd as isLoading,Td as isLoaded,Ch as isJavaScriptScript,Lp as isIntersectionObserverSupported,Dk as isImageFile,wk as isImageBackendAvailable,ce as isICUFormat,hh as isHydrated,Hh as isHydrateTrigger,Hb as isHttpStatus,en as isEdgeEnvironment,mr as isDirectiveKind,_b as isDevelopment,Qe as isDerived,Qj as isCssOnlyChange,Nm as isCompressible,Al as isClient,Jg as isAsyncComponent,Fn as isActionableMethod,ap as invert,Ze as invalidateFileCacheByDir,Ye as invalidateFileCache,nb as interpolateScriptsInTemplate,lb as interpolateScriptExpressions,mb as interpolateScriptAttributes,lc as inlineError,ar as injectThemeBootstrap,zf as injectSeoTags,Zq as injectSeo,ff as injectRouterScript,Pj as injectHotReload,fa as injectHeatmap,_c as injectCspMetaTag,xb as injectCrosswindCSS,lg as injectConfigHeadTags,Tf as injectColorModeBootScript,gg as injectCloakStyle,_f as injectBuildId,Sa as injectBrowserCoreAutoImports,Db as injectAnalytics,qq as inject,ul as initStoreRegistry,qk as initNetlify,po as initLoadingIndicator,Mp as initLazyLoading,Cn as initFile,Up as initBlurUp,_p as initAllBlurUp,_i as imgDirective,Nk as imageDirective,Nn as hydrateTemplateStream,Mn as hydrateTemplate,mo as hydrateIslands,eh as hydrateIsland,On as hydrateFragment,fh as hydrateByStrategy,gh as hydrateAll,Fo as hydrate,Xn as htmlResponse,hg as hoistLeadingHeadTags,Vf as hoistColorModeBootScript,ga as heatmapDirective,Ii as hashString,ef as hashFilePath,Gi as hashFile,Hi as hashBuffer,Lf as hasVueTemplateSyntax,kf as hasVariables,Ko as hasStore,cb as hasPlaceholders,ok as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,kg as hasDocumentShell,uh as hasDirectives,h as hasDOMSupport,Gk as handleImageRequest,wq as handleError,Mq as h,Ck as groupVariantsByFormat,_o as grayscale,Qn as gitHash,lm as getUnusedDirectives,Xd as getTranslationSync,Qd as getTranslationCacheStats,Yd as getTranslationAsync,de as getTranslation,jk as getTotalSize,wp as getTimeUntilExpiry,qg as getStoreScript,Lo as getStoreNames,Jo as getStore,ck as getStorageSize,bk as getStorageKeys,Nh as getSourceLineInfo,Eh as getSharedTranspiler,g as getScreenReaderOnlyStyle,sj as getScopeAttribute,Fe as getRouteParams,Ha as getPublicEnvDefine,Ia as getPublicEnv,sh as getPositionInfo,$a as getPlaceholderRegistry,Fi as getPlaceholderCacheStats,ld as getPageMeta,Qc as getNonce,Ek as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Rd as getLoadingState,_d as getLoadingLocales,xe as getImagePlaceholder,yk as getImageMetadata,ue as getImageDelivery,Eo as getHydrationRuntime,wl as getHydratedStoreState,Tj as getHmrServer,kd as getHead,wo as getHMRHandler,ri as getFormatExtension,Ki as getFileMtime,Bk as getFallbackVariant,Vb as getErrorMessage,Sb as getErrorLocale,bc as getErrorConfig,Yb as getErrorCodeName,Vh as getDirectives,Uh as getDirective,Vk as getCurrentInstance,Yc as getCspPreset,fd as getCspHeaderName,ub as getCrosswindServeAsset,Qh as getComponentCacheStats,aj as getCachedVideoResult,Ap as getCachedSignature,$e as getCachedSignalsRuntime,af as getCachedRouterScript,Di as getCachedPlaceholder,Ri as getCachedImageResult,Li as getCached,Oi as getCacheStats,Yf as getBuildId,vm as getBroadcastServer,qi as getBestVariant,gb as getAllFilters,ei as generateWidthSrcset,Vg as generateVirtualListCSS,fq as generateVideoPreview,Nd as generateValidationScript,gq as generateUploadRuntime,mm as generateTreeShakenBundle,Ag as generateTransitionRuntime,zg as generateTransitionCSS,ej as generateThumbnails,wi as generateThumbhashPlaceholder,Xm as generateTemplatesDocs,Gg as generateSuspenseRuntime,Fg as generateSuspenseCSS,zo as generateStateScript,oi as generateSrcsetData,Vi as generateSrcset,zk as generateSrcSet,fj as generateSpriteSheet,oq as generateSpaShell,pi as generateSourceTags,ki as generateSizesFromBreakpoints,ji as generateSizesAttribute,Ak as generateSizes,Df as generateSitemapIndex,_q as generateSitemap,Jp as generateSimpleMediaPicker,Dp as generateSignatureRuntime,Ve as generateSignalsRuntimeDev,Ue as generateSignalsRuntime,Xa as generateServerDataBridge,pj as generateScopeId,zj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Ff as generateRobotsTxt,$q as generateRobots,Ui as generateResponsiveVariants,vj as generateReactiveWebComponentTS,uj as generateReactiveWebComponent,xj as generateReactiveRuntime,wj as generateReactiveMixin,dj as generatePoster,Ci as generatePlaceholderStyle,Bi as generatePlaceholderCSS,vi as generatePlaceholder,dh as generatePartialHydrationCSS,Pc as generateNonce,kk as generateNetlifyToml,iq as generateMinifiedMediaRuntime,hq as generateMediaRuntime,Ip as generateMediaManagerEmbed,dm as generateManifest,ro as generateLoadingIndicatorHtml,Tp as generateLazyLoadRuntime,Xl as generateLayoutTypes,yi as generateLQIP,Qg as generateKeepAliveRuntime,Pg as generateKeepAliveCSS,kh as generateIslandManifest,eq as generateImagePreview,Rk as generateImageManifest,Do as generateHydrationScript,te as generateHydrationRuntime,Go as generateHydrationCSS,Zg as generateHydrationBootstrap,Oj as generateHotReloadScript,ea as generateHeatmapScript,uo as generateHMRClientScript,gj as generateHLSManifest,Ao as generateEventBindings,ii as generateDprSrcsetWithVariableQuality,hi as generateDprSrcset,ig as generateDocumentShell,an as generateDocs,Ym as generateDirectivesDocs,_h as generateDirectiveRuntime,Gf as generateDefaultRobotsTxt,hj as generateDASHManifest,Tc as generateCspMetaTag,Sc as generateCspHeader,wb as generateCrosswindCSS,Bq as generateCompositionRuntime,Wm as generateComponentsDocs,_g as generateComponentManifest,Um as generateComponentDoc,Ai as generateColorPlaceholder,Sf as generateColorModeBootScript,ml as generateClientRuntime,Ji as generateCacheKey,Va as generateBrowserAutoImportDestructuring,$p as generateBlurUpRuntime,aq as generateBlurUpCSS,Ab as generateBindingsRuntime,fi as generateAutoWidthSrcset,Ua as generateAutoImportDestructuring,Lg as generateAsyncComponentRuntime,Kg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Cb as generateAnalyticsScript,lo as formatTypecheckDiagnostics,fo as formatTypeErrors,zn as formatStxContent,ik as formatSize,O as formatRoutes,An as formatMarkdownContent,Wb as formatLocalizedError,be as formatICU,dc as formatFilePath,kc as formatError,Yq as formatDoctorReport,Zm as formatDocsAsMarkdown,$m as formatDocsAsJson,_m as formatDocsAsHtml,hp as format,qm as foldConstants,gp as flipVertical,fp as flipHorizontal,Yl as fingerprint,jo as findRuntimeTypeDeclarations,Wq as findPantryPackage,Fc as findMatchingEndTag,Bc as findMatchingDelimiter,Ea as findInterpolationEnd,Hc as findIfBlocks,Kc as findExpressions,N as findErrorPage,Ic as findDirectiveBlocks,nm as findDeadCode,nm as findDeadBranches,Il as findContainerRegion,Vm as findComponentFiles,Ar as findCommonDir,hk as filterRequiredFiles,Lh as fileExists,gf as extractVariables,bm as extractTemplateExpressions,le as extractStreamBoundaries,Bo as extractState,Ah as extractSlotContent,jf as extractScriptFromTemplate,am as extractScriptBlocks,ab as extractPlaceholders,Ec as extractParenthesizedExpression,Ib as extractPageResponseStatus,ca as extractLayoutMetadata,zi as extractDominantColor,Nc as extractDirectiveParams,vh as extractDirectiveNames,Tl as extractContainerContent,Sm as extractComponentProps,$g as extractComponentName,Tm as extractComponentDescription,vb as extractClassNames,Wa as extractBridgeData,ah as extractBoundProps,Cc as extractBalancedExpression,Pa as extractAndStripCssImports,tj as extractAndScopeStyles,Ba as extractAndProcessEvents,Xj as externalizeSharedAssets,Yj as externalizeRepeatedAssets,Wj as externalizeHtml,qb as evaluateExpression,pm as evaluateConstant,Qb as evaluateAuthExpression,jb as escapeHtmlValue,ib as escapeHtml,qc as errorRecovery,sc as errorLogger,vg as ensureTeleportTargets,mg as ensureDocumentShell,Jd as enhancedValidationRules,Qm as enableDevTools,om as eliminateDeadCode,Ie as effect,op as dprUrls,bn as docsCommand,Vl as discoverLayoutNames,Sp as disconnectObserver,Rm as disableDevTools,tc as devHelpers,Ol as detectShell,dn as detectRuntime,lk as detectProjectConfig,si as detectFormat,im as detectBuildMode,He as derived,pk as deploy,Hj as defineStxConfig,Oo as defineStore,yq as defineSlots,kr as defineSiteConfig,or as definePropsWithValidation,nr as defineProps,Bj as definePlugin,rd as definePageMeta,R as defineMiddleware,mh as defineForm,tq as defineExpose,sq as defineEmits,Xh as defineDirective,Oq as defineCustomElement,Ln as defineConfig,Yh as defineClientDirective,Ig as defineAsyncComponent,jq as defaultMediaConfig,Tk as defaultImageConfig,Od as defaultI18nConfig,da as defaultHeatmapConfig,Ad as defaultFormClasses,db as defaultFilters,hd as defaultCspConfig,Dj as defaultConfig,yr as default,sb as deepMergeThemes,Of as dedupeScopedStyles,xi as decodeThumbhash,cd as cspNonceDirective,bd as cspDirective,Zp as crossfadeTransition,Uo as crop,Tg as createVirtualList,mj as createVideoDirective,qn as createVercelHandler,bo as createTypeChecker,fe as createTranslateFilter,mn as createTextEncoderStream,Nq as createStxApp,ln as createStreamingResponse,ne as createStreamRenderer,Mo as createStore,U as createStorageManager,S as createServerCookieManager,Xk as createScope,Dg as createSSRSuspense,Ee as createRouter,$ as createRouteLocation,$n as createRoute,Yk as createRef,Zk as createReactive,Aq as createProvideContext,Sn as createProject,Kn as createProductionBuild,_a as createPlaceholder,um as createOptimizedBuild,rn as createNetlifyHandler,dk as createNetlifyClient,aa as createMiddlewareContext,_n as createMiddleware,Qp as createLazyObserver,Ng as createKeepAliveCache,hn as createKVNamespace,bh as createIslandRegistry,Zi as createImgDirective,Ok as createImagePlugin,Hk as createImageHandler,Mk as createImageDirective,ia as createHeatmapAggregator,gk as createFileManifest,gn as createEnvAccessor,nc as createEnhancedError,kn as createEdgeHandler,jn as createEdgeCache,Oh as createDetailedErrorMessage,pn as createDenoHandler,mk as createDefaultNetlifyConfig,gd as createCspHeaders,tn as createCookie,_k as createComputed,Wk as createComponentInstance,on as createCloudflareHandler,T as createClientCookieManager,Zh as createBuiltinDirectives,Nq as createApp,F as createAnimationTimeline,Xo as cover,hf as convertToCommonJS,cp as contrast,Wo as contain,mc as consoleError,ac as configureErrorHandling,Gj as config,_k as computed,Pm as compressResponse,If as composerPattern,Hf as composer,Ql as composeShellWithPage,Jm as componentDirective,Jh as componentClientSignalNames,cm as compileTemplate,a as collectRepeatedFlag,fk as collectDeployFiles,cj as clearVideoCache,Pd as clearTranslationCache,rg as clearStoreCache,ak as clearStorage,Bp as clearSignatureCache,Ei as clearPlaceholderCache,pf as clearOnceStore,Rc as clearNonce,Y as clearMiddleware,ze as clearImagePlaceholders,ve as clearImageDeliveryCatalog,Lk as clearImageCache,Ub as clearErrorMessages,bf as clearDevCaches,hb as clearCustomFilters,Kf as clearComposers,sg as clearComposableCache,Ph as clearComponentCache,Ni as clearCache,qo as cleanupLoadingIndicator,Fl as classifyScript,Gl as classifyAllScripts,co as checkTemplateFile,eo as checkTemplate,cf as checkCache,yp as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Em as channel,yn as captureScreenshots,xn as captureScreenshot,$d as cancelPendingLoads,ek as calculateSha1,gi as calculateOptimalWidths,df as cacheTemplate,oj as buildWebComponents,go as buildVirtualSource,lq as buildViews,Qo as buildUrl,he as buildSuspenseResolveScript,jr as buildStaticSite,la as buildRuntimeGlobalsDestructure,Zl as buildRuntimeAsset,_l as buildRouterAsset,ir as buildLangPickerScript,mi as buildImageUrl,dg as buildHtmlAttrs,gm as buildForProduction,Mm as buildComponentLibrary,zp as buildAuthParams,hm as buildApp,gr as buildAlternateLinks,Jn as build,Cm as broadcastPrivate,Dm as broadcastPresence,zm as broadcast,bp as brightness,Yo as blur,ya as blankInertHtmlRegions,tp as batchSignUrls,Je as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,jp as auto,e as attributeValue,$l as assetTags,za as asInvocableStatement,vr as arrayOf,dr as applyTranslations,Ti as applyTransformations,Bh as applySlots,Im as applyPropDefaults,mp as applyPreset,fg as applyHtmlAttrs,wd as applyHead,pb as applyFilters,Ml as appendVary,Xc as apiCspPreset,y as animationGroupDirective,ij as analyzeVideo,km as analyzeUsage,Dl as analyzeTemplate,El as analyzeProject,km as analyzeDirectiveUsage,Eb as analyticsDirective,Vn as addStore,Un as addPage,$c as addNonceToInlineContent,Wn as addLayout,Tn as addComponent,Hn as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,_e as __setSignalsGeneratorsForTest,Zf as __setBuildIdForTest,$i as VideoProcessorCache,nh as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Ac as Tokenizer,ao as TemplateTypeChecker,Bn as TEMPLATE_PRESETS,jc as StxValidationError,fc as StxSyntaxError,hc as StxSecurityError,gc as StxRuntimeError,ic as StxFileError,ec as StxError,Jq as Show,ie as SUSPENSE_RESOLVER_RUNTIME,ja as STX_RUNTIME_GLOBALS,Ra as STX_AUTO_IMPORTS,Ka as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Jl as SPA_NAV_HEADER,sa as RUNTIME_OWNED_COLON_ATTRS,ua as RUNTIME_HANDLED_X_ATTRS,Fb as RESPONSE_STATUS_KEY,Gb as RESPONSE_HEADERS_KEY,oa as REACTIVE_RUNTIME_GLOBALS,In as ProductionBuild,Lq as Portal,Rn as PROJECT_TEMPLATES,lp as PRESETS,na as NON_CLIENT_PRIMITIVES,Ho as MemorySessionStore,di as MIME_TYPES,ai as MEDIA_DEFAULT_WIDTHS,ci as MEDIA_DEFAULT_FORMATS,Ul as LAYOUT_TYPES_FILE,Qi as ImageProcessorCache,Fk as ImageProcessingError,Co as HydrationRuntime,Nj as HotReloadServer,ha as HeatmapAggregator,bg as HTML_CLASS_MARKER,ag as HTML_ATTRS_MARKER,Cq as Fragment,Kq as For,Kl as FRAGMENT_CACHE_CONTROL,rc as ErrorLogger,Xb as ErrorCodes,Vj as EXTERNALIZED_ASSET_DIR,rk as DeployError,sk as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ja as DEFAULT_STATE_DIR,uk as DEFAULT_QUALITY,ti as DEFAULT_PLACEHOLDER_OPTIONS,tk as DEFAULT_FORMATS,bi as DEFAULT_DPR_VALUES,to as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,li as COMMON_SIZES,Qf as COLOR_MODE_BOOT_MARKER,Rf as COLOR_MODE_BOOT_GLOBAL,$f as CLOAK_STYLE,Gm as BroadcastServer,Fm as Broadcast,Wf as BUILD_ID_META,Xf as BUILD_ID_HEADER,Ga as BROWSER_CORE_IMPORTS,ui as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Vq as $path};
|
package/dist/chunk-h45js0cg.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{createHash as z}from"crypto";import $ from"fs";import K from"path";import{createImageDeliveryCatalog as F}from"ts-images/delivery";var O=new Set([".avif",".jpeg",".jpg",".png",".webp"]),V=[320,640,960,1280,1920],W="/_stx/images",Q=new Map;function X(j){return`/${j.split(K.sep).map(encodeURIComponent).join("/")}`}function Y(j){let q=K.extname(j),G=j.slice(0,-q.length).replace(/[^a-zA-Z0-9_-]+/g,"-").replace(/^-+|-+$/g,""),J=z("sha256").update(j).digest("hex").slice(0,8);return`${G||"image"}-${J}`}async function x(j,q=j){let G=await $.promises.readdir(q,{withFileTypes:!0});G.sort((B,M)=>B.name.localeCompare(M.name));let J=[];for(let B of G){let M=K.join(q,B.name);if(B.isDirectory()){J.push(...await x(j,M));continue}if(!B.isFile()||!O.has(K.extname(B.name).toLowerCase()))continue;J.push({absolutePath:M,relativePath:K.relative(j,M)})}return J}function A(j){if(!j||j.startsWith("data:")||j.startsWith("blob:")||/^https?:\/\//i.test(j)||j.startsWith("//"))return;let q=j.split(/[?#]/,1)[0];if(!q)return;try{return`/${q.replace(/^\/+/,"").split("/").map(decodeURIComponent).map(encodeURIComponent).join("/")}`}catch{return}}function _(j){let q=A(j);return q?Q.get(q):void 0}function Z(){Q=new Map}async function k(j,q){if(!j||!$.existsSync(j))return Z(),{count:0,fingerprint:""};let G=await x(j);if(G.length===0)return Z(),{count:0,fingerprint:""};let J=await F({entries:G.map((B)=>({key:X(B.relativePath),input:B.absolutePath,name:Y(B.relativePath)})),outDir:K.join(q,"_stx","images"),baseUrl:W,widths:V,formats:["avif","webp"],quality:{avif:70,webp:78,jpeg:82,png:100},placeholder:!0,batchConcurrency:4,concurrency:4});return Q=new Map(Object.entries(J.entries)),{count:G.length,fingerprint:J.fingerprint}}
|
|
3
|
-
export{_ as st,Z as tt,k as ut};
|
package/dist/chunk-kpzy8wd7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{pf as a}from"./chunk-eq8f3dwn.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as startInteractive};
|
package/dist/chunk-mtk42c2k.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Vi as a,Wi as b}from"./chunk-689wa5cj.js";import"./chunk-9n0gvfrg.js";import"./chunk-sfn4z72v.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as getStoreScript,b as clearStoreCache};
|
package/dist/chunk-ner93kgx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Eh as a,Fh as b,Gh as c,Hh as d,Ih as e,Jh as f}from"./chunk-e88gqmtz.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
|
package/dist/chunk-nsb6fcde.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Hq as b,Iq as c,Jq as d,Kq as e,ip as a}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{d as validateClientScript,c as processOnceDirective,b as processJsonDirective,e as processDirectives,a as injectRouterScript};
|
package/dist/chunk-r13htfx6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Qf as a}from"./chunk-zzpsgq47.js";import"./chunk-x25ppstj.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{a as startProductionServer};
|
package/dist/chunk-sevgcxxp.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{jp as a,kp as b,lp as c,mp as d,np as e,op as f,pp as g,qp as h,rp as i,sp as j,tp as k,up as l}from"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{l as stripStxRuntimeImports,a as scanScriptTags,k as rewriteStxImportSpecifiers,i as processSignals,g as processScriptSetup,e as preEvalLiteralReactiveIfs,b as parseLoopExpression,c as hasSignalsSyntax,j as findMarkupIndexOutsideScripts,h as extractExports,f as convertSignalLoopsToAttributes,d as convertSignalDirectivesToAttributes};
|
package/dist/chunk-t42rq0p7.js
DELETED
package/dist/chunk-vrx2rq5x.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$k as a,al as b,bl as c,cl as d,dl as e,el as f,fl as g,gl as h,hl as i,il as j}from"./chunk-sfn4z72v.js";import"./chunk-f69mqf03.js";import"./chunk-1bwwtctk.js";import"./chunk-q9zsjgpf.js";import"./chunk-a6a9djpq.js";import"./chunk-txys90mf.js";import"./chunk-e6a2gr2w.js";import"./chunk-1spzqjve.js";import"./chunk-h45js0cg.js";import"./chunk-t7b39wwk.js";import"./chunk-w18t3nmy.js";import"./chunk-yvpagchj.js";import"./chunk-rhbq1var.js";import"./chunk-2c2z8n54.js";import"./chunk-71gwef4q.js";export{b as shouldLogBundlerDiagnostics,f as setBundlerFallbackMode,g as resolveBundlerFallback,c as recordBundleFailure,i as queueClientBundleBuild,h as hasUserImports,d as getBundleFailures,a as clientBundleDependencies,e as clearBundleFailures,j as bundleClientScript};
|
package/dist/chunk-xtw5sm29.js
DELETED