@stacksjs/stx 0.2.281 → 0.2.283

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.
Files changed (190) hide show
  1. package/dist/a11y.d.ts +3 -3
  2. package/dist/a11y.js +40 -0
  3. package/dist/build-externalize.js +3 -3
  4. package/dist/build-views.d.ts +1 -1
  5. package/dist/build-views.js +2 -2
  6. package/dist/builtins/transition-group.d.ts +1 -1
  7. package/dist/{chunk-0ym08enb.js → chunk-0f1kz0x2.js} +1 -1
  8. package/dist/{chunk-shh4jfwc.js → chunk-0fgcnv6y.js} +1 -1
  9. package/dist/chunk-0h7ty10c.js +2 -0
  10. package/dist/{chunk-6vaa771b.js → chunk-1a8e5xpf.js} +1 -1
  11. package/dist/chunk-1rcn9yfj.js +2 -0
  12. package/dist/{chunk-5vday0wx.js → chunk-2g9jwgs7.js} +1 -1
  13. package/dist/chunk-3828z7q8.js +2 -0
  14. package/dist/{chunk-w1asc0zd.js → chunk-39f40yc4.js} +1 -1
  15. package/dist/{chunk-9y5xb0p4.js → chunk-3bv8h4r6.js} +1 -1
  16. package/dist/{chunk-yqkjgz9q.js → chunk-4ds1cmgq.js} +1 -1
  17. package/dist/chunk-50mpsfpx.js +3 -0
  18. package/dist/{chunk-shyqtvbq.js → chunk-52mh63sp.js} +1 -1
  19. package/dist/{chunk-71r0nchv.js → chunk-5aq35j2e.js} +1 -1
  20. package/dist/chunk-5k3qb1am.js +22 -0
  21. package/dist/chunk-5v6atbsr.js +2 -0
  22. package/dist/{chunk-gex3spzq.js → chunk-7etzqabz.js} +1 -1
  23. package/dist/chunk-7n45tcyf.js +2 -0
  24. package/dist/{chunk-y3r71hx6.js → chunk-7p9ns60j.js} +1 -1
  25. package/dist/{chunk-tyr2z96r.js → chunk-7rxtra1g.js} +1 -1
  26. package/dist/chunk-822x6vhb.js +2 -0
  27. package/dist/{chunk-5v2wk7sj.js → chunk-90qr4f9m.js} +1 -1
  28. package/dist/{chunk-0cdkfqw6.js → chunk-9236skjs.js} +2 -2
  29. package/dist/{chunk-gdja5ak8.js → chunk-9x4jejq0.js} +1 -1
  30. package/dist/{chunk-e8jazdsk.js → chunk-9zndrzb3.js} +1 -1
  31. package/dist/{chunk-3kj7kd8g.js → chunk-a2qghr2x.js} +1 -1
  32. package/dist/{chunk-jj6nrqje.js → chunk-a54n1r1q.js} +1 -1
  33. package/dist/{chunk-37dznstc.js → chunk-a63y3aa0.js} +1 -1
  34. package/dist/chunk-a95mf15m.js +2 -0
  35. package/dist/{chunk-9w2e55wt.js → chunk-abydddye.js} +2 -2
  36. package/dist/{chunk-3tr99nn5.js → chunk-areethga.js} +1 -1
  37. package/dist/{chunk-q4desjj6.js → chunk-ayrjwkyw.js} +1 -1
  38. package/dist/chunk-b29wbjs5.js +2 -0
  39. package/dist/chunk-ba6tthsm.js +2 -0
  40. package/dist/{chunk-sfaayvmn.js → chunk-bf8wf3r2.js} +38 -38
  41. package/dist/{chunk-w1zde8wp.js → chunk-bz2gytfs.js} +1 -1
  42. package/dist/{chunk-6gb72zp2.js → chunk-c0an64km.js} +1 -1
  43. package/dist/{chunk-gfhzedsr.js → chunk-c6fw33zh.js} +1 -1
  44. package/dist/chunk-crmgatrx.js +2 -0
  45. package/dist/{chunk-hghg9hcj.js → chunk-cvhyxt55.js} +1 -1
  46. package/dist/{chunk-2fx2xdre.js → chunk-cvnh7dma.js} +1 -1
  47. package/dist/{chunk-dyd3jdrn.js → chunk-d0c3v7ax.js} +1 -1
  48. package/dist/{chunk-5d0jtpqm.js → chunk-e4hhz9j3.js} +1 -1
  49. package/dist/{chunk-x4w3awav.js → chunk-e7jfpyqy.js} +1 -1
  50. package/dist/{chunk-4k0y2fnh.js → chunk-e9nmf863.js} +1 -1
  51. package/dist/chunk-ef5663vk.js +2 -0
  52. package/dist/{chunk-q2twgdxk.js → chunk-f16kkw9v.js} +1 -1
  53. package/dist/{chunk-e5vy94ck.js → chunk-f3hfk78e.js} +1 -1
  54. package/dist/chunk-f80wwn5x.js +2 -0
  55. package/dist/chunk-ffqddern.js +2 -0
  56. package/dist/{chunk-08q58gc0.js → chunk-fjkstnz3.js} +1 -1
  57. package/dist/{chunk-y1637mma.js → chunk-fskfes13.js} +1 -1
  58. package/dist/chunk-fxyrvwqw.js +2 -0
  59. package/dist/{chunk-zkbgy7kj.js → chunk-g3fy0tw8.js} +1 -1
  60. package/dist/{chunk-vc973skb.js → chunk-gjemavhx.js} +56 -56
  61. package/dist/{chunk-cnbqznms.js → chunk-gn9q45yp.js} +2 -2
  62. package/dist/chunk-gp3s8020.js +2 -0
  63. package/dist/chunk-gzxbnyde.js +2 -0
  64. package/dist/chunk-j03bare5.js +2 -0
  65. package/dist/{chunk-azfjfrns.js → chunk-jn6m8zf7.js} +1 -1
  66. package/dist/{chunk-d8j22791.js → chunk-jt4gqtag.js} +1 -1
  67. package/dist/{chunk-z4mrwx1z.js → chunk-k4qx7jbk.js} +1 -1
  68. package/dist/{chunk-4xbakvp1.js → chunk-kdrpx9ft.js} +1 -1
  69. package/dist/{chunk-4963bekg.js → chunk-kzyhvrp8.js} +1 -1
  70. package/dist/{chunk-9p25rqhp.js → chunk-mb518a4n.js} +1 -1
  71. package/dist/{chunk-04k37rg4.js → chunk-mjkfc2v6.js} +1 -1
  72. package/dist/chunk-mrbw9vts.js +2 -0
  73. package/dist/chunk-mx8k7bwh.js +2 -0
  74. package/dist/{chunk-k484xgz0.js → chunk-nvgxjvnb.js} +1 -1
  75. package/dist/{chunk-b1tjzeb0.js → chunk-p396xrew.js} +1 -1
  76. package/dist/{chunk-gjhwmkw8.js → chunk-pbk8jxe2.js} +1 -1
  77. package/dist/{chunk-zbynjn6g.js → chunk-phhzfeh9.js} +1 -1
  78. package/dist/{chunk-40bzrw9q.js → chunk-pmw28376.js} +1 -1
  79. package/dist/chunk-q68xmak4.js +60 -0
  80. package/dist/chunk-qccdz9t1.js +3756 -0
  81. package/dist/{chunk-ha5zt2y3.js → chunk-qd8ggjdx.js} +1 -1
  82. package/dist/chunk-qp97dx7x.js +2 -0
  83. package/dist/chunk-r5fp0bse.js +2 -0
  84. package/dist/{chunk-gdhyfrst.js → chunk-s2284nbk.js} +1 -1
  85. package/dist/chunk-s5ttqj6h.js +2 -0
  86. package/dist/chunk-s5y267vs.js +2 -0
  87. package/dist/{chunk-4z157x30.js → chunk-s67mgegv.js} +1 -1
  88. package/dist/{chunk-e7avk421.js → chunk-sb7k89hq.js} +1 -1
  89. package/dist/{chunk-y91519ss.js → chunk-se360fvh.js} +1 -1
  90. package/dist/{chunk-kr0r8x5w.js → chunk-snknv47x.js} +1 -1
  91. package/dist/{chunk-z45t29sf.js → chunk-sskbegsz.js} +1 -1
  92. package/dist/{chunk-3p2w5dag.js → chunk-sw16pkqg.js} +1 -1
  93. package/dist/{chunk-82kkkpw2.js → chunk-t1k5dpbr.js} +1 -1
  94. package/dist/{chunk-k47az0ta.js → chunk-vbdca0k1.js} +1 -1
  95. package/dist/{chunk-78yh2zqa.js → chunk-vckr41zn.js} +11 -11
  96. package/dist/{chunk-86d1vte8.js → chunk-vhsrgtcg.js} +1 -1
  97. package/dist/chunk-vrvehb01.js +2 -0
  98. package/dist/chunk-w4eykv3z.js +2 -0
  99. package/dist/{chunk-s6759be9.js → chunk-x0zv8dt4.js} +1 -1
  100. package/dist/chunk-x11dh3a3.js +2 -0
  101. package/dist/{chunk-xay59qky.js → chunk-y6kw0wb7.js} +1 -1
  102. package/dist/{chunk-5mkc9fvx.js → chunk-yq1d9hb3.js} +1 -1
  103. package/dist/{chunk-xqwmj65h.js → chunk-ysnk7x79.js} +1 -1
  104. package/dist/chunk-ytgnzeeb.js +2 -0
  105. package/dist/{chunk-1w9s36v0.js → chunk-zfr4d08r.js} +1 -1
  106. package/dist/chunk-zkzmxy32.js +2 -0
  107. package/dist/chunk-zn5jgmqw.js +5 -0
  108. package/dist/cli.js +14 -14
  109. package/dist/color-mode-boot.js +10 -6
  110. package/dist/component-processing.d.ts +40 -2
  111. package/dist/component-processing.js +13 -2
  112. package/dist/component-renderer.js +18 -6
  113. package/dist/craft-entry.js +1 -1
  114. package/dist/craft.js +1 -1
  115. package/dist/database.js +1 -1
  116. package/dist/dev-server/index.d.ts +2 -2
  117. package/dist/dev-server/index.js +1 -1
  118. package/dist/dev-server/serve-app.js +12 -12
  119. package/dist/dev-server/serve-file.js +6 -6
  120. package/dist/dev-server/serve-multi.js +3 -3
  121. package/dist/dev-server/ts-css.d.ts +108 -0
  122. package/dist/dev-server/{crosswind.js → ts-css.js} +86 -88
  123. package/dist/document-shell.d.ts +1 -1
  124. package/dist/expressions.js +4 -4
  125. package/dist/i18n.d.ts +24 -0
  126. package/dist/i18n.js +45 -0
  127. package/dist/index.d.ts +3 -3
  128. package/dist/index.js +2 -2
  129. package/dist/misc-directives.d.ts +0 -11
  130. package/dist/misc-directives.js +6 -4
  131. package/dist/process.js +2 -2
  132. package/dist/production-builder.js +3 -3
  133. package/dist/pwa.js +2 -2
  134. package/dist/render-memo.d.ts +1 -1
  135. package/dist/render.js +2 -2
  136. package/dist/safe-evaluator.d.ts +0 -15
  137. package/dist/safe-evaluator.js +12 -2
  138. package/dist/site-builder/build.d.ts +1 -1
  139. package/dist/site-builder/build.js +2 -2
  140. package/dist/ssg.d.ts +2 -2
  141. package/dist/ssg.js +10 -10
  142. package/dist/story/collect/analyzer.d.ts +1 -1
  143. package/dist/story/index.d.ts +2 -2
  144. package/dist/story/index.js +1 -1
  145. package/dist/story/renderer.d.ts +3 -3
  146. package/dist/story/renderer.js +2 -2
  147. package/dist/story/ts-css.d.ts +29 -0
  148. package/dist/story/{crosswind.js → ts-css.js} +9 -9
  149. package/dist/story/types.d.ts +1 -1
  150. package/dist/theme-tokens.d.ts +1 -1
  151. package/dist/{crosswind-config.d.ts → ts-css-config.d.ts} +5 -5
  152. package/dist/{crosswind-config.js → ts-css-config.js} +1 -1
  153. package/dist/types/config-types.d.ts +3 -3
  154. package/dist/visual-testing.js +1 -1
  155. package/package.json +6 -6
  156. package/dist/chunk-0kexd0d9.js +0 -2
  157. package/dist/chunk-2218hm3h.js +0 -2
  158. package/dist/chunk-3rbdvrp0.js +0 -2
  159. package/dist/chunk-3yg0f94g.js +0 -5
  160. package/dist/chunk-61rfw29f.js +0 -2
  161. package/dist/chunk-99ppngnm.js +0 -2
  162. package/dist/chunk-bavv2k2z.js +0 -2
  163. package/dist/chunk-bkbnxd7s.js +0 -2
  164. package/dist/chunk-edctags2.js +0 -2
  165. package/dist/chunk-exwdzxbq.js +0 -2
  166. package/dist/chunk-gm2wsf2d.js +0 -3
  167. package/dist/chunk-h0t73k2z.js +0 -3801
  168. package/dist/chunk-hcjmvwnt.js +0 -2
  169. package/dist/chunk-hqsadyfr.js +0 -2
  170. package/dist/chunk-hysmnz0q.js +0 -2
  171. package/dist/chunk-jkd1185y.js +0 -2
  172. package/dist/chunk-k7m8p93y.js +0 -2
  173. package/dist/chunk-nmxc5vnq.js +0 -2
  174. package/dist/chunk-pghw8xrx.js +0 -2
  175. package/dist/chunk-pgvskhg2.js +0 -2
  176. package/dist/chunk-qp1shwek.js +0 -2
  177. package/dist/chunk-qrx23zbx.js +0 -2
  178. package/dist/chunk-ragz3hr7.js +0 -2
  179. package/dist/chunk-rvmt27kv.js +0 -2
  180. package/dist/chunk-t7snemp0.js +0 -2
  181. package/dist/chunk-vxskcekj.js +0 -2
  182. package/dist/chunk-wkb78edm.js +0 -2
  183. package/dist/chunk-x8pbbdp1.js +0 -2
  184. package/dist/chunk-xen25bsv.js +0 -2
  185. package/dist/chunk-xpxw2ked.js +0 -15
  186. package/dist/chunk-y8sqjqwg.js +0 -2
  187. package/dist/chunk-ydzmhy4c.js +0 -22
  188. package/dist/chunk-ztzas1ew.js +0 -2
  189. package/dist/dev-server/crosswind.d.ts +0 -132
  190. package/dist/story/crosswind.d.ts +0 -29
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{dm as a,dp as b,ep as c}from"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{b as processESImports,c as processComponents,a as freeIdentifiers};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{mk as a,nk as b,ok as c,pk as d}from"./chunk-4k0y2fnh.js";import"./chunk-0cdkfqw6.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{b as getAvailableTargets,c as getAvailableFormats,d as default,a as buildNative};
@@ -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-yqkjgz9q.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.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};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{ut as a,vt as b,wt as c}from"./chunk-xqwmj65h.js";import"./chunk-z45t29sf.js";export{c as prepareImageDelivery,a as getImageDelivery,b as clearImageDeliveryCatalog};
@@ -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-gm2wsf2d.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Os as a,Ps as b}from"./chunk-82kkkpw2.js";import"./chunk-z45t29sf.js";export{b as resolveStxTargets,a as looksLikeGlob};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Vk as a,Wk as b,Xk as c,Yk as d,Zk as e}from"./chunk-gdhyfrst.js";import"./chunk-z45t29sf.js";export{b as injectPwaTags,e as generateThemeColorMeta,c as generateSwRegistrationScript,a as generatePwaTags,d as generateManifestLink};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Am as n,Bm as o,nm as a,om as b,pm as c,qm as d,rm as e,sm as f,tm as g,um as h,vm as i,wm as j,xm as k,ym as l,zm as m}from"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{h as usesSignalsInScript,o as unescapeHtml,c as registerFilters,b as registerFilter,l as processExpressions,k as interpolateScriptsInTemplate,i as interpolateScriptExpressions,j as interpolateScriptAttributes,d as getAllFilters,n as evaluateExpression,g as escapeHtmlValue,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,m as applyFilters};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{pf as a}from"./chunk-z4mrwx1z.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{a as startInteractive};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Jq as b,Kq as c,Lq as d,Mq as e,ip as a}from"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{d as validateClientScript,c as processOnceDirective,b as processJsonDirective,e as processDirectives,a as injectRouterScript};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Nt as a,Ot as b}from"./chunk-q4desjj6.js";import"./chunk-z45t29sf.js";export{b as warnUnbalancedTags,a as findUnbalancedTags};
@@ -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-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.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};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Dh as a}from"./chunk-w3ycm4na.js";import"./chunk-z45t29sf.js";export{a as rewriteImagesWithSiblings};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Vi as a,Wi as b}from"./chunk-d8j22791.js";import"./chunk-9n0gvfrg.js";import"./chunk-yqkjgz9q.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{a as getStoreScript,b as clearStoreCache};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Cf as a,Df as b}from"./chunk-71r0nchv.js";import"./chunk-e8jazdsk.js";import"./chunk-z45t29sf.js";export{a as handleImageRequest,b as createImageHandler};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{$ as rl,$a as ln,$b as Do,$c as Dp,$d as Dq,A as bk,Aa as vm,Ab as Xn,Ac as cp,Ad as cq,Ae as ir,B as ck,Ba as wm,Bb as Yn,Bc as dp,Bd as dq,Be as jr,C as dk,Ca as Jm,Cb as Zn,Cc as ep,Cd as eq,Ce as kr,D as ek,Da as Km,Db as _n,Dc as fp,Dd as fq,De as lr,E as Wk,Ea as Lm,Eb as $n,Ec as gp,Ed as gq,Ee as mr,F as Xk,Fa as Mm,Fb as ao,Fc as hp,Fd as hq,Fe as nr,G as Yk,Ga as Nm,Gb as bo,Gc as ip,Gd as iq,Ge as or,H as Zk,Ha as Om,Hb as co,Hc as jp,Hd as jq,He as pr,I as _k,Ia as Sm,Ib as eo,Ic as kp,Id as kq,Ie as qr,J as $k,Ja as Tm,Jb as fo,Jc as lp,Jd as lq,Je as rr,K as al,Ka as Um,Kb as go,Kc as mp,Kd as mq,Ke as sr,L as bl,La as Vm,Lb as ho,Lc as np,Ld as nq,Le as tr,M as cl,Ma as Wm,Mb as oo,Mc as op,Md as oq,Me as ur,N as dl,Na as Xm,Nb as po,Nc as pp,Nd as pq,Ne as vr,O as el,Oa as Ym,Ob as qo,Oc as qp,Od as qq,Oe as wr,P as fl,Pa as Zm,Pb as ro,Pc as rp,Pd as rq,Pe as xr,Q as gl,Qa as _m,Qb as so,Qc as sp,Qd as sq,Qe as yr,R as hl,Ra as $m,Rb as to,Rc as tp,Rd as tq,Re as zr,S as il,Sa as an,Sb as uo,Sc as up,Sd as uq,Se as Ar,T as jl,Ta as bn,Tb as vo,Tc as vp,Td as vq,Te as Br,U as kl,Ua as cn,Ub as wo,Uc as wp,Ud as wq,Ue as Cr,V as ll,Va as dn,Vb as xo,Vc as xp,Vd as xq,Ve as Dr,W as ml,Wa as fn,Wb as yo,Wc as yp,Wd as yq,We as Er,X as nl,Xa as gn,Xb as zo,Xc as zp,Xd as zq,Y as ol,Ya as hn,Yb as Ao,Yc as Ap,Yd as Aq,Z as pl,Za as jn,Zb as Bo,Zc as Bp,Zd as Bq,_ as ql,_a as kn,_b as Co,_c as Cp,_d as Cq,aa as sl,ab as mn,ac as Eo,ad as Ep,ae as Eq,ba as tl,bb as nn,bc as Fo,bd as Fp,be as Fq,ca as ul,cb as on,cc as Go,cd as Gp,ce as Gq,da as vl,db as pn,dc as Ho,dd as Hp,de as Hq,ea as wl,eb as qn,ec as Io,ed as Ip,ee as Iq,fa as xl,fb as rn,fc as Jo,fd as Jp,fe as Jq,ga as yl,gb as sn,gc as Ko,gd as Kp,ge as Kq,ha as zl,hb as tn,hc as Lo,hd as Lp,he as Lq,ia as Al,ib as un,ic as Mo,id as Mp,ie as Mq,ja as Bl,jb as vn,jc as No,jd as Np,je as Nq,ka as Cl,kb as wn,kc as Oo,kd as Op,ke as Oq,la as Dl,lb as xn,lc as Po,ld as Pp,le as Pq,ma as El,mb as yn,mc as Qo,md as Qp,me as Qq,na as Fl,nb as Bn,nc as Ro,nd as Rp,ne as Xq,o as a,oa as Gl,ob as Cn,oc as So,od as Sp,oe as Yq,p as Oj,pa as km,pb as Dn,pc as To,pd as Tp,pe as Zq,q as Pj,qa as lm,qb as En,qc as Uo,qd as Up,qe as _q,r as Qj,ra as mm,rb as Kn,rc as Vo,rd as Vp,re as $q,s as Rj,sa as nm,sb as Ln,sc as Wo,sd as Wp,se as ar,t as Sj,ta as om,tb as Mn,tc as Xo,td as Xp,te as br,u as Tj,ua as pm,ub as Nn,uc as Yo,ud as Yp,ue as cr,v as Uj,va as qm,vb as Sn,vc as Zo,vd as Zp,ve as dr,w as Vj,wa as rm,wb as Tn,wc as _o,wd as _p,we as er,x as Wj,xa as sm,xb as Un,xc as $o,xd as $p,xe as fr,y as $j,ya as tm,yb as Vn,yc as ap,yd as aq,ye as gr,z as ak,za as um,zb as Wn,zc as bp,zd as bq,ze as hr}from"./chunk-78yh2zqa.js";import{$e as Ok,Xe as Kk,Ye as Lk,Ze as Mk,_e as Nk,af as Pk,bf as Qk,cf as Rk,df as Sk,ef as Tk,ff as Uk,gf as Vk}from"./chunk-shh4jfwc.js";import{hf as io,if as jo,jf as ko,kf as lo,lf as mo,mf as no}from"./chunk-y91519ss.js";import{nf as zn,of as An}from"./chunk-n3ggrhb3.js";import{pf as Fn}from"./chunk-z4mrwx1z.js";import{Af as Hm,Bf as Im,qf as xm,rf as ym,sf as zm,tf as Am,uf as Bm,vf as Cm,wf as Dm,xf as Em,yf as Fm,zf as Gm}from"./chunk-vqxmxgaj.js";import{Cf as Ik,Df as Jk}from"./chunk-71r0nchv.js";import{Ef as jm}from"./chunk-hghg9hcj.js";import{Ff as Pm,Gf as Qm,Hf as Rm,If as en,Jf as Gn,Kf as Hn,Lf as In,Mf as Jn,Nf as On,Of as Pn,Pf as Qn,Qf as Rn}from"./chunk-gdja5ak8.js";import{$f as pk,Rf as fk,Sf as gk,Tf as hk,Uf as ik,Vf as jk,Wf as kk,Xf as lk,Yf as mk,Zf as nk,_f as ok,ag as qk,bg as rk,cg as sk,dg as tk}from"./chunk-nx5qkm8k.js";import{eg as bj,fg as cj,gg as dj,hg as ej,ig as fj,jg as gj,kg as hj,lg as ij,mg as jj,ng as kj,og as lj}from"./chunk-5d0jtpqm.js";import{pg as Dj,rg as Ej}from"./chunk-bz820epz.js";import{Ag as xk,Bg as yk,Cg as zk,Dg as Ak,Fg as Bk,Gg as Ck,Hg as Dk,Ig as Ek,Jg as Fk,Kg as Gk,Ng as Hk,xg as uk,yg as vk,zg as wk}from"./chunk-e8jazdsk.js";import{Og as _l,Pg as $l,Qg as am,Rg as bm,Sg as em,Tg as im}from"./chunk-cnbqznms.js";import{Ug as cm,Xg as dm}from"./chunk-gex3spzq.js";import{dh as Hl,eh as Il,fh as Jl,gh as Kl,hh as Ll,ih as Ml,jh as Nl,kh as Ol,lh as Pl,mh as Ql,nh as Rl,oh as Sl,ph as Tl,qh as Ul,rh as Vl,sh as fm,th as gm,uh as hm}from"./chunk-40bzrw9q.js";import{vh as nh,wh as oh,xh as ph,yh as qh}from"./chunk-49kk0s96.js";import{Dh as rh}from"./chunk-w3ycm4na.js";import{Eh as yh,Fh as zh,Gh as Ah,Hh as Bh,Ih as Ch,Jh as Dh}from"./chunk-gm2wsf2d.js";import{Kh as Si,Lh as Ti,Mh as Ui,Qh as Vi,Rh as Wi,Sh as Xi}from"./chunk-9p25rqhp.js";import{$h as Pi,Th as Ii,Uh as Ji,Vh as Ki,Wh as Li,Xh as Mi,Zh as Ni,_h as Oi,ai as Qi,bi as Ri}from"./chunk-74cv4ta1.js";import{ci as yg,di as zg,ei as Ag,fi as Bg,gi as Cg,hi as Dg}from"./chunk-wcm80anz.js";import{ii as Eg,ji as Fg,ki as Gg,li as Hg,mi as Ig}from"./chunk-y7m2dpd3.js";import{ni as Jg,oi as Kg,pi as Lg,qi as Mg,ri as Ng}from"./chunk-9y0g8kzt.js";import{si as Og,ti as Pg,ui as Qg,vi as Rg,wi as Sg,xi as Tg,yi as Ug}from"./chunk-t6nseeb9.js";import{Ai as Wg,Bi as Xg,Ci as Yg,Di as Zg,Ei as _g,zi as Vg}from"./chunk-xttsqmkm.js";import{Gi as $g,Hi as ah,Ii as bh,Ji as ch,Ki as dh,Li as eh,Mi as fh,Ni as gh,Oi as hh,Pi as ih,Qi as jh,Ri as kh,Si as lh,Ti as mh}from"./chunk-54st8g2j.js";import{Vi as sg,Wi as tg}from"./chunk-d8j22791.js";import{Zi as ug}from"./chunk-e7avk421.js";import"./chunk-9n0gvfrg.js";import{bj as vg}from"./chunk-7q9mwh4v.js";import{cj as wg,dj as xg}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-q2twgdxk.js";import{sj as Ue,tj as Ve}from"./chunk-zkbgy7kj.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-6vaa771b.js";import{qk as Rq,rk as Sq,sk as Tq,tk as Uq,uk as Vq,vk as Wq}from"./chunk-0cdkfqw6.js";import{Ak as Wl,Bk as Xl,Ck as Yl,Dk as Zl,wk as Xj,xk as Yj,yk as Zj,zk as _j}from"./chunk-3yg0f94g.js";import"./chunk-58f0mthg.js";import"./chunk-yqkjgz9q.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 qg,Kr as Fi,Ll as Ba,Lm as Gb,Ln as Gc,Lo as Wd,Lp as rf,Lq as rg,Lr as Gi,Ml as Ca,Mm as Hb,Mn as Hc,Mo as Xd,Mp as sf,Mq as sh,Mr as Hi,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 wh,Qr as $i,Rl as Ha,Rm as Mb,Rn as Mc,Ro as ae,Rp as xf,Rq as xh,Rr as aj,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 Th,fs as Bj,gm as _a,gn as bc,go as bd,gp as Fe,gq as Of,gr as Uh,gs as Cj,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,os as Mj,pl as y,pm as fb,pn as kc,po as Ad,pq as Xf,pr as ki,ps as Nj,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-h0t73k2z.js";import{As as n,Bs as o,Cs as p,Ds as q,Es as r,qs as d,rs as e,ss as f,ts as g,us as h,vs as i,ws as j,xs as k,ys as l,zs as m}from"./chunk-xpxw2ked.js";import{Fs as Vh,Gs as Wh,Hs as Xh,Is as Yh,Js as Zh,Ks as _h,Ls as $h,Ms as ai,Ns as bi}from"./chunk-6gb72zp2.js";import{Os as b,Ps as c}from"./chunk-82kkkpw2.js";import{Qs as Ea,Rs as Fa}from"./chunk-shyqtvbq.js";import{$s as tb,_s as sb,bt as ub,lt as vb,mt as wb,nt as xb}from"./chunk-ydzmhy4c.js";import{ot as Ja,pt as Ka,qt as La,rt as Ma,st as Na,tt as Oa}from"./chunk-w1asc0zd.js";import{ut as ue,vt as ve,wt as we}from"./chunk-xqwmj65h.js";import{At as nd,Bt as od,Ct as pd,Dt as qd,Et as rd,Ft as sd,Gt as td,Ht as ud,It as vd,Jt as wd,Kt as xd,Lt as yd,Mt as zd,xt as kd,yt as ld,zt as md}from"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import{$t as ua,Qt as ja,Rt as ka,St as la,Tt as ma,Ut as na,Vt as oa,Wt as pa,Xt as qa,Yt as ra,Zt as sa,_t as ta,au as va,bu as wa,cu as xa,du as ya}from"./chunk-gfhzedsr.js";import{Au as S,Bu as T,Cu as U,Du as V,Eu as W,Fu as X,Gu as Y,Hu as Z,Iu as _,Ju as $,Ku as aa,Lu as ba,Nu as ca,hu as K,iu as L,lu as M,qu as N,ru as O,xu as P,yu as Q,zu as R}from"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{pk as writeNetlifyConfig,gm as writeManifest,Uk as writeImageManifest,xo as wrapComponentForHMR,rr as withDefaults,Cj as webComponentDirectiveHandler,mp as watermark,oq as watchViews,cl as watchMultiple,dl as watchEffect,bl as watch,Be as warmImagePlaceholders,ql as waitForStore,Zd as waitForLocale,jo as virtualPathFor,pj as videoDirective,uc as validators,vr as validated,Ld as validateValueEnhanced,th as validateTemplate,rp as validateParams,Md as validateFormEnhanced,dq as validateFile,Hd as validateFields,Gd as validateField,vh as validateDirective,ed as validateCspDirectives,Kj as validateConfig,lm as validateComponentScripts,Jm as validateComponentProps,rg as validateClientScript,qh as v,kb as usesSignalsInScript,pa as usesReactiveRuntime,Ih as userComponentFileExists,Yg as useVirtualList,sd as useTitle,pl as useStoreOrThrow,Po as useStore,$j as useStorage,zq as useSlots,bk as useSessionStorage,pd as useSeoMeta,rl as useRouteParams,tl as useRouteParamOrThrow,sl as useRouteParam,sd as usePageTitle,Te as useOptimistic,vl as useMiddlewareValue,ul as useMiddlewareState,ak as useLocalStorage,qo as useLoadingIndicator,nd as useHead,nh as useForm,Bq as useAttrs,fq as uploadFiles,eq as uploadFile,ml as updateInstance,Re as untrack,Yh as unregisterDirective,nl as unmountInstance,rb as unescapeHtml,mo as typecheckStxFiles,Hh as transpileTypeScript,er as translate,w as transitionDirective,Ta as transformAutoImports,Dm as toUsers,Cm as toUser,Xo as thumbnail,Yp as thumbHashToRGBA,Zp as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,We as templateCache,Nb as syncRecordedResponse,uo as stxClientHelpers,Bf as structuredDataDirective,hr as stripLocalePrefix,Tl as stripDocumentWrapper,Fa as stripCommentsAndLiterals,pn as stringToStream,Uc as strictCspPreset,oe as streamingSuspenseDirective,se as streamToResponse,me as streamTemplateSimple,ge as streamTemplate,Wj as stopHmrServer,zm as stopBroadcasting,Ma as stateDirName,Na as stateDir,Ge as state,lg as startsDocument,Rn as startProductionServer,Fn as startInteractive,ym as startBroadcasting,jr as stampLocaleLayoutGroup,D as staggerDirective,pp as srcsetUrls,E as springDirective,Dc as splitByPipe,Pl as spaNavVaryHeaders,ko as sourcePathFor,wp as smartBatchSign,Kh as slotContentHasExpressions,up as signUrl,Fh as shouldTranspileTypeScript,Tj as shouldReloadOnChange,zp as shouldRefreshSignature,Uj as shouldIgnoreFile,Qg as shouldCacheComponent,$o as sharpen,yr as shape,La as setStateDir,zl as setRouteParams,Al as setMiddlewareState,Ae as setImagePlaceholder,tq as setGlobalProvide,Rb as setErrorLocale,Wk as setCurrentInstance,dj as setCachedVideoResult,Ui as setCachedImageResult,Oi as setCached,Br as serveStxFile,Dr as serveMultipleStxFiles,Oj as serveMarkdownFile,$n as serveFile,Er as serveApp,_n as serve,Ao as serializeState,en as serializeSetCookie,bp as sepia,qd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,tj as scopeHTML,sj as scopeCSS,Ef as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,fp as saturation,sp 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,In as runPageAction,Me as runMountCallbacks,ba as runMiddleware,kl as runHooks,Zq as runDoctor,Ne as runDestroyCallbacks,Jf as runComposers,gp as rotate,rh as rewriteImagesWithSiblings,Ob as responseBindings,Oh as resolveTemplatePath,c as resolveStxTargets,Gj as resolveStxDirectories,dr as resolveI18n,Vo as resize,Za as resetPlaceholders,md as resetHead,zo as resetHMRHandler,cc as resetErrorConfig,tr as required,bb as replacePlaceholders,mq as renderView,mj as renderVideoComponent,Qa as renderVendorStyleTags,Iq as renderToString,Jq as renderToStream,Kq as renderToDOM,Xp as renderThumbhashToCanvas,Wq as renderTemplateString,Uq as renderTemplate,Vq as renderString,je as renderStreamingPage,Ah as renderSlot,Gg as renderSSRSuspense,Hp as renderProtectedVideo,Gp as renderProtectedImg,tp as renderMediaUpload,Tq as renderMarkdownView,Yl as renderLayoutTypes,Yi as renderImgComponent,Kk as renderImageComponent,ud as renderHtmlAttrs,td as renderHead,pq as renderEmail,Mh as renderComponentWithSlot,vd as renderBodyAttrs,Ko as render,Wc as relaxedCspPreset,Fd as registerValidationRule,qe as registerStreamingDirectives,Ro as registerStoresClient,xl as registerStore,Cf as registerSeoDirectives,V as registerMiddleware,fb as registerFilters,eb as registerFilter,Tb as registerErrorMessages,Kd as registerEnhancedValidationRule,Vh as registerDirective,dd as registerCspDirectives,Mm as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,_k as ref,xn as redirect,Jb as recordResponseStatus,Kb as recordResponseHeader,Oa as rebaseOntoStateDir,Lb as readResponseStatus,Mb as readResponseHeaders,Mj as readMarkdownFile,Xe as readFileCached,$k as reactive,kp as quality,Ep as pruneSignatureCache,Ri as pruneCache,rq as provide,Sq as protectCodeBlocks,sr as prop,Mf as processVueTemplate,Wg as processVirtualListDirectives,_g as processVirtualGridDirectives,lj as processVideo,Id as processValidateDirective,ee as processTranslateDirective,Ag as processTransitionDirectives,Dg as processTransitionAttributes,yd as processTitleDirective,Bb as processTemplateBindings,wg as processTeleportDirectives,Eg as processSuspenseDirectives,xf as processStructuredData,ke as processStreamDirectives,Pb as processStatusDirective,lh as processStaticDirectives,sf as processStackReplacements,rf as processStackPushDirectives,Bh as processSlots,Rl as processShell,De as processServerBindings,yf as processSeoDirective,re as processSectionDirectives,Pf as processScopedStyles,zb as processReactiveBindings,Ip as processProtectedMedia,eh as processPartialHydrationDirectives,qg as processOnceDirective,tf as processMiddleware,wf as processMetaDirectives,zd as processMetaDirective,Nj as processMarkdownFileDirectives,Th as processMarkdownDirectives,mf as processLoops,Og as processKeepAliveDirectives,pg as processJsonDirective,Zg as processInfiniteListDirectives,qf as processIncludes,_i as processImgComponents,Mk as processImageComponents,zk as processImage,xd as processHeadDirective,Bd as processForms,Dd as processFormInputDirectives,ob as processExpressions,Ca as processEventDirectives,Ed as processErrorDirective,Nf as processDynamicComponents,sh as processDirectives,bi as processDirectiveAttributes,vg as processDeferDirectives,id as processCustomDirectives,ad as processCspDirectives,zr as processComponentProps,Ya as processClientScript,Cd as processBasicFormDirectives,Jg as processAsyncDirectives,jd as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,we as prepareImageDelivery,Vd as preloadTranslationsBackground,Ud as preloadTranslations,po as preloadIslandHandlers,Ce as preloadIconCollection,um as poolStrings,Ej as pluginManager,ye as placeholdersWarmed,zg as performLeave,yg as performEnter,Oe as pendingLifecycleCounts,Se as peek,nf as partialsCache,nj as parseVideoDirectiveOptions,To as parseUrl,_p as parseThumbhashString,Jc as parseSwitchBlock,yh as parseSlots,zh as parseSlotElement,Oc as parseScriptDeclarations,Aj as parseSFCComponent,Jp as parseProtectedArgs,lf as parseLoopBinding,Zi as parseImgComponent,pi as parseImageUrl,Lk as parseImageComponent,Gn as parseFormBody,Lc as parseExpressionWithFilters,Nm as parseDefaults,un as parseCookies,Jl as parseContainerSelector,Gc as parseConditionalBlock,Mc as parseArguments,H as parseAnimationShorthand,ur as optional,vm as optimizeTemplate,Rk as optimizeImage,Sk as optimizeDirectory,wr as oneOf,of as onceStore,hl as onUpdated,yb as onUpdate,jl as onUnmounted,El as onServer,fl as onMounted,Ke as onMount,kh as onHydrated,xq as onErrorCaptured,Le as onDestroy,Ug as onDeactivated,Dl as onClient,gl as onBeforeUpdate,il as onBeforeUnmount,el as onBeforeMount,Tg as onActivated,Tp as observeElement,yn as notFound,Uf as normalizeCriticalHeadOrder,wq as nextTick,Qm as negotiateEncoding,P as navigateTo,ll as mountInstance,z as motionDirective,Vc as moderateCspPreset,tm as minifyHtml,Af as metaDirective,dg as metaDedupKey,Uo as mergeParams,fg as mergeHtmlAttrs,od as mergeHeadConfigs,Zc as mergeCspDirectives,tb as mergeCrosswindConfig,M as matchRoute,Uh as markdownDirectiveHandler,Lj as markdownCache,b as looksLikeGlob,gr as localizePath,Wd as loadTranslationLazy,ae as loadTranslation,Hj as loadStxConfig,_ as loadMiddlewareFromDirectory,hm as loadManifest,Pp as loadElement,Am as loadChannels,nr as lintStxStrict,Rp as lazyLoadAll,Qp as lazyLoad,C as keyframeDirective,Gq as jsxs,Hq as jsxDEV,Fq as jsx,wn as jsonResponse,pe as islandDirective,$b as isTest,Ul as isSpaNavigation,Nl as isSpaNavRequest,xp as isSignatureValid,Pe as isSignal,xk as isSharpAvailable,hn as isServerEnvironment,Bl as isServer,ta as isRuntimeOwnedColonAttr,Zb as isProduction,d as isPresentationalRole,Mp as isNativeLazySupported,Rq as isMarkdownPath,Sd as isLoading,Td as isLoaded,Eh as isJavaScriptScript,Np as isIntersectionObserverSupported,Fk as isImageFile,yk as isImageBackendAvailable,ce as isICUFormat,jh as isHydrated,Jh as isHydrateTrigger,Hb as isHttpStatus,gn as isEdgeEnvironment,or as isDirectiveKind,_b as isDevelopment,Qe as isDerived,Sj as isCssOnlyChange,Pm as isCompressible,Cl as isClient,Lg as isAsyncComponent,Hn as isActionableMethod,cp as invert,Ze as invalidateFileCacheByDir,Ye as invalidateFileCache,nb as interpolateScriptsInTemplate,lb as interpolateScriptExpressions,mb as interpolateScriptAttributes,lc as inlineError,cr as injectThemeBootstrap,zf as injectSeoTags,$q as injectSeo,ff as injectRouterScript,Rj as injectHotReload,fa as injectHeatmap,_c as injectCspMetaTag,xb as injectCrosswindCSS,ng as injectConfigHeadTags,Tf as injectColorModeBootScript,hg as injectCloakStyle,_f as injectBuildId,Sa as injectBrowserCoreAutoImports,Db as injectAnalytics,sq as inject,wl as initStoreRegistry,sk as initNetlify,ro as initLoadingIndicator,Op as initLazyLoading,En as initFile,Wp as initBlurUp,aq as initAllBlurUp,aj as imgDirective,Pk as imageDirective,Pn as hydrateTemplateStream,On as hydrateTemplate,oo as hydrateIslands,gh as hydrateIsland,Qn as hydrateFragment,hh as hydrateByStrategy,ih as hydrateAll,Ho as hydrate,Zn as htmlResponse,jg as hoistLeadingHeadTags,Vf as hoistColorModeBootScript,ga as heatmapDirective,Ki as hashString,ef as hashFilePath,Ii as hashFile,Ji as hashBuffer,Lf as hasVueTemplateSyntax,kf as hasVariables,Mo as hasStore,cb as hasPlaceholders,qk as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,mg as hasDocumentShell,wh as hasDirectives,h as hasDOMSupport,Ik as handleImageRequest,yq as handleError,Oq as h,Ek as groupVariantsByFormat,ap as grayscale,Sn as gitHash,nm as getUnusedDirectives,Xd as getTranslationSync,Qd as getTranslationCacheStats,Yd as getTranslationAsync,de as getTranslation,lk as getTotalSize,yp as getTimeUntilExpiry,sg as getStoreScript,No as getStoreNames,Lo as getStore,ek as getStorageSize,dk as getStorageKeys,Ph as getSourceLineInfo,Gh as getSharedTranspiler,g as getScreenReaderOnlyStyle,uj as getScopeAttribute,Fe as getRouteParams,Ha as getPublicEnvDefine,Ia as getPublicEnv,uh as getPositionInfo,$a as getPlaceholderRegistry,Hi as getPlaceholderCacheStats,ld as getPageMeta,Qc as getNonce,Gk as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Rd as getLoadingState,_d as getLoadingLocales,xe as getImagePlaceholder,Ak as getImageMetadata,ue as getImageDelivery,Go as getHydrationRuntime,yl as getHydratedStoreState,Vj as getHmrServer,kd as getHead,yo as getHMRHandler,ti as getFormatExtension,Mi as getFileMtime,Dk as getFallbackVariant,Vb as getErrorMessage,Sb as getErrorLocale,bc as getErrorConfig,Yb as getErrorCodeName,Xh as getDirectives,Wh as getDirective,Xk as getCurrentInstance,Yc as getCspPreset,fd as getCspHeaderName,ub as getCrosswindServeAsset,Sh as getComponentCacheStats,cj as getCachedVideoResult,Cp as getCachedSignature,$e as getCachedSignalsRuntime,af as getCachedRouterScript,Fi as getCachedPlaceholder,Ti as getCachedImageResult,Ni as getCached,Qi as getCacheStats,Yf as getBuildId,xm as getBroadcastServer,si as getBestVariant,gb as getAllFilters,gi as generateWidthSrcset,Xg as generateVirtualListCSS,hq as generateVideoPreview,Nd as generateValidationScript,iq as generateUploadRuntime,om as generateTreeShakenBundle,Cg as generateTransitionRuntime,Bg as generateTransitionCSS,gj as generateThumbnails,yi as generateThumbhashPlaceholder,Zm as generateTemplatesDocs,Ig as generateSuspenseRuntime,Hg as generateSuspenseCSS,Bo as generateStateScript,qi as generateSrcsetData,Xi as generateSrcset,Bk as generateSrcSet,hj as generateSpriteSheet,qq as generateSpaShell,ri as generateSourceTags,mi as generateSizesFromBreakpoints,li as generateSizesAttribute,Ck as generateSizes,Df as generateSitemapIndex,ar as generateSitemap,Lp as generateSimpleMediaPicker,Fp as generateSignatureRuntime,Ve as generateSignalsRuntimeDev,Ue as generateSignalsRuntime,Xa as generateServerDataBridge,rj as generateScopeId,Bj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Ff as generateRobotsTxt,br as generateRobots,Wi as generateResponsiveVariants,xj as generateReactiveWebComponentTS,wj as generateReactiveWebComponent,zj as generateReactiveRuntime,yj as generateReactiveMixin,fj as generatePoster,Ei as generatePlaceholderStyle,Di as generatePlaceholderCSS,xi as generatePlaceholder,fh as generatePartialHydrationCSS,Pc as generateNonce,mk as generateNetlifyToml,kq as generateMinifiedMediaRuntime,jq as generateMediaRuntime,Kp as generateMediaManagerEmbed,fm as generateManifest,to as generateLoadingIndicatorHtml,Vp as generateLazyLoadRuntime,Zl as generateLayoutTypes,Ai as generateLQIP,Sg as generateKeepAliveRuntime,Rg as generateKeepAliveCSS,mh as generateIslandManifest,gq as generateImagePreview,Tk as generateImageManifest,Fo as generateHydrationScript,te as generateHydrationRuntime,Io as generateHydrationCSS,$g as generateHydrationBootstrap,Qj as generateHotReloadScript,ea as generateHeatmapScript,wo as generateHMRClientScript,ij as generateHLSManifest,Co as generateEventBindings,ki as generateDprSrcsetWithVariableQuality,ji as generateDprSrcset,kg as generateDocumentShell,cn as generateDocs,_m as generateDirectivesDocs,ai as generateDirectiveRuntime,Gf as generateDefaultRobotsTxt,jj as generateDASHManifest,Tc as generateCspMetaTag,Sc as generateCspHeader,wb as generateCrosswindCSS,Dq as generateCompositionRuntime,Ym as generateComponentsDocs,ah as generateComponentManifest,Wm as generateComponentDoc,Ci as generateColorPlaceholder,Sf as generateColorModeBootScript,ol as generateClientRuntime,Li as generateCacheKey,Va as generateBrowserAutoImportDestructuring,bq as generateBlurUpRuntime,cq as generateBlurUpCSS,Ab as generateBindingsRuntime,hi as generateAutoWidthSrcset,Ua as generateAutoImportDestructuring,Ng as generateAsyncComponentRuntime,Mg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Cb as generateAnalyticsScript,no as formatTypecheckDiagnostics,ho as formatTypeErrors,Bn as formatStxContent,kk as formatSize,O as formatRoutes,Cn as formatMarkdownContent,Wb as formatLocalizedError,be as formatICU,dc as formatFilePath,kc as formatError,_q as formatDoctorReport,$m as formatDocsAsMarkdown,bn as formatDocsAsJson,an as formatDocsAsHtml,jp as format,sm as foldConstants,ip as flipVertical,hp as flipHorizontal,_l as fingerprint,lo as findRuntimeTypeDeclarations,Yq as findPantryPackage,Fc as findMatchingEndTag,Bc as findMatchingDelimiter,Ea as findInterpolationEnd,Hc as findIfBlocks,Kc as findExpressions,N as findErrorPage,Ic as findDirectiveBlocks,pm as findDeadCode,pm as findDeadBranches,Kl as findContainerRegion,Xm as findComponentFiles,Cr as findCommonDir,jk as filterRequiredFiles,Nh as fileExists,gf as extractVariables,dm as extractTemplateExpressions,le as extractStreamBoundaries,Do as extractState,Ch as extractSlotContent,jf as extractScriptFromTemplate,cm as extractScriptBlocks,ab as extractPlaceholders,Ec as extractParenthesizedExpression,Ib as extractPageResponseStatus,ca as extractLayoutMetadata,Bi as extractDominantColor,Nc as extractDirectiveParams,xh as extractDirectiveNames,Vl as extractContainerContent,Um as extractComponentProps,bh as extractComponentName,Vm as extractComponentDescription,vb as extractClassNames,Wa as extractBridgeData,ch as extractBoundProps,Cc as extractBalancedExpression,Pa as extractAndStripCssImports,vj as extractAndScopeStyles,Ba as extractAndProcessEvents,Zj as externalizeSharedAssets,_j as externalizeRepeatedAssets,Yj as externalizeHtml,qb as evaluateExpression,rm as evaluateConstant,Qb as evaluateAuthExpression,jb as escapeHtmlValue,ib as escapeHtml,qc as errorRecovery,sc as errorLogger,xg as ensureTeleportTargets,og as ensureDocumentShell,Jd as enhancedValidationRules,Sm as enableDevTools,qm as eliminateDeadCode,Ie as effect,qp as dprUrls,dn as docsCommand,Xl as discoverLayoutNames,Up as disconnectObserver,Tm as disableDevTools,tc as devHelpers,Ql as detectShell,fn as detectRuntime,nk as detectProjectConfig,ui as detectFormat,km as detectBuildMode,He as derived,rk as deploy,Jj as defineStxConfig,Qo as defineStore,Aq as defineSlots,mr as defineSiteConfig,qr as definePropsWithValidation,pr as defineProps,Dj as definePlugin,rd as definePageMeta,R as defineMiddleware,oh as defineForm,vq as defineExpose,uq as defineEmits,Zh as defineDirective,Qq as defineCustomElement,Nn as defineConfig,_h as defineClientDirective,Kg as defineAsyncComponent,lq as defaultMediaConfig,Vk as defaultImageConfig,Od as defaultI18nConfig,da as defaultHeatmapConfig,Ad as defaultFormClasses,db as defaultFilters,hd as defaultCspConfig,Fj as defaultConfig,Ar as default,sb as deepMergeThemes,Of as dedupeScopedStyles,zi as decodeThumbhash,cd as cspNonceDirective,bd as cspDirective,$p as crossfadeTransition,Wo as crop,Vg as createVirtualList,oj as createVideoDirective,sn as createVercelHandler,eo as createTypeChecker,fe as createTranslateFilter,on as createTextEncoderStream,Pq as createStxApp,nn as createStreamingResponse,ne as createStreamRenderer,Oo as createStore,U as createStorageManager,S as createServerCookieManager,Zk as createScope,Fg as createSSRSuspense,Ee as createRouter,$ as createRouteLocation,bo as createRoute,_k as createRef,$k as createReactive,Cq as createProvideContext,Un as createProject,Mn as createProductionBuild,_a as createPlaceholder,wm as createOptimizedBuild,tn as createNetlifyHandler,fk as createNetlifyClient,aa as createMiddlewareContext,ao as createMiddleware,Sp as createLazyObserver,Pg as createKeepAliveCache,kn as createKVNamespace,dh as createIslandRegistry,$i as createImgDirective,Qk as createImagePlugin,Jk as createImageHandler,Ok as createImageDirective,ia as createHeatmapAggregator,ik as createFileManifest,jn as createEnvAccessor,nc as createEnhancedError,mn as createEdgeHandler,ln as createEdgeCache,Qh as createDetailedErrorMessage,rn as createDenoHandler,ok as createDefaultNetlifyConfig,gd as createCspHeaders,vn as createCookie,al as createComputed,Yk as createComponentInstance,qn as createCloudflareHandler,T as createClientCookieManager,$h as createBuiltinDirectives,Pq as createApp,F as createAnimationTimeline,Zo as cover,hf as convertToCommonJS,ep as contrast,Yo as contain,mc as consoleError,ac as configureErrorHandling,Ij as config,al as computed,Rm as compressResponse,If as composerPattern,Hf as composer,Sl as composeShellWithPage,Lm as componentDirective,Lh as componentClientSignalNames,em as compileTemplate,a as collectRepeatedFlag,hk as collectDeployFiles,ig as cloakStyleFragment,ej as clearVideoCache,Pd as clearTranslationCache,tg as clearStoreCache,ck as clearStorage,Dp as clearSignatureCache,Gi as clearPlaceholderCache,pf as clearOnceStore,Rc as clearNonce,Y as clearMiddleware,ze as clearImagePlaceholders,ve as clearImageDeliveryCatalog,Nk as clearImageCache,Ub as clearErrorMessages,bf as clearDevCaches,hb as clearCustomFilters,Kf as clearComposers,ug as clearComposableCache,Rh as clearComponentCache,Pi as clearCache,so as cleanupLoadingIndicator,Hl as classifyScript,Il as classifyAllScripts,fo as checkTemplateFile,go as checkTemplate,cf as checkCache,Ap as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Gm as channel,An as captureScreenshots,zn as captureScreenshot,$d as cancelPendingLoads,gk as calculateSha1,ii as calculateOptimalWidths,df as cacheTemplate,qj as buildWebComponents,io as buildVirtualSource,nq as buildViews,So as buildUrl,he as buildSuspenseResolveScript,lr as buildStaticSite,la as buildRuntimeGlobalsDestructure,$l as buildRuntimeAsset,am as buildRouterAsset,kr as buildLangPickerScript,oi as buildImageUrl,$f as buildIdFragment,eg as buildHtmlAttrs,im as buildForProduction,Om as buildComponentLibrary,Bp as buildAuthParams,jm as buildApp,ir as buildAlternateLinks,Ln as build,Em as broadcastPrivate,Fm as broadcastPresence,Bm as broadcast,dp as brightness,_o as blur,ya as blankInertHtmlRegions,vp as batchSignUrls,Je as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,lp as auto,e as attributeValue,bm as assetTags,za as asInvocableStatement,xr as arrayOf,fr as applyTranslations,Vi as applyTransformations,Dh as applySlots,Km as applyPropDefaults,op as applyPreset,gg as applyHtmlAttrs,wd as applyHead,pb as applyFilters,Ol as appendVary,Xc as apiCspPreset,y as animationGroupDirective,kj as analyzeVideo,mm as analyzeUsage,Fl as analyzeTemplate,Gl as analyzeProject,mm as analyzeDirectiveUsage,Eb as analyticsDirective,Xn as addStore,Wn as addPage,$c as addNonceToInlineContent,Yn as addLayout,Vn as addComponent,Jn as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,_e as __setSignalsGeneratorsForTest,Zf as __setBuildIdForTest,bj as VideoProcessorCache,ph as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Ac as Tokenizer,co as TemplateTypeChecker,Dn as TEMPLATE_PRESETS,jc as StxValidationError,fc as StxSyntaxError,hc as StxSecurityError,gc as StxRuntimeError,ic as StxFileError,ec as StxError,Lq 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,Ll 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,Kn as ProductionBuild,Nq as Portal,Tn as PROJECT_TEMPLATES,np as PRESETS,na as NON_CLIENT_PRIMITIVES,Jo as MemorySessionStore,fi as MIME_TYPES,ci as MEDIA_DEFAULT_WIDTHS,ei as MEDIA_DEFAULT_FORMATS,Wl as LAYOUT_TYPES_FILE,Si as ImageProcessorCache,Hk as ImageProcessingError,Eo as HydrationRuntime,Pj as HotReloadServer,ha as HeatmapAggregator,cg as HTML_CLASS_MARKER,bg as HTML_ATTRS_MARKER,Eq as Fragment,Mq as For,Ml as FRAGMENT_CACHE_CONTROL,rc as ErrorLogger,Xb as ErrorCodes,Xj as EXTERNALIZED_ASSET_DIR,tk as DeployError,uk as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ja as DEFAULT_STATE_DIR,wk as DEFAULT_QUALITY,vi as DEFAULT_PLACEHOLDER_OPTIONS,vk as DEFAULT_FORMATS,di as DEFAULT_DPR_VALUES,vo as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,ni as COMMON_SIZES,Qf as COLOR_MODE_BOOT_MARKER,Rf as COLOR_MODE_BOOT_GLOBAL,ag as CLOAK_STYLE,Im as BroadcastServer,Hm as Broadcast,Wf as BUILD_ID_META,Xf as BUILD_ID_HEADER,Ga as BROWSER_CORE_IMPORTS,wi as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Xq as $path};
@@ -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-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{f as processStackReplacements,e as processStackPushDirectives,d as processIncludes,a as partialsCache,b as onceStore,c as clearOnceStore};
@@ -1,15 +0,0 @@
1
- // @bun
2
- import{Ps as B}from"./chunk-82kkkpw2.js";import I from"path";function M(z){if(!z)return!1;return z.trim().split(/\s+/)[0]?.toLowerCase()==="presentation"||z.trim().split(/\s+/)[0]?.toLowerCase()==="none"}function L(z,X){let J=new RegExp(`\\b${X}\\s*=\\s*("([^"]*)"|'([^']*)'|([^\\s>]+))`,"i").exec(z);if(!J)return null;return J[2]??J[3]??J[4]??null}function h(z,X,J,K){let j=z;j=j.replace(/@a11y\(\s*['"]([^'"]+)['"]\s*(?:,\s*['"]([^'"]+)['"]\s*)?\)/g,(Q,G,q)=>{let U={"aria-label":"Ensure interactive elements have accessible labels","alt-text":"Provide alternative text for images",focus:"Ensure the element can receive keyboard focus",landmark:"Use appropriate landmark roles","heading-order":"Maintain proper heading hierarchy","color-contrast":"Ensure sufficient color contrast","keyboard-nav":"Make sure element is keyboard navigable","screen-reader":"Optimize for screen reader users"}[G]||"Make this element accessible";return`<!-- a11y-hint: ${q||U} -->`});let _=/@screenReader\(([^@]*)\)@endScreenReader/g;return j=j.replace(_,(Q,G)=>{return`<span class="sr-only">${G.trim()}</span>`}),j=j.replace(/@ariaDescribe\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)/g,(Q,G,q)=>{return`<span id="${`desc-${G}`}" class="sr-only">${q}</span>`}),j}function s(){return`
3
- .sr-only {
4
- position: absolute;
5
- width: 1px;
6
- height: 1px;
7
- padding: 0;
8
- margin: -1px;
9
- overflow: hidden;
10
- clip: rect(0, 0, 0, 0);
11
- white-space: nowrap;
12
- border-width: 0;
13
- }
14
- `.trim()}function k(){return typeof globalThis.document<"u"&&typeof globalThis.document.createElement==="function"}function A(z){let X=new Map,J=z.replace(/<(\/?)([A-Z][\w:.-]*)(?=[\s/>])/g,(j,_,Q)=>{let G=X.get(Q);if(!G)G=`stx-a11y-component-${X.size}`,X.set(Q,G);return`<${_}${G}`}),K=new Map([...X.entries()].map(([j,_])=>[_,j]));return{protectedSource:J,restore:(j)=>j.replace(/<(\/?)(stx-a11y-component-\d+)(?=[\s/>])/g,(_,Q,G)=>{let q=K.get(G);return q?`<${Q}${q}`:_})}}function N(z,X){let J=[],K=/<img\s+([^>]*)>/gi,j;j=K.exec(z);while(j!==null){let Y=j[1];if(!/\balt\s*=/i.test(Y))J.push({type:"missing-alt",element:j[0].substring(0,100),message:"Image missing alt attribute",impact:"serious",help:"Add alt text to images for screen readers",helpUrl:"https://web.dev/learn/accessibility/images/"});j=K.exec(z)}let _=/<button([^>]*)>\s*<\/button>/gi;j=_.exec(z);while(j!==null){let Y=j[1];if(!/\baria-label\s*=/i.test(Y)&&!/\btitle\s*=/i.test(Y))J.push({type:"missing-accessible-name",element:j[0].substring(0,100),message:"Empty button missing accessible name",impact:"critical",help:"Add text content, aria-label, or title",helpUrl:"https://web.dev/learn/accessibility/aria-html/"});j=_.exec(z)}let Q=/<a\s+([^>]*)>\s*<\/a>/gi;j=Q.exec(z);while(j!==null){let Y=j[1];if(!/\baria-label\s*=/i.test(Y)&&!/\btitle\s*=/i.test(Y))J.push({type:"link-missing-text",element:j[0].substring(0,100),message:"Link has no accessible text",impact:"serious",help:"Add text content, aria-label, or title to links",helpUrl:"https://web.dev/learn/accessibility/more-html/#links"});j=Q.exec(z)}let G=/<(input|select|textarea)\s+([^>]*)>/gi;j=G.exec(z);while(j!==null){let Y=j[2];if(/\btype\s*=\s*["']hidden["']/i.test(Y)){j=G.exec(z);continue}let W=/\baria-label\s*=/i.test(Y)||/\baria-labelledby\s*=/i.test(Y),E=Y.match(/\bid\s*=\s*["']([^"']+)["']/i);if(!W){let T=E&&new RegExp(`<label[^>]*\\bfor\\s*=\\s*["']${E[1]}["']`,"i").test(z),w=j.index,F=z.substring(0,w),f=z.substring(w),S=(F.match(/<label\b/gi)||[]).length,C=(F.match(/<\/label>/gi)||[]).length,P=S>C;if(!T&&!P)J.push({type:"input-missing-label",element:j[0].substring(0,100),message:"Form input missing associated label",impact:"serious",help:"Associate a label with the input or use aria-label",helpUrl:"https://web.dev/learn/accessibility/forms/"})}j=G.exec(z)}let q=/<h([1-6])[^>]*>/gi,H=[];j=q.exec(z);while(j!==null)H.push(Number.parseInt(j[1],10)),j=q.exec(z);let U=0;for(let Y of H){if(U>0&&Y>U+1)J.push({type:"heading-skip",element:`<h${Y}>`,message:`Heading level skipped from h${U} to h${Y}`,impact:"moderate",help:"Maintain proper heading hierarchy without skipping levels",helpUrl:"https://web.dev/learn/accessibility/structure/"});U=Y}if(/<html\b/i.test(z)&&!/<html[^>]*\slang\s*=/i.test(z))J.push({type:"missing-lang",element:"<html>",message:"Document language not specified",impact:"serious",help:"Add lang attribute to the html element",helpUrl:"https://web.dev/learn/accessibility/more-html/#language"});let Z=/<table([^>]*)>([\s\S]*?)<\/table>/gi;j=Z.exec(z);while(j!==null){let Y=j[2];if(!M(L(j[1],"role"))&&!/<th\b/i.test(Y))J.push({type:"table-missing-headers",element:"<table>",message:"Table missing header cells (th)",impact:"serious",help:"Use th elements for table headers",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"});j=Z.exec(z)}let O=/<(video|audio)[^>]*\sautoplay\s[^>]*>/gi;j=O.exec(z);while(j!==null){if(!/\bmuted\b/i.test(j[0]))J.push({type:"autoplay-audio",element:`<${j[1]}>`,message:"Auto-playing media may disrupt users",impact:"moderate",help:"Add muted attribute or provide controls to stop playback",helpUrl:"https://web.dev/learn/accessibility/more-html/#multimedia"});j=O.exec(z)}let $=/\btabindex\s*=\s*["']([1-9]\d*)["']/gi;j=$.exec(z);while(j!==null)J.push({type:"positive-tabindex",element:`tabindex="${j[1]}"`,message:"Positive tabindex disrupts natural tab order",impact:"moderate",help:'Use tabindex="0" or "-1" instead of positive values',helpUrl:"https://web.dev/learn/accessibility/focus/#tab-index"}),j=$.exec(z);let V=/<iframe\s+([^>]*)>/gi;j=V.exec(z);while(j!==null){let Y=j[1];if(!/\btitle\s*=/i.test(Y)&&!/\baria-label\s*=/i.test(Y))J.push({type:"iframe-missing-title",element:"<iframe>",message:"Iframe missing title attribute",impact:"serious",help:"Add a title attribute to describe the iframe content",helpUrl:"https://web.dev/learn/accessibility/more-html/#frames"});j=V.exec(z)}let D=/<([a-z]+)\s+([^>]*role\s*=\s*["']button["'][^>]*)>/gi;j=D.exec(z);while(j!==null){let Y=j[1].toLowerCase(),W=j[2];if(Y!=="button"&&!/\btabindex\s*=/i.test(W))J.push({type:"button-not-focusable",element:j[0].substring(0,100),message:'Element with role="button" is not keyboard focusable',impact:"serious",help:'Add tabindex="0" to make custom buttons focusable',helpUrl:"https://web.dev/learn/accessibility/focus/"});j=D.exec(z)}return J}async function y(z,X){let{protectedSource:J}=A(z);if(!k())return N(J,X);let K=[];try{let j=globalThis.document.createElement("div");j.innerHTML=J,j.querySelectorAll("img").forEach((q)=>{if(!q.hasAttribute("alt"))K.push({type:"missing-alt",element:`<${q.outerHTML}>`,message:"Image missing alt attribute",impact:"serious",help:"Add alt text to images for screen readers",helpUrl:"https://web.dev/learn/accessibility/images/"})}),j.querySelectorAll('button, a, [role="button"]').forEach((q)=>{if(!(q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby")||q.textContent&&q.textContent.trim().length>0))K.push({type:"missing-accessible-name",element:`<${q.outerHTML}>`,message:"Interactive element missing accessible name",impact:"critical",help:"Add text content, aria-label, or aria-labelledby",helpUrl:"https://web.dev/learn/accessibility/aria-html/"})}),j.querySelectorAll("input, select, textarea").forEach((q)=>{let H=q.getAttribute("id"),U=H&&j.querySelector(`label[for="${H}"]`),Z=q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby"),O=q.closest("label")!==null;if(!U&&!Z&&!O)K.push({type:"input-missing-label",element:`<${q.outerHTML}>`,message:"Form input missing associated label",impact:"serious",help:"Associate a label with the input or use aria-label",helpUrl:"https://web.dev/learn/accessibility/forms/"})});let _=Array.from(j.querySelectorAll("h1, h2, h3, h4, h5, h6")),Q=0;for(let q of _){let H=Number.parseInt(q.tagName.charAt(1));if(Q>0&&H>Q+1)K.push({type:"heading-skip",element:`<${q.outerHTML}>`,message:`Heading level skipped from h${Q} to h${H}`,impact:"moderate",help:"Maintain proper heading hierarchy without skipping levels",helpUrl:"https://web.dev/learn/accessibility/structure/"});Q=H}let G=j.querySelector("html");if(J.includes("<html")&&G&&!G.hasAttribute("lang"))K.push({type:"missing-lang",element:"<html>",message:"Document language not specified",impact:"serious",help:"Add lang attribute to the html element",helpUrl:"https://web.dev/learn/accessibility/more-html/#language"});if(j.querySelectorAll("a").forEach((q)=>{let H=q.textContent&&q.textContent.trim().length>0,U=q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby"),Z=q.hasAttribute("title"),O=q.querySelector("img[alt]");if(!H&&!U&&!Z&&!O)K.push({type:"link-missing-text",element:`<${q.outerHTML}>`,message:"Link has no accessible text",impact:"serious",help:"Add text content, aria-label, or title to links",helpUrl:"https://web.dev/learn/accessibility/more-html/#links"})}),J.includes("<nav")||J.includes("<header")){if(!j.querySelector('a[href="#main"], a[href="#content"], .skip-link, [class*="skip"]')&&j.querySelectorAll("a").length>5)K.push({type:"missing-skip-link",element:"<nav>",message:"Consider adding a skip navigation link",impact:"minor",help:"Add a skip link to allow keyboard users to bypass navigation",helpUrl:"https://web.dev/learn/accessibility/focus/#skip-links"})}if(j.querySelectorAll("table").forEach((q)=>{if(M(q.getAttribute("role")))return;let H=q.querySelector("caption");if(!q.querySelector("th"))K.push({type:"table-missing-headers",element:"<table>",message:"Table missing header cells (th)",impact:"serious",help:"Use th elements for table headers",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"});if(!H&&!q.hasAttribute("aria-label")&&!q.hasAttribute("aria-labelledby"))K.push({type:"table-missing-caption",element:"<table>",message:"Table missing caption or accessible name",impact:"minor",help:"Add a caption element or aria-label to describe the table",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"})}),j.querySelectorAll('[style*="color"]').forEach((q)=>{let H=q.getAttribute("style")||"";if(H.includes("color:")&&!H.includes("background"))K.push({type:"potential-contrast-issue",element:`<${q.tagName.toLowerCase()}>`,message:"Element has inline color style - verify contrast ratio",impact:"minor",help:"Ensure text has sufficient contrast ratio (4.5:1 for normal text)",helpUrl:"https://web.dev/learn/accessibility/color-contrast/"})}),j.querySelectorAll("video[autoplay], audio[autoplay]").forEach((q)=>{if(!q.hasAttribute("muted"))K.push({type:"autoplay-audio",element:`<${q.tagName.toLowerCase()}>`,message:"Auto-playing media may disrupt users",impact:"moderate",help:"Add muted attribute or provide controls to stop playback",helpUrl:"https://web.dev/learn/accessibility/more-html/#multimedia"})}),j.querySelectorAll("[tabindex]").forEach((q)=>{if(Number.parseInt(q.getAttribute("tabindex")||"0")>0)K.push({type:"positive-tabindex",element:`<${q.tagName.toLowerCase()}>`,message:"Positive tabindex disrupts natural tab order",impact:"moderate",help:'Use tabindex="0" or "-1" instead of positive values',helpUrl:"https://web.dev/learn/accessibility/focus/#tab-index"})}),j.querySelectorAll('[role="button"]').forEach((q)=>{if(!q.hasAttribute("tabindex"))K.push({type:"button-not-focusable",element:`<${q.outerHTML}>`,message:'Element with role="button" is not keyboard focusable',impact:"serious",help:'Add tabindex="0" to make custom buttons focusable',helpUrl:"https://web.dev/learn/accessibility/focus/"})}),J.includes("<body")&&!j.querySelector('main, [role="main"]'))K.push({type:"missing-main-landmark",element:"<body>",message:"Document missing main landmark region",impact:"moderate",help:"Add a main element to identify the primary content",helpUrl:"https://web.dev/learn/accessibility/structure/#landmarks"});j.querySelectorAll("iframe").forEach((q)=>{if(!q.hasAttribute("title")&&!q.hasAttribute("aria-label"))K.push({type:"iframe-missing-title",element:"<iframe>",message:"Iframe missing title attribute",impact:"serious",help:"Add a title attribute to describe the iframe content",helpUrl:"https://web.dev/learn/accessibility/more-html/#frames"})})}catch(j){console.error(`Error checking accessibility in ${X}:`,j)}return K}async function R(z,X={}){let J={},{recursive:K=!0,ignorePaths:j=[]}=X,_=Array.isArray(z)?z:[z],Q=await B(_,{recursive:K,ignorePaths:j}),G=[];for(let q of Q)try{let H=await Bun.file(q).text();if(q.endsWith("good-a11y.stx"))continue;let U=await y(H,q);if(G.push(q),U.length>0)J[q]=U}catch(H){console.error(`Error scanning ${q}:`,H)}return{results:J,scannedFiles:G}}async function c(z,X={}){return(await R(z,X)).results}var b={fixMissingAlt:!0,fixMissingLabels:!0,fixMissingFormLabels:!0,fixTableHeaders:!0,fixMissingLang:!0,fixPositiveTabindex:!0,fixButtonFocusable:!0,defaultLang:"en"};function v(z,X={}){let J={...b,...X},K=[],{protectedSource:j,restore:_}=A(z),Q=j;if(J.fixMissingAlt)Q=Q.replace(/<img([^>]*?)(?<!\balt\s*=\s*["'][^"']*["'])(\s*\/?>)/gi,(G,q,H)=>{if(/\balt\s*=/i.test(q))return G;let U=G,Z=`<img${q} alt=""${H}`;return K.push({type:"missing-alt",description:"Added empty alt attribute to image",before:U,after:Z}),Z});if(J.fixMissingLabels)Q=Q.replace(/<button([^>]*)>\s*<\/button>/gi,(G,q)=>{if(/\baria-label\s*=/i.test(q)||/\btitle\s*=/i.test(q))return G;let H=G,U=`<button${q} aria-label="Button"></button>`;return K.push({type:"missing-accessible-name",description:"Added aria-label to empty button",before:H,after:U}),U}),Q=Q.replace(/<a([^>]*)>\s*(<(?:i|span|svg)[^>]*(?:class="[^"]*icon[^"]*")?[^>]*>.*?<\/(?:i|span|svg)>)?\s*<\/a>/gi,(G,q,H)=>{if(/\baria-label\s*=/i.test(q)||/\btitle\s*=/i.test(q))return G;if(!H&&G.replace(/<a[^>]*>|<\/a>/gi,"").trim())return G;let U=G,Z=`<a${q} aria-label="Link">${H||""}</a>`;return K.push({type:"missing-accessible-name",description:"Added aria-label to link without text",before:U,after:Z}),Z});if(J.fixMissingFormLabels)Q=Q.replace(/<(input|select|textarea)([^>]*)>/gi,(G,q,H)=>{if(/\baria-label\s*=/i.test(H)||/\baria-labelledby\s*=/i.test(H))return G;if(/\btype\s*=\s*["']hidden["']/i.test(H))return G;let U=H.match(/\bname\s*=\s*["']([^"']+)["']/i),Z=H.match(/\bid\s*=\s*["']([^"']+)["']/i),O=U?.[1]||Z?.[1]||q,$=G,V=`<${q}${H} aria-label="${O}">`;return K.push({type:"input-missing-label",description:`Added aria-label to ${q} element`,before:$,after:V}),V});if(J.fixMissingLang)Q=Q.replace(/<html([^>]*)>/gi,(G,q)=>{if(/\blang\s*=/i.test(q))return G;let H=G,U=`<html${q} lang="${J.defaultLang}">`;return K.push({type:"missing-lang",description:`Added lang="${J.defaultLang}" to html element`,before:H,after:U}),U});if(J.fixPositiveTabindex)Q=Q.replace(/\btabindex\s*=\s*["']([1-9]\d*)["']/gi,(G,q)=>{let H=G,U='tabindex="0"';return K.push({type:"positive-tabindex",description:`Changed tabindex="${q}" to tabindex="0"`,before:H,after:'tabindex="0"'}),'tabindex="0"'});if(J.fixButtonFocusable)Q=Q.replace(/<([a-z]+)(\s[^>]*role\s*=\s*["']button["'][^>]*)>/gi,(G,q,H)=>{if(/\btabindex\s*=/i.test(H))return G;if(q.toLowerCase()==="button")return G;let U=G,Z=`<${q}${H} tabindex="0">`;return K.push({type:"button-not-focusable",description:'Added tabindex="0" to element with role="button"',before:U,after:Z}),Z});if(J.fixTableHeaders)Q=Q.replace(/<th([^>]*)>/gi,(G,q)=>{if(/\bscope\s*=/i.test(q))return G;let H=G,U=`<th${q} scope="col">`;return K.push({type:"table-missing-scope",description:'Added scope="col" to table header',before:H,after:U}),U});return{original:z,fixed:_(Q),fixCount:K.length,fixes:K}}async function x(z,X={},J=!1){let K=await Bun.file(z).text(),j=v(K,X);if(J&&j.fixCount>0)await Bun.write(z,j.fixed);return j}async function m(z,X={},J={}){let K={},{recursive:j=!0,ignorePaths:_=[],writeBack:Q=!1,extensions:G=[".stx",".html",".htm"]}=J,q=G.length===1?`*${G[0]}`:`*{${G.join(",")}}`,H=I.join(z,j?`**/${q}`:q),U=new Bun.Glob(H);for await(let Z of U.scan()){if(_.some(($)=>Z.includes(I.normalize($))))continue;try{let $=await x(Z,X,Q);if($.fixCount>0)K[Z]=$}catch($){console.error(`Error fixing ${Z}:`,$)}}return K}var u={name:"a11y",handler:(z,X,J,K)=>{if(!X.length)return z;let j=X[0].replace(/['"]/g,""),_=X.length>1?X[1].replace(/['"]/g,""):"",G={"aria-label":"Ensure interactive elements have accessible labels","alt-text":"Provide alternative text for images",focus:"Ensure the element can receive keyboard focus",landmark:"Use appropriate landmark roles","heading-order":"Maintain proper heading hierarchy","color-contrast":"Ensure sufficient color contrast","keyboard-nav":"Make sure element is keyboard navigable","screen-reader":"Optimize for screen reader users"}[j]||"Make this element accessible";return`<!-- a11y-hint: ${_||G} -->${z}`},hasEndTag:!1},d={name:"screenReader",handler:(z)=>{return`<span class="sr-only">${z}</span>`},hasEndTag:!0};function r(){return[u,d]}
15
- export{M as qs,L as rs,h as ss,s as ts,k as us,N as vs,y as ws,R as xs,c as ys,v as zs,x as As,m as Bs,u as Cs,d as Ds,r as Es};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Tg as a}from"./chunk-cnbqznms.js";import"./chunk-gex3spzq.js";import"./chunk-40bzrw9q.js";import"./chunk-zkbgy7kj.js";import"./chunk-w95sp0k9.js";import"./chunk-58f0mthg.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{a as buildForProduction};
@@ -1,22 +0,0 @@
1
- // @bun
2
- import{st as jJ}from"./chunk-w1asc0zd.js";import{$u as NJ}from"./chunk-z45t29sf.js";import O from"path";import{hasLocalConfig as AJ}from"bunfig";var JJ={fg:{light:"gray-900",dark:"gray-100",description:"Primary text"},"fg-strong":{light:"gray-700",dark:"gray-300",description:"Labels, secondary headings"},"fg-muted":{light:"gray-600",dark:"gray-400",description:"Supporting text"},"fg-soft":{light:"gray-500",dark:"gray-400",description:"De-emphasised text"},"fg-subtle":{light:"gray-400",dark:"gray-500",description:"Placeholders, disabled text"},surface:{light:"gray-50",dark:"gray-800",description:"Page and panel background"},"surface-raised":{light:"gray-100",dark:"gray-700",description:"Cards, popovers"},"surface-sunken":{light:"gray-200",dark:"gray-700",description:"Wells, track backgrounds"},line:{light:"gray-200",dark:"gray-700",description:"Default border, divider"},"line-strong":{light:"gray-300",dark:"gray-600",description:"Input border, focus ring track"},accent:{light:"indigo-600",dark:"indigo-400",description:"Primary action, selected state"},info:{light:"blue-600",dark:"blue-400",description:"Informational emphasis, links"},danger:{light:"red-600",dark:"red-400",description:"Errors, destructive actions"},success:{light:"green-600",dark:"green-400",description:"Confirmation"},warning:{light:"yellow-500",dark:"yellow-400",description:"Caution"},"accent-solid":{light:"indigo-600",dark:"indigo-500",description:"Primary button fill"},"info-solid":{light:"blue-600",dark:"blue-500",description:"Informational fill"},"danger-solid":{light:"red-600",dark:"red-500",description:"Destructive button fill"},"success-solid":{light:"green-600",dark:"green-500",description:"Confirmation fill"}};function m(Q){return`--stx-${Q}`}function u(Q,J){let Y=J.lastIndexOf("-");if(Y===-1)return typeof Q[J]==="string"?Q[J]:void 0;let $=Q[J.slice(0,Y)];if(!$||typeof $!=="object")return;let Z=$[J.slice(Y+1)];return typeof Z==="string"?Z:void 0}function QJ(Q){let J={};for(let[Y,$]of Object.entries(JJ)){let Z=u(Q,$.light);if(Z===void 0)continue;J[Y]=`var(${m(Y)}, ${Z})`}return J}function YJ(Q){let J=[],Y=[];for(let[$,Z]of Object.entries(JJ)){let q=u(Q,Z.light),U=u(Q,Z.dark);if(q===void 0)continue;if(J.push(` ${m($)}: ${q};`),U!==void 0)Y.push(` ${m($)}: ${U};`)}if(J.length===0)return"";return["/* stx role tokens \u2014 override any of these to re-theme by meaning. */",":root {",...J,"}",".dark {",...Y,"}",""].join(`
3
- `)}function $J(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}function d(Q,J){let Y={...Q};for(let[$,Z]of Object.entries(J))Y[$]=$J(Z)&&$J(Y[$])?d(Y[$],Z):Z;return Y}function ZJ(Q={},J={}){let Y=Q.theme||{},$=J.theme||{},{extend:Z,...q}=$,{extend:U,...W}=Y,G=W.colors||{};W.colors={...G,...QJ(G)};let X=d(W,q),V=d(U||{},Z||{});if(Object.keys(V).length>0)X.extend=V;let A=[...Q.safelist||[],...J.safelist||[]],T={...Q.shortcuts||{},...J.shortcuts||{}},R=[...Q.preflights||[],...J.preflights||[]];return{config:{...Q,...J,theme:X,safelist:A,shortcuts:T,...R.length>0?{preflights:R}:{},content:[],output:""},safelist:A,shortcuts:T,includePreflight:J.preflight!==!1,minify:J.minify===!0,tokenCSS:YJ(G)}}var F={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",underscore:"\x1B[4m",blink:"\x1B[5m",reverse:"\x1B[7m",hidden:"\x1B[8m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",gray:"\x1B[90m",bgBlack:"\x1B[40m",bgRed:"\x1B[41m",bgGreen:"\x1B[42m",bgYellow:"\x1B[43m",bgBlue:"\x1B[44m",bgMagenta:"\x1B[45m",bgCyan:"\x1B[46m",bgWhite:"\x1B[47m",bgGray:"\x1B[100m"};import OJ from"fs";class c{cache=new Map;maxSize;options;sizes;bytes=0;constructor(Q=100,J){this.maxSize=Q,this.options=J??null,this.sizes=J?new Map:null}get byteSize(){return this.bytes}setMaxBytes(Q){if(!this.options)return;this.options={...this.options,maxBytes:Q};while(this.bytes>Q&&this.cache.size>0){let J=this.cache.keys().next().value;if(J===void 0)break;this.delete(J)}}get(Q){if(!this.cache.has(Q))return;let J=this.cache.get(Q);return this.cache.delete(Q),this.cache.set(Q,J),J}set(Q,J){if(this.cache.has(Q))this.delete(Q);let Y=this.options?this.options.sizeOf(J):0;if(this.options&&Y>this.options.maxBytes)return;while(this.cache.size>0&&(this.cache.size>=this.maxSize||this.options!==null&&this.bytes+Y>this.options.maxBytes)){let $=this.cache.keys().next().value;if($===void 0)break;this.delete($)}if(this.cache.set(Q,J),this.sizes)this.sizes.set(Q,Y),this.bytes+=Y}has(Q){return this.cache.has(Q)}delete(Q){if(this.sizes){let J=this.sizes.get(Q);if(J!==void 0)this.bytes-=J,this.sizes.delete(Q)}return this.cache.delete(Q)}clear(){this.cache.clear(),this.sizes?.clear(),this.bytes=0}get size(){return this.cache.size}keys(){return this.cache.keys()}values(){return this.cache.values()}}var B=new Map,_J=500;function CJ(Q,J){if(J?.includes("g"))return new RegExp(Q,J);let Y=`${Q}:${J||""}`;if(!B.has(Y)){if(B.size>=_J){let $=B.keys().next().value;if($)B.delete($)}B.set(Y,new RegExp(Q,J))}return B.get(Y)}class qJ{pool=[];maxPoolSize=10;fnCache=new Map;fnCacheMaxSize=200;getEvaluator(Q){let J=Array.from(new Set(Q)),Y=J.sort().join(","),$=this.pool.find((W)=>W.context.join(",")===Y);if($)return $.func;let Z=this.fnCache,q=this.fnCacheMaxSize,U=(...W)=>{return(G)=>{try{let X=`${Y}:${G}`,V=Z.get(X);if(!V){if(Z.size>=q){let A=Z.keys().next().value;if(A)Z.delete(A)}V=Function(...J,`
4
- 'use strict';
5
- try {
6
- return ${G};
7
- }
8
- catch (e) {
9
- if (e instanceof ReferenceError || e instanceof TypeError) {
10
- return undefined;
11
- }
12
- throw e;
13
- }
14
- `),Z.set(X,V)}return V(...W)}catch{return}}};if(this.pool.length<this.maxPoolSize)this.pool.push({func:U,context:J.slice()});return U}clear(){this.pool.length=0,this.fnCache.clear()}}var pJ=new qJ;class UJ{metrics=new Map;budgets=new Map;violations=[];maxViolations=100;violationHandlers=[];enabled=!0;setEnabled(Q){this.enabled=Q}isEnabled(){return this.enabled}setBudget(Q,J){this.budgets.set(Q,{warnThreshold:0.8,action:"warn",...J})}setBudgets(Q){for(let[J,Y]of Object.entries(Q))this.setBudget(J,Y)}removeBudget(Q){this.budgets.delete(Q)}getBudgets(){let Q={};for(let[J,Y]of this.budgets.entries())Q[J]=Y;return Q}onViolation(Q){this.violationHandlers.push(Q)}offViolation(Q){let J=this.violationHandlers.indexOf(Q);if(J!==-1)this.violationHandlers.splice(J,1)}time(Q,J){if(!this.enabled)return J();let Y=performance.now(),$=J(),Z=performance.now()-Y;return this.recordTime(Q,Z),this.checkBudget(Q,Z),$}async timeAsync(Q,J){if(!this.enabled)return J();let Y=performance.now(),$=await J(),Z=performance.now()-Y;return this.recordTime(Q,Z),this.checkBudget(Q,Z),$}checkBudget(Q,J){let Y=this.budgets.get(Q);if(!Y)return;let $=J/Y.maxTime*100,Z=Y.warnThreshold!==void 0?J>=Y.maxTime*Y.warnThreshold&&J<Y.maxTime:!1,q=J>=Y.maxTime;if(!Z&&!q)return;let U={label:Q,actualTime:J,budgetTime:Y.maxTime,exceedancePercent:$,timestamp:new Date,isWarning:Z};this.violations.push(U);while(this.violations.length>this.maxViolations)this.violations.shift();for(let G of this.violationHandlers)try{G(U)}catch{}let W=Z?`[Performance Warning] "${Q}" took ${J.toFixed(2)}ms (${$.toFixed(1)}% of ${Y.maxTime}ms budget)`:`[Performance Budget Exceeded] "${Q}" took ${J.toFixed(2)}ms (exceeded ${Y.maxTime}ms budget by ${($-100).toFixed(1)}%)`;switch(Y.action){case"log":console.log(W);break;case"warn":console.warn(W);break;case"error":console.error(W);break;case"throw":if(q)throw Error(W);else console.warn(W);break}}recordTime(Q,J){let Y=this.metrics.get(Q);if(Y)Y.count++,Y.totalTime+=J,Y.maxTime=Math.max(Y.maxTime,J),Y.minTime=Math.min(Y.minTime,J);else this.metrics.set(Q,{count:1,totalTime:J,maxTime:J,minTime:J})}getStats(Q){if(Q){let Y=this.metrics.get(Q);if(!Y)return{};let $=this.budgets.get(Q);return{count:Y.count,avgTime:Y.totalTime/Y.count,totalTime:Y.totalTime,maxTime:Y.maxTime,minTime:Y.minTime,budget:$?.maxTime,budgetUtilization:$?Y.totalTime/Y.count/$.maxTime*100:void 0}}let J={};for(let[Y,$]of this.metrics.entries()){let Z=this.budgets.get(Y);J[Y]={count:$.count,avgTime:$.totalTime/$.count,totalTime:$.totalTime,maxTime:$.maxTime,minTime:$.minTime,budget:Z?.maxTime,budgetUtilization:Z?$.totalTime/$.count/Z.maxTime*100:void 0}}return J}getViolations(Q){if(Q)return this.violations.filter((J)=>J.label===Q);return[...this.violations]}getViolationStats(){let Q={},J=0,Y=0;for(let $ of this.violations)if(Q[$.label]=(Q[$.label]||0)+1,$.isWarning)J++;else Y++;return{total:this.violations.length,byLabel:Q,warnings:J,errors:Y}}clear(){this.metrics.clear()}clearViolations(){this.violations.length=0}clearBudgets(){this.budgets.clear()}reset(){this.clear(),this.clearViolations(),this.clearBudgets(),this.violationHandlers.length=0}}var h=null;function zJ(){if(!h)h=new UJ;return h}var gJ=new Proxy({},{get(Q,J){return zJ()[J]}});var WJ=[];function FJ(Q){let J=new c(Q);return WJ.push(J),J}function hJ(){for(let Q of WJ)Q.clear()}function i(Q,...J){return`${J.map((Y)=>String(Y??"")).join("\x00")}\x00${Q.length}\x00${Bun.hash(Q)}`}function cJ(Q){let J=[];for(let Y of new Set(Q))try{J.push({path:Y,mtimeMs:OJ.statSync(Y).mtimeMs})}catch{}return J}function iJ(Q){for(let J of Q)try{if(OJ.statSync(J.path).mtimeMs!==J.mtimeMs)return!1}catch{return!1}return!0}var L=null,n=!1,I=null,M="",K=!1,IJ=256,z=new Map,j=new Map,H=null,w=null;function x(Q){return Bun.hash(Q).toString(16).padStart(16,"0").slice(0,16)}function l(Q,J){if(z.has(Q))z.delete(Q);else if(z.size>=IJ)z.delete(z.keys().next().value);z.set(Q,J)}function HJ(Q){let J=x(Q);if(j.has(J))j.delete(J);else if(j.size>=IJ)j.delete(j.keys().next().value);return j.set(J,Q),J}function eJ(Q){let J=j.get(Q);if(J===void 0)return;return j.delete(Q),j.set(Q,J),J}async function TJ(Q){if(!H)return null;try{let J=Bun.file(O.join(H,`cw-${x(Q)}.css`));if(!await J.exists())return null;return await J.text()}catch{return null}}async function BJ(Q,J){if(!H)return;try{if(!fs.existsSync(H))fs.mkdirSync(H,{recursive:!0});await Bun.write(O.join(H,`cw-${x(Q)}.css`),J)}catch{}}async function GJ(Q){try{let J=await import(Q);if(J&&J.CSSGenerator)return{CSSGenerator:J.CSSGenerator,config:J.config,build:J.build,defaultConfig:J.defaultConfig,extractClasses:J.extractClasses}}catch{}return null}function KJ(){let Q=[],J=process.cwd();while(J!==O.dirname(J))Q.push(O.join(J,"node_modules","@cwcss","crosswind","dist","index.js")),Q.push(O.join(J,"node_modules","@cwcss","crosswind","src","index.ts")),Q.push(O.join(J,"pantry","@cwcss","crosswind","dist","index.js")),Q.push(O.join(J,"pantry","@cwcss","crosswind","src","index.ts")),Q.push(O.join(J,"node_modules","@stacksjs","crosswind","dist","index.js")),Q.push(O.join(J,"pantry","@stacksjs","crosswind","dist","index.js")),J=O.dirname(J);return Q}function RJ(){let Q=[],J=process.env.HOME||process.env.USERPROFILE||"";if(J){let Y=[O.join(J,"Code","Tools","crosswind","packages","crosswind","dist","index.js"),O.join(J,"Code","Tools","crosswind","packages","crosswind","src","index.ts"),O.join(J,"repos","stacks-org","crosswind","packages","crosswind","dist","index.js"),O.join(J,"repos","stacks-org","crosswind","packages","crosswind","src","index.ts"),O.join(J,"Code","Tools","stx","packages","stx","node_modules","@cwcss","crosswind","dist","index.js"),O.join(J,"Code","Tools","stx","packages","stx","node_modules","@stacksjs","crosswind","dist","index.js")];Q.push(...Y)}return Q.push(O.join(process.cwd(),"..","crosswind","packages","crosswind","dist","index.js")),Q.push(O.join(process.cwd(),"..","crosswind","packages","crosswind","src","index.ts")),Q}async function XJ(){if(n)return L;n=!0;try{let Q=async(Z)=>{for(let q of Z){if(!await Bun.file(q).exists())continue;let U=await GJ(q);if(U){if(!process.env.STACKS_DEV_QUIET)console.log(`${F.green}[Crosswind]${F.reset} CSS engine loaded from ${O.dirname(O.dirname(q))}`);return U}}return null};if(process.env.CROSSWIND_SRC){let Z=O.resolve(process.env.CROSSWIND_SRC),q=await Q([Z]);if(!q)throw Error(`CROSSWIND_SRC did not resolve to a Crosswind module: ${Z}`);return L=q,L}let J=await Q(KJ());if(J)return L=J,L;let Y=["@cwcss/crosswind","@cwcss/crosswind/dist/index.js","@stacksjs/crosswind","@stacksjs/crosswind/dist/index.js"];for(let Z of Y){let q=await GJ(Z);if(q){if(L=q,!process.env.STACKS_DEV_QUIET)console.log(`${F.green}[Crosswind]${F.reset} CSS engine loaded`);return L}}let $=await Q(RJ());if($)return L=$,L;throw Error("Crosswind CSSGenerator not found in any location")}catch{return console.warn(`${F.yellow}[Crosswind] CSS engine not available, Tailwind styles will not be generated${F.reset}`),console.warn(`${F.yellow}Run 'bun add @stacksjs/crosswind' to enable CSS generation${F.reset}`),null}}function JQ(){k.clear(),z.clear(),j.clear()}function QQ(){k.clear(),L=null,n=!1,I=null,M="",z.clear(),j.clear(),w=null}async function VJ(Q){try{if(!AJ({name:"crosswind",cwd:Q}))return null;let{loadConfigWithResult:J}=await import("bunfig"),Y=await J({name:"crosswind",cwd:Q,defaultConfig:{},checkEnv:!1,verbose:!1});if(!Y?.path||!Y.config||Object.keys(Y.config).length===0)return null;let $=O.relative(Q,Y.path);if(!process.env.STACKS_DEV_QUIET)console.log(`${F.green}[Crosswind]${F.reset} Loaded config from ${$||Y.path}`);return Y.config}catch(J){if(J instanceof Error&&J.name==="ConfigNotFoundError")return null;return console.warn(`${F.yellow}[Crosswind]${F.reset} Failed to load crosswind config:`,J instanceof Error?J.message:J),null}}async function PJ(Q){let J=null;try{let{loadStxConfig:Y}=await import("./chunk-bavv2k2z.js"),$=await Y(Q);if($.css)if(typeof $.css==="string"){let Z=O.isAbsolute($.css)?$.css:O.resolve(Q,$.css);if(await Bun.file(Z).exists()){let q=await import(Z);J=q.default||q,console.log(`${F.green}[Crosswind]${F.reset} Loaded config from stx.config.ts \u2192 ${$.css}`)}}else{if(J={...$.css,content:$.css.content||[],preflight:$.css.preflight??!0,minify:$.css.minify??!1},$.css.config){let Z=O.isAbsolute($.css.config)?$.css.config:O.resolve(Q,$.css.config);if(await Bun.file(Z).exists()){let q=await import(Z);J={...q.default||q,...J}}}console.log(`${F.green}[Crosswind]${F.reset} Using inline CSS config from stx.config.ts`)}}catch{}return J||await VJ(Q)}function EJ(Q){try{let J=new WeakSet;return x(JSON.stringify(Q??{},(Y,$)=>{if(typeof $==="function")return`[fn]${String($)}`;if(typeof $==="object"&&$!==null){if(J.has($))return"[circular]";J.add($)}return $})??"")}catch{return"unhashable"}}async function DJ(Q){if(K)return M;K=!0;try{let J=await XJ();if(!J||!J.build)return K=!1,"";if(!I)I=await VJ(Q);if(!I)return K=!1,"";let Y=J.defaultConfig?.theme||{},$=I.theme||{},Z={...J.defaultConfig,...I,theme:{...Y,...$,extend:{...Y.extend||{},...$.extend||{}}}},q=performance.now(),U=await J.build(Z),W=performance.now()-q;if(M=U.css,console.log(`${F.cyan}[Crosswind]${F.reset} Built ${U.classes.size} classes in ${W.toFixed(1)}ms`),Z.output){let G=O.isAbsolute(Z.output)?Z.output:O.join(Q,Z.output),X=O.dirname(G);if(!fs.existsSync(X))fs.mkdirSync(X,{recursive:!0});await Bun.write(G,U.css)}return K=!1,U.css}catch(J){return console.error(`${F.red}[Crosswind]${F.reset} Build error:`,J),K=!1,M}}async function YQ(Q){I=null,await DJ(Q)}function $Q(){return M}function MJ(Q){let J=new Set,Y=/class\s*=\s*["']([^"']+)["']/gi,$=Y.exec(Q);while($!==null){for(let U of $[1].split(/\s+/))if(U.trim())J.add(U.trim());$=Y.exec(Q)}let Z=/(?:x-class|:class)\s*=\s*"([^"]+)"/gi,q=Z.exec(Q);while(q!==null){let U=q[1].match(/'([^']+)'/g);if(U){for(let W of U)for(let G of W.slice(1,-1).split(/\s+/))if(G.trim())J.add(G.trim())}q=Z.exec(Q)}return J}var k=FJ(64);async function wJ(Q,J){let Y=k.get(i(Q,J,w));if(Y!==void 0)return Y;let $=await SJ(Q,J);if($)k.set(i(Q,J,w),$);return $}async function SJ(Q,J){try{let Y=await XJ();if(!Y)return"";let $=typeof Y.extractClasses==="function"?Y.extractClasses(Q):MJ(Q);if($.size===0)return"";let Z=J?O.resolve(J):process.cwd();if(!H)H=jJ(Z,"cache");let q=[...$].sort().join(" "),U=`${w||"default"}::${q}`,W=z.get(U);if(W!==void 0)return l(U,W),W;let G=await TJ(U);if(G!==null)return l(U,G),G;if(!I)I=await PJ(Z),w=EJ(I);let X=Y.defaultConfig||Y.config,V=I||{},A=ZJ(X,V),{safelist:T,includePreflight:R,minify:b,tokenCSS:LJ}=A,o=A.config,P=new Y.CSSGenerator(o);for(let N of T)P.generate(N);for(let N of $)P.generate(N);let _=P.toCSS(R,b),r=o.shortcuts||V.shortcuts||{};for(let[N,y]of Object.entries(r)){if(!$.has(N)&&!T.includes(N))continue;let f=y.split(/\s+/).filter(Boolean);for(let D of f)P.generate(D)}_=P.toCSS(R,b);let E=_.split(`
15
- `);for(let[N,y]of Object.entries(r)){if(!$.has(N)&&!T.includes(N))continue;let f=y.split(/\s+/).filter(Boolean),D=[],C=[];for(let p of f){let a=p.startsWith("dark:"),s=`.${(a?p.slice(5):p).replace(/\//g,"\\/").replace(/:/g,"\\:").replace(/\./g,"\\.").replace(/\[/g,"\\[").replace(/\]/g,"\\]").replace(/%/g,"\\%")}`;for(let S=0;S<E.length;S++){let t=E[S].trim();if(t===`${s} {`||t.startsWith(`${s} {`)){let v=S,e="";while(v<E.length){if(e+=E[v],E[v].includes("}"))break;v++}let g=e.match(/\{([^}]+)\}/);if(g)if(a)C.push(g[1].trim());else D.push(g[1].trim());break}}}if(D.length)_+=`
16
- .${N} { ${D.join(" ")} }`;if(C.length)_+=`
17
- @media (prefers-color-scheme: dark) { .dark .${N} { ${C.join(" ")} } }`}return _=LJ+_,l(U,_),BJ(U,_),_}catch(Y){return console.warn("Failed to generate Crosswind CSS:",Y),""}}async function ZQ(Q,J,Y=!1){let $=await wJ(Q,J);if(!$)return Q;let Z=Y?`<link data-crosswind="generated" rel="stylesheet" href="/_stx/crosswind.${HJ($)}.css">`:`<style data-crosswind="generated">
18
- ${$}
19
- </style>`,q=/(?:<style\b[^>]*\bdata-crosswind=(?:"generated"|'generated')[^>]*>[\s\S]*?<\/style>|<link\b[^>]*\bdata-crosswind=(?:"generated"|'generated')[^>]*>)/g;if(q.test(Q)){let U=!1;return Q.replace(q,()=>{if(U)return"";return U=!0,Z})}if(Q.includes("</head>"))return Q.replace("</head>",`${Z}
20
- </head>`);if(Q.includes("<body"))return Q.replace(/<body([^>]*)>/,`<body$1>
21
- ${Z}`);return Z+Q}
22
- export{c as Ss,CJ as Ts,gJ as Us,FJ as Vs,hJ as Ws,i as Xs,cJ as Ys,iJ as Zs,d as _s,ZJ as $s,F as at,eJ as bt,XJ as ct,JQ as dt,QQ as et,VJ as ft,PJ as gt,EJ as ht,DJ as it,YQ as jt,$Q as kt,MJ as lt,wJ as mt,ZQ as nt};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Qf as a}from"./chunk-gdja5ak8.js";import"./chunk-40bzrw9q.js";import"./chunk-h0t73k2z.js";import"./chunk-xpxw2ked.js";import"./chunk-6gb72zp2.js";import"./chunk-82kkkpw2.js";import"./chunk-shyqtvbq.js";import"./chunk-ydzmhy4c.js";import"./chunk-w1asc0zd.js";import"./chunk-xqwmj65h.js";import"./chunk-0ym08enb.js";import"./chunk-q4desjj6.js";import"./chunk-gfhzedsr.js";import"./chunk-sfaayvmn.js";import"./chunk-azfjfrns.js";import"./chunk-z45t29sf.js";export{a as startProductionServer};
@@ -1,132 +0,0 @@
1
- /**
2
- * Crosswind CSS Generation Module
3
- * Provides on-the-fly Tailwind CSS generation using Crosswind
4
- */
5
- interface CrosswindModule {
6
- CSSGenerator: new (config: CrosswindConfig) => CSSGenerator;
7
- config: CrosswindConfig;
8
- build?: (config: CrosswindConfig) => Promise<CrosswindBuildResult>;
9
- defaultConfig?: CrosswindConfig;
10
- /**
11
- * Crosswind's own extractor. Preferred over the local fallback below —
12
- * it is the authority on what counts as a class candidate, and it keeps
13
- * up with syntax this package would otherwise have to mirror by hand.
14
- */
15
- extractClasses?: (content: string) => Set<string>;
16
- }
17
- interface CrosswindConfig {
18
- content?: string[];
19
- output?: string;
20
- preflight?: boolean;
21
- minify?: boolean;
22
- preflights?: unknown[];
23
- safelist?: string[];
24
- [key: string]: unknown;
25
- }
26
- interface CrosswindBuildResult {
27
- css: string;
28
- classes: Set<string>;
29
- duration: number;
30
- }
31
- interface CSSGenerator {
32
- generate(className: string): void;
33
- toCSS(preflight: boolean, minify: boolean): string;
34
- }
35
- export declare function getCrosswindServeAsset(hash: string): string | undefined;
36
- /**
37
- * Lazily load the Crosswind module
38
- * Returns null if Crosswind is not installed
39
- */
40
- export declare function loadCrosswind(): Promise<CrosswindModule | null>;
41
- /**
42
- * Reset the Crosswind module cache (useful for testing)
43
- */
44
- export declare function resetCssCache(): void;
45
- export declare function resetCrosswindCache(): void;
46
- /**
47
- * Load crosswind config from the working directory.
48
- *
49
- * Uses `bunfig` for resolution so crosswind configs compose the same way as
50
- * `stx.config.ts` and other stacks configs — a single source of truth for
51
- * config loading across the stack.
52
- *
53
- * Pre-check: bunfig's lightweight discovery entry point confirms a matching
54
- * project-local config exists before we load its full configuration pipeline. When
55
- * stx is run from a parent repo root (e.g. running an example from the
56
- * monorepo root, or a page rendered before the app dir is known) bunfig's
57
- * built-in search would span 250+ paths up the tree and, on miss, log a
58
- * large stack-style error dump. The file-existence pre-check keeps the
59
- * common "no config file" case silent and fast.
60
- */
61
- /**
62
- * Load the user's crosswind config via bunfig — our shared config loader.
63
- * `hasLocalConfig` uses the same filename, extension, alias, custom-directory,
64
- * and resolution-priority rules as bunfig's loader, so this integration never
65
- * maintains a parallel list of paths. Returns `null`
66
- * when no config file is present, so callers can fall through to defaults
67
- * without surfacing a "not found" warning to the user.
68
- */
69
- export declare function loadCrosswindConfig(cwd: string): Promise<CrosswindConfig | null>;
70
- /**
71
- * Resolve the project's crosswind config the way CSS generation does.
72
- *
73
- * Priority: the `css` field of `stx.config.ts` (a path, or an inline object
74
- * that may itself name a path), then auto-discovery of `crosswind.config.ts`.
75
- *
76
- * Extracted so the SSG's cache key can be built from the same resolution the
77
- * stylesheet is. Two copies of this precedence would drift, and a cache key
78
- * computed from a *different* config than the CSS is worse than no key at all —
79
- * it would report freshness it has not checked.
80
- */
81
- export declare function resolveUserCrosswindConfig(resolveRoot: string): Promise<CrosswindConfig | null>;
82
- /**
83
- * A short, stable digest of a resolved crosswind config.
84
- *
85
- * Hashes the resolved OBJECT rather than a file, so it covers a config
86
- * assembled from several files, an inline `css` block in `stx.config.ts`, and a
87
- * preflight imported from somewhere else — all cases a path mtime would miss.
88
- *
89
- * Functions are hashed by source text. `JSON.stringify` drops them entirely,
90
- * which would make an edit to a function-valued plugin or preflight invisible —
91
- * the exact silent-staleness this digest exists to prevent. Cycles are replaced
92
- * rather than thrown on, because throwing here degrades to 'unhashable', and a
93
- * constant digest is a cache key that never changes.
94
- */
95
- export declare function fingerprintConfig(config: unknown): string;
96
- /**
97
- * Build Crosswind CSS using the build() API
98
- * This scans content files and generates CSS for all used classes
99
- */
100
- export declare function buildCrosswindCSS(cwd: string): Promise<string>;
101
- /**
102
- * Rebuild Crosswind CSS (called on file changes)
103
- */
104
- export declare function rebuildCrosswindCSS(cwd: string): Promise<void>;
105
- /**
106
- * Get the cached CSS (for serving)
107
- */
108
- export declare function getCachedCSS(): string;
109
- /**
110
- * Extract all CSS class names from HTML content.
111
- *
112
- * This is the FALLBACK. `generateCrosswindCSS` prefers Crosswind's own
113
- * `extractClasses`, and the difference is not cosmetic: this function only
114
- * understands `class=""` and quoted literals inside `x-class` / `:class`, so
115
- * every class that lives in code — a helper returning a class string, an icon
116
- * keyed by status, anything inside a `<script client>` block — is invisible to
117
- * it. Those classes silently generate no CSS and the element renders unstyled,
118
- * which is what drove projects to pre-generate whole icon stylesheets and ship
119
- * them alongside the page.
120
- *
121
- * Keeping a second, weaker copy of Crosswind's extraction rules in this package
122
- * is what let the two drift apart in the first place. It stays only for the
123
- * case where the installed Crosswind predates the export.
124
- */
125
- export declare function extractClassNames(htmlContent: string): Set<string>;
126
- export declare function generateCrosswindCSS(htmlContent: string, appDir?: string): Promise<string>;
127
- /**
128
- * Inject generated CSS into HTML content
129
- * Tries to inject before </head>, falls back to <body> or prepends
130
- */
131
- export declare function injectCrosswindCSS(htmlContent: string, appDir?: string, serveMode?: boolean): Promise<string>;
132
- export {};
@@ -1,29 +0,0 @@
1
- import type { StoryContext } from './types';
2
- /**
3
- * Check if Crosswind is available
4
- */
5
- export declare function isCrosswindAvailable(root: string): Promise<boolean>;
6
- /**
7
- * Load Crosswind CSS
8
- */
9
- export declare function loadCrosswindCSS(ctx: StoryContext, options?: CrosswindOptions): Promise<string>;
10
- /**
11
- * Generate style tag with Crosswind CSS
12
- */
13
- export declare function generateCrosswindStyleTag(ctx: StoryContext, options?: CrosswindOptions): Promise<string>;
14
- /**
15
- * Extract used utility classes from HTML
16
- */
17
- export declare function extractUsedClasses(html: string): string[];
18
- /**
19
- * Generate optimized CSS with only used classes
20
- */
21
- export declare function generateOptimizedCSS(fullCSS: string, usedClasses: string[]): string;
22
- /**
23
- * Crosswind CSS options
24
- */
25
- export declare interface CrosswindOptions {
26
- cssPath?: string
27
- includeReset?: boolean
28
- includeBase?: boolean
29
- }