@fluixi/template-runtime 0.1.0-alpha.12 → 0.1.0-alpha.14

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.
@@ -1,4 +1,4 @@
1
- /*! @fluixi/template-runtime v0.1.0-alpha.12 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
- "use strict";var Fluixi=(()=>{var At=Object.defineProperty;var Ks=Object.getOwnPropertyDescriptor;var Js=Object.getOwnPropertyNames;var Gs=Object.prototype.hasOwnProperty;var Wn=(e,t)=>{for(var n in t)At(e,n,{get:t[n],enumerable:!0})},Xs=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Js(t))!Gs.call(e,i)&&i!==n&&At(e,i,{get:()=>t[i],enumerable:!(r=Ks(t,i))||r.enumerable});return e};var Ys=e=>Xs(At({},"__esModule",{value:!0}),e);var Ll={};Wn(Ll,{Dynamic:()=>kn,ErrorBoundary:()=>En,For:()=>gn,Index:()=>bn,Match:()=>wn,Portal:()=>xn,Show:()=>vn,Switch:()=>Sn,batch:()=>J,define:()=>Vs,effect:()=>qr,html:()=>Bs,hydrate:()=>Pe,insert:()=>L,memo:()=>Lr,onCleanup:()=>ke,render:()=>Me,resource:()=>Hr,signal:()=>jr,store:()=>zr,svg:()=>Us,untrack:()=>ue});var $n={};Wn($n,{ALWAYS_ATTRIBUTE:()=>si,ClientOnly:()=>Xi,Dynamic:()=>kn,ErrorBoundary:()=>En,FX_DATA_ID:()=>mn,For:()=>gn,Index:()=>bn,Island:()=>Ua,JSX_PROPERTIES:()=>zt,Match:()=>wn,NoSsr:()=>tu,Portal:()=>xn,SVG_ELEMENTS:()=>Mc,SVG_NAMESPACE:()=>lt,Show:()=>vn,Switch:()=>Sn,VERSION:()=>yi,VOID_ELEMENTS:()=>Rc,addClass:()=>ci,addDelegatedEventListener:()=>nn,addNativeEventListener:()=>cn,appendChildren:()=>pi,applyElementProp:()=>Ut,applyProps:()=>ln,applyUse:()=>an,asComponent:()=>bi,asContext:()=>ia,asOutlet:()=>na,asProvider:()=>ra,asRoute:()=>ta,asRouter:()=>Qc,asRoutes:()=>ea,asSuspense:()=>sa,bindPair:()=>Vi,captureHydrationCursor:()=>fa,checkRenderType:()=>oa,classMap:()=>nu,cleanChildren:()=>G,cloneTemplate:()=>on,closest:()=>Dc,createComponent:()=>fn,createDynamicElement:()=>Xa,createElement:()=>di,createNativeElement:()=>rn,createPortal:()=>Hi,createRequestContext:()=>hn,createTemplate:()=>sn,default:()=>ku,delegate:()=>Wc,delegateEvents:()=>pt,escapeFxJson:()=>Ji,escapeHTML:()=>Na,fnName:()=>xa,generateID:()=>ya,getAttribute:()=>li,getGlobal:()=>Yc,getLitEventName:()=>Nc,getLocals:()=>ja,getOffset:()=>Hc,getRequestContext:()=>fe,getRequestEvent:()=>zi,getRequestLocals:()=>Ki,getServerData:()=>Gi,getStableElementId:()=>ma,getStyle:()=>jc,handleRef:()=>Re,hasClass:()=>Ic,holeContent:()=>Di,holeEnd:()=>Pi,holeScope:()=>Mi,html:()=>Ja,hydrate:()=>Pe,hydrateAdvancePast:()=>tn,hydrateIslands:()=>Ka,indexArray:()=>Ue,initializeIntegration:()=>Pa,insert:()=>L,insertExpression:()=>_e,intergartionInitialized:()=>Da,isAccessor:()=>Oa,isAttributeOnlyName:()=>oi,isComponent:()=>j,isContext:()=>Ai,isCustomElement:()=>ii,isDOMNode:()=>Gc,isDelegatedEvent:()=>wa,isDomElement:()=>$i,isDomNode:()=>Oe,isDomText:()=>Ti,isEventHandler:()=>Cc,isFunction:()=>Sa,isIntegrationInitialized:()=>Fi,isJSXTemplate:()=>Jc,isLitTemplateResult:()=>mi,isNativeElement:()=>Ca,isOutlet:()=>xi,isPromise:()=>xe,isProvider:()=>Ei,isReactElement:()=>zc,isRoute:()=>ki,isRouter:()=>wi,isRoutes:()=>Si,isSVGElement:()=>Wi,isServer:()=>q,isSuspense:()=>_i,isTemplateFactory:()=>Kc,isVisible:()=>Lc,iterateFn:()=>Ea,keyArray:()=>Be,makeArrayFlat:()=>Ii,mapArray:()=>Fe,mergeProps:()=>qi,observeIntersection:()=>Fc,observeResize:()=>Bc,query:()=>Kt,queryAll:()=>Pc,registerCoreVersion:()=>Zc,registerCreateComponent:()=>Ma,registerGlobal:()=>Xc,removeAttribute:()=>fi,removeChildren:()=>hi,removeClass:()=>ai,removeDelegatedEventListener:()=>at,render:()=>Me,renderToString:()=>yu,renderToStringAsync:()=>wu,resetIntegration:()=>Bi,runHydrationAt:()=>Jt,runWithRequestContext:()=>pn,runWithoutHydration:()=>da,scrollIntoView:()=>qc,serializeNode:()=>Y,serializeResourceData:()=>us,setAttribute:()=>M,setClassList:()=>Ce,setClassName:()=>he,setDataRedactor:()=>gu,setDynamicAttribute:()=>$e,setDynamicBoolAttribute:()=>un,setDynamicProperty:()=>Te,setProperty:()=>de,setRequestStore:()=>Ia,setServerMode:()=>Ae,setStyle:()=>Ne,setStyles:()=>Qt,shouldSetAsProperty:()=>Oc,splitProps:()=>Ta,spread:()=>Li,stampVersions:()=>vi,styleMap:()=>iu,svg:()=>Ga,templateNode:()=>Ri,toAttributeName:()=>Tc,toggleClass:()=>ui,versions:()=>A,waitForElement:()=>Vc,warnOnVersionSkew:()=>gi});var $t="1.0.0-alpha.92",zn=$t.split(".")[0],Vn=`__fluixi_signal_state_v${zn}__`,Kn=`__fluixi_signal_builds_v${zn}__`,Zs=e=>{typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e)};function Jn(){return{consumer:null,untracked:!1,owner:null,queue:[],scheduled:!1,flushing:!1,batchDepth:0,hostSchedule:Zs,onSuspend:null,onError:null,observer:null}}var qe=globalThis;function Qs(e){let t=Jn(),n=e;for(let r of Object.keys(t))r in e||(n[r]=t[r]);return e}function eo(){let e=qe[Vn];return e?Qs(e):qe[Vn]=Jn()}var h=eo();(qe[Kn]??=[]).push($t);function Gn(){return[...new Set(qe[Kn]??[])]}function to(e){return h.observer=e,()=>{h.observer===e&&(h.observer=null)}}var $=[],no;function Tt(e){let t=h.observer;t&&t.created(e.parents===void 0?{...e,parents:$,origin:e.origin??no}:e)}function ro(e){return h.observer?($.push(e),!0):!1}function io(){$.pop()}function so(e){h.observer?.ran?.(e)}function oo(e,t){h.observer?.wrote?.(e,t)}function N(e,t,n,r){let i=h.observer;!i?.bound||!$.length||i.bound($[$.length-1],e,t,n,r)}function O(e,t,n,r){let i=h.observer;!i?.directive||!$.length||i.directive($[$.length-1],e,t,n,r)}function co(e){h.observer?.contextCreated?.(e)}function ao(e,t,n){let r=h.observer;!r?.context||!$.length||r.context($[$.length-1],e,t,n)}function Ct(e){h.observer?.disposed?.(e)}var uo="__FLUIXI_DEVTOOLS_HOOK__",Fn=globalThis[uo];if(typeof Fn?.inject=="function")try{Fn.inject({observeReactiveNodes:to,version:$t})}catch{}function Xn(){return h.observer!=null}var Bn=0,Un=1,ve=2,Yn=class{constructor(){this.observers=null,this.watchers=null,this.version=0}updateIfNecessary(){}track(){if(h.untracked)return;let e=h.consumer;e&&((this.observers??=new Set).add(e),(e.sources??=new Set).add(this))}},lo=class extends Yn{constructor(e,t){super(),this._value=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){return this.track(),this._value}set(e){if(!this._equals(this._value,e)){if(this._value=e,this.version++,oo(this,h.consumer),this.observers)for(let t of[...this.observers])t.markDirty(ve);_t(this)}}peek(){return this._value}},Zn=class extends Yn{constructor(e,t){super(),this._threw=!1,this._initialized=!1,this.state=ve,this.sources=null,this._fn=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){if(h.consumer===this)throw new Error("Signal.Computed cannot read itself");if(this.track(),this.updateIfNecessary(),this._threw)throw this._error;return this._value}updateIfNecessary(){if(this.state===Un&&this.sources){for(let e of this.sources)if(e.updateIfNecessary(),this.state===ve)break}(this.state===ve||!this._initialized)&&this.recompute(),this.state=Bn}recompute(){if(this.sources){for(let c of this.sources)c.observers?.delete(this);this.sources.clear()}let e=h.consumer,t=h.untracked,n=ro(this);h.consumer=this,h.untracked=!1;let r,i=!1,s;try{r=this._fn()}catch(c){i=!0,s=c,r=this._value}finally{h.consumer=e,h.untracked=t,n&&io()}let o=!this._initialized||this._threw!==i||(i?s!==this._error:!this._equals(this._value,r));if(this._initialized=!0,this._threw=i,this._error=s,this._value=r,so(this),o){if(this.version++,this.observers)for(let c of[...this.observers])c.markDirty(ve);_t(this)}}markDirty(e){if(this.state>=e)return;let t=this.state===Bn;if(this.state=e,t){if(this.observers)for(let n of[...this.observers])n.markDirty(Un);_t(this)}}peek(){if(this.updateIfNecessary(),this._threw)throw this._error;return this._value}};function _t(e){if(e.watchers)for(let t of[...e.watchers])t._notify(e)}var fo=class{constructor(e){this._watched=new Set,this._pending=new Set,this._notifyFn=e}watch(...e){for(let t of e)this._watched.add(t),(t.watchers??=new Set).add(this)}unwatch(...e){for(let t of e)this._watched.delete(t),t.watchers?.delete(this),this._pending.delete(t)}getPending(){let e=[...this._pending];return this._pending.clear(),e}_notify(e){if(!this._watched.has(e)||this._pending.has(e))return;let t=this._pending.size===0;this._pending.add(e),t&&this._notifyFn()}};function ho(e){if(h.untracked)return e();h.untracked=!0;try{return e()}finally{h.untracked=!1}}function ie(e){let t=We(e);return e&&(e.owned??=[]).push(t),t}function se(e,t=!0){ge(e,t)}function We(e){return{cleanups:null,owned:null,parent:e,contexts:null}}function Qn(e,t){let n=Symbol(t??"context");return co(n),{id:n,defaultValue:e,Provider:i=>{ao(n,"provide",i.value);let s=h.owner,o=We(s);(o.contexts=new Map).set(n,i.value),s&&(s.owned??=[]).push(o),h.owner=o;try{return i.children}finally{h.owner=s}}}}function er(e,t){let n=e;for(;n;){if(n.contexts&&n.contexts.has(t.id))return n.contexts.get(t.id);n=n.parent}return t.defaultValue}function po(e){h.onSuspend=e}function mo(e){return h.onSuspend?(h.onSuspend(e,h.owner),!0):!1}function yo(e){h.onError=e}function H(){return h.owner}function T(e,t){let n=h.owner;h.owner=e;try{return t()}finally{h.owner=n}}function S(e){if(h.owner){if(h.owner.disposed){e();return}(h.owner.cleanups??=[]).push(e)}}function ge(e,t=!0){if(!e.disposed){if(e.owned){for(let n=e.owned.length-1;n>=0;n--)ge(e.owned[n]);e.owned=null}if(e.cleanups){for(let n=e.cleanups.length-1;n>=0;n--)e.cleanups[n]();e.cleanups=null}t&&(e.disposed=!0)}}function P(e){let t=We(h.owner);h.owner&&(h.owner.owned??=[]).push(t);let n=h.owner;h.owner=t;try{return e(()=>ge(t))}finally{h.owner=n}}function vo(e){h.hostSchedule=e??(t=>{Promise.resolve().then(t)})}function go(e){e.queued||(e.queued=!0,h.queue.push(e),!h.scheduled&&h.batchDepth===0&&(h.scheduled=!0,h.hostSchedule(Ve)))}function Ve(){if(h.scheduled=!1,h.flushing)return;h.flushing=!0;let e=0;try{for(;h.queue.length;){if(++e>1e5)throw new Error("[fluixi] effect flush did not settle (cycle?)");let t=h.queue;h.queue=[];for(let n of t)n.queued=!1,n.disposed||n.run()}}finally{h.flushing=!1}}function bo(){h.batchDepth===0&&Ve()}function wo(e){h.batchDepth++;try{return e()}finally{--h.batchDepth===0&&Ve()}}var So=class{constructor(e,t=!1){this.queued=!1,this.disposed=!1,this.owner=We(h.owner),h.owner&&(h.owner.cleanups??=[]).push(()=>this.dispose()),this.computed=new Zn(()=>{ge(this.owner,!1),T(this.owner,()=>{let n=e();typeof n=="function"&&(this.owner.cleanups??=[]).push(n)})}),Tt({kind:"effect",node:this.computed,handle:this,internal:!t}),this.watcher=new fo(()=>go(this)),this.run(),this.watcher.watch(this.computed)}run(){if(!this.disposed){this.watcher.getPending();try{this.computed.get()}catch(e){if(e&&typeof e.then=="function"&&h.onSuspend){h.onSuspend(e,this.owner);return}if(h.onError&&h.onError(e,this.owner))return;throw e}}}dispose(){this.disposed||(this.disposed=!0,Ct(this.computed),this.watcher.unwatch(this.computed),ge(this.owner))}};function tr(e,t=!1){let n=new So(e,t);return()=>n.dispose()}function ko(e){return!!e&&typeof e.then=="function"}vo(()=>{});var nr=Symbol.for("signal"),xo=Symbol.for("memo"),Eo=Symbol.for("signal-node");function D(e,t){let n=new lo(e,{equals:t?.equals}),r=(()=>n.get()),i=(s=>{let o=typeof s=="function"?s(n.peek()):s;return n.set(o),bo(),o});return Object.defineProperty(r,nr,{value:!0,enumerable:!0}),Object.defineProperty(r,Eo,{value:{get value(){return n.peek()},get version(){return n.version}},enumerable:!1}),Tt({kind:"signal",node:n,handle:r,name:t?.name,set:i}),Xn()&&S(()=>Ct(n)),[r,i]}function g(e,t,n){let r=t,i=H(),s=new Zn(()=>T(i,()=>{try{return r=e(r)}catch(c){if(ko(c))return mo(c),r;throw c}}),{equals:n?.equals}),o=(()=>s.get());return Object.defineProperty(o,nr,{value:!0,enumerable:!0}),Object.defineProperty(o,xo,{value:!0,enumerable:!0}),Tt({kind:"memo",node:s,handle:o,name:n?.name}),Xn()&&S(()=>Ct(s)),o}function W(e,t){let n=t;return tr(()=>{n=e(n)},!0)}function w(e,t){let n=t;return tr(()=>{n=e(n)})}function oe(e){return wo(e)}function I(e){return ho(e)}function rr(){return Ve(),Promise.resolve()}function Fe(e,t,n){let r=[];return S(()=>{for(let i of r)i.dispose();r=[]}),g(()=>{let i=e()||[];return I(()=>{if(i.length===0){for(let a of r)a.dispose();return r=[],n?.fallback?n.fallback():[]}let s=new Map;for(let a of r)s.has(a.item)||s.set(a.item,a);let o=[],c=new Set;for(let a=0;a<i.length;a++){let u=i[a],l=s.get(u);if(l&&!c.has(l))l.setIndex(a),o.push(l),c.add(l);else{let f,d,y;P(v=>{y=v;let[_,me]=D(a,{name:"row index"});d=me,f=t(u,_)});let b={item:u,rendered:f,dispose:y,setIndex:d};o.push(b),c.add(b)}}for(let a of r)c.has(a)||a.dispose();return r=o,o.map(a=>a.rendered)})},void 0,{name:"mapArray"})}function Be(e,t,n,r){let i=[],s=[];return S(()=>{for(let o of s)o.dispose();i=[],s=[]}),g(()=>{let o=e()||[];return I(()=>{if(o.length===0){for(let f of s)f.dispose();return i=[],s=[],r?.fallback?r.fallback():[]}let c=new Map;for(let f=0;f<i.length;f++)c.set(i[f],s[f]);let a=[],u=[],l=new Set;for(let f=0;f<o.length;f++){let d=t(o[f]),y=c.get(d);if(y&&!l.has(d))y.setIndex(f),a.push(y);else{let b,v,_;P(me=>{_=me;let[Q,ye]=D(f,{name:"row index"});v=ye;let Ie=g(re=>{let z=(e()||[])[Q()];return z??re},o[f]);b=n(Ie,Q)}),a.push({rendered:b,dispose:_,setIndex:v})}u.push(d),l.add(d)}for(let[f,d]of c)l.has(f)||d.dispose();return i=u,s=a,a.map(f=>f.rendered)})},void 0,{name:"keyArray"})}function Ue(e,t,n){let r=[];return S(()=>{for(let i of r)i.dispose();r=[]}),g(()=>{let i=e()||[];return I(()=>{if(i.length===0){for(let a of r)a.dispose();return r=[],n?.fallback?n.fallback():[]}let s=r.length,o=i.length;for(let a=s;a<o;a++){let u,l,f,d=i[a];P(y=>{f=y;let[b,v]=D(d);l=v,u=t(b,a)}),r.push({rendered:u,setItem:l,dispose:f})}for(let a=o;a<s;a++)r[a].dispose();o<s&&(r=r.slice(0,o));let c=Math.min(s,o);for(let a=0;a<c;a++)r[a].setItem(i[a]);return r.map(a=>a.rendered)})},void 0,{name:"indexArray"})}var Ao=typeof window>"u"?!1:window.__FLUIXI_PROD__===!0,_o=typeof process>"u"?Ao:!1,$o=Symbol.for("signal");function k(e){return typeof e=="function"&&e[$o]===!0}var To=null;function ir(e){To=e}var Co=null;function sr(e){Co=e}var No=null;function ze(e){No=e}var Oo=null;function or(e){Oo=e}function He(e){if(typeof e=="function"&&!e.length){let t=e();return k(t)?t:He(t)}if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=He(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Ke(e){let t=g(e);return _o?g(()=>He(t()),void 0,{name:"children"}):g(()=>He(t()))}var Ro=Qn();po((e,t)=>{let n=er(t,Ro);n&&(n.increment(),e.finally(()=>n.decrement()))});var Mo=Qn();yo((e,t)=>{let n=er(t,Mo);return n?(n.setError(e),!0):!1});var Nt=Symbol.for("fluixi-proxy");var cr="1.0.0-alpha.92";var Ht="1.0.0-alpha.92";var Ar=Ht.split(".")[0],ar=`__fluixi_signal_state_v${Ar}__`,Po=`__fluixi_signal_builds_v${Ar}__`,Do=e=>{typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e)};function _r(){return{consumer:null,untracked:!1,owner:null,queue:[],scheduled:!1,flushing:!1,batchDepth:0,hostSchedule:Do,onSuspend:null,onError:null,observer:null}}var Rt=globalThis;function Io(e){let t=_r(),n=e;for(let r of Object.keys(t))r in e||(n[r]=t[r]);return e}function jo(){let e=Rt[ar];return e?Io(e):Rt[ar]=_r()}var p=jo();(Rt[Po]??=[]).push(Ht);function Lo(e){return p.observer=e,()=>{p.observer===e&&(p.observer=null)}}var V=[],Je;function qo(e,t){if(!p.observer)return t();let n=Je;Je=e;try{return t()}finally{Je=n}}function nt(e){let t=p.observer;t&&t.created(e.parents===void 0?{...e,parents:V,origin:e.origin??Je}:e)}function Ho(e){return p.observer?(V.push(e),!0):!1}function Wo(){V.pop()}function Vo(e){p.observer?.ran?.(e)}function Fo(e,t){p.observer?.wrote?.(e,t)}function $r(e){let t=p.observer;!t?.props||!V.length||!e||t.props(V[V.length-1],e)}function Bo(e){p.observer?.contextCreated?.(e)}function Uo(e,t,n){let r=p.observer;!r?.context||!V.length||r.context(V[V.length-1],e,t,n)}function ur(e,t,n){p.observer?.moved?.(e,t,n)}function we(e){p.observer?.disposed?.(e)}var zo="__FLUIXI_DEVTOOLS_HOOK__",lr=globalThis[zo];if(typeof lr?.inject=="function")try{lr.inject({observeReactiveNodes:Lo,version:Ht})}catch{}function rt(){return p.observer!=null}var fr=0,dr=1,be=2,Tr=class{constructor(){this.observers=null,this.watchers=null,this.version=0}updateIfNecessary(){}track(){if(p.untracked)return;let e=p.consumer;e&&((this.observers??=new Set).add(e),(e.sources??=new Set).add(this))}},Ko=class extends Tr{constructor(e,t){super(),this._value=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){return this.track(),this._value}set(e){if(!this._equals(this._value,e)){if(this._value=e,this.version++,Fo(this,p.consumer),this.observers)for(let t of[...this.observers])t.markDirty(be);Mt(this)}}peek(){return this._value}},Cr=class extends Tr{constructor(e,t){super(),this._threw=!1,this._initialized=!1,this.state=be,this.sources=null,this._fn=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){if(p.consumer===this)throw new Error("Signal.Computed cannot read itself");if(this.track(),this.updateIfNecessary(),this._threw)throw this._error;return this._value}updateIfNecessary(){if(this.state===dr&&this.sources){for(let e of this.sources)if(e.updateIfNecessary(),this.state===be)break}(this.state===be||!this._initialized)&&this.recompute(),this.state=fr}recompute(){if(this.sources){for(let c of this.sources)c.observers?.delete(this);this.sources.clear()}let e=p.consumer,t=p.untracked,n=Ho(this);p.consumer=this,p.untracked=!1;let r,i=!1,s;try{r=this._fn()}catch(c){i=!0,s=c,r=this._value}finally{p.consumer=e,p.untracked=t,n&&Wo()}let o=!this._initialized||this._threw!==i||(i?s!==this._error:!this._equals(this._value,r));if(this._initialized=!0,this._threw=i,this._error=s,this._value=r,Vo(this),o){if(this.version++,this.observers)for(let c of[...this.observers])c.markDirty(be);Mt(this)}}markDirty(e){if(this.state>=e)return;let t=this.state===fr;if(this.state=e,t){if(this.observers)for(let n of[...this.observers])n.markDirty(dr);Mt(this)}}peek(){if(this.updateIfNecessary(),this._threw)throw this._error;return this._value}};function Mt(e){if(e.watchers)for(let t of[...e.watchers])t._notify(e)}var Jo=class{constructor(e){this._watched=new Set,this._pending=new Set,this._notifyFn=e}watch(...e){for(let t of e)this._watched.add(t),(t.watchers??=new Set).add(this)}unwatch(...e){for(let t of e)this._watched.delete(t),t.watchers?.delete(this),this._pending.delete(t)}getPending(){let e=[...this._pending];return this._pending.clear(),e}_notify(e){if(!this._watched.has(e)||this._pending.has(e))return;let t=this._pending.size===0;this._pending.add(e),t&&this._notifyFn()}};function Go(e){if(p.untracked)return e();p.untracked=!0;try{return e()}finally{p.untracked=!1}}function Nr(e){return{cleanups:null,owned:null,parent:e,contexts:null}}function Or(e,t){let n=Symbol(t??"context");return Bo(n),{id:n,defaultValue:e,Provider:i=>{Uo(n,"provide",i.value);let s=p.owner,o=Nr(s);(o.contexts=new Map).set(n,i.value),s&&(s.owned??=[]).push(o),p.owner=o;try{return i.children}finally{p.owner=s}}}}function Rr(e,t){let n=e;for(;n;){if(n.contexts&&n.contexts.has(t.id))return n.contexts.get(t.id);n=n.parent}return t.defaultValue}function Xo(e){p.onSuspend=e}function Yo(e){return p.onSuspend?(p.onSuspend(e,p.owner),!0):!1}function Zo(e){p.onError=e}function Qo(){return p.owner}function Mr(e,t){let n=p.owner;p.owner=e;try{return t()}finally{p.owner=n}}function ke(e){if(p.owner){if(p.owner.disposed){e();return}(p.owner.cleanups??=[]).push(e)}}function Pt(e,t=!0){if(!e.disposed){if(e.owned){for(let n=e.owned.length-1;n>=0;n--)Pt(e.owned[n]);e.owned=null}if(e.cleanups){for(let n=e.cleanups.length-1;n>=0;n--)e.cleanups[n]();e.cleanups=null}t&&(e.disposed=!0)}}function ec(e){p.hostSchedule=e??(t=>{Promise.resolve().then(t)})}function tc(e){e.queued||(e.queued=!0,p.queue.push(e),!p.scheduled&&p.batchDepth===0&&(p.scheduled=!0,p.hostSchedule(Wt)))}function Wt(){if(p.scheduled=!1,p.flushing)return;p.flushing=!0;let e=0;try{for(;p.queue.length;){if(++e>1e5)throw new Error("[fluixi] effect flush did not settle (cycle?)");let t=p.queue;p.queue=[];for(let n of t)n.queued=!1,n.disposed||n.run()}}finally{p.flushing=!1}}function nc(){p.batchDepth===0&&Wt()}function rc(e){p.batchDepth++;try{return e()}finally{--p.batchDepth===0&&Wt()}}var ic=class{constructor(e,t=!1){this.queued=!1,this.disposed=!1,this.owner=Nr(p.owner),p.owner&&(p.owner.cleanups??=[]).push(()=>this.dispose()),this.computed=new Cr(()=>{Pt(this.owner,!1),Mr(this.owner,()=>{let n=e();typeof n=="function"&&(this.owner.cleanups??=[]).push(n)})}),nt({kind:"effect",node:this.computed,handle:this,internal:!t}),this.watcher=new Jo(()=>tc(this)),this.run(),this.watcher.watch(this.computed)}run(){if(!this.disposed){this.watcher.getPending();try{this.computed.get()}catch(e){if(e&&typeof e.then=="function"&&p.onSuspend){p.onSuspend(e,this.owner);return}if(p.onError&&p.onError(e,this.owner))return;throw e}}}dispose(){this.disposed||(this.disposed=!0,we(this.computed),this.watcher.unwatch(this.computed),Pt(this.owner))}};function sc(e,t=!1){let n=new ic(e,t);return()=>n.dispose()}function oc(e){return!!e&&typeof e.then=="function"}ec(()=>{});var Pr=Symbol.for("signal"),cc=Symbol.for("memo"),ac=Symbol.for("signal-node");function ce(e,t){let n=new Ko(e,{equals:t?.equals}),r=(()=>n.get()),i=(s=>{let o=typeof s=="function"?s(n.peek()):s;return n.set(o),nc(),o});return Object.defineProperty(r,Pr,{value:!0,enumerable:!0}),Object.defineProperty(r,ac,{value:{get value(){return n.peek()},get version(){return n.version}},enumerable:!1}),nt({kind:"signal",node:n,handle:r,name:t?.name,set:i}),rt()&&ke(()=>we(n)),[r,i]}function Vt(e,t,n){let r=t,i=Qo(),s=new Cr(()=>Mr(i,()=>{try{return r=e(r)}catch(c){if(oc(c))return Yo(c),r;throw c}}),{equals:n?.equals}),o=(()=>s.get());return Object.defineProperty(o,Pr,{value:!0,enumerable:!0}),Object.defineProperty(o,cc,{value:!0,enumerable:!0}),nt({kind:"memo",node:s,handle:o,name:n?.name}),rt()&&ke(()=>we(s)),o}function Dr(e,t){let n=t;return sc(()=>{n=e(n)},!0)}function J(e){return rc(e)}function ue(e){return Go(e)}var Kl=typeof window>"u"?!1:window.__FLUIXI_PROD__===!0;var uc=Symbol.for("signal");function Ir(e){return typeof e=="function"&&e[uc]===!0}var hr=null;function lc(e){hr&&hr(e)}var pr=null;function fc(e){return pr?pr(e):void 0}var mr=null;function dc(){return mr?mr():void 0}var yr=null;function hc(e,t){yr&&yr(e,t)}function pc(e){return!!e&&typeof e.then=="function"}var Ot=Symbol();function mc(e,t,n={}){let r,i;typeof t=="function"?(r=typeof e=="function"?e:()=>e,i=t):(r=()=>!0,i=e,t&&typeof t=="object"&&(n=t));let s=n.transport===!1?void 0:dc(),o=s!==void 0?fc(s):void 0,c=o!==void 0,[a,u]=ce(o!==void 0?o.value:n.initialValue,{equals:!1}),[l,f]=ce(void 0,{equals:!1}),[d,y]=ce(o!==void 0||n.initialValue!==void 0?"ready":"unresolved",{equals:!1}),[b,v]=ce(void 0,{equals:!1}),[_,me]=ce(void 0,{equals:!1}),Q=Ot,ye=!1;Dr(()=>{let x=r();if(_(),x===!1||x===null||x===void 0){Q=Ot,J(()=>{y("unresolved"),v(void 0),f(void 0)});return}let z=ye;if(ye=!1,Q!==Ot&&x===Q&&!z)return;if(Q=x,c){c=!1;return}let je=!1;ke(()=>je=!0);let qn=ue(d),zs=ue(a),Hn=qn==="ready"||qn==="refreshing";J(()=>{y(Hn?"refreshing":"pending"),f(void 0)});try{let ee=i(x,{value:zs,refetching:Hn});pc(ee)?(v(ee),lc(ee),ee.then(Le=>{je||(s!==void 0&&hc(s,Le),J(()=>{u(()=>Le),y("ready"),v(void 0)}))},Le=>{je||J(()=>{f(Le),y("errored"),v(void 0)})})):J(()=>{u(()=>ee),y("ready"),v(void 0)})}catch(ee){if(je)return;J(()=>{f(ee),y("errored"),v(void 0)})}});let Ie=()=>{let x=d();return x==="pending"||x==="refreshing"},re=(()=>{let x=l();if(x)throw x;if(Ie()){let z=b();if(z)throw z}return a()});return Object.defineProperties(re,{state:{get:d},loading:{get:Ie},error:{get:l},latest:{get:a}}),Object.defineProperty(re,Symbol.for("resource"),{value:!0,enumerable:!0}),Object.defineProperty(re,Symbol.for("signal"),{value:!0,enumerable:!0}),[re,{mutate:u,refetch:()=>{ye=!0,me(void 0)}}]}var yc=Or();Xo((e,t)=>{let n=Rr(t,yc);n&&(n.increment(),e.finally(()=>n.decrement()))});var vc=Or();Zo((e,t)=>{let n=Rr(t,vc);return n?(n.setError(e),!0):!1});function jr(e,t){let[n,r]=ce(e,t);return Object.assign(n,{set:r})}function Lr(e,t,n){return Vt(e,t,n)}function qr(e,t){return Dr(e,t)}function Hr(...e){let[t,n]=mc(...e);return Object.assign(t,n)}var Ye=Symbol("store-raw"),vr=Symbol("store-node"),gr=Symbol("store-has"),br=Symbol("store-self"),wr=Symbol("store-track");var Se=new WeakMap,Dt=new WeakMap,le=new WeakMap,Ze=new WeakMap;function gc(e,t){if(!ae(e)||!rt())return;let n=new Set,r=o=>{if(!(!ae(o)||n.has(o))){n.add(o);for(let c of Object.values(o))r(c)}};r(Ze.get(t)??t);let i=new Set,s=o=>{if(!ae(o))return;let c=o;if(n.has(c)||i.has(c))return;i.add(c);let a=Se.get(c);if(a){for(let u of a.keys.values())we(u);a.all&&we(a.all),Se.delete(c),le.delete(c),Dt.delete(c)}for(let u of Object.values(c))s(u)};s(e)}var Qe=(e,t,n)=>n?`${e}[${String(t)}]`:`${e}.${String(t)}`;function Wr(e,t,n){let r=t?.owner,i=r&&n!==void 0?Qe(r.name,n,t?.array):void 0,[s,o]=qo(r?.store,()=>D(e,i?{name:i}:void 0)),c=s;return c.$=o,c}function et(e){let t=Se.get(e);return t?t.owner||(t.owner=le.get(e)):Se.set(e,t={keys:new Map,owner:le.get(e),array:Array.isArray(e)}),t}function Sr(e,t,n){let r=e.keys.get(t);return r||e.keys.set(t,r=Wr(n,e,t)),r}function bc(e,t,n,r){let i=le.get(e);if(i&&i.store===t&&i.name===n)return;let s={store:t,name:n};le.set(e,s),Ze.set(e,Ze.get(r)??r);let o=Se.get(e);if(o&&(o.owner=s,!!rt())){for(let[c,a]of o.keys)ur(a,t,Qe(n,c,o.array));o.all&&ur(o.all,t,Qe(n,"*",o.array))}}function kr(e){let t=et(e);(t.all||(t.all=Wr(void 0,t,"*")))()}function xr(e,t){e.$(typeof t=="function"?()=>t:t)}function ae(e){if(e==null||typeof e!="object")return!1;if(Array.isArray(e))return!0;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Ge(e){if(!ae(e))return e;let t=Dt.get(e);if(t)return t;let n=new Proxy(e,wc);return Dt.set(e,n),n}var wc={get(e,t,n){if(t===Ye||t===vr)return e;if(t===Nt)return n;if(t===gr)return a=>a in e;if(t==="__proxy")return!0;if(t===wr||t===br)return kr(e),n;let r=e[t];if(typeof r=="function"&&!Object.prototype.hasOwnProperty.call(e,t))return r;let i=Object.getOwnPropertyDescriptor(e,t);if(i&&i.get)return i.get.call(n);let s=et(e),o=Sr(s,t,r),c=o();return ae(c)?(s.owner&&bc(c,o,Qe(s.owner.name,t,s.array),e),Ge(c)):c},set(){return!0},deleteProperty(e,t){return t in e&&R(e,t,void 0),!0},has(e,t){return t===Ye||t===Nt||t===vr||t===gr||t===br||t===wr?!0:(Sr(et(e),t,e[t])(),t in e)},ownKeys(e){return kr(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e,t)}};function Vr(e,t=new Set){if(e==null||typeof e!="object")return e;let n=e[Ye]??e;if(t.has(n)||!ae(n))return n;t.add(n);let r=!1,i=o=>{let c=Vr(o,t);return c!==o&&(r=!0),c};if(Array.isArray(n)){let o=n.map(i);return r?o:n}let s={};for(let o of Object.keys(n))s[o]=i(n[o]);return r?s:n}function R(e,t,n){let r=Vr(n),i=e[t];if(i===r&&(r!==void 0||t in e))return;let s=Array.isArray(e),o=s?e.length:0;r===void 0?delete e[t]:e[t]=r;let c=et(e),a=c.keys.get(t);if(a&&xr(a,r),gc(i,e),s&&e.length!==o){let u=c.keys.get("length");u&&xr(u,e.length)}c.all&&c.all.$(void 0)}function It(e,t){return typeof e=="function"?e(t):e}function jt(e,t){for(let n of Object.keys(t)){let r=t[n],i=e[n];r&&typeof r=="object"&&!Array.isArray(r)&&i&&typeof i=="object"&&!Array.isArray(i)?jt(i,r):R(e,n,r)}}function it(e){let t=[],n=e.replace(/\[([^\]]*)\]/g,".$1");for(let r of n.split("."))r.length&&t.push(r);return t}function Fr(e,t,n){let r=t.length-1;for(let s=0;s<r;s++){let o=t[s];if(o==="*"){let a=t.slice(s+1);if(Array.isArray(e))for(let u=0;u<e.length;u++)Fr(e[u],a,n);return}let c=e[o];(c==null||typeof c!="object")&&(c=/^\d+$/.test(t[s+1])?[]:{},R(e,o,c)),e=c}let i=t[r];if(i==="*"){if(Array.isArray(e))for(let s=0;s<e.length;s++)R(e,s,It(n,e[s]));return}R(e,i,It(n,e[i]))}function Er(e,t,n){Fr(e,it(t),n)}function Sc(e){return Array.isArray(e)&&e.length>0&&e.every(t=>Array.isArray(t)&&t.length>=2&&typeof t[0]=="string")}function Xe(e,t){for(let n=e.length-1;n>=t.length;n--)R(e,String(n),void 0);e.length!==t.length&&R(e,"length",t.length);for(let n=0;n<t.length;n++)R(e,String(n),t[n])}function kc(e,t){let n=t[0];if(typeof n=="function"&&t.length===1){let r=n(e);r&&r!==e&&jt(e,r);return}if(Array.isArray(n)&&t.length===1){if(Sc(n)){for(let r of n)Er(e,r[0],r[1]);return}if(Array.isArray(e)){Xe(e,n);return}if(n.length===0)return;throw new TypeError("[fluixi] set() was given an array that is neither a batch of [path, value] pairs nor a replacement for an array root. Name the path you meant, as in set('items', [...]).")}if(n&&typeof n=="object"&&!Array.isArray(n)&&t.length===1){jt(e,n);return}if(t.length>=3){Lt(e,t.slice(0,-1),t[t.length-1]);return}Er(e,String(n),t[1])}function xc(e,t){if(typeof t=="function"){if(!Array.isArray(e))return[];let n=[];for(let r=0;r<e.length;r++)t(e[r],r)&&n.push(r);return n}if(Array.isArray(t))return Array.isArray(e)?t.map(Number):t.map(String);if(t&&typeof t=="object"&&("from"in t||"to"in t||"by"in t)){if(!Array.isArray(e))return[];let n=t.by??1,r=t.from??0,i=t.to??e.length-1,s=[];for(let o=r;o<=i;o+=n)o>=0&&o<e.length&&s.push(o);return s}return t==="*"?Array.isArray(e)?e.map((n,r)=>r):Object.keys(e??{}):[t]}function Lt(e,t,n){if(e==null)return;let[r,...i]=t;if(typeof r=="string"){let o=it(r);if(o.length>1){Lt(e,[...o,...i],n);return}}let s=xc(e,r);if(i.length===0){for(let o of s)R(e,o,It(n,e[o]));return}for(let o of s){let c=e[o];if(c==null||typeof c!="object"){let a=i[0];c=typeof a=="number"||/^\d+$/.test(String(a))?[]:{},R(e,o,c)}Lt(c,i,n)}}function qt(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(qt);let t={};for(let n of Object.keys(e))t[n]=qt(e[n]);return t}function K(e,t){let n=e;for(let r of it(t)){if(n==null)return;n=n[r]}return n}var Br=class{constructor(e,t={immutable:!0}){this.options=t,this.root=e,this.set=((...n)=>oe(()=>kc(this.root,n))),e&&typeof e=="object"&&(le.set(e,{store:this,name:t.name??"store"}),Ze.set(e,e)),nt({kind:"store",node:this,handle:()=>this.root,name:t.name})}get state(){return Ge(this.root)}get proxy(){return Ge(this.root)}get accessor(){return(()=>Ge(this.root))}unwrap(){return this.root}getNode(e){return this.root&&this.root[e]}get(e){if(e==null||e==="")return tt(this.state);let t=this.state;for(let n of it(e)){if(t==null)return;t=t[n]}return tt(t)}select(e){return g(()=>e(this.state))}subscribe(e){return W(()=>e(this.state))}watch(e,t){let n;return W(()=>{let r=e(this.state);Object.is(r,n)||(t(r,n),n=r)})}reactive(e){return g(()=>this.state[e])}produce(e){this.set((t=>{let n=qt(t);return e(n),n}))}reconcile(e,t={}){this.set(e)}push(e,...t){let n=K(this.root,e);this.set(e,n.concat(t))}pop(e){let t=K(this.root,e).slice(),n=t.pop();return this.set(e,t),n}shift(e){let t=K(this.root,e).slice(),n=t.shift();return this.set(e,t),n}splice(e,t,n,...r){let i=K(this.root,e).slice(),s=i.splice(t,n,...r);return this.set(e,i),s}insert(e,t,n){let r=K(this.root,e).slice();r.splice(t,0,n),this.set(e,r)}removeAt(e,t){let n=K(this.root,e).slice(),r=n.splice(t,1);return this.set(e,n),r}replace(e,t){if(arguments.length>=2){let r=K(this.root,String(e)),i=t;if(Array.isArray(r)&&Array.isArray(i)){Xe(r,i);return}this.set(e,i);return}let n=this.root;if(Array.isArray(n)&&Array.isArray(e)){Xe(n,e);return}this.set(e)}clear(e){let t=e===void 0?this.root:K(this.root,e);if(Array.isArray(t)){Xe(t,[]);return}if(t&&typeof t=="object")for(let n of Object.keys(t))R(t,n,void 0)}toObservable(){let[e]=D(this.state);return e.toObservable()}dispose(){}},Ec=["get","select","watch","subscribe","produce","reconcile","push","pop","shift","splice","insert","removeAt","replace","clear","unwrap","toObservable"];function Ac(e,t){for(let n of Ec)e[n]=t[n].bind(t);e.$=t.reactive.bind(t)}function Ur(e,t={immutable:!0}){let n=new Br(e,t);return Ac(n.set,n),[n.proxy,n.set]}function _c(e,t={}){return new Br(e,{...t,immutable:!1})}function tt(e){if(e==null||typeof e!="object")return e;let t=e[Ye];return t!==void 0?t:e}function $c(e){return I(()=>tt(e))}var Gl=Object.freeze({createStore:Ur,createMutableStore:_c,batch:oe,unwrap:tt,untrackStore:$c});function zr(e,t){let[n,r]=Ur(e,t);return new Proxy(n,{get:(i,s)=>s==="set"?r:i[s],has:(i,s)=>s==="set"||Reflect.has(i,s)})}function Tc(e){return e.startsWith("aria-")||e.startsWith("data-")?e:/[A-Z]/.test(e)?e.replace(/([A-Z])/g,"-$1").toLowerCase():e}function Cc(e){return e.startsWith("@")||e.startsWith("on")&&e.length>2}function Nc(e){return e.startsWith("@")?e.slice(1):e.startsWith("on")?e.slice(2).toLowerCase():e}function Oc(e,t){let n=new Set(["checked","value","selected","disabled","readonly","required","multiple","open","contenteditable","draggable","spellcheck"]),r={input:new Set(["value","checked","indeterminate"]),textarea:new Set(["value"]),select:new Set(["value"]),option:new Set(["selected","value"]),audio:new Set(["volume","currentTime","paused"]),video:new Set(["volume","currentTime","paused"]),img:new Set(["src","srcset"]),iframe:new Set(["src"]),a:new Set(["href"])};return n.has(t)||r[e]&&r[e].has(t)}var Rc=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Mc=new Set(["svg","g","path","circle","rect","line","polyline","polygon","ellipse","text","tspan","use","defs","symbol","mask","clipPath","pattern","linearGradient","radialGradient","stop","filter","feGaussianBlur","feOffset","feMerge","feMergeNode","foreignObject"]),lt="http://www.w3.org/2000/svg";function ii(e){return e.localName.includes("-")}function Ut(e,t,n,r=!1){if(n==null){e.removeAttribute(t);return}if(ii(e)){e[t]=n;return}M(e,t,n,r)}var zt=new Set(["className","value","checked","selected","innerHTML","innerText","textContent","indeterminate","htmlFor"]),si=new Set(["id","class","className","style","slot","part","exportparts","is","title","role","lang","dir","tabindex","hidden"]);function oi(e){return si.has(e)||e.startsWith("aria-")||e.startsWith("data-")}function Kt(e,t=document){return t.querySelector(e)}function Pc(e,t=document){return Array.from(t.querySelectorAll(e))}function Dc(e,t){return e.closest(t)}function ci(e,...t){e.classList.add(...t)}function ai(e,...t){e.classList.remove(...t)}function ui(e,...t){t.forEach(n=>e.classList.toggle(n))}function Ic(e,t){return e.classList.contains(t)}function M(e,t,n,r=!1){if(n==null||n===!1){e.removeAttribute(t);return}if(n===!0){e.setAttribute(t,"");return}if(typeof n=="object"){e.setAttribute(t,JSON.stringify(n));return}e.setAttribute(t,String(n))}function li(e,t){return e.getAttribute(t)}function fi(e,t){e.removeAttribute(t)}function Qt(e,t){Object.assign(e.style,t)}function jc(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function di(e,t={},...n){let r=document.createElement(e);return Object.entries(t).forEach(([i,s])=>{if(i==="class"||i==="className")r.className=s;else if(i==="style"&&typeof s=="object")Qt(r,s);else if(i.startsWith("on")&&typeof s=="function"){let o=i.slice(2).toLowerCase();r.addEventListener(o,s)}else M(r,i,s)}),n.forEach(i=>{typeof i=="string"?r.appendChild(document.createTextNode(i)):r.appendChild(i)}),r}function hi(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function pi(e,...t){t.forEach(n=>{typeof n=="string"?e.appendChild(document.createTextNode(n)):e.appendChild(n)})}function Lc(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth}function qc(e,t={behavior:"smooth",block:"nearest"}){e.scrollIntoView(t)}function Hc(e){let t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}}function Wc(e,t,n,r){let i=s=>{let o=s.target.closest(n);o&&e.contains(o)&&r(s,o)};return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}function Vc(e,t=5e3){return new Promise((n,r)=>{let i=Kt(e);if(i){n(i);return}let s=new MutationObserver(()=>{let c=Kt(e);c&&(s.disconnect(),clearTimeout(o),n(c))});s.observe(document.body,{childList:!0,subtree:!0});let o=setTimeout(()=>{s.disconnect(),r(new Error(`Element ${e} not found within ${t}ms`))},t)})}function Fc(e,t,n={}){let r=new IntersectionObserver(i=>{i.forEach(s=>{t(s.isIntersecting)})},n);return r.observe(e),()=>{r.disconnect()}}function Bc(e,t){let n=new ResizeObserver(r=>{r.forEach(t)});return n.observe(e),()=>{n.disconnect()}}var Uc=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function zc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uc}function mi(e){return e&&typeof e=="object"&&e.strings&&Array.isArray(e.strings)&&e.values&&Array.isArray(e.values)}function Kc(e){if(typeof e!="function")return!1;try{let t=e();return mi(t)}catch{return!1}}function Jc(e){return typeof e=="object"&&e!==null&&(e.$$typeof==="template"||typeof e.type=="function")}function Gc(e){return e instanceof Node}function Xc(e,t,n="Fluixi"){typeof globalThis<"u"&&(typeof globalThis[n]>"u"&&(globalThis[n]={}),typeof globalThis[n][e]>"u"&&(globalThis[n][e]=t))}function Yc(e,t,n="Fluixi"){return typeof globalThis<"u"&&typeof globalThis[n]<"u"&&typeof globalThis[n][e]<"u"?globalThis[n][e]:t}var yi="1.0.0-alpha.92",A={dom:yi,reactive:cr};function Zc(e){A.core=e}function vi(e){A.core&&e.setAttribute("fluixi",A.core),e.setAttribute("fx-dom",A.dom),e.setAttribute("fx-reactive",A.reactive),typeof globalThis<"u"&&(globalThis.Fluixi=A)}function gi(){let e=Gn();e.length>1&&console.warn(`[fluixi] ${e.length} builds of @fluixi/reactive are driving one reactive graph: ${e.join(", ")}. They share it on purpose, so signals still cross between them, but the oldest one decided what the graph looks like. Build the components on one release, or load them as shared-runtime bundles.`);let t=[A.core,A.dom,A.reactive].filter(n=>n!==void 0);new Set(t).size<=1||console.warn(`[fluixi] package versions disagree: core ${A.core??"(absent)"}, dom ${A.dom}, reactive ${A.reactive}. These ship as one release, so a mismatch usually means a stale lockfile or two copies resolved side by side. Reinstall, or check for duplicates with \`pnpm why @fluixi/dom\`.`)}function Qc(e){return Object.defineProperty(e,Symbol.for("fluixi-router"),{value:!0,enumerable:!0}),e}function ea(e){return Object.defineProperty(e,Symbol.for("fluixi-routes"),{value:!0,enumerable:!0}),e}function ta(e){return Object.defineProperty(e,Symbol.for("fluixi-route"),{value:!0,enumerable:!0}),e}function na(e){return typeof e!="function"||Object.defineProperty(e,Symbol.for("fluixi-outlet"),{value:!0,enumerable:!0}),e}function ra(e){return Object.defineProperty(e,Symbol.for("fluixi-provider"),{value:!0,enumerable:!0}),e}function ia(e){return Object.defineProperty(e,Symbol.for("fluixi-context"),{value:!0,enumerable:!0}),e}function bi(e){return typeof e!="function"||Object.defineProperty(e,Symbol.for("fluixi-component"),{value:!0,enumerable:!0}),e}function sa(e){return Object.defineProperty(e,Symbol.for("fluixi-suspense"),{value:!0,enumerable:!0}),e}function wi(e){return typeof e=="function"&&e[Symbol.for("fluixi-router")]===!0}function Si(e){return typeof e=="function"&&e[Symbol.for("fluixi-routes")]===!0}function ki(e){return typeof e=="function"&&e[Symbol.for("fluixi-route")]===!0}function xi(e){return typeof e=="function"&&e[Symbol.for("fluixi-outlet")]===!0}function Ei(e){return typeof e=="function"&&e[Symbol.for("fluixi-provider")]===!0}function Ai(e){return typeof e=="function"&&e[Symbol.for("fluixi-context")]===!0}function j(e){return typeof e=="function"&&e[Symbol.for("fluixi-component")]===!0}function _i(e){return typeof e=="function"&&e[Symbol.for("fluixi-suspense")]===!0}function oa(e){return wi(e)?{type:"router",value:e}:ki(e)?{type:"route",value:e}:Si(e)?{type:"routes",value:e}:xi(e)?{type:"outlet",value:e}:j(e)?{type:"component",value:e}:_i(e)?{type:"suspense",value:e}:Ei(e)?{type:"provider",value:e}:Ai(e)?{type:"context",value:e}:{type:"none",value:e}}var ft=Symbol.for("fluixi.server-node"),ca=Symbol.for("fluixi.dom.server-host"),aa=globalThis,Ee=aa[ca]??={server:typeof document>"u",nodes:null};function q(){return Ee.server}function Ae(e){Ee.server=e}function ua(e){Ee.nodes=e}function dt(){if(!Ee.nodes)throw new Error("[fluixi] server render ran before @fluixi/dom/server loaded");return Ee.nodes}function Oe(e){return e!=null&&e[ft]===!0?!0:typeof Node<"u"&&e instanceof Node}function $i(e){return e!=null&&e[ft]===!0?e.nodeType===1:typeof Element<"u"&&e instanceof Element}function Ti(e){return e!=null&&e[ft]===!0?e.nodeType===3:typeof Text<"u"&&e instanceof Text}var m={active:!1,cursor:null,parents:[]},Ci=null;function la(e){Ci=e}function en(){return Ci}function Kr(e,t){return m.active&&t.parentNode===e}function Ni(e){let t=m.parents.lastIndexOf(e);t!==-1&&(m.parents.length=t),m.cursor=e.nextSibling}function fa(){return m.active?m.cursor:null}function Jt(e,t){if(!e||e.parentNode==null)return t();let n=m.active,r=m.cursor,i=m.parents;m.active=!0,m.cursor=e,m.parents=[];try{return t()}finally{m.active=n,m.cursor=r,m.parents=i}}function da(e){if(!m.active)return e();let t=m.cursor,n=m.parents;m.active=!1,m.parents=[];try{return e()}finally{m.active=!0,m.cursor=t,m.parents=n}}function tn(e){if(!m.active||e==null)return;let t=Array.isArray(e)?e[e.length-1]:e;t&&typeof t.nodeType=="number"&&Ni(t)}function ha(e){let t=[];for(;e&&e.nodeType===1;){let n=e.tagName.toLowerCase();if(e.id){n+=`#${e.id}`,t.unshift(n);break}e.getAttribute("data-id")&&(n+=`[data-id="${e.getAttribute("data-id")}"]`);let r=0,i=e;for(;i=i.previousElementSibling;)i.tagName===e.tagName&&r++;n+=`:nth-of-type(${r+1})`,t.unshift(n),e=e.parentElement}return t.join(">")}function pa(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return`el_${Math.abs(t)}`}function ma(e){return pa(ha(e))}var ya=()=>"xxyxxxxxxy-4xx8".replace(/[xy]/g,function(e){let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),va={},ot="__fx_at",Oi="__fx_loc";function Jr(e,t){return t&&(e[Oi]=t),e}var Gr=new Map,ga="__fluixi_delegated_events__",Gt=globalThis[ga]??={names:new Set},ct=Gt.names,ht=new Set(["scroll","focus","blur","load","error","resize","mouseenter","mouseleave","pointerenter","pointerleave","gotpointercapture","lostpointercapture"]);function pt(e){if(!q())for(let t of e)ct.has(t)||ht.has(t)||(ct.add(t),Gt.dispatch??=ba,document.addEventListener(t,Gt.dispatch))}function ba(e){let t=`$$${e.type}`,n=e.composedPath&&e.composedPath()[0]||e.target;for(;n;){let r=n[t];if(r&&!n.disabled&&(r(e),e.cancelBubble))return;n=n.host&&n.host!==n&&n.host instanceof Element?n.host:n.parentNode}}function nn(e,t,n){if(e[`$$${t}`]=n,ht.has(t)){let r=`__fx_${t}`;if(!e[r]){let i=s=>{e[`$$${t}`]?.(s)};e.addEventListener(t,i),e[r]=i}return}ct.has(t)||pt([t])}function at(e,t){delete e[`$$${t}`];let n=`__fx_${t}`,r=e[n];r&&(e.removeEventListener(t,r),delete e[n])}function wa(e){return!ht.has(e)}function Sa(e){return typeof e=="function"}function X(e,t=!1){if(q())return dt().createText(e);if(m.active&&!t){let n=en()?.hydrateText(e);if(n)return n}return document.createTextNode(e)}function rn(e,t=!1,n){if(q())return dt().createElement(e,t);if(m.active){let r=en()?.hydrateElement(e);if(r)return n?Jr(r,n):r}return Jr(t?document.createElementNS(lt,e):document.createElement(e),n)}function sn(e,t=!1){let n=Gr.get(e);if(n)return n;let r=document.createElement("template");return t?r.innerHTML=`<svg>${e}</svg>`:r.innerHTML=e,Gr.set(e,r),r}function Ri(e,t,n=!1,r=!1,i){if(q()){let s=dt();return n?s.parseTemplate(e,r):s.createRaw(e)}if(m.active){let s=en()?.hydrateStatic(t);if(s)return Xr(s,i)}return Xr(on(sn(e,r),r).firstChild,i)}function Xr(e,t){let n=e;if(!t||typeof n?.querySelectorAll!="function")return e;let r=[n,...n.querySelectorAll("*")];for(let i=0;i<r.length&&i*2+1<t.pos.length;i++){let s=t.pos[i*2];s&&(r[i][Oi]={file:t.file,line:s,column:t.pos[i*2+1]})}return e}function Mi(e,t){if(!m.active)return t();let n=Jt(e.nextSibling,t);if(typeof n=="function"){let r=n;return ka(r,(...s)=>m.active?Jt(e.nextSibling,()=>r(...s)):r(...s))}return n}function ka(e,t){let n=e[ot];return n!==void 0&&(t[ot]=n),t}function Pi(e){for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType===8&&t.data==="fx/")return t;throw new Error("[fluixi] template hole is missing its closing marker")}function Di(e,t){let n=[];for(let r=e.nextSibling;r&&r!==t;r=r.nextSibling)n.push(r);return n}function on(e,t=!1){let n=e.content.cloneNode(!0);return t?n.firstChild:n}function Ii(e){return Array.isArray(e)?e.length===2&&e[1]===" "?Array.isArray(e[0])?Ii(e[0]):(typeof e[0]=="function",e[0]):e.length===1&&typeof e[0]=="function"?e[0]:e:e}function xa(e){return typeof e!="function"?null:e._name||e.name||"anonymous"}function Ea(e){if(k(e)||j(e)||typeof e!="function")return e;let t=e();for(;typeof t=="function"&&!k(t)&&!j(t);)t=t();return t}var U=0,Aa=200;function _a(e,t,n,r,i){let s=r,o=new Map;return w(()=>{N(n??t,"content",void 0,e);let c;if(j(e)&&!k(e)){if(!o.has(e)){U++;try{let a=e();o.set(e,a)}finally{U--}}for(c=o.get(e);typeof c=="function"&&k(c);)c=c()}else for(c=e();typeof c=="function"&&k(c);)c=c();{let a=0;for(;typeof c=="function"&&a++<50;)if(j(c)){if(!o.has(c)){let u=c;U++;try{let l=u();o.set(u,l)}finally{U--}}c=o.get(c)}else if(k(c))c=c();else if(c=c(),typeof c!="function"||!k(c)&&!j(c))break}U++;try{s=_e(t,c,n,s,o),i(s)}finally{U--}})}function L(e,t,n,r){if(U>Aa)return console.error("[insert] Exceeded max call depth, possible infinite loop."),()=>null;n!==void 0&&!n&&(n=X("",!0),e.appendChild(n));let i=r??null,s=a=>Array.isArray(a)&&a.some(u=>typeof u=="function"),o=a=>typeof a=="function"?a:()=>a;if(typeof t!="function"&&!s(t)){U++;try{i=_e(e,t,n,i)}finally{U--}return()=>i}let c=_a(o(t),e,n,i,a=>{i=a});return()=>(c?.(),i)}function _e(e,t,n,r,i){if(t==null||typeof t=="boolean")return G(e,r,n);if(typeof t=="function")for(;typeof t=="function";)t=t();if(t==null||typeof t=="boolean")return G(e,r,n);if(xe(t)){let o=X("",!0);return Array.isArray(r)?r.length>0?(e.replaceChild(o,r[0]),G(e,r.slice(1),n)):E(e,o,n):r?e.replaceChild(o,r):E(e,o,n),t.then(c=>{o.parentNode===e&&_e(e,c,o.nextSibling,o)}).catch(c=>{console.error("Error resolving promise in insertExpression:",c)}),o}let s=typeof t;if(s==="string"||s==="number"){if(s==="number"&&(t=String(t)),Array.isArray(r)){if(r.length===0){let c=X(t);return E(e,c,n),c}if(r.length===1&&r[0].nodeType===3)return r[0].data=t,r;r=G(e,r,n)}if(r&&Ti(r))return r.data=t,r;let o=X(t);return r&&r.parentNode===e?e.replaceChild(o,r):Kr(e,o)||E(e,o,n),o}if(Oe(t))return Kr(e,t)?(Ni(t),t):Array.isArray(r)?(r.length===0?E(e,t,n):r[0].parentNode===e?(e.replaceChild(t,r[0]),G(e,r.slice(1),n)):E(e,t,n),t):(r?r!==t&&(r.parentNode===e?e.replaceChild(t,r):E(e,t,n)):E(e,t,n),t);if(Array.isArray(t)){let o=[],c=Array.isArray(r)?r:r?[r]:[],a=[];B(t,o,e,n,!0,i,a);let u=$a(e,c,o,n);for(let l of a){let f=L(e,l.sig,l.marker);S(()=>{G(e,f()),l.marker.parentNode===e&&e.removeChild(l.marker)})}return u}if(s==="object"&&t!==null&&typeof t=="object"){let o=t;if("type"in o&&"props"in o){let c=o;if(typeof c.type=="function"){let a=c.type(c.props||{});return _e(e,a,n,r)}}}return G(e,r,n)}function B(e,t,n,r,i=!0,s,o){for(let c=0;c<e.length;c++){let a=e[c];if(!(a==null||typeof a=="boolean")){for(;typeof a=="function"&&!xe(a)&&!k(a)&&!j(a)&&(a=a(),!(a==null||typeof a=="boolean")););if(!(a==null||typeof a=="boolean")){if(typeof a=="function"){let u;for(j(a)&&!k(a)?(s||(s=new Map),s.has(a)||s.set(a,a()),u=s.get(a)):u=a();typeof u=="function"&&!xe(u)&&!k(u)&&!j(u);)s||(s=new Map),s.has(u)||s.set(u,u()),u=s.get(u);if(u==null||typeof u=="boolean")continue;if(typeof u=="function"){if(k(u)){if(o){let f=X("",!0);t.push(f),o.push({marker:f,sig:u});continue}let l=u();for(;typeof l=="function"&&k(l);)l=l();if(l==null||typeof l=="boolean")continue;Array.isArray(l)?B(l,t,n,r,i,s):B([l],t,n,r,i,s);continue}continue}Array.isArray(u)?B(u,t,n,r,i,s,o):B([u],t,n,r,i,s,o);continue}if(xe(a)){let u=X("",!0);t.push(u),a.then(l=>{if(u.parentNode){let f=[];if(B([l],f,u.parentNode,void 0,!1,s),f.length>0){u.parentNode.replaceChild(f[0],u);for(let d=1;d<f.length;d++)u.parentNode?.insertBefore(f[d],f[d-1].nextSibling)}}}).catch(l=>console.error("Error resolving promise in array:",l));continue}if(Array.isArray(a)){B(a,t,n,r,i,s,o);continue}if(Oe(a)){t.push(a);continue}if(typeof a=="object"&&a!==null&&"type"in a&&"props"in a){let u=a;if(typeof u.type=="function"){let l=u.type(u.props||{});Array.isArray(l)?B(l,t,n,r,!1,s):B([l],t,n,r,!1,s);continue}}if(typeof a=="string"||typeof a=="number"){let u=String(a);if(u.trim()===""&&u!==" ")continue;t.push(X(u));continue}t.push(X(String(a)))}}}}function $a(e,t,n,r){for(let f=0;f<n.length;f++){let d=n[f].parentNode;d!==null&&d!==e&&d.nodeType!==11&&(n=n.slice(),n[f]=n[f].cloneNode(!0))}let i=n.length,s=t.length,o=i,c=0,a=0,u=s>0?t[s-1].nextSibling??void 0:r,l=null;for(;c<s||a<o;){if(t[c]===n[a]){c++,a++;continue}for(;s>c&&o>a&&t[s-1]===n[o-1];)s--,o--;if(s===c){let f=o<i?a?n[a-1].nextSibling??void 0:n[o-a]:u;for(;a<o;)E(e,n[a++],f)}else if(o===a)for(;c<s;)(!l||!l.has(t[c]))&&t[c].parentNode===e&&e.removeChild(t[c]),c++;else if(t[c]===n[o-1]&&n[a]===t[s-1]){let f=t[--s].nextSibling;E(e,n[a++],t[c++].nextSibling),E(e,n[--o],f),t[s]=t[c-1]}else{if(!l){l=new Map;let d=a;for(;d<o;)l.set(n[d],d++)}let f=l.get(t[c]);if(f!=null)if(a<f&&f<o){let d=c,y=1;for(;++d<s&&d<o&&!(!l.has(t[d])||l.get(t[d])!==f+y);)y++;if(y>f-a){let b=t[c];for(;a<f;)E(e,n[a++],b)}else t[c].parentNode===e?e.replaceChild(n[a++],t[c++]):(E(e,n[a++],u),c++)}else c++;else t[c].parentNode===e&&e.removeChild(t[c]),c++}}return n}function G(e,t,n){if(t)if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r].parentNode===e&&e.removeChild(t[r]);else t.parentNode===e&&e.removeChild(t);return null}function E(e,t,n){m.active&&t.parentNode===e||(n&&n.parentNode===e?e.insertBefore(t,n):e.appendChild(t))}function de(e,t,n){n==null?delete e[t]:e[t]=n}function cn(e,t,n){let r=n,i;return Array.isArray(n)&&(r=n[0],i=n[1]),typeof r!="function"?()=>{}:(e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i))}function ji(e,t){if(!t||typeof t!="function")return;let n=t[ot]?.name;if(!n)return;let r=n.indexOf(":");r!==-1&&O(e,n.slice(0,r),n.slice(r+1),t)}function ut(e,t,n){let r=typeof n=="function"?I(()=>n()):n;if(!(!r||typeof r!="object"))for(let i of Object.keys(r))O(e,t,i)}function an(e,t){let n=(r,i)=>{typeof r=="function"&&(O(e,"use",r.name||"use",i),r(e,i??(()=>{})))};if(typeof t=="function"){n(t);return}if(Array.isArray(t)){if(typeof t[0]=="function"){n(t[0],t[1]);return}for(let r of t)Array.isArray(r)?n(r[0],r[1]):n(r)}}function $e(e,t,n,r=!1){return ji(e,n),typeof n!="function"?(M(e,t,n,r),()=>{}):w(()=>{N(e,"attribute",t,n);let i=typeof n=="function"?n():n;M(e,t,i,r)})}function Te(e,t,n){return typeof n!="function"?(de(e,t,n),()=>{}):(ji(e,n),w(()=>{N(e,"property",t,n);let r=typeof n=="function"?n():n;de(e,t,r)}))}function un(e,t,n){return typeof n!="function"?(M(e,t,!!n),()=>{}):w(()=>{N(e,"attribute",t,n);let r=n();M(e,t,!!r)})}function he(e,t){if(t==null){e.removeAttribute("class");return}if(typeof t=="function"){w(()=>{N(e,"attribute","class",t),he(e,t())});return}if(typeof t=="string"){e.setAttribute("class",t);return}if(Array.isArray(t)){e.setAttribute("class",t.filter(Boolean).join(" "));return}if(typeof t=="object"){let n=Object.keys(t).filter(r=>{let i=t[r];return typeof i=="function"?i():!!i}).join(" ");e.setAttribute("class",n);return}e.setAttribute("class",String(t))}function Ce(e,t,n){if(!(!t||typeof t!="object"))for(let r in t){let i=t[r],s=r.split(/\s+/).filter(Boolean);if(typeof i=="function"&&n)n.push(w(()=>{let o=!!i();for(let c of s)e.classList.toggle(c,o)}));else{let o=!!(typeof i=="function"?i():i);for(let c of s)e.classList.toggle(c,o)}}}function Ne(e,t){let n=t;for(;typeof n=="function";)n=n();if(n==null){e.removeAttribute("style");return}if(typeof n=="string"){e.style.cssText=n;return}if(typeof n=="object")for(let r in n){let i=n[r];i==null?e.style[r]="":e.style[r]=i}}function Li(e){let{element:t,props:n,prevProps:r=va,isSVG:i=!1,skipChildren:s=!1,isCustomElement:o}=e;if(!t||!$i(t))return console.error("[spread] Error: element is not a DOM Element!"),()=>{};if(!n)return console.warn("[spread] Warning: props is undefined!"),()=>{};let c=i||t.namespaceURI===lt,a=[];for(let u in n){if(s&&u==="children")continue;let l=n[u],f=r[u];if(l===f)continue;if(u==="ref"){Re(l,t);continue}if(u==="use"){an(t,l);continue}if(u.startsWith("on:")){a.push(cn(t,u.slice(3),l));continue}if(u.startsWith("prop:")){O(t,"prop",u.slice(5),l),a.push(Te(t,u.slice(5),l));continue}if(u.startsWith("attr:")){O(t,"attr",u.slice(5),l),a.push($e(t,u.slice(5),l,c));continue}if(u.startsWith("bool:")){O(t,"bool",u.slice(5),l),a.push(un(t,u.slice(5),l));continue}if(u==="class"||u==="className"){typeof l=="function"?a.push(w(()=>{N(t,"attribute","class",l),he(t,l())})):he(t,l);continue}if(u==="classList"){ut(t,"class",l),typeof l=="function"?a.push(w(()=>{N(t,"attribute","class",l),Ce(t,l())})):Ce(t,l,a);continue}if(u==="style"){ut(t,"style",l),typeof l=="function"?a.push(w(()=>{N(t,"attribute","style",l),Ne(t,l())})):Ne(t,l);continue}if(u.startsWith("on")){let b=u.slice(2).toLowerCase();f&&at(t,b),l&&nn(t,b,l);continue}let d=o??t.localName.includes("-"),y=zt.has(u)||!c&&u in t||d&&!c&&!oi(u);typeof l=="function"?a.push(y?Te(t,u,l):$e(t,u,l,c)):a.push(w(()=>y?de(t,u,n[u]):M(t,u,n[u],c)))}for(let u in r)if(!(u in n))if(u.startsWith("on")){let l=u.slice(2).toLowerCase();at(t,l)}else zt.has(u)?de(t,u,null):t.removeAttribute(u);return()=>{a.forEach(u=>u())}}function ln(e,t,n=!1){for(let r in t){let i=t[r];if(r==="ref"){Re(i,e);continue}if(r!=="children"){if(r==="use"){an(e,i);continue}if(r.startsWith("on:")){cn(e,r.slice(3),i);continue}if(r.startsWith("prop:")){O(e,"prop",r.slice(5),i),Te(e,r.slice(5),i);continue}if(r.startsWith("attr:")){O(e,"attr",r.slice(5),i),$e(e,r.slice(5),i,n);continue}if(r.startsWith("bool:")){O(e,"bool",r.slice(5),i),un(e,r.slice(5),i);continue}if(r.startsWith("on")&&r.length>2){let s=r.slice(2).toLowerCase();if(typeof i=="function")if(ht.has(s)){e[`$$${s}`]=i;let o=`__fx_${s}`;if(!e[o]){let c=a=>{e[`$$${s}`]?.(a)};e.addEventListener(s,c),e[o]=c}}else e[`$$${s}`]=i,ct.has(s)||pt([s]);continue}if(r==="class"||r==="className"){he(e,i);continue}if(r==="classList"){ut(e,"class",i),typeof i=="function"?w(()=>{N(e,"attribute","class",i),Ce(e,i())}):Ce(e,i);continue}if(r==="style"){ut(e,"style",i),typeof i=="function"?w(()=>{N(e,"attribute","style",i),Ne(e,i())}):Ne(e,i);continue}if(r==="innerHTML"){if(typeof i=="function"){let s=W(()=>{let o=i();for(;typeof o=="function";)o=o();e.innerHTML=o});S(()=>s())}else e.innerHTML=i;continue}if(r==="value"&&(e.tagName==="INPUT"||e.tagName==="TEXTAREA")){if(typeof i=="function"){let s=W(()=>{let o=i();for(;typeof o=="function"&&o.length===0;)o=o();document.activeElement!==e&&(e.value=o??"")});S(()=>{s()})}else w(()=>{document.activeElement!==e&&(e.value=t[r]??"")});continue}if(r==="checked"&&e.tagName==="INPUT"){if(typeof i=="function"){let s=W(()=>{let o=i();for(;typeof o=="function"&&o.length===0;)o=o();document.activeElement!==e&&(e.checked=o??"")});S(()=>{s()})}else w(()=>{document.activeElement!==e&&(e.checked=t[r]??"")});continue}if(r==="value"&&e.tagName==="SELECT"){if(typeof i=="function"){let s=!0,o=W(()=>{let c=i();for(;typeof c=="function"&&c.length===0;)c=c();s?(s=!1,queueMicrotask(()=>{e.value=c??""})):e.value=c??""});S(()=>{o()})}else{let s=!0;w(()=>{let o=t[r];s?(s=!1,queueMicrotask(()=>{e.value=o??""})):e.value=o??""})}continue}if(typeof i=="function"){let s=W(()=>{let o=i();for(;typeof o=="function"&&o.length===0;)o=o();Ut(e,r,o,n)});S(()=>{s()})}else w(()=>Ut(e,r,t[r],n))}}}function qi(...e){let t=r=>{for(let i=e.length-1;i>=0;i--){let s=e[i];if(s&&r in s&&s[r]!==void 0)return s[r]}},n=r=>{for(let i of e)if(i&&r in i)return!0;return!1};return new Proxy({},{get:(r,i)=>t(i),has:(r,i)=>n(i),ownKeys:()=>{let r=new Set;for(let i of e)if(i)for(let s of Reflect.ownKeys(i))r.add(s);return[...r]},getOwnPropertyDescriptor:(r,i)=>n(i)?{enumerable:!0,configurable:!0,get:()=>t(i)}:void 0})}function Ta(e,...t){let n=new Set;for(let o of t)for(let c of o)n.add(c);let r=o=>({enumerable:!0,configurable:!0,get:()=>e[o]}),i=t.map(o=>{let c=new Set(o);return new Proxy({},{get:(a,u)=>c.has(u)?e[u]:void 0,has:(a,u)=>c.has(u)&&u in e,ownKeys:()=>Array.from(c).filter(a=>a in e),getOwnPropertyDescriptor:(a,u)=>c.has(u)&&u in e?r(u):void 0})}),s=new Proxy({},{get:(o,c)=>n.has(c)?void 0:e[c],has:(o,c)=>!n.has(c)&&c in e,ownKeys:()=>Reflect.ownKeys(e).filter(o=>!n.has(o)),getOwnPropertyDescriptor:(o,c)=>!n.has(c)&&c in e?r(c):void 0});return[...i,s]}function Re(e,t){if(!e)return;let n=e[ot]?.name;if(O(t,"ref",n||typeof e=="function"&&e.name||"ref",e),Oe(e)){let r=t,i=e;if(!r)return;typeof r=="function"?r(i):typeof r=="object"&&"current"in r&&(r.current=i);return}typeof e=="function"?e(t):typeof e=="object"&&"current"in e&&(e.current=t)}function Hi(e,t,n){let r=t||document.body,i=Ke(()=>e),s=[];return oe(()=>{let o=w(()=>{let c=i();Array.isArray(c)?(c.forEach(a=>r.appendChild(a)),s.push(()=>{c.forEach(a=>{a.parentNode===r&&r.removeChild(a)})})):Oe(c)&&(r.appendChild(c),s.push(()=>{c.parentNode===r&&r.removeChild(c)}))});s.push(o),S(()=>{s.forEach(c=>c())})}),null}function Ca(e){return typeof e=="string"&&e.toLowerCase()===e}function Wi(e){return e==="svg"||e==="path"||e==="circle"||e==="rect"||e==="line"||e==="polygon"||e==="polyline"||e==="ellipse"||e==="g"||e==="defs"||e==="clipPath"||e==="text"}function Na(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function xe(e){return e!=null&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"||e instanceof Promise}function Oa(e){return typeof e=="function"&&e.length===0&&k(e)}function Me(e,t,n){if(!t)throw new Error("Container element is required");let r,i,s=[];return P(o=>{oe(()=>{m.active||(t.textContent=""),vi(t),gi(),L(t,e)}),i=o}),()=>{i?.(),r?.(),s.forEach(o=>o()),t.textContent=""}}function Vi(e){if(Array.isArray(e))return e;if(typeof e=="function"&&typeof e.set=="function")return[e,e.set];throw new TypeError("[fluixi] bind: needs a signal, either `signal(...)` or the `[get, set]` pair from `createSignal(...)`.")}var Ra="__fx_dom_create_component__",te=globalThis[Ra]??={fn:null};function Ma(e){te.fn=e}function Pa(e={}){let t=e.signalSystem?.createComponent;t&&(te.fn=t)}function fn(e,t){if(te.fn)return te.fn(e,t);t&&$r(t);let n=typeof e=="function"?ue(()=>e(t)):e,r=n!=null&&(typeof n=="function"||typeof n=="object");if(r)try{n.$name=e?.name}catch{}return r&&!Ir(n)?bi(n):n}var Da=()=>te.fn!==null,Fi=()=>te.fn!==null;function Bi(){te.fn=null}var st,Ui={getStore:()=>st,run(e,t){let n=st;st=e;try{return t()}finally{st=n}}},dn=Ui;function Ia(e){dn=e??Ui}function hn(e={}){if(e.request===void 0){let o=La();o&&(e.request=o)}e.locals||(e.locals=e.request?Ki(e.request):{});let t=0,n=0,r=null,i=new Map,s=new Map;return{event:e,routeData:new Map,matchedRoute:new Map,nextId:()=>`s${t++}`,nextResourceId:()=>{if(r===null)return`r${n++}`;let o=i.get(r)??0;return i.set(r,o+1),`${r}:r${o}`},nextIslandNamespace:o=>{let c=s.get(o)??0;return s.set(o,c+1),`${o}#${c}`},withResourceScope(o,c){let a=r;r=o;try{return c()}finally{r=a}},pending:new Set,data:new Map}}function pn(e,t){return dn.run(e,t)}function fe(){return dn.getStore()}function zi(){return fe()?.event}function ja(){let e=zi();return e?(e.locals||(e.locals={}),e.locals):{}}var Yr=globalThis[Symbol.for("fluixi.requestLocals")]??=new WeakMap;function La(){return globalThis[Symbol.for("fluixi.platformRequest")]?.getStore()}function Ki(e){let t=Yr.get(e);return t||(t={},Yr.set(e,t)),t}var mn="__FX_DATA__";function Ji(e){return e.replace(/[<>&\u2028\u2029]/g,t=>"\\u"+t.charCodeAt(0).toString(16).padStart(4,"0"))}var Ft;function Gi(){let e=globalThis.__FX_DATA__;if(e)return e;if(Ft!==void 0)return Ft;let t=null;if(typeof document<"u"){let n=document.getElementById(mn)?.textContent;if(n)try{t=JSON.parse(n)}catch{t=null}}return Ft=t}function mt(){for(;;){for(;m.cursor&&m.cursor.nodeType===3&&m.cursor.data==="";)m.cursor=m.cursor.nextSibling;if(m.cursor!=null||!m.parents.length)return;m.cursor=m.parents.pop().nextSibling}}var qa=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),yt=typeof process<"u"&&process.env&&!1;function vt(e,t){let n=t.nodeType===1?`<${t.tagName.toLowerCase()}>`:t.nodeType===3?`text ${JSON.stringify((t.nodeValue??"").slice(0,24))}`:t.nodeType===8?"comment":"node";console.warn(`[fluixi] hydration mismatch: expected ${e} but the server DOM has ${n}. Server and client rendered different markup; recreating this node on the client. Check for non-deterministic render (Date.now(), Math.random(), browser-only branches, untransported data).`)}function Ha(e){mt();let t=m.cursor;return t&&t.nodeType===1&&t.tagName.toLowerCase()===e.toLowerCase()?(qa.has(e.toLowerCase())?m.cursor=t.nextSibling:(m.parents.push(t),m.cursor=t.firstChild),t):(yt&&t&&vt(`<${e}>`,t),null)}function Wa(e){mt();let t=m.cursor;return t&&t.nodeType===1&&t.tagName.toLowerCase()===e.toLowerCase()?(m.cursor=t.nextSibling,t):(yt&&t&&vt(`<${e}> (static)`,t),null)}function Va(e){if(e===""){let n=m.cursor;return n&&n.nodeType===3&&n.data!==""?(m.cursor=n.nextSibling,n.data="",n):null}mt();let t=m.cursor;return t&&t.nodeType===3?(m.cursor=t.nextSibling,t.nodeValue!==e&&(t.nodeValue=e),t):(yt&&t&&vt(`text ${JSON.stringify(e.slice(0,24))}`,t),null)}function Fa(e){mt();let t=m.cursor;return t&&t.nodeType===8&&t.data===e?(m.cursor=t.nextSibling,t):(yt&&t&&vt(`marker <!--${e.slice(0,24)}-->`,t),null)}var Zr=!1;function Ba(){Zr||(Zr=!0,la({hydrateElement:Ha,hydrateText:Va,hydrateMarker:Fa,hydrateStatic:Wa}))}function Pe(e,t,n){Ba(),m.active=!0,m.cursor=t.firstChild,m.parents=[];let r=Gi(),i=n?.resourceNamespace,s=0;ze(()=>i?`${i}:r${s++}`:`r${s++}`),sr(r?o=>o in r?{value:r[o]}:void 0:null);try{return Me(e,t)}finally{m.active=!1,m.cursor=null,m.parents=[]}}var yn="fluixi-island";function Ua(e){let{component:t,props:n={},name:r}=e,i=rn(yn),s=r??t.name??"Island";M(i,"name",s),M(i,"props",JSON.stringify(n??{}));let o=q()?fe():void 0;if(o){let c=o.nextIslandNamespace(s);L(i,()=>o.withResourceScope(c,()=>t(n)))}else L(i,()=>t(n));return i}var Qr=!1;function za(){if(Qr||typeof document>"u")return;Qr=!0;let e=document.createElement("style");e.textContent=`${yn}{display:contents}`,document.head.appendChild(e)}function Ka(e){if(typeof document>"u")return;za();let t=document.querySelectorAll(yn),n=new Map;t.forEach(r=>{let i=r.getAttribute("name")??"",s=n.get(i)??0;n.set(i,s+1);let o=e[i];if(!o){typeof process>"u"&&console.warn(`[fluixi] island "${i}" has no component in the registry, left static.`);return}let c={};try{c=JSON.parse(r.getAttribute("props")||"{}")}catch{}Pe(()=>o(c),r,{resourceNamespace:`${i}#${s}`})})}function Ja(e,...t){throw new Error("html`` was not compiled, enable the lit format: fluixi({ format: 'lit' }).")}function Ga(e,...t){throw new Error("svg`` was not compiled, enable the lit format: fluixi({ format: 'lit' }).")}function Xa(e,t={}){if(typeof e=="function")return fn(e,t);if(typeof e!="string"||e.length===0)return null;let n=Wi(e);if(q())return dt().createElement(e,n);let r=n?document.createElementNS(lt,e):document.createElement(e);return ln(r,t,n),Ya(r,t),r}function Ya(e,t){if(!t||t.children===void 0)return;let n=Ke(()=>t.children),r=i=>{L(e,i,typeof i=="function"?null:void 0)};Array.isArray(n)?n.forEach(r):r(n)}function Za(e){return typeof e=="function"?e:(()=>e)}function gt(e){return()=>{let t=e();return typeof t=="function"?t():t}}function Qa(e){return e!=null&&e!==!1}function eu(e){return!e||typeof e!="object"?!1:!!(typeof e._$litType$<"u"||typeof e._$litDirective$<"u"||Array.isArray(e.strings)&&Array.isArray(e.values))}function vn(e){let t=gt(()=>e.when),n=g(t,void 0,{name:"Show.when"}),r=g(n,void 0,{name:"Show.cond"}),i=H(),s=null,o=null,c=a=>{a!==o&&(s&&se(s),s=ie(i),o=a)};return g(()=>{let a=r();return c(a?"when":"fallback"),T(s,()=>{if(a){let u=e.children;return typeof u=="function"&&!eu(u)?typeof n=="function"?I(()=>I(n)?u(n()):e.fallback):u(n):u}return e.fallback});return e.fallback??null},void 0,{name:"Show.result"})}function gn(e){let t=gt(()=>e.each),n=()=>e.fallback??null,r=(i,s)=>{let o=e.children,c=Array.isArray(o)?o.map(a=>typeof a=="function"?a(i,s):a):typeof o=="function"?o(i,s):o;return tn(c),c};return e.by?Be(t,e.by,(i,s)=>r(i,s),{fallback:n}):Fe(t,(i,s)=>r(i,s),{fallback:n})}function bn(e){let t=gt(()=>e.each);return Ue(t,(n,r)=>{let i=e.children(n,r);return tn(i),i},{fallback:()=>e.fallback??null})}var Xt=Symbol("match");function wn(e){return{[Xt]:!0,when:gt(()=>e.when),get children(){return e.children}}}function Sn(e){let t=Array.isArray(e.children)?e.children:[e.children],n=H(),r=null,i=-1,s=o=>{o!==i&&(r&&se(r),r=ie(n),i=o)};return g(()=>{for(let o=0;o<t.length;o+=1){let a=t[o],u=0;for(;typeof a=="function"&&!a[Xt]&&u++<10;)a=a();if(!a||typeof a!="object"||a[Xt]!==!0)continue;let l=a.when();if(Qa(l))return s(o),T(r,()=>typeof a.children=="function"?a.children(l):a.children)}return s(-2),T(r,()=>e.fallback??null)},void 0,{name:"Switch"})}function kn(e){let t=Za(e.component),{component:n,...r}=e,i=H(),s=null,o;return g(()=>{let c=t();return c!==o&&(s&&se(s),s=ie(i),o=c),c==null?null:typeof c=="string"?{tag:c,props:r}:T(s,()=>c(r))},void 0,{name:"Dynamic"})}function xn(e){let t=()=>e.mount?typeof e.mount=="function"?e.mount():e.mount:document.body,n,r;return P(i=>{n=i,r=document.createElement("div"),r.style.display="contents",t().appendChild(r),L(r,e.children)&&Re(e.ref,r)}),S(()=>{n(),r.remove()}),null}function Xi(e){if(q())return e.fallback??null;let t=m.active,[n,r]=D(!t);return t&&queueMicrotask(()=>r(!0)),g(()=>n()?e.children:e.fallback??null,void 0,{name:"client-only"})}var tu=Xi;function En(e){let[t,n]=D(null),r=()=>n(null);return g(()=>{let i=t();if(i!==null)return typeof e.fallback=="function"?e.fallback(i,r):e.fallback;try{return typeof e.children=="function"?e.children():e.children}catch(s){return n(s),typeof e.fallback=="function"?e.fallback(s,r):e.fallback}},void 0,{name:"ErrorBoundary"})}function nu(e){return g(()=>{let t=typeof e=="function"?e():e,n=[];for(let[r,i]of Object.entries(t)){if(!r)continue;(typeof i=="function"?i():i)&&n.push(r)}return n.join(" ")},void 0,{name:"ClassMap"})}function ru(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function iu(e){return g(()=>{let t=typeof e=="function"?e():e,n=[];for(let[r,i]of Object.entries(t)){if(!r)continue;let s=typeof i=="function"?i():i;s!=null&&n.push(`${ru(r)}: ${s}`)}return n.join("; ")},void 0,{name:"StyleMap"})}var An=1,Yi=3,Zi=8,Qi;Qi=ft;var bt=class{constructor(){this[Qi]=!0,this.parentNode=null,this.childNodes=[]}get firstChild(){return this.childNodes[0]??null}get lastChild(){return this.childNodes[this.childNodes.length-1]??null}get nextSibling(){let e=this.parentNode;if(!e)return null;let t=e.childNodes.indexOf(this);return t>=0?e.childNodes[t+1]??null:null}get previousSibling(){let e=this.parentNode;if(!e)return null;let t=e.childNodes.indexOf(this);return t>0?e.childNodes[t-1]??null:null}get parentElement(){return this.parentNode}appendChild(e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,this.childNodes.push(e),e}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e);let n=this.childNodes.indexOf(t);return e.parentNode=this,n<0?this.childNodes.push(e):this.childNodes.splice(n,0,e),e}removeChild(e){let t=this.childNodes.indexOf(e);return t>=0&&this.childNodes.splice(t,1),e.parentNode=null,e}replaceChild(e,t){let n=this.childNodes.indexOf(t);return n>=0&&(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,this.childNodes[n]=e,t.parentNode=null),t}addEventListener(){}removeEventListener(){}},_n=class es extends bt{constructor(t){super(),this.nodeType=Yi,this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t==null?"":String(t)}get textContent(){return this.data}set textContent(t){this.data=t==null?"":String(t)}cloneNode(){return new es(this.data)}},su=class ts extends bt{constructor(t){super(),this.nodeType=An,this.rawOuterHTML=t}get textContent(){return this.rawOuterHTML.replace(/<[^>]*>/g,"")}cloneNode(){return new ts(this.rawOuterHTML)}},ns=class rs extends bt{constructor(t){super(),this.nodeType=Zi,this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t==null?"":String(t)}cloneNode(){return new rs(this.data)}},ou=class{constructor(){this.cssText=""}setProperty(e,t){this[e]=t}removeProperty(e){delete this[e]}},cu=class{constructor(e){this.el=e}list(){let e=this.el.getAttribute("class");return e?e.split(/\s+/).filter(Boolean):[]}write(e){e.length?this.el.setAttribute("class",e.join(" ")):this.el.removeAttribute("class")}add(...e){let t=this.list();for(let n of e)t.includes(n)||t.push(n);this.write(t)}remove(...e){this.write(this.list().filter(t=>!e.includes(t)))}contains(e){return this.list().includes(e)}toggle(e,t){let n=this.contains(e),r=t===void 0?!n:t;return r?this.add(e):this.remove(e),r}},Yt=class is extends bt{constructor(t,n=!1){super(),this.nodeType=An,this.attributes=new Map,this.style=new ou,this.classList=new cu(this),this.rawHTML=null,this.localName=t.toLowerCase(),this.tagName=n?t:t.toUpperCase(),this.isSVG=n,this.namespaceURI=n?"http://www.w3.org/2000/svg":null}setAttribute(t,n){this.attributes.set(t,String(n))}removeAttribute(t){this.attributes.delete(t)}getAttribute(t){return this.attributes.has(t)?this.attributes.get(t):null}hasAttribute(t){return this.attributes.has(t)}get id(){return this.getAttribute("id")??""}set id(t){t==null?this.removeAttribute("id"):this.setAttribute("id",t)}get className(){return this.getAttribute("class")??""}set className(t){t==null?this.removeAttribute("class"):this.setAttribute("class",t)}get htmlFor(){return this.getAttribute("for")??""}set htmlFor(t){t==null?this.removeAttribute("for"):this.setAttribute("for",t)}set value(t){t==null?this.removeAttribute("value"):this.setAttribute("value",String(t))}set checked(t){t?this.setAttribute("checked",""):this.removeAttribute("checked")}set selected(t){t?this.setAttribute("selected",""):this.removeAttribute("selected")}set indeterminate(t){}get textContent(){return this.childNodes.map(t=>t.textContent??"").join("")}set textContent(t){for(let n of this.childNodes)n.parentNode=null;this.childNodes=[],this.rawHTML=null,t!=null&&t!==""&&this.appendChild(new _n(String(t)))}set innerText(t){this.textContent=t}set innerHTML(t){for(let n of this.childNodes)n.parentNode=null;this.childNodes=[],this.rawHTML=t==null?"":String(t)}cloneNode(t=!1){let n=new is(this.localName,this.isSVG);if(n.attributes=new Map(this.attributes),n.style.cssText=this.style.cssText,n.rawHTML=this.rawHTML,t)for(let r of this.childNodes)n.appendChild(r.cloneNode(!0));return n}},au=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),ss=/&/g,os=/</g,cs=/>/g,uu=/"/g;function Bt(e){return e.replace(ss,"&amp;").replace(os,"&lt;").replace(cs,"&gt;")}function ei(e){return e.replace(ss,"&amp;").replace(uu,"&quot;").replace(os,"&lt;").replace(cs,"&gt;")}function lu(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}function fu(e){if(!e)return"";let t=[];e.cssText&&t.push(e.cssText.trim().replace(/;\s*$/,""));for(let n of Object.keys(e)){if(n==="cssText")continue;let r=e[n];r==null||r===""||t.push(`${lu(n)}: ${r}`)}return t.join("; ")}function du(e){let t="",n=fu(e.style);for(let[r,i]of e.attributes)r==="style"&&n||(t+=` ${r}="${ei(i)}"`);if(n){let r=e.attributes.get("style"),i=r?`${r.replace(/;\s*$/,"")}; ${n}`:n;t+=` style="${ei(i)}"`}return t}function Y(e){if(e==null||e===!1||e===!0)return"";if(typeof e=="string")return Bt(e);if(typeof e=="number")return Bt(String(e));if(typeof e=="function")return Y(e());if(Array.isArray(e))return e.map(Y).join("");if(typeof e.rawOuterHTML=="string")return e.rawOuterHTML;switch(e.nodeType){case Yi:return Bt(e.data??"");case Zi:return`<!--${e.data??""}-->`;case An:{let t=e.localName,n=`<${t}${du(e)}>`;if(au.has(t))return n;let r=e.rawHTML!=null?e.rawHTML:(e.childNodes??[]).map(Y).join("");return`${n}${r}</${t}>`}}return Array.isArray(e.childNodes)?e.childNodes.map(Y).join(""):""}var hu=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),pu={amp:"&",lt:"<",gt:">",quot:'"',"#39":"'"};function ti(e){return e.replace(/&(#?\w+);/g,(t,n)=>pu[n]??t)}var F=class extends Error{};function mu(e,t=!1){let n=0,r=[],i=[],s=u=>{let l=i[i.length-1];l?l.appendChild(u):r.push(u)};for(;n<e.length;){let u=e.indexOf("<",n);if(u===-1){c(e.slice(n));break}if(u>n&&c(e.slice(n,u)),e.startsWith("<!--",u)){let l=e.indexOf("-->",u);if(l===-1)throw new F(`unterminated comment at ${u}`);s(new ns(e.slice(u+4,l))),n=l+3;continue}if(e[u+1]==="/"){let l=e.indexOf(">",u);if(l===-1)throw new F(`unterminated closing tag at ${u}`);let f=e.slice(u+2,l).trim().toLowerCase(),d=i.pop();if(!d||d.localName!==f)throw new F(`</${f}> does not close <${d?.localName??"nothing"}>`);n=l+1;continue}n=a(u)}if(i.length>0)throw new F(`unclosed <${i[i.length-1].localName}>`);let o=r[0];if(r.length!==1||!(o instanceof Yt))throw new F(`expected exactly one root element, got ${r.length}`);return o;function c(u){u!==""&&s(new _n(ti(u)))}function a(u){let l=/[\s/>]/.exec(e.slice(u+1));if(!l)throw new F(`unterminated tag at ${u}`);let f=e.slice(u+1,u+1+l.index).toLowerCase(),d=new Yt(f,t),y=u+1+l.index;for(;y<e.length;){for(;y<e.length&&/\s/.test(e[y]);)y++;if(e[y]===">"){y++;break}if(e[y]==="/"&&e[y+1]===">"){y+=2;break}let b=y;for(;y<e.length&&!/[\s=/>]/.test(e[y]);)y++;let v=e.slice(b,y);if(v==="")throw new F(`malformed attribute at ${y}`);if(e[y]==="="){if(e[y+1]!=='"')throw new F(`attribute ${v} must have a double-quoted value`);let _=e.indexOf('"',y+2);if(_===-1)throw new F(`unterminated value for ${v}`);d.setAttribute(v,ti(e.slice(y+2,_))),y=_+1}else d.setAttribute(v,"")}return s(d),hu.has(f)||i.push(d),y}}var ni=!1;function as(){ni||(ni=!0,ua({createElement:(e,t)=>new Yt(e,t),createText:e=>new _n(e),createRaw:e=>new su(e),parseTemplate:(e,t)=>mu(e,t),createComment:e=>new ns(e)}))}function yu(e,t={}){let n=q();as(),Ae(!0);let r=hn(t.event);try{return pn(r,()=>P(i=>{try{let s=typeof e=="function"?e():e;return Y(s)}finally{i()}}))}finally{Ae(n)}}var ri=!1;function vu(){ri||(ri=!0,ir(e=>{fe()?.pending.add(e)}),ze(()=>fe()?.nextResourceId()??""),or((e,t)=>{e&&fe()?.data.set(e,t)}))}var Zt=null;function gu(e){Zt=e}function us(e){if(e.data.size===0)return"";let t={};for(let[r,i]of e.data){let s=i;if(Zt)try{s=Zt(i,r)}catch{continue}s!==void 0&&(typeof s=="function"||typeof s=="symbol"||(t[r]=s))}if(Object.keys(t).length===0)return"";let n=Ji(JSON.stringify(t));return n==="{}"?"":`<script type="application/json" id="${mn}">${n}<\/script>`}var bu=50;async function wu(e,t={}){let n=q();as(),Ae(!0),vu();let r=hn(t.event);try{return await pn(r,async()=>{t.preload&&await t.preload(t.event);let i,s=null,o=()=>{};P(l=>{o=l,s=H(),i=typeof e=="function"?e():e});let c=()=>{try{T(s,()=>Y(i))}catch{}};c();let a=0;for(;r.pending.size>0&&a++<bu;){let l=Array.from(r.pending);r.pending.clear(),await Promise.allSettled(l),await rr(),c()}let u=T(s,()=>Y(i))+us(r);return o(),u})}finally{Ae(n)}}var Su={createComponent:fn,createElement:di,createNativeElement:rn,createTemplate:sn,cloneTemplate:on,templateNode:Ri,holeContent:Di,holeEnd:Pi,holeScope:Mi,createPortal:Hi,render:Me,hydrate:Pe,insert:L,appendChildren:pi,removeChildren:hi,spread:Li,applyProps:ln,mergeProps:qi,bindPair:Vi,setProperty:de,setDynamicProperty:Te,setAttribute:M,setDynamicAttribute:$e,removeAttribute:fi,getAttribute:li,setClassName:he,addClass:ci,removeClass:ai,toggleClass:ui,setStyles:Qt,delegateEvents:pt,addDelegatedEventListener:nn,removeDelegatedEventListener:at,handleRef:Re,resetIntegration:Bi,isIntegrationInitialized:Fi},ku=Su;function xu(e){let t=(n,r)=>{n.parent=r;let i=Eu(n);for(let s of i)t(s,n)};return t(e,null),e}function Eu(e){switch(e.kind){case"Root":case"Element":case"Component":case"Fragment":return e.children;default:return[]}}var Au=class{constructor(e){this.pieces=e,this.pi=0,this.oi=0,this.normalize()}normalize(){for(;this.pi<this.pieces.length;){let e=this.pieces[this.pi];if(e.kind==="static"&&this.oi>=e.text.length){this.pi++,this.oi=0;continue}break}}eof(){return this.pi>=this.pieces.length}pos(){if(this.eof()){let t=this.pieces[this.pieces.length-1];return t?t.kind==="static"?t.start+t.text.length:t.end:0}let e=this.pieces[this.pi];return e.kind==="static"?e.start+this.oi:e.start}atHole(){return!this.eof()&&this.pieces[this.pi].kind==="hole"}holeFollows(){if(this.eof())return!1;let e=this.pieces[this.pi];if(e.kind!=="static"||this.oi+1<e.text.length)return!1;let t=this.pieces[this.pi+1];return t!==void 0&&t.kind==="hole"}takeHole(){let e=this.pieces[this.pi];if(e.kind!=="hole")throw new Error("takeHole called off a hole");return this.pi++,this.oi=0,this.normalize(),{index:e.index,loc:{start:e.start,end:e.end}}}peek(e=0){if(this.eof())return"";let t=this.pieces[this.pi];return t.kind!=="static"?"":t.text[this.oi+e]??""}startsWith(e){if(this.eof())return!1;let t=this.pieces[this.pi];return t.kind!=="static"?!1:t.text.startsWith(e,this.oi)}advance(){if(this.eof())return"";let e=this.pieces[this.pi];if(e.kind!=="static")return"";let t=e.text[this.oi++]??"";return this.normalize(),t}readWhile(e){let t="";for(;!this.eof()&&!this.atHole();){let n=this.peek();if(n===""||!e(n))break;t+=n,this.oi++}return this.normalize(),t}skipWhitespace(){this.readWhile(e=>/\s/.test(e))}span(e){return{start:e,end:this.pos()}}},ls=new Set(["capture","once","passive","prevent","stop","self"]);function Z(e,t){return e.value&&e.value.kind==="hole"?e.value.hole:(e.report("invalid-binding",`${t} requires an expression value: ${e.name}=\${…}`),-1)}var ds=(e,t)=>({kind:"Attribute",name:t?e.name.slice(1):e.name,value:e.value,boolean:t,loc:e.loc}),hs=[{id:"event",match:e=>e[0]==="@"||e.startsWith("on:")||/^on[A-Z]/.test(e),build:e=>{let t,n;e.name[0]==="@"?(t="at",n=e.name.slice(1)):e.name.startsWith("on:")?(t="colon",n=e.name.slice(3)):(t="on",n=e.name.slice(2));let[r,...i]=n.split("."),s=r.toLowerCase();for(let o of i)ls.has(o)||e.report("invalid-directive",`Unknown event modifier ".${o}" — expected one of ${[...ls].join(", ")}`);return{kind:"EventBinding",name:s,syntax:t,modifiers:i,hole:Z(e,"event binding"),loc:e.loc}}},{id:"bind",elementOnly:!0,match:e=>e.startsWith("bind:"),build:e=>({kind:"BindDirective",name:e.name.slice(5),hole:Z(e,"two-way binding"),loc:e.loc})},{id:"class-directive",elementOnly:!0,match:e=>e.startsWith("class:"),build:e=>({kind:"ClassDirective",name:e.name.slice(6),hole:Z(e,"class directive"),loc:e.loc})},{id:"style-directive",elementOnly:!0,match:e=>e.startsWith("style:"),build:e=>({kind:"StyleDirective",name:e.name.slice(6),hole:Z(e,"style directive"),loc:e.loc})},{id:"load",match:e=>e.startsWith("load:"),build:e=>({kind:"LoadDirective",strategy:e.name.slice(5),modifier:e.value&&e.value.kind==="static"?e.value.value:null,loc:e.loc})},{id:"use",match:e=>e==="use"||e.startsWith("use:"),build:e=>({kind:"UseDirective",name:e.name.startsWith("use:")?e.name.slice(4):null,hole:e.value&&e.value.kind==="hole"?e.value.hole:null,loc:e.loc})},{id:"if",elementOnly:!0,match:e=>e==="if",build:e=>({kind:"IfDirective",hole:Z(e,"if directive"),loc:e.loc})},{id:"each",elementOnly:!0,match:e=>e==="each",build:e=>({kind:"EachDirective",hole:Z(e,"each directive"),key:null,loc:e.loc})},{id:"else",elementOnly:!0,match:e=>e==="else",build:e=>(e.value!==null&&e.report("invalid-directive","`else` takes no value"),{kind:"ElseDirective",loc:e.loc})},{id:"ref",match:e=>e==="ref",build:e=>({kind:"RefBinding",hole:Z(e,"ref binding"),loc:e.loc})},{id:"property",match:e=>e[0]===".",build:e=>({kind:"PropertyBinding",name:e.name.slice(1),hole:Z(e,"property binding"),loc:e.loc})},{id:"boolean",match:e=>e[0]==="?",build:e=>ds(e,!0)}];function _u(e,t=hs,n={component:!1}){for(let r of t)if(!(r.elementOnly&&n.component)&&r.match(e.name))return r.build(e);return ds(e,!1)}var $u=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"]),Tu=new Set(["script","style","textarea","title"]),Cu=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function Nu(e){return e.length>0&&(e[0]!==e[0].toLowerCase()||e.includes("."))}var Ou=new Set(["a","button","input","select","textarea","summary","details","option","label"]),Ru=new Set(["keydown","keyup","keypress"]);function pe(e,t){return e.attributes.find(n=>"name"in n&&n.name===t)}function Mu(e){return e.attributes.some(t=>t.kind==="Spread")}function wt(e,t){let n=pe(e,t);if(!n||n.kind!=="Attribute"||!n.value)return;let r=n.value;return r.kind==="static"?r.value:void 0}function Pu(e){let t=wt(e,"role");return t==="presentation"||t==="none"?!0:wt(e,"aria-hidden")==="true"}function fs(e,t){return e.attributes.some(n=>n.kind==="EventBinding"&&t(n.name))}function Du(e){let t=[],n=(i,s,o)=>{t.push({code:s,message:o,severity:"warning",loc:i.loc})},r=i=>{for(let s of i){s.kind==="Element"&&Iu(s,n);let o="children"in s?s.children:void 0;o&&r(o)}};return r(e.children),t}function Iu(e,t){if(Mu(e))return;let n=e.tag.toLowerCase();n==="img"&&!pe(e,"alt")&&!Pu(e)&&t(e,"a11y-img-alt",'An `img` needs an `alt`. Use `alt=""` when the image is decorative.'),n==="a"&&!pe(e,"href")&&!pe(e,"role")&&t(e,"a11y-anchor-href","An `a` without `href` is not a link. Use a `button` for an action."),n==="iframe"&&!pe(e,"title")&&t(e,"a11y-iframe-title","An `iframe` needs a `title` describing its content.");let r=wt(e,"tabindex")??wt(e,"tabIndex");r!==void 0&&Number(r)>0&&t(e,"a11y-positive-tabindex","A positive `tabindex` reorders tab navigation for the entire page. Use `0`, or restructure the markup."),!Ou.has(n)&&fs(e,i=>i==="click")&&!pe(e,"role")&&!fs(e,i=>Ru.has(i))&&t(e,"a11y-click-without-keyboard",`A click handler on \`${n}\` is unreachable by keyboard. Use a \`button\`, or add a \`role\` and a key handler.`)}var ju=/[A-Za-z0-9\-_:@.?]/,Lu=class{constructor(e,t){this.diagnostics=[],this.r=new Au(e),this.svg=t.svg??!1,this.directives=t.directives??hs,this.accessibility=t.accessibility??!0}parse(){let e=this.r.pos(),t=[];for(;!this.r.eof()&&(t.push(...this.parseChildren()),!this.r.eof());){let r=this.r.pos();this.consumeCloseTag(),this.report("stray-close-tag","error","Close tag without a matching open tag",this.r.span(r))}let n={kind:"Root",children:t,loc:this.r.span(e)};return xu(n),this.validateTree(n),this.accessibility&&this.diagnostics.push(...Du(n)),{root:n,diagnostics:this.diagnostics}}validateTree(e){let t=n=>{let r=null;for(let i of n)i.kind==="Text"&&/^\s*$/.test(i.value)||(i.kind==="Element"||i.kind==="Component"?(i.attributes.some(o=>o.kind==="ElseDirective")&&(r!=null&&(r.kind==="Element"||r.kind==="Component")&&r.attributes.some(c=>c.kind==="IfDirective")||this.report("else-without-if","error","`else` must immediately follow an element with `if`",i.loc)),r=i):r=null,"children"in i&&i.children&&t(i.children))};t(e.children)}parseChildren(){let e=[];for(;!this.r.eof()&&!this.r.startsWith("</");){if(this.r.startsWith("<!--")){e.push(this.parseComment());continue}if(this.isFragmentStart()){e.push(this.parseFragment());continue}if(this.isDynamicTagStart()){e.push(this.parseDynamicComponent());continue}if(this.isTagStart()){e.push(this.parseElement());continue}if(this.r.atHole()){let n=this.r.takeHole(),r={kind:"Expression",hole:n.index,loc:n.loc};e.push(r);continue}let t=this.readText();t&&e.push(t)}return e}isTagStart(){return this.r.peek()==="<"&&/[A-Za-z]/.test(this.r.peek(1))}isFragmentStart(){return this.r.peek()==="<"&&this.r.peek(1)===">"}isDynamicTagStart(){return this.r.peek()==="<"&&this.r.holeFollows()}parseDynamicComponent(){let e=this.r.pos();this.r.advance();let t=this.r.takeHole().index,n=this.parseAttributes(!0);this.r.skipWhitespace();let r=!1,i=[];return this.r.startsWith("/>")?(this.r.advance(),this.r.advance(),r=!0):(this.r.peek()===">"&&this.r.advance(),i=this.parseChildren(),this.r.startsWith("</")?(this.r.advance(),this.r.advance(),this.r.atHole()?this.r.takeHole():this.readName(),this.r.skipWhitespace(),this.r.peek()===">"&&this.r.advance()):this.report("unclosed-tag","error","Unclosed dynamic component",this.r.span(e))),{kind:"Component",tag:"",tagHole:t,attributes:n,children:i,selfClosing:r,loc:this.r.span(e)}}readText(){let e=this.r.pos(),t="";for(;!this.r.eof()&&!this.r.atHole()&&!(this.r.startsWith("</")||this.r.startsWith("<!--")||this.isTagStart()||this.isFragmentStart()||this.isDynamicTagStart());)t+=this.r.advance();return t?{kind:"Text",value:t,raw:!1,loc:this.r.span(e)}:null}parseComment(){let e=this.r.pos();this.r.advance(),this.r.advance(),this.r.advance(),this.r.advance();let t="";for(;!this.r.eof()&&!this.r.startsWith("-->");){if(this.r.atHole()){this.r.takeHole(),t+="\0";continue}t+=this.r.advance()}return this.r.startsWith("-->")?(this.r.advance(),this.r.advance(),this.r.advance()):this.report("unclosed-comment","warning","Unterminated comment",this.r.span(e)),{kind:"Comment",value:t,loc:this.r.span(e)}}parseFragment(){let e=this.r.pos();this.r.advance(),this.r.advance();let t=this.parseChildren();if(this.r.startsWith("</")){let n=this.consumeCloseTag();n&&this.report("mismatched-close-tag","error",`Expected </> to close fragment, got </${n}>`,this.r.span(e))}else this.report("unclosed-tag","error","Unterminated fragment",this.r.span(e));return{kind:"Fragment",children:t,loc:this.r.span(e)}}parseElement(){let e=this.r.pos();this.r.advance();let t=this.readName(),n=Nu(t),r=this.parseAttributes(n);this.foldEachKey(r,e),this.r.skipWhitespace();let i=t.toLowerCase(),s=!n&&Tu.has(i),o=!n&&Cu.has(i),c=!1,a=[];if(this.r.startsWith("/>"))this.r.advance(),this.r.advance(),c=!0;else if(this.r.peek()===">"&&this.r.advance(),!o)if(a=s?this.parseRawText(t):this.parseChildren(),this.r.startsWith("</")){let f=this.consumeCloseTag();f&&f!==t&&this.report("mismatched-close-tag","error",`Expected </${t}>, got </${f}>`,this.r.span(e))}else this.report("unclosed-tag","error",`Unclosed <${t}>`,this.r.span(e));let u=this.r.span(e);if(n)return{kind:"Component",tag:t,tagHole:null,attributes:r,children:a,selfClosing:c,loc:u};let l=this.svg||$u.has(t)?"svg":"html";return{kind:"Element",tag:t,namespace:l,attributes:r,children:a,selfClosing:c,rawText:s,loc:u}}parseRawText(e){let t=[],n="</"+e.toLowerCase(),r="",i=this.r.pos(),s=()=>{r&&t.push({kind:"Text",value:r,raw:!0,loc:this.r.span(i)}),r=""};for(;!this.r.eof()&&!this.startsWithCloseFor(n);){if(this.r.atHole()){s();let o=this.r.takeHole();t.push({kind:"Expression",hole:o.index,loc:o.loc}),i=this.r.pos();continue}r||(i=this.r.pos()),r+=this.r.advance()}return s(),t}startsWithCloseFor(e){let t=0;for(;t<e.length;){let n=this.r.peek(t);if(n===""||n.toLowerCase()!==e[t])return!1;t++}return!0}parseAttributes(e){let t=[];for(;!this.r.eof()&&(this.r.skipWhitespace(),!(this.r.peek()===">"||this.r.startsWith("/>")));){if(this.r.atHole()){let c=this.r.takeHole();t.push({kind:"Spread",hole:c.index,loc:c.loc});continue}if(this.r.startsWith("...")){let c=this.r.pos();if(this.r.advance(),this.r.advance(),this.r.advance(),this.r.atHole()){let a=this.r.takeHole();t.push({kind:"Spread",hole:a.index,loc:this.r.span(c)})}else this.report("invalid-binding","error","Spread `...` must be followed by ${…}",this.r.span(c));continue}let n=this.r.pos(),r=this.readName();if(!r){this.r.advance();continue}let i=this.r.span(n);this.r.skipWhitespace();let s=null;this.r.peek()==="="&&(this.r.advance(),this.r.skipWhitespace(),s=this.parseAttrValue());let o={name:r,nameLoc:i,value:s,loc:this.r.span(n),report:(c,a)=>this.report(c,"error",a,this.r.span(n))};t.push(_u(o,this.directives,{component:e}))}return t}parseAttrValue(){if(this.r.atHole())return{kind:"hole",hole:this.r.takeHole().index};let e=this.r.peek();return e==='"'||e==="'"?this.classifyParts(this.readQuotedParts(e)):{kind:"static",value:this.r.readWhile(n=>!/[\s>]/.test(n))}}readQuotedParts(e){this.r.advance();let t=[],n="";for(;!this.r.eof()&&this.r.peek()!==e;){if(this.r.atHole()){n&&(t.push({text:n}),n=""),t.push({hole:this.r.takeHole().index});continue}let r=this.r.advance();if(r==="")break;n+=r}return n&&t.push({text:n}),this.r.peek()===e&&this.r.advance(),t}classifyParts(e){let t=e.filter(n=>"hole"in n);return t.length===0?{kind:"static",value:e.map(n=>"text"in n?n.text:"").join("")}:e.length===1?{kind:"hole",hole:t[0].hole}:{kind:"mixed",parts:e}}foldEachKey(e,t){let n=null,r=0,i=0,s=0,o=0;for(let l of e)l.kind==="EachDirective"?(n=l,i++):l.kind==="IfDirective"?r++:l.kind==="ElseDirective"?s++:l.kind==="RefBinding"&&o++;let c=this.r.span(t);i>1&&this.report("duplicate-directive","error","Multiple `each` directives on one element",c),r>1&&this.report("duplicate-directive","error","Multiple `if` directives on one element",c),o>1&&this.report("duplicate-directive","error","Multiple `ref` bindings on one element",c),r>0&&i>0&&this.report("unsupported-combination","error","`if` and `each` cannot both apply to one element — wrap one in another element",c),r>0&&s>0&&this.report("invalid-directive","error","`if` and `else` cannot be on the same element",c);let a=e.findIndex(l=>l.kind==="Attribute"&&l.name==="key");if(!n){a!==-1&&this.report("invalid-directive","error","`key` requires an `each` directive on the same element",c);return}if(a===-1)return;let u=e[a];u.kind==="Attribute"&&u.value&&(u.value.kind==="static"?n.key={static:u.value.value}:u.value.kind==="hole"&&(n.key={hole:u.value.hole})),e.splice(a,1)}readName(){return this.r.readWhile(e=>ju.test(e))}consumeCloseTag(){this.r.advance(),this.r.advance();let e=this.readName();return this.r.skipWhitespace(),this.r.peek()===">"&&this.r.advance(),e}report(e,t,n,r){this.diagnostics.push({code:e,severity:t,message:n,loc:r})}};function Tn(e,t={}){return new Lu(e,t).parse()}function qu(e){let t=[],n=0;return e.forEach((r,i)=>{t.push({kind:"static",text:r,start:n}),n+=r.length,i<e.length-1&&t.push({kind:"hole",index:i,start:n,end:n})}),t}function ps(e,t={}){return Tn(qu(e),t)}function Hu(e){switch(e.kind){case"event":return"event";case"ref":return"ref";case"spread":return"spread";case"class":case"style":return"class-or-style-directive";case"attr":case"prop":return e.reactive?"reactive-prop":e.expr!==void 0?"expression-prop":void 0;default:return"expression-prop"}}function Wu(e){let t=[],n=new Map,r=i=>{switch(i.kind){case"text":return!0;case"expr":return!1;case"component":case"control":for(let s of i.children)r(s);return!1;case"fragment":for(let s of i.children)r(s);return!1;case"element":{let s=!0;for(let c of i.children)r(c)||(s=!1);let o;for(let c of i.props)if(o=Hu(c),o)break;return!o&&!s&&(o=Vu(i)),i.static=!o,o?n.set(i,o):t.push(i),i.static}default:return!1}};for(let i of Array.isArray(e)?e:[e])r(i);return{staticElements:t,reasons:n}}function Vu(e){for(let t of e.children){if(t.kind==="expr")return"expression-child";if(t.kind==="component")return"component-child";if(t.kind==="control")return"control-child";if(t.kind==="element"&&!t.static||t.kind==="fragment")return"expression-child"}return"expression-child"}var Cn={kind:"eager"},Fu=["pointerdown","focusin","keydown"],ms=new Set(["eager","idle","visible","interaction","media","never"]),St=class extends Error{};function Bu(e,t){let n=e.slice(5);if(!ms.has(n))throw new St(`Unknown load strategy 'load:${n}'. Expected one of ${[...ms].join(", ")}.`);switch(n){case"eager":return Cn;case"idle":return{kind:"idle"};case"never":return{kind:"never"};case"visible":return t?{kind:"visible",rootMargin:t}:{kind:"visible"};case"interaction":return{kind:"interaction",events:t?Uu(t):[...Fu]};case"media":if(!t)throw new St(`'load:media' needs a query, e.g. load:media="(min-width: 1024px)".`);return{kind:"media",query:t};default:throw new St(`Unhandled load strategy '${n}'.`)}}function Uu(e){let t=e.split(/[\s,]+/).map(n=>n.trim()).filter(Boolean);if(t.length===0)throw new St("'load:interaction' was given no event names.");return t}function zu(e){return e.kind!=="eager"&&e.kind!=="never"}var Nn=["Show","For","Index","Switch","Match","Portal","Dynamic","ErrorBoundary"],On=["Suspense","SuspenseList","Await"],Rn=["Router","Outlet","Redirect","Link"],Of=[...Nn,...On,...Rn],ys=new Set([...Nn,...On]);function Ku(e={}){let{controlFlowModule:t="@fluixi/dom",coreModule:n="@fluixi/core",routerModule:r="@fluixi/core/router"}=e,i={};for(let s of Nn)i[s]=t;for(let s of On)i[s]=n;for(let s of Rn)i[s]=r;return i}function Ju(e,t={}){let{resolver:n,isBound:r,modules:i,strategyFor:s}=t,o=Ku(i),c=new Map,a=new Set,u=f=>{let{name:d}=f;if(!d||d.includes(".")||r?.(d))return;let y=l(d);if(!y){a.add(d);return}let b=y.origin==="builtin"&&ys.has(d)?Cn:s?.(f)??Cn;f.source={...y,loading:b},c.set(d,f.source)},l=f=>{if(ys.has(f))return{module:o[f],export:f,origin:"builtin"};let d=n?.resolve(f);if(d)return{module:d.module,export:d.export,origin:"rule"};if(Rn.includes(f))return{module:o[f],export:f,origin:"builtin"}};return Mn(e,f=>{f.kind==="component"&&u(f)}),{resolved:c,unresolved:[...a]}}function Mn(e,t){let n=Array.isArray(e)?e:[e];for(let r of n){t(r);let i=r.children;i&&Mn(i,t)}}function Gu(e){let t=[];Mn(e,s=>{s.kind==="component"&&s.source&&t.push(s)});let n=new Set,r=new Set;for(let s of t){let{module:o,loading:c}=s.source;c.kind==="eager"&&n.add(o),c.kind==="never"&&r.add(o)}let i=new Map;for(let s of t){let o=s.source;zu(o.loading)&&n.has(o.module)&&(o.loading={kind:"eager"},i.set(o.module,(i.get(o.module)??0)+1))}return{collapsed:i,conflicted:[...r].filter(s=>n.has(s))}}var Xu=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Es={className:"class",htmlFor:"for"},Yu=new Set(["innerHTML","outerHTML","innerText","textContent","value","checked","selected","muted","defaultValue","defaultChecked","children","ref"]),Zu=new Set(["script","style","textarea","title"]);function As(e){return Zu.has(e)}function Qu(e){return Es[e]??e}function Pn(e){return e.kind!=="attr"||e.expr!==void 0||e.name.includes(":")?!1:!Yu.has(e.name)}function _s(e){if(!e.static||As(e.tag))return!1;for(let t of e.props)if(!Pn(t))return!1;for(let t of e.children)if(t.kind!=="text"&&!(t.kind==="element"&&_s(t)))return!1;return!0}function Dn(e){let t=e.props.map(tl).filter(Boolean).join(""),n=`<${e.tag}${t}>`;return Xu.has(e.tag)?n:`${n}${e.children.map(el).join("")}</${e.tag}>`}function el(e){if(e.kind==="text")return rl(e.value);if(e.kind!=="element")throw new Error(`serializeStatic: unexpected ${e.kind}`);return Dn(e)}function tl(e){let t=Es[e.name]??e.name,n=e.literal;return n===!0||n===void 0?` ${t}`:n===!1||n===null?"":` ${t}="${nl(String(n))}"`}function nl(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rl(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function vs(e){let t=[],n,r=i=>{n??=i.at?.file,t.push(i.at?.line??0,i.at?.column??0);for(let s of i.children)s.kind==="element"&&r(s)};return r(e),n&&t.some(i=>i!==0)?{file:n,pos:t}:void 0}var il="<!--fx-->",sl="<!--fx/-->";function Et(e){return e.kind==="expr"||e.kind==="component"||e.kind==="control"}function ol(e){return e.kind==="text"||e.kind==="element"&&$s(e)}function $s(e){return e.svg||As(e.tag)||!e.props.every(t=>Pn(t))?!1:e.children.every(t=>ol(t)||Et(t))}function kt(e){if(Et(e))return!0;let t=e.children;return t?t.some(kt):!1}function Ts(e){for(let t=0;t<e.children.length;t++){let n=e.children[t];if(n.kind==="text"&&(n.value===""||e.children[t+1]?.kind==="text"))return!1}return e.children.every(t=>t.kind!=="element"||Ts(t))}function cl(e){if(!$s(e)||!Ts(e)||!e.children.some(kt))return null;let t=[],n=[],r=0,i=o=>{let c=`_n$${r++}`;return t.push({ref:c,expr:o}),c};return s(e,"_el$"),{html:al(e),tag:e.tag,steps:t,holes:n};function s(o,c){let a=-1;o.children.forEach((l,f)=>{kt(l)&&(a=f)});let u=null;for(let l=0;l<=a;l++){let f=o.children[l],d=u?`${u}.nextSibling`:`${c}.firstChild`;if(Et(f)){let b=i(d),v=i(`holeEnd(${b})`);n.push({parentRef:c,startRef:b,endRef:v,node:f}),u=v;continue}let y=i(d);f.kind==="element"&&kt(f)&&s(f,y),u=y}}}function al(e){return Dn(Cs(e)).split(Ns).join(il+sl)}function Cs(e){return{...e,children:e.children.map(t=>Et(t)?{kind:"text",value:Ns}:t.kind==="element"?Cs(t):t)}}var Ns="\0fx-hole\0",Os={version:1,module:"@fluixi/dom",symbols:["createNativeElement","insert","spread","setAttribute","delegateEvents","createComponent","createMemo","untrack","Show","For","Index","Switch","Match","Dynamic","ErrorBoundary"]},Rf={version:2,module:"@fluixi/dom",symbols:[...Os.symbols,"template","cloneTemplate","walk"]},ne="@fluixi/reactive/signal",ul={$signal:{export:"signal",module:ne,returns:"signal-handle"},$memo:{export:"memo",module:ne,returns:"memo-handle"},$effect:{export:"effect",module:ne,returns:"effect"},$store:{export:"store",module:"@fluixi/reactive/store",returns:"store-handle"},$resource:{export:"resource",module:ne,returns:"resource-handle"},$selector:{export:"createSelector",module:ne,returns:"memo-accessor"},$deferred:{export:"createDeferred",module:ne,returns:"memo-accessor"},$untrack:{export:"untrack",module:ne,returns:"plain"},$untrackStore:{export:"untrackStore",module:"@fluixi/reactive/store",returns:"plain"},$env:{export:"env",module:"@fluixi/start/env",returns:"plain"}},Mf=new RegExp(`\\$(?:${Object.keys(ul).map(e=>e.slice(1)).join("|")})\\s*\\(`),ll="__fx_source",fl="__fx_hole",xt=(e,t,n,r)=>`(globalThis.${fl} ?? ((f) => f))(${e},${t},${n}${r===void 0?"":`,${JSON.stringify(r)}`})`,dl="__fx_props",hl=(e,t)=>`(globalThis.${dl} ?? ((p) => p))(${e},${JSON.stringify(t)})`;function Rs(e,t){let n=e[t];for(let r=t+1;r<e.length;r++){let i=e[r];if(i==="\\")r++;else{if(i===n)return r+1;if(i===`
3
- `)return-1}}return-1}function Ms(e,t){let n=t+1;for(;n<e.length;){let r=e[n];if(r==="\\")n+=2;else{if(r==="`")return n+1;if(r==="$"&&e[n+1]==="{"){let i=1;for(n+=2;n<e.length&&i>0;){let s=e[n];if(s==="\\")n+=2;else if(s==="`"){let o=Ms(e,n);if(o<0)return-1;n=o}else if(s==='"'||s==="'"){let o=Rs(e,n);if(o<0)return-1;n=o}else s==="{"?i++:s==="}"&&i--,n++}}else n++}}return-1}function pl(e,t){let n=!1;for(let r=t+1;r<e.length;r++){let i=e[r];if(i==="\\")r++;else if(i==="[")n=!0;else if(i==="]")n=!1;else{if(i===`
4
- `)return-1;if(i==="/"&&!n){let s=r+1;for(;s<e.length&&/[a-z]/i.test(e[s]);)s++;return s}}}return-1}function ml(e){return e!==""&&/[A-Za-z0-9_$)\]]/.test(e)}function yl(e){let t=0,n="",r=0;for(;r<e.length;){let i=e[r];if(i==='"'||i==="'"){let s=Rs(e,r);if(s<0)return null;r=s,n=i}else if(i==="`"){let s=Ms(e,r);if(s<0)return null;r=s,n=i}else{if(i==="/"&&e[r+1]==="/")return null;if(i==="/"&&e[r+1]==="*"){let s=e.indexOf("*/",r+2);if(s<0)return null;r=s+2}else if(i==="/"&&!ml(n)){let s=pl(e,r);if(s<0)return null;r=s,n="/"}else{if(i==="("||i==="["||i==="{")t++;else if(i===")"||i==="]"||i==="}"){if(t--,t<0)return null}else if(i===","&&t===0)return!0;/\s/.test(i)||(n=i),r++}}}return t===0?!1:null}function C(e,t){let n=e.trim();return n===""?`(${e})`:t==="arrowBody"&&n[0]==="{"?`(${e})`:yl(n)===!1?e:`(${e})`}var vl={show:"Show",for:"For",index:"Index",switch:"Switch",match:"Match",dynamic:"Dynamic",errorBoundary:"ErrorBoundary",suspense:"Suspense"};function gl(e){return/^[A-Za-z_$][A-Za-z0-9_$]*$/.test(e)}function Ps(e){return gl(e)?e:JSON.stringify(e)}function bl(e){if(e.expr!==void 0){if(e.name==="ref"&&e.at)return xt(C(e.expr,"value"),e.at.line,e.at.column,e.expr);if(!e.reactive)return C(e.expr,"value");let t=`() => ${C(e.expr,"arrowBody")}`;return e.at?xt(t,e.at.line,e.at.column,e.directive):t}return JSON.stringify(e.literal??!0)}function wl(e){return e.expr!==void 0?C(e.expr,"value"):JSON.stringify(e.literal??!0)}function Sl(e,t,n){let r=e.filter(c=>c.kind==="spread"),s=e.filter(c=>c.kind!=="spread").map(c=>`${Ps(c.name)}: ${bl(c)}`);t!=null&&s.push(`children: ${t}`);let o=`{ ${s.join(", ")} }`;return r.length>0?(n.add("mergeProps"),`mergeProps(${r.map(c=>c.expr).join(", ")}, ${o})`):o}function gs(e,t){return t?xt(e,t.line,t.column):e}function Ds(e,t,n){return e.length===1?De(e[0],t,n):`[${e.map(r=>De(r,t,n)).join(", ")}]`}function bs(e,t,n,r,i,s){r.add("createMemo"),r.add("createComponent");let o=t.filter(d=>d.kind==="spread"),c=t.filter(d=>d.kind!=="spread"),a=c.map(d=>`get ${Ps(d.name)}() { return ${wl(d)}; }`);n.length>0&&a.push(`get children() { return ${Ds(n,r,i)}; }`);let u=`{ ${a.join(", ")} }`;o.length>0&&(r.add("mergeProps"),u=`mergeProps(${o.map(d=>d.expr).join(", ")}, ${u})`);let l={};for(let d of c)d.at&&(l[d.name]=[d.at.line,d.at.column]);Object.keys(l).length&&(u=hl(u,l));let f=s?`globalThis.${ll}?.(${JSON.stringify(s.file)},${s.line},${s.column},${JSON.stringify(e)}), `:"";return`createMemo(${C(`${f}() => createComponent(${e}, ${u})`,"value")})`}function kl(e,t){let n=Qu(t.name),r=t.literal;return r===!0||r===void 0?`${e}.setAttribute(${JSON.stringify(n)}, "");`:r===!1||r===null?"":`${e}.setAttribute(${JSON.stringify(n)}, ${JSON.stringify(String(r))});`}var Is=!1;function De(e,t,n){switch(e.kind){case"text":return JSON.stringify(e.value);case"expr":{if(!e.reactive)return C(e.code,"value");let r=`() => ${C(e.code,"arrowBody")}`;return e.at?xt(r,e.at.line,e.at.column):r}case"fragment":return e.children.length===0?"null":Ds(e.children,t,n);case"component":return gs(bs(e.name,e.props,e.children,t,n,e.at),e.bindAt??e.at);case"control":{let r=vl[e.control]??e.control;return t.add(r),gs(bs(r,e.props,e.children,t,n),e.bindAt)}case"element":{if(n&&e.static&&!e.svg&&_s(e)){t.add("templateNode");let c=`_tmpl$${n.length}`;n.push({id:c,html:Dn(e),tag:e.tag,svg:!1});let a=vs(e);return a?`templateNode(${c}, ${JSON.stringify(e.tag)}, false, false, ${JSON.stringify(a)})`:`templateNode(${c}, ${JSON.stringify(e.tag)})`}if(n&&Is){let c=cl(e);if(c){t.add("templateNode"),t.add("insert"),t.add("holeEnd"),t.add("holeContent"),t.add("holeScope");let a=`_tmpl$${n.length}`;n.push({id:a,html:c.html,tag:c.tag,svg:!1});let u=vs(e),l=[`const _el$ = templateNode(${a}, ${JSON.stringify(c.tag)}, true${u?`, false, ${JSON.stringify(u)}`:""});`];for(let f of c.steps)l.push(`const ${f.ref} = ${f.expr};`);for(let f of c.holes)l.push(`insert(${f.parentRef}, holeScope(${f.startRef}, () => ${C(De(f.node,t,n),"arrowBody")}), ${f.endRef}, holeContent(${f.startRef}, ${f.endRef}));`);return l.push("return _el$;"),`(() => { ${l.join(" ")} })()`}}t.add("createNativeElement");let r=JSON.stringify(e.tag),i="_el$",s=[],o=e.at?`${r}, ${e.svg}, ${JSON.stringify(e.at)}`:e.svg?`${r}, true`:r;if(s.push(`const ${i} = createNativeElement(${o});`),e.props.length>0)if(!e.svg&&e.props.every(Pn))for(let c of e.props)s.push(kl(i,c));else{t.add("spread");let c=e.svg?", isSVG: true":"",a=e.tag.includes("-")?", isCustomElement: true":"";s.push(`spread({ element: ${i}, props: ${Sl(e.props,null,t)}${c}${a} });`)}for(let c of e.children){t.add("insert");let a=De(c,t,n),u=c.kind==="expr"&&c.reactive||c.kind==="component"||c.kind==="control";s.push(u?`insert(${i}, ${a}, null);`:`insert(${i}, ${a});`)}return s.push(`return ${i};`),`(() => { ${s.join(" ")} })()`}}}function js(e,t){if(!t||t.length===0)return e;let n=new Map(t.map(r=>[r.id,JSON.stringify(r.html)]));return e.replace(/_tmpl\$\d+/g,r=>n.get(r)??r)}var Ls={name:"imperative",contract:Os,emit(e,t){let n=new Set,r=t?.templateClone!==!1?[]:void 0;return Is=t?.partialTemplates===!0,{code:De(e,n,r),imports:Array.from(n),templates:r}}},xl=e=>"components"in e;function ws(e,t){return e.replace(/\$(\d+)/g,(n,r)=>t[Number(r)]??n)}function El(e,t){return typeof t=="string"?{module:t,export:e}:t}function Al(e=[]){let t=new Map,n=[],r=[];for(let o of e){if(!xl(o)){r.push(o);continue}for(let[c,a]of Object.entries(o.components)){let u=El(c,a),l=t.get(c);if(l&&l.module!==u.module){let f=n.find(d=>d.name===c);f?f.modules.push(u.module):n.push({name:c,modules:[l.module,u.module]});continue}t.set(c,u)}}let i=new Map;return{resolve:o=>{if(i.has(o))return i.get(o);let c=t.get(o);if(!c)for(let a of r){let u=o.match(new RegExp(a.match.source,a.match.flags.replace("g","")));if(u){c={module:ws(a.module,u),export:a.export?ws(a.export,u):o};break}}return i.set(o,c),c},names:()=>[...t.keys()],conflicts:()=>n}}function Ss(e){let t=e.split(/\r\n|\n|\r/),n=0;for(let i=0;i<t.length;i++)/[^ \t]/.test(t[i])&&(n=i);let r="";for(let i=0;i<t.length;i++){let s=t[i].replace(/\t/g," ");i!==0&&(s=s.replace(/^ +/,"")),i!==t.length-1&&(s=s.replace(/ +$/,"")),s&&(i!==n&&(s+=" "),r+=s)}return r}var ks=new Set(["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup"]);function _l(e){return e.replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}function xs(e){return e.charAt(0).toUpperCase()+e.slice(1)}var $l=class{constructor(e,t,n,r){this.holes=e,this.used=t,this.sourceFile=n,this.positionAt=r}tagAt(e){let t=e.loc?.start;if(!this.sourceFile||!this.positionAt||t==null)return;let{line:n,column:r}=this.positionAt(t);return{file:this.sourceFile,line:n,column:r}}hole(e){return this.holes[e]??{code:"undefined",reactive:!1}}emit(e){let{code:t,imports:n,templates:r}=Ls.emit(e,{});for(let i of n)this.used.add(i);return js(t,r)}lowerRoot(e){let t=this.lowerChildren(e);return t.length===1?t[0]:{kind:"fragment",children:t}}lowerChildren(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(r.kind==="Element"||r.kind==="Component"){let s=r.attributes.find(o=>o.kind==="IfDirective");if(s&&s.kind==="IfDirective"){let o=n+1;o<e.length&&this.isBlankText(e[o])&&o++;let c=e[o],a=c&&(c.kind==="Element"||c.kind==="Component")&&c.attributes.some(u=>u.kind==="ElseDirective");t.push(this.lowerIf(r,s.hole,a?c:null)),a&&(n=o);continue}if(r.attributes.some(o=>o.kind==="EachDirective")){t.push(this.lowerEach(r));continue}}let i=this.lowerNode(r);i&&t.push(i)}return t}isBlankText(e){return e.kind==="Text"&&!e.raw&&Ss(e.value)===""}lowerNode(e){switch(e.kind){case"Text":{if(e.raw)return{kind:"text",value:e.value};let t=Ss(e.value);return t?{kind:"text",value:t}:null}case"Comment":return null;case"Expression":{let t=this.hole(e.hole);return{kind:"expr",code:t.code,reactive:t.reactive,...t.at?{at:t.at}:{}}}case"Fragment":return{kind:"fragment",children:this.lowerChildren(e.children)};case"Element":return this.lowerElement(e);case"Component":return this.lowerComponent(e);default:return null}}lowerElement(e){let t=e.attributes.find(r=>r.kind==="Attribute"&&r.name==="is");if(e.tag==="component"&&t&&t.value&&t.value.kind==="hole"){let r=e.attributes.filter(s=>s!==t),i=this.lowerComponent({...e,kind:"Component",tag:"Dynamic",tagHole:null,attributes:r});return i.props.unshift({name:"component",kind:"attr",expr:`() => ${C(this.hole(t.value.hole).code,"arrowBody")}`}),i}let n=this.tagAt(e);return{kind:"element",tag:e.tag,svg:e.namespace==="svg",props:this.lowerAttributes(e.attributes),children:this.lowerChildren(e.children),static:!1,...n?{at:n}:{}}}lowerComponent(e){let t=e.tagHole!=null?this.hole(e.tagHole).code:e.tag,n=this.lowerAttributes(e.attributes),{slots:r,rest:i}=this.partitionSlots(e.children);for(let[u,l]of r){let f=l.length===1?l[0]:{kind:"fragment",children:l},d={name:u,kind:"attr",expr:this.emit(f),jsxElement:!0},y=n.findIndex(b=>b.name===u);y>=0?n[y]=d:n.push(d)}let s=e.attributes.find(u=>u.kind==="LoadDirective"),o=s?Bu(`load:${s.strategy}`,s.modifier):void 0,c=n.find(u=>u.at&&u.reactive)?.at,a=this.tagAt(e);return{kind:"component",name:t,props:n,children:this.lowerChildren(i),...a?{at:a}:{},...c?{bindAt:c}:{},...o?{load:o}:{}}}partitionSlots(e){let t=new Map,n=[];for(let r of e){if(r.kind==="Element"||r.kind==="Component"){let i=r.attributes.find(s=>s.kind==="Attribute"&&s.name==="slot");if(i&&i.value&&i.value.kind==="static"){let s={...r,attributes:r.attributes.filter(a=>a!==i)},o=s.kind==="Element"?this.lowerElement(s):this.lowerComponent(s),c=t.get(i.value.value)??[];c.push(o),t.set(i.value.value,c);continue}}n.push(r)}return{slots:t,rest:n}}lowerIf(e,t,n){let r=this.hole(t),i=[{name:"when",kind:"attr",expr:r.code,reactive:r.reactive,...r.at?{at:r.at}:{}}];if(n){let c=this.stripAndLower(n,a=>a.kind==="ElseDirective");i.push({name:"fallback",kind:"attr",expr:this.emit(c),jsxElement:!0})}let s=this.stripAndLower(e,c=>c.kind==="IfDirective"),o=this.tagAt(e);return{kind:"component",name:"Show",props:i,children:[s],...o?{at:o}:{},...r.at?{bindAt:r.at}:{}}}lowerEach(e){let t=e.attributes.find(a=>a.kind==="EachDirective");if(!t||t.kind!=="EachDirective")return this.lowerNode(e);let n=this.hole(t.hole),r=[{name:"each",kind:"attr",expr:n.code,reactive:n.reactive,...n.at?{at:n.at}:{}}];if(t.key){let a="static"in t.key?`(item) => item[${JSON.stringify(t.key.static)}]`:this.hole(t.key.hole).code;r.push({name:"by",kind:"attr",expr:a})}let i=this.itemArrow(e),s;if(i){let a={kind:"expr",code:i.body,reactive:i.bodyReactive},u=this.rebuildWithChildren(e,[a]);s=`(${i.params.join(", ")}) => ${C(this.emit(u),"arrowBody")}`}else{let a=this.stripAndLower(e,u=>u.kind==="EachDirective");s=`() => ${C(this.emit(a),"arrowBody")}`}let o=[{kind:"expr",code:s,reactive:!1}],c=this.tagAt(e);return{kind:"component",name:"For",props:r,children:o,...c?{at:c}:{},...n.at?{bindAt:n.at}:{}}}itemArrow(e){let t=e.children.filter(n=>!this.isBlankText(n));return t.length!==1||t[0].kind!=="Expression"?null:this.hole(t[0].hole).arrow??null}stripAndLower(e,t){let n={...e,attributes:e.attributes.filter(r=>!t(r))};return n.kind==="Element"?this.lowerElement(n):this.lowerComponent(n)}rebuildWithChildren(e,t){let n=this.lowerAttributes(e.attributes.filter(r=>r.kind!=="EachDirective"));if(e.kind==="Element"){let r=this.tagAt(e);return{kind:"element",tag:e.tag,svg:e.namespace==="svg",props:n,children:t,static:!1,...r?{at:r}:{}}}return{kind:"component",name:e.tag,props:n,children:t}}lowerAttributes(e){let t=[],n=[],r=!1,i,s=[],o=!1,c,a=[];for(let u of e)switch(u.kind){case"IfDirective":case"EachDirective":case"ElseDirective":break;case"Attribute":t.push(this.plainAttr(u));break;case"PropertyBinding":t.push({name:u.name,kind:"prop",expr:this.hole(u.hole).code,reactive:this.hole(u.hole).reactive,...this.hole(u.hole).at?{at:this.hole(u.hole).at}:{}});break;case"EventBinding":t.push(this.eventProp(u));break;case"RefBinding":t.push({name:"ref",kind:"ref",expr:this.hole(u.hole).code,reactive:this.hole(u.hole).reactive,...this.hole(u.hole).at?{at:this.hole(u.hole).at}:{}});break;case"Spread":t.push({name:"",kind:"spread",expr:this.hole(u.hole).code});break;case"ClassDirective":{let l=this.hole(u.hole);n.push(`${JSON.stringify(u.name)}: ${l.code}`),r=r||l.reactive,i??=l.at;break}case"StyleDirective":{let l=this.hole(u.hole);s.push(`${JSON.stringify(u.name)}: ${l.code}`),o=o||l.reactive,c??=l.at;break}case"BindDirective":t.push(...this.bindProps(u.name,this.hole(u.hole)));break;case"UseDirective":{let l=u.name??(u.hole!=null?this.hole(u.hole).code:null);if(!l)break;a.push(u.name!=null&&u.hole!=null?`[${l}, () => ${C(this.hole(u.hole).code,"arrowBody")}]`:`[${l}]`);break}}return n.length>0&&t.push({name:"classList",kind:"attr",expr:`{ ${n.join(", ")} }`,reactive:r,...i?{at:i}:{}}),s.length>0&&t.push({name:"style",kind:"attr",expr:`{ ${s.join(", ")} }`,reactive:o,...c?{at:c}:{}}),a.length>0&&t.push({name:"use",kind:"attr",expr:`[${a.join(", ")}]`}),t}eventProp(e){let t=e.name.toLowerCase(),n=this.hole(e.hole).code;if(!(e.syntax==="colon"||e.modifiers.length>0))return{name:"on"+xs(e.name),kind:"event",event:{name:t,delegated:ks.has(t)},expr:n};let i=this.wrapHandler(n,e.modifiers),s=this.eventOptions(e.modifiers),o=s?`[${i}, ${s}]`:i;return{name:"on:"+t,kind:"attr",expr:o}}wrapHandler(e,t){let n=t.includes("self")?"if (e.target !== e.currentTarget) return; ":"",r=[];return t.includes("prevent")&&r.push("e.preventDefault();"),t.includes("stop")&&r.push("e.stopPropagation();"),!n&&r.length===0?e:`(e) => { ${n}${r.join(" ")} return (${e})(e); }`}eventOptions(e){let t=[];return e.includes("capture")&&t.push("capture: true"),e.includes("once")&&t.push("once: true"),e.includes("passive")&&t.push("passive: true"),t.length?`{ ${t.join(", ")} }`:null}bindProps(e,t){let n=t.code,r=e==="checked",i=r?"change":"input",s=r?"checked":"value";this.used.add("bindPair");let o=`bindPair(${n})`;return[{name:e,kind:"attr",expr:`${o}[0]()`,reactive:!0,directive:`bind:${e}`,...t.at?{at:t.at}:{}},{name:"on"+xs(i),kind:"event",event:{name:i,delegated:ks.has(i)},expr:`(e) => ${o}[1](e.target.${s})`}]}plainAttr(e){let t=e.value,n=e.name;e.name==="class"?n=t&&t.kind==="hole"&&this.hole(t.hole).object?"classList":"className":e.name==="html"&&(n="innerHTML");let i={name:n,kind:"attr"};if(t==null)return i.literal=!0,i;if(t.kind==="static")return i.literal=t.value,i;if(t.kind==="hole"){let a=this.hole(t.hole);return i.expr=a.code,i.reactive=a.reactive,a.at&&(i.at=a.at),i}let s=!1,o,c=t.parts.map(a=>{if("text"in a)return _l(a.text);let u=this.hole(a.hole);return s=s||u.reactive,o??=u.at,"${"+u.code+"}"}).join("");return i.expr="`"+c+"`",i.reactive=s,o&&(i.at=o),i}};function Tl(e,t,n,r={}){let{root:i}=Tn(e,{svg:r.svg});return new $l(t,n,r.sourceFile,r.positionAt).lowerRoot(i.children)}function Cl(e){let t=[],n=0;return e.statics.forEach((r,i)=>{if(t.push({kind:"static",text:r,start:n}),n+=r.length,i<e.holes.length){let s=n+e.holes[i].code.length;t.push({kind:"hole",index:i,start:n,end:s}),n=s}}),t}function qs(e,t={}){if(e.statics.length!==e.holes.length+1)throw new Error(`[fluixi] compileTemplate: ${e.statics.length} static runs for ${e.holes.length} holes — a template always has exactly one more.`);return Nl(Cl(e),e.holes,t)}function Nl(e,t,n={}){let r=new Set,i=Tl(e,[...t],r,{svg:n.svg,...n.sourceFile?{sourceFile:n.sourceFile}:{},...n.positionAt?{positionAt:n.positionAt}:{}});Wu(i),Ju(i,{resolver:Al(n.resolve??[]),modules:{controlFlowModule:n.controlFlowModule??"@fluixi/dom",coreModule:n.coreModule??"@fluixi/core",routerModule:n.routerModule??"@fluixi/core/router"},strategyFor:a=>a.load}),Gu(i);let{code:s,imports:o,templates:c}=Ls.emit(i,{templateClone:n.templateClone,partialTemplates:n.partialTemplates});for(let a of o)r.add(a);return n.hoistTemplates?{code:s,imports:[...r],ir:i,templates:c}:{code:js(s,c),imports:[...r],ir:i}}function Ol(e,t){switch(e.kind){case"Attribute":if(e.value&&e.value.kind==="hole")t.set(e.value.hole,"attr");else if(e.value&&e.value.kind==="mixed")for(let n of e.value.parts)"hole"in n&&t.set(n.hole,"attr");return;case"PropertyBinding":t.set(e.hole,"attr");return;case"BindDirective":t.set(e.hole,"bind");return;case"EventBinding":t.set(e.hole,"event");return;case"RefBinding":t.set(e.hole,"ref");return;case"Spread":t.set(e.hole,"spread");return;case"IfDirective":t.set(e.hole,"control");return;case"EachDirective":t.set(e.hole,"control"),e.key&&"hole"in e.key&&t.set(e.key.hole,"attr");return;default:return}}function In(e,t,n){for(let r of e)switch(r.kind){case"Expression":t.has(r.hole)||t.set(r.hole,"text");break;case"Element":case"Component":{r.kind==="Component"&&(r.tagHole!==null?t.set(r.tagHole,"component"):r.tag&&n.add(r.tag.split(".")[0]));let i=r.attributes.some(s=>s.kind==="EachDirective");for(let s of r.attributes)Ol(s,t);if(i)for(let s of r.children)s.kind==="Expression"&&t.set(s.hole,"render");In(r.children,t,n);break}case"Root":case"Fragment":In(r.children,t,n);break;default:break}}function Hs(e){let t=new Map,n=new Set;return In(e.root.children,t,n),{holes:t,components:n}}var jn={...$n,createMemo:Vt},Rl=["For","Index","Show","Switch","Match","Portal","Dynamic","ErrorBoundary","Suspense"],Ln=new Map;function Vs(e){for(let[t,n]of Object.entries(e))Ln.set(t,n)}function Ml(e){return e==="text"||e==="attr"||e==="control"}function Pl(e,t){return e.map((n,r)=>{let i=t.get(r)??"text";return i==="render"?{code:`$$v[${r}]`,reactive:!1,arrow:{params:["$$item"],body:`$$v[${r}]($$item)`,bodyReactive:!1}}:typeof n=="function"&&Ml(i)?{code:`$$v[${r}]()`,reactive:!0}:{code:`$$v[${r}]`,reactive:!1}})}function Dl(e){if(Ln.has(e))return Ln.get(e);let t=globalThis[e];if(t!==void 0)return t;throw new Error(`[fluixi] <${e}> is not defined. Pass it as a hole — <\${${e}} /> — or register it with define({ ${e} }).`)}function Il(e,t,n){let r=e,i=ps(r,{svg:n}),s=i.diagnostics.filter(v=>v.severity==="error");if(s.length>0)throw new Error(`[fluixi] ${n?"svg":"html"}\`\`: ${s.map(v=>v.message).join("; ")}`);let{holes:o,components:c}=Hs(i),{code:a,imports:u}=qs({statics:r,holes:Pl(t,o)},{svg:n}),l=u.filter(v=>!(v in jn));if(l.length>0)throw new Error(`[fluixi] no runtime binding for: ${l.join(", ")}`);let f=Array.from(new Set([...u,...Rl])).filter(v=>v in jn),d=Array.from(c).filter(v=>!f.includes(v)),y=[...f,...d],b=new Function(...y,"$$v",`return (${a});`);return{run:v=>b(...f.map(_=>jn[_]),...d.map(Dl),v)}}var Ws=new WeakMap;function jl(e){let t="";for(let n of e)t+=typeof n=="function"?"f":"v";return t}function Fs(e){return(t,...n)=>{let r=Ws.get(t);r||(r=new Map,Ws.set(t,r));let i=jl(n),s=r.get(i);return s||(s=Il(t,n,e),r.set(i,s)),s.run(n)}}var Bs=Fs(!1),Us=Fs(!0);return Ys(Ll);})();
1
+ /*! @fluixi/template-runtime v0.1.0-alpha.14 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
+ "use strict";var Fluixi=(()=>{var Lt=Object.defineProperty;var Ds=Object.getOwnPropertyDescriptor;var Is=Object.getOwnPropertyNames;var js=Object.prototype.hasOwnProperty;var or=(e,t)=>{for(var n in t)Lt(e,n,{get:t[n],enumerable:!0})},Ls=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Is(t))!js.call(e,i)&&i!==n&&Lt(e,i,{get:()=>t[i],enumerable:!(r=Ds(t,i))||r.enumerable});return e};var Hs=e=>Ls(Lt({},"__esModule",{value:!0}),e);var Jf={};or(Jf,{Dynamic:()=>Hn,ErrorBoundary:()=>Wn,For:()=>Dn,Index:()=>In,Match:()=>jn,Portal:()=>qn,Show:()=>Pn,Switch:()=>Ln,batch:()=>X,define:()=>Ns,effect:()=>li,html:()=>Rs,hydrate:()=>qe,insert:()=>P,memo:()=>ui,onCleanup:()=>Ae,render:()=>He,resource:()=>fi,signal:()=>ai,store:()=>vi,svg:()=>Ms,untrack:()=>he});var Vn={};or(Vn,{ALWAYS_ATTRIBUTE:()=>Ii,ClientOnly:()=>Io,Dynamic:()=>Hn,ErrorBoundary:()=>Wn,FX_DATA_ID:()=>Rn,For:()=>Dn,HYDRATION_KEY:()=>te,Index:()=>In,Island:()=>Ku,JSX_PROPERTIES:()=>ln,Match:()=>jn,NoSsr:()=>rl,Portal:()=>qn,SERVER_PROPS:()=>Di,SVG_ELEMENTS:()=>Ea,SVG_NAMESPACE:()=>_t,Show:()=>Pn,Switch:()=>Ln,VERSION:()=>Ki,VOID_ELEMENTS:()=>ka,addClass:()=>ji,addDelegatedEventListener:()=>kn,addNativeEventListener:()=>$n,appendChildren:()=>Fi,appendResponseHeader:()=>tu,applyElementProp:()=>un,applyProps:()=>Nn,applyUse:()=>On,asComponent:()=>Gi,asContext:()=>Ga,asOutlet:()=>za,asProvider:()=>Ja,asRoute:()=>Ka,asRouter:()=>Fa,asRoutes:()=>Ua,asSuspense:()=>Ya,beginAppHydration:()=>su,bindPair:()=>Oo,captureHydrationCursor:()=>iu,checkRenderType:()=>Xa,classMap:()=>il,cleanChildren:()=>z,clearHydrationKeys:()=>po,cloneTemplate:()=>_n,closest:()=>_a,createComponent:()=>Tn,createDynamicElement:()=>Zu,createElement:()=>Bi,createNativeElement:()=>En,createPortal:()=>_o,createRequestContext:()=>bn,createTemplate:()=>An,css:()=>Xu,default:()=>_l,delegate:()=>Ra,delegateEvents:()=>Ct,endAppHydration:()=>cu,escapeFxJson:()=>To,escapeHTML:()=>Mu,fnName:()=>_u,generateID:()=>vu,getAttribute:()=>qi,getGlobal:()=>Ba,getLitEventName:()=>Sa,getLocals:()=>Qa,getOffset:()=>Ta,getRequestContext:()=>Z,getRequestEvent:()=>Sn,getRequestLocals:()=>oo,getServerData:()=>Ro,getStableElementId:()=>yu,getStyle:()=>Oa,handleRef:()=>Le,hasClass:()=>$a,holeContent:()=>So,holeEnd:()=>wo,holeScope:()=>bo,html:()=>Gu,hydrate:()=>qe,hydrateAdvancePast:()=>xn,hydrateChildren:()=>Uu,hydrateIslands:()=>Ju,indexArray:()=>Xe,initializeIntegration:()=>ju,insert:()=>P,insertExpression:()=>Ne,intergartionInitialized:()=>Lu,isAccessor:()=>Pu,isAppHydrationPending:()=>au,isAttributeOnlyName:()=>dt,isComponent:()=>W,isContext:()=>to,isCustomElement:()=>Pi,isDOMNode:()=>qa,isDelegatedEvent:()=>xu,isDomElement:()=>Ri,isDomNode:()=>je,isDomText:()=>Mi,isEventHandler:()=>wa,isFunction:()=>ku,isIntegrationInitialized:()=>Co,isJSXTemplate:()=>Ha,isLitTemplateResult:()=>Ui,isNativeElement:()=>Ru,isOutlet:()=>Qi,isPromise:()=>$e,isProvider:()=>eo,isReactElement:()=>ja,isRoute:()=>Zi,isRouter:()=>Yi,isRoutes:()=>Xi,isSVGElement:()=>$o,isServer:()=>_,isSuspense:()=>no,isTemplateFactory:()=>La,isVisible:()=>Ca,iterateFn:()=>$u,keyArray:()=>Ye,makeArrayFlat:()=>xo,mapArray:()=>Ge,mergeProps:()=>Ao,observeIntersection:()=>Pa,observeResize:()=>Da,query:()=>fn,queryAll:()=>Aa,registerCoreVersion:()=>Va,registerCreateComponent:()=>Iu,registerGlobal:()=>Wa,removeAttribute:()=>Wi,removeChildren:()=>Vi,removeClass:()=>Li,removeDelegatedEventListener:()=>xt,removeUnclaimedKeyed:()=>mo,render:()=>He,renderToString:()=>wl,renderToStringAsync:()=>El,resetIntegration:()=>No,runHydrationAt:()=>vt,runWithRequestContext:()=>wn,runWithoutHydration:()=>ou,scrollIntoView:()=>Na,serializeNode:()=>ee,serializeResourceData:()=>Go,serverCustomElementProp:()=>pt,setAttribute:()=>L,setClassList:()=>Me,setClassName:()=>me,setDataRedactor:()=>xl,setDynamicAttribute:()=>Te,setDynamicBoolAttribute:()=>Cn,setDynamicProperty:()=>Re,setKeyScope:()=>hu,setProperty:()=>oe,setRequestStore:()=>Za,setServerMode:()=>Ce,setStyle:()=>Pe,setStyles:()=>vn,shouldSetAsProperty:()=>xa,splitProps:()=>Tu,spread:()=>Eo,stampVersions:()=>zi,styleMap:()=>sl,svg:()=>Yu,takeResponseHeaders:()=>nu,templateNode:()=>go,toAttributeName:()=>ba,toggleClass:()=>Hi,versions:()=>C,waitForElement:()=>Ma,warnOnVersionSkew:()=>Ji,whenAppHydrated:()=>uu});var qt="1.0.0-alpha.94",fr=qt.split(".")[0],sr=`__fluixi_signal_state_v${fr}__`,dr=`__fluixi_signal_builds_v${fr}__`,qs=e=>{typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e)};function hr(){return{consumer:null,untracked:!1,owner:null,queue:[],scheduled:!1,flushing:!1,batchDepth:0,hostSchedule:qs,onSuspend:null,onError:null,observer:null}}var Ke=globalThis;function Ws(e){let t=hr(),n=e;for(let r of Object.keys(t))r in e||(n[r]=t[r]);return e}function Bs(){let e=Ke[sr];return e?Ws(e):Ke[sr]=hr()}var p=Bs();(Ke[dr]??=[]).push(qt);function pr(){return[...new Set(Ke[dr]??[])]}function Vs(e){return p.observer=e,()=>{p.observer===e&&(p.observer=null)}}var R=[],Fs,cr;function Wt(e){let t=p.observer;t&&t.created(e.parents===void 0?{...e,parents:R,origin:e.origin??Fs,scope:e.scope??cr}:{...e,scope:e.scope??cr})}function Us(e){return p.observer?(R.push(e),!0):!1}function Ks(){R.pop()}function zs(e){p.observer?.ran?.(e)}function Js(e,t){p.observer?.wrote?.(e,t)}function D(e,t,n,r){let i=p.observer;!i?.bound||!R.length||i.bound(R[R.length-1],e,t,n,r)}function I(e,t,n,r){let i=p.observer;!i?.directive||!R.length||i.directive(R[R.length-1],e,t,n,r)}function Gs(e){p.observer?.contextCreated?.(e)}function Ys(e,t,n){let r=p.observer;!r?.context||!R.length||r.context(R[R.length-1],e,t,n)}function Bt(e){p.observer?.disposed?.(e)}var Xs="__FLUIXI_DEVTOOLS_HOOK__",ar=globalThis[Xs];if(typeof ar?.inject=="function")try{ar.inject({observeReactiveNodes:Vs,version:qt})}catch{}function mr(){return p.observer!=null}var ur=0,lr=1,be=2,yr=class{constructor(){this.observers=null,this.watchers=null,this.version=0}updateIfNecessary(){}track(){if(p.untracked)return;let e=p.consumer;e&&((this.observers??=new Set).add(e),(e.sources??=new Set).add(this))}},Zs=class extends yr{constructor(e,t){super(),this._value=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){return this.track(),this._value}set(e){if(!this._equals(this._value,e)){if(this._value=e,this.version++,Js(this,p.consumer),this.observers)for(let t of[...this.observers])t.markDirty(be);Ht(this)}}peek(){return this._value}},vr=class extends yr{constructor(e,t){super(),this._threw=!1,this._initialized=!1,this.state=be,this.sources=null,this._fn=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){if(p.consumer===this)throw new Error("Signal.Computed cannot read itself");if(this.track(),this.updateIfNecessary(),this._threw)throw this._error;return this._value}updateIfNecessary(){if(this.state===lr&&this.sources){for(let e of this.sources)if(e.updateIfNecessary(),this.state===be)break}(this.state===be||!this._initialized)&&this.recompute(),this.state=ur}recompute(){if(this.sources){for(let c of this.sources)c.observers?.delete(this);this.sources.clear()}let e=p.consumer,t=p.untracked,n=Us(this);p.consumer=this,p.untracked=!1;let r,i=!1,o;try{r=this._fn()}catch(c){i=!0,o=c,r=this._value}finally{p.consumer=e,p.untracked=t,n&&Ks()}let s=!this._initialized||this._threw!==i||(i?o!==this._error:!this._equals(this._value,r));if(this._initialized=!0,this._threw=i,this._error=o,this._value=r,zs(this),s){if(this.version++,this.observers)for(let c of[...this.observers])c.markDirty(be);Ht(this)}}markDirty(e){if(this.state>=e)return;let t=this.state===ur;if(this.state=e,t){if(this.observers)for(let n of[...this.observers])n.markDirty(lr);Ht(this)}}peek(){if(this.updateIfNecessary(),this._threw)throw this._error;return this._value}};function Ht(e){if(e.watchers)for(let t of[...e.watchers])t._notify(e)}var Qs=class{constructor(e){this._watched=new Set,this._pending=new Set,this._notifyFn=e}watch(...e){for(let t of e)this._watched.add(t),(t.watchers??=new Set).add(this)}unwatch(...e){for(let t of e)this._watched.delete(t),t.watchers?.delete(this),this._pending.delete(t)}getPending(){let e=[...this._pending];return this._pending.clear(),e}_notify(e){if(!this._watched.has(e)||this._pending.has(e))return;let t=this._pending.size===0;this._pending.add(e),t&&this._notifyFn()}};function ec(e){if(p.untracked)return e();p.untracked=!0;try{return e()}finally{p.untracked=!1}}function ae(e){let t=Se(e);return e&&(e.owned??=[]).push(t),t}function ue(e,t=!0){we(e,t)}function Se(e){return{cleanups:null,owned:null,parent:e,contexts:null}}function gr(e,t){let n=Symbol(t??"context");return Gs(n),{id:n,defaultValue:e,Provider:i=>{Ys(n,"provide",i.value);let o=p.owner,s=Se(o);(s.contexts=new Map).set(n,i.value),o&&(o.owned??=[]).push(s),p.owner=s;try{return i.children}finally{p.owner=o}}}}function br(e,t){let n=e;for(;n;){if(n.contexts&&n.contexts.has(t.id))return n.contexts.get(t.id);n=n.parent}return t.defaultValue}function tc(e,t,n){let r=Se(p.owner);(r.contexts=new Map).set(e.id,t),p.owner&&(p.owner.owned??=[]).push(r);let i=p.owner;p.owner=r;try{return n()}finally{p.owner=i}}function nc(e){p.onSuspend=e}function rc(e){return p.onSuspend?(p.onSuspend(e,p.owner),!0):!1}function ic(e){p.onError=e}function x(){return p.owner}function M(e,t){let n=p.owner;p.owner=e;try{return t()}finally{p.owner=n}}function k(e){if(p.owner){if(p.owner.disposed){e();return}(p.owner.cleanups??=[]).push(e)}}function we(e,t=!0){if(!e.disposed){if(e.owned){for(let n=e.owned.length-1;n>=0;n--)we(e.owned[n]);e.owned=null}if(e.cleanups){for(let n=e.cleanups.length-1;n>=0;n--)e.cleanups[n]();e.cleanups=null}t&&(e.disposed=!0)}}function H(e){let t=Se(p.owner);p.owner&&(p.owner.owned??=[]).push(t);let n=p.owner;p.owner=t;try{return e(()=>we(t))}finally{p.owner=n}}function oc(e){p.hostSchedule=e??(t=>{Promise.resolve().then(t)})}function sc(e){e.queued||(e.queued=!0,p.queue.push(e),!p.scheduled&&p.batchDepth===0&&(p.scheduled=!0,p.hostSchedule(Je)))}function Je(){if(p.scheduled=!1,p.flushing)return;p.flushing=!0;let e=0;try{for(;p.queue.length;){if(++e>1e5)throw new Error("[fluixi] effect flush did not settle (cycle?)");let t=p.queue;p.queue=[];for(let n of t)n.queued=!1,n.disposed||n.run()}}finally{p.flushing=!1}}function cc(){p.batchDepth===0&&Je()}function ac(e){p.batchDepth++;try{return e()}finally{--p.batchDepth===0&&Je()}}var uc=class{constructor(e,t=!1,n){this.queued=!1,this.disposed=!1,this.owner=Se(p.owner),p.owner&&(p.owner.cleanups??=[]).push(()=>this.dispose()),this.computed=new vr(()=>{we(this.owner,!1),M(this.owner,()=>{let r=e();typeof r=="function"&&(this.owner.cleanups??=[]).push(r)})}),Wt({kind:"effect",node:this.computed,handle:this,internal:!t,...n?{name:n}:{}}),this.watcher=new Qs(()=>sc(this)),this.run(),this.watcher.watch(this.computed)}run(){if(!this.disposed){this.watcher.getPending();try{this.computed.get()}catch(e){if(e&&typeof e.then=="function"&&p.onSuspend){p.onSuspend(e,this.owner);return}if(p.onError&&p.onError(e,this.owner))return;throw e}}}dispose(){this.disposed||(this.disposed=!0,Bt(this.computed),this.watcher.unwatch(this.computed),we(this.owner))}};function wr(e,t=!1,n){let r=new uc(e,t,n);return()=>r.dispose()}function lc(e){return!!e&&typeof e.then=="function"}oc(()=>{});var Sr=Symbol.for("signal"),fc=Symbol.for("memo"),dc=Symbol.for("signal-node");function B(e,t){let n=new Zs(e,{equals:t?.equals}),r=(()=>n.get()),i=(o=>{let s=typeof o=="function"?o(n.peek()):o;return n.set(s),cc(),s});return Object.defineProperty(r,Sr,{value:!0,enumerable:!0}),Object.defineProperty(r,dc,{value:{get value(){return n.peek()},get version(){return n.version}},enumerable:!1}),Wt({kind:"signal",node:n,handle:r,name:t?.name,set:i}),mr()&&k(()=>Bt(n)),[r,i]}function b(e,t,n){let r=t,i=x(),o=new vr(()=>M(i,()=>{try{return r=e(r)}catch(c){if(lc(c))return rc(c),r;throw c}}),{equals:n?.equals}),s=(()=>o.get());return Object.defineProperty(s,Sr,{value:!0,enumerable:!0}),Object.defineProperty(s,fc,{value:!0,enumerable:!0}),Wt({kind:"memo",node:o,handle:s,name:n?.name}),mr()&&k(()=>Bt(o)),s}function V(e,t,n){let r=t;return wr(()=>{r=e(r)},!0,n?.name)}function S(e,t){let n=t;return wr(()=>{n=e(n)})}function le(e){return ac(e)}function q(e){return ec(e)}function xr(){return Je(),Promise.resolve()}function Ge(e,t,n){let r=[];return k(()=>{for(let i of r)i.dispose();r=[]}),b(()=>{let i=e()||[];return q(()=>{if(i.length===0){for(let a of r)a.dispose();return r=[],n?.fallback?n.fallback():[]}let o=new Map;for(let a of r)o.has(a.item)||o.set(a.item,a);let s=[],c=new Set;for(let a=0;a<i.length;a++){let l=i[a],u=o.get(l);if(u&&!c.has(u))u.setIndex(a),s.push(u),c.add(u);else{let f,d,m;H(v=>{m=v;let[w,ve]=B(a,{name:"row index"});d=ve,f=t(l,w)});let g={item:l,rendered:f,dispose:m,setIndex:d};s.push(g),c.add(g)}}for(let a of r)c.has(a)||a.dispose();return r=s,s.map(a=>a.rendered)})},void 0,{name:"mapArray"})}function Ye(e,t,n,r){let i=[],o=[];return k(()=>{for(let s of o)s.dispose();i=[],o=[]}),b(()=>{let s=e()||[];return q(()=>{if(s.length===0){for(let f of o)f.dispose();return i=[],o=[],r?.fallback?r.fallback():[]}let c=new Map;for(let f=0;f<i.length;f++)c.set(i[f],o[f]);let a=[],l=[],u=new Set;for(let f=0;f<s.length;f++){let d=t(s[f]),m=c.get(d);if(m&&!u.has(d))m.setIndex(f),a.push(m);else{let g,v,w;H(ve=>{w=ve;let[re,ge]=B(f,{name:"row index"});v=ge;let Ve=b(ce=>{let G=(e()||[])[re()];return G??ce},s[f]);g=n(Ve,re)}),a.push({rendered:g,dispose:w,setIndex:v})}l.push(d),u.add(d)}for(let[f,d]of c)u.has(f)||d.dispose();return i=l,o=a,a.map(f=>f.rendered)})},void 0,{name:"keyArray"})}function Xe(e,t,n){let r=[];return k(()=>{for(let i of r)i.dispose();r=[]}),b(()=>{let i=e()||[];return q(()=>{if(i.length===0){for(let a of r)a.dispose();return r=[],n?.fallback?n.fallback():[]}let o=r.length,s=i.length;for(let a=o;a<s;a++){let l,u,f,d=i[a];H(m=>{f=m;let[g,v]=B(d);u=v,l=t(g,a)}),r.push({rendered:l,setItem:u,dispose:f})}for(let a=s;a<o;a++)r[a].dispose();s<o&&(r=r.slice(0,s));let c=Math.min(o,s);for(let a=0;a<c;a++)r[a].setItem(i[a]);return r.map(a=>a.rendered)})},void 0,{name:"indexArray"})}var hc=typeof window>"u"?!1:window.__FLUIXI_PROD__===!0,pc=typeof process>"u"?hc:!1,mc=Symbol.for("signal");function E(e){return typeof e=="function"&&e[mc]===!0}var yc=null;function kr(e){yc=e}var vc=null;function Er(e){vc=e}var gc=null;function Ze(e){gc=e}var bc=null;function Ar(e){bc=e}function _r(){let e=new Map,t=new Map;return{get:n=>e.get(n),set:(n,r)=>{e.set(n,r)},delete:n=>{e.delete(n)},keys:()=>e.keys(),clear:()=>{e.clear(),t.clear()},inflight:t}}var wc=null;function $r(e){wc=e}function ze(e){if(typeof e=="function"&&!e.length){let t=e();return E(t)?t:ze(t)}if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=ze(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Qe(e){let t=b(e);return pc?b(()=>ze(t()),void 0,{name:"children"}):b(()=>ze(t()))}var Sc=gr();nc((e,t)=>{let n=br(t,Sc);n&&(n.increment(),e.finally(()=>n.decrement()))});var Or=gr();ic((e,t)=>{let n=br(t,Or);return n?(n.setError(e),!0):!1});function Cr(){let[e,t]=B(void 0,{equals:!1});return{error:e,reset:()=>t(()=>{}),setError:r=>t(()=>r)}}function Nr(e,t){return tc(Or,e,t)}var Vt=Symbol.for("fluixi-proxy");var Tr="1.0.0-alpha.94";var Qt="1.0.0-alpha.94";var Yr=Qt.split(".")[0],Rr=`__fluixi_signal_state_v${Yr}__`,xc=`__fluixi_signal_builds_v${Yr}__`,kc=e=>{typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e)};function Xr(){return{consumer:null,untracked:!1,owner:null,queue:[],scheduled:!1,flushing:!1,batchDepth:0,hostSchedule:kc,onSuspend:null,onError:null,observer:null}}var Ut=globalThis;function Ec(e){let t=Xr(),n=e;for(let r of Object.keys(t))r in e||(n[r]=t[r]);return e}function Ac(){let e=Ut[Rr];return e?Ec(e):Ut[Rr]=Xr()}var y=Ac();(Ut[xc]??=[]).push(Qt);function _c(e){return y.observer=e,()=>{y.observer===e&&(y.observer=null)}}var F=[],et;function $c(e,t){if(!y.observer)return t();let n=et;et=e;try{return t()}finally{et=n}}var Mr;function at(e){let t=y.observer;t&&t.created(e.parents===void 0?{...e,parents:F,origin:e.origin??et,scope:e.scope??Mr}:{...e,scope:e.scope??Mr})}function Oc(e){return y.observer?(F.push(e),!0):!1}function Cc(){F.pop()}function Nc(e){y.observer?.ran?.(e)}function Tc(e,t){y.observer?.wrote?.(e,t)}function Zr(e){let t=y.observer;!t?.props||!F.length||!e||t.props(F[F.length-1],e)}function Rc(e){y.observer?.contextCreated?.(e)}function Mc(e,t,n){let r=y.observer;!r?.context||!F.length||r.context(F[F.length-1],e,t,n)}function Pr(e,t,n){y.observer?.moved?.(e,t,n)}function ke(e){y.observer?.disposed?.(e)}var Pc="__FLUIXI_DEVTOOLS_HOOK__",Dr=globalThis[Pc];if(typeof Dr?.inject=="function")try{Dr.inject({observeReactiveNodes:_c,version:Qt})}catch{}function ut(){return y.observer!=null}var Ir=0,jr=1,xe=2,Qr=class{constructor(){this.observers=null,this.watchers=null,this.version=0}updateIfNecessary(){}track(){if(y.untracked)return;let e=y.consumer;e&&((this.observers??=new Set).add(e),(e.sources??=new Set).add(this))}},Dc=class extends Qr{constructor(e,t){super(),this._value=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){return this.track(),this._value}set(e){if(!this._equals(this._value,e)){if(this._value=e,this.version++,Tc(this,y.consumer),this.observers)for(let t of[...this.observers])t.markDirty(xe);Kt(this)}}peek(){return this._value}},ei=class extends Qr{constructor(e,t){super(),this._threw=!1,this._initialized=!1,this.state=xe,this.sources=null,this._fn=e,this._equals=t?.equals===!1?()=>!1:t?.equals??Object.is}get(){if(y.consumer===this)throw new Error("Signal.Computed cannot read itself");if(this.track(),this.updateIfNecessary(),this._threw)throw this._error;return this._value}updateIfNecessary(){if(this.state===jr&&this.sources){for(let e of this.sources)if(e.updateIfNecessary(),this.state===xe)break}(this.state===xe||!this._initialized)&&this.recompute(),this.state=Ir}recompute(){if(this.sources){for(let c of this.sources)c.observers?.delete(this);this.sources.clear()}let e=y.consumer,t=y.untracked,n=Oc(this);y.consumer=this,y.untracked=!1;let r,i=!1,o;try{r=this._fn()}catch(c){i=!0,o=c,r=this._value}finally{y.consumer=e,y.untracked=t,n&&Cc()}let s=!this._initialized||this._threw!==i||(i?o!==this._error:!this._equals(this._value,r));if(this._initialized=!0,this._threw=i,this._error=o,this._value=r,Nc(this),s){if(this.version++,this.observers)for(let c of[...this.observers])c.markDirty(xe);Kt(this)}}markDirty(e){if(this.state>=e)return;let t=this.state===Ir;if(this.state=e,t){if(this.observers)for(let n of[...this.observers])n.markDirty(jr);Kt(this)}}peek(){if(this.updateIfNecessary(),this._threw)throw this._error;return this._value}};function Kt(e){if(e.watchers)for(let t of[...e.watchers])t._notify(e)}var Ic=class{constructor(e){this._watched=new Set,this._pending=new Set,this._notifyFn=e}watch(...e){for(let t of e)this._watched.add(t),(t.watchers??=new Set).add(this)}unwatch(...e){for(let t of e)this._watched.delete(t),t.watchers?.delete(this),this._pending.delete(t)}getPending(){let e=[...this._pending];return this._pending.clear(),e}_notify(e){if(!this._watched.has(e)||this._pending.has(e))return;let t=this._pending.size===0;this._pending.add(e),t&&this._notifyFn()}};function jc(e){if(y.untracked)return e();y.untracked=!0;try{return e()}finally{y.untracked=!1}}function ti(e){return{cleanups:null,owned:null,parent:e,contexts:null}}function ni(e,t){let n=Symbol(t??"context");return Rc(n),{id:n,defaultValue:e,Provider:i=>{Mc(n,"provide",i.value);let o=y.owner,s=ti(o);(s.contexts=new Map).set(n,i.value),o&&(o.owned??=[]).push(s),y.owner=s;try{return i.children}finally{y.owner=o}}}}function ri(e,t){let n=e;for(;n;){if(n.contexts&&n.contexts.has(t.id))return n.contexts.get(t.id);n=n.parent}return t.defaultValue}function Lc(e){y.onSuspend=e}function Hc(e){return y.onSuspend?(y.onSuspend(e,y.owner),!0):!1}function qc(e){y.onError=e}function Wc(){return y.owner}function ii(e,t){let n=y.owner;y.owner=e;try{return t()}finally{y.owner=n}}function Ae(e){if(y.owner){if(y.owner.disposed){e();return}(y.owner.cleanups??=[]).push(e)}}function zt(e,t=!0){if(!e.disposed){if(e.owned){for(let n=e.owned.length-1;n>=0;n--)zt(e.owned[n]);e.owned=null}if(e.cleanups){for(let n=e.cleanups.length-1;n>=0;n--)e.cleanups[n]();e.cleanups=null}t&&(e.disposed=!0)}}function Bc(e){y.hostSchedule=e??(t=>{Promise.resolve().then(t)})}function Vc(e){e.queued||(e.queued=!0,y.queue.push(e),!y.scheduled&&y.batchDepth===0&&(y.scheduled=!0,y.hostSchedule(en)))}function en(){if(y.scheduled=!1,y.flushing)return;y.flushing=!0;let e=0;try{for(;y.queue.length;){if(++e>1e5)throw new Error("[fluixi] effect flush did not settle (cycle?)");let t=y.queue;y.queue=[];for(let n of t)n.queued=!1,n.disposed||n.run()}}finally{y.flushing=!1}}function Fc(){y.batchDepth===0&&en()}function Uc(e){y.batchDepth++;try{return e()}finally{--y.batchDepth===0&&en()}}var Kc=class{constructor(e,t=!1,n){this.queued=!1,this.disposed=!1,this.owner=ti(y.owner),y.owner&&(y.owner.cleanups??=[]).push(()=>this.dispose()),this.computed=new ei(()=>{zt(this.owner,!1),ii(this.owner,()=>{let r=e();typeof r=="function"&&(this.owner.cleanups??=[]).push(r)})}),at({kind:"effect",node:this.computed,handle:this,internal:!t,...n?{name:n}:{}}),this.watcher=new Ic(()=>Vc(this)),this.run(),this.watcher.watch(this.computed)}run(){if(!this.disposed){this.watcher.getPending();try{this.computed.get()}catch(e){if(e&&typeof e.then=="function"&&y.onSuspend){y.onSuspend(e,this.owner);return}if(y.onError&&y.onError(e,this.owner))return;throw e}}}dispose(){this.disposed||(this.disposed=!0,ke(this.computed),this.watcher.unwatch(this.computed),zt(this.owner))}};function zc(e,t=!1,n){let r=new Kc(e,t,n);return()=>r.dispose()}function Jc(e){return!!e&&typeof e.then=="function"}Bc(()=>{});var oi=Symbol.for("signal"),Gc=Symbol.for("memo"),Yc=Symbol.for("signal-node");function fe(e,t){let n=new Dc(e,{equals:t?.equals}),r=(()=>n.get()),i=(o=>{let s=typeof o=="function"?o(n.peek()):o;return n.set(s),Fc(),s});return Object.defineProperty(r,oi,{value:!0,enumerable:!0}),Object.defineProperty(r,Yc,{value:{get value(){return n.peek()},get version(){return n.version}},enumerable:!1}),at({kind:"signal",node:n,handle:r,name:t?.name,set:i}),ut()&&Ae(()=>ke(n)),[r,i]}function tn(e,t,n){let r=t,i=Wc(),o=new ei(()=>ii(i,()=>{try{return r=e(r)}catch(c){if(Jc(c))return Hc(c),r;throw c}}),{equals:n?.equals}),s=(()=>o.get());return Object.defineProperty(s,oi,{value:!0,enumerable:!0}),Object.defineProperty(s,Gc,{value:!0,enumerable:!0}),at({kind:"memo",node:o,handle:s,name:n?.name}),ut()&&Ae(()=>ke(o)),s}function si(e,t,n){let r=t;return zc(()=>{r=e(r)},!0,n?.name)}function X(e){return Uc(e)}function he(e){return jc(e)}var rd=typeof window>"u"?!1:window.__FLUIXI_PROD__===!0;var Xc=Symbol.for("signal");function ci(e){return typeof e=="function"&&e[Xc]===!0}var Lr=null;function Zc(e){Lr&&Lr(e)}var Hr=null;function Qc(e){return Hr?Hr(e):void 0}var qr=null;function ea(){return qr?qr():void 0}var Wr=null;function ta(e,t){Wr&&Wr(e,t)}function na(e){return!!e&&typeof e.then=="function"}var Ft=Symbol();function ra(e,t,n={}){let r,i;typeof t=="function"?(r=typeof e=="function"?e:()=>e,i=t):(r=()=>!0,i=e,t&&typeof t=="object"&&(n=t));let o=n.transport===!1?void 0:ea(),s=o!==void 0?Qc(o):void 0,c=s!==void 0,[a,l]=fe(s!==void 0?s.value:n.initialValue,{equals:!1}),[u,f]=fe(void 0,{equals:!1}),[d,m]=fe(s!==void 0||n.initialValue!==void 0?"ready":"unresolved",{equals:!1}),[g,v]=fe(void 0,{equals:!1}),[w,ve]=fe(void 0,{equals:!1}),re=Ft,ge=!1;si(()=>{let $=r();if(w(),$===!1||$===null||$===void 0){re=Ft,X(()=>{m("unresolved"),v(void 0),f(void 0)});return}let G=ge;if(ge=!1,re!==Ft&&$===re&&!G)return;if(re=$,c){c=!1;return}let Fe=!1;Ae(()=>Fe=!0);let rr=he(d),Ps=he(a),ir=rr==="ready"||rr==="refreshing";X(()=>{m(ir?"refreshing":"pending"),f(void 0)});try{let ie=i($,{value:Ps,refetching:ir});na(ie)?(v(ie),Zc(ie),ie.then(Ue=>{Fe||(o!==void 0&&ta(o,Ue),X(()=>{l(()=>Ue),m("ready"),v(void 0)}))},Ue=>{Fe||X(()=>{f(Ue),m("errored"),v(void 0)})})):X(()=>{l(()=>ie),m("ready"),v(void 0)})}catch(ie){if(Fe)return;X(()=>{f(ie),m("errored"),v(void 0)})}});let Ve=()=>{let $=d();return $==="pending"||$==="refreshing"},ce=(()=>{let $=u();if($)throw $;if(Ve()){let G=g();if(G)throw G}return a()});return Object.defineProperties(ce,{state:{get:d},loading:{get:Ve},error:{get:u},latest:{get:a}}),Object.defineProperty(ce,Symbol.for("resource"),{value:!0,enumerable:!0}),Object.defineProperty(ce,Symbol.for("signal"),{value:!0,enumerable:!0}),[ce,{mutate:l,refetch:()=>{ge=!0,ve(void 0)}}]}var ia=ni();Lc((e,t)=>{let n=ri(t,ia);n&&(n.increment(),e.finally(()=>n.decrement()))});var oa=ni();qc((e,t)=>{let n=ri(t,oa);return n?(n.setError(e),!0):!1});function ai(e,t){let[n,r]=fe(e,t);return Object.assign(n,{set:r})}function ui(e,t,n){return tn(e,t,n)}function li(e,t,n){return si(e,t,n)}function fi(...e){let[t,n]=ra(...e);return Object.assign(t,n)}var rt=Symbol("store-raw"),Br=Symbol("store-node"),Vr=Symbol("store-has"),Fr=Symbol("store-self"),Ur=Symbol("store-track");var Ee=new WeakMap,Jt=new WeakMap,pe=new WeakMap,it=new WeakMap;function sa(e,t){if(!de(e)||!ut())return;let n=new Set,r=s=>{if(!(!de(s)||n.has(s))){n.add(s);for(let c of Object.values(s))r(c)}};r(it.get(t)??t);let i=new Set,o=s=>{if(!de(s))return;let c=s;if(n.has(c)||i.has(c))return;i.add(c);let a=Ee.get(c);if(a){for(let l of a.keys.values())ke(l);a.all&&ke(a.all),Ee.delete(c),pe.delete(c),Jt.delete(c)}for(let l of Object.values(c))o(l)};o(e)}var ot=(e,t,n)=>n?`${e}[${String(t)}]`:`${e}.${String(t)}`;function di(e,t,n){let r=t?.owner,i=r&&n!==void 0?ot(r.name,n,t?.array):void 0,[o,s]=$c(r?.store,()=>B(e,i?{name:i}:void 0)),c=o;return c.$=s,c}function st(e){let t=Ee.get(e);return t?t.owner||(t.owner=pe.get(e)):Ee.set(e,t={keys:new Map,owner:pe.get(e),array:Array.isArray(e)}),t}function Kr(e,t,n){let r=e.keys.get(t);return r||e.keys.set(t,r=di(n,e,t)),r}function ca(e,t,n,r){let i=pe.get(e);if(i&&i.store===t&&i.name===n)return;let o={store:t,name:n};pe.set(e,o),it.set(e,it.get(r)??r);let s=Ee.get(e);if(s&&(s.owner=o,!!ut())){for(let[c,a]of s.keys)Pr(a,t,ot(n,c,s.array));s.all&&Pr(s.all,t,ot(n,"*",s.array))}}function zr(e){let t=st(e);(t.all||(t.all=di(void 0,t,"*")))()}function Jr(e,t){e.$(typeof t=="function"?()=>t:t)}function de(e){if(e==null||typeof e!="object")return!1;if(Array.isArray(e))return!0;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function tt(e){if(!de(e))return e;let t=Jt.get(e);if(t)return t;let n=new Proxy(e,aa);return Jt.set(e,n),n}var aa={get(e,t,n){if(t===rt||t===Br)return e;if(t===Vt)return n;if(t===Vr)return a=>a in e;if(t==="__proxy")return!0;if(t===Ur||t===Fr)return zr(e),n;let r=e[t];if(typeof r=="function"&&!Object.prototype.hasOwnProperty.call(e,t))return r;let i=Object.getOwnPropertyDescriptor(e,t);if(i&&i.get)return i.get.call(n);let o=st(e),s=Kr(o,t,r),c=s();return de(c)?(o.owner&&ca(c,s,ot(o.owner.name,t,o.array),e),tt(c)):c},set(){return!0},deleteProperty(e,t){return t in e&&j(e,t,void 0),!0},has(e,t){return t===rt||t===Vt||t===Br||t===Vr||t===Fr||t===Ur?!0:(Kr(st(e),t,e[t])(),t in e)},ownKeys(e){return zr(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e,t)}};function hi(e,t=new Set){if(e==null||typeof e!="object")return e;let n=e[rt]??e;if(t.has(n)||!de(n))return n;t.add(n);let r=!1,i=s=>{let c=hi(s,t);return c!==s&&(r=!0),c};if(Array.isArray(n)){let s=n.map(i);return r?s:n}let o={};for(let s of Object.keys(n))o[s]=i(n[s]);return r?o:n}function j(e,t,n){let r=hi(n),i=e[t];if(i===r&&(r!==void 0||t in e))return;let o=Array.isArray(e),s=o?e.length:0;r===void 0?delete e[t]:e[t]=r;let c=st(e),a=c.keys.get(t);if(a&&Jr(a,r),sa(i,e),o&&e.length!==s){let l=c.keys.get("length");l&&Jr(l,e.length)}c.all&&c.all.$(void 0)}function Gt(e,t){return typeof e=="function"?e(t):e}function Yt(e,t){for(let n of Object.keys(t)){let r=t[n],i=e[n];r&&typeof r=="object"&&!Array.isArray(r)&&i&&typeof i=="object"&&!Array.isArray(i)?Yt(i,r):j(e,n,r)}}function lt(e){let t=[],n=e.replace(/\[([^\]]*)\]/g,".$1");for(let r of n.split("."))r.length&&t.push(r);return t}function pi(e,t,n){let r=t.length-1;for(let o=0;o<r;o++){let s=t[o];if(s==="*"){let a=t.slice(o+1);if(Array.isArray(e))for(let l=0;l<e.length;l++)pi(e[l],a,n);return}let c=e[s];(c==null||typeof c!="object")&&(c=/^\d+$/.test(t[o+1])?[]:{},j(e,s,c)),e=c}let i=t[r];if(i==="*"){if(Array.isArray(e))for(let o=0;o<e.length;o++)j(e,o,Gt(n,e[o]));return}j(e,i,Gt(n,e[i]))}function Gr(e,t,n){pi(e,lt(t),n)}function ua(e){return Array.isArray(e)&&e.length>0&&e.every(t=>Array.isArray(t)&&t.length>=2&&typeof t[0]=="string")}function nt(e,t){for(let n=e.length-1;n>=t.length;n--)j(e,String(n),void 0);e.length!==t.length&&j(e,"length",t.length);for(let n=0;n<t.length;n++)j(e,String(n),t[n])}function la(e,t){let n=t[0];if(typeof n=="function"&&t.length===1){let r=n(e);r&&r!==e&&Yt(e,r);return}if(Array.isArray(n)&&t.length===1){if(ua(n)){for(let r of n)Gr(e,r[0],r[1]);return}if(Array.isArray(e)){nt(e,n);return}if(n.length===0)return;throw new TypeError("[fluixi] set() was given an array that is neither a batch of [path, value] pairs nor a replacement for an array root. Name the path you meant, as in set('items', [...]).")}if(n&&typeof n=="object"&&!Array.isArray(n)&&t.length===1){Yt(e,n);return}if(t.length>=3){Xt(e,t.slice(0,-1),t[t.length-1]);return}Gr(e,String(n),t[1])}function fa(e,t){if(typeof t=="function"){if(!Array.isArray(e))return[];let n=[];for(let r=0;r<e.length;r++)t(e[r],r)&&n.push(r);return n}if(Array.isArray(t))return Array.isArray(e)?t.map(Number):t.map(String);if(t&&typeof t=="object"&&("from"in t||"to"in t||"by"in t)){if(!Array.isArray(e))return[];let n=t.by??1,r=t.from??0,i=t.to??e.length-1,o=[];for(let s=r;s<=i;s+=n)s>=0&&s<e.length&&o.push(s);return o}return t==="*"?Array.isArray(e)?e.map((n,r)=>r):Object.keys(e??{}):[t]}function Xt(e,t,n){if(e==null)return;let[r,...i]=t;if(typeof r=="string"){let s=lt(r);if(s.length>1){Xt(e,[...s,...i],n);return}}let o=fa(e,r);if(i.length===0){for(let s of o)j(e,s,Gt(n,e[s]));return}for(let s of o){let c=e[s];if(c==null||typeof c!="object"){let a=i[0];c=typeof a=="number"||/^\d+$/.test(String(a))?[]:{},j(e,s,c)}Xt(c,i,n)}}function Zt(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Zt);let t={};for(let n of Object.keys(e))t[n]=Zt(e[n]);return t}function Y(e,t){let n=e;for(let r of lt(t)){if(n==null)return;n=n[r]}return n}var mi=class{constructor(e,t={immutable:!0}){this.options=t,this.root=e,this.set=((...n)=>le(()=>la(this.root,n))),e&&typeof e=="object"&&(pe.set(e,{store:this,name:t.name??"store"}),it.set(e,e)),at({kind:"store",node:this,handle:()=>this.root,name:t.name})}get state(){return tt(this.root)}get proxy(){return tt(this.root)}get accessor(){return(()=>tt(this.root))}unwrap(){return this.root}getNode(e){return this.root&&this.root[e]}get(e){if(e==null||e==="")return ct(this.state);let t=this.state;for(let n of lt(e)){if(t==null)return;t=t[n]}return ct(t)}select(e){return b(()=>e(this.state))}subscribe(e){return V(()=>e(this.state))}watch(e,t){let n;return V(()=>{let r=e(this.state);Object.is(r,n)||(t(r,n),n=r)})}reactive(e){return b(()=>this.state[e])}produce(e){this.set((t=>{let n=Zt(t);return e(n),n}))}reconcile(e,t={}){this.set(e)}push(e,...t){let n=Y(this.root,e);this.set(e,n.concat(t))}pop(e){let t=Y(this.root,e).slice(),n=t.pop();return this.set(e,t),n}shift(e){let t=Y(this.root,e).slice(),n=t.shift();return this.set(e,t),n}splice(e,t,n,...r){let i=Y(this.root,e).slice(),o=i.splice(t,n,...r);return this.set(e,i),o}insert(e,t,n){let r=Y(this.root,e).slice();r.splice(t,0,n),this.set(e,r)}removeAt(e,t){let n=Y(this.root,e).slice(),r=n.splice(t,1);return this.set(e,n),r}replace(e,t){if(arguments.length>=2){let r=Y(this.root,String(e)),i=t;if(Array.isArray(r)&&Array.isArray(i)){nt(r,i);return}this.set(e,i);return}let n=this.root;if(Array.isArray(n)&&Array.isArray(e)){nt(n,e);return}this.set(e)}clear(e){let t=e===void 0?this.root:Y(this.root,e);if(Array.isArray(t)){nt(t,[]);return}if(t&&typeof t=="object")for(let n of Object.keys(t))j(t,n,void 0)}toObservable(){let[e]=B(this.state);return e.toObservable()}dispose(){}},da=["get","select","watch","subscribe","produce","reconcile","push","pop","shift","splice","insert","removeAt","replace","clear","unwrap","toObservable"];function ha(e,t){for(let n of da)e[n]=t[n].bind(t);e.$=t.reactive.bind(t)}function yi(e,t={immutable:!0}){let n=new mi(e,t);return ha(n.set,n),[n.proxy,n.set]}function pa(e,t={}){return new mi(e,{...t,immutable:!1})}function ct(e){if(e==null||typeof e!="object")return e;let t=e[rt];return t!==void 0?t:e}function ma(e){return q(()=>ct(e))}var od=Object.freeze({createStore:yi,createMutableStore:pa,batch:le,unwrap:ct,untrackStore:ma});function vi(e,t){let[n,r]=yi(e,t);return new Proxy(n,{get:(i,o)=>o==="set"?r:i[o],has:(i,o)=>o==="set"||Reflect.has(i,o)})}var Et=Symbol.for("fluixi.server-node"),ya=Symbol.for("fluixi.dom.server-host"),va=globalThis,Oe=va[ya]??={server:typeof document>"u",nodes:null};function _(){return Oe.server}function Ce(e){Oe.server=e}function ga(e){Oe.nodes=e}function At(){if(!Oe.nodes)throw new Error("[fluixi] server render ran before @fluixi/dom/server loaded");return Oe.nodes}function je(e){return e!=null&&e[Et]===!0?!0:typeof Node<"u"&&e instanceof Node}function Ri(e){return e!=null&&e[Et]===!0?e.nodeType===1:typeof Element<"u"&&e instanceof Element}function Mi(e){return e!=null&&e[Et]===!0?e.nodeType===3:typeof Text<"u"&&e instanceof Text}function ba(e){return e.startsWith("aria-")||e.startsWith("data-")?e:/[A-Z]/.test(e)?e.replace(/([A-Z])/g,"-$1").toLowerCase():e}function wa(e){return e.startsWith("@")||e.startsWith("on")&&e.length>2}function Sa(e){return e.startsWith("@")?e.slice(1):e.startsWith("on")?e.slice(2).toLowerCase():e}function xa(e,t){let n=new Set(["checked","value","selected","disabled","readonly","required","multiple","open","contenteditable","draggable","spellcheck"]),r={input:new Set(["value","checked","indeterminate"]),textarea:new Set(["value"]),select:new Set(["value"]),option:new Set(["selected","value"]),audio:new Set(["volume","currentTime","paused"]),video:new Set(["volume","currentTime","paused"]),img:new Set(["src","srcset"]),iframe:new Set(["src"]),a:new Set(["href"])};return n.has(t)||r[e]&&r[e].has(t)}var ka=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Ea=new Set(["svg","g","path","circle","rect","line","polyline","polygon","ellipse","text","tspan","use","defs","symbol","mask","clipPath","pattern","linearGradient","radialGradient","stop","filter","feGaussianBlur","feOffset","feMerge","feMergeNode","foreignObject"]),_t="http://www.w3.org/2000/svg";function Pi(e){return e.localName.includes("-")}function un(e,t,n,r=!1){if(n==null){e.removeAttribute(t);return}if(Pi(e)){if(_()){pt(e,t,n);return}e[t]=n;return}L(e,t,n,r)}var Di=Symbol.for("fluixi.serverProps");function pt(e,t,n){let r=e[Di]??={};r[t]=n,n==null||n===!1?e.removeAttribute(t):n===!0?e.setAttribute(t,""):(typeof n=="string"||typeof n=="number")&&e.setAttribute(t,String(n))}var ln=new Set(["className","value","checked","selected","innerHTML","innerText","textContent","indeterminate","htmlFor"]),Ii=new Set(["id","class","className","style","slot","part","exportparts","is","title","role","lang","dir","tabindex","hidden"]);function dt(e){return Ii.has(e)||e.startsWith("aria-")||e.startsWith("data-")}function fn(e,t=document){return t.querySelector(e)}function Aa(e,t=document){return Array.from(t.querySelectorAll(e))}function _a(e,t){return e.closest(t)}function ji(e,...t){e.classList.add(...t)}function Li(e,...t){e.classList.remove(...t)}function Hi(e,...t){t.forEach(n=>e.classList.toggle(n))}function $a(e,t){return e.classList.contains(t)}function L(e,t,n,r=!1){if(n==null||n===!1){e.removeAttribute(t);return}if(n===!0){e.setAttribute(t,"");return}if(typeof n=="object"){e.setAttribute(t,JSON.stringify(n));return}e.setAttribute(t,String(n))}function qi(e,t){return e.getAttribute(t)}function Wi(e,t){e.removeAttribute(t)}function vn(e,t){Object.assign(e.style,t)}function Oa(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Bi(e,t={},...n){let r=document.createElement(e);return Object.entries(t).forEach(([i,o])=>{if(i==="class"||i==="className")r.className=o;else if(i==="style"&&typeof o=="object")vn(r,o);else if(i.startsWith("on")&&typeof o=="function"){let s=i.slice(2).toLowerCase();r.addEventListener(s,o)}else L(r,i,o)}),n.forEach(i=>{typeof i=="string"?r.appendChild(document.createTextNode(i)):r.appendChild(i)}),r}function Vi(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Fi(e,...t){t.forEach(n=>{typeof n=="string"?e.appendChild(document.createTextNode(n)):e.appendChild(n)})}function Ca(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth}function Na(e,t={behavior:"smooth",block:"nearest"}){e.scrollIntoView(t)}function Ta(e){let t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}}function Ra(e,t,n,r){let i=o=>{let s=o.target.closest(n);s&&e.contains(s)&&r(o,s)};return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}function Ma(e,t=5e3){return new Promise((n,r)=>{let i=fn(e);if(i){n(i);return}let o=new MutationObserver(()=>{let c=fn(e);c&&(o.disconnect(),clearTimeout(s),n(c))});o.observe(document.body,{childList:!0,subtree:!0});let s=setTimeout(()=>{o.disconnect(),r(new Error(`Element ${e} not found within ${t}ms`))},t)})}function Pa(e,t,n={}){let r=new IntersectionObserver(i=>{i.forEach(o=>{t(o.isIntersecting)})},n);return r.observe(e),()=>{r.disconnect()}}function Da(e,t){let n=new ResizeObserver(r=>{r.forEach(t)});return n.observe(e),()=>{n.disconnect()}}var Ia=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function ja(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ia}function Ui(e){return e&&typeof e=="object"&&e.strings&&Array.isArray(e.strings)&&e.values&&Array.isArray(e.values)}function La(e){if(typeof e!="function")return!1;try{let t=e();return Ui(t)}catch{return!1}}function Ha(e){return typeof e=="object"&&e!==null&&(e.$$typeof==="template"||typeof e.type=="function")}function qa(e){return e instanceof Node}function Wa(e,t,n="Fluixi"){typeof globalThis<"u"&&(typeof globalThis[n]>"u"&&(globalThis[n]={}),typeof globalThis[n][e]>"u"&&(globalThis[n][e]=t))}function Ba(e,t,n="Fluixi"){return typeof globalThis<"u"&&typeof globalThis[n]<"u"&&typeof globalThis[n][e]<"u"?globalThis[n][e]:t}var Ki="1.0.0-alpha.94",C={dom:Ki,reactive:Tr};function Va(e){C.core=e}function zi(e){C.core&&e.setAttribute("fluixi",C.core),e.setAttribute("fx-dom",C.dom),e.setAttribute("fx-reactive",C.reactive),typeof globalThis<"u"&&(globalThis.Fluixi=C)}function Ji(){let e=pr();e.length>1&&console.warn(`[fluixi] ${e.length} builds of @fluixi/reactive are driving one reactive graph: ${e.join(", ")}. They share it on purpose, so signals still cross between them, but the oldest one decided what the graph looks like. Build the components on one release, or load them as shared-runtime bundles.`);let t=[C.core,C.dom,C.reactive].filter(n=>n!==void 0);new Set(t).size<=1||console.warn(`[fluixi] package versions disagree: core ${C.core??"(absent)"}, dom ${C.dom}, reactive ${C.reactive}. These ship as one release, so a mismatch usually means a stale lockfile or two copies resolved side by side. Reinstall, or check for duplicates with \`pnpm why @fluixi/dom\`.`)}function Fa(e){return Object.defineProperty(e,Symbol.for("fluixi-router"),{value:!0,enumerable:!0}),e}function Ua(e){return Object.defineProperty(e,Symbol.for("fluixi-routes"),{value:!0,enumerable:!0}),e}function Ka(e){return Object.defineProperty(e,Symbol.for("fluixi-route"),{value:!0,enumerable:!0}),e}function za(e){return typeof e!="function"||Object.defineProperty(e,Symbol.for("fluixi-outlet"),{value:!0,enumerable:!0}),e}function Ja(e){return Object.defineProperty(e,Symbol.for("fluixi-provider"),{value:!0,enumerable:!0}),e}function Ga(e){return Object.defineProperty(e,Symbol.for("fluixi-context"),{value:!0,enumerable:!0}),e}function Gi(e){return typeof e!="function"||Object.defineProperty(e,Symbol.for("fluixi-component"),{value:!0,enumerable:!0}),e}function Ya(e){return Object.defineProperty(e,Symbol.for("fluixi-suspense"),{value:!0,enumerable:!0}),e}function Yi(e){return typeof e=="function"&&e[Symbol.for("fluixi-router")]===!0}function Xi(e){return typeof e=="function"&&e[Symbol.for("fluixi-routes")]===!0}function Zi(e){return typeof e=="function"&&e[Symbol.for("fluixi-route")]===!0}function Qi(e){return typeof e=="function"&&e[Symbol.for("fluixi-outlet")]===!0}function eo(e){return typeof e=="function"&&e[Symbol.for("fluixi-provider")]===!0}function to(e){return typeof e=="function"&&e[Symbol.for("fluixi-context")]===!0}function W(e){return typeof e=="function"&&e[Symbol.for("fluixi-component")]===!0}function no(e){return typeof e=="function"&&e[Symbol.for("fluixi-suspense")]===!0}function Xa(e){return Yi(e)?{type:"router",value:e}:Zi(e)?{type:"route",value:e}:Xi(e)?{type:"routes",value:e}:Qi(e)?{type:"outlet",value:e}:W(e)?{type:"component",value:e}:no(e)?{type:"suspense",value:e}:eo(e)?{type:"provider",value:e}:to(e)?{type:"context",value:e}:{type:"none",value:e}}var ft,ro={getStore:()=>ft,run(e,t){let n=ft;ft=e;try{return t()}finally{ft=n}}},gn=ro;function Za(e){gn=e??ro}function bn(e={}){if(e.request===void 0){let s=io();s&&(e.request=s)}e.locals||(e.locals=e.request?oo(e.request):{});let t=0,n=0,r=null,i=new Map,o=new Map;return{event:e,routeData:new Map,matchedRoute:new Map,nextId:()=>`s${t++}`,nextResourceId:()=>{if(r===null)return`r${n++}`;let s=i.get(r)??0;return i.set(r,s+1),`${r}:r${s}`},nextIslandNamespace:s=>{let c=o.get(s)??0;return o.set(s,c+1),`${s}#${c}`},withResourceScope(s,c){let a=r;r=s;try{return c()}finally{r=a}},pending:new Set,data:new Map}}function wn(e,t){return gn.run(e,t)}function Z(){return gn.getStore()}function Sn(){return Z()?.event}function Qa(){let e=Sn();return e?(e.locals||(e.locals={}),e.locals):{}}var gi=globalThis[Symbol.for("fluixi.requestLocals")]??=new WeakMap;function io(){return globalThis[Symbol.for("fluixi.platformRequest")]?.getStore()}function oo(e){let t=gi.get(e);return t||(t={},gi.set(e,t)),t}var mt=globalThis[Symbol.for("fluixi.responseHeaders")]??=new WeakMap;function eu(){let e=Sn()?.request;return e&&typeof e=="object"?e:io()}function tu(e,t,n=eu()){if(!n)return!1;let r=mt.get(n);return r||(r={headers:new Headers,sent:!1},mt.set(n,r)),r.sent?!1:(r.headers.append(e,t),!0)}function nu(e){let t=mt.get(e);if(!t){t={headers:new Headers,sent:!0},mt.set(e,t);return}return t.sent=!0,t.headers}var h={active:!1,cursor:null,parents:[]},so=null;function ru(e){so=e}function yt(){return so}function bi(e,t){return h.active&&t.parentNode===e}function co(e){let t=h.parents.lastIndexOf(e);t!==-1&&(h.parents.length=t),h.cursor=e.nextSibling}function iu(){return h.active?h.cursor:null}function vt(e,t){if(!e||e.parentNode==null)return t();let n=h.active,r=h.cursor,i=h.parents;h.active=!0,h.cursor=e,h.parents=[];try{return t()}finally{h.active=n,h.cursor=r,h.parents=i}}function ou(e){if(!h.active)return e();let t=h.cursor,n=h.parents;h.active=!1,h.parents=[];try{return e()}finally{h.active=!0,h.cursor=t,h.parents=n}}function xn(e){if(!h.active||e==null)return;let t=Array.isArray(e)?e[e.length-1]:e;t&&typeof t.nodeType=="number"&&co(t)}function $t(){let e=globalThis;return e[Symbol.for("fluixi.appHydration")]??={pending:0,waiting:new Set}}function su(){$t().pending++}function cu(){let e=$t();if(e.pending>0&&e.pending--,e.pending>0)return;let t=[...e.waiting];e.waiting.clear();for(let n of t)n()}function au(){return $t().pending>0}function uu(e){let t=$t();return t.waiting.add(e),()=>t.waiting.delete(e)}var gt=Symbol.for("fluixi.hydrationKeys"),te="data-hk";function ao(e){let t=e;for(;t;){let n=t.contexts?.get(gt);if(n)return n;if(!t.parent){let r={id:"",next:0};return(t.contexts??=new Map).set(gt,r),r}t=t.parent}return{id:"",next:0}}function uo(){return _()?Z()?.hydrationKeys!==!1:h.active}function dn(e){let t=3735928559,n=1103547991;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);t=Math.imul(t^i,2654435761),n=Math.imul(n^i,1597334677)}return t=Math.imul(t^t>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),(4294967296*(2097151&n)+(t>>>0)).toString(36)}function lo(e){if(!uo())return null;let t=ao(x()),n=t.id+(t.next++).toString(36);return e?`${dn(n)}-${e}`:dn(n)}var wi=new Map;function lu(e){let t=wi.get(e);return t===void 0&&wi.set(e,t=dn(e).slice(0,6)),t}function fu(e){let t=e.getAttribute(te)??"",n=t.indexOf("-");return n<0?"":t.slice(n+1)}function fo(e){let t=e.getAttribute(te);t&&N?.get(t)===e&&N.delete(t)}function du(){if(!uo())return;let e=x();if(!e)return;let t=ao(e),n={id:t.id+(t.next++).toString(36)+".",next:0};(e.contexts??=new Map).set(gt,n)}function hu(e){let t=x();t&&(t.contexts??=new Map).set(gt,{id:e,next:0})}var N=null;function ho(e){N??=new Map;for(let t of e.querySelectorAll(`[${te}]`)){let n=t.getAttribute(te);N.has(n)||N.set(n,t)}}function po(){N=null}function mo(e){if(!N)return 0;let t=0;for(let[n,r]of N){if(!r.isConnected){N.delete(n);continue}e&&!e.contains(r)||r.parentElement?.closest("[data-fx-ssr]")||(N.delete(n),r.remove(),t++)}return t}function yo(e,t){if(!e||!N)return null;let n=N.get(e);return!n||n.localName!==t.toLowerCase()?null:(N.delete(e),n)}function pu(e){let t=[];for(;e&&e.nodeType===1;){let n=e.tagName.toLowerCase();if(e.id){n+=`#${e.id}`,t.unshift(n);break}e.getAttribute("data-id")&&(n+=`[data-id="${e.getAttribute("data-id")}"]`);let r=0,i=e;for(;i=i.previousElementSibling;)i.tagName===e.tagName&&r++;n+=`:nth-of-type(${r+1})`,t.unshift(n),e=e.parentElement}return t.join(">")}function mu(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return`el_${Math.abs(t)}`}function yu(e){return mu(pu(e))}var vu=()=>"xxyxxxxxxy-4xx8".replace(/[xy]/g,function(e){let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),gu={},bt="__fx_at",vo="__fx_loc";function nn(e,t){return t&&(e[vo]=t),e}var bu=Symbol.for("fluixi.owner");function wt(e){let t=x();t&&(e[bu]=t)}function Si(e){if(e instanceof Element){e.localName.includes("-")&&wt(e);for(let t of e.querySelectorAll("*"))t.localName.includes("-")&&wt(t)}}var xi=/<[a-z][\w.]*-/i,ki=new Map,wu="__fluixi_delegated_events__",hn=globalThis[wu]??={names:new Set},St=hn.names,Ot=new Set(["scroll","focus","blur","load","error","resize","mouseenter","mouseleave","pointerenter","pointerleave","gotpointercapture","lostpointercapture"]);function Ct(e){if(!_())for(let t of e)St.has(t)||Ot.has(t)||(St.add(t),hn.dispatch??=Su,document.addEventListener(t,hn.dispatch))}function Su(e){let t=`$$${e.type}`,n=e.composedPath&&e.composedPath()[0]||e.target;Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>n??document});try{for(;n;){let r=n[t];if(r&&!n.disabled&&(r(e),e.cancelBubble))return;n=n.host&&n.host!==n&&n.host instanceof Element?n.host:n.parentNode}}finally{delete e.currentTarget}}function kn(e,t,n){if(e[`$$${t}`]=n,Ot.has(t)){let r=`__fx_${t}`;if(!e[r]){let i=o=>{e[`$$${t}`]?.(o)};e.addEventListener(t,i),e[r]=i}return}St.has(t)||Ct([t])}function xt(e,t){delete e[`$$${t}`];let n=`__fx_${t}`,r=e[n];r&&(e.removeEventListener(t,r),delete e[n])}function xu(e){return!Ot.has(e)}function ku(e){return typeof e=="function"}function Q(e,t=!1){if(_())return At().createText(e);if(h.active&&!t){let n=yt()?.hydrateText(e);if(n)return n}return document.createTextNode(e)}function En(e,t=!1,n){let r=lo();if(_()){let i=At().createElement(e,t);return r&&i.setAttribute(te,r),i}if(h.active){let i=yo(r,e);if(i)return yt()?.enterElement(i),e.includes("-")&&wt(i),n?nn(i,n):i;let o=yt()?.hydrateElement(e);if(o)return e.includes("-")&&wt(o),n?nn(o,n):o}return nn(t?document.createElementNS(_t,e):document.createElement(e),n)}function An(e,t=!1){let n=ki.get(e);if(n)return n;let r=document.createElement("template");return t?r.innerHTML=`<svg>${e}</svg>`:r.innerHTML=e,ki.set(e,r),r}function go(e,t,n=!1,r=!1,i){let o=lu(e),s=lo(o);if(_()){let c=At();if(n){let a=c.parseTemplate(e,r);return s&&a.setAttribute(te,s),a}return c.createRaw(s?Eu(e,s):e)}if(h.active){let c=yo(s,t);if(c)return h.cursor=c.nextSibling,xi.test(e)&&Si(c),rn(c,i);let a=yt()?.hydrateStatic(t,o);if(a)return xi.test(e)&&Si(a),rn(a,i)}return rn(_n(An(e,r),r).firstChild,i)}function Eu(e,t){return e.replace(/^(\s*<[^\s/>]+)/,`$1 ${te}="${t}"`)}function rn(e,t){let n=e;if(!t||typeof n?.querySelectorAll!="function")return e;let r=[n,...n.querySelectorAll("*")];for(let i=0;i<r.length&&i*2+1<t.pos.length;i++){let o=t.pos[i*2];o&&(r[i][vo]={file:t.file,line:o,column:t.pos[i*2+1]})}return e}function bo(e,t){if(!h.active)return t();let n=vt(e.nextSibling,t);if(typeof n=="function"){let r=n;return Au(r,(...o)=>h.active?vt(e.nextSibling,()=>{let s=r(...o);for(;typeof s=="function";)s=s();return s}):r(...o))}return n}function Au(e,t){let n=e[bt];return n!==void 0&&(t[bt]=n),t}function wo(e){for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType===8&&t.data==="fx/")return t;throw new Error("[fluixi] template hole is missing its closing marker")}function So(e,t){let n=[];for(let r=e.nextSibling;r&&r!==t;r=r.nextSibling)n.push(r);return n}function _n(e,t=!1){let n=e.content.cloneNode(!0);return t?n.firstChild:n}function xo(e){return Array.isArray(e)?e.length===2&&e[1]===" "?Array.isArray(e[0])?xo(e[0]):(typeof e[0]=="function",e[0]):e.length===1&&typeof e[0]=="function"?e[0]:e:e}function _u(e){return typeof e!="function"?null:e._name||e.name||"anonymous"}function $u(e){if(E(e)||W(e)||typeof e!="function")return e;let t=e();for(;typeof t=="function"&&!E(t)&&!W(t);)t=t();return t}var J=0,Ou=200;function Cu(e,t,n,r,i){let o=r,s=new Map,c=!1;return S(()=>{let l=c&&h.active;if(c=!0,!l)return a();h.active=!1;try{return a()}finally{h.active=!0}});function a(){D(n??t,"content",void 0,e);let l;if(W(e)&&!E(e)){if(!s.has(e)){J++;try{let u=e();s.set(e,u)}finally{J--}}for(l=s.get(e);typeof l=="function"&&E(l);)l=l()}else for(l=e();typeof l=="function"&&E(l);)l=l();{let u=0;for(;typeof l=="function"&&u++<50;)if(W(l)){if(!s.has(l)){let f=l;J++;try{let d=f();s.set(f,d)}finally{J--}}l=s.get(l)}else if(E(l))l=l();else if(l=l(),typeof l!="function"||!E(l)&&!W(l))break}J++;try{o=Ne(t,l,n,o,s),i(o)}finally{J--}}}function P(e,t,n,r){if(J>Ou)return console.error("[insert] Exceeded max call depth, possible infinite loop."),()=>null;let i=n!==void 0&&!n&&h.active;n!==void 0&&!n&&(n=Q("",!0),i||e.appendChild(n));let o=()=>{if(!i||n.parentNode)return;let u=h.cursor;e.insertBefore(n,u&&u.parentNode===e?u:null)},s=r??null,c=u=>Array.isArray(u)&&u.some(f=>typeof f=="function"),a=u=>typeof u=="function"?u:()=>u;if(typeof t!="function"&&!c(t)){J++;try{s=Ne(e,t,n,s)}finally{J--}return o(),()=>s}let l=Cu(a(t),e,n,s,u=>{s=u});return o(),()=>(l?.(),s)}function Ne(e,t,n,r,i){if(t==null||typeof t=="boolean")return z(e,r,n);if(typeof t=="function")for(;typeof t=="function";)t=t();if(t==null||typeof t=="boolean")return z(e,r,n);if($e(t)){let s=Q("",!0);return Array.isArray(r)?r.length>0?(e.replaceChild(s,r[0]),z(e,r.slice(1),n)):O(e,s,n):r?e.replaceChild(s,r):O(e,s,n),t.then(c=>{s.parentNode===e&&Ne(e,c,s.nextSibling,s)}).catch(c=>{console.error("Error resolving promise in insertExpression:",c)}),s}let o=typeof t;if(o==="string"||o==="number"){if(o==="number"&&(t=String(t)),Array.isArray(r)){if(r.length===0){let c=Q(t);return O(e,c,n),c}if(r.length===1&&r[0].nodeType===3)return r[0].data=t,r;r=z(e,r,n)}if(r&&Mi(r))return r.data=t,r;let s=Q(t);return r&&r.parentNode===e?e.replaceChild(s,r):bi(e,s)||O(e,s,n),s}if(je(t))return bi(e,t)?(co(t),t):Array.isArray(r)?(r.length===0?O(e,t,n):r[0].parentNode===e?(e.replaceChild(t,r[0]),z(e,r.slice(1),n)):O(e,t,n),t):(r?r!==t&&(r.parentNode===e?e.replaceChild(t,r):O(e,t,n)):O(e,t,n),t);if(Array.isArray(t)){let s=[],c=Array.isArray(r)?r:r?[r]:[],a=[],l=new Set,u=()=>K(t,s,e,n,!0,i,a,l);h.active&&c.length?vt(c[0],u):u();let f=Nu(e,l.size?c.filter(d=>!l.has(d)):c,s,n);for(let d of a){if(d.wired)continue;let m=P(e,d.sig,d.marker);k(()=>{z(e,m()),d.marker.parentNode===e&&e.removeChild(d.marker)})}return f}if(o==="object"&&t!==null&&typeof t=="object"){let s=t;if("type"in s&&"props"in s){let c=s;if(typeof c.type=="function"){let a=c.type(c.props||{});return Ne(e,a,n,r)}}}return z(e,r,n)}function K(e,t,n,r,i=!0,o,s,c){for(let a=0;a<e.length;a++){let l=e[a];if(!(l==null||typeof l=="boolean")){for(;typeof l=="function"&&!$e(l)&&!E(l)&&!W(l)&&(l=l(),!(l==null||typeof l=="boolean")););if(!(l==null||typeof l=="boolean")){if(typeof l=="function"){let u;for(W(l)&&!E(l)?(o||(o=new Map),o.has(l)||o.set(l,l()),u=o.get(l)):u=l();typeof u=="function"&&!$e(u)&&!E(u)&&!W(u);)o||(o=new Map),o.has(u)||o.set(u,u()),u=o.get(u);if(u==null||typeof u=="boolean")continue;if(typeof u=="function"){if(E(u)){if(s){let d=Q("",!0);if(t.push(d),h.active&&c){let m=()=>h.cursor&&h.cursor.parentNode===n?h.cursor:null;n.insertBefore(d,m());let g=P(n,u,d),v=g();for(let w of Array.isArray(v)?v:v?[v]:[])c.add(w);n.insertBefore(d,m()),k(()=>{z(n,g()),d.parentNode===n&&n.removeChild(d)}),s.push({marker:d,sig:u,wired:!0});continue}s.push({marker:d,sig:u});continue}let f=u();for(;typeof f=="function"&&E(f);)f=f();if(f==null||typeof f=="boolean")continue;Array.isArray(f)?K(f,t,n,r,i,o):K([f],t,n,r,i,o);continue}continue}Array.isArray(u)?K(u,t,n,r,i,o,s,c):K([u],t,n,r,i,o,s,c);continue}if($e(l)){let u=Q("",!0);t.push(u),l.then(f=>{if(u.parentNode){let d=[];if(K([f],d,u.parentNode,void 0,!1,o),d.length>0){u.parentNode.replaceChild(d[0],u);for(let m=1;m<d.length;m++)u.parentNode?.insertBefore(d[m],d[m-1].nextSibling)}}}).catch(f=>console.error("Error resolving promise in array:",f));continue}if(Array.isArray(l)){K(l,t,n,r,i,o,s,c);continue}if(je(l)){t.push(l);continue}if(typeof l=="object"&&l!==null&&"type"in l&&"props"in l){let u=l;if(typeof u.type=="function"){let f=u.type(u.props||{});Array.isArray(f)?K(f,t,n,r,!1,o):K([f],t,n,r,!1,o);continue}}if(typeof l=="string"||typeof l=="number"){let u=String(l);if(u.trim()===""&&u!==" ")continue;t.push(Q(u));continue}t.push(Q(String(l)))}}}}function Nu(e,t,n,r){for(let f=0;f<n.length;f++){let d=n[f].parentNode;d!==null&&d!==e&&d.nodeType!==11&&(n=n.slice(),n[f]=n[f].cloneNode(!0))}let i=n.length,o=t.length,s=i,c=0,a=0,l=o>0?t[o-1].nextSibling??void 0:r,u=null;for(;c<o||a<s;){if(t[c]===n[a]){c++,a++;continue}for(;o>c&&s>a&&t[o-1]===n[s-1];)o--,s--;if(o===c){let f=s<i?a?n[a-1].nextSibling??void 0:n[s-a]:l;for(;a<s;)O(e,n[a++],f)}else if(s===a)for(;c<o;)(!u||!u.has(t[c]))&&t[c].parentNode===e&&e.removeChild(t[c]),c++;else if(t[c]===n[s-1]&&n[a]===t[o-1]){let f=t[--o].nextSibling;O(e,n[a++],t[c++].nextSibling),O(e,n[--s],f),t[o]=t[c-1]}else{if(!u){u=new Map;let d=a;for(;d<s;)u.set(n[d],d++)}let f=u.get(t[c]);if(f!=null)if(a<f&&f<s){let d=c,m=1;for(;++d<o&&d<s&&!(!u.has(t[d])||u.get(t[d])!==f+m);)m++;if(m>f-a){let g=t[c];for(;a<f;)O(e,n[a++],g)}else t[c].parentNode===e?e.replaceChild(n[a++],t[c++]):(O(e,n[a++],l),c++)}else c++;else t[c].parentNode===e&&e.removeChild(t[c]),c++}}return n}function z(e,t,n){if(t)if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r].parentNode===e&&e.removeChild(t[r]);else t.parentNode===e&&e.removeChild(t);return null}function O(e,t,n){h.active&&t.parentNode===e||(n&&n.parentNode===e?e.insertBefore(t,n):e.appendChild(t))}function oe(e,t,n){n==null?delete e[t]:e[t]=n}function $n(e,t,n){let r=n,i;return Array.isArray(n)&&(r=n[0],i=n[1]),typeof r!="function"?()=>{}:(e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i))}function ko(e,t){if(!t||typeof t!="function")return;let n=t[bt]?.name;if(!n)return;let r=n.indexOf(":");r!==-1&&I(e,n.slice(0,r),n.slice(r+1),t)}function kt(e,t,n){let r=typeof n=="function"?q(()=>n()):n;if(!(!r||typeof r!="object"))for(let i of Object.keys(r))I(e,t,i)}function On(e,t){let n=(r,i)=>{typeof r=="function"&&(I(e,"use",r.name||"use",i),r(e,i??(()=>{})))};if(typeof t=="function"){n(t);return}if(Array.isArray(t)){if(typeof t[0]=="function"){n(t[0],t[1]);return}for(let r of t)Array.isArray(r)?n(r[0],r[1]):n(r)}}function Te(e,t,n,r=!1){return ko(e,n),typeof n!="function"?(L(e,t,n,r),()=>{}):S(()=>{D(e,"attribute",t,n);let i=typeof n=="function"?n():n;L(e,t,i,r)})}function Re(e,t,n){return typeof n!="function"?(oe(e,t,n),()=>{}):(ko(e,n),S(()=>{D(e,"property",t,n);let r=typeof n=="function"?n():n;oe(e,t,r)}))}function Cn(e,t,n){return typeof n!="function"?(L(e,t,!!n),()=>{}):S(()=>{D(e,"attribute",t,n);let r=n();L(e,t,!!r)})}function me(e,t){if(t==null){e.removeAttribute("class");return}if(typeof t=="function"){S(()=>{D(e,"attribute","class",t),me(e,t())});return}if(typeof t=="string"){e.setAttribute("class",t);return}if(Array.isArray(t)){e.setAttribute("class",t.filter(Boolean).join(" "));return}if(typeof t=="object"){let n=Object.keys(t).filter(r=>{let i=t[r];return typeof i=="function"?i():!!i}).join(" ");e.setAttribute("class",n);return}e.setAttribute("class",String(t))}function Me(e,t,n){if(!(!t||typeof t!="object"))for(let r in t){let i=t[r],o=r.split(/\s+/).filter(Boolean);if(typeof i=="function"&&n)n.push(S(()=>{let s=!!i();for(let c of o)e.classList.toggle(c,s)}));else{let s=!!(typeof i=="function"?i():i);for(let c of o)e.classList.toggle(c,s)}}}function on(e,t,n){t.includes("-")?n==null?e.removeProperty(t):e.setProperty(t,String(n)):e[t]=n??""}function _e(e){for(;typeof e=="function";)e=e();return e}var sn=new WeakMap;function Pe(e,t,n){let r=_e(t),i=sn.get(e);if(r==null){sn.delete(e),e.removeAttribute("style");return}let o=new Set,s=c=>{if(typeof c=="function"&&n){n.push(S(()=>s(_e(c))));return}if(c=_e(c),c!=null){if(typeof c=="string")e.style.cssText=c;else if(Array.isArray(c))for(let a of c)s(a);else if(typeof c=="object")for(let a in c){o.add(a);let l=c[a];typeof l=="function"&&n?n.push(S(()=>on(e.style,a,_e(l)))):on(e.style,a,_e(l))}}};if(Array.isArray(r))for(let c of r)s(c);else s(r);if(i)for(let c of i)o.has(c)||on(e.style,c,null);sn.set(e,o)}function Eo(e){let{element:t,props:n,prevProps:r=gu,isSVG:i=!1,skipChildren:o=!1,isCustomElement:s,accessors:c}=e;if(!t||!Ri(t))return console.error("[spread] Error: element is not a DOM Element!"),()=>{};if(!n)return console.warn("[spread] Warning: props is undefined!"),()=>{};let a=i||t.namespaceURI===_t,l=[];for(let u in n){if(o&&u==="children")continue;let f=n[u],d=r[u];if(f===d)continue;if(u==="ref"){Le(f,t);continue}if(u==="use"){On(t,f);continue}if(u.startsWith("on:")){l.push($n(t,u.slice(3),f));continue}if(u.startsWith("prop:")){I(t,"prop",u.slice(5),f),l.push(Re(t,u.slice(5),f));continue}if(u.startsWith("attr:")){I(t,"attr",u.slice(5),f),l.push(Te(t,u.slice(5),f,a));continue}if(u.startsWith("bool:")){I(t,"bool",u.slice(5),f),l.push(Cn(t,u.slice(5),f));continue}if(u==="class"||u==="className"){typeof f=="function"?l.push(S(()=>{D(t,"attribute","class",f),me(t,f())})):me(t,f);continue}if(u==="classList"){kt(t,"class",f),typeof f=="function"?l.push(S(()=>{D(t,"attribute","class",f),Me(t,f())})):Me(t,f,l);continue}if(u==="style"){kt(t,"style",f),typeof f=="function"?l.push(S(()=>{D(t,"attribute","style",f),Pe(t,f())})):Pe(t,f,l);continue}if(u.startsWith("on")){let w=u.slice(2).toLowerCase();d&&xt(t,w),f&&kn(t,w,f);continue}let m=s??t.localName.includes("-"),g=ln.has(u)||!a&&u in t||m&&!a&&!dt(u);if(m&&!a&&!dt(u)&&c!==void 0&&typeof f=="function"&&!c.includes(u)){_()?pt(t,u,f):oe(t,u,f);continue}if(m&&!a&&!dt(u)&&_()){l.push(S(()=>{let w=typeof f=="function"?f():n[u];for(;typeof w=="function"&&w.length===0;)w=w();pt(t,u,w)}));continue}typeof f=="function"?l.push(g?Re(t,u,f):Te(t,u,f,a)):l.push(S(()=>g?oe(t,u,n[u]):L(t,u,n[u],a)))}for(let u in r)if(!(u in n))if(u.startsWith("on")){let f=u.slice(2).toLowerCase();xt(t,f)}else ln.has(u)?oe(t,u,null):t.removeAttribute(u);return()=>{l.forEach(u=>u())}}function Nn(e,t,n=!1){for(let r in t){let i=t[r];if(r==="ref"){Le(i,e);continue}if(r!=="children"){if(r==="use"){On(e,i);continue}if(r.startsWith("on:")){$n(e,r.slice(3),i);continue}if(r.startsWith("prop:")){I(e,"prop",r.slice(5),i),Re(e,r.slice(5),i);continue}if(r.startsWith("attr:")){I(e,"attr",r.slice(5),i),Te(e,r.slice(5),i,n);continue}if(r.startsWith("bool:")){I(e,"bool",r.slice(5),i),Cn(e,r.slice(5),i);continue}if(r.startsWith("on")&&r.length>2){let o=r.slice(2).toLowerCase();if(typeof i=="function")if(Ot.has(o)){e[`$$${o}`]=i;let s=`__fx_${o}`;if(!e[s]){let c=a=>{e[`$$${o}`]?.(a)};e.addEventListener(o,c),e[s]=c}}else e[`$$${o}`]=i,St.has(o)||Ct([o]);continue}if(r==="class"||r==="className"){me(e,i);continue}if(r==="classList"){kt(e,"class",i),typeof i=="function"?S(()=>{D(e,"attribute","class",i),Me(e,i())}):Me(e,i,[]);continue}if(r==="style"){kt(e,"style",i),typeof i=="function"?S(()=>{D(e,"attribute","style",i),Pe(e,i())}):Pe(e,i,[]);continue}if(r==="innerHTML"){if(typeof i=="function"){let o=V(()=>{let s=i();for(;typeof s=="function";)s=s();e.innerHTML=s});k(()=>o())}else e.innerHTML=i;continue}if(r==="value"&&(e.tagName==="INPUT"||e.tagName==="TEXTAREA")){if(typeof i=="function"){let o=V(()=>{let s=i();for(;typeof s=="function"&&s.length===0;)s=s();document.activeElement!==e&&(e.value=s??"")});k(()=>{o()})}else S(()=>{document.activeElement!==e&&(e.value=t[r]??"")});continue}if(r==="checked"&&e.tagName==="INPUT"){if(typeof i=="function"){let o=V(()=>{let s=i();for(;typeof s=="function"&&s.length===0;)s=s();document.activeElement!==e&&(e.checked=s??"")});k(()=>{o()})}else S(()=>{document.activeElement!==e&&(e.checked=t[r]??"")});continue}if(r==="value"&&e.tagName==="SELECT"){if(typeof i=="function"){let o=!0,s=V(()=>{let c=i();for(;typeof c=="function"&&c.length===0;)c=c();o?(o=!1,queueMicrotask(()=>{e.value=c??""})):e.value=c??""});k(()=>{s()})}else{let o=!0;S(()=>{let s=t[r];o?(o=!1,queueMicrotask(()=>{e.value=s??""})):e.value=s??""})}continue}if(typeof i=="function"){let o=V(()=>{let s=i();for(;typeof s=="function"&&s.length===0;)s=s();un(e,r,s,n)});k(()=>{o()})}else S(()=>un(e,r,t[r],n))}}}function Ao(...e){let t=r=>{for(let i=e.length-1;i>=0;i--){let o=e[i];if(!o||!(r in o))continue;let s=o[r];if(s!==void 0)return s}},n=r=>{for(let i of e)if(i&&r in i)return!0;return!1};return new Proxy({},{get:(r,i)=>t(i),has:(r,i)=>n(i),ownKeys:()=>{let r=new Set;for(let i of e)if(i)for(let o of Reflect.ownKeys(i))r.add(o);return[...r]},getOwnPropertyDescriptor:(r,i)=>n(i)?{enumerable:!0,configurable:!0,get:()=>t(i)}:void 0})}function Tu(e,...t){let n=new Set;for(let s of t)for(let c of s)n.add(c);let r=s=>({enumerable:!0,configurable:!0,get:()=>e[s]}),i=t.map(s=>{let c=new Set(s);return new Proxy({},{get:(a,l)=>c.has(l)?e[l]:void 0,has:(a,l)=>c.has(l)&&l in e,ownKeys:()=>Array.from(c).filter(a=>a in e),getOwnPropertyDescriptor:(a,l)=>c.has(l)&&l in e?r(l):void 0})}),o=new Proxy({},{get:(s,c)=>n.has(c)?void 0:e[c],has:(s,c)=>!n.has(c)&&c in e,ownKeys:()=>Reflect.ownKeys(e).filter(s=>!n.has(s)),getOwnPropertyDescriptor:(s,c)=>!n.has(c)&&c in e?r(c):void 0});return[...i,o]}function Le(e,t){if(!e)return;let n=e[bt]?.name;if(I(t,"ref",n||typeof e=="function"&&e.name||"ref",e),je(e)){let r=t,i=e;if(!r)return;typeof r=="function"?r(i):typeof r=="object"&&"current"in r&&(r.current=i);return}typeof e=="function"?e(t):typeof e=="object"&&"current"in e&&(e.current=t)}function _o(e,t,n){let r=t||document.body,i=Qe(()=>e),o=[];return le(()=>{let s=S(()=>{let c=i();Array.isArray(c)?(c.forEach(a=>r.appendChild(a)),o.push(()=>{c.forEach(a=>{a.parentNode===r&&r.removeChild(a)})})):je(c)&&(r.appendChild(c),o.push(()=>{c.parentNode===r&&r.removeChild(c)}))});o.push(s),k(()=>{o.forEach(c=>c())})}),null}function Ru(e){return typeof e=="string"&&e.toLowerCase()===e}function $o(e){return e==="svg"||e==="path"||e==="circle"||e==="rect"||e==="line"||e==="polygon"||e==="polyline"||e==="ellipse"||e==="g"||e==="defs"||e==="clipPath"||e==="text"}function Mu(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function $e(e){return e!=null&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"||e instanceof Promise}function Pu(e){return typeof e=="function"&&e.length===0&&E(e)}function He(e,t,n){if(!t)throw new Error("Container element is required");let r,i,o=[];return H(s=>{le(()=>{h.active||(t.textContent=""),zi(t),Ji(),P(t,e)}),i=s}),()=>{i?.(),r?.(),o.forEach(s=>s()),t.textContent=""}}function Oo(e){if(Array.isArray(e))return e;if(typeof e=="function"&&typeof e.set=="function")return[e,e.set];throw new TypeError("[fluixi] bind: needs a signal, either `signal(...)` or the `[get, set]` pair from `createSignal(...)`.")}var Du="__fx_dom_create_component__",se=globalThis[Du]??={fn:null};function Iu(e){se.fn=e}function ju(e={}){let t=e.signalSystem?.createComponent;t&&(se.fn=t)}function Tn(e,t){if(du(),se.fn)return se.fn(e,t);t&&Zr(t);let n=typeof e=="function"?he(()=>e(t)):e,r=n!=null&&(typeof n=="function"||typeof n=="object");if(r)try{n.$name=e?.name}catch{}return r&&!ci(n)?Gi(n):n}var Lu=()=>se.fn!==null,Co=()=>se.fn!==null;function No(){se.fn=null}var Rn="__FX_DATA__";function To(e){return e.replace(/[<>&\u2028\u2029]/g,t=>"\\u"+t.charCodeAt(0).toString(16).padStart(4,"0"))}var cn;function Ro(){let e=globalThis.__FX_DATA__;if(e&&typeof e.nodeType!="number")return e;if(cn!==void 0)return cn;let t=null;if(typeof document<"u"){let n=document.getElementById(Rn)?.textContent;if(n)try{t=JSON.parse(n)}catch{t=null}}return cn=t}function Nt(){for(;;){for(;h.cursor&&h.cursor.nodeType===3&&h.cursor.data==="";)h.cursor=h.cursor.nextSibling;if(h.cursor!=null||!h.parents.length)return;h.cursor=h.parents.pop().nextSibling}}var Mo=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),De=typeof process<"u"&&process.env&&!1;function Ie(e,t){let n=t.nodeType===1?`<${t.tagName.toLowerCase()}>`:t.nodeType===3?`text ${JSON.stringify((t.nodeValue??"").slice(0,24))}`:t.nodeType===8?"comment":"node";console.warn(`[fluixi] hydration mismatch: expected ${e} but the server DOM has ${n}. Server and client rendered different markup; recreating this node on the client. Check for non-deterministic render (Date.now(), Math.random(), browser-only branches, untransported data).`)}var Hu=Symbol.for("fluixi.ownsContent");function Po(e){return e.localName.includes("-")?e.hasAttribute("data-fx-ssr")||e[Hu]===!0:!1}function qu(e){Nt();let t=h.cursor;return t&&t.nodeType===1&&t.tagName.toLowerCase()===e.toLowerCase()?(fo(t),Mo.has(e.toLowerCase())||Po(t)?h.cursor=t.nextSibling:(h.parents.push(t),h.cursor=t.firstChild),t):(De&&t&&Ie(`<${e}>`,t),null)}function Wu(e){Mo.has(e.localName)||Po(e)?h.cursor=e.nextSibling:(h.parents.push(e),h.cursor=e.firstChild)}function Bu(e,t){Nt();let n=h.cursor;if(n&&n.nodeType===1&&n.tagName.toLowerCase()===e.toLowerCase()){let r=fu(n);return t&&r&&r!==t?(De&&Ie(`<${e}> (another template)`,n),null):(fo(n),h.cursor=n.nextSibling,n)}return De&&n&&Ie(`<${e}> (static)`,n),null}function Vu(e){if(e===""){let n=h.cursor;return n&&n.nodeType===3&&n.data!==""?(h.cursor=n.nextSibling,n.data="",n):null}Nt();let t=h.cursor;return t&&t.nodeType===3?(h.cursor=t.nextSibling,t.nodeValue!==e&&(t.nodeValue=e),t):(De&&t&&Ie(`text ${JSON.stringify(e.slice(0,24))}`,t),null)}function Fu(e){Nt();let t=h.cursor;return t&&t.nodeType===8&&t.data===e?(h.cursor=t.nextSibling,t):(De&&t&&Ie(`marker <!--${e.slice(0,24)}-->`,t),null)}var Ei=!1;function Do(){Ei||(Ei=!0,ru({hydrateElement:qu,hydrateText:Vu,hydrateMarker:Fu,hydrateStatic:Bu,enterElement:Wu}))}function qe(e,t,n){Do(),h.active=!0,h.cursor=t.firstChild,h.parents=[],po(),ho(t);let r=Ro(),i=n?.resourceNamespace,o=0;Ze(()=>i?`${i}:r${o++}`:`r${o++}`),Er(r?s=>s in r?{value:r[s]}:void 0:null);try{return He(e,t)}finally{h.active=!1,h.cursor=null,h.parents=[]}}function Uu(e,t){Do(),ho(e);let n={active:h.active,cursor:h.cursor,parents:h.parents};h.active=!0,h.cursor=e.firstChild,h.parents=[];try{P(e,t()),mo(e)}finally{h.active=n.active,h.cursor=n.cursor,h.parents=n.parents}}var Mn="fluixi-island";function Ku(e){let{component:t,props:n={},name:r}=e,i=En(Mn),o=r??t.name??"Island";L(i,"name",o),L(i,"props",JSON.stringify(n??{}));let s=_()?Z():void 0;if(s){let c=s.nextIslandNamespace(o);P(i,()=>s.withResourceScope(c,()=>t(n)))}else P(i,()=>t(n));return i}var Ai=!1;function zu(){if(Ai||typeof document>"u")return;Ai=!0;let e=document.createElement("style");e.textContent=`${Mn}{display:contents}`,document.head.appendChild(e)}function Ju(e){if(typeof document>"u")return;zu();let t=document.querySelectorAll(Mn),n=new Map;t.forEach(r=>{let i=r.getAttribute("name")??"",o=n.get(i)??0;n.set(i,o+1);let s=e[i];if(!s){typeof process>"u"&&console.warn(`[fluixi] island "${i}" has no component in the registry, left static.`);return}let c={};try{c=JSON.parse(r.getAttribute("props")||"{}")}catch{}qe(()=>s(c),r,{resourceNamespace:`${i}#${o}`})})}function Gu(e,...t){throw new Error("html`` was not compiled, enable the lit format: fluixi({ format: 'lit' }).")}function Yu(e,...t){throw new Error("svg`` was not compiled, enable the lit format: fluixi({ format: 'lit' }).")}function Xu(e,...t){throw new Error("css`` was not compiled: component styles need @fluixi-css/vite next to the fluixi plugin.")}function Zu(e,t={}){if(typeof e=="function")return Tn(e,t);if(typeof e!="string"||e.length===0)return null;let n=$o(e);if(_())return At().createElement(e,n);let r=n?document.createElementNS(_t,e):document.createElement(e);return Nn(r,t,n),Qu(r,t),r}function Qu(e,t){if(!t||t.children===void 0)return;let n=Qe(()=>t.children),r=i=>{P(e,i,typeof i=="function"?null:void 0)};Array.isArray(n)?n.forEach(r):r(n)}function el(e){return typeof e=="function"?e:(()=>e)}function Tt(e){return()=>{let t=e();return typeof t=="function"?t():t}}function tl(e){return e!=null&&e!==!1}function nl(e){return!e||typeof e!="object"?!1:!!(typeof e._$litType$<"u"||typeof e._$litDirective$<"u"||Array.isArray(e.strings)&&Array.isArray(e.values))}function Pn(e){let t=Tt(()=>e.when),n=b(t,void 0,{name:"Show.when"}),r=b(n,void 0,{name:"Show.cond"}),i=x(),o=null,s=null,c=a=>{a!==s&&(o&&ue(o),o=ae(i),s=a)};return b(()=>{let a=r();return c(a?"when":"fallback"),M(o,()=>{if(a){let l=e.children;return typeof l=="function"&&!nl(l)?typeof n=="function"?q(()=>q(n)?l(n()):e.fallback):l(n):l}return e.fallback});return e.fallback??null},void 0,{name:"Show.result"})}function Dn(e){let t=Tt(()=>e.each),n=()=>e.fallback??null,r=(i,o)=>{let s=e.children,c=Array.isArray(s)?s.map(a=>typeof a=="function"?a(i,o):a):typeof s=="function"?s(i,o):s;return xn(c),c};return e.by?Ye(t,e.by,(i,o)=>r(i,o),{fallback:n}):Ge(t,(i,o)=>r(i,o),{fallback:n})}function In(e){let t=Tt(()=>e.each);return Xe(t,(n,r)=>{let i=e.children(n,r);return xn(i),i},{fallback:()=>e.fallback??null})}var pn=Symbol("match");function jn(e){return{[pn]:!0,when:Tt(()=>e.when),get children(){return e.children}}}function Ln(e){let t=Array.isArray(e.children)?e.children:[e.children],n=x(),r=null,i=-1,o=s=>{s!==i&&(r&&ue(r),r=ae(n),i=s)};return b(()=>{for(let s=0;s<t.length;s+=1){let a=t[s],l=0;for(;typeof a=="function"&&!a[pn]&&l++<10;)a=a();if(!a||typeof a!="object"||a[pn]!==!0)continue;let u=a.when();if(tl(u))return o(s),M(r,()=>typeof a.children=="function"?a.children(u):a.children)}return o(-2),M(r,()=>e.fallback??null)},void 0,{name:"Switch"})}function Hn(e){let t=el(e.component),{component:n,...r}=e,i=x(),o=null,s;return b(()=>{let c=t();return c!==s&&(o&&ue(o),o=ae(i),s=c),c==null?null:typeof c=="string"?{tag:c,props:r}:M(o,()=>c(r))},void 0,{name:"Dynamic"})}function qn(e){let t=()=>e.mount?typeof e.mount=="function"?e.mount():e.mount:document.body,n,r;return H(i=>{n=i,r=document.createElement("div"),r.style.display="contents",t().appendChild(r),P(r,e.children)&&Le(e.ref,r)}),k(()=>{n(),r.remove()}),null}function Io(e){if(_())return e.fallback??null;let t=h.active,[n,r]=B(!t);return t&&queueMicrotask(()=>r(!0)),b(()=>n()?e.children:e.fallback??null,void 0,{name:"client-only"})}var rl=Io;function Wn(e){let t=Cr(),n=s=>!!s&&typeof s.then=="function",r=s=>typeof e.fallback=="function"?e.fallback(s,t.reset):e.fallback,i=s=>{if(n(s))throw s;return queueMicrotask(()=>t.setError(s)),null},o=s=>{if(Array.isArray(s))return s.map(o);if(typeof s!="function")return s;let c=s;return()=>{try{return o(c())}catch(a){return i(a)}}};return b(()=>{let s=t.error();if(s!==void 0)return r(s);try{return Nr(t,()=>o(typeof e.children=="function"?e.children():e.children))}catch(c){return i(c),r(c)}},void 0,{name:"ErrorBoundary"})}function il(e){return b(()=>{let t=typeof e=="function"?e():e,n=[];for(let[r,i]of Object.entries(t)){if(!r)continue;(typeof i=="function"?i():i)&&n.push(r)}return n.join(" ")},void 0,{name:"ClassMap"})}function ol(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function sl(e){return b(()=>{let t=typeof e=="function"?e():e,n=[];for(let[r,i]of Object.entries(t)){if(!r)continue;let o=typeof i=="function"?i():i;o!=null&&n.push(`${ol(r)}: ${o}`)}return n.join("; ")},void 0,{name:"StyleMap"})}var cl=Symbol.for("fluixi.owner"),Rt=1,jo=3,Lo=8,al=Symbol.for("fluixi.serverElementRenderer"),_i=Symbol.for("fluixi.serverElementRendered");function ht(e){if(e.nodeType!==Rt)return;let t=e;if(typeof t.localName!="string"||!t.localName.includes("-")||t[_i])return;let n=globalThis[al];n&&(t[_i]=!0,n(t))}var Ho;Ho=Et;var Mt=class{constructor(){this[Ho]=!0,this.parentNode=null,this.childNodes=[]}get firstChild(){return this.childNodes[0]??null}get lastChild(){return this.childNodes[this.childNodes.length-1]??null}get nextSibling(){let e=this.parentNode;if(!e)return null;let t=e.childNodes.indexOf(this);return t>=0?e.childNodes[t+1]??null:null}get previousSibling(){let e=this.parentNode;if(!e)return null;let t=e.childNodes.indexOf(this);return t>0?e.childNodes[t-1]??null:null}get parentElement(){return this.parentNode}appendChild(e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,this.childNodes.push(e),ht(e),e}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e);let n=this.childNodes.indexOf(t);return e.parentNode=this,n<0?this.childNodes.push(e):this.childNodes.splice(n,0,e),ht(e),e}removeChild(e){let t=this.childNodes.indexOf(e);return t>=0&&this.childNodes.splice(t,1),e.parentNode=null,e}replaceChild(e,t){let n=this.childNodes.indexOf(t);return n>=0&&(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,this.childNodes[n]=e,t.parentNode=null,ht(e)),t}addEventListener(){}removeEventListener(){}},Bn=class qo extends Mt{constructor(t){super(),this.nodeType=jo,this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t==null?"":String(t)}get textContent(){return this.data}set textContent(t){this.data=t==null?"":String(t)}cloneNode(){return new qo(this.data)}},ul=class Wo extends Mt{constructor(t){super(),this.nodeType=Rt,this.rawOuterHTML=t}get textContent(){return this.rawOuterHTML.replace(/<[^>]*>/g,"")}cloneNode(){return new Wo(this.rawOuterHTML)}},Bo=class Vo extends Mt{constructor(t){super(),this.nodeType=Lo,this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t==null?"":String(t)}cloneNode(){return new Vo(this.data)}},ll=class{constructor(){this.cssText=""}setProperty(e,t){this[e]=t}removeProperty(e){delete this[e]}},fl=class{constructor(e){this.el=e}list(){let e=this.el.getAttribute("class");return e?e.split(/\s+/).filter(Boolean):[]}write(e){e.length?this.el.setAttribute("class",e.join(" ")):this.el.removeAttribute("class")}add(...e){let t=this.list();for(let n of e)t.includes(n)||t.push(n);this.write(t)}remove(...e){this.write(this.list().filter(t=>!e.includes(t)))}contains(e){return this.list().includes(e)}toggle(e,t){let n=this.contains(e),r=t===void 0?!n:t;return r?this.add(e):this.remove(e),r}},mn=class Fo extends Mt{constructor(t,n=!1){if(super(),this.nodeType=Rt,this.attributes=new Map,this.style=new ll,this.classList=new fl(this),this.rawHTML=null,this.localName=t.toLowerCase(),this.tagName=n?t:t.toUpperCase(),this.isSVG=n,this.namespaceURI=n?"http://www.w3.org/2000/svg":null,this.localName.includes("-")){let r=x();r&&(this[cl]=r)}}setAttribute(t,n){this.attributes.set(t,String(n))}removeAttribute(t){this.attributes.delete(t)}getAttribute(t){return this.attributes.has(t)?this.attributes.get(t):null}hasAttribute(t){return this.attributes.has(t)}get id(){return this.getAttribute("id")??""}set id(t){t==null?this.removeAttribute("id"):this.setAttribute("id",t)}get className(){return this.getAttribute("class")??""}set className(t){t==null?this.removeAttribute("class"):this.setAttribute("class",t)}get htmlFor(){return this.getAttribute("for")??""}set htmlFor(t){t==null?this.removeAttribute("for"):this.setAttribute("for",t)}set value(t){t==null?this.removeAttribute("value"):this.setAttribute("value",String(t))}set checked(t){t?this.setAttribute("checked",""):this.removeAttribute("checked")}set selected(t){t?this.setAttribute("selected",""):this.removeAttribute("selected")}set indeterminate(t){}get textContent(){return this.childNodes.map(t=>t.textContent??"").join("")}set textContent(t){for(let n of this.childNodes)n.parentNode=null;this.childNodes=[],this.rawHTML=null,t!=null&&t!==""&&this.appendChild(new Bn(String(t)))}set innerText(t){this.textContent=t}set innerHTML(t){for(let n of this.childNodes)n.parentNode=null;this.childNodes=[],this.rawHTML=t==null?"":String(t)}cloneNode(t=!1){let n=new Fo(this.localName,this.isSVG);if(n.attributes=new Map(this.attributes),n.style.cssText=this.style.cssText,n.rawHTML=this.rawHTML,t)for(let r of this.childNodes)n.appendChild(r.cloneNode(!0));return n}},dl=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Uo=/&/g,Ko=/</g,zo=/>/g,hl=/"/g;function an(e){return e.replace(Uo,"&amp;").replace(Ko,"&lt;").replace(zo,"&gt;")}function $i(e){return e.replace(Uo,"&amp;").replace(hl,"&quot;").replace(Ko,"&lt;").replace(zo,"&gt;")}function pl(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}function ml(e){if(!e)return"";let t=[];e.cssText&&t.push(e.cssText.trim().replace(/;\s*$/,""));for(let n of Object.keys(e)){if(n==="cssText")continue;let r=e[n];r==null||r===""||t.push(`${pl(n)}: ${r}`)}return t.join("; ")}function yl(e){let t="",n=ml(e.style);for(let[r,i]of e.attributes)r==="style"&&n||(t+=` ${r}="${$i(i)}"`);if(n){let r=e.attributes.get("style"),i=r?`${r.replace(/;\s*$/,"")}; ${n}`:n;t+=` style="${$i(i)}"`}return t}function ee(e){if(e==null||e===!1||e===!0)return"";if(typeof e=="string")return an(e);if(typeof e=="number")return an(String(e));if(typeof e=="function")return ee(e());if(Array.isArray(e))return e.map(ee).join("");if(typeof e.rawOuterHTML=="string")return e.rawOuterHTML;switch(e.nodeType){case jo:return an(e.data??"");case Lo:return`<!--${e.data??""}-->`;case Rt:{ht(e);let t=e.localName,n=`<${t}${yl(e)}>`;if(dl.has(t))return n;let r=e.rawHTML!=null?e.rawHTML:(e.childNodes??[]).map(ee).join("");return`${n}${r}</${t}>`}}return Array.isArray(e.childNodes)?e.childNodes.map(ee).join(""):""}var vl=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),gl={amp:"&",lt:"<",gt:">",quot:'"',"#39":"'"};function Oi(e){return e.replace(/&(#?\w+);/g,(t,n)=>gl[n]??t)}var U=class extends Error{};function bl(e,t=!1){let n=0,r=[],i=[],o=l=>{let u=i[i.length-1];u?u.appendChild(l):r.push(l)};for(;n<e.length;){let l=e.indexOf("<",n);if(l===-1){c(e.slice(n));break}if(l>n&&c(e.slice(n,l)),e.startsWith("<!--",l)){let u=e.indexOf("-->",l);if(u===-1)throw new U(`unterminated comment at ${l}`);o(new Bo(e.slice(l+4,u))),n=u+3;continue}if(e[l+1]==="/"){let u=e.indexOf(">",l);if(u===-1)throw new U(`unterminated closing tag at ${l}`);let f=e.slice(l+2,u).trim().toLowerCase(),d=i.pop();if(!d||d.localName!==f)throw new U(`</${f}> does not close <${d?.localName??"nothing"}>`);n=u+1;continue}n=a(l)}if(i.length>0)throw new U(`unclosed <${i[i.length-1].localName}>`);let s=r[0];if(r.length!==1||!(s instanceof mn))throw new U(`expected exactly one root element, got ${r.length}`);return s;function c(l){l!==""&&o(new Bn(Oi(l)))}function a(l){let u=/[\s/>]/.exec(e.slice(l+1));if(!u)throw new U(`unterminated tag at ${l}`);let f=e.slice(l+1,l+1+u.index).toLowerCase(),d=new mn(f,t),m=l+1+u.index;for(;m<e.length;){for(;m<e.length&&/\s/.test(e[m]);)m++;if(e[m]===">"){m++;break}if(e[m]==="/"&&e[m+1]===">"){m+=2;break}let g=m;for(;m<e.length&&!/[\s=/>]/.test(e[m]);)m++;let v=e.slice(g,m);if(v==="")throw new U(`malformed attribute at ${m}`);if(e[m]==="="){if(e[m+1]!=='"')throw new U(`attribute ${v} must have a double-quoted value`);let w=e.indexOf('"',m+2);if(w===-1)throw new U(`unterminated value for ${v}`);d.setAttribute(v,Oi(e.slice(m+2,w))),m=w+1}else d.setAttribute(v,"")}return o(d),vl.has(f)||i.push(d),m}}var Ci=!1;function Jo(){Ci||(Ci=!0,ga({createElement:(e,t)=>new mn(e,t),createText:e=>new Bn(e),createRaw:e=>new ul(e),parseTemplate:(e,t)=>bl(e,t),createComment:e=>new Bo(e)}))}function wl(e,t={}){let n=_();Jo(),Ce(!0);let r=bn(t.event);r.hydrationKeys=t.hydrationKeys!==!1;try{return wn(r,()=>H(i=>{try{let o=typeof e=="function"?e():e;return ee(o)}finally{i()}}))}finally{Ce(n)}}var Ni=!1,Ti=new WeakMap;function Sl(){Ni||(Ni=!0,kr(e=>{Z()?.pending.add(e)}),Ze(()=>Z()?.nextResourceId()??""),Ar((e,t)=>{e&&Z()?.data.set(e,t)}),$r(()=>{let e=Z();if(!e)return;let t=Ti.get(e);return t||Ti.set(e,t=_r()),t}))}var yn=null;function xl(e){yn=e}function Go(e){if(e.data.size===0)return"";let t={};for(let[r,i]of e.data){let o=i;if(yn)try{o=yn(i,r)}catch{continue}o!==void 0&&(typeof o=="function"||typeof o=="symbol"||(t[r]=o))}if(Object.keys(t).length===0)return"";let n=To(JSON.stringify(t));return n==="{}"?"":`<script type="application/json" id="${Rn}">${n}<\/script>`}var kl=50;async function El(e,t={}){let n=_();Jo(),Ce(!0),Sl();let r=bn(t.event);r.hydrationKeys=t.hydrationKeys!==!1;try{return await wn(r,async()=>{t.preload&&await t.preload(t.event);let i,o=null,s=()=>{};H(u=>{s=u,o=x(),i=typeof e=="function"?e():e});let c=()=>{try{M(o,()=>ee(i))}catch{}};c();let a=0;for(;r.pending.size>0&&a++<kl;){let u=Array.from(r.pending);r.pending.clear(),await Promise.allSettled(u),await xr(),c()}let l=M(o,()=>ee(i))+Go(r);return s(),l})}finally{Ce(n)}}var Al={createComponent:Tn,createElement:Bi,createNativeElement:En,createTemplate:An,cloneTemplate:_n,templateNode:go,holeContent:So,holeEnd:wo,holeScope:bo,createPortal:_o,render:He,hydrate:qe,insert:P,appendChildren:Fi,removeChildren:Vi,spread:Eo,applyProps:Nn,mergeProps:Ao,bindPair:Oo,setProperty:oe,setDynamicProperty:Re,setAttribute:L,setDynamicAttribute:Te,removeAttribute:Wi,getAttribute:qi,setClassName:me,addClass:ji,removeClass:Li,toggleClass:Hi,setStyles:vn,delegateEvents:Ct,addDelegatedEventListener:kn,removeDelegatedEventListener:xt,handleRef:Le,resetIntegration:No,isIntegrationInitialized:Co},_l=Al;function $l(e){let t=(n,r)=>{n.parent=r;let i=Ol(n);for(let o of i)t(o,n)};return t(e,null),e}function Ol(e){switch(e.kind){case"Root":case"Element":case"Component":case"Fragment":return e.children;default:return[]}}var Cl=class{constructor(e){this.pieces=e,this.pi=0,this.oi=0,this.normalize()}normalize(){for(;this.pi<this.pieces.length;){let e=this.pieces[this.pi];if(e.kind==="static"&&this.oi>=e.text.length){this.pi++,this.oi=0;continue}break}}eof(){return this.pi>=this.pieces.length}pos(){if(this.eof()){let t=this.pieces[this.pieces.length-1];return t?t.kind==="static"?t.start+t.text.length:t.end:0}let e=this.pieces[this.pi];return e.kind==="static"?e.start+this.oi:e.start}atHole(){return!this.eof()&&this.pieces[this.pi].kind==="hole"}holeFollows(){if(this.eof())return!1;let e=this.pieces[this.pi];if(e.kind!=="static"||this.oi+1<e.text.length)return!1;let t=this.pieces[this.pi+1];return t!==void 0&&t.kind==="hole"}takeHole(){let e=this.pieces[this.pi];if(e.kind!=="hole")throw new Error("takeHole called off a hole");return this.pi++,this.oi=0,this.normalize(),{index:e.index,loc:{start:e.start,end:e.end}}}peek(e=0){if(this.eof())return"";let t=this.pieces[this.pi];return t.kind!=="static"?"":t.text[this.oi+e]??""}startsWith(e){if(this.eof())return!1;let t=this.pieces[this.pi];return t.kind!=="static"?!1:t.text.startsWith(e,this.oi)}advance(){if(this.eof())return"";let e=this.pieces[this.pi];if(e.kind!=="static")return"";let t=e.text[this.oi++]??"";return this.normalize(),t}readWhile(e){let t="";for(;!this.eof()&&!this.atHole();){let n=this.peek();if(n===""||!e(n))break;t+=n,this.oi++}return this.normalize(),t}skipWhitespace(){this.readWhile(e=>/\s/.test(e))}span(e){return{start:e,end:this.pos()}}},Yo=new Set(["capture","once","passive","prevent","stop","self"]);function ne(e,t){return e.value&&e.value.kind==="hole"?e.value.hole:(e.report("invalid-binding",`${t} requires an expression value: ${e.name}=\${…}`),-1)}var Zo=(e,t)=>({kind:"Attribute",name:t?e.name.slice(1):e.name,value:e.value,boolean:t,loc:e.loc}),Qo=[{id:"event",match:e=>e[0]==="@"||e.startsWith("on:")||/^on[A-Z]/.test(e),build:e=>{let t,n;e.name[0]==="@"?(t="at",n=e.name.slice(1)):e.name.startsWith("on:")?(t="colon",n=e.name.slice(3)):(t="on",n=e.name.slice(2));let[r,...i]=n.split("."),o=r.toLowerCase();for(let s of i)Yo.has(s)||e.report("invalid-directive",`Unknown event modifier ".${s}" — expected one of ${[...Yo].join(", ")}`);return{kind:"EventBinding",name:o,syntax:t,modifiers:i,hole:ne(e,"event binding"),loc:e.loc}}},{id:"bind",elementOnly:!0,match:e=>e.startsWith("bind:"),build:e=>({kind:"BindDirective",name:e.name.slice(5),hole:ne(e,"two-way binding"),loc:e.loc})},{id:"class-directive",elementOnly:!0,match:e=>e.startsWith("class:"),build:e=>({kind:"ClassDirective",name:e.name.slice(6),hole:ne(e,"class directive"),loc:e.loc})},{id:"style-directive",elementOnly:!0,match:e=>e.startsWith("style:"),build:e=>({kind:"StyleDirective",name:e.name.slice(6),hole:ne(e,"style directive"),loc:e.loc})},{id:"load",match:e=>e.startsWith("load:"),build:e=>({kind:"LoadDirective",strategy:e.name.slice(5),modifier:e.value&&e.value.kind==="static"?e.value.value:null,loc:e.loc})},{id:"use",match:e=>e==="use"||e.startsWith("use:"),build:e=>({kind:"UseDirective",name:e.name.startsWith("use:")?e.name.slice(4):null,hole:e.value&&e.value.kind==="hole"?e.value.hole:null,loc:e.loc})},{id:"if",elementOnly:!0,match:e=>e==="if",build:e=>({kind:"IfDirective",hole:ne(e,"if directive"),loc:e.loc})},{id:"each",elementOnly:!0,match:e=>e==="each",build:e=>({kind:"EachDirective",hole:ne(e,"each directive"),key:null,loc:e.loc})},{id:"else",elementOnly:!0,match:e=>e==="else",build:e=>(e.value!==null&&e.report("invalid-directive","`else` takes no value"),{kind:"ElseDirective",loc:e.loc})},{id:"ref",match:e=>e==="ref",build:e=>({kind:"RefBinding",hole:ne(e,"ref binding"),loc:e.loc})},{id:"property",match:e=>e[0]===".",build:e=>({kind:"PropertyBinding",name:e.name.slice(1),hole:ne(e,"property binding"),loc:e.loc})},{id:"boolean",match:e=>e[0]==="?",build:e=>Zo(e,!0)}];function Nl(e,t=Qo,n={component:!1}){for(let r of t)if(!(r.elementOnly&&n.component)&&r.match(e.name))return r.build(e);return Zo(e,!1)}var Tl=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"]),Rl=new Set(["script","style","textarea","title"]),Ml=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function Pl(e){return e.length>0&&(e[0]!==e[0].toLowerCase()||e.includes("."))}var Dl=new Set(["a","button","input","select","textarea","summary","details","option","label"]),Il=new Set(["keydown","keyup","keypress"]);function ye(e,t){return e.attributes.find(n=>"name"in n&&n.name===t)}function jl(e){return e.attributes.some(t=>t.kind==="Spread")}function Pt(e,t){let n=ye(e,t);if(!n||n.kind!=="Attribute"||!n.value)return;let r=n.value;return r.kind==="static"?r.value:void 0}function Ll(e){let t=Pt(e,"role");return t==="presentation"||t==="none"?!0:Pt(e,"aria-hidden")==="true"}function Xo(e,t){return e.attributes.some(n=>n.kind==="EventBinding"&&t(n.name))}function Hl(e){let t=[],n=(i,o,s)=>{t.push({code:o,message:s,severity:"warning",loc:i.loc})},r=i=>{for(let o of i){o.kind==="Element"&&ql(o,n);let s="children"in o?o.children:void 0;s&&r(s)}};return r(e.children),t}function ql(e,t){if(jl(e))return;let n=e.tag.toLowerCase();n==="img"&&!ye(e,"alt")&&!Ll(e)&&t(e,"a11y-img-alt",'An `img` needs an `alt`. Use `alt=""` when the image is decorative.'),n==="a"&&!ye(e,"href")&&!ye(e,"role")&&t(e,"a11y-anchor-href","An `a` without `href` is not a link. Use a `button` for an action."),n==="iframe"&&!ye(e,"title")&&t(e,"a11y-iframe-title","An `iframe` needs a `title` describing its content.");let r=Pt(e,"tabindex")??Pt(e,"tabIndex");r!==void 0&&Number(r)>0&&t(e,"a11y-positive-tabindex","A positive `tabindex` reorders tab navigation for the entire page. Use `0`, or restructure the markup."),!Dl.has(n)&&Xo(e,i=>i==="click")&&!ye(e,"role")&&!Xo(e,i=>Il.has(i))&&t(e,"a11y-click-without-keyboard",`A click handler on \`${n}\` is unreachable by keyboard. Use a \`button\`, or add a \`role\` and a key handler.`)}var Wl=/[A-Za-z0-9\-_:@.?]/,Bl=class{constructor(e,t){this.diagnostics=[],this.r=new Cl(e),this.svg=t.svg??!1,this.directives=t.directives??Qo,this.accessibility=t.accessibility??!0}parse(){let e=this.r.pos(),t=[];for(;!this.r.eof()&&(t.push(...this.parseChildren()),!this.r.eof());){let r=this.r.pos();this.consumeCloseTag(),this.report("stray-close-tag","error","Close tag without a matching open tag",this.r.span(r))}let n={kind:"Root",children:t,loc:this.r.span(e)};return $l(n),this.validateTree(n),this.accessibility&&this.diagnostics.push(...Hl(n)),{root:n,diagnostics:this.diagnostics}}validateTree(e){let t=n=>{let r=null;for(let i of n)i.kind==="Text"&&/^\s*$/.test(i.value)||(i.kind==="Element"||i.kind==="Component"?(i.attributes.some(s=>s.kind==="ElseDirective")&&(r!=null&&(r.kind==="Element"||r.kind==="Component")&&r.attributes.some(c=>c.kind==="IfDirective")||this.report("else-without-if","error","`else` must immediately follow an element with `if`",i.loc)),r=i):r=null,"children"in i&&i.children&&t(i.children))};t(e.children)}parseChildren(){let e=[];for(;!this.r.eof()&&!this.r.startsWith("</");){if(this.r.startsWith("<!--")){e.push(this.parseComment());continue}if(this.isFragmentStart()){e.push(this.parseFragment());continue}if(this.isDynamicTagStart()){e.push(this.parseDynamicComponent());continue}if(this.isTagStart()){e.push(this.parseElement());continue}if(this.r.atHole()){let n=this.r.takeHole(),r={kind:"Expression",hole:n.index,loc:n.loc};e.push(r);continue}let t=this.readText();t&&e.push(t)}return e}isTagStart(){return this.r.peek()==="<"&&/[A-Za-z]/.test(this.r.peek(1))}isFragmentStart(){return this.r.peek()==="<"&&this.r.peek(1)===">"}isDynamicTagStart(){return this.r.peek()==="<"&&this.r.holeFollows()}parseDynamicComponent(){let e=this.r.pos();this.r.advance();let t=this.r.takeHole().index,n=this.parseAttributes(!0);this.r.skipWhitespace();let r=!1,i=[];return this.r.startsWith("/>")?(this.r.advance(),this.r.advance(),r=!0):(this.r.peek()===">"&&this.r.advance(),i=this.parseChildren(),this.r.startsWith("</")?(this.r.advance(),this.r.advance(),this.r.atHole()?this.r.takeHole():this.readName(),this.r.skipWhitespace(),this.r.peek()===">"&&this.r.advance()):this.report("unclosed-tag","error","Unclosed dynamic component",this.r.span(e))),{kind:"Component",tag:"",tagHole:t,attributes:n,children:i,selfClosing:r,loc:this.r.span(e)}}readText(){let e=this.r.pos(),t="";for(;!this.r.eof()&&!this.r.atHole()&&!(this.r.startsWith("</")||this.r.startsWith("<!--")||this.isTagStart()||this.isFragmentStart()||this.isDynamicTagStart());)t+=this.r.advance();return t?{kind:"Text",value:t,raw:!1,loc:this.r.span(e)}:null}parseComment(){let e=this.r.pos();this.r.advance(),this.r.advance(),this.r.advance(),this.r.advance();let t="";for(;!this.r.eof()&&!this.r.startsWith("-->");){if(this.r.atHole()){this.r.takeHole(),t+="\0";continue}t+=this.r.advance()}return this.r.startsWith("-->")?(this.r.advance(),this.r.advance(),this.r.advance()):this.report("unclosed-comment","warning","Unterminated comment",this.r.span(e)),{kind:"Comment",value:t,loc:this.r.span(e)}}parseFragment(){let e=this.r.pos();this.r.advance(),this.r.advance();let t=this.parseChildren();if(this.r.startsWith("</")){let n=this.consumeCloseTag();n&&this.report("mismatched-close-tag","error",`Expected </> to close fragment, got </${n}>`,this.r.span(e))}else this.report("unclosed-tag","error","Unterminated fragment",this.r.span(e));return{kind:"Fragment",children:t,loc:this.r.span(e)}}parseElement(){let e=this.r.pos();this.r.advance();let t=this.readName(),n=Pl(t),r=this.parseAttributes(n);this.foldEachKey(r,e),this.r.skipWhitespace();let i=t.toLowerCase(),o=!n&&Rl.has(i),s=!n&&Ml.has(i),c=!1,a=[];if(this.r.startsWith("/>"))this.r.advance(),this.r.advance(),c=!0;else if(this.r.peek()===">"&&this.r.advance(),!s)if(a=o?this.parseRawText(t):this.parseChildren(),this.r.startsWith("</")){let f=this.consumeCloseTag();f&&f!==t&&this.report("mismatched-close-tag","error",`Expected </${t}>, got </${f}>`,this.r.span(e))}else this.report("unclosed-tag","error",`Unclosed <${t}>`,this.r.span(e));let l=this.r.span(e);if(n)return{kind:"Component",tag:t,tagHole:null,attributes:r,children:a,selfClosing:c,loc:l};let u=this.svg||Tl.has(t)?"svg":"html";return{kind:"Element",tag:t,namespace:u,attributes:r,children:a,selfClosing:c,rawText:o,loc:l}}parseRawText(e){let t=[],n="</"+e.toLowerCase(),r="",i=this.r.pos(),o=()=>{r&&t.push({kind:"Text",value:r,raw:!0,loc:this.r.span(i)}),r=""};for(;!this.r.eof()&&!this.startsWithCloseFor(n);){if(this.r.atHole()){o();let s=this.r.takeHole();t.push({kind:"Expression",hole:s.index,loc:s.loc}),i=this.r.pos();continue}r||(i=this.r.pos()),r+=this.r.advance()}return o(),t}startsWithCloseFor(e){let t=0;for(;t<e.length;){let n=this.r.peek(t);if(n===""||n.toLowerCase()!==e[t])return!1;t++}return!0}parseAttributes(e){let t=[];for(;!this.r.eof()&&(this.r.skipWhitespace(),!(this.r.peek()===">"||this.r.startsWith("/>")));){if(this.r.atHole()){let c=this.r.takeHole();t.push({kind:"Spread",hole:c.index,loc:c.loc});continue}if(this.r.startsWith("...")){let c=this.r.pos();if(this.r.advance(),this.r.advance(),this.r.advance(),this.r.atHole()){let a=this.r.takeHole();t.push({kind:"Spread",hole:a.index,loc:this.r.span(c)})}else this.report("invalid-binding","error","Spread `...` must be followed by ${…}",this.r.span(c));continue}let n=this.r.pos(),r=this.readName();if(!r){this.r.advance();continue}let i=this.r.span(n);this.r.skipWhitespace();let o=null;this.r.peek()==="="&&(this.r.advance(),this.r.skipWhitespace(),o=this.parseAttrValue());let s={name:r,nameLoc:i,value:o,loc:this.r.span(n),report:(c,a)=>this.report(c,"error",a,this.r.span(n))};t.push(Nl(s,this.directives,{component:e}))}return t}parseAttrValue(){if(this.r.atHole())return{kind:"hole",hole:this.r.takeHole().index};let e=this.r.peek();return e==='"'||e==="'"?this.classifyParts(this.readQuotedParts(e)):{kind:"static",value:this.r.readWhile(n=>!/[\s>]/.test(n))}}readQuotedParts(e){this.r.advance();let t=[],n="";for(;!this.r.eof()&&this.r.peek()!==e;){if(this.r.atHole()){n&&(t.push({text:n}),n=""),t.push({hole:this.r.takeHole().index});continue}let r=this.r.advance();if(r==="")break;n+=r}return n&&t.push({text:n}),this.r.peek()===e&&this.r.advance(),t}classifyParts(e){let t=e.filter(n=>"hole"in n);return t.length===0?{kind:"static",value:e.map(n=>"text"in n?n.text:"").join("")}:e.length===1?{kind:"hole",hole:t[0].hole}:{kind:"mixed",parts:e}}foldEachKey(e,t){let n=null,r=0,i=0,o=0,s=0;for(let u of e)u.kind==="EachDirective"?(n=u,i++):u.kind==="IfDirective"?r++:u.kind==="ElseDirective"?o++:u.kind==="RefBinding"&&s++;let c=this.r.span(t);i>1&&this.report("duplicate-directive","error","Multiple `each` directives on one element",c),r>1&&this.report("duplicate-directive","error","Multiple `if` directives on one element",c),s>1&&this.report("duplicate-directive","error","Multiple `ref` bindings on one element",c),r>0&&i>0&&this.report("unsupported-combination","error","`if` and `each` cannot both apply to one element — wrap one in another element",c),r>0&&o>0&&this.report("invalid-directive","error","`if` and `else` cannot be on the same element",c);let a=e.findIndex(u=>u.kind==="Attribute"&&u.name==="key");if(!n){a!==-1&&this.report("invalid-directive","error","`key` requires an `each` directive on the same element",c);return}if(a===-1)return;let l=e[a];l.kind==="Attribute"&&l.value&&(l.value.kind==="static"?n.key={static:l.value.value}:l.value.kind==="hole"&&(n.key={hole:l.value.hole})),e.splice(a,1)}readName(){return this.r.readWhile(e=>Wl.test(e))}consumeCloseTag(){this.r.advance(),this.r.advance();let e=this.readName();return this.r.skipWhitespace(),this.r.peek()===">"&&this.r.advance(),e}report(e,t,n,r){this.diagnostics.push({code:e,severity:t,message:n,loc:r})}};function Fn(e,t={}){return new Bl(e,t).parse()}function Vl(e){let t=[],n=0;return e.forEach((r,i)=>{t.push({kind:"static",text:r,start:n}),n+=r.length,i<e.length-1&&t.push({kind:"hole",index:i,start:n,end:n})}),t}function es(e,t={}){return Fn(Vl(e),t)}var ts="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fl=new Uint8Array(64),Ul=new Uint8Array(128);for(let e=0;e<ts.length;e++){let t=ts.charCodeAt(e);Fl[e]=t,Ul[t]=e}var Bd=1024*16,ns="data-fx-s";function Kl(e,t){let n=r=>{let i=r.children;if(i)for(let o=i.length-1;o>=0;o--){let s=i[o];s.kind==="element"&&s.tag==="style"&&t.owner?i.splice(o,1):n(s)}t.scope&&r.kind==="element"&&r.tag!=="style"&&r.props&&!r.props.some(o=>o.name===ns)&&r.props.unshift({name:ns,kind:"attr",literal:t.scope})};n(e)}function zl(e){switch(e.kind){case"event":return"event";case"ref":return"ref";case"spread":return"spread";case"class":case"style":return"class-or-style-directive";case"attr":case"prop":return e.reactive?"reactive-prop":e.expr!==void 0?"expression-prop":void 0;default:return"expression-prop"}}function Jl(e){let t=[],n=new Map,r=i=>{switch(i.kind){case"text":return!0;case"expr":return!1;case"component":case"control":for(let o of i.children)r(o);return!1;case"fragment":for(let o of i.children)r(o);return!1;case"element":{let o=!0;for(let c of i.children)r(c)||(o=!1);let s;for(let c of i.props)if(s=zl(c),s)break;return!s&&!o&&(s=Gl(i)),i.static=!s,s?n.set(i,s):t.push(i),i.static}default:return!1}};for(let i of Array.isArray(e)?e:[e])r(i);return{staticElements:t,reasons:n}}function Gl(e){for(let t of e.children){if(t.kind==="expr")return"expression-child";if(t.kind==="component")return"component-child";if(t.kind==="control")return"control-child";if(t.kind==="element"&&!t.static||t.kind==="fragment")return"expression-child"}return"expression-child"}var Kn={kind:"eager"},Yl=["pointerdown","focusin","keydown"],rs=new Set(["eager","idle","visible","interaction","media","never"]),Dt=class extends Error{};function Xl(e,t){let n=e.slice(5);if(!rs.has(n))throw new Dt(`Unknown load strategy 'load:${n}'. Expected one of ${[...rs].join(", ")}.`);switch(n){case"eager":return Kn;case"idle":return{kind:"idle"};case"never":return{kind:"never"};case"visible":return t?{kind:"visible",rootMargin:t}:{kind:"visible"};case"interaction":return{kind:"interaction",events:t?Zl(t):[...Yl]};case"media":if(!t)throw new Dt(`'load:media' needs a query, e.g. load:media="(min-width: 1024px)".`);return{kind:"media",query:t};default:throw new Dt(`Unhandled load strategy '${n}'.`)}}function Zl(e){let t=e.split(/[\s,]+/).map(n=>n.trim()).filter(Boolean);if(t.length===0)throw new Dt("'load:interaction' was given no event names.");return t}function Ql(e){return e.kind!=="eager"&&e.kind!=="never"}var Jn=["Show","For","Index","Switch","Match","Portal","Dynamic","ErrorBoundary"],Gn=["Suspense","SuspenseList","Await"],Yn=["Router","Outlet","Redirect","Link"],Vd=[...Jn,...Gn,...Yn],is=new Set([...Jn,...Gn]);function ef(e={}){let{controlFlowModule:t="@fluixi/dom",coreModule:n="@fluixi/core",routerModule:r="@fluixi/core/router"}=e,i={};for(let o of Jn)i[o]=t;for(let o of Gn)i[o]=n;for(let o of Yn)i[o]=r;return i}function tf(e,t={}){let{resolver:n,isBound:r,modules:i,strategyFor:o}=t,s=ef(i),c=new Map,a=new Set,l=f=>{let{name:d}=f;if(!d||d.includes(".")||r?.(d))return;let m=u(d);if(!m){a.add(d);return}let g=m.origin==="builtin"&&is.has(d)?Kn:o?.(f)??Kn;f.source={...m,loading:g},c.set(d,f.source)},u=f=>{if(is.has(f))return{module:s[f],export:f,origin:"builtin"};let d=n?.resolve(f);if(d)return{module:d.module,export:d.export,origin:"rule"};if(Yn.includes(f))return{module:s[f],export:f,origin:"builtin"}};return Xn(e,f=>{f.kind==="component"&&l(f)}),{resolved:c,unresolved:[...a]}}function Xn(e,t){let n=Array.isArray(e)?e:[e];for(let r of n){t(r);let i=r.children;i&&Xn(i,t)}}function nf(e){let t=[];Xn(e,o=>{o.kind==="component"&&o.source&&t.push(o)});let n=new Set,r=new Set;for(let o of t){let{module:s,loading:c}=o.source;c.kind==="eager"&&n.add(s),c.kind==="never"&&r.add(s)}let i=new Map;for(let o of t){let s=o.source;Ql(s.loading)&&n.has(s.module)&&(s.loading={kind:"eager"},i.set(s.module,(i.get(s.module)??0)+1))}return{collapsed:i,conflicted:[...r].filter(o=>n.has(o))}}var rf=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),hs={className:"class",htmlFor:"for"},of=new Set(["innerHTML","outerHTML","innerText","textContent","value","checked","selected","muted","defaultValue","defaultChecked","children","ref"]),sf=new Set(["script","style","textarea","title"]);function ps(e){return sf.has(e)}function cf(e){return hs[e]??e}function Zn(e){return e.kind!=="attr"||e.expr!==void 0||e.name.includes(":")?!1:!of.has(e.name)}function ms(e){if(!e.static||ps(e.tag))return!1;for(let t of e.props)if(!Zn(t))return!1;for(let t of e.children)if(t.kind!=="text"&&!(t.kind==="element"&&ms(t)))return!1;return!0}function Qn(e){let t=e.props.map(uf).filter(Boolean).join(""),n=`<${e.tag}${t}>`;return rf.has(e.tag)?n:`${n}${e.children.map(af).join("")}</${e.tag}>`}function af(e){if(e.kind==="text")return ff(e.value);if(e.kind!=="element")throw new Error(`serializeStatic: unexpected ${e.kind}`);return Qn(e)}function uf(e){let t=hs[e.name]??e.name,n=e.literal;return n===!0||n===void 0?` ${t}`:n===!1||n===null?"":` ${t}="${lf(String(n))}"`}function lf(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ff(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function os(e){let t=[],n,r=i=>{n??=i.at?.file,t.push(i.at?.line??0,i.at?.column??0);for(let o of i.children)o.kind==="element"&&r(o)};return r(e),n&&t.some(i=>i!==0)?{file:n,pos:t}:void 0}var df="<!--fx-->",hf="<!--fx/-->";function jt(e){return e.kind==="expr"||e.kind==="component"||e.kind==="control"}function pf(e){return e.kind==="text"||e.kind==="element"&&ys(e)}function ys(e){return e.svg||ps(e.tag)||!e.props.every(t=>Zn(t))?!1:e.children.every(t=>pf(t)||jt(t))}function It(e){if(jt(e))return!0;let t=e.children;return t?t.some(It):!1}function vs(e){for(let t=0;t<e.children.length;t++){let n=e.children[t];if(n.kind==="text"&&(n.value===""||e.children[t+1]?.kind==="text"))return!1}return e.children.every(t=>t.kind!=="element"||vs(t))}function mf(e){if(!ys(e)||!vs(e)||!e.children.some(It))return null;let t=[],n=[],r=0,i=s=>{let c=`_n$${r++}`;return t.push({ref:c,expr:s}),c};return o(e,"_el$"),{html:yf(e),tag:e.tag,steps:t,holes:n};function o(s,c){let a=-1;s.children.forEach((u,f)=>{It(u)&&(a=f)});let l=null;for(let u=0;u<=a;u++){let f=s.children[u],d=l?`${l}.nextSibling`:`${c}.firstChild`;if(jt(f)){let g=i(d),v=i(`holeEnd(${g})`);n.push({parentRef:c,startRef:g,endRef:v,node:f}),l=v;continue}let m=i(d);f.kind==="element"&&It(f)&&o(f,m),l=m}}}function yf(e){return Qn(gs(e)).split(bs).join(df+hf)}function gs(e){return{...e,children:e.children.map(t=>jt(t)?{kind:"text",value:bs}:t.kind==="element"?gs(t):t)}}var bs="\0fx-hole\0",ws={version:1,module:"@fluixi/dom",symbols:["createNativeElement","insert","spread","setAttribute","delegateEvents","createComponent","createMemo","untrack","Show","For","Index","Switch","Match","Dynamic","ErrorBoundary"]},Fd={version:2,module:"@fluixi/dom",symbols:[...ws.symbols,"template","cloneTemplate","walk"]},T="@fluixi/reactive/signal",vf={$signal:{export:"signal",module:T,returns:"signal-handle"},$memo:{export:"memo",module:T,returns:"memo-handle"},$effect:{export:"effect",module:T,returns:"effect"},$store:{export:"store",module:"@fluixi/reactive/store",returns:"store-handle"},$resource:{export:"resource",module:T,returns:"resource-handle"},$cachedResource:{export:"cachedResource",module:"@fluixi/reactive/cached-resource",returns:"resource-handle"},$selector:{export:"createSelector",module:T,returns:"memo-accessor"},$deferred:{export:"createDeferred",module:T,returns:"memo-accessor"},$untrack:{export:"untrack",module:T,returns:"plain"},$untrackStore:{export:"untrackStore",module:"@fluixi/reactive/store",returns:"plain"},$batch:{export:"batch",module:T,returns:"plain"},$cleanup:{export:"onCleanup",module:T,returns:"plain"},$root:{export:"root",module:T,returns:"plain"},$context:{export:"context",module:T,returns:"plain"},$renderEffect:{export:"renderEffect",module:T,returns:"effect"},$computed:{export:"computed",module:T,returns:"effect"},$storage:{export:"useStorage",module:"@fluixi/core/storage",returns:"plain"},$asyncStorage:{export:"useAsyncStorage",module:"@fluixi/core/storage",returns:"plain"},$persisted:{export:"persisted",module:"@fluixi/core/storage",returns:"signal-handle"},$env:{export:"env",module:"@fluixi/start/env",returns:"plain"}},Ud=new RegExp(`\\$(?:${Object.keys(vf).map(e=>e.slice(1)).join("|")})\\s*\\(`),gf="__fx_source",bf="__fx_hole",We=(e,t,n,r)=>`(globalThis.${bf} ?? ((f) => f))(${e},${t},${n}${r===void 0?"":`,${JSON.stringify(r)}`})`,wf="__fx_props",Sf=(e,t)=>`(globalThis.${wf} ?? ((p) => p))(${e},${JSON.stringify(t)})`;function Ss(e,t){let n=e[t];for(let r=t+1;r<e.length;r++){let i=e[r];if(i==="\\")r++;else{if(i===n)return r+1;if(i===`
3
+ `)return-1}}return-1}function xs(e,t){let n=t+1;for(;n<e.length;){let r=e[n];if(r==="\\")n+=2;else{if(r==="`")return n+1;if(r==="$"&&e[n+1]==="{"){let i=1;for(n+=2;n<e.length&&i>0;){let o=e[n];if(o==="\\")n+=2;else if(o==="`"){let s=xs(e,n);if(s<0)return-1;n=s}else if(o==='"'||o==="'"){let s=Ss(e,n);if(s<0)return-1;n=s}else o==="{"?i++:o==="}"&&i--,n++}}else n++}}return-1}function xf(e,t){let n=!1;for(let r=t+1;r<e.length;r++){let i=e[r];if(i==="\\")r++;else if(i==="[")n=!0;else if(i==="]")n=!1;else{if(i===`
4
+ `)return-1;if(i==="/"&&!n){let o=r+1;for(;o<e.length&&/[a-z]/i.test(e[o]);)o++;return o}}}return-1}function kf(e){return e!==""&&/[A-Za-z0-9_$)\]]/.test(e)}function Ef(e){let t=0,n="",r=0;for(;r<e.length;){let i=e[r];if(i==='"'||i==="'"){let o=Ss(e,r);if(o<0)return null;r=o,n=i}else if(i==="`"){let o=xs(e,r);if(o<0)return null;r=o,n=i}else{if(i==="/"&&e[r+1]==="/")return null;if(i==="/"&&e[r+1]==="*"){let o=e.indexOf("*/",r+2);if(o<0)return null;r=o+2}else if(i==="/"&&!kf(n)){let o=xf(e,r);if(o<0)return null;r=o,n="/"}else{if(i==="("||i==="["||i==="{")t++;else if(i===")"||i==="]"||i==="}"){if(t--,t<0)return null}else if(i===","&&t===0)return!0;/\s/.test(i)||(n=i),r++}}}return t===0?!1:null}function A(e,t){let n=e.trim();return n===""?`(${e})`:t==="arrowBody"&&n[0]==="{"?`(${e})`:Ef(n)===!1?e:`(${e})`}var Af={show:"Show",for:"For",index:"Index",switch:"Switch",match:"Match",dynamic:"Dynamic",errorBoundary:"ErrorBoundary",suspense:"Suspense"};function _f(e){return/^[A-Za-z_$][A-Za-z0-9_$]*$/.test(e)}function zn(e){return _f(e)?e:JSON.stringify(e)}function $f(e){if(e.expr!==void 0){if(e.name==="ref"&&e.at)return We(A(e.expr,"value"),e.at.line,e.at.column,e.expr);if(!e.reactive)return A(e.expr,"value");let t=`() => ${A(e.expr,"arrowBody")}`;return e.at?We(t,e.at.line,e.at.column,e.directive):t}return JSON.stringify(e.literal??!0)}function Of(e){return e.expr!==void 0?A(e.expr,"value"):JSON.stringify(e.literal??!0)}function Cf(e,t,n){let r=e.filter(c=>c.kind==="spread"),o=e.filter(c=>c.kind!=="spread").map(c=>`${zn(c.name)}: ${$f(c)}`);t!=null&&o.push(`children: ${t}`);let s=`{ ${o.join(", ")} }`;return r.length>0?(n.add("mergeProps"),`mergeProps(${r.map(c=>c.expr).join(", ")}, ${s})`):s}function ss(e,t){return t?We(e,t.line,t.column):e}function ks(e,t,n){return e.length===1?Be(e[0],t,n):`[${e.map(r=>Be(r,t,n)).join(", ")}]`}function cs(e,t,n,r,i,o){r.add("createMemo"),r.add("createComponent");let s=t.filter(d=>d.kind==="spread"),c=t.filter(d=>d.kind!=="spread"),a=c.map(d=>[d.name,Of(d)]);n.length>0&&a.push(["children",ks(n,r,i)]);let l=`{ ${a.map(([d,m])=>`get ${zn(d)}() { return ${m}; }`).join(", ")} }`;if(a.some(([,d])=>/\bthis\b/.test(d))){let d=a.map(([g,v])=>`${JSON.stringify(g)}: () => (${v})`);l=`((_$t) => ({ ${a.map(([g])=>`get ${zn(g)}() { return _$t[${JSON.stringify(g)}](); }`).join(", ")} }))({ ${d.join(", ")} })`}s.length>0&&(r.add("mergeProps"),l=`mergeProps(${s.map(d=>d.expr).join(", ")}, ${l})`);let u={};for(let d of c)d.at&&(u[d.name]=[d.at.line,d.at.column]);Object.keys(u).length&&(l=Sf(l,u));let f=o?`globalThis.${gf}?.(${JSON.stringify(o.file)},${o.line},${o.column},${JSON.stringify(e)}), `:"";return`createMemo(${A(`${f}() => createComponent(${e}, ${l})`,"value")})`}function Nf(e,t){let n=cf(t.name),r=t.literal;return r===!0||r===void 0?`${e}.setAttribute(${JSON.stringify(n)}, "");`:r===!1||r===null?"":`${e}.setAttribute(${JSON.stringify(n)}, ${JSON.stringify(String(r))});`}var Es=!1;function Be(e,t,n){switch(e.kind){case"text":return JSON.stringify(e.value);case"expr":{if(!e.reactive)return A(e.code,"value");let r=`() => ${A(e.code,"arrowBody")}`;return e.at?We(r,e.at.line,e.at.column):r}case"fragment":return e.children.length===0?"null":ks(e.children,t,n);case"component":return ss(cs(e.name,e.props,e.children,t,n,e.at),e.bindAt??e.at);case"control":{let r=Af[e.control]??e.control;return t.add(r),ss(cs(r,e.props,e.children,t,n),e.bindAt)}case"element":{if(n&&e.static&&!e.svg&&ms(e)){t.add("templateNode");let c=`_tmpl$${n.length}`;n.push({id:c,html:Qn(e),tag:e.tag,svg:!1});let a=os(e);return a?`templateNode(${c}, ${JSON.stringify(e.tag)}, false, false, ${JSON.stringify(a)})`:`templateNode(${c}, ${JSON.stringify(e.tag)})`}if(n&&Es){let c=mf(e);if(c){t.add("templateNode"),t.add("insert"),t.add("holeEnd"),t.add("holeContent"),t.add("holeScope");let a=`_tmpl$${n.length}`;n.push({id:a,html:c.html,tag:c.tag,svg:!1});let l=os(e),u=[`const _el$ = templateNode(${a}, ${JSON.stringify(c.tag)}, true${l?`, false, ${JSON.stringify(l)}`:""});`];for(let f of c.steps)u.push(`const ${f.ref} = ${f.expr};`);for(let f of c.holes)u.push(`insert(${f.parentRef}, holeScope(${f.startRef}, () => ${A(Be(f.node,t,n),"arrowBody")}), ${f.endRef}, holeContent(${f.startRef}, ${f.endRef}));`);return u.push("return _el$;"),`(() => { ${u.join(" ")} })()`}}t.add("createNativeElement");let r=JSON.stringify(e.tag),i="_el$",o=[],s=e.at?`${r}, ${e.svg}, ${JSON.stringify(e.at)}`:e.svg?`${r}, true`:r;if(o.push(`const ${i} = createNativeElement(${s});`),e.props.length>0)if(!e.svg&&e.props.every(Zn))for(let c of e.props)o.push(Nf(i,c));else{t.add("spread");let c=e.svg?", isSVG: true":"",a=e.props.filter(u=>u.kind!=="spread"&&u.expr!==void 0&&u.reactive&&u.name!=="ref").map(u=>u.name),l=e.tag.includes("-")?`, isCustomElement: true, accessors: ${JSON.stringify(a)}`:"";o.push(`spread({ element: ${i}, props: ${Cf(e.props,null,t)}${c}${l} });`)}for(let c of e.children){t.add("insert");let a=Be(c,t,n),l=c.kind==="expr"&&c.reactive||c.kind==="component"||c.kind==="control";o.push(l?`insert(${i}, ${a}, null);`:`insert(${i}, ${a});`)}return o.push(`return ${i};`),`(() => { ${o.join(" ")} })()`}}}function As(e,t){if(!t||t.length===0)return e;let n=new Map(t.map(r=>[r.id,JSON.stringify(r.html)]));return e.replace(/_tmpl\$\d+/g,r=>n.get(r)??r)}var _s={name:"imperative",contract:ws,emit(e,t){let n=new Set,r=t?.templateClone!==!1?[]:void 0;return Es=t?.partialTemplates===!0,{code:Be(e,n,r),imports:Array.from(n),templates:r}}},Tf=e=>"components"in e;function as(e,t){return e.replace(/\$(\d+)/g,(n,r)=>t[Number(r)]??n)}function Rf(e,t){return typeof t=="string"?{module:t,export:e}:t}function Mf(e=[]){let t=new Map,n=[],r=[];for(let s of e){if(!Tf(s)){r.push(s);continue}for(let[c,a]of Object.entries(s.components)){let l=Rf(c,a),u=t.get(c);if(u&&u.module!==l.module){let f=n.find(d=>d.name===c);f?f.modules.push(l.module):n.push({name:c,modules:[u.module,l.module]});continue}t.set(c,l)}}let i=new Map;return{resolve:s=>{if(i.has(s))return i.get(s);let c=t.get(s);if(!c)for(let a of r){let l=s.match(new RegExp(a.match.source,a.match.flags.replace("g","")));if(l){c={module:as(a.module,l),export:a.export?as(a.export,l):s};break}}return i.set(s,c),c},names:()=>[...t.keys()],conflicts:()=>n}}function us(e){let t=e.split(/\r\n|\n|\r/),n=0;for(let i=0;i<t.length;i++)/[^ \t]/.test(t[i])&&(n=i);let r="";for(let i=0;i<t.length;i++){let o=t[i].replace(/\t/g," ");i!==0&&(o=o.replace(/^ +/,"")),i!==t.length-1&&(o=o.replace(/ +$/,"")),o&&(i!==n&&(o+=" "),r+=o)}return r}var ls={quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Pf=/&(?:#[xX]([0-9a-fA-F]{1,6})|#([0-9]{1,7})|([a-zA-Z][a-zA-Z0-9]{1,31}));/g;function Un(e){return e.includes("&")?e.replace(Pf,(t,n,r,i)=>{let o=n?parseInt(n,16):r?parseInt(r,10):Object.prototype.hasOwnProperty.call(ls,i)?ls[i]:void 0;return o!==void 0&&o<=1114111?String.fromCodePoint(o):t}):e}var fs=new Set(["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup"]);function Df(e){return e.replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}var If="container";function ds(e){return e.charAt(0).toUpperCase()+e.slice(1)}var jf=class{constructor(e,t,n,r){this.holes=e,this.used=t,this.sourceFile=n,this.positionAt=r}tagAt(e){let t=e.loc?.start;if(!this.sourceFile||!this.positionAt||t==null)return;let{line:n,column:r}=this.positionAt(t);return{file:this.sourceFile,line:n,column:r}}hole(e){return this.holes[e]??{code:"undefined",reactive:!1}}emit(e){let{code:t,imports:n,templates:r}=_s.emit(e,{});for(let i of n)this.used.add(i);return As(t,r)}lowerRoot(e){let t=this.lowerChildren(e);return t.length===1?t[0]:{kind:"fragment",children:t}}lowerChildren(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(r.kind==="Element"||r.kind==="Component"){let o=r.attributes.find(s=>s.kind==="IfDirective");if(o&&o.kind==="IfDirective"){let s=n+1;s<e.length&&this.isBlankText(e[s])&&s++;let c=e[s],a=c&&(c.kind==="Element"||c.kind==="Component")&&c.attributes.some(l=>l.kind==="ElseDirective");t.push(this.lowerIf(r,o.hole,a?c:null)),a&&(n=s);continue}}let i=this.lowerNode(r);i&&t.push(i)}return t}isBlankText(e){return e.kind==="Text"&&!e.raw&&us(e.value)===""}lowerNode(e){switch(e.kind){case"Text":{if(e.raw)return{kind:"text",value:e.value};let t=Un(us(e.value));return t?{kind:"text",value:t}:null}case"Comment":return null;case"Expression":{let t=this.hole(e.hole);return{kind:"expr",code:t.code,reactive:t.reactive,...t.at?{at:t.at}:{}}}case"Fragment":return{kind:"fragment",children:this.lowerChildren(e.children)};case"Element":return this.lowerElement(e);case"Component":return this.lowerComponent(e);default:return null}}lowerElement(e){let t=e.attributes.find(o=>o.kind==="Attribute"&&o.name==="is");if(e.tag==="component"&&t&&t.value&&t.value.kind==="hole"){let o=e.attributes.filter(c=>c!==t),s=this.lowerComponent({...e,kind:"Component",tag:"Dynamic",tagHole:null,attributes:o});return s.props.unshift({name:"component",kind:"attr",expr:`() => ${A(this.hole(t.value.hole).code,"arrowBody")}`}),s}let n=this.lowerEach(e),r=n?[n]:this.lowerChildren(e.children);if(e.tag===If)return r.length===1?r[0]:{kind:"fragment",children:r};let i=this.tagAt(e);return{kind:"element",tag:e.tag,svg:e.namespace==="svg",props:this.lowerAttributes(e.attributes,!0),children:r,static:!1,...i?{at:i}:{}}}lowerComponent(e){let t=e.tagHole!=null?this.hole(e.tagHole).code:e.tag,n=this.lowerAttributes(e.attributes),{slots:r,rest:i}=this.partitionSlots(e.children);for(let[l,u]of r){let f=u.length===1?u[0]:{kind:"fragment",children:u},d={name:l,kind:"attr",expr:this.emit(f),jsxElement:!0},m=n.findIndex(g=>g.name===l);m>=0?n[m]=d:n.push(d)}let o=e.attributes.find(l=>l.kind==="LoadDirective"),s=o?Xl(`load:${o.strategy}`,o.modifier):void 0,c=n.find(l=>l.at&&l.reactive)?.at,a=this.tagAt(e);return{kind:"component",name:t,props:n,children:this.lowerChildren(i),...a?{at:a}:{},...c?{bindAt:c}:{},...s?{load:s}:{}}}partitionSlots(e){let t=new Map,n=[];for(let r of e){if(r.kind==="Element"||r.kind==="Component"){let i=r.attributes.find(o=>o.kind==="Attribute"&&o.name==="slot");if(i&&i.value&&i.value.kind==="static"){let o={...r,attributes:r.attributes.filter(a=>a!==i)},s=o.kind==="Element"?this.lowerElement(o):this.lowerComponent(o),c=t.get(i.value.value)??[];c.push(s),t.set(i.value.value,c);continue}}n.push(r)}return{slots:t,rest:n}}lowerIf(e,t,n){let r=this.hole(t),i=[{name:"when",kind:"attr",expr:r.code,reactive:r.reactive,...r.at?{at:r.at}:{}}];if(n){let c=this.stripAndLower(n,a=>a.kind==="ElseDirective");i.push({name:"fallback",kind:"attr",expr:this.emit(c),jsxElement:!0})}let o=this.stripAndLower(e,c=>c.kind==="IfDirective"),s=this.tagAt(e);return{kind:"component",name:"Show",props:i,children:[o],...s?{at:s}:{},...r.at?{bindAt:r.at}:{}}}lowerEach(e){let t=e.attributes.find(a=>a.kind==="EachDirective");if(!t||t.kind!=="EachDirective")return null;let n=this.hole(t.hole),r=[{name:"each",kind:"attr",expr:n.code,reactive:n.reactive,...n.at?{at:n.at}:{}}];if(t.key){let a="static"in t.key?`(item) => item[${JSON.stringify(t.key.static)}]`:this.hole(t.key.hole).code;r.push({name:"by",kind:"attr",expr:a})}let i=this.itemArrow(e),o;if(i){let a=i.bodyReactive?`() => ${A(i.body,"arrowBody")}`:A(i.body,"arrowBody");o=`(${i.params.join(", ")}) => ${a}`}else{let a=this.lowerChildren(e.children),l=a.length===1?a[0]:{kind:"fragment",children:a};o=`() => ${A(this.emit(l),"arrowBody")}`}let s=[{kind:"expr",code:o,reactive:!1}],c=this.tagAt(e);return{kind:"component",name:"For",props:r,children:s,...c?{at:c}:{},...n.at?{bindAt:n.at}:{}}}itemArrow(e){let t=e.children.filter(n=>!this.isBlankText(n));return t.length!==1||t[0].kind!=="Expression"?null:this.hole(t[0].hole).arrow??null}stripAndLower(e,t){let n={...e,attributes:e.attributes.filter(r=>!t(r))};return n.kind==="Element"?this.lowerElement(n):this.lowerComponent(n)}lowerAttributes(e,t=!1){let n=!1,r=(u,f)=>{if(n||=f.reactive,!t||!f.reactive)return`${JSON.stringify(u)}: ${f.code}`;let d=`() => ${A(f.code,"arrowBody")}`;return`${JSON.stringify(u)}: ${f.at?We(d,f.at.line,f.at.column):d}`},i=[],o=[],s,c=[],a,l=[];for(let u of e)switch(u.kind){case"IfDirective":case"EachDirective":case"ElseDirective":break;case"Attribute":i.push(this.plainAttr(u));break;case"PropertyBinding":i.push({name:u.name,kind:"prop",expr:this.hole(u.hole).code,reactive:this.hole(u.hole).reactive,...this.hole(u.hole).at?{at:this.hole(u.hole).at}:{}});break;case"EventBinding":i.push(this.eventProp(u));break;case"RefBinding":i.push({name:"ref",kind:"ref",expr:this.hole(u.hole).code,reactive:this.hole(u.hole).reactive,...this.hole(u.hole).at?{at:this.hole(u.hole).at}:{}});break;case"Spread":i.push({name:"",kind:"spread",expr:this.hole(u.hole).code});break;case"ClassDirective":{let f=this.hole(u.hole);o.push(r(u.name,f)),s??=f.at;break}case"StyleDirective":{let f=this.hole(u.hole);c.push(r(u.name,f)),a??=f.at;break}case"BindDirective":i.push(...this.bindProps(u.name,this.hole(u.hole)));break;case"UseDirective":{let f=u.name??(u.hole!=null?this.hole(u.hole).code:null);if(!f)break;l.push(u.name!=null&&u.hole!=null?`[${f}, () => ${A(this.hole(u.hole).code,"arrowBody")}]`:`[${f}]`);break}}if(o.length>0&&i.push({name:"classList",kind:"attr",expr:`{ ${o.join(", ")} }`,reactive:!t&&n,...s?{at:s}:{}}),c.length>0){let u=`{ ${c.join(", ")} }`,f=i.findIndex(d=>d.name==="style");if(f===-1)i.push({name:"style",kind:"attr",expr:u,reactive:!t&&n,...a?{at:a}:{}});else{let d=i[f],m=d.expr===void 0?JSON.stringify(d.literal):d.reactive?`() => ${A(d.expr,"arrowBody")}`:d.expr;i[f]={name:"style",kind:"attr",expr:`[${m}, ${u}]`,reactive:!1,...d.at?{at:d.at}:{}}}}return l.length>0&&i.push({name:"use",kind:"attr",expr:`[${l.join(", ")}]`}),i}eventProp(e){let t=e.name.toLowerCase(),n=this.hole(e.hole).code;if(!(e.syntax==="colon"||e.modifiers.length>0))return{name:"on"+ds(e.name),kind:"event",event:{name:t,delegated:fs.has(t)},expr:n};let i=this.wrapHandler(n,e.modifiers),o=this.eventOptions(e.modifiers),s=o?`[${i}, ${o}]`:i;return{name:"on:"+t,kind:"attr",expr:s}}wrapHandler(e,t){let n=t.includes("self")?"if (e.target !== e.currentTarget) return; ":"",r=[];return t.includes("prevent")&&r.push("e.preventDefault();"),t.includes("stop")&&r.push("e.stopPropagation();"),!n&&r.length===0?e:`(e) => { ${n}${r.join(" ")} return (${e})(e); }`}eventOptions(e){let t=[];return e.includes("capture")&&t.push("capture: true"),e.includes("once")&&t.push("once: true"),e.includes("passive")&&t.push("passive: true"),t.length?`{ ${t.join(", ")} }`:null}bindProps(e,t){let n=t.code,r=e==="checked",i=r?"change":"input",o=r?"checked":"value";this.used.add("bindPair");let s=`bindPair(${n})`;return[{name:e,kind:"attr",expr:`${s}[0]()`,reactive:!0,directive:`bind:${e}`,...t.at?{at:t.at}:{}},{name:"on"+ds(i),kind:"event",event:{name:i,delegated:fs.has(i)},expr:`(e) => ${s}[1](e.target.${o})`}]}plainAttr(e){let t=e.value,n=e.name;e.name==="class"?n=t&&t.kind==="hole"&&this.hole(t.hole).object?"classList":"className":e.name==="html"&&(n="innerHTML");let i={name:n,kind:"attr"};if(t==null)return i.literal=!0,i;if(t.kind==="static")return i.literal=Un(t.value),i;if(t.kind==="hole"){let a=this.hole(t.hole);return i.expr=a.code,i.reactive=a.reactive,a.at&&(i.at=a.at),i}let o=!1,s,c=t.parts.map(a=>{if("text"in a)return Df(Un(a.text));let l=this.hole(a.hole);return o=o||l.reactive,s??=l.at,"${"+l.code+"}"}).join("");return i.expr="`"+c+"`",i.reactive=o,s&&(i.at=s),i}};function Lf(e,t,n,r={}){let{root:i}=Fn(e,{svg:r.svg});return new jf(t,n,r.sourceFile,r.positionAt).lowerRoot(i.children)}function Hf(e){let t=[],n=0;return e.statics.forEach((r,i)=>{if(t.push({kind:"static",text:r,start:n}),n+=r.length,i<e.holes.length){let o=n+e.holes[i].code.length;t.push({kind:"hole",index:i,start:n,end:o}),n=o}}),t}function $s(e,t={}){if(e.statics.length!==e.holes.length+1)throw new Error(`[fluixi] compileTemplate: ${e.statics.length} static runs for ${e.holes.length} holes — a template always has exactly one more.`);return qf(Hf(e),e.holes,t)}function qf(e,t,n={}){let r=new Set,i=Lf(e,[...t],r,{svg:n.svg,...n.sourceFile?{sourceFile:n.sourceFile}:{},...n.positionAt?{positionAt:n.positionAt}:{}});n.templateStyles&&Kl(i,n.templateStyles),Jl(i),tf(i,{resolver:Mf(n.resolve??[]),modules:{controlFlowModule:n.controlFlowModule??"@fluixi/dom",coreModule:n.coreModule??"@fluixi/core",routerModule:n.routerModule??"@fluixi/core/router"},strategyFor:a=>a.load}),nf(i);let{code:o,imports:s,templates:c}=_s.emit(i,{templateClone:n.templateClone,partialTemplates:n.partialTemplates});for(let a of s)r.add(a);return n.hoistTemplates?{code:o,imports:[...r],ir:i,templates:c}:{code:As(o,c),imports:[...r],ir:i}}function Wf(e,t){switch(e.kind){case"Attribute":if(e.value&&e.value.kind==="hole")t.set(e.value.hole,"attr");else if(e.value&&e.value.kind==="mixed")for(let n of e.value.parts)"hole"in n&&t.set(n.hole,"attr");return;case"PropertyBinding":t.set(e.hole,"attr");return;case"BindDirective":t.set(e.hole,"bind");return;case"EventBinding":t.set(e.hole,"event");return;case"RefBinding":t.set(e.hole,"ref");return;case"Spread":t.set(e.hole,"spread");return;case"IfDirective":t.set(e.hole,"control");return;case"EachDirective":t.set(e.hole,"control"),e.key&&"hole"in e.key&&t.set(e.key.hole,"attr");return;default:return}}function er(e,t,n){for(let r of e)switch(r.kind){case"Expression":t.has(r.hole)||t.set(r.hole,"text");break;case"Element":case"Component":{r.kind==="Component"&&(r.tagHole!==null?t.set(r.tagHole,"component"):r.tag&&n.add(r.tag.split(".")[0]));let i=r.attributes.some(o=>o.kind==="EachDirective");for(let o of r.attributes)Wf(o,t);if(i)for(let o of r.children)o.kind==="Expression"&&t.set(o.hole,"render");er(r.children,t,n);break}case"Root":case"Fragment":er(r.children,t,n);break;default:break}}function Os(e){let t=new Map,n=new Set;return er(e.root.children,t,n),{holes:t,components:n}}var tr={...Vn,createMemo:tn},Bf=["For","Index","Show","Switch","Match","Portal","Dynamic","ErrorBoundary","Suspense"],nr=new Map;function Ns(e){for(let[t,n]of Object.entries(e))nr.set(t,n)}function Vf(e){return e==="text"||e==="attr"||e==="control"}function Ff(e,t){return e.map((n,r)=>{let i=t.get(r)??"text";return i==="render"?{code:`$$v[${r}]`,reactive:!1,arrow:{params:["$$item"],body:`$$v[${r}]($$item)`,bodyReactive:!1}}:typeof n=="function"&&Vf(i)?{code:`$$v[${r}]()`,reactive:!0}:{code:`$$v[${r}]`,reactive:!1}})}function Uf(e){if(nr.has(e))return nr.get(e);let t=globalThis[e];if(t!==void 0)return t;throw new Error(`[fluixi] <${e}> is not defined. Pass it as a hole — <\${${e}} /> — or register it with define({ ${e} }).`)}function Kf(e,t,n){let r=e,i=es(r,{svg:n}),o=i.diagnostics.filter(v=>v.severity==="error");if(o.length>0)throw new Error(`[fluixi] ${n?"svg":"html"}\`\`: ${o.map(v=>v.message).join("; ")}`);let{holes:s,components:c}=Os(i),{code:a,imports:l}=$s({statics:r,holes:Ff(t,s)},{svg:n}),u=l.filter(v=>!(v in tr));if(u.length>0)throw new Error(`[fluixi] no runtime binding for: ${u.join(", ")}`);let f=Array.from(new Set([...l,...Bf])).filter(v=>v in tr),d=Array.from(c).filter(v=>!f.includes(v)),m=[...f,...d],g=new Function(...m,"$$v",`return (${a});`);return{run:v=>g(...f.map(w=>tr[w]),...d.map(Uf),v)}}var Cs=new WeakMap;function zf(e){let t="";for(let n of e)t+=typeof n=="function"?"f":"v";return t}function Ts(e){return(t,...n)=>{let r=Cs.get(t);r||(r=new Map,Cs.set(t,r));let i=zf(n),o=r.get(i);return o||(o=Kf(t,n,e),r.set(i,o)),o.run(n)}}var Rs=Ts(!1),Ms=Ts(!0);return Hs(Jf);})();
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @fluixi/template-runtime v0.1.0-alpha.12 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/template-runtime v0.1.0-alpha.14 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @fluixi/template-runtime v0.1.0-alpha.12 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/template-runtime v0.1.0-alpha.14 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
 
3
3
  // src/index.ts
4
4
  import * as DOM from "@fluixi/dom";
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../../template-parser/dist/ast.d.ts","../../template-parser/dist/reader.d.ts","../../template-parser/dist/directives.d.ts","../../template-parser/dist/parser.d.ts","../../template-parser/dist/index.d.ts","../src/classify.ts","../../dom/dist/lib/dom/utils.d.ts","../../dom/dist/lib/dom/runtime.d.ts","../../reactive/dist/version.generated.d.ts","../../reactive/dist/lib/observable/types.d.ts","../../reactive/dist/lib/observable/subscription.d.ts","../../reactive/dist/lib/observable/observable.d.ts","../../reactive/dist/lib/observable/index.d.ts","../../reactive/dist/lib/subject.d.ts","../../reactive/dist/lib/signal/graph/detect.d.ts","../../reactive/dist/lib/signal/graph/derived.d.ts","../../reactive/dist/lib/signal/graph/runtime.d.ts","../../reactive/dist/lib/signal/graph/compat.d.ts","../../reactive/dist/lib/signal/graph/children.d.ts","../../reactive/dist/lib/signal/graph/ssr-hooks.d.ts","../../reactive/dist/lib/signal/signal.d.ts","../../reactive/dist/lib/signal/list.d.ts","../../reactive/dist/lib/signal/graph/resource.d.ts","../../reactive/dist/lib/signal/graph/debounced.d.ts","../../reactive/dist/lib/signal/graph/suspense.d.ts","../../reactive/dist/lib/signal/graph/error-boundary.d.ts","../../reactive/dist/lib/signal/graph/core.d.ts","../../reactive/dist/lib/signal/graph/index.d.ts","../../reactive/dist/lib/signal/graph/signal-next.d.ts","../../reactive/dist/lib/signal/graph/observe.d.ts","../../reactive/dist/lib/signal/graph/state.d.ts","../../reactive/dist/lib/signal/api.d.ts","../../reactive/dist/lib/signal/resource-api.d.ts","../../reactive/dist/lib/signal/index.d.ts","../../utils/dist/lib/maths/types/basic.d.ts","../../utils/dist/lib/maths/types/advanced.d.ts","../../utils/dist/lib/maths/types/negative.d.ts","../../utils/dist/lib/maths/types/operations.d.ts","../../utils/dist/lib/maths/types/index.d.ts","../../utils/dist/lib/maths/constants.d.ts","../../utils/dist/lib/maths/guards.d.ts","../../utils/dist/lib/maths/fn/basic.d.ts","../../utils/dist/lib/maths/fn/advanced.d.ts","../../utils/dist/lib/maths/fn/vector.d.ts","../../utils/dist/lib/maths/fn/complex.d.ts","../../utils/dist/lib/maths/fn/trigo.d.ts","../../utils/dist/lib/maths/fn/index.d.ts","../../utils/dist/lib/maths/formatter.d.ts","../../utils/dist/lib/maths/random.d.ts","../../utils/dist/lib/maths/parser.d.ts","../../utils/dist/lib/maths/index.d.ts","../../utils/dist/lib/primitive/string/string.d.ts","../../utils/dist/lib/primitive/string/types.d.ts","../../utils/dist/lib/primitive/string/index.d.ts","../../utils/dist/lib/primitive/boolean/types.d.ts","../../utils/dist/lib/primitive/boolean/boolean.d.ts","../../utils/dist/lib/primitive/boolean/index.d.ts","../../utils/dist/lib/primitive/date/types.d.ts","../../utils/dist/lib/primitive/date/date.d.ts","../../utils/dist/lib/primitive/date/index.d.ts","../../utils/dist/lib/primitive/types.d.ts","../../utils/dist/lib/primitive/index.d.ts","../../utils/dist/lib/object/types.d.ts","../../utils/dist/lib/object/object.d.ts","../../utils/dist/lib/object/diff.d.ts","../../utils/dist/lib/object/selector.d.ts","../../utils/dist/lib/object/merge.d.ts","../../utils/dist/lib/object/clone.d.ts","../../utils/dist/lib/object/getter-setter.d.ts","../../utils/dist/lib/object/omit.d.ts","../../utils/dist/lib/object/transform.d.ts","../../utils/dist/lib/object/reconcile.d.ts","../../utils/dist/lib/object/sort.d.ts","../../utils/dist/lib/object/utils.d.ts","../../utils/dist/lib/object/index.d.ts","../../reactive/dist/lib/store/setter.types.d.ts","../../reactive/dist/lib/store/types.d.ts","../../reactive/dist/lib/store/store.d.ts","../../reactive/dist/lib/store/utils.d.ts","../../reactive/dist/lib/store/api.d.ts","../../reactive/dist/lib/store/index.d.ts","../../reactive/dist/lib/signal/utilities.d.ts","../../reactive/dist/lib/signal/cached-resource.d.ts","../../reactive/dist/lib/index.d.ts","../../reactive/dist/index.d.ts","../../dom/dist/lib/dom/types.d.ts","../../dom/dist/lib/dom/integration.d.ts","../../dom/dist/lib/dom/server/host.d.ts","../../dom/dist/lib/dom/island.d.ts","../../dom/dist/lib/dom/hydration.d.ts","../../dom/dist/lib/dom/hydration-state.d.ts","../../dom/dist/lib/dom/index.d.ts","../../dom/dist/lib/shared/types.d.ts","../../dom/dist/lib/html.d.ts","../../dom/dist/lib/dom/dynamic-element.d.ts","../../dom/dist/lib/component/modifiers.d.ts","../../dom/dist/lib/component/index.d.ts","../../dom/dist/lib/flow/show.d.ts","../../dom/dist/lib/flow/for.d.ts","../../dom/dist/lib/flow/index-flow.d.ts","../../dom/dist/lib/flow/switch.d.ts","../../dom/dist/lib/flow/dynamic.d.ts","../../dom/dist/lib/flow/portal.d.ts","../../dom/dist/lib/flow/client-only.d.ts","../../dom/dist/lib/flow/error-boundary.d.ts","../../dom/dist/lib/flow/class-map.d.ts","../../dom/dist/lib/flow/style-map.d.ts","../../dom/dist/lib/flow/index.d.ts","../../dom/dist/lib/dom/server/nodes.d.ts","../../dom/dist/lib/dom/server/serialize.d.ts","../../dom/dist/lib/dom/server/fx-data.d.ts","../../dom/dist/lib/dom/server/request-context.d.ts","../../dom/dist/lib/dom/server/render.d.ts","../../dom/dist/lib/dom/server/index.d.ts","../../dom/dist/lib/index.d.ts","../../dom/dist/version.generated.d.ts","../../dom/dist/lib/dom/versions.d.ts","../../dom/dist/index.d.ts","../../compiler/dist/resolve/component-resolver.d.ts","../../compiler/dist/resolve/load-directive.d.ts","../../compiler/dist/ir/nodes.d.ts","../../compiler/dist/lower/template.d.ts","../../compiler/dist/codegen/contract.d.ts","../../compiler/dist/options.d.ts","../../compiler/dist/codegen/backend.d.ts","../../compiler/dist/lower/compile-template.d.ts","../src/index.ts","../src/cdn/fluixi.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/index.d.ts"],"fileIdsList":[[184,230],[187,230],[188,193,221,230],[189,200,201,208,218,229,230],[189,190,200,208,230],[191,230],[192,193,201,209,230],[193,218,226,230],[194,196,200,208,230],[195,230],[196,197,230],[200,230],[198,200,230],[200,201,202,218,229,230],[200,201,202,215,218,221,230],[230,234],[230],[196,200,203,208,218,229,230],[200,201,203,204,208,218,226,229,230],[203,205,218,226,229,230],[184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236],[200,206,230],[207,229,230],[196,200,208,218,230],[209,230],[210,230],[187,211,230],[212,228,230,234],[213,230],[214,230],[200,215,216,230],[215,217,230,232],[188,200,218,219,220,221,230],[188,218,220,230],[218,219,230],[221,230],[222,230],[200,224,225,230],[224,225,230],[193,208,218,226,230],[227,230],[208,228,230],[188,203,214,229,230],[193,230],[218,230,231],[230,232],[230,233],[188,193,200,202,211,218,229,230,232,234],[218,230,235],[54,230],[176,178,179,230],[175,230],[60,174,176,177,180,230],[60,176,230],[174,230],[170,171,172,230],[151,230],[62,63,141,142,143,144,145,146,230],[141,230],[143,164,165,166,167,168,230],[143,230],[167,230],[140,230],[89,230],[148,230],[89,153,154,155,156,157,158,159,160,161,162,230],[141,142,147,148,149,150,152,163,169,230],[139,230],[64,68,69,89,136,137,138,230],[65,66,67,230],[66,230],[65,230],[72,76,230],[76,230],[73,230],[72,230],[73,78,230],[82,230],[70,71,72,73,74,75,76,77,78,79,80,81,83,230],[84,85,86,87,88,230],[78,230],[67,70,71,74,75,230],[67,76,230],[133,230],[132,133,134,135,230],[130,230],[67,89,131,132,230],[132,230],[68,230],[56,230],[56,57,58,59,230],[56,57,58,230],[55,140,173,182,230],[55,60,230],[55,60,61,140,173,181,230],[91,230],[90,230],[97,98,99,100,101,230],[94,230],[94,95,96,102,103,104,105,230],[90,91,93,230],[90,92,230],[118,230],[118,119,120,121,122,123,124,125,126,127,128,129,230],[106,117,230],[117,118,230],[110,230],[110,111,230],[113,230],[113,114,230],[109,112,115,116,230],[107,108,230]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"b6d1e2738126977add7efae2c2b627625c900af38ce28ee8da4da8a197663cc7","impliedFormat":99},{"version":"a00c2690bf092e4b1d9c9493d81728424b689d3fce7befd4da8058a649073caf","impliedFormat":99},{"version":"ef15d19cf82d13df002f6b8fee3670375c177ee16abea0cacc0bcf59f54d39d7","impliedFormat":99},{"version":"aba8ecbb933f0668b3e6a303f016d007a6e6373e895ca55ec9fa82510082a554","impliedFormat":99},{"version":"f483f2387db1c7e2d2549b40194b8fb68346117d305609757e10733eb6406fff","impliedFormat":99},{"version":"6d1eea6ddbd64193f90458ad8d3f4dc052b829f3d762c0a7d914fc1e1cb2230a","signature":"793a680a7ca15423689a4eec14c9d2158ef8355f3555c066bcb1bc49433b8e7c","impliedFormat":99},{"version":"12ed4312bd424c85b4755b87b4cc320c133d504a6b112f6dedd84d9f5315a450","impliedFormat":99},{"version":"4997b5bf550f9244e2dfdaa889f454078db2d9f06bfbe51c63d220bf5145d055","impliedFormat":99},{"version":"53cc078afff7911f51e4fd7eeec01d12aebd37073ec272509ee9eb2adfbd4182","impliedFormat":99},{"version":"e592cf1b998ce8043e72ca38e2f40c5631e65e937e3102223f7086140bf979a3","impliedFormat":99},{"version":"8ae924f7e7dae8cd2f21420226a0018ff1fc4535941d1872d8c2aa7590118aa2","impliedFormat":99},{"version":"0c3793803047eda869ccbb4f440ab8b50cba134ae61773e95136e801c65f1333","impliedFormat":99},{"version":"e6597aaf78157a53337c8794d2f7eee5eecef77a6ec0c60480c74a936811fa36","impliedFormat":99},{"version":"7112073e38bc7d171cbc5530734f550065ecbc76eb302319c5e8a06105dae5bb","impliedFormat":99},{"version":"3ea055a32e8f15a469a8adf7b16fc5d3a013b2c6a2e6decd0bb66ed838c66fa9","impliedFormat":99},{"version":"abb17955db6c97f3fcf56dd61a60586e04a89a97dfe4c8597124a580d877dde6","impliedFormat":99},{"version":"20bc556d4c4fe714c6dddb28378011b13b41fcca1288296abff586ba9013a7eb","impliedFormat":99},{"version":"797c87c17052d73d9b4c7bf6fe63ec40d0a8161f2e5fdf61f641d419dfe8835d","impliedFormat":99},{"version":"e8be3e24c3b98c301590ee0fefc462accc9a0f1fa674f62a3b63be9786ef9a99","impliedFormat":99},{"version":"7debc2a0d009a0a889298a0f0f72b1ed4cd956c07e1fb0eea53d465acf24c5e7","impliedFormat":99},{"version":"87065d90999e14fb6eb227a6640afdb860243d1ae9cc637d2ea505e4d1e01e4a","impliedFormat":99},{"version":"64c90d3fa68f87ab2bec298c44f5f4d6698621c259d5dc64971a048e95c47237","impliedFormat":99},{"version":"8a2b5adb6cd6692e133d9e7dd52aa8732ccf44043a4d2965811694689fc6642b","impliedFormat":99},{"version":"f69376437f2c5874af88a65cf9e677083eef9ae87912d4f4e16499689432978a","impliedFormat":99},{"version":"c03135439ad665f4a011a75586bf96098f6fe0b0716e78afc8cdf651bcc8f879","impliedFormat":99},{"version":"290111961dc134d534be036cd591c09a0e65ceed2fcf9aa9666ae2bcdac7034f","impliedFormat":99},{"version":"e6befaa4e35a30b2cd7e48727aa08be84683b2a25d5d613b5d26931500dc12c7","impliedFormat":99},{"version":"814aa42f7acbc916edba8225c5046594e9c53a6c383c04e15e6d1434d338a24e","impliedFormat":99},{"version":"0dbb207aa46071ee64de9957d81345aa5f8face454df8cf70915377b484dbd0f","impliedFormat":99},{"version":"6cca31bb22baa819fcd1648899a88175059eaab4c25fbc19ac66937e6a4fc815","impliedFormat":99},{"version":"77cc564e0e95d2c072e10bf0bedc31165b7b575cc7a074f2492f5773b69944e3","impliedFormat":99},{"version":"a672f27eb1feda0a0645bf06dadca5e538482db236e1f15f911066551e1dcbd0","impliedFormat":99},{"version":"0cfd1c3d95626230597d04cc568e4e5f715d6b2ac72c67594ec5f288b415f390","impliedFormat":99},{"version":"e807504db6f793554056ba43a6f39e49b4b4254d762f4b99df4352593684c9bd","impliedFormat":99},{"version":"631287e5e4a8a6ff2348789b7d2d00944c0f09ff3fed60cc3642323a1ff0ed4a","impliedFormat":99},{"version":"4f24eafbd6e05dd55f4597c6d286171fbe5066785625c482ab5c5cbba2fc7487","impliedFormat":99},{"version":"e9ad8fb60df94fd4f929f944a12d496271d6523e69d5ad4de20fc080a0a30711","impliedFormat":99},{"version":"a928f91a183425984c472e4d2763f7649e8d63c92c74a2fa59482ad8905bc664","impliedFormat":99},{"version":"c323e45a420e39e384e86db3e4470969016e8f507e04a9ceff1f073d8e5efeff","impliedFormat":99},{"version":"120b522225d94dea3356d056952f0ca9c626a4643a7734fbff1b031f16a0cb65","impliedFormat":99},{"version":"52a743346fe3f9758188a0ba974989e2ec948d8bb145539b6b6d6058204f2612","impliedFormat":99},{"version":"b19bb5d1b4f1ed34aad8e57dc096f7f333dc2fccb0a86633b9c8405c4797b190","impliedFormat":99},{"version":"fde9c3aaca2fb4f489fe2c25d3d0a5d56c145272cf92c6fd1f39f41589d9d0b1","impliedFormat":99},{"version":"2289a9520455d5a74bff1f23ddf0bee2593baedb8b9cda9c3e8720ca66338f65","impliedFormat":99},{"version":"1ff7de3d6cb03553a07592092fcd7a0ed61a88c6be9f5344239ac247be712cfd","impliedFormat":99},{"version":"b071dcadeb17235e2a1116231ca370bac5c97ec090fc73b3736791cb0a2aa91d","impliedFormat":99},{"version":"b4ed0f4d07ca274437eb9d49400de8c81659760e59507f08b94442873eb49a25","impliedFormat":99},{"version":"88978beb444b1d65c0f48d1099717d2a935ce74d9e3e1411bcaa1fe497910ab6","impliedFormat":99},{"version":"712fdf289306e77c2c097843e29560d99ff83bd336da277498ea18ca8cd999f0","impliedFormat":99},{"version":"ceb05e55219637c8dcb77490777c52e537363adc0a060af39cc95d46310f2128","impliedFormat":99},{"version":"a1b05ca68a811afb49605cf1346a53efadc4ec6269caf9e19d97bee4543f1479","impliedFormat":99},{"version":"4e454ae8246e2b13c51c12adaccda8d0fe8e36e120d4e5bbc554021244240fdb","impliedFormat":99},{"version":"4edc87837b7285fe2141b92b492ecc6428a5fc152d7d013af9d0e7017e78befa","impliedFormat":99},{"version":"20e3c2b6bfdfbde9073c6309992943094ab954bd50954c2561daa4d377c78bbc","impliedFormat":99},{"version":"de969e2fcf0e6bfe70c844762f81e47e713dfdf3f1b8ed89378ff3865e78f16d","impliedFormat":99},{"version":"7349d52ef2d997de63d4298417883a9ae8d94ad2d6b0a1ad4a11971fbf01ec3d","impliedFormat":99},{"version":"1673bc6ee9b15e4bc9e4de777b1497bd1ec544d6939061ce7a25de9a0c09565d","impliedFormat":99},{"version":"73eae9a32499f88a8c73cedd49a43ecf441116bb55c7a150f346e333b35c687b","impliedFormat":99},{"version":"9b1c12fce85d708544c70e12e0d8ca6c4a9b27690a27448577b9f4053c49908d","impliedFormat":99},{"version":"68e1a72149e6384295c078bdb945bc3238afcaeb850be14f3ba0571661addf82","impliedFormat":99},{"version":"abc4efc89e29e107946fd0a40b96c4c862d4d340c4c26dd7647183568c3e33c3","impliedFormat":99},{"version":"e1cb7303d3d49535d39fac5d8ded4b5e5e430526eb8a44411cfec3694eae6223","impliedFormat":99},{"version":"1fb68873fd2a769163972685c0516cb3f88fcedd57409f285dfe7c71be13cbbd","impliedFormat":99},{"version":"6685db351c23e0cb6cec2426ea1680a41d29c1633d722c7d7621207c55f6491e","impliedFormat":99},{"version":"cc74864af16373ee02499f7e65758f13f903d37aa1e13e7ad5598facc70dc274","impliedFormat":99},{"version":"71830cf6fc186afa64f4d6d015eed23c78a3af68bd8dc770ffa4d5cee77744b3","impliedFormat":99},{"version":"72ff78881cb1d71790e047eba022ce05845b7dd05e94ba64267dc478ce1457f1","impliedFormat":99},{"version":"fdf1008f43e52d69c62571db0aaa782604dca7e7c2206825a9f46ada5154b610","impliedFormat":99},{"version":"9b3b063cf484aa4088728e28f73f98c7b8fa267debd6f289acec4d70f5977253","impliedFormat":99},{"version":"fe21672b2e8f8ad092ba5ca8ecc4c83f3952dd5144e459f1f001dfdac2f9e7a5","impliedFormat":99},{"version":"95b067197bb5c2f7ca7ee0ede9be77c4724aa09687b75d6e8cacf0904ff565f9","impliedFormat":99},{"version":"3ab7a86cdb01a3f6d3845a82add1feee0ec6b0620fde0224ada4ab929f459b61","impliedFormat":99},{"version":"cff8ee18f70c74bdec54c4e6914c00bdfb2d8b602edafd6b04dd89b75601ff7a","impliedFormat":99},{"version":"ea7a689828afde6f1565f81d9a675c48daa0b91c36020aaeef7193b8769cccf9","impliedFormat":99},{"version":"4c362ca187c7fc9d6a986d33da9966cac1738dc14f8da9f1315b0703214f7be5","impliedFormat":99},{"version":"31fd72d5eed13cf54a22680b2370fc1613804204badd0670be0f00b6212e3e46","impliedFormat":99},{"version":"cbc60086514305c697df5c886edd61e7f1026126625c8dcb6fd66a1c9ed7549f","impliedFormat":99},{"version":"acec683ad793f6a14fb9cea06fba995ed12c13e0c5740c4135c87a35d3e4d7f0","impliedFormat":99},{"version":"7a2c56eba331a7a78c53d3755edf5632288f6339408f992e29c5712bac802435","impliedFormat":99},{"version":"0ca832a2f3964b93429b7bb62c1a4b533c4c5dac658665f41b2ffc5a9811f063","impliedFormat":99},{"version":"1af20ce38db476fa040c17d3ac229abc84e05c1f9dfd15f3e47d4296daed6997","impliedFormat":99},{"version":"c7aa91afe42bfced36a88277de57bf8cae1e230cb5964bf834ad25bdc080cb95","impliedFormat":99},{"version":"c23bb412938acb0e37f6fd33c9a383e84a5456339ed927c130552d8cd5c54da2","impliedFormat":99},{"version":"a75b69291e61381cbfd84b4c04225faa31a4d1a33b688632def6aee1e354a910","impliedFormat":99},{"version":"9a6c3e2900643e20e37b47f712af6420048e737db80c1975707cfde23681b2c9","impliedFormat":99},{"version":"3f06e42c5281bc88f1de705b90b69da10d106a09296ae2bda90e62b5cc0e8cc8","impliedFormat":99},{"version":"73f3a592934d6163184e94890ac9c369ff8d4338e57cdad77a1b775830a06642","impliedFormat":99},{"version":"a5653d4b82d263767466b0b2359b7c20cebbf096393db576d4c0e26b05ae4a52","impliedFormat":99},{"version":"e5003dc4cb838b98f4ee89a8e846d8df84e90213783120db74511d9061e784bf","impliedFormat":99},{"version":"9f41d91eeb174fefed6f6317fe406b39be79e87f7c4de3388e6657ea797e8b8c","impliedFormat":99},{"version":"ecb8fcb6bef2028ee80eb78b501d4d8c1c9be15bc14c53f94a212dc358365959","impliedFormat":99},{"version":"d211c8d3dbf70442d54e6b5ea5bbfb3e394001d8c802b842a7ced12c1c7d536c","impliedFormat":99},{"version":"34fb18281e5a0aca2ac274078d8ea7c341818d72f5a2c28acb8be93e9ab6df89","impliedFormat":99},{"version":"ec824eb9b809a3ba7c6232c0910b06294658dbcea86c4905fd83ca6f700413e4","impliedFormat":99},{"version":"84acc84e83893647b75fa42389b06590960d6e9d5632af9b77607edbd0235f35","impliedFormat":99},{"version":"404652d235b05e9746dc7a40c30245f0c43146a65c1418deba76ace44d018d70","impliedFormat":99},{"version":"c6650df9082a55ae635b96b371b9957d8eafbc12ffdbc0e0b77f0b002fdd8e7f","impliedFormat":99},{"version":"bf25a46e9b09192b9f00e071bd7076703bf5305d6fbbc46536a2b96360f24252","impliedFormat":99},{"version":"a49a3dda1b30b314d9d752b6e76314e90c2b5b4956778e395708f24e10c70caa","impliedFormat":99},{"version":"b6256a91589ed1f889b17151bd2c2ef57b3b117816fa3825681ef7ddc32ef638","impliedFormat":99},{"version":"335ad2a12575255a3cd31b2d3b695a6546bd19b4144ce65438b72685d0f70580","impliedFormat":99},{"version":"e53ee5e087b7925b821e74006cf02dd7201ce7c83d1d2d2a9b8c5078f601a6c4","impliedFormat":99},{"version":"6ed94eb8c55370ef516807ffc964a7f5c2f2cdb2906699ff8e3f6c16e3f77ed4","impliedFormat":99},{"version":"fb018cd898b2e07030a2b664f23638bae9b05fa1765a07a960be4f4c1b7e298f","impliedFormat":99},{"version":"6901079e6b4741d3c0bb81db343f8b198d82d3e556f8a4808b659aae9c024e06","impliedFormat":99},{"version":"8fdd17136749652837b79c7e683b6d1ba245f75782fb4ceb7b47687f3a05d085","impliedFormat":99},{"version":"03d5d777e8ac9725db7b6b5c89cfde9728bdab156a5d14250e720c3cda464800","impliedFormat":99},{"version":"5325260946f3cb8769cc777c599ff28d0c1d46e3fb7e13c30ab28575aaaa836b","impliedFormat":99},{"version":"89412364ce7ff165466df9cb5a3231c2cf0265b0060cf5875a68d34fe0eee90c","impliedFormat":99},{"version":"cca8d9f11c7209da2e992525500746ff81ccb0e74597dc482338b56bbca43977","impliedFormat":99},{"version":"2e37d31274eb3e70f3ae412b5dea534ca020372b23dc11a9855aecbc4c1aa7e6","impliedFormat":99},{"version":"7132224c8dcb1387c095d983b471c2a903cd0da524e2d095ff75e5dd3b443a4a","impliedFormat":99},{"version":"456494f9934ca13a34eca166dfe4a1a211db40bd8a80249c40783ae3367c2aa8","impliedFormat":99},{"version":"2ace6ebcdf081803325ba98aa68350133a12ac0aa61d6760d3c0d46bedb0fe2f","impliedFormat":99},{"version":"8fcbc8f94f3c45c929fdf4f5f25c2b0f1e4352573c6c65fdeb068ef88e6b83fe","impliedFormat":99},{"version":"b34415c840113ac9412e7396f41aa96095e011abb77395ea1d0b05eef5739708","impliedFormat":99},{"version":"0c35469a7ed53fd5a28155737458e3767bea04e15b005b42224f00990d803b4f","affectsGlobalScope":true,"impliedFormat":99},{"version":"5f5f0530ca0cc4980f086c4fe77c0cd92f2116c504b844e76616ed7710b14e90","impliedFormat":99},{"version":"811e0b7359817e86e7ae175be62cabc915b96b732745f072597c1b700a99de90","impliedFormat":99},{"version":"76290fa9a504aa915ba8b99a06f2a61894e95c94125b88d8e2ee9c5f36dc8036","impliedFormat":99},{"version":"752365b159a861e129e2d5d0c5017e6aad024eb1b4189cadb1402ce624452145","impliedFormat":99},{"version":"8ab8b53146e7d7f0c40328e0905cdf614743b64b5c6920f47f5f909df72ac83b","impliedFormat":99},{"version":"f52425aa0734ed590d420d35289d574972990ccc6831ca2ef3573a9a8be4c498","impliedFormat":99},{"version":"6092f40f0e76ff28662e367380073f19a2d917b2c0601e9e4d61654014727b32","impliedFormat":99},{"version":"449293808ea830d8ada80e4c319742b666d851493fe7d863bd2f85fccec01618","impliedFormat":99},{"version":"2e9d96312d0285d21bed1d352b4936825671cc6f6937119299d9e524b3a7a839","impliedFormat":99},{"version":"ac8d056d1f1c16588b7ffd5cfcc2910bcc077113a843d1cd3f11116e4f13d40e","signature":"0ee5dfaa06b7ebd56b3574b919315d0c929f8afb3ad6390c1ff0fe7dce4cc4d2","impliedFormat":99},{"version":"2783bf18d95c23ae06ab51b4d70d12e59c69d76fe403dc1ae66031d66b785291","signature":"5e834c05bf8e46a6c72f3aee399f0fa75ea5a7ee3c7a3e89a9e78227c23dfb2b","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3","impliedFormat":1},{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"4eaff3d8e10676fd7913d8c108890e71c688e1e7d52f6d1d55c39514f493dc47","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true,"impliedFormat":1},{"version":"3256f3cccd578f9e7fe3a28096c505634bebcee8afb738ffa99368e536ca3a0b","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"7f138842074d0a40681775af008c8452093b68c383c94de31759e853c6d06b5c","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1","impliedFormat":1}],"root":[61,182,183],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[184,1],[185,1],[187,2],[188,3],[189,4],[190,5],[191,6],[192,7],[193,8],[194,9],[195,10],[196,11],[197,11],[199,12],[198,13],[200,12],[201,14],[202,15],[186,16],[236,17],[203,18],[204,19],[205,20],[237,21],[206,22],[207,23],[208,24],[209,25],[210,26],[211,27],[212,28],[213,29],[214,30],[215,31],[216,31],[217,32],[218,33],[220,34],[219,35],[221,36],[222,37],[223,17],[224,38],[225,39],[226,40],[227,41],[228,42],[229,43],[230,44],[231,45],[232,46],[233,47],[234,48],[235,49],[55,50],[54,17],[52,17],[53,17],[9,17],[10,17],[12,17],[11,17],[2,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[19,17],[20,17],[3,17],[21,17],[22,17],[4,17],[23,17],[27,17],[24,17],[25,17],[26,17],[28,17],[29,17],[30,17],[5,17],[31,17],[32,17],[33,17],[34,17],[6,17],[38,17],[35,17],[36,17],[37,17],[39,17],[7,17],[40,17],[45,17],[46,17],[41,17],[42,17],[43,17],[44,17],[8,17],[50,17],[47,17],[48,17],[49,17],[1,17],[51,17],[180,51],[178,17],[176,52],[181,53],[177,54],[179,55],[174,17],[175,17],[173,56],[152,57],[151,17],[150,17],[146,17],[145,17],[147,58],[142,59],[144,17],[63,17],[166,17],[143,17],[169,60],[164,61],[168,62],[167,17],[165,17],[141,63],[62,17],[172,17],[161,64],[159,65],[157,64],[160,64],[154,64],[155,64],[163,66],[158,17],[153,64],[162,64],[156,64],[149,65],[170,67],[148,17],[171,17],[140,68],[139,69],[68,70],[67,71],[66,72],[65,71],[87,73],[138,74],[74,75],[73,76],[82,17],[79,77],[71,74],[70,74],[81,76],[83,78],[85,17],[78,17],[72,17],[84,79],[75,17],[86,17],[80,76],[89,80],[77,75],[88,81],[76,82],[137,83],[135,84],[136,85],[131,86],[133,87],[132,17],[134,88],[69,89],[64,17],[56,17],[58,90],[60,91],[59,92],[57,90],[183,93],[61,94],[182,95],[95,17],[98,96],[97,97],[100,96],[102,98],[101,97],[99,96],[103,17],[96,99],[106,100],[105,17],[104,17],[91,97],[90,17],[94,101],[92,17],[93,102],[123,17],[120,103],[124,103],[130,104],[122,103],[119,103],[125,103],[127,17],[121,103],[128,103],[126,103],[118,105],[129,106],[111,107],[112,108],[110,17],[114,109],[115,110],[113,17],[117,111],[109,112],[107,17],[108,17],[116,17]],"latestChangedDtsFile":"./cdn/fluixi.d.ts","version":"5.8.3"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../../template-parser/dist/ast.d.ts","../../template-parser/dist/reader.d.ts","../../template-parser/dist/directives.d.ts","../../template-parser/dist/parser.d.ts","../../template-parser/dist/index.d.ts","../src/classify.ts","../../dom/dist/lib/dom/utils.d.ts","../../dom/dist/lib/dom/runtime.d.ts","../../reactive/dist/version.generated.d.ts","../../reactive/dist/lib/observable/types.d.ts","../../reactive/dist/lib/observable/subscription.d.ts","../../reactive/dist/lib/observable/observable.d.ts","../../reactive/dist/lib/observable/index.d.ts","../../reactive/dist/lib/subject.d.ts","../../reactive/dist/lib/signal/graph/detect.d.ts","../../reactive/dist/lib/signal/graph/derived.d.ts","../../reactive/dist/lib/signal/graph/runtime.d.ts","../../reactive/dist/lib/signal/graph/compat.d.ts","../../reactive/dist/lib/signal/graph/children.d.ts","../../reactive/dist/lib/signal/graph/ssr-hooks.d.ts","../../reactive/dist/lib/signal/signal.d.ts","../../reactive/dist/lib/signal/list.d.ts","../../reactive/dist/lib/signal/graph/resource.d.ts","../../reactive/dist/lib/signal/graph/debounced.d.ts","../../reactive/dist/lib/signal/graph/suspense.d.ts","../../reactive/dist/lib/signal/graph/error-boundary.d.ts","../../reactive/dist/lib/signal/graph/core.d.ts","../../reactive/dist/lib/signal/graph/index.d.ts","../../reactive/dist/lib/signal/graph/signal-next.d.ts","../../reactive/dist/lib/signal/graph/observe.d.ts","../../reactive/dist/lib/signal/graph/state.d.ts","../../reactive/dist/lib/signal/api.d.ts","../../reactive/dist/lib/signal/resource-api.d.ts","../../reactive/dist/lib/signal/index.d.ts","../../utils/dist/lib/maths/types/basic.d.ts","../../utils/dist/lib/maths/types/advanced.d.ts","../../utils/dist/lib/maths/types/negative.d.ts","../../utils/dist/lib/maths/types/operations.d.ts","../../utils/dist/lib/maths/types/index.d.ts","../../utils/dist/lib/maths/constants.d.ts","../../utils/dist/lib/maths/guards.d.ts","../../utils/dist/lib/maths/fn/basic.d.ts","../../utils/dist/lib/maths/fn/advanced.d.ts","../../utils/dist/lib/maths/fn/vector.d.ts","../../utils/dist/lib/maths/fn/complex.d.ts","../../utils/dist/lib/maths/fn/trigo.d.ts","../../utils/dist/lib/maths/fn/index.d.ts","../../utils/dist/lib/maths/formatter.d.ts","../../utils/dist/lib/maths/random.d.ts","../../utils/dist/lib/maths/parser.d.ts","../../utils/dist/lib/maths/index.d.ts","../../utils/dist/lib/primitive/string/string.d.ts","../../utils/dist/lib/primitive/string/types.d.ts","../../utils/dist/lib/primitive/string/index.d.ts","../../utils/dist/lib/primitive/boolean/types.d.ts","../../utils/dist/lib/primitive/boolean/boolean.d.ts","../../utils/dist/lib/primitive/boolean/index.d.ts","../../utils/dist/lib/primitive/date/types.d.ts","../../utils/dist/lib/primitive/date/date.d.ts","../../utils/dist/lib/primitive/date/index.d.ts","../../utils/dist/lib/primitive/types.d.ts","../../utils/dist/lib/primitive/index.d.ts","../../utils/dist/lib/object/types.d.ts","../../utils/dist/lib/object/object.d.ts","../../utils/dist/lib/object/diff.d.ts","../../utils/dist/lib/object/selector.d.ts","../../utils/dist/lib/object/merge.d.ts","../../utils/dist/lib/object/clone.d.ts","../../utils/dist/lib/object/getter-setter.d.ts","../../utils/dist/lib/object/omit.d.ts","../../utils/dist/lib/object/transform.d.ts","../../utils/dist/lib/object/reconcile.d.ts","../../utils/dist/lib/object/sort.d.ts","../../utils/dist/lib/object/utils.d.ts","../../utils/dist/lib/object/index.d.ts","../../reactive/dist/lib/store/setter.types.d.ts","../../reactive/dist/lib/store/types.d.ts","../../reactive/dist/lib/store/store.d.ts","../../reactive/dist/lib/store/utils.d.ts","../../reactive/dist/lib/store/api.d.ts","../../reactive/dist/lib/store/index.d.ts","../../reactive/dist/lib/signal/utilities.d.ts","../../reactive/dist/lib/signal/cached-resource.d.ts","../../reactive/dist/lib/index.d.ts","../../reactive/dist/index.d.ts","../../dom/dist/lib/dom/types.d.ts","../../dom/dist/lib/dom/integration.d.ts","../../dom/dist/lib/dom/server/host.d.ts","../../dom/dist/lib/dom/island.d.ts","../../dom/dist/lib/dom/hydration.d.ts","../../dom/dist/lib/dom/hydration-state.d.ts","../../dom/dist/lib/dom/index.d.ts","../../dom/dist/lib/shared/types.d.ts","../../dom/dist/lib/html.d.ts","../../dom/dist/lib/dom/dynamic-element.d.ts","../../dom/dist/lib/component/modifiers.d.ts","../../dom/dist/lib/component/index.d.ts","../../dom/dist/lib/flow/show.d.ts","../../dom/dist/lib/flow/for.d.ts","../../dom/dist/lib/flow/index-flow.d.ts","../../dom/dist/lib/flow/switch.d.ts","../../dom/dist/lib/flow/dynamic.d.ts","../../dom/dist/lib/flow/portal.d.ts","../../dom/dist/lib/flow/client-only.d.ts","../../dom/dist/lib/flow/error-boundary.d.ts","../../dom/dist/lib/flow/class-map.d.ts","../../dom/dist/lib/flow/style-map.d.ts","../../dom/dist/lib/flow/index.d.ts","../../dom/dist/lib/dom/server/nodes.d.ts","../../dom/dist/lib/dom/server/serialize.d.ts","../../dom/dist/lib/dom/server/fx-data.d.ts","../../dom/dist/lib/dom/server/request-context.d.ts","../../dom/dist/lib/dom/server/render.d.ts","../../dom/dist/lib/dom/server/index.d.ts","../../dom/dist/lib/index.d.ts","../../dom/dist/version.generated.d.ts","../../dom/dist/lib/dom/versions.d.ts","../../dom/dist/index.d.ts","../../compiler/dist/transform/styles.d.ts","../../compiler/dist/resolve/component-resolver.d.ts","../../compiler/dist/resolve/load-directive.d.ts","../../compiler/dist/ir/nodes.d.ts","../../compiler/dist/lower/template.d.ts","../../compiler/dist/codegen/contract.d.ts","../../compiler/dist/options.d.ts","../../compiler/dist/codegen/backend.d.ts","../../compiler/dist/lower/compile-template.d.ts","../src/index.ts","../src/cdn/fluixi.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/index.d.ts"],"fileIdsList":[[185,231],[188,231],[189,194,222,231],[190,201,202,209,219,230,231],[190,191,201,209,231],[192,231],[193,194,202,210,231],[194,219,227,231],[195,197,201,209,231],[196,231],[197,198,231],[201,231],[199,201,231],[201,202,203,219,230,231],[201,202,203,216,219,222,231],[231,235],[231],[197,201,204,209,219,230,231],[201,202,204,205,209,219,227,230,231],[204,206,219,227,230,231],[185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237],[201,207,231],[208,230,231],[197,201,209,219,231],[210,231],[211,231],[188,212,231],[213,229,231,235],[214,231],[215,231],[201,216,217,231],[216,218,231,233],[189,201,219,220,221,222,231],[189,219,221,231],[219,220,231],[222,231],[223,231],[201,225,226,231],[225,226,231],[194,209,219,227,231],[228,231],[209,229,231],[189,204,215,230,231],[194,231],[219,231,232],[231,233],[231,234],[189,194,201,203,212,219,230,231,233,235],[219,231,236],[54,231],[177,179,180,231],[176,231],[60,174,175,177,178,181,231],[60,177,231],[175,231],[170,171,172,231],[151,231],[62,63,141,142,143,144,145,146,231],[141,231],[143,164,165,166,167,168,231],[143,231],[167,231],[140,231],[89,231],[148,231],[89,153,154,155,156,157,158,159,160,161,162,231],[141,142,147,148,149,150,152,163,169,231],[139,231],[64,68,69,89,136,137,138,231],[65,66,67,231],[66,231],[65,231],[72,76,231],[75,76,231],[73,231],[72,231],[73,78,231],[76,231],[82,231],[70,71,72,73,74,75,76,77,78,79,80,81,83,231],[84,85,86,87,88,231],[78,231],[67,70,71,74,75,231],[67,76,231],[133,231],[132,133,134,135,231],[130,231],[67,89,131,132,231],[132,231],[68,231],[56,231],[56,57,58,59,231],[56,57,58,231],[55,140,173,183,231],[55,60,231],[55,60,61,140,173,182,231],[91,231],[90,231],[97,98,99,100,101,231],[94,231],[94,95,96,102,103,104,105,231],[90,91,93,231],[90,92,231],[118,231],[118,119,120,121,122,123,124,125,126,127,128,129,231],[106,117,231],[117,118,231],[110,231],[110,111,231],[113,231],[113,114,231],[109,112,115,116,231],[107,108,231]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"b6d1e2738126977add7efae2c2b627625c900af38ce28ee8da4da8a197663cc7","impliedFormat":99},{"version":"a00c2690bf092e4b1d9c9493d81728424b689d3fce7befd4da8058a649073caf","impliedFormat":99},{"version":"ef15d19cf82d13df002f6b8fee3670375c177ee16abea0cacc0bcf59f54d39d7","impliedFormat":99},{"version":"aba8ecbb933f0668b3e6a303f016d007a6e6373e895ca55ec9fa82510082a554","impliedFormat":99},{"version":"f483f2387db1c7e2d2549b40194b8fb68346117d305609757e10733eb6406fff","impliedFormat":99},{"version":"6d1eea6ddbd64193f90458ad8d3f4dc052b829f3d762c0a7d914fc1e1cb2230a","signature":"793a680a7ca15423689a4eec14c9d2158ef8355f3555c066bcb1bc49433b8e7c","impliedFormat":99},{"version":"bd215d8b222602de406274da53dde3bfc376b02878d5e82fc1d0f9d2d99ce8b6","impliedFormat":99},{"version":"71965158df2f374aeb52da232328cbb43e9929e9f8b9386a2adc759576ecf6c7","impliedFormat":99},{"version":"3f92fa36ebb78e07bc12cdc87a06a3e3fffa826affc49251b5368365df5b56cd","impliedFormat":99},{"version":"e592cf1b998ce8043e72ca38e2f40c5631e65e937e3102223f7086140bf979a3","impliedFormat":99},{"version":"8ae924f7e7dae8cd2f21420226a0018ff1fc4535941d1872d8c2aa7590118aa2","impliedFormat":99},{"version":"0c3793803047eda869ccbb4f440ab8b50cba134ae61773e95136e801c65f1333","impliedFormat":99},{"version":"e6597aaf78157a53337c8794d2f7eee5eecef77a6ec0c60480c74a936811fa36","impliedFormat":99},{"version":"7112073e38bc7d171cbc5530734f550065ecbc76eb302319c5e8a06105dae5bb","impliedFormat":99},{"version":"3ea055a32e8f15a469a8adf7b16fc5d3a013b2c6a2e6decd0bb66ed838c66fa9","impliedFormat":99},{"version":"abb17955db6c97f3fcf56dd61a60586e04a89a97dfe4c8597124a580d877dde6","impliedFormat":99},{"version":"25c777ff5d0f1b118059af7c202260f9c798d4ff4305fadad786560325623e3f","impliedFormat":99},{"version":"c933050f557af5907141168bbe36a4a7bdb54a1a0ec4190ede00cc4cfcec1e5f","impliedFormat":99},{"version":"e8be3e24c3b98c301590ee0fefc462accc9a0f1fa674f62a3b63be9786ef9a99","impliedFormat":99},{"version":"9f1d76bf48b9aaba3daa91a234d570e3426c613a6c436308e324b520d542e33c","impliedFormat":99},{"version":"87065d90999e14fb6eb227a6640afdb860243d1ae9cc637d2ea505e4d1e01e4a","impliedFormat":99},{"version":"64c90d3fa68f87ab2bec298c44f5f4d6698621c259d5dc64971a048e95c47237","impliedFormat":99},{"version":"8a2b5adb6cd6692e133d9e7dd52aa8732ccf44043a4d2965811694689fc6642b","impliedFormat":99},{"version":"f69376437f2c5874af88a65cf9e677083eef9ae87912d4f4e16499689432978a","impliedFormat":99},{"version":"c03135439ad665f4a011a75586bf96098f6fe0b0716e78afc8cdf651bcc8f879","impliedFormat":99},{"version":"290111961dc134d534be036cd591c09a0e65ceed2fcf9aa9666ae2bcdac7034f","impliedFormat":99},{"version":"e6befaa4e35a30b2cd7e48727aa08be84683b2a25d5d613b5d26931500dc12c7","impliedFormat":99},{"version":"814aa42f7acbc916edba8225c5046594e9c53a6c383c04e15e6d1434d338a24e","impliedFormat":99},{"version":"d47aedb715ded67f55d9050634dd26078a0d1a00ec320f84cc32675f4394184d","impliedFormat":99},{"version":"b9e1f1907158fb4a3213ddb5c081531e29a0fda11f388f65050cd91434256bf6","impliedFormat":99},{"version":"77cc564e0e95d2c072e10bf0bedc31165b7b575cc7a074f2492f5773b69944e3","impliedFormat":99},{"version":"fda8abeadf217236d1a7f759850a8ac2c35ffec28efc0e37c5125cbfa58a2039","impliedFormat":99},{"version":"0cfd1c3d95626230597d04cc568e4e5f715d6b2ac72c67594ec5f288b415f390","impliedFormat":99},{"version":"60c5aa29dd3b06180a64dd460164b15e13179d79a56a63764dd903e74a6dac5d","impliedFormat":99},{"version":"631287e5e4a8a6ff2348789b7d2d00944c0f09ff3fed60cc3642323a1ff0ed4a","impliedFormat":99},{"version":"4f24eafbd6e05dd55f4597c6d286171fbe5066785625c482ab5c5cbba2fc7487","impliedFormat":99},{"version":"e9ad8fb60df94fd4f929f944a12d496271d6523e69d5ad4de20fc080a0a30711","impliedFormat":99},{"version":"a928f91a183425984c472e4d2763f7649e8d63c92c74a2fa59482ad8905bc664","impliedFormat":99},{"version":"c323e45a420e39e384e86db3e4470969016e8f507e04a9ceff1f073d8e5efeff","impliedFormat":99},{"version":"120b522225d94dea3356d056952f0ca9c626a4643a7734fbff1b031f16a0cb65","impliedFormat":99},{"version":"52a743346fe3f9758188a0ba974989e2ec948d8bb145539b6b6d6058204f2612","impliedFormat":99},{"version":"b19bb5d1b4f1ed34aad8e57dc096f7f333dc2fccb0a86633b9c8405c4797b190","impliedFormat":99},{"version":"fde9c3aaca2fb4f489fe2c25d3d0a5d56c145272cf92c6fd1f39f41589d9d0b1","impliedFormat":99},{"version":"2289a9520455d5a74bff1f23ddf0bee2593baedb8b9cda9c3e8720ca66338f65","impliedFormat":99},{"version":"1ff7de3d6cb03553a07592092fcd7a0ed61a88c6be9f5344239ac247be712cfd","impliedFormat":99},{"version":"b071dcadeb17235e2a1116231ca370bac5c97ec090fc73b3736791cb0a2aa91d","impliedFormat":99},{"version":"b4ed0f4d07ca274437eb9d49400de8c81659760e59507f08b94442873eb49a25","impliedFormat":99},{"version":"88978beb444b1d65c0f48d1099717d2a935ce74d9e3e1411bcaa1fe497910ab6","impliedFormat":99},{"version":"712fdf289306e77c2c097843e29560d99ff83bd336da277498ea18ca8cd999f0","impliedFormat":99},{"version":"ceb05e55219637c8dcb77490777c52e537363adc0a060af39cc95d46310f2128","impliedFormat":99},{"version":"a1b05ca68a811afb49605cf1346a53efadc4ec6269caf9e19d97bee4543f1479","impliedFormat":99},{"version":"4e454ae8246e2b13c51c12adaccda8d0fe8e36e120d4e5bbc554021244240fdb","impliedFormat":99},{"version":"4edc87837b7285fe2141b92b492ecc6428a5fc152d7d013af9d0e7017e78befa","impliedFormat":99},{"version":"20e3c2b6bfdfbde9073c6309992943094ab954bd50954c2561daa4d377c78bbc","impliedFormat":99},{"version":"de969e2fcf0e6bfe70c844762f81e47e713dfdf3f1b8ed89378ff3865e78f16d","impliedFormat":99},{"version":"7349d52ef2d997de63d4298417883a9ae8d94ad2d6b0a1ad4a11971fbf01ec3d","impliedFormat":99},{"version":"1673bc6ee9b15e4bc9e4de777b1497bd1ec544d6939061ce7a25de9a0c09565d","impliedFormat":99},{"version":"73eae9a32499f88a8c73cedd49a43ecf441116bb55c7a150f346e333b35c687b","impliedFormat":99},{"version":"9b1c12fce85d708544c70e12e0d8ca6c4a9b27690a27448577b9f4053c49908d","impliedFormat":99},{"version":"68e1a72149e6384295c078bdb945bc3238afcaeb850be14f3ba0571661addf82","impliedFormat":99},{"version":"abc4efc89e29e107946fd0a40b96c4c862d4d340c4c26dd7647183568c3e33c3","impliedFormat":99},{"version":"e1cb7303d3d49535d39fac5d8ded4b5e5e430526eb8a44411cfec3694eae6223","impliedFormat":99},{"version":"1fb68873fd2a769163972685c0516cb3f88fcedd57409f285dfe7c71be13cbbd","impliedFormat":99},{"version":"6685db351c23e0cb6cec2426ea1680a41d29c1633d722c7d7621207c55f6491e","impliedFormat":99},{"version":"cc74864af16373ee02499f7e65758f13f903d37aa1e13e7ad5598facc70dc274","impliedFormat":99},{"version":"71830cf6fc186afa64f4d6d015eed23c78a3af68bd8dc770ffa4d5cee77744b3","impliedFormat":99},{"version":"72ff78881cb1d71790e047eba022ce05845b7dd05e94ba64267dc478ce1457f1","impliedFormat":99},{"version":"fdf1008f43e52d69c62571db0aaa782604dca7e7c2206825a9f46ada5154b610","impliedFormat":99},{"version":"9b3b063cf484aa4088728e28f73f98c7b8fa267debd6f289acec4d70f5977253","impliedFormat":99},{"version":"fe21672b2e8f8ad092ba5ca8ecc4c83f3952dd5144e459f1f001dfdac2f9e7a5","impliedFormat":99},{"version":"95b067197bb5c2f7ca7ee0ede9be77c4724aa09687b75d6e8cacf0904ff565f9","impliedFormat":99},{"version":"3ab7a86cdb01a3f6d3845a82add1feee0ec6b0620fde0224ada4ab929f459b61","impliedFormat":99},{"version":"cff8ee18f70c74bdec54c4e6914c00bdfb2d8b602edafd6b04dd89b75601ff7a","impliedFormat":99},{"version":"ea7a689828afde6f1565f81d9a675c48daa0b91c36020aaeef7193b8769cccf9","impliedFormat":99},{"version":"4c362ca187c7fc9d6a986d33da9966cac1738dc14f8da9f1315b0703214f7be5","impliedFormat":99},{"version":"31fd72d5eed13cf54a22680b2370fc1613804204badd0670be0f00b6212e3e46","impliedFormat":99},{"version":"cbc60086514305c697df5c886edd61e7f1026126625c8dcb6fd66a1c9ed7549f","impliedFormat":99},{"version":"acec683ad793f6a14fb9cea06fba995ed12c13e0c5740c4135c87a35d3e4d7f0","impliedFormat":99},{"version":"7a2c56eba331a7a78c53d3755edf5632288f6339408f992e29c5712bac802435","impliedFormat":99},{"version":"0ca832a2f3964b93429b7bb62c1a4b533c4c5dac658665f41b2ffc5a9811f063","impliedFormat":99},{"version":"1af20ce38db476fa040c17d3ac229abc84e05c1f9dfd15f3e47d4296daed6997","impliedFormat":99},{"version":"c7aa91afe42bfced36a88277de57bf8cae1e230cb5964bf834ad25bdc080cb95","impliedFormat":99},{"version":"430a561f4c90a5f9e700a303dfd75686e4c4b39fffd61c60ac6012d6e06bb0d9","impliedFormat":99},{"version":"a75b69291e61381cbfd84b4c04225faa31a4d1a33b688632def6aee1e354a910","impliedFormat":99},{"version":"9a6c3e2900643e20e37b47f712af6420048e737db80c1975707cfde23681b2c9","impliedFormat":99},{"version":"3f06e42c5281bc88f1de705b90b69da10d106a09296ae2bda90e62b5cc0e8cc8","impliedFormat":99},{"version":"73f3a592934d6163184e94890ac9c369ff8d4338e57cdad77a1b775830a06642","impliedFormat":99},{"version":"a5653d4b82d263767466b0b2359b7c20cebbf096393db576d4c0e26b05ae4a52","impliedFormat":99},{"version":"e5003dc4cb838b98f4ee89a8e846d8df84e90213783120db74511d9061e784bf","impliedFormat":99},{"version":"5786b99f61721ecbb26e1a58fd488197ba28d67199c1aa5c6e1a413acec44124","impliedFormat":99},{"version":"fa651aeb2388a0f6574f08bd05d849e5dd044d568ff614aa9f11b379117c470d","impliedFormat":99},{"version":"2beede478a0e8795dd0a795a98ec041a59ccf00b57169d90ddd6b1086fbb968f","impliedFormat":99},{"version":"34fb18281e5a0aca2ac274078d8ea7c341818d72f5a2c28acb8be93e9ab6df89","impliedFormat":99},{"version":"5cbd33f42fcff0b13d9e86ad23ef6b31556ac6825bd6b880dd0d44d51720a099","impliedFormat":99},{"version":"84acc84e83893647b75fa42389b06590960d6e9d5632af9b77607edbd0235f35","impliedFormat":99},{"version":"404652d235b05e9746dc7a40c30245f0c43146a65c1418deba76ace44d018d70","impliedFormat":99},{"version":"c6650df9082a55ae635b96b371b9957d8eafbc12ffdbc0e0b77f0b002fdd8e7f","impliedFormat":99},{"version":"bf25a46e9b09192b9f00e071bd7076703bf5305d6fbbc46536a2b96360f24252","impliedFormat":99},{"version":"a49a3dda1b30b314d9d752b6e76314e90c2b5b4956778e395708f24e10c70caa","impliedFormat":99},{"version":"b6256a91589ed1f889b17151bd2c2ef57b3b117816fa3825681ef7ddc32ef638","impliedFormat":99},{"version":"335ad2a12575255a3cd31b2d3b695a6546bd19b4144ce65438b72685d0f70580","impliedFormat":99},{"version":"e53ee5e087b7925b821e74006cf02dd7201ce7c83d1d2d2a9b8c5078f601a6c4","impliedFormat":99},{"version":"6ed94eb8c55370ef516807ffc964a7f5c2f2cdb2906699ff8e3f6c16e3f77ed4","impliedFormat":99},{"version":"fb018cd898b2e07030a2b664f23638bae9b05fa1765a07a960be4f4c1b7e298f","impliedFormat":99},{"version":"65fc185affccf480558c9af27269b4489432c6fffc6ff7a0bed2c3df0c21edad","impliedFormat":99},{"version":"8fdd17136749652837b79c7e683b6d1ba245f75782fb4ceb7b47687f3a05d085","impliedFormat":99},{"version":"03d5d777e8ac9725db7b6b5c89cfde9728bdab156a5d14250e720c3cda464800","impliedFormat":99},{"version":"5325260946f3cb8769cc777c599ff28d0c1d46e3fb7e13c30ab28575aaaa836b","impliedFormat":99},{"version":"8f9fbc7e76fe3aacd3d20d33424b6ff5f38c4f24429e1cd25c2f400d8d6e33c4","impliedFormat":99},{"version":"cca8d9f11c7209da2e992525500746ff81ccb0e74597dc482338b56bbca43977","impliedFormat":99},{"version":"2e37d31274eb3e70f3ae412b5dea534ca020372b23dc11a9855aecbc4c1aa7e6","impliedFormat":99},{"version":"179f083588c27f02414940eb2e0ff236d124213d27f5debb03c54081b71637b6","impliedFormat":99},{"version":"304cda54f124176fe92469e7f34a2bf8d255c3ad921695be5d7a683b19d3125c","impliedFormat":99},{"version":"d9939a38a6134225c87a16a6a266b1092a81f1168b80de230e345c7fab63c04c","impliedFormat":99},{"version":"4881ad6bf75940fdad6dc13ccaa866a0c43ce5bdc8c353476bf72bab9af57f4b","impliedFormat":99},{"version":"5640ed479025be5345635ba5a661761a01f737ebe09ac6e193e9ad82fd5226d6","impliedFormat":99},{"version":"0c35469a7ed53fd5a28155737458e3767bea04e15b005b42224f00990d803b4f","affectsGlobalScope":true,"impliedFormat":99},{"version":"5f5f0530ca0cc4980f086c4fe77c0cd92f2116c504b844e76616ed7710b14e90","impliedFormat":99},{"version":"9ab79b2b021f2377e0c3c9e7fe4f543fd78a60898515d58c3b834cad84aeec3f","impliedFormat":99},{"version":"811e0b7359817e86e7ae175be62cabc915b96b732745f072597c1b700a99de90","impliedFormat":99},{"version":"76290fa9a504aa915ba8b99a06f2a61894e95c94125b88d8e2ee9c5f36dc8036","impliedFormat":99},{"version":"752365b159a861e129e2d5d0c5017e6aad024eb1b4189cadb1402ce624452145","impliedFormat":99},{"version":"8ab8b53146e7d7f0c40328e0905cdf614743b64b5c6920f47f5f909df72ac83b","impliedFormat":99},{"version":"f52425aa0734ed590d420d35289d574972990ccc6831ca2ef3573a9a8be4c498","impliedFormat":99},{"version":"6092f40f0e76ff28662e367380073f19a2d917b2c0601e9e4d61654014727b32","impliedFormat":99},{"version":"449293808ea830d8ada80e4c319742b666d851493fe7d863bd2f85fccec01618","impliedFormat":99},{"version":"79d8faa40c6a54f7e58ed8d9b949285f92e4b8a020388da465db23970cfa4bb0","impliedFormat":99},{"version":"ac8d056d1f1c16588b7ffd5cfcc2910bcc077113a843d1cd3f11116e4f13d40e","signature":"0ee5dfaa06b7ebd56b3574b919315d0c929f8afb3ad6390c1ff0fe7dce4cc4d2","impliedFormat":99},{"version":"2783bf18d95c23ae06ab51b4d70d12e59c69d76fe403dc1ae66031d66b785291","signature":"5e834c05bf8e46a6c72f3aee399f0fa75ea5a7ee3c7a3e89a9e78227c23dfb2b","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3","impliedFormat":1},{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"4eaff3d8e10676fd7913d8c108890e71c688e1e7d52f6d1d55c39514f493dc47","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true,"impliedFormat":1},{"version":"3256f3cccd578f9e7fe3a28096c505634bebcee8afb738ffa99368e536ca3a0b","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"7f138842074d0a40681775af008c8452093b68c383c94de31759e853c6d06b5c","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1","impliedFormat":1}],"root":[61,183,184],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[185,1],[186,1],[188,2],[189,3],[190,4],[191,5],[192,6],[193,7],[194,8],[195,9],[196,10],[197,11],[198,11],[200,12],[199,13],[201,12],[202,14],[203,15],[187,16],[237,17],[204,18],[205,19],[206,20],[238,21],[207,22],[208,23],[209,24],[210,25],[211,26],[212,27],[213,28],[214,29],[215,30],[216,31],[217,31],[218,32],[219,33],[221,34],[220,35],[222,36],[223,37],[224,17],[225,38],[226,39],[227,40],[228,41],[229,42],[230,43],[231,44],[232,45],[233,46],[234,47],[235,48],[236,49],[55,50],[54,17],[52,17],[53,17],[9,17],[10,17],[12,17],[11,17],[2,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[19,17],[20,17],[3,17],[21,17],[22,17],[4,17],[23,17],[27,17],[24,17],[25,17],[26,17],[28,17],[29,17],[30,17],[5,17],[31,17],[32,17],[33,17],[34,17],[6,17],[38,17],[35,17],[36,17],[37,17],[39,17],[7,17],[40,17],[45,17],[46,17],[41,17],[42,17],[43,17],[44,17],[8,17],[50,17],[47,17],[48,17],[49,17],[1,17],[51,17],[181,51],[179,17],[177,52],[182,53],[178,54],[180,55],[175,17],[176,17],[174,17],[173,56],[152,57],[151,17],[150,17],[146,17],[145,17],[147,58],[142,59],[144,17],[63,17],[166,17],[143,17],[169,60],[164,61],[168,62],[167,17],[165,17],[141,63],[62,17],[172,17],[161,64],[159,65],[157,64],[160,64],[154,64],[155,64],[163,66],[158,17],[153,64],[162,64],[156,64],[149,65],[170,67],[148,17],[171,17],[140,68],[139,69],[68,70],[67,71],[66,72],[65,71],[87,73],[138,74],[74,75],[73,76],[82,17],[79,77],[71,78],[70,78],[81,76],[83,79],[85,17],[78,17],[72,17],[84,80],[75,17],[86,17],[80,76],[89,81],[77,75],[88,82],[76,83],[137,84],[135,85],[136,86],[131,87],[133,88],[132,17],[134,89],[69,90],[64,17],[56,17],[58,91],[60,92],[59,93],[57,91],[184,94],[61,95],[183,96],[95,17],[98,97],[97,98],[100,97],[102,99],[101,98],[99,97],[103,17],[96,100],[106,101],[105,17],[104,17],[91,98],[90,17],[94,102],[92,17],[93,103],[123,17],[120,104],[124,104],[130,105],[122,104],[119,104],[125,104],[127,17],[121,104],[128,104],[126,104],[118,106],[129,107],[111,108],[112,109],[110,17],[114,110],[115,111],[113,17],[117,112],[109,113],[107,17],[108,17],[116,17]],"latestChangedDtsFile":"./cdn/fluixi.d.ts","version":"5.8.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluixi/template-runtime",
3
- "version": "0.1.0-alpha.12",
3
+ "version": "0.1.0-alpha.14",
4
4
  "license": "MIT",
5
5
  "author": "Ibrahima Touré",
6
6
  "private": false,
@@ -30,9 +30,9 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@fluixi/compiler": "1.0.0-alpha.92",
34
- "@fluixi/dom": "1.0.0-alpha.92",
35
- "@fluixi/reactive": "1.0.0-alpha.92",
33
+ "@fluixi/compiler": "1.0.0-alpha.94",
34
+ "@fluixi/dom": "1.0.0-alpha.94",
35
+ "@fluixi/reactive": "1.0.0-alpha.94",
36
36
  "@fluixi/template-parser": "0.1.0-alpha.4"
37
37
  },
38
38
  "devDependencies": {