sibujs 3.4.0 → 3.4.1

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 (52) hide show
  1. package/dist/browser.cjs +1 -1
  2. package/dist/browser.js +4 -4
  3. package/dist/build.cjs +1 -1
  4. package/dist/build.js +10 -10
  5. package/dist/cdn.global.js +1 -1
  6. package/dist/{chunk-KZBEVFXZ.js → chunk-335KJEN2.js} +1 -1
  7. package/dist/{chunk-ODXVQ3CS.js → chunk-3FFCUIGV.js} +3 -3
  8. package/dist/{chunk-ITWCTZYH.js → chunk-4I3M326N.js} +1 -1
  9. package/dist/{chunk-OAVXAFAY.js → chunk-5MFF5EPT.js} +4 -4
  10. package/dist/{chunk-RT3IYFN2.js → chunk-6CAJU5TP.js} +1 -1
  11. package/dist/{chunk-AXFWGY32.js → chunk-7PNKW3FJ.js} +5 -5
  12. package/dist/{chunk-OOUQUCNN.js → chunk-BQLVTAUZ.js} +1 -1
  13. package/dist/{chunk-WSGLJYFI.js → chunk-CV7FAQ2R.js} +1 -1
  14. package/dist/{chunk-K35BAR4P.js → chunk-DLBFEAIS.js} +1 -1
  15. package/dist/{chunk-S3V6ZXPI.js → chunk-FWFEBYQ6.js} +2 -2
  16. package/dist/{chunk-ELXMRSVN.js → chunk-MPE75KOA.js} +4 -4
  17. package/dist/{chunk-JNGGM2XE.js → chunk-NXR2YFZB.js} +2 -2
  18. package/dist/{chunk-3DVGCW7O.js → chunk-PBZWJQNY.js} +3 -3
  19. package/dist/{chunk-H5FI5WDP.js → chunk-QHPUFNHZ.js} +1 -1
  20. package/dist/{chunk-APFRCIRI.js → chunk-S2VW4NBA.js} +9 -9
  21. package/dist/{chunk-3Z2NGWQI.js → chunk-VQZDHAEK.js} +1 -1
  22. package/dist/{chunk-JCO7AHNU.js → chunk-WEZ5SP7L.js} +2 -2
  23. package/dist/{chunk-BUKYCWHX.js → chunk-X4JS367G.js} +1 -1
  24. package/dist/{chunk-FKQG7FTY.js → chunk-Y22QAKJX.js} +4 -4
  25. package/dist/{chunk-CEBWDD63.js → chunk-YDWP3ZOU.js} +3 -3
  26. package/dist/data.cjs +1 -1
  27. package/dist/data.js +6 -6
  28. package/dist/devtools.cjs +1 -1
  29. package/dist/devtools.js +4 -4
  30. package/dist/ecosystem.cjs +1 -1
  31. package/dist/ecosystem.js +7 -7
  32. package/dist/extras.cjs +1 -1
  33. package/dist/extras.js +19 -19
  34. package/dist/index.cjs +1 -1
  35. package/dist/index.js +10 -10
  36. package/dist/motion.cjs +1 -1
  37. package/dist/motion.js +3 -3
  38. package/dist/patterns.cjs +1 -1
  39. package/dist/patterns.js +5 -5
  40. package/dist/performance.cjs +1 -1
  41. package/dist/performance.js +4 -4
  42. package/dist/plugins.cjs +5 -2
  43. package/dist/plugins.js +10 -7
  44. package/dist/ssr.cjs +1 -1
  45. package/dist/ssr.js +7 -7
  46. package/dist/testing.cjs +1 -1
  47. package/dist/testing.js +2 -2
  48. package/dist/ui.cjs +1 -1
  49. package/dist/ui.js +6 -6
  50. package/dist/widgets.cjs +1 -1
  51. package/dist/widgets.js +6 -6
  52. package/package.json +1 -1
package/dist/browser.cjs CHANGED
@@ -497,7 +497,7 @@ function forEachSubscriber(signal2, visit) {
497
497
 
498
498
  // src/reactivity/track.ts
499
499
  var _isDev3 = isDev();
500
- var _runtimeVersion = true ? "3.4.0" : "dev";
500
+ var _runtimeVersion = true ? "3.4.1" : "dev";
501
501
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
502
502
  function resolveReactiveApi() {
503
503
  const g = globalThis;
package/dist/browser.js CHANGED
@@ -35,12 +35,12 @@ import {
35
35
  visibility,
36
36
  wakeLock,
37
37
  windowSize
38
- } from "./chunk-S3V6ZXPI.js";
38
+ } from "./chunk-FWFEBYQ6.js";
39
39
  import "./chunk-H3SRKIYX.js";
40
- import "./chunk-BUKYCWHX.js";
40
+ import "./chunk-X4JS367G.js";
41
41
  import "./chunk-S3NFJO6L.js";
42
- import "./chunk-KZBEVFXZ.js";
43
- import "./chunk-OOUQUCNN.js";
42
+ import "./chunk-335KJEN2.js";
43
+ import "./chunk-BQLVTAUZ.js";
44
44
  import "./chunk-COY6PUD2.js";
45
45
  export {
46
46
  animationFrame,
package/dist/build.cjs CHANGED
@@ -1869,7 +1869,7 @@ function forEachSubscriber(signal2, visit) {
1869
1869
 
1870
1870
  // src/reactivity/track.ts
1871
1871
  var _isDev4 = isDev();
1872
- var _runtimeVersion = true ? "3.4.0" : "dev";
1872
+ var _runtimeVersion = true ? "3.4.1" : "dev";
1873
1873
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
1874
1874
  function resolveReactiveApi() {
1875
1875
  const g2 = globalThis;
package/dist/build.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  index_exports
3
- } from "./chunk-APFRCIRI.js";
4
- import "./chunk-3Z2NGWQI.js";
5
- import "./chunk-H5FI5WDP.js";
3
+ } from "./chunk-S2VW4NBA.js";
4
+ import "./chunk-VQZDHAEK.js";
5
+ import "./chunk-QHPUFNHZ.js";
6
6
  import "./chunk-CCSJMTRN.js";
7
7
  import "./chunk-EX77FXTT.js";
8
- import "./chunk-RT3IYFN2.js";
9
- import "./chunk-JNGGM2XE.js";
10
- import "./chunk-K35BAR4P.js";
11
- import "./chunk-ITWCTZYH.js";
8
+ import "./chunk-6CAJU5TP.js";
9
+ import "./chunk-NXR2YFZB.js";
10
+ import "./chunk-DLBFEAIS.js";
11
+ import "./chunk-4I3M326N.js";
12
12
  import "./chunk-7ZHH77QA.js";
13
13
  import "./chunk-L3GAGWCC.js";
14
- import "./chunk-BUKYCWHX.js";
14
+ import "./chunk-X4JS367G.js";
15
15
  import "./chunk-S3NFJO6L.js";
16
16
  import "./chunk-5VGSK6D2.js";
17
- import "./chunk-KZBEVFXZ.js";
18
- import "./chunk-OOUQUCNN.js";
17
+ import "./chunk-335KJEN2.js";
18
+ import "./chunk-BQLVTAUZ.js";
19
19
  import "./chunk-COY6PUD2.js";
20
20
 
21
21
  // src/build/compileTemplates.ts
@@ -1,4 +1,4 @@
1
- "use strict";var Sibu=(()=>{var Ve=Object.defineProperty;var is=Object.getOwnPropertyDescriptor;var ss=Object.getOwnPropertyNames;var as=Object.prototype.hasOwnProperty;var Vt=(e,n)=>{for(var t in n)Ve(e,t,{get:n[t],enumerable:!0})},cs=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of ss(n))!as.call(e,o)&&o!==t&&Ve(e,o,{get:()=>n[o],enumerable:!(r=is(n,o))||r.enumerable});return e};var us=e=>cs(Ve({},"__esModule",{value:!0}),e);var ya={};Vt(ya,{DynamicComponent:()=>Ti,ErrorBoundary:()=>si,ErrorDisplay:()=>qe,Fragment:()=>Ai,KeepAlive:()=>Li,Loading:()=>ci,Portal:()=>Mi,SVG_NS:()=>A,Suspense:()=>ut,__resetIdCounter:()=>bi,a:()=>Vn,abbr:()=>Kn,action:()=>li,address:()=>Ln,area:()=>hr,array:()=>Hi,article:()=>En,aside:()=>Cn,asyncDerived:()=>$i,audio:()=>yr,autoResize:()=>_t,b:()=>Un,base:()=>po,batch:()=>D,bdi:()=>Jn,bdo:()=>Gn,bindDynamic:()=>ot,blockquote:()=>$n,body:()=>xn,br:()=>Yn,button:()=>ue,canvas:()=>Rr,caption:()=>Ir,catchError:()=>di,catchErrorAsync:()=>fi,center:()=>Do,checkLeaks:()=>Ut,circle:()=>bo,cite:()=>Zn,clickOutside:()=>kt,clipPath:()=>_o,code:()=>Pe,col:()=>Pr,colgroup:()=>Br,context:()=>mi,copyOnClick:()=>At,createId:()=>gi,customElement:()=>Bo,data:()=>Qn,datalist:()=>Ur,dd:()=>Dn,deepEqual:()=>fe,deepSignal:()=>Di,defer:()=>Qi,defs:()=>Ao,del:()=>$r,derived:()=>je,details:()=>so,dfn:()=>Xn,dialog:()=>ao,disableSSR:()=>Uo,dispose:()=>C,div:()=>k,dl:()=>In,dt:()=>Pn,each:()=>ki,effect:()=>R,ellipse:()=>ho,em:()=>er,embed:()=>Er,enableSSR:()=>Ko,enhance:()=>Ee,enhanceAll:()=>Wi,enqueueBatchedSignal:()=>J,fieldset:()=>Jr,figcaption:()=>Bn,figure:()=>Fn,font:()=>Io,footer:()=>wn,form:()=>Gr,g:()=>yo,getAction:()=>Et,getRequestScopedCache:()=>Vo,getSSRStore:()=>X,getSlot:()=>Ri,h1:()=>Nn,h2:()=>Mn,h3:()=>De,h4:()=>Rn,h5:()=>Hn,h6:()=>On,head:()=>vn,header:()=>kn,hr:()=>zn,html:()=>$t,i:()=>tr,iframe:()=>kr,img:()=>vr,input:()=>Yr,ins:()=>Dr,isBatching:()=>ei,isSSR:()=>ee,kbd:()=>nr,label:()=>Zr,lazy:()=>ct,lazyIsland:()=>Ui,legend:()=>Qr,li:()=>qn,line:()=>vo,linearGradient:()=>No,link:()=>mo,longPress:()=>wt,main:()=>_n,map:()=>xr,mark:()=>rr,marker:()=>$o,marquee:()=>Po,mask:()=>Co,match:()=>vi,math:()=>Mr,menu:()=>co,meta:()=>go,meter:()=>Xr,mount:()=>Ni,mountIslands:()=>Yi,nav:()=>An,nextTick:()=>es,noscript:()=>Hr,object:()=>wr,ol:()=>jn,on:()=>Qo,onCleanup:()=>jo,onMount:()=>Se,onUnmount:()=>qo,optgroup:()=>eo,option:()=>to,output:()=>no,p:()=>$e,param:()=>Ar,path:()=>xo,pattern:()=>Lo,picture:()=>_r,polygon:()=>So,polyline:()=>To,portal:()=>Cr,pre:()=>Ie,progress:()=>ro,q:()=>or,radialGradient:()=>Mo,reactiveArray:()=>Oi,rect:()=>Eo,ref:()=>Ii,registerAction:()=>te,registerComponent:()=>xi,registerDisposer:()=>S,registerIsland:()=>Ji,resolveComponent:()=>Rt,retrack:()=>B,rp:()=>ir,rt:()=>sr,ruby:()=>ar,runInSSRContext:()=>Jo,s:()=>cr,samp:()=>ur,script:()=>Or,section:()=>Tn,select:()=>oo,setGlobalErrorHandler:()=>pi,setMaxDrainIterations:()=>nt,show:()=>hi,signal:()=>_,slot:()=>lo,small:()=>lr,source:()=>Lr,span:()=>N,stop:()=>Ro,store:()=>Pi,strict:()=>zi,strictEffect:()=>qi,strong:()=>dr,style:()=>U,sub:()=>fr,summary:()=>uo,sup:()=>pr,svg:()=>Nr,symbol:()=>Oo,table:()=>Fr,tagFactory:()=>d,takePendingError:()=>xe,tbody:()=>zr,td:()=>qr,template:()=>fo,text:()=>ko,textarea:()=>io,tfoot:()=>jr,th:()=>Wr,thead:()=>Vr,time:()=>mr,title:()=>Sn,tr:()=>Kr,track:()=>Sr,transition:()=>Xi,trapFocus:()=>Ct,trustHTML:()=>Dt,tspan:()=>wo,u:()=>gr,ul:()=>Wn,unregisterComponent:()=>Si,unregisterIsland:()=>Gi,untracked:()=>K,use:()=>Ho,var_:()=>br,video:()=>Tr,watch:()=>Bi,when:()=>yi,withSSR:()=>Go,writable:()=>Fi});var It={};Vt(It,{DynamicComponent:()=>Ti,ErrorBoundary:()=>si,ErrorDisplay:()=>qe,Fragment:()=>Ai,KeepAlive:()=>Li,Loading:()=>ci,Portal:()=>Mi,SVG_NS:()=>A,Suspense:()=>ut,__resetIdCounter:()=>bi,a:()=>Vn,abbr:()=>Kn,action:()=>li,address:()=>Ln,area:()=>hr,array:()=>Hi,article:()=>En,aside:()=>Cn,asyncDerived:()=>$i,audio:()=>yr,autoResize:()=>_t,b:()=>Un,base:()=>po,batch:()=>D,bdi:()=>Jn,bdo:()=>Gn,bindDynamic:()=>ot,blockquote:()=>$n,body:()=>xn,br:()=>Yn,button:()=>ue,canvas:()=>Rr,caption:()=>Ir,catchError:()=>di,catchErrorAsync:()=>fi,center:()=>Do,checkLeaks:()=>Ut,circle:()=>bo,cite:()=>Zn,clickOutside:()=>kt,clipPath:()=>_o,code:()=>Pe,col:()=>Pr,colgroup:()=>Br,context:()=>mi,copyOnClick:()=>At,createId:()=>gi,customElement:()=>Bo,data:()=>Qn,datalist:()=>Ur,dd:()=>Dn,deepEqual:()=>fe,deepSignal:()=>Di,defer:()=>Qi,defs:()=>Ao,del:()=>$r,derived:()=>je,details:()=>so,dfn:()=>Xn,dialog:()=>ao,disableSSR:()=>Uo,dispose:()=>C,div:()=>k,dl:()=>In,dt:()=>Pn,each:()=>ki,effect:()=>R,ellipse:()=>ho,em:()=>er,embed:()=>Er,enableSSR:()=>Ko,enhance:()=>Ee,enhanceAll:()=>Wi,enqueueBatchedSignal:()=>J,fieldset:()=>Jr,figcaption:()=>Bn,figure:()=>Fn,font:()=>Io,footer:()=>wn,form:()=>Gr,g:()=>yo,getAction:()=>Et,getRequestScopedCache:()=>Vo,getSSRStore:()=>X,getSlot:()=>Ri,h1:()=>Nn,h2:()=>Mn,h3:()=>De,h4:()=>Rn,h5:()=>Hn,h6:()=>On,head:()=>vn,header:()=>kn,hr:()=>zn,html:()=>$t,i:()=>tr,iframe:()=>kr,img:()=>vr,input:()=>Yr,ins:()=>Dr,isBatching:()=>ei,isSSR:()=>ee,kbd:()=>nr,label:()=>Zr,lazy:()=>ct,lazyIsland:()=>Ui,legend:()=>Qr,li:()=>qn,line:()=>vo,linearGradient:()=>No,link:()=>mo,longPress:()=>wt,main:()=>_n,map:()=>xr,mark:()=>rr,marker:()=>$o,marquee:()=>Po,mask:()=>Co,match:()=>vi,math:()=>Mr,menu:()=>co,meta:()=>go,meter:()=>Xr,mount:()=>Ni,mountIslands:()=>Yi,nav:()=>An,nextTick:()=>es,noscript:()=>Hr,object:()=>wr,ol:()=>jn,on:()=>Qo,onCleanup:()=>jo,onMount:()=>Se,onUnmount:()=>qo,optgroup:()=>eo,option:()=>to,output:()=>no,p:()=>$e,param:()=>Ar,path:()=>xo,pattern:()=>Lo,picture:()=>_r,polygon:()=>So,polyline:()=>To,portal:()=>Cr,pre:()=>Ie,progress:()=>ro,q:()=>or,radialGradient:()=>Mo,reactiveArray:()=>Oi,rect:()=>Eo,ref:()=>Ii,registerAction:()=>te,registerComponent:()=>xi,registerDisposer:()=>S,registerIsland:()=>Ji,resolveComponent:()=>Rt,retrack:()=>B,rp:()=>ir,rt:()=>sr,ruby:()=>ar,runInSSRContext:()=>Jo,s:()=>cr,samp:()=>ur,script:()=>Or,section:()=>Tn,select:()=>oo,setGlobalErrorHandler:()=>pi,setMaxDrainIterations:()=>nt,show:()=>hi,signal:()=>_,slot:()=>lo,small:()=>lr,source:()=>Lr,span:()=>N,stop:()=>Ro,store:()=>Pi,strict:()=>zi,strictEffect:()=>qi,strong:()=>dr,style:()=>U,sub:()=>fr,summary:()=>uo,sup:()=>pr,svg:()=>Nr,symbol:()=>Oo,table:()=>Fr,tagFactory:()=>d,takePendingError:()=>xe,tbody:()=>zr,td:()=>qr,template:()=>fo,text:()=>ko,textarea:()=>io,tfoot:()=>jr,th:()=>Wr,thead:()=>Vr,time:()=>mr,title:()=>Sn,tr:()=>Kr,track:()=>Sr,transition:()=>Xi,trapFocus:()=>Ct,trustHTML:()=>Dt,tspan:()=>wo,u:()=>gr,ul:()=>Wn,unregisterComponent:()=>Si,unregisterIsland:()=>Gi,untracked:()=>K,use:()=>Ho,var_:()=>br,video:()=>Tr,watch:()=>Bi,when:()=>yi,withSSR:()=>Go,writable:()=>Fi});function w(){return typeof globalThis.__SIBU_DEV__<"u"?!!globalThis.__SIBU_DEV__:typeof __SIBU_DEV__<"u"?__SIBU_DEV__:typeof process<"u"&&process.env?.NODE_ENV!=="production"}var Kt=w();function $(e,n){if(Kt&&!e)throw new Error(`[SibuJS] ${n}`)}function E(e){Kt&&console.warn(`[SibuJS] ${e}`)}var oe=new WeakMap,ie=w(),se=0;function S(e,n){let t=oe.get(e);t||(t=[],oe.set(e,t)),t.push(n),ie&&se++}function C(e){let n=[e],t=[];for(;n.length>0;){let r=n.pop();t.push(r);let o=Array.from(r.childNodes);for(let i=0;i<o.length;i++)n.push(o[i])}for(let r=t.length-1;r>=0;r--){let o=t[r],i=oe.get(o);if(i){let s=i.slice();oe.delete(o),ie&&(se-=s.length);for(let u of s)try{u()}catch(c){ie&&typeof console<"u"&&console.warn("[SibuJS] Disposer threw during cleanup:",c)}let a=0;for(;a++<8;){let u=oe.get(o);if(!u||u.length===0)break;let c=u.slice();oe.delete(o),ie&&(se-=c.length);for(let l of c)try{l()}catch(p){ie&&typeof console<"u"&&console.warn("[SibuJS] Disposer threw during cleanup:",p)}}}}}function Ut(e=0){return ie?(e>0&&se>e&&E(`checkLeaks: ${se} active DOM bindings detected. Expected \u2264${e}. This may indicate a component was removed from the DOM without calling dispose().`),se):0}function ls(e){return e.replace(/[\x00-\x20\x7f-\x9f]+/g,"")}function G(e){if(e.length<3)return!1;let n=e.toLowerCase();return n[0]==="o"&&n[1]==="n"&&n.charCodeAt(2)>=97&&n.charCodeAt(2)<=122}var ds=["http:","https:","mailto:","tel:","ftp:"];function me(e){let n=ls(e).trim();if(!n)return"";let t=n.toLowerCase(),r=-1;for(let i=0;i<t.length;i++){let s=t.charCodeAt(i);if(s===58){r=i;break}if(s===47||s===63||s===35)break}if(r===-1)return n;let o=t.slice(0,r+1);return/^[a-z][a-z0-9+.-]*:$/.test(o)&&ds.indexOf(o)===-1?"":n}function Ce(e){let n=e.split(","),t=[];for(let r=0;r<n.length;r++){let o=n[r].trim();if(!o)continue;let i=o.match(/^(\S+)(\s+.+)?$/);if(!i)continue;let s=me(i[1]);s&&t.push(i[2]?`${s}${i[2]}`:s)}return t.join(", ")}var fs=/[(:@\\]/;function Ke(e){if(!fs.test(e))return e;let t=e.replace(/\\([0-9a-fA-F]{1,6})\s?/g,(r,o)=>{let i=Number.parseInt(o,16);if(!Number.isFinite(i)||i<0||i>1114111)return"";try{return String.fromCodePoint(i)}catch{return""}}).toLowerCase().replace(/\s+/g,"");return t.includes("url(")||t.includes("expression(")||t.includes("javascript:")||t.includes("vbscript:")||t.includes("-moz-binding")||t.includes("behavior:")||t.includes("@import")||t.includes("image-set(")||t.includes("filter:progid")?"":e}var Jt=new Set(["href","xlink:href","src","action","formaction","formtarget","cite","poster","background","srcset","ping","data"]);function Ue(e){return Jt.has(e.toLowerCase())}function ge(e,n){let t=e.toLowerCase();return t==="srcset"?Ce(n):Jt.has(t)?me(n):n}var ps=w(),ms=4096,Je=[];function gs(){return{sig:null,sub:null,epoch:0,sigPrev:null,sigNext:null,subPrev:null,subNext:null,prevActive:null}}function bs(e,n,t){let r=Je.pop();if(r)return r.sig=e,r.sub=n,r.epoch=t,r;let o=gs();return o.sig=e,o.sub=n,o.epoch=t,o}function Gt(e){e.sig=null,e.sub=null,e.sigPrev=null,e.sigNext=null,e.subPrev=null,e.subNext=null,e.prevActive=null,Je.length<ms&&Je.push(e)}function hs(e,n){let t=e.subsHead??null;n.sigPrev=null,n.sigNext=t,t?t.sigPrev=n:e.subsTail=n,e.subsHead=n,e.__sc=(e.__sc??0)+1}function Yt(e){let n=e.sig;if(!n)return;let t=e.sigPrev,r=e.sigNext;t?t.sigNext=r:n.subsHead=r,r?r.sigPrev=t:n.subsTail=t,n.__sc=(n.__sc??1)-1,n.__activeNode===e&&(n.__activeNode=e.prevActive),n.__sc===0&&(n.subsHead=null,n.subsTail=null)}function ys(e,n){let t=e.depsTail??null;n.subPrev=t,n.subNext=null,t?t.subNext=n:e.depsHead=n,e.depsTail=n}function vs(e){let n=e.sub;if(!n)return;let t=e.subPrev,r=e.subNext;t?t.subNext=r:n.depsHead=r,r?r.subPrev=t:n.depsTail=t}var P=null,Ge=null,W=0,V=[],I=new Set,xs=[];function Ss(e){try{e()}catch(n){ps&&E(`Subscriber threw during notification: ${n instanceof Error?n.message:String(n)}`)}}var Le=0,Ze=!1;function Qe(){Le===0&&(Ge=P,P=null,Ze=!0),Le++}function Xe(){Le--,Le===0&&(P=Ge,Ge=null,Ze=!1)}function Zt(){return Ze}function Qt(e){Qe();try{return e()}finally{Xe()}}var Ts=0;function et(e,n){let t=P;P=n;let r=n,o=++Ts;r._epoch=o,r._structDirty=!1;for(let i=r.depsHead??null;i!==null;i=i.subNext){let s=i.sig;i.prevActive=s.__activeNode??null,s.__activeNode=i}try{e()}finally{P=t;let i=r.depsHead??null;for(;i!==null;){let s=i.subNext,a=i.sig;a.__activeNode=i.prevActive,i.prevActive=null,i.epoch!==o&&(vs(i),Yt(i),Gt(i)),i=s}}}function Xt(e,n){if(!n)return tt(e);be(n);let t=P;P=n;try{e()}finally{P=t;let o=n;for(let i=o.depsHead??null;i!==null;i=i.subNext){let s=i.sig;s.__activeNode=i.prevActive,i.prevActive=null}}let r=n;return r._dispose??(r._dispose=()=>be(n))}function tt(e){let n=()=>{let r=t;if(!(r._disposed||r._reentrant)){r._reentrant=!0;try{et(e,t)}finally{r._reentrant=!1}}},t=n;return t.depsHead=null,t.depsTail=null,t._epoch=0,t._structDirty=!1,t._runEpoch=0,t._runs=0,t._reentrant=!1,t._disposed=!1,n(),t._dispose??(t._dispose=()=>{t._disposed=!0,be(t)})}function en(e){if(!P)return;let n=P,t=e,r=n._epoch??0,o=t.__activeNode??null;if(o!==null&&o.sub===n){o.epoch=r;return}let i=bs(e,n,r);i.prevActive=o,t.__activeNode=i,ys(n,i),hs(t,i),n._structDirty=!0}function be(e){let n=e,t=n.depsHead??null;for(n.depsHead=null,n.depsTail=null;t;){let r=t.subNext;Yt(t),Gt(t),t=r}}var Ne=50,Me=1e6,Re=0;function tn(e){let n=Ne;return Number.isFinite(e)&&e>0&&(Ne=Math.floor(e)),n}function nn(e){let n=Me;return Number.isFinite(e)&&e>0&&(Me=Math.floor(e)),n}function Es(e){let n=e;return n._runEpoch!==Re?(n._runEpoch=Re,n._runs=1,!1):(n._runs=(n._runs??0)+1,n._runs>Ne)}function ks(e){if(typeof console<"u"){let n=e.__name??"<unnamed>";console.error(`[SibuJS] subscriber "${n}" fired more than ${Ne} times \u2014 likely a write-reads-self cycle between effects/signals. Breaking to prevent infinite loop.`)}}function ws(){typeof console<"u"&&console.error(`[SibuJS] Notification drain exceeded ${Me} iterations \u2014 absolute safety net tripped. Breaking to prevent infinite loop.`)}function rn(){let e=0;for(;e<V.length;){if(e>=Me){ws();break}let n=V[e++];if(Es(n)){ks(n);break}I.delete(n),Ss(n)}}function on(){if(!(W>0)){W++,Re++;try{rn()}finally{W--,W===0&&(V.length=0,I.clear())}}}function Ye(e){e();let n=e._sig;if(!n)return;let t=xs,r=t.length;for(t.push(n);t.length>r;){let i=t.pop().subsHead??null;for(;i;){let s=i.sub;if(s)if(s._c){let a=s._sig;a?a._d||(a._d=!0,t.push(a)):s()}else I.has(s)||(I.add(s),V.push(s));i=i.sigNext}}}function sn(e){let t=e.subsHead??null;for(;t;){let r=t.sub;r&&(r._c?Ye(r):I.has(r)||(I.add(r),V.push(r))),t=t.sigNext}}function an(e){let t=e.subsHead;if(t){if(W>0){let r=t;for(;r;){let o=r.sub;o&&(o._c?Ye(o):I.has(o)||(I.add(o),V.push(o))),r=r.sigNext}return}W++,Re++;try{let r=t;for(;r;){let o=r.sub;o&&(o._c?Ye(o):I.has(o)||(I.add(o),V.push(o))),r=r.sigNext}rn()}finally{W--,W===0&&(V.length=0,I.clear())}}}function cn(e){return e.__sc??0}function un(e){let n=e,t=[],r=n.depsHead??null;for(;r;)r.sig&&t.push(r.sig),r=r.subNext;return t}function ln(e,n){let t=e.subsHead??null;for(;t;){let r=t.sub;r&&n(r),t=t.sigNext}}var _s=w(),dn="3.4.0",fn=Symbol.for("sibujs.reactive.v1");function Cs(){let e=globalThis,n=e[fn];if(n)return _s&&!n.__dupWarned&&(n.__dupWarned=!0,E(`Multiple instances of the reactive runtime detected on this page (active: ${n.version}, duplicate: ${dn}). Reactivity still works \u2014 all copies share the first one \u2014 but de-duplicate sibujs in your bundler (e.g. Vite optimizeDeps.exclude: ['sibujs'] or resolve.dedupe: ['sibujs']).`)),n;let t={suspendTracking:Qe,resumeTracking:Xe,isTrackingSuspended:Zt,untracked:Qt,retrack:et,track:Xt,reactiveBinding:tt,recordDependency:en,cleanup:be,setMaxSubscriberRepeats:tn,setMaxDrainIterations:nn,drainNotificationQueue:on,queueSignalNotification:sn,notifySubscribers:an,getSubscriberCount:cn,getSubscriberDeps:un,forEachSubscriber:ln,version:dn};return e[fn]=t,t}var H=Cs(),he=H.suspendTracking,ye=H.resumeTracking,pn=H.isTrackingSuspended,K=H.untracked,B=H.retrack,L=H.track,ve=H.reactiveBinding,ae=H.recordDependency,mn=H.cleanup,Aa=H.setMaxSubscriberRepeats,nt=H.setMaxDrainIterations,gn=H.drainNotificationQueue,bn=H.queueSignalNotification,ce=H.notifySubscribers,_a=H.getSubscriberCount,Ca=H.getSubscriberDeps,La=H.forEachSubscriber;var He=w();function rt(e,n,t){e[n]=t}function Oe(e,n,t){if(G(n))return He&&E(`bindAttribute: refusing to bind event-handler attribute "${n}". Use on:{ ${n.slice(2)}: fn } instead.`),()=>{};function r(){let o;try{o=t()}catch(s){He&&E(`bindAttribute: getter for "${n}" threw: ${s instanceof Error?s.message:String(s)}`);return}if(typeof o=="boolean"){n in e&&(n==="checked"||n==="disabled"||n==="selected")?rt(e,n,o):o?e.setAttribute(n,""):e.removeAttribute(n);return}let i=String(o);(n==="value"||n==="checked")&&n in e?rt(e,n,n==="checked"?!!o:i):e.setAttribute(n,ge(n,i))}return ve(r)}function ot(e,n,t){let r=null;function o(){let s;try{s=typeof n=="function"?n():n}catch(c){He&&E(`bindDynamic: name getter threw: ${c instanceof Error?c.message:String(c)}`);return}let a;try{a=typeof t=="function"?t():t}catch(c){He&&E(`bindDynamic: value getter threw: ${c instanceof Error?c.message:String(c)}`);return}if(G(s))return;r!==null&&r!==s&&e.removeAttribute(r);let u=String(a);(s==="value"||s==="checked")&&s in e?rt(e,s,s==="checked"?!!a:u):e.setAttribute(s,ge(s,u)),r=s}let i=ve(o);return()=>{i(),r!==null&&e.removeAttribute(r)}}var hn=w();function Y(e,n){let t=[];function r(){let o;try{o=n()}catch(c){hn&&E(`bindChildNode: getter threw: ${c instanceof Error?c.message:String(c)}`);return}if(o==null||typeof o=="boolean"){for(let c=0;c<t.length;c++){let l=t[c];C(l),l.parentNode&&l.parentNode.removeChild(l)}t.length=0;return}let i=e.parentNode;if(!i){t.length=0;return}let s;if(Array.isArray(o)){s=[];let c=new Set;for(let l=0;l<o.length;l++){let p=o[l];if(p==null||typeof p=="boolean")continue;let h=p instanceof Node?p:document.createTextNode(String(p));if(c.has(h)){hn&&E("bindChildNode: duplicate node reference in array \u2014 only the first occurrence is rendered.");continue}c.add(h),s.push(h)}}else s=[o instanceof Node?o:document.createTextNode(String(o))];let a;if(t.length>0&&s.length>0){let c=new Set(t);a=new Set;for(let l=0;l<s.length;l++)c.has(s[l])&&a.add(s[l])}for(let c=0;c<t.length;c++){let l=t[c];a?.has(l)||(C(l),l.parentNode&&l.parentNode.removeChild(l))}let u=e;for(let c=0;c<s.length;c++){let l=s[c];u.nextSibling!==l&&i.insertBefore(l,u.nextSibling),u=l}t=s}return ve(r)}var A="http://www.w3.org/2000/svg",it=w(),Ls=new Set(["script","iframe","object","embed","frame","frameset"]);function Ns(e){return Ls.has(e.toLowerCase())}var Ms=new Set(["config","location","history","document","window","navigator","name","top","parent","self","frames"]);function Rs(e,n,t){e[n]=t}function Hs(e){let n=e.trim();if(!n)return!1;let t=n.split(/\s+/),r=!1;for(let o=0;o<t.length;o++){let i=t[o];if(!/^-?[A-Za-z_][A-Za-z0-9_:/.-]*$/.test(i))return!1;/[-:/0-9]/.test(i)&&(r=!0)}return r}var yn=new Map;function Os(e){let n=yn.get(e);return n!==void 0||(n=e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`),yn.set(e,n)),n}function $s(e,n){if(typeof n=="function"){let r=L(()=>{e.setAttribute("style",n())});S(e,r);return}if(typeof n=="string"){e.setAttribute("style",n);return}let t=e;for(let r in n){let o=n[r],i=Os(r);if(typeof o=="function"){let s=o,a=L(()=>{t.style.setProperty(i,Ke(String(s())))});S(e,a)}else t.style.setProperty(i,Ke(String(o)))}}function Ds(e,n){if(typeof n=="string"){e.setAttribute("class",n);return}if(typeof n=="function"){let i=L(()=>{e.setAttribute("class",n())});S(e,i);return}let t=n,r=!1,o="";for(let i in t){let s=t[i];if(typeof s=="function"){r=!0;break}s&&(o=o?`${o} ${i}`:i)}if(r){let s=L(()=>{let a="";for(let u in t){let c=t[u];(typeof c=="function"?c():c)&&(a=a?`${a} ${u}`:u)}e.setAttribute("class",a)});S(e,s)}else e.setAttribute("class",o)}function st(e,n){if(typeof n=="string"){e.textContent=n;return}if(typeof n=="number"){e.textContent=String(n);return}if(!(typeof n=="boolean"||n==null)){if(typeof n=="function"){let t=document.createComment("");e.appendChild(t),S(e,Y(t,n));return}if(n instanceof Node){e.appendChild(n);return}if(Array.isArray(n))for(let t=0;t<n.length;t++){let r=n[t];if(typeof r=="function"){let o=document.createComment("");e.appendChild(o),S(e,Y(o,r))}else if(r instanceof Node)e.appendChild(r);else if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];if(typeof i=="function"){let s=document.createComment("");e.appendChild(s),S(e,Y(s,i))}else i instanceof Node?e.appendChild(i):i!=null&&typeof i!="boolean"&&e.appendChild(document.createTextNode(String(i)))}else r!=null&&typeof r!="boolean"&&e.appendChild(document.createTextNode(String(r)))}}}var d=(e,n)=>{let t=Ns(e);return(r,o)=>{if(t)throw new Error(`tagFactory: refusing to create <${e}> \u2014 tag is blocked for security reasons.`);let i=n?document.createElementNS(n,e):document.createElement(e);if(r===void 0)return i;if(typeof r=="string")return o!==void 0?(i.setAttribute("class",r),st(i,o),i):(it&&Hs(r)&&E(`tagFactory: lone string "${r}" looks like a class list but is being rendered as TEXT. For a class, use ${e}({ class: "${r}" }) \u2014 or ${e}("${r}", children) to set the class AND add children.`),i.textContent=r,i);if(typeof r=="number")return i.textContent=String(r),i;if(Array.isArray(r)||r instanceof Node||typeof r=="function")return st(i,r),i;let s=r,a=s.class;a!=null&&Ds(i,a);let u=s.id;u!=null&&(it&&typeof u=="string"&&Ms.has(u.toLowerCase())&&E(`tagFactory: element id="${u}" matches a common global and may cause DOM clobbering. Avoid setting ids from untrusted input.`),i.id=u);let c=o!==void 0?o:s.nodes;c!=null&&st(i,c);let l=s.on;if(l)for(let f in l){let g=l[f];typeof g=="function"?i.addEventListener(f,g):it&&E(`tagFactory: on.${f} handler is not a function (got ${typeof g}). Event listener was not attached.`)}let p=s.style;p!=null&&$s(i,p);let h=s.ref;h&&(h.current=i);for(let f in s)switch(f){case"class":case"id":case"nodes":case"on":case"style":case"ref":case"onElement":continue;default:{let g=s[f];if(g==null||G(f))continue;typeof g=="function"?S(i,Oe(i,f,g)):typeof g=="boolean"?f in i&&(f==="checked"||f==="disabled"||f==="selected")?Rs(i,f,g):g?i.setAttribute(f,""):i.removeAttribute(f):i.setAttribute(f,ge(f,String(g)))}}return s.onElement&&typeof s.onElement=="function"&&s.onElement(i),i}};var Ua=d("html"),vn=d("head"),xn=d("body"),Sn=d("title"),k=d("div"),N=d("span"),Tn=d("section"),En=d("article"),kn=d("header"),wn=d("footer"),An=d("nav"),_n=d("main"),Cn=d("aside"),Ln=d("address"),$e=d("p"),Nn=d("h1"),Mn=d("h2"),De=d("h3"),Rn=d("h4"),Hn=d("h5"),On=d("h6"),$n=d("blockquote"),Dn=d("dd"),In=d("dl"),Pn=d("dt"),Bn=d("figcaption"),Fn=d("figure"),zn=d("hr"),qn=d("li"),jn=d("ol"),Wn=d("ul"),Ie=d("pre"),Vn=d("a"),Kn=d("abbr"),Un=d("b"),Jn=d("bdi"),Gn=d("bdo"),Yn=d("br"),Zn=d("cite"),Pe=d("code"),Qn=d("data"),Xn=d("dfn"),er=d("em"),tr=d("i"),nr=d("kbd"),rr=d("mark"),or=d("q"),ir=d("rp"),sr=d("rt"),ar=d("ruby"),cr=d("s"),ur=d("samp"),lr=d("small"),dr=d("strong"),fr=d("sub"),pr=d("sup"),mr=d("time"),gr=d("u"),br=d("var"),hr=d("area"),yr=d("audio"),vr=d("img"),xr=d("map"),Sr=d("track"),Tr=d("video"),Er=d("embed"),kr=d("iframe"),wr=d("object"),Ar=d("param"),_r=d("picture"),Cr=d("portal"),Lr=d("source"),Nr=d("svg",A),Mr=d("math"),Rr=d("canvas"),Hr=d("noscript"),Or=d("script"),$r=d("del"),Dr=d("ins"),Ir=d("caption"),Pr=d("col"),Br=d("colgroup"),Fr=d("table"),zr=d("tbody"),qr=d("td"),jr=d("tfoot"),Wr=d("th"),Vr=d("thead"),Kr=d("tr"),ue=d("button"),Ur=d("datalist"),Jr=d("fieldset"),Gr=d("form"),Yr=d("input"),Zr=d("label"),Qr=d("legend"),Xr=d("meter"),eo=d("optgroup"),to=d("option"),no=d("output"),ro=d("progress"),oo=d("select"),io=d("textarea"),so=d("details"),ao=d("dialog"),co=d("menu"),uo=d("summary"),lo=d("slot"),fo=d("template"),po=d("base"),mo=d("link"),go=d("meta"),U=d("style"),bo=d("circle",A),ho=d("ellipse",A),yo=d("g",A),vo=d("line",A),xo=d("path",A),So=d("polygon",A),To=d("polyline",A),Eo=d("rect",A),ko=d("text",A),wo=d("tspan",A),Ao=d("defs",A),_o=d("clipPath",A),Co=d("mask",A),Lo=d("pattern",A),No=d("linearGradient",A),Mo=d("radialGradient",A),Ro=d("stop",A),Ho=d("use",A),Oo=d("symbol",A),$o=d("marker",A),Do=d("center"),Io=d("font"),Po=d("marquee"),Bo=e=>d(e);var at="__sibuPendingError";function Fo(e,n){let t=()=>{try{return e.parentNode?(e.dispatchEvent(new CustomEvent("sibu:error-propagate",{bubbles:!0,detail:{error:n}})),!0):!1}catch{return!1}};e.parentNode&&t()||queueMicrotask(()=>{t()||(e[at]=n)})}function xe(e){let n=e,t=n[at];if(t instanceof Error)return delete n[at],t}function ct(e){let n=null;return function(){if(n)return n();let r=k({class:"sibu-lazy"}),o=!1;return e().then(i=>{if(o)return;n=i.default;let s=n();r.replaceChildren(s)}).catch(i=>{if(o)return;let s=i instanceof Error?i:new Error(String(i));E(`[SibuJS] lazy() failed to load component: ${s.message}`),r.replaceChildren(k({class:"sibu-lazy-error"},`Failed to load component: ${s.message}`)),Fo(r,s)}),r.appendChild(N("sibu-lazy-loading","Loading...")),S(r,()=>{o=!0}),r}}function ut({nodes:e,fallback:n}){let t=k({class:"sibu-suspense"}),r=n();t.appendChild(r);let o=!1,i=null,s=null;return S(t,()=>{o=!0,i&&(i.disconnect(),i=null),s&&!t.contains(s)&&C(s)}),queueMicrotask(()=>{if(!o)try{let a=e();if(s=a,a.classList.contains("sibu-lazy")){if(!a.querySelector(".sibu-lazy-loading")){t.replaceChildren(a);return}i=new MutationObserver(()=>{if(o)return;a.querySelector(".sibu-lazy-loading")||(i?.disconnect(),i=null,t.replaceChildren(a))}),i.observe(a,{childList:!0,subtree:!0})}else t.replaceChildren(a)}catch(a){let u=a instanceof Error?a:new Error(String(a));E(`[SibuJS] Suspense nodes() threw: ${u.message}`),Fo(t,u)}}),t}function pt(e,n){try{return e()}catch(t){E(`${n}: callback threw: ${t instanceof Error?t.message:String(t)}`);return}}function lt(e,n,t){let r=pt(e,n);typeof r=="function"&&t&&S(t,r)}var le=new WeakMap,Z=new WeakMap,z=new Set,q=new Set,de=null,Be=0,Is=256;function dt(e){let n=le.get(e);if(n){le.delete(e),z.delete(e);for(let t of n)try{t()}catch{}}}function ft(e){Z.get(e)&&queueMicrotask(()=>{if(e.isConnected)return;let t=Z.get(e);if(t){Z.delete(e),q.delete(e);for(let r of t)try{r()}catch{}}})}function Ps(e){if(z.size===0||e.nodeType!==1)return;let n=e;if(z.has(n)&&n.isConnected&&dt(n),n.firstElementChild)for(let t of Array.from(z))t!==n&&t.isConnected&&n.contains(t)&&dt(t)}function Bs(e){if(q.size===0||e.nodeType!==1)return;let n=e;if(q.has(n)&&!n.isConnected&&ft(n),n.firstElementChild)for(let t of Array.from(q))t!==n&&!t.isConnected&&n.contains(t)&&ft(t)}function Fs(){if(z.size>0)for(let e of Array.from(z))e.isConnected&&dt(e);if(q.size>0)for(let e of Array.from(q))e.isConnected||ft(e)}function zo(){de||typeof document>"u"||(de=new MutationObserver(e=>{for(let n of e)if(n.type==="childList"){if(n.addedNodes.length>0)for(let t=0;t<n.addedNodes.length;t++)Ps(n.addedNodes[t]);if(n.removedNodes.length>0)for(let t=0;t<n.removedNodes.length;t++)Bs(n.removedNodes[t])}Be+=e.length,Be>=Is&&(Be=0,Fs()),mt()}),de.observe(document.body,{childList:!0,subtree:!0}))}function mt(){de&&z.size===0&&q.size===0&&(de.disconnect(),de=null,Be=0)}function zs(e,n){let t=le.get(e);return t||(t=[],le.set(e,t)),t.push(n),z.add(e),zo(),()=>{let r=le.get(e);if(r){let o=r.indexOf(n);o!==-1&&r.splice(o,1),r.length===0&&(le.delete(e),z.delete(e))}mt()}}function qs(e,n){let t=Z.get(e);return t||(t=[],Z.set(e,t)),t.push(n),q.add(e),zo(),()=>{let r=Z.get(e);if(r){let o=r.indexOf(n);o!==-1&&r.splice(o,1),r.length===0&&(Z.delete(e),q.delete(e))}mt()}}function Se(e,n){if(!(typeof document>"u"))if(n){let t=!1;if(S(n,()=>{t=!0}),n.isConnected){queueMicrotask(()=>{t||lt(e,"onMount",n)});return}queueMicrotask(()=>{if(t)return;if(n.isConnected){lt(e,"onMount",n);return}let r=zs(n,()=>{t||lt(e,"onMount",n)});S(n,r)})}else queueMicrotask(()=>{pt(e,"onMount")})}function qo(e,n){if(typeof document>"u")return;let t=!1,r=()=>{t||(t=!0,pt(e,"onUnmount"))};S(n,r);let o=()=>{if(t)return;let i=qs(n,r);S(n,i)};n.isConnected?o():Se(()=>{o()},n)}function jo(e,n){S(n,e)}var gt=Symbol.for("sibujs.ssr.v1");function js(){let e=null;try{if(typeof process<"u"&&process.versions&&process.versions.node){let n=null,t=process.getBuiltinModule;if(typeof t=="function")n=t("node:async_hooks");else{let r=Function("return typeof require==='function'?require:null")();r&&(n=r("node:async_hooks"))}n&&(e=new n.AsyncLocalStorage)}}catch{e=null}return{als:e,fallbackStore:{ssr:!1,suspenseIdCounter:0}}}var Wo=globalThis[gt]??(globalThis[gt]=js()),Fe=Wo.als,Q=Wo.fallbackStore;function X(){if(Fe){let e=Fe.getStore();if(e)return e}return Q}function ee(){return X().ssr}function Vo(e){if(!ee())return null;let n=X(),t=n.caches??(n.caches=new Map),r=t.get(e);return r||(r=new Map,t.set(e,r)),r}function Ko(){X().ssr=!0}function Uo(){X().ssr=!1}function Jo(e){let n={ssr:!0,suspenseIdCounter:0};if(Fe)return Fe.run(n,e);let t=Q.ssr,r=Q.suspenseIdCounter;Q.ssr=!0,Q.suspenseIdCounter=0;try{return e()}finally{Q.ssr=t,Q.suspenseIdCounter=r}}function Go(e){let n=X(),t=n.ssr;n.ssr=!0;try{return e()}finally{t||(n.ssr=!1)}}var bt=globalThis;function Qo(e,n){let t,r=!0;return()=>{let o=e();if(r)r=!1,t=o,K(()=>n(o,void 0));else{let i=t;t=o,K(()=>n(o,i))}}}var Yo=100;function ht(e){let n=e.userCleanups;if(n.length!==0){e.userCleanups=[];for(let t=n.length-1;t>=0;t--)try{n[t]()}catch(r){typeof console<"u"&&console.warn("[SibuJS effect] onCleanup threw:",r)}}}function Zo(e){let n=1;do e.rerunPending=!1,e.userCleanups.length>0&&ht(e),B(e.bodyFn,e.subscriber);while(e.rerunPending&&++n<=Yo);e.rerunPending&&(e.rerunPending=!1,bt.__SIBU_DEV_WARN__!==!1&&typeof console<"u"&&console.error(`[SibuJS] effect re-requested itself ${Yo}+ times \u2014 likely a write-reads-self cycle. Breaking to prevent infinite loop.`))}function Ws(e){if(e.disposed)return;e.disposed=!0;let n=bt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;if(n)try{n.emit("effect:destroy",{effectFn:e.fn})}catch{}try{e.userCleanups.length>0&&ht(e)}catch(t){typeof console<"u"&&console.warn("[SibuJS effect] onCleanup threw during dispose:",t)}try{mn(e.subscriber)}catch(t){typeof console<"u"&&console.warn("[SibuJS effect] dispose threw:",t)}}function R(e,n){if($(typeof e=="function","effect: argument must be a function."),ee())return()=>{};let t={fn:e,onError:n?.onError,userCleanups:[],running:!1,rerunPending:!1,disposed:!1,onCleanup:null,subscriber:null,bodyFn:null};t.onCleanup=s=>{t.userCleanups.push(s)};let r=t.onError;t.bodyFn=r?()=>{try{t.fn(t.onCleanup)}catch(s){r(s)}}:()=>{t.fn(t.onCleanup)};let o=(()=>{if(!t.disposed){if(t.running){t.rerunPending=!0;return}t.running=!0;try{t.rerunPending=!1,t.userCleanups.length>0&&ht(t),B(t.bodyFn,o),t.rerunPending&&Zo(t)}finally{t.running=!1,t.rerunPending=!1}}});o.depsHead=null,o.depsTail=null,o._epoch=0,o._structDirty=!1,o._runEpoch=0,o._runs=0,t.subscriber=o,t.running=!0;try{B(t.bodyFn,t.subscriber),t.rerunPending&&Zo(t)}finally{t.running=!1,t.rerunPending=!1}let i=bt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;return i&&i.emit("effect:create",{effectFn:e}),()=>Ws(t)}var Te=0,yt=new Set;function Vs(e){Te++;try{return e()}finally{Te--,Te===0&&Js()}}function Ks(e){return Te===0?!1:(yt.add(e),!0)}function Us(){return Te>0}function Js(){try{for(let e of yt)bn(e)}finally{yt.clear()}gn()}var Xo=Symbol.for("sibujs.reactive.batch.v1");function Gs(){let e=globalThis,n=e[Xo];if(n)return n;let t={batch:Vs,enqueueBatchedSignal:Ks,isBatching:Us};return e[Xo]=t,t}var vt=Gs(),D=vt.batch,J=vt.enqueueBatchedSignal,ei=vt.isBatching;var xt=globalThis,ze=w();function _(e,n){let t={value:e,__v:0,__sc:0,subsHead:null,subsTail:null,__activeNode:null,__name:void 0},r=ze?n?.name:void 0,o=n?.equals;r&&(t.__name=r);function i(){return ae(t),t.value}i.__signal=t,r&&(i.__name=r);let s;if(o?s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;if(!o(u,c)){if(t.value=c,t.__v++,ze){let l=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;l&&l.emit("signal:update",{signal:t,name:r,oldValue:u,newValue:c})}J(t)||ce(t)}}:ze?s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;if(Object.is(c,u))return;t.value=c,t.__v++;let l=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;l&&l.emit("signal:update",{signal:t,name:r,oldValue:u,newValue:c}),J(t)||ce(t)}:s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;Object.is(c,u)||(t.value=c,t.__v++,J(t)||ce(t))},ze){let a=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;a&&a.emit("signal:create",{signal:t,name:r,getter:i,initial:e})}return[i,s]}var Ys=`
1
+ "use strict";var Sibu=(()=>{var Ve=Object.defineProperty;var is=Object.getOwnPropertyDescriptor;var ss=Object.getOwnPropertyNames;var as=Object.prototype.hasOwnProperty;var Vt=(e,n)=>{for(var t in n)Ve(e,t,{get:n[t],enumerable:!0})},cs=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of ss(n))!as.call(e,o)&&o!==t&&Ve(e,o,{get:()=>n[o],enumerable:!(r=is(n,o))||r.enumerable});return e};var us=e=>cs(Ve({},"__esModule",{value:!0}),e);var ya={};Vt(ya,{DynamicComponent:()=>Ti,ErrorBoundary:()=>si,ErrorDisplay:()=>qe,Fragment:()=>Ai,KeepAlive:()=>Li,Loading:()=>ci,Portal:()=>Mi,SVG_NS:()=>A,Suspense:()=>ut,__resetIdCounter:()=>bi,a:()=>Vn,abbr:()=>Kn,action:()=>li,address:()=>Ln,area:()=>hr,array:()=>Hi,article:()=>En,aside:()=>Cn,asyncDerived:()=>$i,audio:()=>yr,autoResize:()=>_t,b:()=>Un,base:()=>po,batch:()=>D,bdi:()=>Jn,bdo:()=>Gn,bindDynamic:()=>ot,blockquote:()=>$n,body:()=>xn,br:()=>Yn,button:()=>ue,canvas:()=>Rr,caption:()=>Ir,catchError:()=>di,catchErrorAsync:()=>fi,center:()=>Do,checkLeaks:()=>Ut,circle:()=>bo,cite:()=>Zn,clickOutside:()=>kt,clipPath:()=>_o,code:()=>Pe,col:()=>Pr,colgroup:()=>Br,context:()=>mi,copyOnClick:()=>At,createId:()=>gi,customElement:()=>Bo,data:()=>Qn,datalist:()=>Ur,dd:()=>Dn,deepEqual:()=>fe,deepSignal:()=>Di,defer:()=>Qi,defs:()=>Ao,del:()=>$r,derived:()=>je,details:()=>so,dfn:()=>Xn,dialog:()=>ao,disableSSR:()=>Uo,dispose:()=>C,div:()=>k,dl:()=>In,dt:()=>Pn,each:()=>ki,effect:()=>R,ellipse:()=>ho,em:()=>er,embed:()=>Er,enableSSR:()=>Ko,enhance:()=>Ee,enhanceAll:()=>Wi,enqueueBatchedSignal:()=>J,fieldset:()=>Jr,figcaption:()=>Bn,figure:()=>Fn,font:()=>Io,footer:()=>wn,form:()=>Gr,g:()=>yo,getAction:()=>Et,getRequestScopedCache:()=>Vo,getSSRStore:()=>X,getSlot:()=>Ri,h1:()=>Nn,h2:()=>Mn,h3:()=>De,h4:()=>Rn,h5:()=>Hn,h6:()=>On,head:()=>vn,header:()=>kn,hr:()=>zn,html:()=>$t,i:()=>tr,iframe:()=>kr,img:()=>vr,input:()=>Yr,ins:()=>Dr,isBatching:()=>ei,isSSR:()=>ee,kbd:()=>nr,label:()=>Zr,lazy:()=>ct,lazyIsland:()=>Ui,legend:()=>Qr,li:()=>qn,line:()=>vo,linearGradient:()=>No,link:()=>mo,longPress:()=>wt,main:()=>_n,map:()=>xr,mark:()=>rr,marker:()=>$o,marquee:()=>Po,mask:()=>Co,match:()=>vi,math:()=>Mr,menu:()=>co,meta:()=>go,meter:()=>Xr,mount:()=>Ni,mountIslands:()=>Yi,nav:()=>An,nextTick:()=>es,noscript:()=>Hr,object:()=>wr,ol:()=>jn,on:()=>Qo,onCleanup:()=>jo,onMount:()=>Se,onUnmount:()=>qo,optgroup:()=>eo,option:()=>to,output:()=>no,p:()=>$e,param:()=>Ar,path:()=>xo,pattern:()=>Lo,picture:()=>_r,polygon:()=>So,polyline:()=>To,portal:()=>Cr,pre:()=>Ie,progress:()=>ro,q:()=>or,radialGradient:()=>Mo,reactiveArray:()=>Oi,rect:()=>Eo,ref:()=>Ii,registerAction:()=>te,registerComponent:()=>xi,registerDisposer:()=>S,registerIsland:()=>Ji,resolveComponent:()=>Rt,retrack:()=>B,rp:()=>ir,rt:()=>sr,ruby:()=>ar,runInSSRContext:()=>Jo,s:()=>cr,samp:()=>ur,script:()=>Or,section:()=>Tn,select:()=>oo,setGlobalErrorHandler:()=>pi,setMaxDrainIterations:()=>nt,show:()=>hi,signal:()=>_,slot:()=>lo,small:()=>lr,source:()=>Lr,span:()=>N,stop:()=>Ro,store:()=>Pi,strict:()=>zi,strictEffect:()=>qi,strong:()=>dr,style:()=>U,sub:()=>fr,summary:()=>uo,sup:()=>pr,svg:()=>Nr,symbol:()=>Oo,table:()=>Fr,tagFactory:()=>d,takePendingError:()=>xe,tbody:()=>zr,td:()=>qr,template:()=>fo,text:()=>ko,textarea:()=>io,tfoot:()=>jr,th:()=>Wr,thead:()=>Vr,time:()=>mr,title:()=>Sn,tr:()=>Kr,track:()=>Sr,transition:()=>Xi,trapFocus:()=>Ct,trustHTML:()=>Dt,tspan:()=>wo,u:()=>gr,ul:()=>Wn,unregisterComponent:()=>Si,unregisterIsland:()=>Gi,untracked:()=>K,use:()=>Ho,var_:()=>br,video:()=>Tr,watch:()=>Bi,when:()=>yi,withSSR:()=>Go,writable:()=>Fi});var It={};Vt(It,{DynamicComponent:()=>Ti,ErrorBoundary:()=>si,ErrorDisplay:()=>qe,Fragment:()=>Ai,KeepAlive:()=>Li,Loading:()=>ci,Portal:()=>Mi,SVG_NS:()=>A,Suspense:()=>ut,__resetIdCounter:()=>bi,a:()=>Vn,abbr:()=>Kn,action:()=>li,address:()=>Ln,area:()=>hr,array:()=>Hi,article:()=>En,aside:()=>Cn,asyncDerived:()=>$i,audio:()=>yr,autoResize:()=>_t,b:()=>Un,base:()=>po,batch:()=>D,bdi:()=>Jn,bdo:()=>Gn,bindDynamic:()=>ot,blockquote:()=>$n,body:()=>xn,br:()=>Yn,button:()=>ue,canvas:()=>Rr,caption:()=>Ir,catchError:()=>di,catchErrorAsync:()=>fi,center:()=>Do,checkLeaks:()=>Ut,circle:()=>bo,cite:()=>Zn,clickOutside:()=>kt,clipPath:()=>_o,code:()=>Pe,col:()=>Pr,colgroup:()=>Br,context:()=>mi,copyOnClick:()=>At,createId:()=>gi,customElement:()=>Bo,data:()=>Qn,datalist:()=>Ur,dd:()=>Dn,deepEqual:()=>fe,deepSignal:()=>Di,defer:()=>Qi,defs:()=>Ao,del:()=>$r,derived:()=>je,details:()=>so,dfn:()=>Xn,dialog:()=>ao,disableSSR:()=>Uo,dispose:()=>C,div:()=>k,dl:()=>In,dt:()=>Pn,each:()=>ki,effect:()=>R,ellipse:()=>ho,em:()=>er,embed:()=>Er,enableSSR:()=>Ko,enhance:()=>Ee,enhanceAll:()=>Wi,enqueueBatchedSignal:()=>J,fieldset:()=>Jr,figcaption:()=>Bn,figure:()=>Fn,font:()=>Io,footer:()=>wn,form:()=>Gr,g:()=>yo,getAction:()=>Et,getRequestScopedCache:()=>Vo,getSSRStore:()=>X,getSlot:()=>Ri,h1:()=>Nn,h2:()=>Mn,h3:()=>De,h4:()=>Rn,h5:()=>Hn,h6:()=>On,head:()=>vn,header:()=>kn,hr:()=>zn,html:()=>$t,i:()=>tr,iframe:()=>kr,img:()=>vr,input:()=>Yr,ins:()=>Dr,isBatching:()=>ei,isSSR:()=>ee,kbd:()=>nr,label:()=>Zr,lazy:()=>ct,lazyIsland:()=>Ui,legend:()=>Qr,li:()=>qn,line:()=>vo,linearGradient:()=>No,link:()=>mo,longPress:()=>wt,main:()=>_n,map:()=>xr,mark:()=>rr,marker:()=>$o,marquee:()=>Po,mask:()=>Co,match:()=>vi,math:()=>Mr,menu:()=>co,meta:()=>go,meter:()=>Xr,mount:()=>Ni,mountIslands:()=>Yi,nav:()=>An,nextTick:()=>es,noscript:()=>Hr,object:()=>wr,ol:()=>jn,on:()=>Qo,onCleanup:()=>jo,onMount:()=>Se,onUnmount:()=>qo,optgroup:()=>eo,option:()=>to,output:()=>no,p:()=>$e,param:()=>Ar,path:()=>xo,pattern:()=>Lo,picture:()=>_r,polygon:()=>So,polyline:()=>To,portal:()=>Cr,pre:()=>Ie,progress:()=>ro,q:()=>or,radialGradient:()=>Mo,reactiveArray:()=>Oi,rect:()=>Eo,ref:()=>Ii,registerAction:()=>te,registerComponent:()=>xi,registerDisposer:()=>S,registerIsland:()=>Ji,resolveComponent:()=>Rt,retrack:()=>B,rp:()=>ir,rt:()=>sr,ruby:()=>ar,runInSSRContext:()=>Jo,s:()=>cr,samp:()=>ur,script:()=>Or,section:()=>Tn,select:()=>oo,setGlobalErrorHandler:()=>pi,setMaxDrainIterations:()=>nt,show:()=>hi,signal:()=>_,slot:()=>lo,small:()=>lr,source:()=>Lr,span:()=>N,stop:()=>Ro,store:()=>Pi,strict:()=>zi,strictEffect:()=>qi,strong:()=>dr,style:()=>U,sub:()=>fr,summary:()=>uo,sup:()=>pr,svg:()=>Nr,symbol:()=>Oo,table:()=>Fr,tagFactory:()=>d,takePendingError:()=>xe,tbody:()=>zr,td:()=>qr,template:()=>fo,text:()=>ko,textarea:()=>io,tfoot:()=>jr,th:()=>Wr,thead:()=>Vr,time:()=>mr,title:()=>Sn,tr:()=>Kr,track:()=>Sr,transition:()=>Xi,trapFocus:()=>Ct,trustHTML:()=>Dt,tspan:()=>wo,u:()=>gr,ul:()=>Wn,unregisterComponent:()=>Si,unregisterIsland:()=>Gi,untracked:()=>K,use:()=>Ho,var_:()=>br,video:()=>Tr,watch:()=>Bi,when:()=>yi,withSSR:()=>Go,writable:()=>Fi});function w(){return typeof globalThis.__SIBU_DEV__<"u"?!!globalThis.__SIBU_DEV__:typeof __SIBU_DEV__<"u"?__SIBU_DEV__:typeof process<"u"&&process.env?.NODE_ENV!=="production"}var Kt=w();function $(e,n){if(Kt&&!e)throw new Error(`[SibuJS] ${n}`)}function E(e){Kt&&console.warn(`[SibuJS] ${e}`)}var oe=new WeakMap,ie=w(),se=0;function S(e,n){let t=oe.get(e);t||(t=[],oe.set(e,t)),t.push(n),ie&&se++}function C(e){let n=[e],t=[];for(;n.length>0;){let r=n.pop();t.push(r);let o=Array.from(r.childNodes);for(let i=0;i<o.length;i++)n.push(o[i])}for(let r=t.length-1;r>=0;r--){let o=t[r],i=oe.get(o);if(i){let s=i.slice();oe.delete(o),ie&&(se-=s.length);for(let u of s)try{u()}catch(c){ie&&typeof console<"u"&&console.warn("[SibuJS] Disposer threw during cleanup:",c)}let a=0;for(;a++<8;){let u=oe.get(o);if(!u||u.length===0)break;let c=u.slice();oe.delete(o),ie&&(se-=c.length);for(let l of c)try{l()}catch(p){ie&&typeof console<"u"&&console.warn("[SibuJS] Disposer threw during cleanup:",p)}}}}}function Ut(e=0){return ie?(e>0&&se>e&&E(`checkLeaks: ${se} active DOM bindings detected. Expected \u2264${e}. This may indicate a component was removed from the DOM without calling dispose().`),se):0}function ls(e){return e.replace(/[\x00-\x20\x7f-\x9f]+/g,"")}function G(e){if(e.length<3)return!1;let n=e.toLowerCase();return n[0]==="o"&&n[1]==="n"&&n.charCodeAt(2)>=97&&n.charCodeAt(2)<=122}var ds=["http:","https:","mailto:","tel:","ftp:"];function me(e){let n=ls(e).trim();if(!n)return"";let t=n.toLowerCase(),r=-1;for(let i=0;i<t.length;i++){let s=t.charCodeAt(i);if(s===58){r=i;break}if(s===47||s===63||s===35)break}if(r===-1)return n;let o=t.slice(0,r+1);return/^[a-z][a-z0-9+.-]*:$/.test(o)&&ds.indexOf(o)===-1?"":n}function Ce(e){let n=e.split(","),t=[];for(let r=0;r<n.length;r++){let o=n[r].trim();if(!o)continue;let i=o.match(/^(\S+)(\s+.+)?$/);if(!i)continue;let s=me(i[1]);s&&t.push(i[2]?`${s}${i[2]}`:s)}return t.join(", ")}var fs=/[(:@\\]/;function Ke(e){if(!fs.test(e))return e;let t=e.replace(/\\([0-9a-fA-F]{1,6})\s?/g,(r,o)=>{let i=Number.parseInt(o,16);if(!Number.isFinite(i)||i<0||i>1114111)return"";try{return String.fromCodePoint(i)}catch{return""}}).toLowerCase().replace(/\s+/g,"");return t.includes("url(")||t.includes("expression(")||t.includes("javascript:")||t.includes("vbscript:")||t.includes("-moz-binding")||t.includes("behavior:")||t.includes("@import")||t.includes("image-set(")||t.includes("filter:progid")?"":e}var Jt=new Set(["href","xlink:href","src","action","formaction","formtarget","cite","poster","background","srcset","ping","data"]);function Ue(e){return Jt.has(e.toLowerCase())}function ge(e,n){let t=e.toLowerCase();return t==="srcset"?Ce(n):Jt.has(t)?me(n):n}var ps=w(),ms=4096,Je=[];function gs(){return{sig:null,sub:null,epoch:0,sigPrev:null,sigNext:null,subPrev:null,subNext:null,prevActive:null}}function bs(e,n,t){let r=Je.pop();if(r)return r.sig=e,r.sub=n,r.epoch=t,r;let o=gs();return o.sig=e,o.sub=n,o.epoch=t,o}function Gt(e){e.sig=null,e.sub=null,e.sigPrev=null,e.sigNext=null,e.subPrev=null,e.subNext=null,e.prevActive=null,Je.length<ms&&Je.push(e)}function hs(e,n){let t=e.subsHead??null;n.sigPrev=null,n.sigNext=t,t?t.sigPrev=n:e.subsTail=n,e.subsHead=n,e.__sc=(e.__sc??0)+1}function Yt(e){let n=e.sig;if(!n)return;let t=e.sigPrev,r=e.sigNext;t?t.sigNext=r:n.subsHead=r,r?r.sigPrev=t:n.subsTail=t,n.__sc=(n.__sc??1)-1,n.__activeNode===e&&(n.__activeNode=e.prevActive),n.__sc===0&&(n.subsHead=null,n.subsTail=null)}function ys(e,n){let t=e.depsTail??null;n.subPrev=t,n.subNext=null,t?t.subNext=n:e.depsHead=n,e.depsTail=n}function vs(e){let n=e.sub;if(!n)return;let t=e.subPrev,r=e.subNext;t?t.subNext=r:n.depsHead=r,r?r.subPrev=t:n.depsTail=t}var P=null,Ge=null,W=0,V=[],I=new Set,xs=[];function Ss(e){try{e()}catch(n){ps&&E(`Subscriber threw during notification: ${n instanceof Error?n.message:String(n)}`)}}var Le=0,Ze=!1;function Qe(){Le===0&&(Ge=P,P=null,Ze=!0),Le++}function Xe(){Le--,Le===0&&(P=Ge,Ge=null,Ze=!1)}function Zt(){return Ze}function Qt(e){Qe();try{return e()}finally{Xe()}}var Ts=0;function et(e,n){let t=P;P=n;let r=n,o=++Ts;r._epoch=o,r._structDirty=!1;for(let i=r.depsHead??null;i!==null;i=i.subNext){let s=i.sig;i.prevActive=s.__activeNode??null,s.__activeNode=i}try{e()}finally{P=t;let i=r.depsHead??null;for(;i!==null;){let s=i.subNext,a=i.sig;a.__activeNode=i.prevActive,i.prevActive=null,i.epoch!==o&&(vs(i),Yt(i),Gt(i)),i=s}}}function Xt(e,n){if(!n)return tt(e);be(n);let t=P;P=n;try{e()}finally{P=t;let o=n;for(let i=o.depsHead??null;i!==null;i=i.subNext){let s=i.sig;s.__activeNode=i.prevActive,i.prevActive=null}}let r=n;return r._dispose??(r._dispose=()=>be(n))}function tt(e){let n=()=>{let r=t;if(!(r._disposed||r._reentrant)){r._reentrant=!0;try{et(e,t)}finally{r._reentrant=!1}}},t=n;return t.depsHead=null,t.depsTail=null,t._epoch=0,t._structDirty=!1,t._runEpoch=0,t._runs=0,t._reentrant=!1,t._disposed=!1,n(),t._dispose??(t._dispose=()=>{t._disposed=!0,be(t)})}function en(e){if(!P)return;let n=P,t=e,r=n._epoch??0,o=t.__activeNode??null;if(o!==null&&o.sub===n){o.epoch=r;return}let i=bs(e,n,r);i.prevActive=o,t.__activeNode=i,ys(n,i),hs(t,i),n._structDirty=!0}function be(e){let n=e,t=n.depsHead??null;for(n.depsHead=null,n.depsTail=null;t;){let r=t.subNext;Yt(t),Gt(t),t=r}}var Ne=50,Me=1e6,Re=0;function tn(e){let n=Ne;return Number.isFinite(e)&&e>0&&(Ne=Math.floor(e)),n}function nn(e){let n=Me;return Number.isFinite(e)&&e>0&&(Me=Math.floor(e)),n}function Es(e){let n=e;return n._runEpoch!==Re?(n._runEpoch=Re,n._runs=1,!1):(n._runs=(n._runs??0)+1,n._runs>Ne)}function ks(e){if(typeof console<"u"){let n=e.__name??"<unnamed>";console.error(`[SibuJS] subscriber "${n}" fired more than ${Ne} times \u2014 likely a write-reads-self cycle between effects/signals. Breaking to prevent infinite loop.`)}}function ws(){typeof console<"u"&&console.error(`[SibuJS] Notification drain exceeded ${Me} iterations \u2014 absolute safety net tripped. Breaking to prevent infinite loop.`)}function rn(){let e=0;for(;e<V.length;){if(e>=Me){ws();break}let n=V[e++];if(Es(n)){ks(n);break}I.delete(n),Ss(n)}}function on(){if(!(W>0)){W++,Re++;try{rn()}finally{W--,W===0&&(V.length=0,I.clear())}}}function Ye(e){e();let n=e._sig;if(!n)return;let t=xs,r=t.length;for(t.push(n);t.length>r;){let i=t.pop().subsHead??null;for(;i;){let s=i.sub;if(s)if(s._c){let a=s._sig;a?a._d||(a._d=!0,t.push(a)):s()}else I.has(s)||(I.add(s),V.push(s));i=i.sigNext}}}function sn(e){let t=e.subsHead??null;for(;t;){let r=t.sub;r&&(r._c?Ye(r):I.has(r)||(I.add(r),V.push(r))),t=t.sigNext}}function an(e){let t=e.subsHead;if(t){if(W>0){let r=t;for(;r;){let o=r.sub;o&&(o._c?Ye(o):I.has(o)||(I.add(o),V.push(o))),r=r.sigNext}return}W++,Re++;try{let r=t;for(;r;){let o=r.sub;o&&(o._c?Ye(o):I.has(o)||(I.add(o),V.push(o))),r=r.sigNext}rn()}finally{W--,W===0&&(V.length=0,I.clear())}}}function cn(e){return e.__sc??0}function un(e){let n=e,t=[],r=n.depsHead??null;for(;r;)r.sig&&t.push(r.sig),r=r.subNext;return t}function ln(e,n){let t=e.subsHead??null;for(;t;){let r=t.sub;r&&n(r),t=t.sigNext}}var _s=w(),dn="3.4.1",fn=Symbol.for("sibujs.reactive.v1");function Cs(){let e=globalThis,n=e[fn];if(n)return _s&&!n.__dupWarned&&(n.__dupWarned=!0,E(`Multiple instances of the reactive runtime detected on this page (active: ${n.version}, duplicate: ${dn}). Reactivity still works \u2014 all copies share the first one \u2014 but de-duplicate sibujs in your bundler (e.g. Vite optimizeDeps.exclude: ['sibujs'] or resolve.dedupe: ['sibujs']).`)),n;let t={suspendTracking:Qe,resumeTracking:Xe,isTrackingSuspended:Zt,untracked:Qt,retrack:et,track:Xt,reactiveBinding:tt,recordDependency:en,cleanup:be,setMaxSubscriberRepeats:tn,setMaxDrainIterations:nn,drainNotificationQueue:on,queueSignalNotification:sn,notifySubscribers:an,getSubscriberCount:cn,getSubscriberDeps:un,forEachSubscriber:ln,version:dn};return e[fn]=t,t}var H=Cs(),he=H.suspendTracking,ye=H.resumeTracking,pn=H.isTrackingSuspended,K=H.untracked,B=H.retrack,L=H.track,ve=H.reactiveBinding,ae=H.recordDependency,mn=H.cleanup,Aa=H.setMaxSubscriberRepeats,nt=H.setMaxDrainIterations,gn=H.drainNotificationQueue,bn=H.queueSignalNotification,ce=H.notifySubscribers,_a=H.getSubscriberCount,Ca=H.getSubscriberDeps,La=H.forEachSubscriber;var He=w();function rt(e,n,t){e[n]=t}function Oe(e,n,t){if(G(n))return He&&E(`bindAttribute: refusing to bind event-handler attribute "${n}". Use on:{ ${n.slice(2)}: fn } instead.`),()=>{};function r(){let o;try{o=t()}catch(s){He&&E(`bindAttribute: getter for "${n}" threw: ${s instanceof Error?s.message:String(s)}`);return}if(typeof o=="boolean"){n in e&&(n==="checked"||n==="disabled"||n==="selected")?rt(e,n,o):o?e.setAttribute(n,""):e.removeAttribute(n);return}let i=String(o);(n==="value"||n==="checked")&&n in e?rt(e,n,n==="checked"?!!o:i):e.setAttribute(n,ge(n,i))}return ve(r)}function ot(e,n,t){let r=null;function o(){let s;try{s=typeof n=="function"?n():n}catch(c){He&&E(`bindDynamic: name getter threw: ${c instanceof Error?c.message:String(c)}`);return}let a;try{a=typeof t=="function"?t():t}catch(c){He&&E(`bindDynamic: value getter threw: ${c instanceof Error?c.message:String(c)}`);return}if(G(s))return;r!==null&&r!==s&&e.removeAttribute(r);let u=String(a);(s==="value"||s==="checked")&&s in e?rt(e,s,s==="checked"?!!a:u):e.setAttribute(s,ge(s,u)),r=s}let i=ve(o);return()=>{i(),r!==null&&e.removeAttribute(r)}}var hn=w();function Y(e,n){let t=[];function r(){let o;try{o=n()}catch(c){hn&&E(`bindChildNode: getter threw: ${c instanceof Error?c.message:String(c)}`);return}if(o==null||typeof o=="boolean"){for(let c=0;c<t.length;c++){let l=t[c];C(l),l.parentNode&&l.parentNode.removeChild(l)}t.length=0;return}let i=e.parentNode;if(!i){t.length=0;return}let s;if(Array.isArray(o)){s=[];let c=new Set;for(let l=0;l<o.length;l++){let p=o[l];if(p==null||typeof p=="boolean")continue;let h=p instanceof Node?p:document.createTextNode(String(p));if(c.has(h)){hn&&E("bindChildNode: duplicate node reference in array \u2014 only the first occurrence is rendered.");continue}c.add(h),s.push(h)}}else s=[o instanceof Node?o:document.createTextNode(String(o))];let a;if(t.length>0&&s.length>0){let c=new Set(t);a=new Set;for(let l=0;l<s.length;l++)c.has(s[l])&&a.add(s[l])}for(let c=0;c<t.length;c++){let l=t[c];a?.has(l)||(C(l),l.parentNode&&l.parentNode.removeChild(l))}let u=e;for(let c=0;c<s.length;c++){let l=s[c];u.nextSibling!==l&&i.insertBefore(l,u.nextSibling),u=l}t=s}return ve(r)}var A="http://www.w3.org/2000/svg",it=w(),Ls=new Set(["script","iframe","object","embed","frame","frameset"]);function Ns(e){return Ls.has(e.toLowerCase())}var Ms=new Set(["config","location","history","document","window","navigator","name","top","parent","self","frames"]);function Rs(e,n,t){e[n]=t}function Hs(e){let n=e.trim();if(!n)return!1;let t=n.split(/\s+/),r=!1;for(let o=0;o<t.length;o++){let i=t[o];if(!/^-?[A-Za-z_][A-Za-z0-9_:/.-]*$/.test(i))return!1;/[-:/0-9]/.test(i)&&(r=!0)}return r}var yn=new Map;function Os(e){let n=yn.get(e);return n!==void 0||(n=e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`),yn.set(e,n)),n}function $s(e,n){if(typeof n=="function"){let r=L(()=>{e.setAttribute("style",n())});S(e,r);return}if(typeof n=="string"){e.setAttribute("style",n);return}let t=e;for(let r in n){let o=n[r],i=Os(r);if(typeof o=="function"){let s=o,a=L(()=>{t.style.setProperty(i,Ke(String(s())))});S(e,a)}else t.style.setProperty(i,Ke(String(o)))}}function Ds(e,n){if(typeof n=="string"){e.setAttribute("class",n);return}if(typeof n=="function"){let i=L(()=>{e.setAttribute("class",n())});S(e,i);return}let t=n,r=!1,o="";for(let i in t){let s=t[i];if(typeof s=="function"){r=!0;break}s&&(o=o?`${o} ${i}`:i)}if(r){let s=L(()=>{let a="";for(let u in t){let c=t[u];(typeof c=="function"?c():c)&&(a=a?`${a} ${u}`:u)}e.setAttribute("class",a)});S(e,s)}else e.setAttribute("class",o)}function st(e,n){if(typeof n=="string"){e.textContent=n;return}if(typeof n=="number"){e.textContent=String(n);return}if(!(typeof n=="boolean"||n==null)){if(typeof n=="function"){let t=document.createComment("");e.appendChild(t),S(e,Y(t,n));return}if(n instanceof Node){e.appendChild(n);return}if(Array.isArray(n))for(let t=0;t<n.length;t++){let r=n[t];if(typeof r=="function"){let o=document.createComment("");e.appendChild(o),S(e,Y(o,r))}else if(r instanceof Node)e.appendChild(r);else if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];if(typeof i=="function"){let s=document.createComment("");e.appendChild(s),S(e,Y(s,i))}else i instanceof Node?e.appendChild(i):i!=null&&typeof i!="boolean"&&e.appendChild(document.createTextNode(String(i)))}else r!=null&&typeof r!="boolean"&&e.appendChild(document.createTextNode(String(r)))}}}var d=(e,n)=>{let t=Ns(e);return(r,o)=>{if(t)throw new Error(`tagFactory: refusing to create <${e}> \u2014 tag is blocked for security reasons.`);let i=n?document.createElementNS(n,e):document.createElement(e);if(r===void 0)return i;if(typeof r=="string")return o!==void 0?(i.setAttribute("class",r),st(i,o),i):(it&&Hs(r)&&E(`tagFactory: lone string "${r}" looks like a class list but is being rendered as TEXT. For a class, use ${e}({ class: "${r}" }) \u2014 or ${e}("${r}", children) to set the class AND add children.`),i.textContent=r,i);if(typeof r=="number")return i.textContent=String(r),i;if(Array.isArray(r)||r instanceof Node||typeof r=="function")return st(i,r),i;let s=r,a=s.class;a!=null&&Ds(i,a);let u=s.id;u!=null&&(it&&typeof u=="string"&&Ms.has(u.toLowerCase())&&E(`tagFactory: element id="${u}" matches a common global and may cause DOM clobbering. Avoid setting ids from untrusted input.`),i.id=u);let c=o!==void 0?o:s.nodes;c!=null&&st(i,c);let l=s.on;if(l)for(let f in l){let g=l[f];typeof g=="function"?i.addEventListener(f,g):it&&E(`tagFactory: on.${f} handler is not a function (got ${typeof g}). Event listener was not attached.`)}let p=s.style;p!=null&&$s(i,p);let h=s.ref;h&&(h.current=i);for(let f in s)switch(f){case"class":case"id":case"nodes":case"on":case"style":case"ref":case"onElement":continue;default:{let g=s[f];if(g==null||G(f))continue;typeof g=="function"?S(i,Oe(i,f,g)):typeof g=="boolean"?f in i&&(f==="checked"||f==="disabled"||f==="selected")?Rs(i,f,g):g?i.setAttribute(f,""):i.removeAttribute(f):i.setAttribute(f,ge(f,String(g)))}}return s.onElement&&typeof s.onElement=="function"&&s.onElement(i),i}};var Ua=d("html"),vn=d("head"),xn=d("body"),Sn=d("title"),k=d("div"),N=d("span"),Tn=d("section"),En=d("article"),kn=d("header"),wn=d("footer"),An=d("nav"),_n=d("main"),Cn=d("aside"),Ln=d("address"),$e=d("p"),Nn=d("h1"),Mn=d("h2"),De=d("h3"),Rn=d("h4"),Hn=d("h5"),On=d("h6"),$n=d("blockquote"),Dn=d("dd"),In=d("dl"),Pn=d("dt"),Bn=d("figcaption"),Fn=d("figure"),zn=d("hr"),qn=d("li"),jn=d("ol"),Wn=d("ul"),Ie=d("pre"),Vn=d("a"),Kn=d("abbr"),Un=d("b"),Jn=d("bdi"),Gn=d("bdo"),Yn=d("br"),Zn=d("cite"),Pe=d("code"),Qn=d("data"),Xn=d("dfn"),er=d("em"),tr=d("i"),nr=d("kbd"),rr=d("mark"),or=d("q"),ir=d("rp"),sr=d("rt"),ar=d("ruby"),cr=d("s"),ur=d("samp"),lr=d("small"),dr=d("strong"),fr=d("sub"),pr=d("sup"),mr=d("time"),gr=d("u"),br=d("var"),hr=d("area"),yr=d("audio"),vr=d("img"),xr=d("map"),Sr=d("track"),Tr=d("video"),Er=d("embed"),kr=d("iframe"),wr=d("object"),Ar=d("param"),_r=d("picture"),Cr=d("portal"),Lr=d("source"),Nr=d("svg",A),Mr=d("math"),Rr=d("canvas"),Hr=d("noscript"),Or=d("script"),$r=d("del"),Dr=d("ins"),Ir=d("caption"),Pr=d("col"),Br=d("colgroup"),Fr=d("table"),zr=d("tbody"),qr=d("td"),jr=d("tfoot"),Wr=d("th"),Vr=d("thead"),Kr=d("tr"),ue=d("button"),Ur=d("datalist"),Jr=d("fieldset"),Gr=d("form"),Yr=d("input"),Zr=d("label"),Qr=d("legend"),Xr=d("meter"),eo=d("optgroup"),to=d("option"),no=d("output"),ro=d("progress"),oo=d("select"),io=d("textarea"),so=d("details"),ao=d("dialog"),co=d("menu"),uo=d("summary"),lo=d("slot"),fo=d("template"),po=d("base"),mo=d("link"),go=d("meta"),U=d("style"),bo=d("circle",A),ho=d("ellipse",A),yo=d("g",A),vo=d("line",A),xo=d("path",A),So=d("polygon",A),To=d("polyline",A),Eo=d("rect",A),ko=d("text",A),wo=d("tspan",A),Ao=d("defs",A),_o=d("clipPath",A),Co=d("mask",A),Lo=d("pattern",A),No=d("linearGradient",A),Mo=d("radialGradient",A),Ro=d("stop",A),Ho=d("use",A),Oo=d("symbol",A),$o=d("marker",A),Do=d("center"),Io=d("font"),Po=d("marquee"),Bo=e=>d(e);var at="__sibuPendingError";function Fo(e,n){let t=()=>{try{return e.parentNode?(e.dispatchEvent(new CustomEvent("sibu:error-propagate",{bubbles:!0,detail:{error:n}})),!0):!1}catch{return!1}};e.parentNode&&t()||queueMicrotask(()=>{t()||(e[at]=n)})}function xe(e){let n=e,t=n[at];if(t instanceof Error)return delete n[at],t}function ct(e){let n=null;return function(){if(n)return n();let r=k({class:"sibu-lazy"}),o=!1;return e().then(i=>{if(o)return;n=i.default;let s=n();r.replaceChildren(s)}).catch(i=>{if(o)return;let s=i instanceof Error?i:new Error(String(i));E(`[SibuJS] lazy() failed to load component: ${s.message}`),r.replaceChildren(k({class:"sibu-lazy-error"},`Failed to load component: ${s.message}`)),Fo(r,s)}),r.appendChild(N("sibu-lazy-loading","Loading...")),S(r,()=>{o=!0}),r}}function ut({nodes:e,fallback:n}){let t=k({class:"sibu-suspense"}),r=n();t.appendChild(r);let o=!1,i=null,s=null;return S(t,()=>{o=!0,i&&(i.disconnect(),i=null),s&&!t.contains(s)&&C(s)}),queueMicrotask(()=>{if(!o)try{let a=e();if(s=a,a.classList.contains("sibu-lazy")){if(!a.querySelector(".sibu-lazy-loading")){t.replaceChildren(a);return}i=new MutationObserver(()=>{if(o)return;a.querySelector(".sibu-lazy-loading")||(i?.disconnect(),i=null,t.replaceChildren(a))}),i.observe(a,{childList:!0,subtree:!0})}else t.replaceChildren(a)}catch(a){let u=a instanceof Error?a:new Error(String(a));E(`[SibuJS] Suspense nodes() threw: ${u.message}`),Fo(t,u)}}),t}function pt(e,n){try{return e()}catch(t){E(`${n}: callback threw: ${t instanceof Error?t.message:String(t)}`);return}}function lt(e,n,t){let r=pt(e,n);typeof r=="function"&&t&&S(t,r)}var le=new WeakMap,Z=new WeakMap,z=new Set,q=new Set,de=null,Be=0,Is=256;function dt(e){let n=le.get(e);if(n){le.delete(e),z.delete(e);for(let t of n)try{t()}catch{}}}function ft(e){Z.get(e)&&queueMicrotask(()=>{if(e.isConnected)return;let t=Z.get(e);if(t){Z.delete(e),q.delete(e);for(let r of t)try{r()}catch{}}})}function Ps(e){if(z.size===0||e.nodeType!==1)return;let n=e;if(z.has(n)&&n.isConnected&&dt(n),n.firstElementChild)for(let t of Array.from(z))t!==n&&t.isConnected&&n.contains(t)&&dt(t)}function Bs(e){if(q.size===0||e.nodeType!==1)return;let n=e;if(q.has(n)&&!n.isConnected&&ft(n),n.firstElementChild)for(let t of Array.from(q))t!==n&&!t.isConnected&&n.contains(t)&&ft(t)}function Fs(){if(z.size>0)for(let e of Array.from(z))e.isConnected&&dt(e);if(q.size>0)for(let e of Array.from(q))e.isConnected||ft(e)}function zo(){de||typeof document>"u"||(de=new MutationObserver(e=>{for(let n of e)if(n.type==="childList"){if(n.addedNodes.length>0)for(let t=0;t<n.addedNodes.length;t++)Ps(n.addedNodes[t]);if(n.removedNodes.length>0)for(let t=0;t<n.removedNodes.length;t++)Bs(n.removedNodes[t])}Be+=e.length,Be>=Is&&(Be=0,Fs()),mt()}),de.observe(document.body,{childList:!0,subtree:!0}))}function mt(){de&&z.size===0&&q.size===0&&(de.disconnect(),de=null,Be=0)}function zs(e,n){let t=le.get(e);return t||(t=[],le.set(e,t)),t.push(n),z.add(e),zo(),()=>{let r=le.get(e);if(r){let o=r.indexOf(n);o!==-1&&r.splice(o,1),r.length===0&&(le.delete(e),z.delete(e))}mt()}}function qs(e,n){let t=Z.get(e);return t||(t=[],Z.set(e,t)),t.push(n),q.add(e),zo(),()=>{let r=Z.get(e);if(r){let o=r.indexOf(n);o!==-1&&r.splice(o,1),r.length===0&&(Z.delete(e),q.delete(e))}mt()}}function Se(e,n){if(!(typeof document>"u"))if(n){let t=!1;if(S(n,()=>{t=!0}),n.isConnected){queueMicrotask(()=>{t||lt(e,"onMount",n)});return}queueMicrotask(()=>{if(t)return;if(n.isConnected){lt(e,"onMount",n);return}let r=zs(n,()=>{t||lt(e,"onMount",n)});S(n,r)})}else queueMicrotask(()=>{pt(e,"onMount")})}function qo(e,n){if(typeof document>"u")return;let t=!1,r=()=>{t||(t=!0,pt(e,"onUnmount"))};S(n,r);let o=()=>{if(t)return;let i=qs(n,r);S(n,i)};n.isConnected?o():Se(()=>{o()},n)}function jo(e,n){S(n,e)}var gt=Symbol.for("sibujs.ssr.v1");function js(){let e=null;try{if(typeof process<"u"&&process.versions&&process.versions.node){let n=null,t=process.getBuiltinModule;if(typeof t=="function")n=t("node:async_hooks");else{let r=Function("return typeof require==='function'?require:null")();r&&(n=r("node:async_hooks"))}n&&(e=new n.AsyncLocalStorage)}}catch{e=null}return{als:e,fallbackStore:{ssr:!1,suspenseIdCounter:0}}}var Wo=globalThis[gt]??(globalThis[gt]=js()),Fe=Wo.als,Q=Wo.fallbackStore;function X(){if(Fe){let e=Fe.getStore();if(e)return e}return Q}function ee(){return X().ssr}function Vo(e){if(!ee())return null;let n=X(),t=n.caches??(n.caches=new Map),r=t.get(e);return r||(r=new Map,t.set(e,r)),r}function Ko(){X().ssr=!0}function Uo(){X().ssr=!1}function Jo(e){let n={ssr:!0,suspenseIdCounter:0};if(Fe)return Fe.run(n,e);let t=Q.ssr,r=Q.suspenseIdCounter;Q.ssr=!0,Q.suspenseIdCounter=0;try{return e()}finally{Q.ssr=t,Q.suspenseIdCounter=r}}function Go(e){let n=X(),t=n.ssr;n.ssr=!0;try{return e()}finally{t||(n.ssr=!1)}}var bt=globalThis;function Qo(e,n){let t,r=!0;return()=>{let o=e();if(r)r=!1,t=o,K(()=>n(o,void 0));else{let i=t;t=o,K(()=>n(o,i))}}}var Yo=100;function ht(e){let n=e.userCleanups;if(n.length!==0){e.userCleanups=[];for(let t=n.length-1;t>=0;t--)try{n[t]()}catch(r){typeof console<"u"&&console.warn("[SibuJS effect] onCleanup threw:",r)}}}function Zo(e){let n=1;do e.rerunPending=!1,e.userCleanups.length>0&&ht(e),B(e.bodyFn,e.subscriber);while(e.rerunPending&&++n<=Yo);e.rerunPending&&(e.rerunPending=!1,bt.__SIBU_DEV_WARN__!==!1&&typeof console<"u"&&console.error(`[SibuJS] effect re-requested itself ${Yo}+ times \u2014 likely a write-reads-self cycle. Breaking to prevent infinite loop.`))}function Ws(e){if(e.disposed)return;e.disposed=!0;let n=bt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;if(n)try{n.emit("effect:destroy",{effectFn:e.fn})}catch{}try{e.userCleanups.length>0&&ht(e)}catch(t){typeof console<"u"&&console.warn("[SibuJS effect] onCleanup threw during dispose:",t)}try{mn(e.subscriber)}catch(t){typeof console<"u"&&console.warn("[SibuJS effect] dispose threw:",t)}}function R(e,n){if($(typeof e=="function","effect: argument must be a function."),ee())return()=>{};let t={fn:e,onError:n?.onError,userCleanups:[],running:!1,rerunPending:!1,disposed:!1,onCleanup:null,subscriber:null,bodyFn:null};t.onCleanup=s=>{t.userCleanups.push(s)};let r=t.onError;t.bodyFn=r?()=>{try{t.fn(t.onCleanup)}catch(s){r(s)}}:()=>{t.fn(t.onCleanup)};let o=(()=>{if(!t.disposed){if(t.running){t.rerunPending=!0;return}t.running=!0;try{t.rerunPending=!1,t.userCleanups.length>0&&ht(t),B(t.bodyFn,o),t.rerunPending&&Zo(t)}finally{t.running=!1,t.rerunPending=!1}}});o.depsHead=null,o.depsTail=null,o._epoch=0,o._structDirty=!1,o._runEpoch=0,o._runs=0,t.subscriber=o,t.running=!0;try{B(t.bodyFn,t.subscriber),t.rerunPending&&Zo(t)}finally{t.running=!1,t.rerunPending=!1}let i=bt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;return i&&i.emit("effect:create",{effectFn:e}),()=>Ws(t)}var Te=0,yt=new Set;function Vs(e){Te++;try{return e()}finally{Te--,Te===0&&Js()}}function Ks(e){return Te===0?!1:(yt.add(e),!0)}function Us(){return Te>0}function Js(){try{for(let e of yt)bn(e)}finally{yt.clear()}gn()}var Xo=Symbol.for("sibujs.reactive.batch.v1");function Gs(){let e=globalThis,n=e[Xo];if(n)return n;let t={batch:Vs,enqueueBatchedSignal:Ks,isBatching:Us};return e[Xo]=t,t}var vt=Gs(),D=vt.batch,J=vt.enqueueBatchedSignal,ei=vt.isBatching;var xt=globalThis,ze=w();function _(e,n){let t={value:e,__v:0,__sc:0,subsHead:null,subsTail:null,__activeNode:null,__name:void 0},r=ze?n?.name:void 0,o=n?.equals;r&&(t.__name=r);function i(){return ae(t),t.value}i.__signal=t,r&&(i.__name=r);let s;if(o?s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;if(!o(u,c)){if(t.value=c,t.__v++,ze){let l=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;l&&l.emit("signal:update",{signal:t,name:r,oldValue:u,newValue:c})}J(t)||ce(t)}}:ze?s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;if(Object.is(c,u))return;t.value=c,t.__v++;let l=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;l&&l.emit("signal:update",{signal:t,name:r,oldValue:u,newValue:c}),J(t)||ce(t)}:s=a=>{let u=t.value,c=typeof a=="function"?a(u):a;Object.is(c,u)||(t.value=c,t.__v++,J(t)||ce(t))},ze){let a=xt.__SIBU_DEVTOOLS_GLOBAL_HOOK__;a&&a.emit("signal:create",{signal:t,name:r,getter:i,initial:e})}return[i,s]}var Ys=`
2
2
  .sibu-error-display {
3
3
  border: 1px solid var(--sibu-err-border, #e5484d);
4
4
  border-radius: 10px;
@@ -3,7 +3,7 @@ import {
3
3
  notifySubscribers,
4
4
  queueSignalNotification,
5
5
  recordDependency
6
- } from "./chunk-OOUQUCNN.js";
6
+ } from "./chunk-BQLVTAUZ.js";
7
7
  import {
8
8
  isDev
9
9
  } from "./chunk-COY6PUD2.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  div,
3
3
  span
4
- } from "./chunk-3Z2NGWQI.js";
4
+ } from "./chunk-VQZDHAEK.js";
5
5
  import {
6
6
  globalSingleton
7
7
  } from "./chunk-7ZHH77QA.js";
@@ -12,14 +12,14 @@ import {
12
12
  } from "./chunk-L3GAGWCC.js";
13
13
  import {
14
14
  effect
15
- } from "./chunk-BUKYCWHX.js";
15
+ } from "./chunk-X4JS367G.js";
16
16
  import {
17
17
  registerDisposer
18
18
  } from "./chunk-5VGSK6D2.js";
19
19
  import {
20
20
  batch,
21
21
  signal
22
- } from "./chunk-KZBEVFXZ.js";
22
+ } from "./chunk-335KJEN2.js";
23
23
 
24
24
  // src/platform/head.ts
25
25
  var HEAD_URL_ATTRS = /* @__PURE__ */ new Set(["href", "src"]);
@@ -3,7 +3,7 @@ import {
3
3
  recordDependency,
4
4
  retrack,
5
5
  track
6
- } from "./chunk-OOUQUCNN.js";
6
+ } from "./chunk-BQLVTAUZ.js";
7
7
  import {
8
8
  devAssert
9
9
  } from "./chunk-COY6PUD2.js";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  watch
3
- } from "./chunk-H5FI5WDP.js";
3
+ } from "./chunk-QHPUFNHZ.js";
4
4
  import {
5
5
  createId
6
6
  } from "./chunk-CCSJMTRN.js";
7
7
  import {
8
8
  derived
9
- } from "./chunk-ITWCTZYH.js";
9
+ } from "./chunk-4I3M326N.js";
10
10
  import {
11
11
  stripHtml
12
12
  } from "./chunk-L3GAGWCC.js";
13
13
  import {
14
14
  effect
15
- } from "./chunk-BUKYCWHX.js";
15
+ } from "./chunk-X4JS367G.js";
16
16
  import {
17
17
  batch,
18
18
  signal
19
- } from "./chunk-KZBEVFXZ.js";
19
+ } from "./chunk-335KJEN2.js";
20
20
 
21
21
  // src/widgets/Combobox.ts
22
22
  var boundComboboxes = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  signal
3
- } from "./chunk-KZBEVFXZ.js";
3
+ } from "./chunk-335KJEN2.js";
4
4
 
5
5
  // src/core/rendering/context.ts
6
6
  function context(defaultValue) {
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  bindAttribute
3
- } from "./chunk-K35BAR4P.js";
3
+ } from "./chunk-DLBFEAIS.js";
4
4
  import {
5
5
  derived
6
- } from "./chunk-ITWCTZYH.js";
6
+ } from "./chunk-4I3M326N.js";
7
7
  import {
8
8
  globalSingleton
9
9
  } from "./chunk-7ZHH77QA.js";
10
10
  import {
11
11
  effect
12
- } from "./chunk-BUKYCWHX.js";
12
+ } from "./chunk-X4JS367G.js";
13
13
  import {
14
14
  dispose,
15
15
  registerDisposer
16
16
  } from "./chunk-5VGSK6D2.js";
17
17
  import {
18
18
  signal
19
- } from "./chunk-KZBEVFXZ.js";
19
+ } from "./chunk-335KJEN2.js";
20
20
  import {
21
21
  track
22
- } from "./chunk-OOUQUCNN.js";
22
+ } from "./chunk-BQLVTAUZ.js";
23
23
 
24
24
  // src/ui/form.ts
25
25
  function required(message = "This field is required") {
@@ -419,7 +419,7 @@ function forEachSubscriber(signal, visit) {
419
419
 
420
420
  // src/reactivity/track.ts
421
421
  var _isDev2 = isDev();
422
- var _runtimeVersion = true ? "3.4.0" : "dev";
422
+ var _runtimeVersion = true ? "3.4.1" : "dev";
423
423
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
424
424
  function resolveReactiveApi() {
425
425
  const g = globalThis;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5VGSK6D2.js";
4
4
  import {
5
5
  signal
6
- } from "./chunk-KZBEVFXZ.js";
6
+ } from "./chunk-335KJEN2.js";
7
7
 
8
8
  // src/ui/transition.ts
9
9
  function transition(element, options = {}) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-L3GAGWCC.js";
5
5
  import {
6
6
  reactiveBinding
7
- } from "./chunk-OOUQUCNN.js";
7
+ } from "./chunk-BQLVTAUZ.js";
8
8
  import {
9
9
  devWarn,
10
10
  isDev
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-H3SRKIYX.js";
4
4
  import {
5
5
  effect
6
- } from "./chunk-BUKYCWHX.js";
6
+ } from "./chunk-X4JS367G.js";
7
7
  import {
8
8
  batch,
9
9
  signal
10
- } from "./chunk-KZBEVFXZ.js";
10
+ } from "./chunk-335KJEN2.js";
11
11
 
12
12
  // src/browser/media.ts
13
13
  function media(query) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  context
3
- } from "./chunk-RT3IYFN2.js";
3
+ } from "./chunk-6CAJU5TP.js";
4
4
  import {
5
5
  derived
6
- } from "./chunk-ITWCTZYH.js";
6
+ } from "./chunk-4I3M326N.js";
7
7
  import {
8
8
  globalSingleton
9
9
  } from "./chunk-7ZHH77QA.js";
@@ -12,14 +12,14 @@ import {
12
12
  } from "./chunk-L3GAGWCC.js";
13
13
  import {
14
14
  effect
15
- } from "./chunk-BUKYCWHX.js";
15
+ } from "./chunk-X4JS367G.js";
16
16
  import {
17
17
  getRequestScopedCache
18
18
  } from "./chunk-S3NFJO6L.js";
19
19
  import {
20
20
  batch,
21
21
  signal
22
- } from "./chunk-KZBEVFXZ.js";
22
+ } from "./chunk-335KJEN2.js";
23
23
 
24
24
  // src/data/retry.ts
25
25
  function calculateDelay(attempt, strategy, baseDelay, maxDelay, jitter) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  bindAttribute
3
- } from "./chunk-K35BAR4P.js";
3
+ } from "./chunk-DLBFEAIS.js";
4
4
  import {
5
5
  isEventHandlerAttr,
6
6
  sanitizeAttributeString,
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  reactiveBinding,
15
15
  track
16
- } from "./chunk-OOUQUCNN.js";
16
+ } from "./chunk-BQLVTAUZ.js";
17
17
  import {
18
18
  devWarn,
19
19
  isDev
@@ -6,18 +6,18 @@ import {
6
6
  } from "./chunk-L3GAGWCC.js";
7
7
  import {
8
8
  effect
9
- } from "./chunk-BUKYCWHX.js";
9
+ } from "./chunk-X4JS367G.js";
10
10
  import {
11
11
  dispose
12
12
  } from "./chunk-5VGSK6D2.js";
13
13
  import {
14
14
  signal
15
- } from "./chunk-KZBEVFXZ.js";
15
+ } from "./chunk-335KJEN2.js";
16
16
  import {
17
17
  forEachSubscriber,
18
18
  getSubscriberCount,
19
19
  getSubscriberDeps
20
- } from "./chunk-OOUQUCNN.js";
20
+ } from "./chunk-BQLVTAUZ.js";
21
21
  import {
22
22
  isDev
23
23
  } from "./chunk-COY6PUD2.js";
@@ -5,7 +5,7 @@ import {
5
5
  resumeTracking,
6
6
  suspendTracking,
7
7
  track
8
- } from "./chunk-OOUQUCNN.js";
8
+ } from "./chunk-BQLVTAUZ.js";
9
9
  import {
10
10
  devAssert
11
11
  } from "./chunk-COY6PUD2.js";
@@ -135,10 +135,10 @@ import {
135
135
  use,
136
136
  var_,
137
137
  video
138
- } from "./chunk-3Z2NGWQI.js";
138
+ } from "./chunk-VQZDHAEK.js";
139
139
  import {
140
140
  watch
141
- } from "./chunk-H5FI5WDP.js";
141
+ } from "./chunk-QHPUFNHZ.js";
142
142
  import {
143
143
  __resetIdCounter,
144
144
  createId
@@ -148,19 +148,19 @@ import {
148
148
  } from "./chunk-EX77FXTT.js";
149
149
  import {
150
150
  context
151
- } from "./chunk-RT3IYFN2.js";
151
+ } from "./chunk-6CAJU5TP.js";
152
152
  import {
153
153
  SVG_NS,
154
154
  bindChildNode,
155
155
  tagFactory
156
- } from "./chunk-JNGGM2XE.js";
156
+ } from "./chunk-NXR2YFZB.js";
157
157
  import {
158
158
  bindAttribute,
159
159
  bindDynamic
160
- } from "./chunk-K35BAR4P.js";
160
+ } from "./chunk-DLBFEAIS.js";
161
161
  import {
162
162
  derived
163
- } from "./chunk-ITWCTZYH.js";
163
+ } from "./chunk-4I3M326N.js";
164
164
  import {
165
165
  globalSingleton
166
166
  } from "./chunk-7ZHH77QA.js";
@@ -173,7 +173,7 @@ import {
173
173
  import {
174
174
  effect,
175
175
  on
176
- } from "./chunk-BUKYCWHX.js";
176
+ } from "./chunk-X4JS367G.js";
177
177
  import {
178
178
  disableSSR,
179
179
  enableSSR,
@@ -193,7 +193,7 @@ import {
193
193
  enqueueBatchedSignal,
194
194
  isBatching,
195
195
  signal
196
- } from "./chunk-KZBEVFXZ.js";
196
+ } from "./chunk-335KJEN2.js";
197
197
  import {
198
198
  notifySubscribers,
199
199
  recordDependency,
@@ -203,7 +203,7 @@ import {
203
203
  suspendTracking,
204
204
  track,
205
205
  untracked
206
- } from "./chunk-OOUQUCNN.js";
206
+ } from "./chunk-BQLVTAUZ.js";
207
207
  import {
208
208
  __export,
209
209
  devAssert,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SVG_NS,
3
3
  tagFactory
4
- } from "./chunk-JNGGM2XE.js";
4
+ } from "./chunk-NXR2YFZB.js";
5
5
 
6
6
  // src/core/rendering/html.ts
7
7
  var html = tagFactory("html");
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-L3GAGWCC.js";
7
7
  import {
8
8
  effect
9
- } from "./chunk-BUKYCWHX.js";
9
+ } from "./chunk-X4JS367G.js";
10
10
  import {
11
11
  dispose
12
12
  } from "./chunk-5VGSK6D2.js";
13
13
  import {
14
14
  signal
15
- } from "./chunk-KZBEVFXZ.js";
15
+ } from "./chunk-335KJEN2.js";
16
16
  import {
17
17
  devWarn,
18
18
  isDev
@@ -5,7 +5,7 @@ import {
5
5
  cleanup,
6
6
  retrack,
7
7
  untracked
8
- } from "./chunk-OOUQUCNN.js";
8
+ } from "./chunk-BQLVTAUZ.js";
9
9
  import {
10
10
  devAssert
11
11
  } from "./chunk-COY6PUD2.js";
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-WWV3SJ3L.js";
4
4
  import {
5
5
  tagFactory
6
- } from "./chunk-JNGGM2XE.js";
6
+ } from "./chunk-NXR2YFZB.js";
7
7
  import {
8
8
  derived
9
- } from "./chunk-ITWCTZYH.js";
9
+ } from "./chunk-4I3M326N.js";
10
10
  import {
11
11
  effect
12
- } from "./chunk-BUKYCWHX.js";
12
+ } from "./chunk-X4JS367G.js";
13
13
  import {
14
14
  batch,
15
15
  signal
16
- } from "./chunk-KZBEVFXZ.js";
16
+ } from "./chunk-335KJEN2.js";
17
17
 
18
18
  // src/ecosystem/adapters/mobx.ts
19
19
  function mobXAdapter(options) {
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-H3SRKIYX.js";
5
5
  import {
6
6
  derived
7
- } from "./chunk-ITWCTZYH.js";
7
+ } from "./chunk-4I3M326N.js";
8
8
  import {
9
9
  effect
10
- } from "./chunk-BUKYCWHX.js";
10
+ } from "./chunk-X4JS367G.js";
11
11
  import {
12
12
  batch,
13
13
  signal
14
- } from "./chunk-KZBEVFXZ.js";
14
+ } from "./chunk-335KJEN2.js";
15
15
 
16
16
  // src/patterns/machine.ts
17
17
  function machine(config) {
package/dist/data.cjs CHANGED
@@ -482,7 +482,7 @@ function forEachSubscriber(signal2, visit) {
482
482
 
483
483
  // src/reactivity/track.ts
484
484
  var _isDev3 = isDev();
485
- var _runtimeVersion = true ? "3.4.0" : "dev";
485
+ var _runtimeVersion = true ? "3.4.1" : "dev";
486
486
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
487
487
  function resolveReactiveApi() {
488
488
  const g = globalThis;