@stacksjs/stx 0.2.760 → 0.2.762

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 (249) hide show
  1. package/dist/chunk-00nz3pas.js +2 -0
  2. package/dist/{chunk-eazvp48w.js → chunk-02c46de1.js} +26 -9
  3. package/dist/chunk-05jdq9tw.js +177 -0
  4. package/dist/chunk-0cajfv7y.js +2 -0
  5. package/dist/{chunk-3nxe5xmy.js → chunk-0fs9kx0h.js} +3 -3
  6. package/dist/{chunk-42hcspws.js → chunk-0kq0k4pg.js} +2 -2
  7. package/dist/{chunk-y8srg0q3.js → chunk-0sd4td6z.js} +3 -3
  8. package/dist/{chunk-f4gqzg1y.js → chunk-0wj31pqy.js} +2 -2
  9. package/dist/chunk-13v3vgb6.js +2 -0
  10. package/dist/{chunk-v5afjcy3.js → chunk-18chz0q4.js} +1 -1
  11. package/dist/chunk-1p8t2ekg.js +2 -0
  12. package/dist/chunk-1rcntvgx.js +2 -0
  13. package/dist/chunk-1w5gtkd6.js +2 -0
  14. package/dist/chunk-28vtqwxh.js +2 -0
  15. package/dist/chunk-298gj90a.js +2 -0
  16. package/dist/{chunk-n8s5301s.js → chunk-2eamszdq.js} +2 -2
  17. package/dist/chunk-2gn6smrq.js +2 -0
  18. package/dist/{chunk-h692k9xn.js → chunk-2typf9dh.js} +4 -4
  19. package/dist/chunk-2wq0h5ye.js +2 -0
  20. package/dist/{chunk-prej5pk6.js → chunk-2zd51tj4.js} +2 -2
  21. package/dist/chunk-2zg3jmy7.js +2 -0
  22. package/dist/{chunk-ztdjdxjt.js → chunk-319aez2f.js} +3 -3
  23. package/dist/{chunk-7g9vd5fv.js → chunk-37y8sg48.js} +2 -2
  24. package/dist/{chunk-j2mpqa4p.js → chunk-3csfmhg0.js} +2 -2
  25. package/dist/{chunk-jb1dk0w7.js → chunk-3mz088mb.js} +2 -2
  26. package/dist/chunk-3wxb7mfb.js +2 -0
  27. package/dist/{chunk-cehjp06v.js → chunk-42zqmcnc.js} +3 -3
  28. package/dist/{chunk-89h4snzd.js → chunk-4833k99b.js} +2 -2
  29. package/dist/{chunk-jevd16gq.js → chunk-48g9wez2.js} +30 -30
  30. package/dist/chunk-4tgn1frg.js +3 -0
  31. package/dist/chunk-528cn6qm.js +2 -0
  32. package/dist/{chunk-afj19nsj.js → chunk-59k4xb92.js} +5 -5
  33. package/dist/chunk-5x0g7e9y.js +2 -0
  34. package/dist/{chunk-83ezv8yz.js → chunk-5yhv5eqq.js} +3 -3
  35. package/dist/chunk-633a53wg.js +2 -0
  36. package/dist/chunk-6b737vch.js +2 -0
  37. package/dist/chunk-72ns4q88.js +2 -0
  38. package/dist/chunk-736ex6r5.js +26 -0
  39. package/dist/chunk-86cg9qqm.js +2 -0
  40. package/dist/{chunk-gs6wc7sr.js → chunk-89801pjp.js} +5 -5
  41. package/dist/chunk-8czxtjwm.js +2 -0
  42. package/dist/chunk-8h5mqs28.js +2 -0
  43. package/dist/{chunk-yp6w740k.js → chunk-8rk79ha1.js} +2 -2
  44. package/dist/{chunk-kpr09x3g.js → chunk-8y54tpbr.js} +7 -7
  45. package/dist/{chunk-s4y26fk6.js → chunk-8yyq3nfg.js} +2 -2
  46. package/dist/{chunk-30j6mbrf.js → chunk-932zx5q4.js} +7 -7
  47. package/dist/chunk-940wny2b.js +2 -0
  48. package/dist/chunk-9fh4ah7t.js +2 -0
  49. package/dist/{chunk-sgm6tg8h.js → chunk-9k8ztdcc.js} +2 -2
  50. package/dist/{chunk-vvc39v6p.js → chunk-a222bwpc.js} +5 -5
  51. package/dist/chunk-a81rt2t4.js +3 -0
  52. package/dist/chunk-ad9dt9rk.js +2 -0
  53. package/dist/chunk-ak4w2emd.js +2 -0
  54. package/dist/{chunk-tb56j1zt.js → chunk-ak93e1zz.js} +5 -5
  55. package/dist/{chunk-jt28zh50.js → chunk-b0z2n941.js} +2 -2
  56. package/dist/{chunk-xgegyttg.js → chunk-b51p56k5.js} +2 -2
  57. package/dist/{chunk-r4sawwmp.js → chunk-b7x8b83z.js} +1 -1
  58. package/dist/chunk-b8dtz3v8.js +2 -0
  59. package/dist/{chunk-frk6rzrq.js → chunk-ben8bjnk.js} +4 -4
  60. package/dist/{chunk-w8p1y4c0.js → chunk-bvctccab.js} +4 -4
  61. package/dist/{chunk-hk98vptc.js → chunk-cdcrd33m.js} +2 -2
  62. package/dist/chunk-cenvzm5q.js +2 -0
  63. package/dist/chunk-d49pst1m.js +2 -0
  64. package/dist/{chunk-hfbzfrpv.js → chunk-d96xddt9.js} +14 -14
  65. package/dist/chunk-dj0qy19b.js +2 -0
  66. package/dist/{chunk-asp7ett1.js → chunk-dnsf934e.js} +9 -9
  67. package/dist/{chunk-7r7j7vwt.js → chunk-ds6mbfdq.js} +3 -3
  68. package/dist/{chunk-bsgg8zzk.js → chunk-dvpk4c1y.js} +2 -2
  69. package/dist/chunk-e2q79dfs.js +2 -0
  70. package/dist/{chunk-9s1qnf90.js → chunk-eb6p3p62.js} +2 -2
  71. package/dist/chunk-ebxncrd8.js +2 -0
  72. package/dist/{chunk-q49ykyq9.js → chunk-edhxg3rz.js} +14 -14
  73. package/dist/{chunk-rcfmwx8r.js → chunk-epa73jvs.js} +2 -2
  74. package/dist/{chunk-3cn9y08d.js → chunk-evxp3wmv.js} +7 -7
  75. package/dist/{chunk-z8k3fx4r.js → chunk-f8p8ggvw.js} +4 -4
  76. package/dist/{chunk-se28p2xy.js → chunk-fhpsf4z7.js} +6 -6
  77. package/dist/chunk-fht1zs1r.js +2 -0
  78. package/dist/chunk-fjfrgef4.js +2 -0
  79. package/dist/chunk-fmk9hjht.js +2 -0
  80. package/dist/{chunk-4s9kytdz.js → chunk-fxmc5006.js} +2 -2
  81. package/dist/chunk-fxnk5ee8.js +2 -0
  82. package/dist/{chunk-6ts3sthp.js → chunk-g4k0svq6.js} +2 -2
  83. package/dist/{chunk-2qz891k4.js → chunk-gwjh981q.js} +10 -10
  84. package/dist/chunk-hnen9b45.js +2 -0
  85. package/dist/{chunk-7v2srnpv.js → chunk-j1tsda22.js} +10 -10
  86. package/dist/chunk-j1z7tgdp.js +2 -0
  87. package/dist/{chunk-4zw118tn.js → chunk-jgk5j35w.js} +4 -4
  88. package/dist/chunk-jq1698j4.js +2 -0
  89. package/dist/{chunk-pwmkhs7z.js → chunk-jyp2mmts.js} +2 -2
  90. package/dist/chunk-k0jkpw0q.js +2 -0
  91. package/dist/{chunk-3kfbs0mw.js → chunk-k2ex94n8.js} +1 -1
  92. package/dist/chunk-k469ym7a.js +2 -0
  93. package/dist/{chunk-m00c7sh0.js → chunk-k9247v28.js} +1 -1
  94. package/dist/{chunk-rprewgyj.js → chunk-k9wr8xf5.js} +6 -6
  95. package/dist/chunk-m3z13f59.js +25 -0
  96. package/dist/chunk-m5740sd3.js +2 -0
  97. package/dist/{chunk-qw9kgzb3.js → chunk-m6rzsbas.js} +5 -5
  98. package/dist/{chunk-5vmbycy5.js → chunk-mbe4gqd3.js} +2 -2
  99. package/dist/{chunk-myynywry.js → chunk-mdvtermb.js} +2 -2
  100. package/dist/chunk-mdw96yhg.js +2 -0
  101. package/dist/chunk-mebf9vwb.js +2 -0
  102. package/dist/{chunk-ej1jkt9a.js → chunk-nm9tnxnw.js} +6 -6
  103. package/dist/chunk-p2se8s6r.js +2 -0
  104. package/dist/chunk-p7zrz0wb.js +2 -0
  105. package/dist/chunk-pdnyfk2v.js +2 -0
  106. package/dist/{chunk-fjxhga6w.js → chunk-pqbxa0r7.js} +2 -2
  107. package/dist/chunk-q245q8z1.js +2 -0
  108. package/dist/{chunk-5q9ss7ty.js → chunk-q3azy64b.js} +4 -4
  109. package/dist/chunk-qfhjtz2q.js +2 -0
  110. package/dist/chunk-qjbcp3tc.js +33 -0
  111. package/dist/{chunk-qwsgc5rc.js → chunk-qystt1qc.js} +1 -1
  112. package/dist/{chunk-dh9aagwm.js → chunk-r1tp2gnr.js} +1 -1
  113. package/dist/chunk-r5tsewzd.js +2 -0
  114. package/dist/{chunk-pes27snj.js → chunk-r8zhed35.js} +3 -3
  115. package/dist/{chunk-g4e6egrr.js → chunk-rd33qkfs.js} +8 -8
  116. package/dist/{chunk-hmydy949.js → chunk-rh2qth8r.js} +5 -5
  117. package/dist/chunk-rha8sv1h.js +3 -0
  118. package/dist/{chunk-n7s4n62j.js → chunk-rj3p5fdy.js} +3 -3
  119. package/dist/{chunk-94ymndc5.js → chunk-rmk8efc3.js} +43 -43
  120. package/dist/chunk-rnvrtcz6.js +2 -0
  121. package/dist/{chunk-xsf7ax50.js → chunk-rqd6b2nc.js} +3 -3
  122. package/dist/{chunk-vtv7165t.js → chunk-rxm1mjkb.js} +2 -2
  123. package/dist/chunk-s36cpnxa.js +2 -0
  124. package/dist/{chunk-0y2zzqsq.js → chunk-t1shvfhm.js} +76 -76
  125. package/dist/{chunk-vh1d5eqk.js → chunk-t2cq4bpe.js} +6 -6
  126. package/dist/chunk-tfy1m821.js +2 -0
  127. package/dist/{chunk-465resq9.js → chunk-tpfxvw4q.js} +17 -17
  128. package/dist/{chunk-t6qn1374.js → chunk-tshpcvcy.js} +2 -2
  129. package/dist/chunk-v1ff2dfp.js +7 -0
  130. package/dist/chunk-vc3ppphz.js +2 -0
  131. package/dist/chunk-vttx66q0.js +2 -0
  132. package/dist/chunk-vxs07119.js +2 -0
  133. package/dist/chunk-w2pch5xn.js +4 -0
  134. package/dist/{chunk-j4snweyz.js → chunk-wby7qzha.js} +3 -3
  135. package/dist/{chunk-19safa6y.js → chunk-wmnzapn8.js} +2 -2
  136. package/dist/chunk-wwnqbv9j.js +3 -0
  137. package/dist/chunk-x1x69g3s.js +2 -0
  138. package/dist/{chunk-gs373714.js → chunk-x5seqmrv.js} +2 -2
  139. package/dist/chunk-x8hz5gzb.js +2 -0
  140. package/dist/chunk-xfdtym3s.js +2 -0
  141. package/dist/{chunk-q9npggak.js → chunk-xgnmgjpv.js} +8 -8
  142. package/dist/{chunk-bsq9zg9j.js → chunk-xt034729.js} +6 -6
  143. package/dist/{chunk-m220n98m.js → chunk-xtwc2dbk.js} +2 -2
  144. package/dist/{chunk-0ggwm837.js → chunk-y4mp1rra.js} +101 -101
  145. package/dist/chunk-y6mqq78g.js +2 -0
  146. package/dist/chunk-y8pftjg8.js +12 -0
  147. package/dist/{chunk-wz5m7ybz.js → chunk-yb71b2d6.js} +2 -2
  148. package/dist/chunk-ycttwgpg.js +2 -0
  149. package/dist/chunk-yd6x9226.js +2 -0
  150. package/dist/{chunk-3m9vrhja.js → chunk-yk456jp4.js} +8 -8
  151. package/dist/chunk-yn3kff5k.js +2 -0
  152. package/dist/chunk-ynjm2tm0.js +2 -0
  153. package/dist/{chunk-j04v4rgf.js → chunk-zhrz4zvw.js} +5 -5
  154. package/dist/chunk-zpjdp0he.js +2 -0
  155. package/dist/cli.js +20 -20
  156. package/dist/client/signals-hydration-audit-runtime.js +2 -0
  157. package/dist/client/signals-process-element-runtime.js +17 -2
  158. package/dist/composable-loader.d.ts +1 -1
  159. package/dist/composable-loader.js +47 -10
  160. package/dist/composables/index.d.ts +3 -0
  161. package/dist/composables/index.js +1 -0
  162. package/dist/composables/use-completion.d.ts +29 -0
  163. package/dist/composables/use-completion.js +125 -0
  164. package/dist/craft-entry.js +2 -2
  165. package/dist/craft.js +2 -2
  166. package/dist/message-catalogs.d.ts +39 -0
  167. package/dist/message-catalogs.js +128 -0
  168. package/dist/native/compiler/bundle.js +3 -33
  169. package/dist/process.d.ts +1 -1
  170. package/dist/process.js +87 -22
  171. package/dist/pwa.js +3 -3
  172. package/dist/ssg.js +14 -14
  173. package/dist/store-loader.d.ts +27 -3
  174. package/dist/store-loader.js +115 -10
  175. package/dist/types/config-types.d.ts +1 -0
  176. package/dist/unresolved-identifiers.js +1 -0
  177. package/package.json +5 -5
  178. package/dist/chunk-0b7f2mby.js +0 -2
  179. package/dist/chunk-0j7e56zm.js +0 -2
  180. package/dist/chunk-1khg5vjs.js +0 -2
  181. package/dist/chunk-3h2yz805.js +0 -2
  182. package/dist/chunk-3kmwgpm1.js +0 -2
  183. package/dist/chunk-3wfewscj.js +0 -2
  184. package/dist/chunk-4tz00fkp.js +0 -2
  185. package/dist/chunk-52q8184e.js +0 -2
  186. package/dist/chunk-59ytzyp1.js +0 -2
  187. package/dist/chunk-5e2ez5n0.js +0 -2
  188. package/dist/chunk-6ndeycxk.js +0 -2
  189. package/dist/chunk-75r09rqt.js +0 -2
  190. package/dist/chunk-76679dw7.js +0 -33
  191. package/dist/chunk-7h5d35bf.js +0 -2
  192. package/dist/chunk-7kac7hdw.js +0 -2
  193. package/dist/chunk-7nz28a6c.js +0 -16
  194. package/dist/chunk-82ybmdqk.js +0 -2
  195. package/dist/chunk-8av44gw2.js +0 -2
  196. package/dist/chunk-8frs2dtp.js +0 -2
  197. package/dist/chunk-8prq9t3b.js +0 -2
  198. package/dist/chunk-8sxngenk.js +0 -2
  199. package/dist/chunk-9epeb4sn.js +0 -2
  200. package/dist/chunk-9zmb7dcv.js +0 -2
  201. package/dist/chunk-abs1k04e.js +0 -2
  202. package/dist/chunk-akgt21vw.js +0 -2
  203. package/dist/chunk-b561wv5x.js +0 -2
  204. package/dist/chunk-bfdd0nmc.js +0 -2
  205. package/dist/chunk-c05r0rzw.js +0 -3
  206. package/dist/chunk-c7yjhjr2.js +0 -2
  207. package/dist/chunk-c9xq89nt.js +0 -2
  208. package/dist/chunk-cpep999n.js +0 -2
  209. package/dist/chunk-cr7mn65s.js +0 -2
  210. package/dist/chunk-dqs4bgec.js +0 -2
  211. package/dist/chunk-e30kgg28.js +0 -2
  212. package/dist/chunk-e3fkq9gb.js +0 -2
  213. package/dist/chunk-e9kajy9a.js +0 -2
  214. package/dist/chunk-eab8na0z.js +0 -2
  215. package/dist/chunk-ec5q50ve.js +0 -2
  216. package/dist/chunk-ec8gn2m0.js +0 -2
  217. package/dist/chunk-ex2397dc.js +0 -2
  218. package/dist/chunk-exg7ry7b.js +0 -2
  219. package/dist/chunk-f4j42tsg.js +0 -2
  220. package/dist/chunk-fj105fff.js +0 -2
  221. package/dist/chunk-gk775pcy.js +0 -177
  222. package/dist/chunk-ha6tr22a.js +0 -2
  223. package/dist/chunk-htc7pasb.js +0 -2
  224. package/dist/chunk-jfvr1135.js +0 -2
  225. package/dist/chunk-k3wnmpt3.js +0 -2
  226. package/dist/chunk-kb8654dp.js +0 -4
  227. package/dist/chunk-kfqdx75m.js +0 -2
  228. package/dist/chunk-mmdfjmgk.js +0 -25
  229. package/dist/chunk-mreh1t5x.js +0 -2
  230. package/dist/chunk-n839v6az.js +0 -2
  231. package/dist/chunk-ptzzpf97.js +0 -2
  232. package/dist/chunk-py7g5hxd.js +0 -2
  233. package/dist/chunk-qgsrxyh9.js +0 -2
  234. package/dist/chunk-qmxcs806.js +0 -2
  235. package/dist/chunk-qvcs4f4v.js +0 -2
  236. package/dist/chunk-qz9fzz5k.js +0 -2
  237. package/dist/chunk-rh90yh1c.js +0 -2
  238. package/dist/chunk-s0wst4wj.js +0 -2
  239. package/dist/chunk-sj5t0tnv.js +0 -2
  240. package/dist/chunk-stddpecv.js +0 -2
  241. package/dist/chunk-t4mpq6t0.js +0 -3
  242. package/dist/chunk-tb6jcr2v.js +0 -2
  243. package/dist/chunk-tdjw105v.js +0 -2
  244. package/dist/chunk-tn40nh9e.js +0 -3
  245. package/dist/chunk-tp2g09ca.js +0 -3
  246. package/dist/chunk-wpgq0tq4.js +0 -2
  247. package/dist/chunk-xabs41cv.js +0 -12
  248. package/dist/chunk-yme43vbp.js +0 -2
  249. package/dist/chunk-zg5xh20b.js +0 -2
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Sl,Lg}from"./chunk-8yyq3nfg.js";export{Sl as captureScreenshot,Lg as captureScreenshots};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{cl,ll,ul}from"./chunk-xgegyttg.js";import{le,zn,Hn,fo,Wr,qr,Vn,Un,go,Kr}from"./chunk-pwmkhs7z.js";function z(e,s,i,a,d,y){let r=!0,u=new Set,f=(p)=>a.get?a.get(p):p,o=()=>f(e());return Object.defineProperty(o,"_isSignal",{value:!0}),Object.defineProperty(o,"modifiers",{get:s}),o.set=(p)=>{if(!r)return;let h=s(),t=a.set?a.set(p,h):p;if(h.trim&&typeof t==="string")t=t.trim();if(h.number&&typeof t==="string"&&t!==""){let l=Number(t);if(!Number.isNaN(l))t=l}if(Object.is(e(),t))return;e.set(t),i(t)},o.update=(p)=>o.set(p(o())),o.input=(p)=>{if(!s().lazy)o.set(p)},o.change=(p)=>{if(s().lazy)o.set(p)},o.subscribe=(p)=>{if(!r)return()=>{};let h=e.subscribe((t,l)=>p(f(t),f(l)));return u.add(h),()=>{h(),u.delete(h)}},Object.defineProperty(o,"value",{get:o,set:o.set}),d(()=>{r=!1,u.forEach((p)=>p()),u.clear()}),y?.(()=>{r=!0}),o}function X(e,s=!0,i){if(!s||!e||typeof window>"u")return;let a=window;if(!a.__STX_DATA__){let y=document.querySelector("script[data-stx-server-data]");try{let r=JSON.parse(y?.textContent||"{}");a.__STX_DATA__=r&&typeof r==="object"&&!Array.isArray(r)?r:{}}catch{a.__STX_DATA__={}}}let d=a.__STX_DATA__;if(d&&Object.prototype.hasOwnProperty.call(d,e))try{return{data:i?i(d[e]):d[e]}}catch(y){return{data:null,error:y instanceof Error?y:Error(String(y))}}return}function Q(e){if(typeof window>"u")return;let s=window;if(e===void 0)s.__STX_DATA__={};else{if(!s.__STX_DATA__)try{let i=JSON.parse(document.querySelector("script[data-stx-server-data]")?.textContent||"{}");s.__STX_DATA__=i&&typeof i==="object"&&!Array.isArray(i)?i:{}}catch{s.__STX_DATA__={}}if(s.__STX_DATA__)delete s.__STX_DATA__[e]}}function Y(e){let s=null;try{s=typeof indexedDB<"u"?indexedDB:null}catch{s=null}if(!s)return null;let i=s,a=e||"stx-kept",d=null,y=()=>{if(!d)d=new Promise((u,f)=>{let o=i.open(a,1);o.onupgradeneeded=()=>{o.result.createObjectStore("kv")},o.onsuccess=()=>u(o.result),o.onerror=()=>f(o.error),o.onblocked=()=>f(Error("blocked"))}),d.catch(()=>{d=null});return d},r=(u,f)=>y().then((o)=>new Promise((p,h)=>{let t=o.transaction("kv",u),l=f(t.objectStore("kv"));t.oncomplete=()=>p(l?l.result:void 0),t.onerror=()=>h(t.error),t.onabort=()=>h(t.error)}));return{get:(u)=>r("readonly",(f)=>f.get(u)),set:(u,f)=>r("readwrite",(o)=>{o.put(f,u)}),remove:(u)=>r("readwrite",(f)=>{f.delete(u)}),removePrefix:(u)=>r("readwrite",(f)=>{f.delete(IDBKeyRange.bound(u,`${u}\uFFFF`))})}}function J(e,s){let i=e||{},a=null;if(i.storage!==void 0)a=i.storage;else try{a=typeof localStorage<"u"?localStorage:null}catch{a=null}let d=null,y=i.backend!==void 0;if(y)d=i.backend||null;let r=()=>{if(y)return d;y=!0;try{d=s?s():null}catch{d=null}if(d){let n=d;n.get("__stx_probe__").catch(()=>{if(d===n)d=null})}return d},u=i.limit||32768,f=i.defer||((n)=>{let c=typeof requestIdleCallback==="function"?requestIdleCallback:null;if(c)c(n,{timeout:200});else setTimeout(n,16)}),o=new Map,p=new Set,h=new Map,t=!1,l=Promise.resolve(),g=(n)=>{try{return JSON.parse(n)}catch{return n}},m=(n,c)=>{if(!a)return!1;try{return a.setItem(n,c),!0}catch{return!1}},_=(n)=>{try{if(a)a.removeItem(n)}catch{}},k=()=>{if(t=!1,!h.size)return l;let n=Array.from(h.entries());return h.clear(),l=l.then(()=>Promise.all(n.map(([c,v])=>{if(!d){p.delete(c);try{m(c,JSON.stringify(v===void 0?null:v))}catch{}return}let x;try{return x={v},d.set(c,x).catch(()=>{let S;try{S=JSON.stringify(v)}catch{return}return d?d.set(c,{j:S}).catch(()=>{m(c,S)}):void 0})}catch{return}}))).then(()=>{}),l},N=(n,c)=>{if(h.set(n,c),p.add(n),t)return;t=!0,f(()=>{k()})},D=(n)=>{if(!n||typeof n!=="object")return;let c=n;if("v"in c)return{value:c.v};if(typeof c.j==="string")return{value:g(c.j)};return},E={peek(n){if(o.has(n))return{value:o.get(n)};let c=null;try{c=a?a.getItem(n):null}catch{c=null}if(c===null||c===void 0)return;let v=g(c);return o.set(n,v),{value:v}},load(n){let c=E.peek(n),v=c?null:r();if(c||!v)return Promise.resolve(c);return v.get(n).then((x)=>{if(o.has(n))return{value:o.get(n)};let S=D(x);if(S)o.set(n,S.value),p.add(n);return S},()=>{return})},set(n,c){if(o.set(n,c),d&&p.has(n)){N(n,c);return}let v;try{v=JSON.stringify(c===void 0?null:c)}catch{return}if(v.length<=u&&m(n,v))return;if(!r()){if(v.length>u)m(n,v);return}_(n),N(n,c)},forget(n){for(let v of Array.from(o.keys()))if(v.indexOf(n)===0)o.delete(v);for(let v of Array.from(h.keys()))if(v.indexOf(n)===0)h.delete(v);for(let v of Array.from(p))if(v.indexOf(n)===0)p.delete(v);try{if(a)for(let v=a.length-1;v>=0;v--){let x=a.key(v);if(x&&x.indexOf(n)===0)a.removeItem(x)}}catch{}let c=r();if(!c)return l;return l=l.then(()=>c.removePrefix(n)).catch(()=>{}),l},flush(){return k()}};try{if(typeof document<"u"&&document.addEventListener)document.addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden")k()});if(typeof addEventListener==="function")addEventListener("pagehide",()=>{k()})}catch{}return E}function Z(e,s){if(!e)return!1;if(e===s.key)return!0;if(!s.url)return!1;if(e===s.url)return!0;try{let i=typeof location<"u"&&location.origin&&location.origin!=="null"?location.origin:"http://localhost",a=new URL(e,i),d=new URL(s.url,i);if(a.origin!==d.origin||a.pathname!==d.pathname)return!1;return!a.search||a.search===d.search}catch{return!1}}function ee(e){let s=e.prefix||"stx:kept:",i=e.matches||((t,l)=>t===l.key||t===l.url),a=new Set,d=new Map,y,r=(t)=>t===void 0?y:t,u=(t,l)=>{let g=r(l);if(g===!1||g===null||g==="")return null;return`${s}${g===void 0?"":`${g}:`}query:${t}`},f=(t)=>{let l=t&&t.value;if(!l||typeof l!=="object"||!("d"in l))return;return{data:l.d,at:Number(l.at)||0}},o=()=>{let t=globalThis;return t.__stx_outboxes instanceof Map?t.__stx_outboxes:null},p={setScope(t){y=t},scope:()=>y,keyFor:u,seed(t,l){let g=u(t,l);return g?f(e.kept.peek(g)):void 0},restore(t,l){let g=u(t,l);return g?e.kept.load(g).then(f):Promise.resolve(void 0)},persist(t,l,g){let m=u(t,g);if(m)e.kept.set(m,{d:l,at:Date.now()})},overlay(t,l,g){let m=o();if(!m||!m.size)return l;let _=l;return m.forEach((k)=>{try{_=k.overlay(t,_,g)}catch{}}),_},watch(t){return a.add(t),()=>{a.delete(t)}},cachedQuery(t,l){let g=d.get(t);if(g){if(l&&g.__options)g.__options(l);return g}let m=l||{},_=m.initial===void 0?null:m.initial,k=()=>typeof m.scope==="function"?m.scope():m.scope,N=()=>(typeof m.url==="function"?m.url():m.url)||null,D=()=>({key:t,url:N()}),E=k(),n=_,c=0,v=e.sharedRequest(),x=0,S=p.seed(t,E);if(S)n=S.data;let I=e.state(p.overlay(D(),n)),U=e.state(!1),q=e.state(!1),K=e.state(null),P=e.state(S?S.at:0),R=0,F=()=>{I.set(p.overlay(D(),n))},W=(b)=>{let w=R;p.restore(t,b).then((T)=>{if(!T||w!==R||c)return;n=T.data,P.set(T.at),F()})};if(!S)W(E);let _t=()=>{let b=k();if(b===E)return;E=b,R++,x=0,q.set(!1),U.set(!1),c=0;let w=p.seed(t,E);if(n=w?w.data:_,P.set(w?w.at:0),F(),!w)W(E)},xt=(b,w)=>{let T=m.timeoutMs||15000,C=typeof AbortController<"u"?new AbortController:null,O=null,V=new Promise((M,j)=>{O=setTimeout(()=>{if(C)C.abort();j(Error("The request took too long."))},T)}),A;if(m.load)A=m.load({force:b,url:w,signal:C?C.signal:void 0});else if(w){let M=m.fetch||((L,H)=>fetch(L,H)),j={method:"GET",headers:{Accept:"application/json"}};if(b)j.cache="no-cache";if(C)j.signal=C.signal;A=M(w,j).then((L)=>{if(!L.ok)return L.json().catch(()=>null).then((H)=>{throw Error(H&&(H.error||H.message)||`Request failed (${L.status})`)});return L.json()})}else return Promise.resolve(I());return Promise.race([A,V]).then((M)=>{if(O)clearTimeout(O);return m.transform?m.transform(M):M},(M)=>{if(O)clearTimeout(O);throw M})},G=(b)=>{let w=R,T=N(),C=()=>{if(w!==R)return Promise.resolve(I());if(x++,q.set(!0),c===0&&!P())U.set(!0);let V=()=>{if(w!==R)return;if(x=Math.max(0,x-1),!x)q.set(!1),U.set(!1)};return xt(b,T).then((A)=>{if(w!==R||T!==N())return V(),I();return n=A,c=Date.now(),P.set(c),K.set(null),p.persist(t,A,E),F(),V(),I()},(A)=>{if(w===R&&T===N())K.set(A&&A.message?A.message:"Could not load.");return V(),I()})},O=`${w} ${T||""}`;return b?v.fresh(O,C):v.run(O,C)},B={data:I,loading:U,isFetching:q,error:K,updatedAt:P,get key(){return t},load(b){if(_t(),!b&&c&&Date.now()-c<(m.staleTime||0))return Promise.resolve(I());return G(!!b)},refresh(){return B.load(!0)},set(b){n=typeof b==="function"?b(n):b,p.persist(t,n,E),F()},invalidate(){c=0},__options(b){m={...m,...b}}};if(a.add({target:D,updated:()=>{if(c||P())G(!1)},outbox:(b)=>{if(b)n=p.overlay(D(),n,b.id),c=0,G(!0);F()}}),d.set(t,B),m.immediate)B.load();return B}},h=typeof window<"u"?window:typeof addEventListener==="function"?globalThis:null;if(e.listen!==!1&&h&&typeof h.addEventListener==="function")h.addEventListener("stx:updated",(t)=>{let l=t.detail||{};if(l.kind!=="api"||typeof l.url!=="string")return;a.forEach((g)=>{if(i(l.url,g.target()))g.updated()})}),h.addEventListener("stx:outbox",(t)=>{let l=t.detail||{},g=l.sent&&typeof l.sent.id==="string"?l.sent:null;a.forEach((m)=>{if(g){let _=Array.isArray(g.affects)?g.affects:[],k=m.target();if(!_.some((N)=>i(N,k)))return}m.outbox(g)})});return p}function te(e){let s=e&&e.covers||((r,u)=>Object.is(r,u)),i=[],a=[],d=0,y=(r,u)=>{let f;try{f=Promise.resolve(u())}catch(h){f=Promise.reject(h)}let o={key:r,promise:f};i.push(o);let p=()=>{let h=i.indexOf(o);if(h!==-1)i.splice(h,1)};return f.then(p,p),f};return{run(r,u){for(let f of i)if(s(f.key,r))return f.promise;for(let f of a)if(s(f.key,r))return f.promise;return y(r,u)},fresh(r,u){for(let h of a)if(s(h.key,r))return h.promise;let f=i.filter((h)=>s(h.key,r)).map((h)=>h.promise);if(!f.length)return y(r,u);let o={key:r,promise:null},p=()=>{};return o.promise=Promise.all(f.map((h)=>h.then(p,p))).then(()=>{let h=a.indexOf(o);if(h!==-1)a.splice(h,1);return y(r,u)}),a.push(o),o.promise},latest(){let r=++d;return()=>r===d},get busy(){return i.length>0||a.length>0}}}function ne(e){let s=!1,i=null,a=null,d=0;async function y(){if(s)return;i=new AbortController;try{let r=await e.request(e.endpoint,{signal:i.signal,cache:"no-store",headers:{Accept:"text/event-stream"}});if(!r.ok||!r.body||!r.headers.get("content-type")?.includes("text/event-stream"))throw Error("Broadcast stream unavailable");if(s){await r.body.cancel();return}let u=r.body.getReader(),f=new TextDecoder,o="";d=0,e.onStatus?.(!0),e.onConnected?.();try{while(!s){let{done:p,value:h}=await u.read();if(p)break;if(o+=f.decode(h,{stream:!0}).replace(/\r\n/g,`
2
+ import{ll,ul,dl}from"./chunk-b51p56k5.js";import{le,Hn,Vn,mo,qr,Kr,Un,Wn,ho,Gr}from"./chunk-jyp2mmts.js";function z(e,s,i,a,d,y){let r=!0,u=new Set,f=(p)=>a.get?a.get(p):p,o=()=>f(e());return Object.defineProperty(o,"_isSignal",{value:!0}),Object.defineProperty(o,"modifiers",{get:s}),o.set=(p)=>{if(!r)return;let h=s(),t=a.set?a.set(p,h):p;if(h.trim&&typeof t==="string")t=t.trim();if(h.number&&typeof t==="string"&&t!==""){let l=Number(t);if(!Number.isNaN(l))t=l}if(Object.is(e(),t))return;e.set(t),i(t)},o.update=(p)=>o.set(p(o())),o.input=(p)=>{if(!s().lazy)o.set(p)},o.change=(p)=>{if(s().lazy)o.set(p)},o.subscribe=(p)=>{if(!r)return()=>{};let h=e.subscribe((t,l)=>p(f(t),f(l)));return u.add(h),()=>{h(),u.delete(h)}},Object.defineProperty(o,"value",{get:o,set:o.set}),d(()=>{r=!1,u.forEach((p)=>p()),u.clear()}),y?.(()=>{r=!0}),o}function X(e,s=!0,i){if(!s||!e||typeof window>"u")return;let a=window;if(!a.__STX_DATA__){let y=document.querySelector("script[data-stx-server-data]");try{let r=JSON.parse(y?.textContent||"{}");a.__STX_DATA__=r&&typeof r==="object"&&!Array.isArray(r)?r:{}}catch{a.__STX_DATA__={}}}let d=a.__STX_DATA__;if(d&&Object.prototype.hasOwnProperty.call(d,e))try{return{data:i?i(d[e]):d[e]}}catch(y){return{data:null,error:y instanceof Error?y:Error(String(y))}}return}function Q(e){if(typeof window>"u")return;let s=window;if(e===void 0)s.__STX_DATA__={};else{if(!s.__STX_DATA__)try{let i=JSON.parse(document.querySelector("script[data-stx-server-data]")?.textContent||"{}");s.__STX_DATA__=i&&typeof i==="object"&&!Array.isArray(i)?i:{}}catch{s.__STX_DATA__={}}if(s.__STX_DATA__)delete s.__STX_DATA__[e]}}function Y(e){let s=null;try{s=typeof indexedDB<"u"?indexedDB:null}catch{s=null}if(!s)return null;let i=s,a=e||"stx-kept",d=null,y=()=>{if(!d)d=new Promise((u,f)=>{let o=i.open(a,1);o.onupgradeneeded=()=>{o.result.createObjectStore("kv")},o.onsuccess=()=>u(o.result),o.onerror=()=>f(o.error),o.onblocked=()=>f(Error("blocked"))}),d.catch(()=>{d=null});return d},r=(u,f)=>y().then((o)=>new Promise((p,h)=>{let t=o.transaction("kv",u),l=f(t.objectStore("kv"));t.oncomplete=()=>p(l?l.result:void 0),t.onerror=()=>h(t.error),t.onabort=()=>h(t.error)}));return{get:(u)=>r("readonly",(f)=>f.get(u)),set:(u,f)=>r("readwrite",(o)=>{o.put(f,u)}),remove:(u)=>r("readwrite",(f)=>{f.delete(u)}),removePrefix:(u)=>r("readwrite",(f)=>{f.delete(IDBKeyRange.bound(u,`${u}\uFFFF`))})}}function J(e,s){let i=e||{},a=null;if(i.storage!==void 0)a=i.storage;else try{a=typeof localStorage<"u"?localStorage:null}catch{a=null}let d=null,y=i.backend!==void 0;if(y)d=i.backend||null;let r=()=>{if(y)return d;y=!0;try{d=s?s():null}catch{d=null}if(d){let n=d;n.get("__stx_probe__").catch(()=>{if(d===n)d=null})}return d},u=i.limit||32768,f=i.defer||((n)=>{let c=typeof requestIdleCallback==="function"?requestIdleCallback:null;if(c)c(n,{timeout:200});else setTimeout(n,16)}),o=new Map,p=new Set,h=new Map,t=!1,l=Promise.resolve(),g=(n)=>{try{return JSON.parse(n)}catch{return n}},m=(n,c)=>{if(!a)return!1;try{return a.setItem(n,c),!0}catch{return!1}},_=(n)=>{try{if(a)a.removeItem(n)}catch{}},k=()=>{if(t=!1,!h.size)return l;let n=Array.from(h.entries());return h.clear(),l=l.then(()=>Promise.all(n.map(([c,v])=>{if(!d){p.delete(c);try{m(c,JSON.stringify(v===void 0?null:v))}catch{}return}let x;try{return x={v},d.set(c,x).catch(()=>{let S;try{S=JSON.stringify(v)}catch{return}return d?d.set(c,{j:S}).catch(()=>{m(c,S)}):void 0})}catch{return}}))).then(()=>{}),l},N=(n,c)=>{if(h.set(n,c),p.add(n),t)return;t=!0,f(()=>{k()})},D=(n)=>{if(!n||typeof n!=="object")return;let c=n;if("v"in c)return{value:c.v};if(typeof c.j==="string")return{value:g(c.j)};return},E={peek(n){if(o.has(n))return{value:o.get(n)};let c=null;try{c=a?a.getItem(n):null}catch{c=null}if(c===null||c===void 0)return;let v=g(c);return o.set(n,v),{value:v}},load(n){let c=E.peek(n),v=c?null:r();if(c||!v)return Promise.resolve(c);return v.get(n).then((x)=>{if(o.has(n))return{value:o.get(n)};let S=D(x);if(S)o.set(n,S.value),p.add(n);return S},()=>{return})},set(n,c){if(o.set(n,c),d&&p.has(n)){N(n,c);return}let v;try{v=JSON.stringify(c===void 0?null:c)}catch{return}if(v.length<=u&&m(n,v))return;if(!r()){if(v.length>u)m(n,v);return}_(n),N(n,c)},forget(n){for(let v of Array.from(o.keys()))if(v.indexOf(n)===0)o.delete(v);for(let v of Array.from(h.keys()))if(v.indexOf(n)===0)h.delete(v);for(let v of Array.from(p))if(v.indexOf(n)===0)p.delete(v);try{if(a)for(let v=a.length-1;v>=0;v--){let x=a.key(v);if(x&&x.indexOf(n)===0)a.removeItem(x)}}catch{}let c=r();if(!c)return l;return l=l.then(()=>c.removePrefix(n)).catch(()=>{}),l},flush(){return k()}};try{if(typeof document<"u"&&document.addEventListener)document.addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden")k()});if(typeof addEventListener==="function")addEventListener("pagehide",()=>{k()})}catch{}return E}function Z(e,s){if(!e)return!1;if(e===s.key)return!0;if(!s.url)return!1;if(e===s.url)return!0;try{let i=typeof location<"u"&&location.origin&&location.origin!=="null"?location.origin:"http://localhost",a=new URL(e,i),d=new URL(s.url,i);if(a.origin!==d.origin||a.pathname!==d.pathname)return!1;return!a.search||a.search===d.search}catch{return!1}}function ee(e){let s=e.prefix||"stx:kept:",i=e.matches||((t,l)=>t===l.key||t===l.url),a=new Set,d=new Map,y,r=(t)=>t===void 0?y:t,u=(t,l)=>{let g=r(l);if(g===!1||g===null||g==="")return null;return`${s}${g===void 0?"":`${g}:`}query:${t}`},f=(t)=>{let l=t&&t.value;if(!l||typeof l!=="object"||!("d"in l))return;return{data:l.d,at:Number(l.at)||0}},o=()=>{let t=globalThis;return t.__stx_outboxes instanceof Map?t.__stx_outboxes:null},p={setScope(t){y=t},scope:()=>y,keyFor:u,seed(t,l){let g=u(t,l);return g?f(e.kept.peek(g)):void 0},restore(t,l){let g=u(t,l);return g?e.kept.load(g).then(f):Promise.resolve(void 0)},persist(t,l,g){let m=u(t,g);if(m)e.kept.set(m,{d:l,at:Date.now()})},overlay(t,l,g){let m=o();if(!m||!m.size)return l;let _=l;return m.forEach((k)=>{try{_=k.overlay(t,_,g)}catch{}}),_},watch(t){return a.add(t),()=>{a.delete(t)}},cachedQuery(t,l){let g=d.get(t);if(g){if(l&&g.__options)g.__options(l);return g}let m=l||{},_=m.initial===void 0?null:m.initial,k=()=>typeof m.scope==="function"?m.scope():m.scope,N=()=>(typeof m.url==="function"?m.url():m.url)||null,D=()=>({key:t,url:N()}),E=k(),n=_,c=0,v=e.sharedRequest(),x=0,S=p.seed(t,E);if(S)n=S.data;let I=e.state(p.overlay(D(),n)),U=e.state(!1),q=e.state(!1),K=e.state(null),P=e.state(S?S.at:0),R=0,F=()=>{I.set(p.overlay(D(),n))},W=(b)=>{let w=R;p.restore(t,b).then((T)=>{if(!T||w!==R||c)return;n=T.data,P.set(T.at),F()})};if(!S)W(E);let _t=()=>{let b=k();if(b===E)return;E=b,R++,x=0,q.set(!1),U.set(!1),c=0;let w=p.seed(t,E);if(n=w?w.data:_,P.set(w?w.at:0),F(),!w)W(E)},xt=(b,w)=>{let T=m.timeoutMs||15000,C=typeof AbortController<"u"?new AbortController:null,O=null,V=new Promise((M,j)=>{O=setTimeout(()=>{if(C)C.abort();j(Error("The request took too long."))},T)}),A;if(m.load)A=m.load({force:b,url:w,signal:C?C.signal:void 0});else if(w){let M=m.fetch||((L,H)=>fetch(L,H)),j={method:"GET",headers:{Accept:"application/json"}};if(b)j.cache="no-cache";if(C)j.signal=C.signal;A=M(w,j).then((L)=>{if(!L.ok)return L.json().catch(()=>null).then((H)=>{throw Error(H&&(H.error||H.message)||`Request failed (${L.status})`)});return L.json()})}else return Promise.resolve(I());return Promise.race([A,V]).then((M)=>{if(O)clearTimeout(O);return m.transform?m.transform(M):M},(M)=>{if(O)clearTimeout(O);throw M})},G=(b)=>{let w=R,T=N(),C=()=>{if(w!==R)return Promise.resolve(I());if(x++,q.set(!0),c===0&&!P())U.set(!0);let V=()=>{if(w!==R)return;if(x=Math.max(0,x-1),!x)q.set(!1),U.set(!1)};return xt(b,T).then((A)=>{if(w!==R||T!==N())return V(),I();return n=A,c=Date.now(),P.set(c),K.set(null),p.persist(t,A,E),F(),V(),I()},(A)=>{if(w===R&&T===N())K.set(A&&A.message?A.message:"Could not load.");return V(),I()})},O=`${w} ${T||""}`;return b?v.fresh(O,C):v.run(O,C)},B={data:I,loading:U,isFetching:q,error:K,updatedAt:P,get key(){return t},load(b){if(_t(),!b&&c&&Date.now()-c<(m.staleTime||0))return Promise.resolve(I());return G(!!b)},refresh(){return B.load(!0)},set(b){n=typeof b==="function"?b(n):b,p.persist(t,n,E),F()},invalidate(){c=0},__options(b){m={...m,...b}}};if(a.add({target:D,updated:()=>{if(c||P())G(!1)},outbox:(b)=>{if(b)n=p.overlay(D(),n,b.id),c=0,G(!0);F()}}),d.set(t,B),m.immediate)B.load();return B}},h=typeof window<"u"?window:typeof addEventListener==="function"?globalThis:null;if(e.listen!==!1&&h&&typeof h.addEventListener==="function")h.addEventListener("stx:updated",(t)=>{let l=t.detail||{};if(l.kind!=="api"||typeof l.url!=="string")return;a.forEach((g)=>{if(i(l.url,g.target()))g.updated()})}),h.addEventListener("stx:outbox",(t)=>{let l=t.detail||{},g=l.sent&&typeof l.sent.id==="string"?l.sent:null;a.forEach((m)=>{if(g){let _=Array.isArray(g.affects)?g.affects:[],k=m.target();if(!_.some((N)=>i(N,k)))return}m.outbox(g)})});return p}function te(e){let s=e&&e.covers||((r,u)=>Object.is(r,u)),i=[],a=[],d=0,y=(r,u)=>{let f;try{f=Promise.resolve(u())}catch(h){f=Promise.reject(h)}let o={key:r,promise:f};i.push(o);let p=()=>{let h=i.indexOf(o);if(h!==-1)i.splice(h,1)};return f.then(p,p),f};return{run(r,u){for(let f of i)if(s(f.key,r))return f.promise;for(let f of a)if(s(f.key,r))return f.promise;return y(r,u)},fresh(r,u){for(let h of a)if(s(h.key,r))return h.promise;let f=i.filter((h)=>s(h.key,r)).map((h)=>h.promise);if(!f.length)return y(r,u);let o={key:r,promise:null},p=()=>{};return o.promise=Promise.all(f.map((h)=>h.then(p,p))).then(()=>{let h=a.indexOf(o);if(h!==-1)a.splice(h,1);return y(r,u)}),a.push(o),o.promise},latest(){let r=++d;return()=>r===d},get busy(){return i.length>0||a.length>0}}}function ne(e){let s=!1,i=null,a=null,d=0;async function y(){if(s)return;i=new AbortController;try{let r=await e.request(e.endpoint,{signal:i.signal,cache:"no-store",headers:{Accept:"text/event-stream"}});if(!r.ok||!r.body||!r.headers.get("content-type")?.includes("text/event-stream"))throw Error("Broadcast stream unavailable");if(s){await r.body.cancel();return}let u=r.body.getReader(),f=new TextDecoder,o="";d=0,e.onStatus?.(!0),e.onConnected?.();try{while(!s){let{done:p,value:h}=await u.read();if(p)break;if(o+=f.decode(h,{stream:!0}).replace(/\r\n/g,`
3
3
  `),o.length>1048576)throw Error("Broadcast frame too large");let t;while((t=o.indexOf(`
4
4
 
5
5
  `))!==-1){let l=o.slice(0,t);o=o.slice(t+2);let g=l.split(`
@@ -4505,6 +4505,8 @@ catch (e) {
4505
4505
  // missing String#indexOf method.
4506
4506
  var text = node.nodeValue == null ? '' : String(node.nodeValue);
4507
4507
  if (text.indexOf('{{') === -1 || text.indexOf('}}') === -1) continue;
4508
+ // Text a binding wrote is data and may legitimately hold braces.
4509
+ if (typeof isInertContent === 'function' && isInertContent(node)) continue;
4508
4510
  if (auditSkipped(node)) continue;
4509
4511
  found.push(text.trim().slice(0, 80));
4510
4512
  if (found.length >= 5) break;
@@ -7481,7 +7483,13 @@ else {
7481
7483
 
7482
7484
  return value;
7483
7485
  }
7484
- `;function tt(e,s,i){return` // skipChildren: this element's bindings only, because something else already
7486
+ `;function tt(e,s,i){return` // True for text a binding wrote, or markup :html injected: data, never
7487
+ // template. Checked only for text that holds braces, so the climb is rare.
7488
+ function isInertContent(node) {
7489
+ for (var n = node; n; n = n.parentNode) if (n.__stx_inert_content) return true;
7490
+ return false;
7491
+ }
7492
+ // skipChildren: this element's bindings only, because something else already
7485
7493
  // knows where the rest are. The manifest path passes it for every entry, so
7486
7494
  // the tree is never walked; see processFromManifest.
7487
7495
  function processElement(el, scope = componentScope, skipChildren) {
@@ -7547,6 +7555,10 @@ else {
7547
7555
  // implementations and user-created nodes can retain a numeric value
7548
7556
  // assigned by a binding. Normalize before interpolation detection.
7549
7557
  const text = el.textContent == null ? '' : String(el.textContent);
7558
+ // Text a binding wrote is data, never template: the scan below only
7559
+ // reads what the author wrote. A binding marks the element (or text node)
7560
+ // that owns its output, so a later pass over the same tree skips it.
7561
+ if (text && text.includes('{{') && isInertContent(el)) return;
7550
7562
  if (text && text.includes('{{')) {
7551
7563
  const parts = text.split(/(\\{\\{[\\s\\S]+?\\}\\})/g);
7552
7564
  if (parts.length > 1) {
@@ -7573,6 +7585,7 @@ else {
7573
7585
  const bindingNode = isTextOnlyParent
7574
7586
  ? document.createTextNode('')
7575
7587
  : document.createElement('span');
7588
+ bindingNode.__stx_inert_content = true;
7576
7589
  fragment.appendChild(bindingNode);
7577
7590
  // Use captured scope, not dynamic lookup
7578
7591
  effect(() => {
@@ -7962,12 +7975,16 @@ else if (name === '@style' || name === ':style' || name === 'x-style') {
7962
7975
  el.removeAttribute(name);
7963
7976
  }
7964
7977
  else if (name === '@text' || name === ':text' || name === 'x-text') {
7978
+ el.__stx_inert_content = true;
7965
7979
  effect(() => {
7966
7980
  stxHost.setText(el, evalAttrExpr(value));
7967
7981
  });
7968
7982
  el.removeAttribute(name);
7969
7983
  }
7970
7984
  else if (name === '@html' || name === ':html' || name === 'x-html') {
7985
+ // Injected markup is data: nothing in it is a binding, so the child
7986
+ // walk below must not read its text or attributes as template syntax.
7987
+ el.__stx_inert_content = true;
7971
7988
  effect(() => {
7972
7989
  // Coerce null/undefined to '' so a missing/unresolved binding renders
7973
7990
  // nothing rather than the literal string "undefined" (#1767).
@@ -8182,7 +8199,7 @@ catch (e) {
8182
8199
 
8183
8200
  // Process children (skip script/style elements \u2014 their text content is not template markup)
8184
8201
  // Skip elements that are roots of nested stx.mount() components \u2014 those have their own scope
8185
- if (!skipChildren && el.tagName !== 'SCRIPT' && el.tagName !== 'STYLE') {
8202
+ if (!skipChildren && !el.__stx_inert_content && el.tagName !== 'SCRIPT' && el.tagName !== 'STYLE') {
8186
8203
  var children = Array.from(el.childNodes);
8187
8204
  children.forEach(function(child) {
8188
8205
  if (child.nodeType !== Node.ELEMENT_NODE) { processElement(child, scope); return; }
@@ -9740,7 +9757,7 @@ catch (e2) {
9740
9757
  var contentRoot = (contentEl === el) ? el : contentEl;
9741
9758
  Array.from(contentRoot.childNodes).forEach(function(child) { processElement(child, scope); });
9742
9759
  }
9743
- `;var mt=` // ==========================================================================
9760
+ `;var gt=` // ==========================================================================
9744
9761
  // Timer & Utility Composables
9745
9762
  // ==========================================================================
9746
9763
 
@@ -10613,7 +10630,7 @@ else if (timer === null) {
10613
10630
  subscribe: subscribe
10614
10631
  };
10615
10632
  }
10616
- `;function gt(){let e=St(Fn());try{let i=new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(e);return i=i.replace(/\}(var |let |const |function )/g,"};$1"),i}catch{return e}}function St(e){let s=[],i=0,a="console.log(";while(i<e.length){let d=e.indexOf(a,i);if(d===-1){s.push(e.slice(i));break}s.push(e.slice(i,d));let y=1,r=d+a.length;while(r<e.length&&y>0){let u=e[r];if(u==='"'||u==="'"||u==="`"){let f=u;r++;while(r<e.length&&e[r]!==f){if(e[r]==="\\")r++;r++}r++;continue}if(u==="(")y++;else if(u===")")y--;r++}s.push("0"),i=r}return s.join("")}function Fn(){return`${ae}${Me}
10633
+ `;function mt(){let e=St(zn());try{let i=new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(e);return i=i.replace(/\}(var |let |const |function )/g,"};$1"),i}catch{return e}}function St(e){let s=[],i=0,a="console.log(";while(i<e.length){let d=e.indexOf(a,i);if(d===-1){s.push(e.slice(i));break}s.push(e.slice(i,d));let y=1,r=d+a.length;while(r<e.length&&y>0){let u=e[r];if(u==='"'||u==="'"||u==="`"){let f=u;r++;while(r<e.length&&e[r]!==f){if(e[r]==="\\")r++;r++}r++;continue}if(u==="(")y++;else if(u===")")y--;r++}s.push("0"),i=r}return s.join("")}function zn(){return`${ae}${Me}
10617
10634
  ${Je(ie,ke,Te)}
10618
10635
 
10619
10636
  ${Oe}
@@ -10640,7 +10657,7 @@ ${se}
10640
10657
  ${ue}
10641
10658
  ${me}
10642
10659
  ${Ke}
10643
- ${tt(ll(),ul(),cl())}
10660
+ ${tt(ul(),dl(),ll())}
10644
10661
 
10645
10662
  ${ft}
10646
10663
  ${it}
@@ -10657,7 +10674,7 @@ ${fe}
10657
10674
  ${Le}
10658
10675
  ${Fe}
10659
10676
  ${de}
10660
- ${mt}
10677
+ ${gt}
10661
10678
  ${re}
10662
10679
  ${Ze}
10663
10680
 
@@ -10693,5 +10710,5 @@ ${lt}
10693
10710
  ${ct}
10694
10711
  ${at}
10695
10712
  })();
10696
- `}var Gm={state:le,derived:zn,effect:Hn,batch:fo,onMount:Wr,onDestroy:qr,isSignal:Vn,isDerived:Un,untrack:go,peek:Kr,generateSignalsRuntime:gt,generateSignalsRuntimeDev:Fn};
10697
- export{gt,Fn,Gm};
10713
+ `}var nh={state:le,derived:Hn,effect:Vn,batch:mo,onMount:qr,onDestroy:Kr,isSignal:Un,isDerived:Wn,untrack:ho,peek:Gr,generateSignalsRuntime:mt,generateSignalsRuntimeDev:zn};
10714
+ export{mt,zn,nh};