smbls 3.14.855 → 3.14.856

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/smbls.cjs +46 -46
  3. package/dist/smbls.cjs.map +3 -3
  4. package/dist/smbls.core.chunk-BHRVYUXM.esm.js +7 -0
  5. package/dist/smbls.core.chunk-BHRVYUXM.esm.js.map +6 -0
  6. package/dist/smbls.core.chunk-FPRKFQFJ.esm.js +36 -0
  7. package/dist/smbls.core.chunk-FPRKFQFJ.esm.js.map +1 -0
  8. package/dist/{smbls.core.chunk-7RWDIF2S.esm.js → smbls.core.chunk-GC6GDPKF.esm.js} +15 -15
  9. package/dist/smbls.core.chunk-GC6GDPKF.esm.js.map +1 -0
  10. package/dist/smbls.core.chunk-J4QHWJGA.esm.js +2 -0
  11. package/dist/smbls.core.chunk-J4QHWJGA.esm.js.map +1 -0
  12. package/dist/smbls.core.chunk-VG333WGF.esm.js +22 -0
  13. package/dist/smbls.core.chunk-VG333WGF.esm.js.map +6 -0
  14. package/dist/{smbls.core.dropdown-PXAJ2VAG.esm.js → smbls.core.dropdown-XABH5ZRW.esm.js} +2 -2
  15. package/dist/smbls.core.esm.js +1 -1
  16. package/dist/{smbls.core.fetch-WPTPOQQO.esm.js → smbls.core.fetch-JWDHRWJY.esm.js} +2 -2
  17. package/dist/{smbls.core.fetchOnCreate-G5SI6QY4.esm.js → smbls.core.fetchOnCreate-IYA76D26.esm.js} +2 -2
  18. package/dist/{smbls.core.inspect-35DHLAA5.esm.js → smbls.core.inspect-LGTX7BS7.esm.js} +2 -2
  19. package/dist/smbls.core.sync-CN2JST7C.esm.js +2 -0
  20. package/dist/smbls.core.sync-CN2JST7C.esm.js.map +6 -0
  21. package/dist/{smbls.core.windows-XMCWCGON.esm.js → smbls.core.windows-MYD3DCHT.esm.js} +2 -2
  22. package/dist/smbls.embed.iife.js.map +1 -1
  23. package/dist/smbls.esm.js +46 -46
  24. package/dist/smbls.esm.js.map +1 -1
  25. package/dist/smbls.iife-string.js +2 -2
  26. package/dist/smbls.iife.js +1 -1
  27. package/dist/smbls.iife.js.map +1 -1
  28. package/dist/smbls.server-utils.esm.js +9 -9
  29. package/dist/smbls.server-utils.esm.js.map +3 -3
  30. package/dist/smbls.socket-io-client.esm.js.map +1 -1
  31. package/package.json +3 -3
  32. package/dist/smbls.core.chunk-7RWDIF2S.esm.js.map +0 -1
  33. package/dist/smbls.core.chunk-CCELIELA.esm.js +0 -2
  34. package/dist/smbls.core.chunk-CCELIELA.esm.js.map +0 -1
  35. package/dist/smbls.core.chunk-F7PSOVLR.esm.js +0 -36
  36. package/dist/smbls.core.chunk-F7PSOVLR.esm.js.map +0 -1
  37. package/dist/smbls.core.chunk-FNPJKVQM.esm.js +0 -22
  38. package/dist/smbls.core.chunk-FNPJKVQM.esm.js.map +0 -6
  39. package/dist/smbls.core.chunk-ULA4ERZ5.esm.js +0 -7
  40. package/dist/smbls.core.chunk-ULA4ERZ5.esm.js.map +0 -6
  41. package/dist/smbls.core.sync-ABZ7ZHXJ.esm.js +0 -2
  42. package/dist/smbls.core.sync-ABZ7ZHXJ.esm.js.map +0 -6
  43. /package/dist/{smbls.core.dropdown-PXAJ2VAG.esm.js.map → smbls.core.dropdown-XABH5ZRW.esm.js.map} +0 -0
  44. /package/dist/{smbls.core.fetch-WPTPOQQO.esm.js.map → smbls.core.fetch-JWDHRWJY.esm.js.map} +0 -0
  45. /package/dist/{smbls.core.fetchOnCreate-G5SI6QY4.esm.js.map → smbls.core.fetchOnCreate-IYA76D26.esm.js.map} +0 -0
  46. /package/dist/{smbls.core.inspect-35DHLAA5.esm.js.map → smbls.core.inspect-LGTX7BS7.esm.js.map} +0 -0
  47. /package/dist/{smbls.core.windows-XMCWCGON.esm.js.map → smbls.core.windows-MYD3DCHT.esm.js.map} +0 -0
@@ -0,0 +1,36 @@
1
+ function __smblsNs(c,a){for(var b in a)Object.defineProperty(c,b,{get:a[b],enumerable:!0});return c}import{$ as Pc,A as lc,Ae as fr,B as cc,C as uc,Cf as Pe,D as fc,E as dc,F as pc,G as hc,H as gc,He as lt,I as mc,J as yc,Je as Xo,K as _c,Ke as Zo,L as bc,Le as R,M as Sc,N as wc,Nd as Go,O as kc,P as vc,Pc as st,Pd as Vo,Q as jt,R as Ec,S as Cc,T as Rc,Td as it,U as Lc,Ud as zo,V as Tc,W as Ac,X as Dc,Y as Oc,Z as xc,_ as Ic,aa as Mc,ag as ut,ba as Fc,bg as Me,ca as $c,cc as se,cg as en,da as Nc,dg as Fe,ea as Bc,eg as dr,fa as Uc,fc as Uo,fg as z,ga as jc,gg as tn,ha as Hc,hc as jo,hg as H,i as ql,ia as Gc,id as ie,ig as ft,j as Yl,ja as Vc,jg as $e,k as Jl,ka as Jc,kf as Qo,kg as rn,l as Xl,la as ot,lc as U,le as Wo,lg as on,m as Zl,ma as gu,mc as j,mg as nn,n as Ql,na as mu,nc as Q,ne as Ko,ng as pr,o as ec,oa as yu,oe as Ie,og as Ru,p as tc,pa as cr,pe as at,pg as Lu,q as rc,qa as _u,qc as Ho,qg as Tu,r as oc,ra as bu,rc as ur,re as qo,rf as ct,rg as Au,s as nc,sa as Su,se as Yo,sg as Du,t as re,ta as wu,tg as hr,u as sc,ua as ku,ug as Ou,v as ic,va as vu,vg as xu,w as Bt,wa as Eu,wb as Bo,wg as Iu,x as Ut,xa as Cu,xg as dt,y as oe,ye as Jo,yg as gr,z as ac,zg as Ne}from"./smbls.core.chunk-GC6GDPKF.esm.js";import{A as er,B as tr,C as rr,D as or,E as au,F as lu,G as cu,H as uu,I as nr,J as fu,K as nt,L as No,M as sr,N as ir,O as ar,P as du,Q as pu,R as lr,S as hu,a as Ht,b as Xc,c as Zc,d as Qc,e as eu,f as Z,g as tu,h as ru,i as Gt,j as ou,k as nu,l as Vt,m as zt,n as su,o as Wt,p as Kt,q as Fo,r as qt,s as Yt,t as Jt,u as Xt,v as $o,w as iu,x as ne,y as Zt,z as Qt}from"./smbls.core.chunk-BHRVYUXM.esm.js";import{A as Wc,B as Kc,C as qc,D as Oe,E as xe,F as Yc,f as Io,h as Po,w as zc,x as rt,y as Ae,z as De}from"./smbls.core.chunk-J4QHWJGA.esm.js";import{$ as Ja,$a as Nl,A as La,Aa as dl,B as Ta,Ba as pl,C as Aa,Ca as hl,D as Da,Da as gl,E as Oa,Ea as ml,F as xa,Fa as yl,G as Ia,Ga as _l,H as Xe,Ha as bl,I as Pa,Ia as Sl,J as Ma,Ja as wl,K as Fa,Ka as kl,L as $a,La as vl,M as Na,Ma as El,N as Ce,Na as Cl,O as Ba,Oa as Rl,P as Ua,Pa as Ll,Q as ja,Qa as Tl,R as Ha,Ra as Al,S as Ga,Sa as Dl,T as Va,Ta as Ol,U as Ze,Ua as xl,V as za,Va as Il,W as Wa,Wa as Pl,X as Ka,Xa as Ml,Y as Re,Ya as Fl,Z as qa,Za as $l,_ as Ya,_a as et,a as ke,aa as Xa,ab as Bl,b as fa,ba as Za,bb as Ul,c as da,ca as Qa,d as p,da as el,e as k,ea as tl,f as Ft,fa as rl,g as v,ga as ol,h as pa,ha as Mo,i as ha,ia as M,j as C,ja as nl,k as ga,ka as ee,l as ve,la as L,m as ma,ma as sl,n as x,na as T,o as ya,oa as il,p as Ee,pa as al,q as _a,qa as te,r as ba,ra as ll,s as Sa,sa as Qe,t as wa,ta as cl,u as ka,ua as Le,v as Je,va as ul,w as va,wa as fl,x as Ea,xa as $t,y as Ca,ya as Te,z as Ra,za as Nt}from"./smbls.core.chunk-VG333WGF.esm.js";import{a as jl,b as Hl,c as Gl,d as Vl,e as tt,f as zl,g as Wl,h as Kl}from"./smbls.core.chunk-I5EGBLTJ.esm.js";import{a as ca,b as ua,c as D,d as P}from"./smbls.core.chunk-PDZOHW5Y.esm.js";import{a as la}from"./smbls.core.chunk-WFARPHWF.esm.js";var mr=(function(){let e=0;function t(){return e++,e}return t})(),yr=mr,_r=(e,t,r)=>(M(r,e)||r||e.key||mr()).toString();var Pu=(e,t)=>{let{__ref:r}=e,o=e.if;if(v(o)){let n;try{n=o(e,e.state,e.context)}catch(s){typeof console<"u"&&console.warn("[DOMQL] if condition error:",s),delete r.__if;return}n?r.__if=!0:delete r.__if}else o!=null&&typeof o=="object"?M(o,e)?r.__if=!0:delete r.__if:r.__if=!0};var Mu=(e,...t)=>{e&&t.map(r=>console.log(r))},Fu=(e,t,...r)=>{e&&(console.group(t),r.map(o=>console.log(o)),console.groupEnd(t))};var $u=typeof navigator>"u"?!1:/Mobi/.test(navigator.userAgent),Nu=(e,t,r=365)=>{if(x(P)||x(P.cookie))return;let o=new Date;o.setTime(o.getTime()+r*24*60*60*1e3);let n=`expires=${o.toUTCString()}`;P.cookie=`${e}=${t};${n};path=/`},Bu=e=>{if(x(P)||x(P.cookie))return;let t=`${e}=`,o=decodeURIComponent(P.cookie).split(";");for(let n=0;n<o.length;n++){let s=o[n];for(;s.charAt(0)===" ";)s=s.substring(1);if(s.indexOf(t)===0)return s.substring(t.length,s.length)}return""},Uu=e=>{x(P)||x(P.cookie)||(P.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;")};function ju(e){let t;try{if(!window.localStorage)return;t=window.localStorage.getItem(e)}catch{return}if(t!==null)try{return JSON.parse(t)}catch{return}}function Hu(e,t){if(t!=null)try{if(!window.localStorage)return;let r=typeof t=="object"?JSON.stringify(t):t;window.localStorage.setItem(e,r)}catch{}}var pt={root:["body","html"],head:["title","base","meta","style","noscript","script"],body:new Set(["string","style","fragment","a","abbr","acronym","address","applet","area","article","aside","audio","b","basefont","bdi","bdo","big","blockquote","br","button","canvas","caption","center","cite","code","search","col","colgroup","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","hgroup","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","template","hgroup","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr","svg","path","circle","ellipse","line","polygon","polyline","rect","g","defs","symbol","use","text","tspan","image","clipPath","mask","pattern","marker","linearGradient","radialGradient","stop","filter","feGaussianBlur","feOffset","feMerge","feMergeNode","feBlend","feColorMatrix","feFlood","feComposite","foreignObject"])},Gu=new Set(["svg","path","circle","ellipse","line","polygon","polyline","rect","g","defs","symbol","use","text","tspan","image","clipPath","mask","pattern","marker","linearGradient","radialGradient","stop","filter","feGaussianBlur","feOffset","feMerge","feMergeNode","feBlend","feColorMatrix","feFlood","feComposite","foreignObject"]),Vu=e=>pt.body.has(e);var br="production",sn=e=>e.sourcemap!==!1&&br!=="production",ht=e=>{if(!e)return[];let t=[],r=e.extends;r&&(C(r)?t.push(...r):t.push(r));let o=e.extend;return o&&(C(o)?t.push(...o):t.push(o)),t},N=e=>{if(!C(e))return e;let t=[];for(let r=e.length-1;r>=0;r--){let o=e[r];t.push(C(o)?N(o):o)}return t},gt=e=>{if(e.includes("+"))return e.split("+").filter(q);if(e.includes("_")){let[t]=e.split("_");return[t]}if(e.includes(".")&&!q(e.split(".")[1])){let[t]=e.split(".");return[t]}return[e]},kr=(e,t,r)=>{let o=[],n=gt(r);n&&(o=[...n]);let s=N(ht(e));return s.length&&(o=[...o,...s]),o},W=(e,t)=>{let{__ref:r}=t,{__extends:o}=r;if(!e)return o;let n=t.variant,s=t.context;if(n&&s?.components&&!Array.isArray(e)&&typeof e=="string"){let i=`${e}.${n}`;s.components[i]&&(e=i)}return o.includes(e)||(o=Array.isArray(e)?[...o,...e]:[...o,e],r.__extends=o),o},zu=(e,t)=>{if(!e)return t;let{extends:r}=t,o=C(r)?r:[r],n=C(e)?e:[e];return{...t,extends:Je(n,o)}},an=()=>Math.random().toString(36).substring(2),vr={},Wu={},Er=e=>vr[e.__hash],ln=(e,t)=>{let r=an();return k(e)||(e.__hash=r),r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(vr[r]=t),t},cn=(e,t)=>e.__hash?t.concat(Er(e)):ln(e,t),Cr=(e,t,r,o=new Set,n,s)=>{for(let i of e)C(i)?Cr(i,t,r,o,n,s):mt(i,t,r,o,n,void 0,s);return t},un=(e,t,r,o=new Set,n,s,i)=>{let a=ht(e),l={...e};delete l.extends,delete l.extend;let c=!1;for(let u in l){c=!0;break}return c&&(t.push(l),n&&n.push(s)),a.length&&mt(N(a),t,r,o,n,s,i),t},mt=(e,t,r,o=new Set,n,s,i)=>{if(!e||o.has(e))return t;if(C(e))return Cr(e,t,r,o,n,i);let a=s;return k(e)?(a=e,e=Rr(e,r)):i&&p(e)&&i.has(e)&&(a=i.get(e)),o.has(e)||(o.add(e),e?.extends||e?.extend?un(e,t,r,o,n,a,i):e&&(t.push(e),n&&n.push(a))),t},Ku=new Set(["parent","node","__ref","__proto__","extends","extend","childExtends","childExtendsRecursive"]),K=(e,t,r,o,n)=>{t=T(t);for(let s in t){if(Ku.has(s))continue;let i=e[s],a=t[s];if(a!==void 0&&Object.prototype.hasOwnProperty.call(t,s)&&s!=="__proto__"&&s!=="constructor"&&s!=="prototype"){if(i===void 0)e[s]=a,r&&o?p(a)&&!C(a)?(r[s]=r[s]||{},fn(r[s],a,o)):r[s]=o:r&&n?.[s]&&(r[s]=n[s]);else if(p(i)&&p(a)){let l=r?r[s]=r[s]||{}:void 0,c=n?.[s];q(s)?e[s]=K(i,a,l,o,c):K(i,a,l,o,c)}if(s==="extends"||s==="childExtends"||s==="childExtendsRecursive"){if(C(i)&&C(a))e[s]=i.concat(a);else if(C(i)&&p(a)){let l=K({},i);e[s]=K(l,a)}}}}return e},fn=(e,t,r,o)=>{if(o||(o=new WeakSet),!o.has(t)){o.add(t);for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="__proto__"||n==="constructor"||n==="prototype")continue;let s=t[n];p(s)&&!C(s)?(e[n]=e[n]||{},fn(e[n],s,r,o)):e[n]=r}}},Sr=(e,t,r)=>e.reduce((o,n,s)=>{let i=T(n),a=r?r[s]:void 0;return K(o,i,t,a)},{}),Rr=(e,t,r={},o)=>{let n=t?.components||r.components,s=t?.pages||r.pages;if(k(e)){let i=n&&(n[e+"."+o]||n[e]||n["smbls."+e]),a=s&&e.charCodeAt(0)===47&&s[e];if(i)return i;if(a)return a;r.verbose&&(br==="test"||br==="development")&&console.warn("Extend is string but component was not found:",e);return}return e},qu=(e,t)=>[].concat(e.slice(0,1)).concat(t.slice(0,1)).concat(e.slice(1)).concat(t.slice(1)),wr=(e,t,r,o)=>{if(!e)return[];if(e.__hash)return Er(e)||[];let s=mt(e,[],t,new Set,r,void 0,o);return r?s:cn(e,s)},Yu=(e,t)=>{if(!e)return t;let r=C(e)?e:[e];return Je(r,t)},Ju=e=>{let t=[];function r(o){for(let n in o)Object.prototype.hasOwnProperty.call(o,n)&&(q(n)&&t.push(n),n==="extends"&&(typeof o[n]=="string"?t.push(o[n]):Array.isArray(o[n])&&(t=t.concat(o[n]))),typeof o[n]=="object"&&o[n]!==null&&r(o[n]))}return r(e),t},dn=(e,t,r={})=>{let{__ref:o}=e,n=e.context||t.context,s=e.variant,i=ht(e);if(i.length){let a=N(i),[l,...c]=a,u=typeof l=="string"&&s&&n?.components?`${l}.${s}`:null;u&&n.components[u]?W([u,...c],e):W(a,e)}return pn(e,t,r),hn(e,t,r),gn(e,t,r),e.component&&W(N(M(e.component,e)),e),n.defaultExtends&&W(N(n.defaultExtends),e),Xe(o.__extends)},pn=(e,t,r={})=>{let{__ref:o}=e;return r.ignoreChildExtends||e.ignoreChildExtends||t.childProps?.extends&&W(N(t.childProps.extends),e),o.__extends},hn=(e,t,r={})=>{let{__ref:o}=e,n=r.ignoreChildExtends||e.ignoreChildExtends,s=t.childExtends;return!n&&s&&W(N(s),e),o.__extends},gn=(e,t,r={})=>{let{__ref:o}=e,n=t.childExtendsRecursive,s=r.ignoreChildExtendsRecursive||e.ignoreChildExtendsRecursive,i=e.key==="__text";return n&&!i&&!s&&W(N(n),e),o.__extends},mn=(e,t,r={})=>{let{__ref:o}=e,n=e.context||t.context,s=e.variant,i=sn(r),a=i?[...o.__extends]:null,l=Xe(o.__extends.map((c,u)=>Rr(c,n,r,u===0&&s)));if(i){let c=new WeakMap;for(let d=0;d<l.length;d++){let g=l[d],y=a[d];g&&p(g)&&k(y)&&c.set(g,y)}let u=[],f=wr(l,n,u,c);o.__extendsStack=f,o.__extendsNames=u}else{let c=wr(l,n);o.__extendsStack=c}return o.__extendsStack},yn=(e,t,r={})=>{let{__ref:o}=e,{__extendsStack:n}=o;if(sn(r)){let s={},i=o.__extendsNames||[],a=Sr(n,s,i),l={};K(e,a,l,void 0,s),o.__sourcemap=l}else{let s=Sr(n);K(e,s)}return e},Xu=(e,t,r={})=>(dn(e,t,r),mn(e,t,r),yn(e,t,r),e);var q=e=>{if(!k(e)||!e.length)return!1;let t=e.charCodeAt(0);return t>=65&&t<=90};function Zu(e){return Object.keys(e).filter(t=>/^[A-Z]/.test(t))}function Qu(e){return Object.keys(e).filter(t=>/^\d+$/.test(t))}function ef(e,t,r){let{context:o}=t||{},[n]=gt(r),s=r||n;return o?.components?.[s]||o?.pages?.[s]}function _n(e,t){let{props:r,on:o}=t,n=Ce(e.split("on")[1]),s=o[n],i=r[e];v(s)?o[n]=(...a)=>{if(s(...a)!==!1&&v(i))return i(...a)}:o[n]=i}var Ar=/^[A-Z]/,bn=/^\d+$/,Sn=new Set([":","@","[","*","+","~","&",">","$","-",".","!"]),tf=new Set(["extend","props","text","tag","on","if","childExtend","children","childrenAs","state","html","attr","define","content"]),rf=e=>{if(!e||typeof e!="object"||Array.isArray(e))return!1;for(let t in e)if(tf.has(t)||Ar.test(t))return!0;return!1},Dr=(e,t,r)=>{let{props:o,__ref:n}=e;if(n.__propsStack=[],o)n.__initialProps=o;else return{};return ve(o)?{...o}:(n.__propsStack.push(o),{})};function wn(e,t={}){let r=t.cachedKeys||[];for(let o in e){let n=e[o];if(o.length>2&&o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o[2]===o[2].toUpperCase()&&(v(n)||n!=null&&tt(this.context))){let y=Ce(o.slice(2));e.on&&(e.on[y]=n),delete e[o];continue}if(o==="childProps"){e.props[o]=n,delete e[o],r.push(o);continue}let a=this.define?.[o],l=this.context?.define?.[o],c=p(a)||v(a),u=p(l)||v(l);if(c||u)continue;let f=o.charAt(0);if(Sn.has(f)){e.props[o]=n,delete e[o],r.push(o);continue}let d=Ar.test(o)||bn.test(o)||rf(n),g=Ze.has(o);!d&&!g&&(o in e.props||(e.props[o]=n),delete e[o],r.push(o))}return e}function kn(e=this,t){let r=t.cachedKeys||[];for(let o in e.props){let n=e.props[o],s=o.length>2&&o.charCodeAt(0)===111&&o.charCodeAt(1)===110,i=v(n)||n!=null&&tt(this.context);if(s&&i){_n(o,e),delete e.props[o];continue}if(r.includes(o)||o==="childProps")continue;let a=o.charAt(0);if(Sn.has(a))continue;let l=this.define?.[o],c=this.context?.define?.[o],u=p(l)||v(l),f=p(c)||v(c),d=Ar.test(o)||bn.test(o),g=Ze.has(o);(d||g||u||f)&&(e[o]===void 0||n===null)&&(e[o]=n,e.props&&delete e.props[o])}return e}function vn(e=this){let t=[];return wn.call(this,e,{cachedKeys:t}),kn.call(this,e,{cachedKeys:t}),e}function of(e={}){return e.on||(e.on={}),e.props||(e.props={}),vn.call(this,e)}var Lr=e=>Ee(e)("string","number")?{inheritedString:e}:e,nf=(e,t)=>!e||!t.length?!1:t.includes(e),Or=(e,t)=>{let{__ref:r}=e,o=r.__propsStack||[],n=t.props;if(!n)return o;let s=n[e.key],i=n.childProps||t.childProps,a=e.props?.ignoreChildProps;if(i&&!a){let l=Lr(i);o.unshift(l)}if(s){let l=Lr(s);o.unshift(l)}return o};function En(e,t){this.__element.update({props:e},t)}function xr(e){let t={update:En.bind(e.props),__element:e};Object.setPrototypeOf(e.props,t)}var Ir=e=>{let t=new Set;return e.filter(r=>!r||Re.has(r)||t.has(r)?!1:(t.add(r),!0))},Pr=(e,t,r)=>(t.props=e.reduce((o,n)=>{if(Re.has(n))return o;for(;v(n);)n=M(n,t);return L(o,T(n,{exclude:Re}))},{}),xr(t),t.props),Cn=(e,t)=>{let{props:r,__ref:o}=e,n=o.__propsStack||[];if(t?.props&&(n=[...Or(e,t)]),p(r)?n.push(r):r==="inherit"&&t?.props?n.push(t.props):r&&n.push(r),C(o.__extendsStack))for(let s=0;s<o.__extendsStack.length;s++){let i=o.__extendsStack[s];i.props&&i.props!==r&&n.push(i.props)}return o.__propsStack=Ir(n),o.__propsStack},Tr=(e,t)=>{let{__ref:r}=e,o=Cn(e,t);o.length?Pr(o,e):(r.__propsStack=[],e.props={})},sf=function(e,t,r){let{__ref:o}=e;if(o.__if)Tr(e,t);else try{Tr(e,t)}catch(n){e.context?.designSystem?.verbose&&console.warn("initProps error at",o.path?.join("."),n),e.props={},o.__propsStack=[]}return xr(e),e},af=(e,t,r)=>{let{__ref:o}=t,s=[...o.__propsStack||[]],i=Or(t,r);return i.length&&(s=[...i,...s]),e&&(s=[e,...s]),o.__propsStack=Ir(s),o.__propsStack.length&&Pr(o.__propsStack,t),t};var Rn="production",Ln=(e,t,r)=>{let o=t.childExtends&&t.childExtends.tag,n=t.childProps&&t.childProps.tag,s=pt.body.has(r)&&r;return{text:e,tag:o||n||s||"string"}},Tn=(e,t,r)=>{if(e===void 0)return(Rn==="test"||Rn==="development")&&console.warn(r,"element is undefined in",t?.__ref?.path),{};if(e!==null)return e===!0?{}:Ee(e)("string","number")?Ln(e,t,r):v(e)?{props:e}:e},An=(e,t)=>{let r={};return r.origin=e,r.parent=t,r},Dn=(e,t,r,o,n)=>{if(!t)return n;if(ke(t)){let s={key:":root",node:t};return n[`${r}_parent`]=s,s}return t},lf=(e,t)=>{let{__ref:r}=e,{__ref:o}=t,n=t&&t.key===":root";r?.root||(r.root=n?e:o?.root)},On=(e,t,r)=>{let{__ref:o}=t;return o||(o=t.ref={}),o.path||(o.path=[]),o.path.concat(r)},xn=(e,t,r,o,n)=>(o.context&&!n.context&&!e.context&&(n.context=o.context),o.context||t.context||n.context||e.context),In=(e,t,r)=>{let o=An(e,t);return e.__ref=o,o.__defineCache||(o.__defineCache={}),o.__exec||(o.__exec={}),o.__execProps||(o.__execProps={}),o.__class||(o.__class={}),o.__classNames||(o.__classNames={}),o.__attr||(o.__attr={}),o.__changes||(o.__changes=[]),o.__children||(o.__children=[]),o.__extends=kr(e,t,r),o.path=On(e,t,r),o},cf=(e,t,r,o,n)=>{let i=e?.__hash?{extends:[e]}:Tn(e,t,r);if(!i)return;let a=Dn(i,t,r,o,n),l=_r(i,a,r);In(i,a,l);let c=Dr(i,a,l),u=xn(i,a,l,o,n),f=i.on||{};return{...i,key:l,props:c,parent:a,context:u,on:f}};var uf=(e,t)=>{let r=t;for(;r;){if(r===e)return!0;r=Object.getPrototypeOf(r)}return!1},ff=(e,t)=>{let{__ref:r}=e,o=e.context||t.context||r.root?.context;o&&!o.globalScope&&(o.globalScope={});let n=t.scope||r.root?.scope,s=o?.globalScope;if(!e.scope)n?e.scope=n:s?e.scope=Object.create(s):e.scope={};else if(typeof e.scope=="object"&&e.scope!==null&&Object.getPrototypeOf(e.scope)===Object.prototype){let i=n||s;i&&!uf(e.scope,i)&&Object.setPrototypeOf(e.scope,i)}};var df={snapshotId:yr},pf=(e,t)=>{let r=e.__ref,{currentSnapshot:o,calleeElement:n}=t;if(!n||n===e){let a=df.snapshotId();return r.__currentSnapshot=a,[a,e]}let i=n.__ref.__currentSnapshot;return o<i?[i,n,!0]:[i,n]};var Pn=new Set(["__proto__","constructor","prototype","_id","__v","id","createdAt","updatedAt","schema"]),hf=e=>typeof e=="string"&&Pn.has(e);async function gf(e){if(document.fullscreenElement)await document.exitFullscreen();else try{await(this.node||document).requestFullscreen()}catch(t){console.warn(`Error attempting to enable fullscreen mode: ${t.message} (${t.name})`)}}var ae=e=>e!=="latest"?`@${e}`:"",le=e=>e?`/${e}`:"",Mr=e=>{let t=typeof e=="string"?e.replace(/\/+$/,""):"";if(!t)return{name:"",subpath:""};let r=t.split("/"),o=t.startsWith("@")?2:1;return{name:r.slice(0,o).join("/"),subpath:r.slice(o).join("/")}},B={skypack:{url:"https://cdn.skypack.dev",formatUrl:(e,t,r)=>`${B.skypack.url}/${e}${ae(t)}${le(r)}`},esmsh:{url:"https://esm.sh",formatUrl:(e,t,r)=>`${B.esmsh.url}/${e}${ae(t)}${le(r)}`},unpkg:{url:"https://unpkg.com",formatUrl:(e,t,r)=>`${B.unpkg.url}/${e}${ae(t)}${le(r)}?module`},jsdelivr:{url:"https://cdn.jsdelivr.net/npm",formatUrl:(e,t,r)=>`${B.jsdelivr.url}/${e}${ae(t)}${le(r)}/+esm`},symbols:{url:"https://pkg.symbo.ls",formatUrl:(e,t,r)=>`${B.symbols.url}/${e}${ae(t)}${le(r)}/+esm`}},ce={"esm.sh":"esmsh",unpkg:"unpkg",skypack:"skypack",jsdelivr:"jsdelivr","pkg.symbo.ls":"symbols"},yt=(e={})=>{let{packageManager:t}=e;return ce[t]||null},Fr=e=>{if(typeof e!="string")return e;let t=e.trim().match(/^[\^~](\d.*)$/);return t?t[1]:e},G=(e,t="latest",r="esmsh")=>{let o=B[r]||B.esmsh,{name:n,subpath:s}=Mr(e);return o.formatUrl(n||e,Fr(t),s)},Mn=(e,t="latest",r="esmsh")=>{let o=B[r]||B.esmsh,n=Fr(t),{name:s,subpath:i}=Mr(e);return`${o.url}/${s||e}${ae(n)}${le(i)}/`},mf=/^node:|^@symbo-ls\//,ue=e=>typeof e=="string"&&mf.test(e),yf=/[<>…]/,Be=e=>typeof e=="string"&&yf.test(e),Ue=e=>!!e&&typeof e=="object"&&!Array.isArray(e),_f=(e,t="skypack",r={})=>{if(globalThis.__SMBLS_BUILD_BROWSER_BUNDLE__)return Mo("getImportMapScript",[e,t,r]);let o=e.dependencies;if(!Ue(o))return"";let n=Object.keys(o);if(!n.length)return"";let s=r.pin||{},i={};for(let u of n){if(ue(u)||Be(u))continue;let f=s[u]||o[u]||"latest";i[u]=G(u,f,t),u.endsWith("/")||(i[u+"/"]=Mn(u,f,t))}if(!Object.keys(i).length)return"";let a='<script type="importmap">',l="<\/script>",c=`{
2
+ "imports": ${JSON.stringify(i,null,2)}
3
+ }`;return`${a}${c}${l}`};var bf=e=>{if(!e)return"";let t=new Date(e),r=new Intl.DateTimeFormat("en",{year:"numeric"}).format(t),o=new Intl.DateTimeFormat("en",{month:"short"}).format(t);return`${new Intl.DateTimeFormat("en",{day:"2-digit"}).format(t)} ${o}, ${r}`};var Sf=(e,t)=>{let r=setTimeout(()=>{let{props:o}=e;if(!t.clientHeight){let{node:{clientHeight:n}}=e;n&&(t.clientHeight=n)}if(t.active){if(o.height==="auto")return;e.update({height:t.clientHeight},{preventBeforeUpdateListener:!0,preventChildrenUpdate:!0});let n=setTimeout(()=>{e.update({height:"auto"},{preventBeforeUpdateListener:!0,preventChildrenUpdate:!0}),clearTimeout(n)},450)}else e.update({height:"0"},{preventBeforeUpdateListener:!0,preventChildrenUpdate:!0});clearTimeout(r)})};var wf=function(t){let r=[0,1];for(let o=2;o<=t;o++)r[o]=r[o-1]+r[o-2];return r[t]};var kf=e=>["jpeg","gif","jpg","png","tiff","woff"].includes(e);var vf=(e,t=!1,r=document,o="text/javascript")=>new Promise((n,s)=>{try{let i=r.createElement("script");i.type=o,i.async=t,i.src=e,i.addEventListener("load",a=>{n({status:!0})}),i.addEventListener("error",a=>{s(new Error({status:!1,message:`Failed to load the script ${e}`}))}),r.body.appendChild(i)}catch(i){s(i)}}),Ef=(e,t=document,r="text/javascript")=>new Promise((o,n)=>{let s=t.createElement("script");s.type=r,s.src=e;let i=t.createElement("div");i.style.cssText="position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,0.8);z-index:9999;",t.body.appendChild(i),s.onload=()=>{globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.log(`Successfully loaded: ${e}`),t.body.removeChild(i),o()},s.onerror=()=>{t.body.removeChild(i),n(new Error(`Failed to load: ${e}`))},t.body.appendChild(s)}),Cf=(e,t=document,r,o="text/javascript")=>{let n=new window.XMLHttpRequest;if(n.open("GET",e,!1),n.send(),n.status===200){let s=t.createElement("script");s.type=o,s.text=n.responseText,t.body.appendChild(s),typeof r=="function"&&r()}else throw new Error(`Failed to load the script ${e}`)},Rf=(e,t=!1,r=document,o="text/javascript")=>new Promise((n,s)=>{try{let i=r.createElement("link");i.rel="stylesheet",i.href=e,i.addEventListener("load",a=>{n({status:!0})}),r.head.appendChild(i)}catch(i){s(i)}}),Lf=(e,t=!1,r=document,o="text/javascript",n="smbls-script")=>{try{let s=r.createElement("script");s.type=o,s.async=t,s.id=n,s.innerHTML=e,r.body.appendChild(s)}catch(s){console.warn(s)}};function _t(e,t={}){let{window:r=globalThis}=t,{document:o=r.document}=t;return new Promise((n,s)=>{let i=o.querySelector(`script[src="${e}"]`);if(i)return n(i);let a=o.createElement("script");a.src=e,a.async=t.async===!0,a.type=t.type||"text/javascript",t.id&&(a.id=t.id),t.integrity&&(a.integrity=t.integrity),t.crossOrigin&&(a.crossOrigin=t.crossOrigin),a.onload=()=>{a.onerror=a.onload=null,n(a)},a.onerror=()=>{a.onerror=a.onload=null,s(new Error(`Failed to load script: ${e}`))},o.head.appendChild(a)})}async function Tf(e,t={}){let{window:r=globalThis}=t,{document:o=r.document}=t;return new Promise((n,s)=>{let i=o.querySelector(`link[href="${e}"]`);if(i)return n(i);let a=o.createElement("link");a.href=e,a.rel=t.rel||"stylesheet",a.type="text/css",a.media=t.media||"all",t.id&&(a.id=t.id),t.integrity&&(a.integrity=t.integrity),t.crossOrigin&&(a.crossOrigin=t.crossOrigin),a.onload=()=>{a.onerror=a.onload=null,n(a)},a.onerror=()=>{a.onerror=a.onload=null,s(new Error(`Failed to load stylesheet: ${e}`))},o.head.appendChild(a)})}var Fn=(e,t)=>(C(t)?t:Object.values(t)).reduce((r,o)=>Math.abs(o-e)<Math.abs(r-e)?o:r),Af=(e,t)=>(e=parseFloat(e),p(t)&&(t=Object.values(t)),Fn(e,t));var $n=/[A-Za-z_$][A-Za-z0-9_$-]*/g,Nn=/[A-Za-z_$][A-Za-z0-9_$]*(?: [A-Za-z0-9_$]+){1,5}/g,Df=(e,t)=>{$n.lastIndex=0;let r;for(;r=$n.exec(e);){let n=r[0];if(t.add(n),n.indexOf("-")!==-1)for(let s of n.split("-"))s&&t.add(s)}Nn.lastIndex=0;let o;for(;o=Nn.exec(e);){let n=o[0].split(" ");for(let s=0;s<n.length-1;s++)for(let i=2;i<=6&&s+i<=n.length;i++)t.add(cr(n.slice(s,s+i).join(" ")))}return t},Un=e=>Z(e)?e.library:e,Bn=["components","pages","snippets"],Of=["name","icon"],jn=e=>{if(!p(e))return null;let t=e.key;if(!t)return null;let r=e.owner,o=p(r)?r.slug:r;return o?`${o}/${t}`:String(t)},xf=/^\s*(?:async\s+)?(?:function\b|\(|[A-Za-z_$][A-Za-z0-9_$]*\s*=>)/,Hn=e=>{let t=new Set,r=o=>{if(Array.isArray(o)){for(let n of o)if(r(n))return!0;return!1}if(!p(o)||t.has(o))return!1;t.add(o);for(let n of Of){let s=o[n];if(typeof s=="string"&&xf.test(s))return!0}for(let n of Object.keys(o))if(r(o[n]))return!0;return!1};for(let o of Bn)if(r(e[o]))return!0;for(let o of e.sharedLibraries||[]){let n=Un(o);if(p(n)){for(let s of Bn)if(r(n[s]))return!0}}return!1},If=e=>{if(!p(e)||!Array.isArray(e.sharedLibraries))return null;if(globalThis.__SMBLS_BUILD_NO_SHARED_LIBRARIES__)return e.sharedLibraries.length&&Ht("planLibraryIconPrune"),null;let t=p(e.settings)?e.settings.libraryIconPrune:void 0;if(t===!1||t!==!0&&Hn(e))return null;let r=[];for(let f of e.sharedLibraries){let d=Un(f),g=p(d)&&d.designSystem,y=p(g)&&g.icons;if(!p(y))continue;let w=jn(d);w&&r.push({id:w,icons:y,designSystem:g})}if(!r.length)return null;let o=new Set(r.map(f=>f.designSystem)),n=JSON.stringify(e,function(f,d){if(f!=="__ssr"&&!(f==="icons"&&o.has(this)))return d});if(typeof n!="string")return null;let s=Df(n,new Set),i=new Map,a=[],l=0,c=0,u=0;for(let f of r){let d=[];for(let g of Object.keys(f.icons)){if(s.has(g)){c++;continue}d.push(g);let y=f.icons[g];u+=g.length+(typeof y=="string"?y.length:0)}d.length&&(l+=d.length,i.set(f.icons,new Set(d)),a.push({id:f.id,icons:d}))}return l?{drops:i,prune:{libraries:a},report:{icons:l,kept:c,bytes:u}}:null},Pf=e=>function(t,r){let o=e.get(this);if(!(o&&o.has(t)))return r},Gn=(e,t={})=>{let r=new Map;for(let a of e&&e.libraries||[])if(!(!a||!a.id||!Array.isArray(a.icons)))for(let l of a.icons)r.has(l)||r.set(l,a.id);if(!r.size)return null;if(globalThis.__SMBLS_BUILD_NO_SHARED_LIBRARIES__)return Ht("createPrunedLibraryIconLoader"),null;let o=e&&typeof e.sameOriginBase=="string"&&e.sameOriginBase,n=o?{...t,provider:"same-origin",sameOriginBase:o}:t,s=new Map,i=a=>{let l=s.get(a);return l||(l=Promise.resolve().then(()=>Jt(a,n)).then(c=>{let u=p(c)&&p(c.designSystem)&&c.designSystem.icons;return p(u)?u:null}),s.set(a,l)),l};return a=>{let l=r.get(a);return l?i(l):null}},$r=(e,t={})=>{if(!p(e))return!1;let r=e.__libraryIconPrune;if(!p(r))return!1;let o=e.designSystem;if(!p(o)||o.iconsLoader)return!1;let n=Gn(r,t);return n?(o.iconsLoader=n,!0):!1};var Mf=()=>{let e=document.styleSheets[0],t="";if(e)try{let r=e.cssRules||e.rules;for(let o=0;o<r.length;o++)t+=r[o].cssText}catch(r){console.error("Unable to access CSS rules. This may be due to CORS restrictions:",r)}else globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.log("No stylesheets found in document.styleSheets[0].");return t};var Ff="3.14.856";var $f=e=>{if(p(e))return ct(e,e)},Eg=(e,t)=>{let r=$f(e);return typeof t=="function"?t(r):lt(r)};var Vn={blue:"#213eb0",green:"#389d34",red:"#e15c55",yellow:"#EDCB38",orange:"#e97c16",transparent:"rgba(0, 0, 0, 0)",black:"black",gray:"#4e4e50",white:"white",title:["gray-168","gray+168"],caption:["gray-68","gray+68"],paragraph:["gray-42","gray+42"],disabled:["gray-26","gray+26"],line:["gray-16","gray+16"],scrim:["black.45","black.55"],scrimSoft:["black.2","black.3"],blueDeep:"#0A5CB8",blueBright:"#47A8FF",accentInk:["blueDeep","blueBright"],greenDeep:"#2A6E28",greenBright:"#7FD07B",successInk:["greenDeep","greenBright"],redDeep:"#A83520",redBright:"#FF8C78",dangerInk:["redDeep","redBright"],orangeDeep:"#94500F",orangeBright:"#F4A45E",warningInk:["orangeDeep","orangeBright"],magentaDeep:"#A100A1",magentaBright:"#FF7AFF",magentaInk:["magentaDeep","magentaBright"]},zn={"gradient-blue-light":`linear-gradient(to right,
4
+ rgba(4, 116, 242, 1),
5
+ rgba(0, 48, 103, 1)
6
+ )`,"gradient-blue-dark":`linear-gradient(to right,
7
+ #0474F2,
8
+ #003067
9
+ )`,"gradient-dark":`linear-gradient(0deg,
10
+ rgba(0,0,0,0.06) 0%,
11
+ rgba(0,0,0,0.07) 100%
12
+ )`,"gradient-dark-active":`linear-gradient(0deg,
13
+ rgba(0,0,0,0.09) 0%,
14
+ rgba(0,0,0,0.1) 100%
15
+ )`,"gradient-light":`linear-gradient(
16
+ 0deg,
17
+ rgba(255,255,255,0.05) 0%,
18
+ rgba(255,255,255,0.06) 100%
19
+ )`,"gradient-light-active":`linear-gradient(
20
+ 0deg,
21
+ rgba(255,255,255,0.09) 0%,
22
+ rgba(255,255,255,0.10) 100%
23
+ )`,"gradient-colorful":`linear-gradient(60deg,
24
+ #00A2E7 0%,
25
+ #185DF3 31%,
26
+ #1E54F0 36%,
27
+ #8B4CCA 69%,
28
+ #C66894 100%
29
+ )`};var Nf={primary:{"@dark":{color:"white",background:"blue",".color-only":{color:"blue"},".inactive":{background:"gray+16"},".gradient":{color:"white",background:"gradient-blue"}},"@light":{color:"white",background:"gradient-blue",".color-only":{color:"blue"},".gradient":{color:"white",background:"gradient-colorful"}}},secondary:{"@dark":{color:"white",background:"green",".color-only":{color:"green"}},"@light":{color:"white",background:"green",".color-only":{color:"green"}},".child":"--primary"},tertiary:{"@dark":{color:"white",background:"gray.92+8"},"@light":{background:"gray.1"}},quaternary:{"@light":{color:"white",background:"gradient-light"},"@dark":{color:"white",background:"gradient-dark-active"}},quinary:{"@dark":{color:"gray=90",background:"gradient-light",":hover":{color:"gray=95",background:"gradient-light-active"},":focus":{color:"gray=120",background:"gradient-light-active"},":active":{color:"gray=120",background:"gradient-light-active"},".active":{color:"gray=120",background:"gradient-light-active"}},"@light":{color:"gray3",background:"gradient-dark",":hover":{color:"gray1",background:"gradient-dark-active"},":active":{color:"gray1",background:"gradient-dark-active"},".active":{color:"gray1",background:"gradient-dark-active"}}}},Bf={alert:{"@dark":{color:"white",background:"red"}},warning:{"@dark":{color:"black",background:"yellow"}},success:{"@dark":{color:"black",background:"green"}}},Uf={field:{"@light":{color:"black",background:"gray.975+144",borderColor:"gray.975+144","::placeholder":{color:"gray-68"}},"@dark":{color:"white",background:"gray.975-52",borderColor:"gray.975-52","::placeholder":{color:"gray+68"}}},label:{"@dark":{color:"white",background:"gray.92+8"},"@light":{background:"gray.1"},".light":{color:"white",background:"gray3"},".dark":{color:"white",background:"black.35"}},card:{"@light":{background:"gray.975+150"},"@dark":{color:"white",background:"gray.975-56"},".child":{color:"white",background:"gray3"},".secondary":{color:"white",background:"gradient-blue-dark",".child":{color:"white",background:"black.35"}}},dialog:{"@dark":{color:"white",background:"gray.92",".helper":{color:"white",background:"black"}},"@light":{color:"currentColor",background:"gray.1"}}},Wn={document:{"@light":{color:"black",background:"white"},"@dark":{color:"white",background:"black"}},...Nf,...Bf,...Uf,backdrop:{"@light":{background:"scrim",backdropFilter:"blur(8px)"},"@dark":{background:"scrim",backdropFilter:"blur(8px)"}},backdropSoft:{"@light":{background:"scrimSoft",backdropFilter:"blur(4px)"},"@dark":{background:"scrimSoft",backdropFilter:"blur(4px)"}},none:{color:"none",background:"none"},transparent:{color:"currentColor",background:"transparent"}};var Kn={base:16,ratio:1.25,subSequence:!0,useCapsize:!0,templates:{}};var qn={ratio:1.618,subSequence:!0};var Yn={SourceSans:[{url:""}]},Jn={system:{isDefault:!0,isSystemFallback:!0,value:["system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"','"Liberation Sans"'],type:"sans-serif"}};var Nr={...globalThis.__SMBLS_BUILD_DROP_I_symbols__?{}:{symbols:'<svg xmlns="http://www.w3.org/2000/svg" width="41" height="42" viewBox="0 0 41 42"><path fill="currentColor" fill-rule="evenodd" d="M26.6448969,0.699064106 C31.4862479,1.83000067 35.6718819,4.48073656 38.3104478,8.91022511 C40.5212645,12.5974948 41.4936378,17.0951724 40.5085112,21.3679841 C39.7174644,25.0315254 37.8558379,27.853625 34.8002871,29.8369535 C31.9792925,31.7073227 27.90737,32.069064 24.6776501,31.3213124 C23.2887047,30.9944607 20.6411869,29.9775216 19.044333,28.0178349 C17.5928447,26.2365433 17.1250067,23.5192397 17.0461096,22.8419583 C16.9044422,21.6258334 17.1065683,20.249997 17.3800113,19.0276209 C17.9614095,16.4655592 18.9984397,14.7924534 21.1401118,13.3818866 C22.95018,12.1750388 24.6834696,11.8738651 26.7601335,12.3496124 C28.1855093,12.6880929 29.4520072,13.526716 30.3514025,14.7276098 C30.6271426,15.093878 30.8260324,15.4389318 31.059655,15.8362933 L30.9598079,15.7715366 C29.6377659,14.9422902 28.1654404,14.6590001 26.6448969,15.0752526 C25.2996601,15.4486698 24.1453463,16.3687006 23.4390969,17.6304467 C22.6973258,18.9448239 22.4839364,20.5087166 22.8465467,21.9733145 C23.2152637,23.4394215 24.1276197,24.6832715 25.381967,25.429977 C26.7647836,26.2608222 28.5893081,26.47537 30.1320438,26.0161118 C32.0344739,25.4497656 33.5958796,24.1165457 34.5824098,22.3233381 C35.8078311,20.0959926 36.0316242,17.5753145 35.4197363,15.1376991 C34.8712232,12.9726344 33.491011,11.1258939 31.7578503,9.86101942 C28.3978494,7.40873928 23.8145474,6.88014849 19.8961329,8.1555193 C16.9596954,9.11146975 14.399202,11.0657028 12.6221782,13.707146 C10.5375814,16.8894059 9.73736372,20.794518 10.3986926,24.5579956 C10.9302311,27.7327705 12.5716868,31.0242929 14.8485647,33.1339502 C15.5517576,33.7855358 16.0056239,34.2996296 16.8186608,34.9238068 C16.1252729,35.6670587 15.729719,36.1210912 15.0276006,36.8553491 L10.5425168,41.6144377 C8.59431563,40.2572487 6.84060794,38.6181461 5.33246714,36.7448351 C1.65619854,32.1632109 -0.0655234106,26.1858125 0.562658817,20.1851649 C1.1000136,14.4158268 3.81414269,9.08050481 8.0996615,5.36924966 C12.3107417,1.69300072 17.6911238,0.0107792851 23.1108097,0.299129816 C25.006381,0.458182488 26.18441,0.591493918 26.6448969,0.699064106 Z"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_logo__?{}:{logo:'<svg xmlns="http://www.w3.org/2000/svg" width="41" height="42" viewBox="0 0 41 42"><path fill="currentColor" fill-rule="evenodd" d="M26.6448969,0.699064106 C31.4862479,1.83000067 35.6718819,4.48073656 38.3104478,8.91022511 C40.5212645,12.5974948 41.4936378,17.0951724 40.5085112,21.3679841 C39.7174644,25.0315254 37.8558379,27.853625 34.8002871,29.8369535 C31.9792925,31.7073227 27.90737,32.069064 24.6776501,31.3213124 C23.2887047,30.9944607 20.6411869,29.9775216 19.044333,28.0178349 C17.5928447,26.2365433 17.1250067,23.5192397 17.0461096,22.8419583 C16.9044422,21.6258334 17.1065683,20.249997 17.3800113,19.0276209 C17.9614095,16.4655592 18.9984397,14.7924534 21.1401118,13.3818866 C22.95018,12.1750388 24.6834696,11.8738651 26.7601335,12.3496124 C28.1855093,12.6880929 29.4520072,13.526716 30.3514025,14.7276098 C30.6271426,15.093878 30.8260324,15.4389318 31.059655,15.8362933 L30.9598079,15.7715366 C29.6377659,14.9422902 28.1654404,14.6590001 26.6448969,15.0752526 C25.2996601,15.4486698 24.1453463,16.3687006 23.4390969,17.6304467 C22.6973258,18.9448239 22.4839364,20.5087166 22.8465467,21.9733145 C23.2152637,23.4394215 24.1276197,24.6832715 25.381967,25.429977 C26.7647836,26.2608222 28.5893081,26.47537 30.1320438,26.0161118 C32.0344739,25.4497656 33.5958796,24.1165457 34.5824098,22.3233381 C35.8078311,20.0959926 36.0316242,17.5753145 35.4197363,15.1376991 C34.8712232,12.9726344 33.491011,11.1258939 31.7578503,9.86101942 C28.3978494,7.40873928 23.8145474,6.88014849 19.8961329,8.1555193 C16.9596954,9.11146975 14.399202,11.0657028 12.6221782,13.707146 C10.5375814,16.8894059 9.73736372,20.794518 10.3986926,24.5579956 C10.9302311,27.7327705 12.5716868,31.0242929 14.8485647,33.1339502 C15.5517576,33.7855358 16.0056239,34.2996296 16.8186608,34.9238068 C16.1252729,35.6670587 15.729719,36.1210912 15.0276006,36.8553491 L10.5425168,41.6144377 C8.59431563,40.2572487 6.84060794,38.6181461 5.33246714,36.7448351 C1.65619854,32.1632109 -0.0655234106,26.1858125 0.562658817,20.1851649 C1.1000136,14.4158268 3.81414269,9.08050481 8.0996615,5.36924966 C12.3107417,1.69300072 17.6911238,0.0107792851 23.1108097,0.299129816 C25.006381,0.458182488 26.18441,0.591493918 26.6448969,0.699064106 Z"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowDownCircle__?{}:{arrowDownCircle:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-circle"><circle cx="12" cy="12" r="10"/><path d="M8 12l4 4 4-4M12 8v8"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowDownLeft__?{}:{arrowDownLeft:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-left"><path d="M17 7L7 17M17 17H7V7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowDownRight__?{}:{arrowDownRight:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-right"><path d="M7 7l10 10M17 7v10H7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowDown__?{}:{arrowDown:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down"><path d="M12 5v14M19 12l-7 7-7-7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowLeftCircle__?{}:{arrowLeftCircle:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left-circle"><circle cx="12" cy="12" r="10"/><path d="M12 8l-4 4 4 4M16 12H8"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowLeft__?{}:{arrowLeft:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><path d="M19 12H5M12 19l-7-7 7-7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowRight__?{}:{arrowRight:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><path d="M5 12h14M12 5l7 7-7 7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowRightCircle__?{}:{arrowRightCircle:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"/><path d="M12 16l4-4-4-4M8 12h8"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowUpCircle__?{}:{arrowUpCircle:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-circle"><circle cx="12" cy="12" r="10"/><path d="M16 12l-4-4-4 4M12 16V8"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowUpLeft__?{}:{arrowUpLeft:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-left"><path d="M17 17L7 7M7 17V7h10"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowUpRight__?{}:{arrowUpRight:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-right"><path d="M7 17L17 7M7 7h10v10"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_arrowUp__?{}:{arrowUp:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up"><path d="M12 19V5M5 12l7-7 7 7"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_checkCircle__?{}:{checkCircle:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 11-5.93-9.14"/><path d="M22 4L12 14.01l-3-3"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_check__?{}:{check:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><path d="M20 6L9 17l-5-5"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_chevronDown__?{}:{chevronDown:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path d="M6 9l6 6 6-6"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_chevronLeft__?{}:{chevronLeft:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><path d="M15 18l-6-6 6-6"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_chevronRight__?{}:{chevronRight:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><path d="M9 18l6-6-6-6"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_chevronUp__?{}:{chevronUp:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><path d="M18 15l-6-6-6 6"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_copy__?{}:{copy:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_eyeOff__?{}:{eyeOff:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19m-6.72-1.07a3 3 0 11-4.24-4.24M1 1l22 22"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_eye__?{}:{eye:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_info__?{}:{info:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_lock__?{}:{lock:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_minus__?{}:{minus:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus"><path d="M5 12h14"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_sun__?{}:{sun:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_moon__?{}:{moon:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_moreHorizontal__?{}:{moreHorizontal:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-horizontal"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_moreVertical__?{}:{moreVertical:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_send__?{}:{send:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"><path d="M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_smile__?{}:{smile:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-smile"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_search__?{}:{search:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_upload__?{}:{upload:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M17 8l-5-5-5 5M12 3v12"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_video__?{}:{video:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video"><path d="M23 7l-7 5 7 5V7z"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_x__?{}:{x:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><path d="M18 6L6 18M6 6l12 12"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_star__?{}:{star:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>'},...globalThis.__SMBLS_BUILD_DROP_I_plus__?{}:{plus:'<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><path d="M12 5v14M5 12h14"/></svg>'}};globalThis.__SMBLS_BUILD_DROP_ICONS__&&on(["symbols","logo","arrowDownCircle","arrowDownLeft","arrowDownRight","arrowDown","arrowLeftCircle","arrowLeft","arrowRight","arrowRightCircle","arrowUpCircle","arrowUpLeft","arrowUpRight","arrowUp","checkCircle","check","chevronDown","chevronLeft","chevronRight","chevronUp","copy","eyeOff","eye","info","lock","minus","sun","moon","moreHorizontal","moreVertical","send","smile","search","upload","video","x","star","plus"].filter(e=>!Object.prototype.hasOwnProperty.call(Nr,e)));var Xn={tv:"(min-width: 2780px)",screenL:"(max-width: 1920px)","screenL<":"(min-width: 1920.02px)",screenM:"(max-width: 1680px)","screenM<":"(min-width: 1680.02px)",screenS:"(max-width: 1440px)","screenS<":"(min-width: 1440.02px)",tabletL:"(max-width: 1366px)","tabletL<":"(min-width: 1366.02px)",tabletM:"(max-width: 1280px)","tabletM<":"(min-width: 1280.02px)",tabletS:"(max-width: 1024px)","tabletS<":"(min-width: 1024.02px)",mobileL:"(max-width: 768px)","mobileL<":"(min-width: 768.02px)",mobileM:"(max-width: 560px)","mobileM<":"(min-width: 560.02px)",mobileS:"(max-width: 480px)","mobileS<":"(min-width: 480.02px)",mobileXS:"(max-width: 375px)","mobileXS<":"(min-width: 375.02px)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)",print:"print"};var Zn={base:150,ratio:1.333,unit:"ms",subSequence:!0,defaultBezier:"cubic-bezier(.29, .67, .51, .97)",springBezier:"cubic-bezier(.32, .72, 0, 1)"};var Qn={radiusControl:"12px",radiusCard:"17px",radiusSheet:"24px",radiusPill:"999px",controlH:"44px",controlHCompact:"36px"};var fe={version:"0.0.1",color:Vn,gradient:zn,theme:Wn,typography:Kn,spacing:qn,font:Yn,fontFamily:Jn,timing:Zn,icons:Nr,media:Xn,sizes:Qn,reset:{html:{},body:{}},animation:{fadeIn:{from:{opacity:0},to:{opacity:1}},modalIn:{from:{transform:"scale(0.95)",opacity:0},to:{transform:"",opacity:1}},modalOut:{to:{transform:"scale(0.95)",opacity:0}}},devices:{},class:{},svg:{},grid:{},shape:{}};function bt(e){if(e==null)return 0;if(typeof e!="object")return es(String(e));let t=2166136261;if(Array.isArray(e)){t=(t^91)*16777619;for(let o=0;o<e.length;o++)t=(t^bt(e[o]))*16777619;return t>>>0}let r=Object.keys(e).sort();for(let o=0;o<r.length;o++)t=(t^es(r[o]))*16777619,t=(t^bt(e[r[o]]))*16777619;return t>>>0}function es(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=t*16777619>>>0;return t}function St(e,t){if(e===t)return!0;if(e===null||t===null||typeof e!=typeof t||typeof e!="object")return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!St(e[n],t[n]))return!1;return!0}let r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let n=0;n<r.length;n++){let s=r[n];if(!Object.prototype.hasOwnProperty.call(t,s)||!St(e[s],t[s]))return!1}return!0}function Br(e,t){if(t===void 0)return e;if(e===void 0)return t;if(t===null)return null;if(typeof t!="object"||Array.isArray(t))return t;if(typeof e!="object"||Array.isArray(e))return{...t};let r=!1,o={};for(let n in e)if(n in t){let s=Br(e[n],t[n]);o[n]=s,s!==e[n]&&(r=!0)}else o[n]=e[n];for(let n in t)n in e||(o[n]=t[n],r=!0);return r?o:e}function Ur(e,t,r){if(!t||typeof t!="object")return e;if(!e||typeof e!="object")return t;if(r||(r=new WeakSet),r.has(t))return e;r.add(t);for(let o in t){let n=t[o];n&&typeof n=="object"&&!Array.isArray(n)&&e[o]&&typeof e[o]=="object"&&!Array.isArray(e[o])?Ur(e[o],n,r):e[o]=n}return e}function Y(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=t*16777619>>>0;return t.toString(36)}function de(e){return e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}function je(e){let t=String(e);return t.length<=20?t.replace(/\s+/g,"_").replace(/[^a-zA-Z0-9_-]/g,"").toLowerCase():Y(t)}function ts(e){return e.split(`
30
+ `).map(Y).join(`
31
+ `)}var rs={display:"d",position:"pos",padding:"p",paddingTop:"pt",paddingRight:"pr",paddingBottom:"pb",paddingLeft:"pl",paddingBlock:"pbl",paddingInline:"pin",margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginBlock:"mbl",marginInline:"min",width:"w",height:"h",minWidth:"mnw",minHeight:"mnh",maxWidth:"mxw",maxHeight:"mxh",top:"t",right:"r",bottom:"b",left:"l",flex:"fx",flexDirection:"fxd",flexWrap:"fxw",flexGrow:"fxg",flexShrink:"fxs",flexBasis:"fxb",justifyContent:"jc",alignItems:"ai",alignSelf:"as",alignContent:"ac",gap:"g",rowGap:"rg",columnGap:"cg",gridTemplateColumns:"gtc",gridTemplateRows:"gtr",gridColumn:"gc",gridRow:"gr",overflow:"of",overflowX:"ofx",overflowY:"ofy",fontSize:"fs",fontWeight:"fw",fontFamily:"ff",fontStyle:"fst",lineHeight:"lh",letterSpacing:"ls",textAlign:"ta",textDecoration:"td",textTransform:"tt",color:"c",background:"bg",backgroundColor:"bgc",backgroundImage:"bgi",border:"bd",borderRadius:"br",borderColor:"bdc",borderWidth:"bdw",borderStyle:"bds",boxShadow:"bxsh",opacity:"op",zIndex:"z",cursor:"cur",transition:"tr",transform:"tf",animation:"an",visibility:"vis",whiteSpace:"ws",wordBreak:"wb",objectFit:"obj",pointerEvents:"pe",userSelect:"us",boxSizing:"bxz",outline:"ol",listStyle:"lis",textOverflow:"txo",verticalAlign:"va",float:"fl",clear:"cl",content:"cnt",backdropFilter:"bdf",filter:"flt",resize:"rsz",appearance:"apr",fill:"fil",stroke:"stk",scrollBehavior:"sb",inset:"ins"};function os(e,t){let r=rs[e]||Y(e),o=je(t),n=`_${r}-${o}`,s=de(e),i=zf[s],a=i?`${s}: ${t};${i}: ${t}`:`${s}: ${t}`,l=`.${n}{${a}}`;return`${n}
32
+ ${l}`}var zf={"backdrop-filter":"-webkit-backdrop-filter","user-select":"-webkit-user-select","mask-image":"-webkit-mask-image","mask-size":"-webkit-mask-size","mask-repeat":"-webkit-mask-repeat","mask-position":"-webkit-mask-position","mask-clip":"-webkit-mask-clip","mask-origin":"-webkit-mask-origin","background-clip":"-webkit-background-clip"},Wf="@media (hover: hover)",Kf=/(?:^|[^\\]):hover(?![\w-])/,ns=e=>typeof e=="string"&&(e.indexOf("{")!==-1||e.indexOf("}")!==-1);function ss(e){let t=e.split("\0"),r=[],o=[];for(let n=0;n+1<t.length;n+=2){let s=t[n],i=t[n+1];if(!i||ns(i))continue;let a=rs[s]||Y(s),l=je(i),c=`_${a}-${l}`,u=de(s);r.push(c),o.push(`.${c}{${u}:${i}}`)}return r.join(" ")+"\0"+o.join(`
33
+ `)}function is(e,t,r){let o=e+t,n=`_c${Y(o)}`,s=t.split("\0"),i="";for(let c=0;c+1<s.length;c+=2){let u=s[c],f=s[c+1];f&&(ns(f)||(i+=`${de(u)}:${f};`))}let a,l;if(e.startsWith("@media"))l=`.${n}`,a=`${e}{${l}{${i}}}`;else if(e.startsWith(":")||e.startsWith("&")||e.startsWith("[")&&!e.includes("&")){let c=e.startsWith("&")?e.slice(1):e;l=`.${n}${c}`,a=`${l}{${i}}`}else e.includes("&")?(l=e.replace("&",`.${n}`),a=`${l}{${i}}`):(l=`.${n} ${e}`,a=`${l}{${i}}`);return r!==!1&&Kf.test(l)&&(a=`${Wf}{${a}}`),`${n}
34
+ ${a}`}var jr=null;function Hr(e){jr=e}var F={structuralHash:bt,deepEqual:St,mergeStructural:Br,overwriteDeep:Ur,shortHash:Y,toKebab:de,sanitizeValue:je,batchShortHash:ts,atomicCssClass:os,batchAtomicCss:ss,compoundCssClass:is},as=!1,wt=null;function Yf(e){return wt||(wt=import(e||"@symbo.ls/wasm/pkg").then(t=>(t.structuralHash&&(F.structuralHash=t.structuralHash),t.deepEqual&&(F.deepEqual=t.deepEqual),t.mergeStructural&&(F.mergeStructural=t.mergeStructural),t.overwriteDeep&&(F.overwriteDeep=t.overwriteDeep),t.shortHash&&(F.shortHash=t.shortHash),t.toKebab&&(F.toKebab=t.toKebab),t.sanitizeValue&&(F.sanitizeValue=t.sanitizeValue),t.batchShortHash&&(F.batchShortHash=t.batchShortHash),t.atomicCssClass&&(F.atomicCssClass=t.atomicCssClass),t.batchAtomicCss&&(F.batchAtomicCss=t.batchAtomicCss),t.compoundCssClass&&(F.compoundCssClass=t.compoundCssClass),as=!0,jr&&t.batchAtomicCss&&jr({batchAtomicCss:t.batchAtomicCss,compoundCssClass:t.compoundCssClass}),!0)).catch(t=>(console.debug("[smbls] WASM not available, using JS fallbacks:",t.message),!1)),wt)}function Jf(){return as}var He=/*@__PURE__*/__smblsNs({},{BRENDER_REGISTRY_BLOCK:()=>Zt,BRENDER_REGISTRY_TREE_BLOCK:()=>Qt,BRENDER_STAMP_META:()=>cu,CDN_PROVIDERS:()=>B,DESIGN_SYSTEM_BLOCK:()=>or,DESIGN_SYSTEM_DEFERRED:()=>rr,DESIGN_SYSTEM_LINK:()=>tr,DOMQL_EVENTS:()=>el,DOMQ_PROPERTIES:()=>Ze,ELEMENT_METHOD_OVERRIDE_POINTS:()=>Ja,ENV:()=>xl,HTML_TAGS:()=>pt,LIBRARY_PACKAGES:()=>su,LIBRARY_SCOPES_KEY:()=>ru,METHODS:()=>qa,METHODS_EXL:()=>Qa,NODE_ENV:()=>Ol,OPTIONS:()=>dc,PACKAGE_MANAGER_TO_CDN:()=>ce,PARSED_DOMQ_PROPERTIES:()=>za,POLYGLOT_LANG_STORAGE_KEY:()=>zc,PROPS_METHODS:()=>Re,PROTOTYPE_KEYS:()=>Za,REVIVED_MARK:()=>fl,STATE_DATA_MERGE_EXL:()=>nc,STATE_METHODS:()=>Ka,STATE_PROPERTIES:()=>Wa,SVG_TAGS:()=>Gu,TYPES:()=>ya,UNIVERSAL_RESERVED_KEYS:()=>Pn,__resetBuiltinMethodWarnings:()=>tu,addCaching:()=>In,addContext:()=>xn,addExtend:()=>Yu,addExtends:()=>W,addItemAfterEveryElement:()=>Ta,addProtoToArray:()=>Pa,addRef:()=>An,alternateLinkKey:()=>sr,applyCSS:()=>gs,applyDependentState:()=>oc,applyEvent:()=>ac,applyEventUpdate:()=>cc,applyExtends:()=>Xu,applyProps:()=>Tr,arrayContainsOtherArray:()=>ba,arraysEqual:()=>Da,arrayzeValue:()=>wu,bareLibraryKey:()=>ou,bindLibraryGlobalScopes:()=>Gt,brenderStampMeta:()=>uu,buildImgSrcset:()=>Eu,buildSourcesAndImg:()=>Cu,cache:()=>fc,call:()=>jc,captureSnapshot:()=>pf,checkForStateTypes:()=>ql,checkIfInherits:()=>ec,checkIfStringIsInArray:()=>Ia,clone:()=>sl,cloneAndMergeArrayExtend:()=>Sr,cloneFunction:()=>Kl,collectExtendsList:()=>ht,concatAddExtends:()=>zu,copyJavaScriptToClipboard:()=>mu,copyStringToClipboard:()=>gu,createBasedOnType:()=>Tn,createElement:()=>cf,createElementExtends:()=>dn,createExtends:()=>kr,createExtendsFromKeys:()=>gt,createExtendsStack:()=>mn,createIfConditionFlag:()=>Pu,createInheritedState:()=>Ql,createKey:()=>_r,createNestedObject:()=>El,createNestedObjectByKeyPath:()=>rc,createObjectWithoutPrototype:()=>vl,createParent:()=>Dn,createPath:()=>On,createProps:()=>Dr,createPropsStack:()=>Cn,createPrunedLibraryIconLoader:()=>Gn,createRoot:()=>lf,createScope:()=>ff,createSnapshotId:()=>yr,currentPathname:()=>xe,customDecodeURIComponent:()=>Va,customEncodeURIComponent:()=>Ga,cutArrayAfterValue:()=>Ca,cutArrayBeforeValue:()=>Ea,debounce:()=>jl,debounceOnContext:()=>Hl,decodeBrenderRegistry:()=>er,decodeNewlines:()=>Ha,deepClone:()=>T,deepContains:()=>wl,deepDefaults:()=>Zc,deepDestringifyFunctions:()=>Le,deepExtend:()=>un,deepMerge:()=>L,deepMergeExtends:()=>K,deepStringifyFunctions:()=>il,defineSetter:()=>Dc,designSystemBlock:()=>lu,designSystemLink:()=>au,destringifyGlobalScope:()=>Nt,detectHeightOnInit:()=>Sf,detectInfiniteLoop:()=>Tl,document:()=>P,encodeNewlines:()=>ja,error:()=>$c,escapeHtml:()=>$o,escapeRegExp:()=>Ma,evaluateText:()=>Jc,excludeKeysFromObject:()=>Dl,exec:()=>M,exposeBagGlobalScopes:()=>Wt,extendCachedRegistry:()=>Wu,extendStackRegistry:()=>vr,extractArrayExtend:()=>Cr,faviconLinkKey:()=>ir,fetchLibraryData:()=>Jt,fibonacciNumberByIndex:()=>wf,fileEntryUrl:()=>pu,filterArrays:()=>Oa,filterArraysFast:()=>xa,finalizeExtends:()=>yn,findClosestNumber:()=>Fn,findClosestNumberInFactory:()=>Af,findInheritedState:()=>Zl,findKeyPosition:()=>Ba,flattenExtend:()=>mt,formatDate:()=>bf,generateHash:()=>an,generateHeadArrayTags:()=>No,generateKey:()=>mr,generateMetaTags:()=>du,get:()=>bc,getActiveRoute:()=>Ou,getCDNDirUrl:()=>Mn,getCDNUrl:()=>G,getCapitalCaseKeys:()=>Zu,getCdnProviderFromConfig:()=>yt,getChildStateInKey:()=>Xl,getChildren:()=>kc,getContext:()=>Ac,getCookie:()=>Bu,getDB:()=>Hc,getEmotionStylesheet:()=>Mf,getExtendsInElement:()=>Ju,getExtendsStack:()=>wr,getExtendsStackRegistry:()=>cn,getFrequencyInArray:()=>Sa,getFunctionSource:()=>Qe,getHashedExtend:()=>Er,getImportMapScript:()=>_f,getInObjectByPath:()=>Ll,getLocalStorage:()=>ju,getNev:()=>Nl,getPageMetadata:()=>hu,getParentStateInKey:()=>Jl,getPath:()=>vc,getQuery:()=>Gc,getRef:()=>wc,getRoot:()=>Rc,getRootContext:()=>Tc,getRootData:()=>Lc,getRootState:()=>Cc,getRootStateInKey:()=>Yl,getSpreadChildren:()=>Qu,global:()=>ca,hasFunction:()=>te,hasHandlerPlugin:()=>tt,hasOwnProperty:()=>pl,hashContent:()=>nt,inheritChildExtends:()=>hn,inheritChildPropsExtends:()=>pn,inheritParentProps:()=>Or,inheritRecursiveChildExtends:()=>gn,init:()=>pe,initProps:()=>sf,insertAfterImportMap:()=>fu,installPrunedLibraryIconLoader:()=>$r,is:()=>Ee,isArray:()=>C,isBoolean:()=>pa,isBuiltinElementMethod:()=>Ya,isContextComponent:()=>ef,isCyclic:()=>Al,isDOMNode:()=>da,isDate:()=>ga,isDefined:()=>ma,isDevelopment:()=>et,isEmpty:()=>hl,isEmptyObject:()=>gl,isEqualDeep:()=>Sl,isFailedRevival:()=>cl,isFunction:()=>v,isHtmlElement:()=>fa,isLazyFunction:()=>ll,isLocal:()=>$l,isLoudDevRuntime:()=>Ul,isMalformedDependency:()=>Be,isMethod:()=>Vc,isMobile:()=>$u,isNode:()=>ke,isNot:()=>_a,isNotProduction:()=>Bl,isNull:()=>ha,isNumber:()=>Ft,isObject:()=>p,isObjectLike:()=>ve,isPhoto:()=>kf,isPolyglotRetranslatableKey:()=>Ut,isPolyglotWritableKey:()=>Bt,isProduction:()=>Il,isProtectedElementMethod:()=>Xa,isRevived:()=>Te,isStaging:()=>Fl,isState:()=>tc,isString:()=>k,isStringFunction:()=>Vl,isStringTag:()=>ul,isTest:()=>Pl,isTesting:()=>Ml,isUndefined:()=>x,isUniversallyReservedKey:()=>hf,isUnresolvableDependency:()=>ue,isValidDependencyMap:()=>Ue,isValidHtmlTag:()=>Vu,isWrappedLibrary:()=>Z,joinArrays:()=>Je,jointStacks:()=>qu,jsonForScript:()=>iu,keys:()=>Oc,lastLevel:()=>Iu,lastPathname:()=>xu,libraryIconPruneReplacer:()=>Pf,libraryIdentifier:()=>jn,libraryPackageSpecs:()=>Vt,librarySpecsFor:()=>nu,loadCssFile:()=>Rf,loadJavascript:()=>Lf,loadJavascriptFile:()=>vf,loadJavascriptFileEmbedSync:()=>Cf,loadJavascriptFileSync:()=>Ef,loadLazy:()=>Ru,loadRemoteCSS:()=>Tf,loadRemoteScript:()=>_t,log:()=>Mc,logGroupIf:()=>Fu,logIf:()=>Mu,lookdown:()=>gc,lookdownAll:()=>mc,lookup:()=>hc,lowercaseFirstLetter:()=>Ce,makeObjectWithoutPrototype:()=>ml,map:()=>nl,mapStringsWithContextComponents:()=>Rr,markPolyglotSeeded:()=>oe,markRevived:()=>$t,markTextNotReady:()=>ot,matchRoute:()=>Tu,matchesComponentNaming:()=>q,memoize:()=>Gl,merge:()=>ee,mergeSharedLibraries:()=>Kt,mergeSharedLibraryDesignSystems:()=>qt,mergeSharedLibraryTranslations:()=>Yt,mergeStateData:()=>re,nextElement:()=>Nc,normalizeIgnoreList:()=>Qc,normalizeLibraryKey:()=>Xc,objectToString:()=>al,objectizeStringProperty:()=>Lr,overwrite:()=>yl,overwriteDeep:()=>bl,overwriteShallow:()=>_l,overwriteState:()=>sc,parse:()=>xc,parseDeep:()=>Ic,parseQuery:()=>Au,parseRoutePattern:()=>Lu,payloadHasComputedIconName:()=>Hn,pickStartLang:()=>qc,pickupElementFromProps:()=>kn,pickupPropsFromElement:()=>wn,planLibraryIconPrune:()=>If,polyglotAddressLang:()=>Wc,polyglotFallbackLang:()=>Ae,polyglotLangStorageKey:()=>rt,polyglotLanguages:()=>De,polyglotSeededKeys:()=>ic,polyglotStartLang:()=>Oe,polyglotStartRule:()=>Kc,polyglotStartupScript:()=>Yc,previousElement:()=>Bc,promoteActiveRootState:()=>Ec,propExists:()=>nf,propertizeElement:()=>vn,propertizeUpdate:()=>of,readBrenderStamp:()=>nr,readJsonDataBlock:()=>ne,reinit:()=>hs,remove:()=>_c,removeChars:()=>yu,removeCookie:()=>Uu,removeDuplicateProps:()=>Ir,removeDuplicatesInArray:()=>Xe,removeFromArray:()=>wa,removeFromObject:()=>kl,removeNestedKeyByPath:()=>Cl,removeValueFromArray:()=>Ra,removeValueFromArrayAll:()=>La,reorderArrayByValues:()=>Aa,repairLegacyArrowScopePreamble:()=>ol,replaceLiteralsWithObjectFields:()=>Na,replaceOctalEscapeSequences:()=>Ua,resolveAsset:()=>ku,resolveFileReferences:()=>lr,resolveHandler:()=>zl,resolveRouterElement:()=>hr,resolveSharedLibraries:()=>Xt,returnValueAsText:()=>Ln,router:()=>dt,runGuards:()=>Du,runPluginHook:()=>Wl,saveScrollPosition:()=>pr,scopeElementParam:()=>rl,scopeReceiverExpression:()=>tl,scratchSystem:()=>zo,scratchUtils:()=>st,self:()=>ua,set:()=>Ie,setActiveRootState:()=>jt,setCookie:()=>Nu,setHashedExtend:()=>ln,setInObjectByPath:()=>Rl,setLocalStorage:()=>Hu,setNodeStyles:()=>yc,setProps:()=>Sc,setPropsPrototype:()=>xr,sharedLibrary:()=>eu,sharedLibraryFiles:()=>Fo,splitPackageSpecifier:()=>Mr,spotByPath:()=>pc,srcsetFor:()=>vu,stringIncludesAny:()=>Fa,stringToObject:()=>dl,stripVersionRangePrefix:()=>Fr,swapItemsInArray:()=>ka,syncProps:()=>Pr,themeColorKey:()=>ar,toCamelCase:()=>cr,toDashCase:()=>bu,toDescriptionCase:()=>Su,toPriorityOrder:()=>N,toTitleCase:()=>_u,toggleFullscreen:()=>gf,triggerEventOn:()=>lc,triggerEventOnUpdate:()=>uc,trimStringFromSymbols:()=>$a,unstackArrayOfObjects:()=>va,update:()=>En,updateProps:()=>af,variables:()=>Uc,verbose:()=>Pc,warn:()=>Fc,warnLibraryAliasCollision:()=>zt,window:()=>D});var Xf={group:"group",imagePair:"image-pair","image-pair":"image-pair",old:"old",new:"new"},Zf=/^(?:\*|\.?-?[_a-zA-Z][\w-]*)$/,Qf=/^-?[_a-zA-Z][\w-]*$/,ed=new Set(["root","*"]),td="@media (prefers-reduced-motion: no-preference)",rd="@media (prefers-reduced-motion: reduce)",od=(e,t)=>{let r=k(e)?{animation:e}:p(e)?e:null;if(!r)return null;let o;try{o=ct(r,t)}catch{return null}let n={};for(let s in o){let i=o[s];(k(i)||Ft(i))&&(n[s]=i)}return Object.keys(n).length?n:null},ls=(e,t,r={})=>{if(!p(e))return null;if(globalThis.__SMBLS_BUILD_DROP_F_viewTransition__)return Object.keys(e).length&&ie("viewTransition")||null;let o=!r.scope||r.scope===":root",n=c=>{r.verbose!==!1&&(globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn("[smbls] designSystem.viewTransition: "+c))},s={key:"viewTransition",state:{},context:{designSystem:t}},i={},a={},l=(c,u,f)=>{for(let d in u){if(d==="types"&&!f)continue;let g=Xf[d];if(!g){n(`${c}.${d} is not a view-transition part (group, imagePair, old, new)`);continue}let y=`${f}::view-transition-${g}(${c})`,w=od(u[d],s);w&&(i[y]=w,a[y]={animation:"none"})}};for(let c in e){let u=e[c];if(p(u)){if(!Zf.test(c)){n(`"${c}" is not a view-transition name`);continue}if(!o&&ed.has(c)){n(`"${c}" belongs to the document's primary app; a scoped app (${r.scope}) emits its own names only`);continue}if(l(c,u,""),p(u.types))for(let f in u.types){if(!Qf.test(f)||!p(u.types[f])){n(`${c}.types.${f} is not a view-transition type with parts`);continue}l(c,u.types[f],`:root:active-view-transition-type(${f})`)}}}return Object.keys(i).length?{[td]:i,[rd]:a}:null};var sd=Q(),us=(e=sd,t)=>{let r=p(t.localFile)?t.localFile:{},o=T(r.designSystem||{});return L(e,o,se)},id={useVariable:!0,useReset:!0,useFontImport:!0,useIconSprite:!0,useDocumentTheme:!0,useSvgSprite:!0},Gr=(e,t)=>{let r=!t||t===":root",o={};for(let n in e)if(n.startsWith("@media")){let s=r?":root:not([data-theme])":`:root:not([data-theme]) ${t}:not([data-theme])`;o[n]={[s]:e[n]}}else r?o[n]=e[n]:o[`${t}${n}, ${n} ${t}`]=e[n];return o},Vr=(e,t)=>{e.CSS_MEDIA_VARS&&R(Gr(e.CSS_MEDIA_VARS,t));let r=it(e.cssSkinVars,e.cssSkinFallback,t);Object.keys(r).length&&R(r)},fs=(e,t)=>{let r=ls(e.viewTransition,e,{scope:t,verbose:e.verbose});r&&R(r)},zr=e=>{if(typeof window<"u"&&window.location)try{let t=new URLSearchParams(window.location.search).get("globalTheme");if(t)return t}catch{}return e},cs=(e,t)=>{e.useVariable&&(R({[t]:e.CSS_VARS}),Vr(e,t)),e.useReset&&R(e.reset);let r=e.animation;if(r){let o={};for(let n in r)o[`@keyframes ${n}`]=r[n];R(o)}fs(e,t)},ds=(e,t,r,o,n)=>{e.useFontImport&&R(Bo(e.font,e.files));let s=null;return n?Zo(n):r.recordCss?s=Xo(()=>cs(e,t)):cs(e,t),(o.svg||e.useSvgSprite)&&Go(e.svg,{document:r.document}),(o.icons||e.useIconSprite)&&Vo(e.icons,{document:r.document}),s},pe=(e,t=id)=>{let r=us(e||{},t),o=t.scopeSelector||":root",n=zr(t.globalTheme),s=Ie({verbose:t.verbose,useReset:t.useReset,useFontImport:t.useFontImport,useVariable:t.useVariable,useSvgSprite:t.useSvgSprite,useDocumentTheme:t.useDocumentTheme,useIconSprite:t.useIconSprite,useDefaultConfig:t.useDefaultConfig,globalTheme:n,themeRoot:t.themeRoot,files:t.files,assets:t.assets,...r},{newConfig:t.newConfig,config:t.config});s&&(s.scopeSelector=o);let i={svg:!!e.svg,icons:!!e.icons},a=ds(s,o,t,i);return a&&typeof t.recordCss=="function"&&t.recordCss({rules:a,sprites:i}),s},ps=(e,t,r,o)=>{let n=r.scopeSelector||":root";if(Yo(e.config,t),r.files!==void 0&&(t.files=r.files),r.assets!==void 0&&(t.assets=r.assets),r.themeRoot!==void 0&&(t.themeRoot=r.themeRoot),Uo(t),jo(t),Ko(t),t.__svgCache={},o){U(t);try{Wo("font",o)}finally{j()}}U(t);try{ds(t,n,r,e.sprites||{},e.rules)}finally{j()}return t},kt={},hs=(e,t=kt)=>{let r=us(e||{},t),o=t.scopeSelector||":root",n=Ie({verbose:!1,...r});return t.preventInject||(R({[o]:n.CSS_VARS}),Vr(n,o),R(n.reset),fs(n,o)),n},gs=(e,t=kt)=>{R(e)},fm=(e,t=kt)=>{let r=t.scopeSelector||":root";R({[r]:e.CSS_VARS}),Vr(e,r)};var dm=(e,t=kt)=>{};var ms=10,ad=e=>{let t=e&&e.window||(typeof window<"u"?window:null);return!!t&&typeof t.requestAnimationFrame=="function"},ld=e=>{try{let t=e.defaultView;return t&&t.frameElement||null}catch{return null}},cd=e=>{let t=e&&e.document||(typeof document<"u"?document:null);if(!t)return()=>!0;let r=!!t.defaultView,o=ld(t);return()=>!(r&&!t.defaultView||o&&!o.isConnected)},ys=Symbol("smbls.bootGone"),_s=e=>{let t,r={live:cd(e),dead:!1,gone:new Promise(o=>{t=o}),lost(){r.dead||(r.dead=!0,t(ys))}};return r},he=e=>e?e.dead?!1:e.live()?!0:(tn(e),!1):!0,ud=(e,t)=>t?Promise.race([e,t.gone]):e,J=async(e,t)=>await ud(e,t)!==ys&&he(t),Wr=e=>{if(!(!e||!e.__ref))try{Pe(e)}catch{}},bs=new WeakSet,ge=e=>(bs.add(e),e),Ge=e=>!!e&&typeof e=="object"&&bs.has(e),Ss=e=>{let t=e&&typeof e=="object"?e.firstRender:void 0;if(t===!1||!ad(e))return null;if(t===void 0||t===!0)return{budget:ms,progressive:!1};if(t&&typeof t=="object"){let o=t.budget===void 0?ms:dr(t.budget);return o?{budget:o,progressive:t.progressive===!0}:null}let r=dr(t);return r?{budget:r,progressive:!1}:null},Kr=new WeakMap,qr=(e,t)=>(Kr.set(e,t),t),Yr=e=>{Kr.delete(e)},ws=e=>{let t=e&&Kr.get(e);return!t||t.routeTaken?null:(t.routeTaken=!0,t)},fd=Object.freeze({deferAttach:!0}),ks=async(e,t,r,o,n)=>{let s=n.lease||null;if(await z(),!he(s))return null;let i=o.mountYield;i===void 0&&(o.mountYield=n.budget);let a=o.mountWhole;a===void 0&&(o.mountWhole=!n.progressive),n.pageOptions={mountYield:o.mountYield,mountWhole:o.mountWhole};let l;n.commit=new Promise(d=>{l=d}),n.committed=!1;let c=!n.progressive;qr(r,n);let u=ut(),f=null;s&&(r.__mountLease=s);try{if(f=Me(e,t,r.key,o,c?fd:void 0),!await J($e(f),s)||n.routeReady&&!await J(n.routeReady,s)||!await J(H(),s))return vt(f);for(;!ft();)if(!await J(H(),s))return vt(f);return c&&en(f),n.committed=!0,l(),n.page&&await $e(n.page),await H(),f}finally{n.committed=!0,l(),u(),o.mountYield=i,o.mountWhole=a,s&&(r.__mountLease=null),Yr(r)}},vt=e=>(Wr(e),null);var Es=e=>!e||e==="srcdoc"||e==="about:srcdoc"||e==="blank"||e==="about:blank"?"/":e,dd=e=>{let t=e&&e.initialPath;return typeof t!="string"||!t?null:t[0]==="/"?t:"/"+t},Xr={initRouter:!0,injectRouterInLinkComponent:!0,popState:!0},pd=(e,t)=>{if(!t)return e;let r=Array.isArray(t)?t:t.split("."),o=e;for(let n of r){if(!o||!o[n])return null;o=o[n]}return o},Ve=(e,t)=>(hr||pd)(e,t),hd=["manual","auto","restore"],Jr=new WeakMap,vs=(e,t)=>{let r=t.claims[t.claims.length-1],o=r?r.value:t.found;e.scrollRestoration!==o&&(e.scrollRestoration=o)},gd=(e,t)=>{let r=t&&t.scrollRestoration;if(r!=null){if(!hd.includes(r)){if(e.verbose!==!1){let o=typeof r=="string"?JSON.stringify(r):`a ${typeof r}`;globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[smbls/router] router.scrollRestoration must be 'manual', 'auto' or 'restore', got ${o} \u2014 the browser default stays`)}return}try{let o=e.window||D,n=o&&o.history;if(!n||!("scrollRestoration"in n))return;let s=Jr.get(n);s||(s={found:n.scrollRestoration,claims:[]},Jr.set(n,s));let i={value:r==="restore"?"manual":r};s.claims.push(i),vs(n,s),e.__teardowns=e.__teardowns||[],e.__teardowns.push(()=>{let a=s.claims.indexOf(i);if(a!==-1){s.claims.splice(a,1),s.claims.length||Jr.delete(n);try{vs(n,s)}catch{}}})}catch{}}},md=(e,t)=>{if(!t||t.scrollRestoration!=="restore")return;let r=pr,o=e.window||D;if(typeof r!="function"||!o||typeof o.addEventListener!="function")return;let n=e.document||o.document,s=()=>r(o),i=()=>{n.visibilityState==="hidden"&&r(o)};o.addEventListener("pagehide",s);let a=!!n&&typeof n.addEventListener=="function";a&&n.addEventListener("visibilitychange",i),e.__teardowns=e.__teardowns||[],e.__teardowns.push(()=>{o.removeEventListener("pagehide",s),a&&n.removeEventListener("visibilitychange",i)})},Cs=(e,t)=>{if(t.router===!1)return;t.router===!0?t.router=Xr:t.router=ee(t.router||{},Xr);let r=t.router;gd(t,r),md(t,r);let o=(i,a)=>{let l=i.context?.window||D,c=dd(r);if(!c){if(!l.location)return;let{pathname:f,search:d,hash:g}=l.location;f=Es(f),c=f+d+g}let u=i;if(r.customRouterElement){let f=Ve(i,r.customRouterElement);f&&(u=f,i.routes&&(u.routes=i.routes))}if(u.routes)return dt(c,u,{},{initialRender:!0,pushState:!1,...a})},n=async(i,a)=>{let l=ws(i.context);if(l)return yd(i,l,o);await o(i)},s=!x(e.onRenderRouter);return r&&r.initRouter&&!s&&(e.onRenderRouter=(i,a)=>t.__firstNavigation=n(i,a)),_d(t,r),r},yd=(e,t,r)=>{let o;return t.routeReady=new Promise(s=>{o=s}),(async()=>{try{if(await z(),!e.__ref||!he(t.lease))return;let s=r(e,t.progressive?{mountOptions:t.pageOptions}:{mountOptions:t.pageOptions,firstView:t});await H(),o(),await s}finally{o()}})()},Zr=(e,t)=>{if(t.router===!1)return;let r=t.router||Xr;if(!r.popState)return;let o=t.utils&&t.utils.router?t.utils.router:dt,n=t.window||D,s=async i=>{let{pathname:a,search:l,hash:c}=n.location;a=Es(a);let u=a+l+c,f=e;if(r.customRouterElement){let d=Ve(e,r.customRouterElement);d&&(f=d,e.routes&&(f.routes=e.routes))}await f.call("router",u,f,{},{pushState:!1,scrollToTop:!1,level:0,event:i})};n.addEventListener("popstate",s),t.__teardowns=t.__teardowns||[],t.__teardowns.push(()=>n.removeEventListener("popstate",s))},_d=(e,t)=>{let{components:r}=e;if(t&&t.injectRouterInLinkComponent)return L(r.Link||r["smbls.Link"],r.RouterLink||r["smbls.RouterLink"])};var bd={windows:()=>import("./smbls.core.windows-MYD3DCHT.esm.js"),dropdown:()=>import("./smbls.core.dropdown-XABH5ZRW.esm.js"),tooltip:()=>import("./smbls.core.tooltip-JB66OPKM.esm.js"),analyze:()=>import("./smbls.core.analyze-PPLS2PAN.esm.js"),shorthand:()=>import("./smbls.core.shorthand-CY4EDSP4.esm.js"),inspect:()=>import("./smbls.core.inspect-LGTX7BS7.esm.js"),sync:()=>globalThis.__SMBLS_BUILD_DROP_F_liveSync__?Promise.resolve(ie("liveSync")):import("./smbls.core.sync-CN2JST7C.esm.js"),fetch:()=>import("./smbls.core.fetch-JWDHRWJY.esm.js"),fetchOnCreate:()=>import("./smbls.core.fetchOnCreate-IYA76D26.esm.js")},O=(e,t)=>Array.isArray(e.plugins)&&e.plugins.some(r=>r&&r.name===t),Rs=e=>{let t=[];return e.shorthand&&t.push("shorthand"),e.analyze&&!O(e,"analyze")&&t.push("analyze"),e.inspect&&!O(e,"inspect")&&t.push("inspect"),e.fetch&&t.push("fetch"),e.windows!==!1&&t.push("windows"),e.dropdown!==!1&&t.push("dropdown"),e.tooltip!==!1&&t.push("tooltip"),t},ze={},Ls={},A=e=>{if(ze[e])return ze[e];let t=bd[e];return t?(ze[e]=t().then(r=>(Ls[e]=r,r),r=>(delete ze[e],console.error(`[smbls] the ${e} module failed to load; the app runs without it`,r),null)),ze[e]):Promise.resolve(null)},me=e=>Ls[e]||null;var ye=e=>{if(!e||e.__destroyed)return!1;let t=e.context;if(!t)return e.__destroyed=!0,!1;if(Array.isArray(t.__teardowns)){for(let r of t.__teardowns)try{r()}catch(o){console.error("[smbls] destroy teardown error:",o)}t.__teardowns.length=0}try{Pe(e)}catch(r){console.error("[smbls] dispose error:",r)}if(t.fetch&&t.fetch.__resolved&&delete t.fetch.__resolved,t.fetch&&t.fetch.__resolving&&delete t.fetch.__resolving,t.db&&t.db.__resolved&&delete t.db.__resolved,t.db&&t.db.__resolving&&delete t.db.__resolving,t.analyze?.destroy)try{t.analyze.destroy()}catch(r){console.error("[analyze] destroy error:",r)}return e.__destroyed=!0,!0};var $={title:{tag:"title"},description:{tag:"meta",attr:"name",key:"description"},keywords:{tag:"meta",attr:"name",key:"keywords"},robots:{tag:"meta",attr:"name",key:"robots"},author:{tag:"meta",attr:"name",key:"author"},canonical:{tag:"link",attr:"rel",key:"canonical",valueAttr:"href"},image:{tag:"meta",attr:"property",key:"og:image"},url:{tag:"meta",attr:"property",key:"og:url"},siteName:{tag:"meta",attr:"property",key:"og:site_name"},type:{tag:"meta",attr:"property",key:"og:type"},locale:{tag:"meta",attr:"property",key:"og:locale"},"og:title":{tag:"meta",attr:"property",key:"og:title"},"og:description":{tag:"meta",attr:"property",key:"og:description"},"og:image":{tag:"meta",attr:"property",key:"og:image"},"og:url":{tag:"meta",attr:"property",key:"og:url"},"og:type":{tag:"meta",attr:"property",key:"og:type"},"og:site_name":{tag:"meta",attr:"property",key:"og:site_name"},"og:locale":{tag:"meta",attr:"property",key:"og:locale"},"twitter:card":{tag:"meta",attr:"name",key:"twitter:card"},"twitter:title":{tag:"meta",attr:"name",key:"twitter:title"},"twitter:description":{tag:"meta",attr:"name",key:"twitter:description"},"twitter:image":{tag:"meta",attr:"name",key:"twitter:image"},"twitter:site":{tag:"meta",attr:"name",key:"twitter:site"},"theme-color":{tag:"meta",attr:"name",key:"theme-color"}},X=e=>{if(e.tag==="link")return`link[${e.attr}="${e.key}"]`;if(e.tag&&!e.attr&&!e.key)return e.tag;if(e.tag&&e.attr&&e.key){let t=`${e.tag}[${e.attr}="${e.key}"]`;return e.key==="theme-color"?`${t}:not([data-smbls-theme-color])`:t}},Ts=e=>Le({v:e}).v,As=(e,t,r,o)=>{try{return M(e,t,r)}catch(n){console.warn(`[helmet] metadata factory for "${o}" threw; treating as unset:`,n&&n.message||n);return}},Sd=Object.freeze({authored:!0}),wd=(e,t,r,o)=>{if(!e)return{};let n=e;k(n)&&te(n)&&(n=Ts(n));let s=v(n),i=!s&&o?.authored===!0,a=s?As(n,t,r,"metadata"):p(n)?{...n}:{};if(!p(a))return{};for(let l in a){let c=a[l],u=i&&k(c)&&!te(c);k(c)&&te(c)&&(c=Ts(c)),v(c)?c=As(c,t,r,l):k(c)&&te(c)&&(c=void 0),k(c)&&c.includes("{{")&&t?.call&&(c=u?t.call("replaceLiteralsWithObjectFields",c,r,Sd):t.call("replaceLiteralsWithObjectFields",c,r)),a[l]=c}return a};var Ms=(e,t)=>lr(wd(e,t,t.state),t.context?.files),Fs=e=>e.context?.document||typeof document<"u"&&document,kd=e=>Object.prototype.hasOwnProperty.call($,e),Ct=new Map;for(let e in $){let t=X($[e]);Ct.has(t)||Ct.set(t,$[e])}var Rt=e=>e.head||e.querySelector("head"),$s=(e,t)=>{let r=Rt(e);return r?r.querySelector(t):null},Qr=(e,t)=>t.tag==="title"?e.textContent:e.getAttribute(t.valueAttr||"content"),Ns=(e,t,r)=>{t.tag==="title"?e.textContent=r:e.setAttribute(t.valueAttr||"content",r)},Bs=(e,t)=>{let r=Rt(t);if(!r)return null;let o=t.createElement(e.tag);return e.attr&&o.setAttribute(e.attr,e.key),r.appendChild(o),o},_e=(e,t,r,o)=>{let n=e.head||e.querySelector("head");if(!n)return;let s=new Map;for(let a of n.querySelectorAll(`[${t}]`))s.set(a.getAttribute(t),a);let i=new Map;r.forEach((a,l)=>{i.has(a)||i.set(a,l)});for(let[a,l]of s)i.has(a)||l.remove();for(let a of r){if(s.has(a))continue;let l=o(a,i.get(a));l&&(l.setAttribute(t,a),n.appendChild(l))}},vd=(e,t)=>{let o=(t||[]).filter(s=>s!=null).map(s=>k(s)?s:JSON.stringify(s)),n=o.map(nt);_e(e,"data-smbls-jsonld",n,(s,i)=>{let a=e.createElement("script");return a.setAttribute("type","application/ld+json"),a.textContent=o[i],a})},Ed=(e,t)=>{let r=(t||[]).filter(n=>n!=null&&String(n).trim()),o=r.map(nt);_e(e,"data-smbls-style",o,(n,s)=>{let i=e.createElement("style");return i.textContent=String(r[s]),i})},Cd=e=>(e||[]).filter(t=>t&&(k(t)?t.trim():t.src)),Rd=e=>k(e)?e:String(e.src),Ld=(e,t)=>{let r=e.createElement("script");return k(t)?r.setAttribute("src",t):(t.src&&r.setAttribute("src",t.src),t.type&&r.setAttribute("type",t.type),t.async&&(r.async=!0),t.defer&&(r.defer=!0),t.integrity&&r.setAttribute("integrity",t.integrity),t.crossorigin&&r.setAttribute("crossorigin",t.crossorigin),t.referrerpolicy&&r.setAttribute("referrerpolicy",t.referrerpolicy),t.nomodule&&(r.noModule=!0),t.body&&(r.textContent=String(t.body))),r};var Td=(e,t)=>{let r=(t||[]).filter(n=>p(n)),o=r.map(sr);_e(e,"data-smbls-alternate",o,(n,s)=>{let i=e.createElement("link");i.setAttribute("rel","alternate");for(let[a,l]of Object.entries(r[s]))i.setAttribute(a,l);return i})},Ad=(e,t)=>{let r=(t||[]).filter(n=>n!=null),o=r.map(ir);_e(e,"data-smbls-favicon",o,(n,s)=>{let i=r[s],a=e.createElement("link");if(a.setAttribute("rel","icon"),p(i))for(let[l,c]of Object.entries(i))a.setAttribute(l,c);else a.setAttribute("href",String(i));return a})},Dd=(e,t)=>{let r=t?String(t):"",o=r.endsWith(".svg")?"image/svg+xml":r.endsWith(".png")?"image/png":"";_e(e,"data-smbls-single-icon",r?[r]:[],n=>{let s=e.createElement("link");return s.setAttribute("rel","icon"),s.setAttribute("href",n),o&&s.setAttribute("type",o),s})},Od=(e,t)=>{let r=(t||[]).filter(n=>p(n)),o=r.map(ar);_e(e,"data-smbls-theme-color",o,(n,s)=>{let i=r[s],a=e.createElement("meta");return a.setAttribute("name","theme-color"),i.content!==void 0&&a.setAttribute("content",i.content),i.media!==void 0&&a.setAttribute("media",i.media),a})};var Ds=new WeakMap,eo=new WeakMap,Us=e=>{let t=e.location;return t&&k(t.pathname)?t.pathname:null},xd=e=>{let t=Ds.get(e);return t||(t={doc:e,layers:[],servedPath:Us(e),originals:new Map,owned:new Set,lists:new Set},Ds.set(e,t)),t},Id=(e,t)=>{for(let r=t.parent;r&&r!==r.parent;r=r.parent)if(r===e)return!0;return!1},Os=e=>{try{return JSON.stringify(e===void 0?null:e)??null}catch{return null}},Pd=e=>{if(!p(e))return!0;for(let t in e)if(e[t]!==void 0&&e[t]!==null)return!1;return!0},Md=(e,t)=>{let r=eo.get(e);if(r)return r;let o=xd(t),n={element:e,values:null,signature:Os(null),disposed:!1,set(i){if(n.disposed)return;let a=Os(i);n.values=i,!(a!==null&&a===n.signature)&&(n.signature=a,Is(o))},dispose(){if(n.disposed)return;n.disposed=!0;let i=o.layers.indexOf(n);if(i!==-1&&o.layers.splice(i,1),!Pd(n.values))try{Is(o)}catch(a){console.warn("[helmet] could not re-render the head after an element left:",a&&a.message||a)}}},s=o.layers.length;for(let i=0;i<o.layers.length;i++)if(Id(e,o.layers[i].element)){s=i;break}return o.layers.splice(s,0,n),eo.set(e,n),n},js=(e,t,r,o)=>{let n=Md(e,t),s=Po(()=>{let a=r();n.set(a),o&&o(a)}),i=e.__ref?.__effects;i&&i.push(s,n)},Fd=X($.title),$d=X($.description),Nd=X($["og:title"]),Bd=X($["og:description"]),Ud=X($["twitter:title"]),jd=X($["twitter:description"]),xs=(e,t,r,o)=>{let n=e.get(t);if(!n||!n.value)return;let s=e.get(r);(!s||!s.value||s.rank<n.rank)&&e.set(r,n);let i=e.get(o);(!i||!i.value)&&e.set(o,n)},Et={jsonLd:vd,styles:Ed,alternate:Td,favicons:Ad,icon:Dd,"theme-color":Od},Hd=Object.keys(Et).filter(e=>e!=="icon"),Gd=e=>{let t=new Map,r={},o=[];for(let n=0;n<e.length;n++){let s=e[n].values;if(!p(s))continue;for(let a in s){let l=s[a];l==null||!kd(a)||a==="theme-color"&&Array.isArray(l)||t.set(X($[a]),{value:String(l),rank:n})}for(let a of Hd)Array.isArray(s[a])&&(r[a]=s[a]);let i=s.icon||s.favicon;i&&(r.icon=i),Array.isArray(s.scripts)&&o.push(...s.scripts)}return xs(t,Fd,Nd,Ud),xs(t,$d,Bd,jd),{tags:t,lists:r,scripts:o}},Vd=(e,t,r)=>{let{doc:o,originals:n}=e,s=Ct.get(t),i=$s(o,t),a=n.get(t);a||(a={value:i?Qr(i,s):null,rendered:!1},n.set(t,a)),a.value===r&&(a.rendered=!0),i||(i=Bs(s,o)),i&&(Qr(i,s)!==r&&Ns(i,s,r),e.owned.add(t))},zd=(e,t)=>{let{doc:r}=e;e.owned.delete(t);let o=Ct.get(t),n=$s(r,t),s=e.originals.get(t);if(s&&s.value!==null&&!s.rendered&&Us(r)===e.servedPath){let a=n||Bs(o,r);a&&Qr(a,o)!==s.value&&Ns(a,o,s.value)}else n&&n.remove()},Wd=(e,t)=>{let r=Cd(t);if(!r.length)return;let o=Rt(e),n=new Set;for(let s of o.querySelectorAll("[data-smbls-script]"))n.add(s.getAttribute("data-smbls-script"));for(let s of r){let i=Rd(s);if(n.has(i))continue;let a=Ld(e,s);a.setAttribute("data-smbls-script",i),o.appendChild(a),n.add(i)}},Is=e=>{let{doc:t}=e;if(!Rt(t))return;let{tags:r,lists:o,scripts:n}=Gd(e.layers);for(let s of[...e.owned])r.has(s)||zd(e,s);for(let[s,{value:i}]of r)Vd(e,s,i);for(let s in Et)o[s]!==void 0?(Et[s](t,o[s]),e.lists.add(s)):e.lists.delete(s)&&Et[s](t,null);Wd(t,n)};var Hs=(e,t,r)=>{let o=Fs(t);o&&js(t,o,()=>Ms(e,t),r)},Ps=e=>{let t=e.metadata;return t?Ms(t,e):null},to={name:"helmet",create(e){if(!e.metadata)return;let t=Fs(e);t&&js(e,t,()=>Ps(e))},update(e){let t=eo.get(e);if(!t)return to.create(e);t.disposed||t.set(Ps(e))}};var Gs=(e,t,r,o)=>{if(!e||!o?.fetch)return;let n=me("fetch");if(n){n.executeFetch(e,t,r,o);return}A("fetch").then(s=>{s&&s.executeFetch(e,t,r,o)})},Vs=(e,t)=>{e&&Hs(e,t)},zs=async(e,t)=>{if(!e)return;let r={tag:"fragment",...e},o=async()=>{await t.set(r,{preventDefineUpdate:"$router"})};return t.lazyLoad?window.requestAnimationFrame(o):await o(),r},be={routes:e=>e,metadata:Vs,fetch:Gs,$router:zs},Kd=(e={})=>{let t={routes:r=>r};return e.metadata!==!1&&(t.metadata=Vs),e.fetch!==!1&&(t.fetch=Gs),e.router!==!1&&(t.$router=zs),t};var Ws={useReset:!0,useVariable:!0,useIconSprite:!0,useSvgSprite:!0,useDocumentTheme:!0,useDefaultIcons:!0,useFontImport:!0,useDefaultConfig:!0},ro={initRouter:!0,popState:!0,injectRouterInLinkComponent:!0},oo={...Ws,router:ro},Lt={state:{},pages:{},components:{},router:ro,define:be},Ks=e=>{let t={...Lt,...e};for(let r of Object.keys(Lt)){let o=Lt[r];t[r]===o&&o&&typeof o=="object"&&(t[r]={...o})}return t},Se=Lt;var qs=(e,t)=>ve(e.extends)?e.extends:[];var Ys=(e,t)=>{let r=t||(typeof globalThis<"u"?globalThis:null);if(!r||!Array.isArray(e))return null;let o=r.__SMBLS_PKGS__||(r.__SMBLS_PKGS__={});for(let[n,s]of Vt(e,zt))o[n]||(o[n]=s);return o};var I={channels:{local:{api:"http://localhost:8080",socket:"http://localhost:8080",shell:"http://my.localhost:1355",preview:"http://preview.localhost:1355",mermaidApex:"localhost:1355",deploy:{}},development:{api:"https://dev.api.symbols.app",socket:"https://dev.api.symbols.app",shell:"https://dev.my.symbols.app",preview:"https://dev.preview.symbols.app",mermaidApex:"dev.symbo.ls",deploy:{shellBucket:"smbls-my-dev",previewWorker:"smbls-preview-dev",mermaidWorker:"mermaid-dev"}},"demo-dev":{api:"https://dev.api.symbols.app",socket:"https://dev.api.symbols.app",shell:"https://dev.demo.symbols.app",preview:"https://dev.preview.symbols.app",mermaidApex:"dev.symbo.ls",deploy:{shellBucket:"smbls-my-demo-dev",previewWorker:"smbls-preview-dev",mermaidWorker:"mermaid-dev"}},next:{api:"https://next.api.symbols.app",socket:"https://next.api.symbols.app",shell:"https://next.my.symbols.app",preview:"https://next.preview.symbols.app",mermaidApex:"next.symbo.ls",deploy:{shellBucket:"smbls-my-next",previewWorker:"smbls-preview-next",mermaidWorker:"mermaid-next"}},test:{api:"https://test.api.symbols.app",socket:"https://test.api.symbols.app",shell:"https://test.my.symbols.app",preview:"https://test.preview.symbols.app",mermaidApex:"test.symbo.ls",deploy:{shellBucket:"smbls-my-test",previewWorker:"smbls-preview-test",mermaidWorker:"mermaid-test"}},upcoming:{api:"https://upcoming.api.symbols.app",socket:"https://upcoming.api.symbols.app",shell:"https://upcoming.my.symbols.app",preview:"https://upcoming.preview.symbols.app",mermaidApex:"upcoming.symbo.ls",deploy:{shellBucket:"smbls-my-upcoming",previewWorker:"smbls-preview-upcoming",mermaidWorker:"mermaid-upcoming"}},staging:{api:"https://staging.api.symbols.app",socket:"https://staging.api.symbols.app",shell:"https://staging.my.symbols.app",preview:"https://staging.preview.symbols.app",mermaidApex:"staging.symbo.ls",deploy:{shellBucket:"smbls-my-staging",previewWorker:"smbls-preview-staging",mermaidWorker:"mermaid-staging"}},demo:{api:"https://api.symbols.app",socket:"https://api.symbols.app",shell:"https://demo.symbols.app",preview:"https://preview.symbols.app",mermaidApex:"at.symbo.ls",deploy:{shellBucket:"smbls-my-demo",previewWorker:"smbls-preview",mermaidWorker:"mermaid"}},production:{api:"https://api.symbols.app",socket:"https://api.symbols.app",shell:"https://my.symbols.app",preview:"https://preview.symbols.app",mermaidApex:"at.symbo.ls",deploy:{shellBucket:"smbls-my-prod",previewWorker:"smbls-preview",mermaidWorker:"mermaid"}}},defaultChannel:"production",screenshotCdn:"screenshots.api.symbols.app"};var Gm=Object.keys(I.channels),V=e=>!!(e&&I.channels[e]),Yd=e=>V(e)?I.channels[e]:I.channels[I.defaultChannel];var We,Ke=e=>typeof process<"u"&&process.env&&process.env[e]||null,Jd=()=>{if(We!==void 0)return We;let e=typeof globalThis<"u"?globalThis.__SYMBOLS_CHANNEL__:null,t=Ke("SYMBOLS_CHANNEL"),r=Ke("NODE_ENV"),o=Ke("SYMBOLS_API_URL")||Ke("SYMBOLS_API_BASE_URL"),n=o?Xd(String(o).trim().replace(/\/+$/,"")):null;return We=V(e)&&e||V(t)&&t||V(n)&&n||V(r)&&r||I.defaultChannel,We===I.defaultChannel&&!V(e)&&!V(t)&&!V(n)&&!V(r)&&typeof process<"u"&&process.versions&&process.versions.node&&console.warn(`[channels] no channel configured (NODE_ENV=${r||"unset"}, __SYMBOLS_CHANNEL__ unset) \u2014 falling back to "${I.defaultChannel}". Outbound URLs (shellUrl${o?"":"/apiUrl"}) will target production`+(o?` (the API follows ${o}, which is no known channel)`:"")+"; set SYMBOLS_CHANNEL (preferred), NODE_ENV, or globalThis.__SYMBOLS_CHANNEL__ to a known channel."),We},Js=["production","staging","upcoming","next","test","development","local","demo","demo-dev"],Xs=e=>{let t=Js.indexOf(e);return t===-1?Js.length:t},Xd=e=>{if(!e)return null;let t=Object.keys(I.channels).filter(r=>I.channels[r].api===e);return t.length===0?null:t.length===1?t[0]:t.sort((r,o)=>Xs(r)-Xs(o))[0]},no=(e=Jd())=>Ke("SYMBOLS_API_URL")||Yd(e).api;var Vm=I.defaultChannel;var Qs=e=>{let t={faces:0,links:0,kept:0};if(!e)return t;let r=tp(fr());for(let o in e){let n=e[o];if(!n||!n.fontFace)continue;let s=Array.isArray(n.fontFace)?n.fontFace:[n.fontFace];for(let i of s){if(ei(i)){let a=Qd(i);a&&ep(a)&&t.links++;continue}if(Zd(i)){if(!Zs(i))continue;if(r.has(so(i))){t.kept++;continue}R(i.trim()),t.faces++;continue}if(typeof i=="string"&&i.includes("font-family")){if(!Zs(i))continue;if(r.has(so(i))){t.kept++;continue}R(`@font-face { ${i} }`),t.faces++}}}return t},ei=e=>typeof e=="string"&&e.trim().startsWith("@import"),Zd=e=>typeof e=="string"&&e.trim().startsWith("@font-face"),Qd=e=>{if(!ei(e))return null;let t=String(e).match(/url\(\s*['"]?([^'")]+)['"]?\s*\)/);return t?t[1].trim():null},ep=(e,t)=>{if(typeof e!="string"||!e)return null;let r=t||fr();if(!r||!r.head)return null;let o="data-smbls-font",n=r.head.querySelectorAll(`link[rel="stylesheet"][${o}]`);for(let i=0;i<n.length;i++)if(n[i].getAttribute(o)===e)return n[i];let s=r.createElement("link");return s.setAttribute("rel","stylesheet"),s.setAttribute("href",e),s.setAttribute(o,e),r.head.appendChild(s),s},Tt=(e,t)=>{let r=new RegExp(`(?:^|[;{\\s])${t}\\s*:\\s*([^;}]+)`,"i").exec(e);return r?r[1].trim().toLowerCase():null},so=e=>{let t=String(e||""),r=Tt(t,"font-family");if(!r)return null;let o=Tt(t,"font-weight")||"400";return o==="normal"?o="400":o==="bold"&&(o="700"),r.replace(/^['"]|['"]$/g,"")+"|"+o+"|"+(Tt(t,"font-style")||"normal")},Zs=e=>{let t=Tt(String(e||""),"src");return!!t&&t!=="none"},io=e=>{if(!e)return null;let t=e.type;if(t===5)return e.cssText||"";if(typeof t=="number")return null;let r=e.cssText||"";return/^\s*@font-face/i.test(r)?r:null},tp=e=>{let t=new Set,r=e&&e.styleSheets;if(!r)return t;for(let o=0;o<r.length;o++){let n;try{n=r[o].cssRules}catch{continue}if(n)for(let s=0;s<n.length;s++){let i=io(n[s]);if(i===null)continue;let a=so(i);a&&t.add(a)}}return t};var si='meta[name="brender"]',rp=3e3,ao=e=>e.document||(typeof document<"u"?document:null),ii=(e,t)=>{let r=e.parent;return r&&r.nodeType===1?r:r&&r.node&&r.node.nodeType===1?r.node:t?t.body:null},ai=(e,t)=>{if(t&&t.__BRENDER__)return!0;let r=ao(e);if(!r||typeof r.querySelector!="function")return!1;let o=r.documentElement;if(o&&typeof o.hasAttribute=="function"&&o.hasAttribute("data-brender")||r.querySelector(si))return!0;let n=ii(e,r);for(let s=n&&n.firstElementChild;s;s=s.nextElementSibling)if(s.hasAttribute("data-br"))return!0;return!1},li=e=>{let t=ao(e);return!t||!t.head?null:Array.from(t.head.querySelectorAll('style[data-emotion="smbls"], style[data-brender]'))},ci=(e,t)=>{if(!t||!t.length)return;let r=[];for(let n of t){let s=null;try{s=n.sheet&&n.sheet.cssRules}catch{s=null}if(s&&s.length)for(let i=0;i<s.length;i++){let a=io(s[i]);a!==null&&r.push(a)}else{let i=String(n.textContent||"").match(/@font-face\s*\{[^}]*\}/gi);i&&r.push(...i)}}let o=t.find(n=>n.parentNode);if(r.length&&o&&e&&typeof e.createElement=="function"){let n=e.createElement("style");n.setAttribute("data-smbls-faces",""),n.textContent=r.join(`
35
+ `),o.parentNode.insertBefore(n,o)}t.forEach(n=>{n.parentNode&&n.remove()})},ti=e=>{console.warn("[smbls] the pre-render registry is not JSON \u2014 the page renders fresh:",e.message)},ui=["paths","tree"],op=(e,t)=>{let r=ne(t,Qt,{warn:ti});if(r)return{map:er(r.value),block:r.block};let o=ne(t,Zt,{warn:ti});return o?{map:p(o.value)?o.value:null,block:o.block}:e&&p(e.__BR_REGISTRY__)?{map:e.__BR_REGISTRY__,legacy:!0}:null},np=(e,t,r)=>!r||!r.map||e.hydrate===!1?!1:r.legacy?e.hydrate===!0||p(e.hydrate)||!!t&&t.__BRENDER_HYDRATE__===!0:!0,sp=e=>{let t=p(e.hydrate)?e.hydrate.timeout:void 0;return typeof t=="number"&&t>=0?t:rp},fi=(e,t,r)=>{if(e&&(delete e.__BRENDER__,delete e.__BR_REGISTRY__,delete e.__BRENDER_HYDRATE__),r&&r.block&&r.block.parentNode&&r.block.remove(),t&&typeof t.querySelector=="function"){let o=t.querySelector(si);o&&o.remove();let n=t.documentElement;n&&typeof n.hasAttribute=="function"&&n.hasAttribute("data-brender")&&n.removeAttribute("data-brender")}},ip=()=>new Promise(e=>{if(typeof MessageChannel=="function"){let t=new MessageChannel;t.port1.onmessage=()=>{t.port1.close(),e()},t.port2.postMessage(null)}else setTimeout(e,0)}),di=async(e,t)=>{let r=e.__firstNavigation;if(r&&typeof r.then=="function")try{await r}catch{}for(let o=0;o<20&&t.pending.size;o++){let n=me("fetch"),s=n&&typeof n.whenRequestsIdle=="function"?n.whenRequestsIdle:null;if(s&&await s(),await ip(),!s||!(n.requestsInFlight()>0))return}},ap=["click","keydown"],pi=(e,t,r,o,n,s)=>{let i=!1,a=null,l=()=>u(),c=f=>{let d=f?"addEventListener":"removeEventListener";if(r&&typeof r[d]=="function")for(let g of ap)r[d](g,l,!0);t&&typeof t[d]=="function"&&t[d]("popstate",l)},u=()=>{if(i)return;i=!0,a!==null&&clearTimeout(a),c(!1),e.__hydration===o&&delete e.__hydration;let f=0;for(let d of o.pending)d.parentNode&&(d.remove(),f++);o.pending.clear(),o.pendingIn.clear(),o.whole=null,Fe(o),ci(r,s),t&&(t.__BRENDER_HYDRATION__={adopted:o.adopted,misses:o.misses,removed:f}),fi(t,r,n),hi(e,t,o.root,!0)};if(!o.pending.size)return u();a=setTimeout(u,sp(e)),c(!0),di(e,o).then(u,u)},lp=1e3,cp=(e,t)=>{e&&typeof e.requestIdleCallback=="function"?e.requestIdleCallback(t,{timeout:lp}):setTimeout(t,0)},ri=(e,t)=>{let r=me("fetch");!r||typeof r.seedIsStale!="function"||!r.seedIsStale()||cp(e,()=>{r.revalidateSeed(t).then(o=>{o&&e&&((e.__BRENDER_HYDRATION__||(e.__BRENDER_HYDRATION__={replaced:!0})).refreshed=o)},o=>console.error("[smbls] refreshing a stale pre-rendered page failed:",o))})},hi=(e,t,r,o)=>{let n=me("fetch");if(!n||typeof n.seedIsStale!="function")return;let s=()=>{let i=()=>ri(t,r);di(e,{pending:{size:1}}).then(i,i)};if(n.seedIsStale())return o?ri(t,r):s();typeof n.whenSeedTaken=="function"&&n.whenSeedTaken(s)},up=e=>({bubbles:!0,cancelable:!0,composed:!0,detail:e.detail,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,button:e.button,buttons:e.buttons}),fp=(e,t,r,o)=>{if(!e||typeof e.addEventListener!="function")return{replay(){}};let n=[],s=a=>{for(let l=a;l&&l!==r;l=l.parentNode)if(o.pending.has(l))return!0;return!1},i=a=>{s(a.target)&&(a.preventDefault(),a.stopImmediatePropagation(),n.push({target:a.target,init:up(a)}))};return e.addEventListener("click",i,!0),{replay(){e.removeEventListener("click",i,!0);let a=t&&t.MouseEvent||(typeof MouseEvent=="function"?MouseEvent:null);if(a)for(let{target:l,init:c}of n)l.isConnected&&o.claimed.has(dp(l,r,o))&&l.dispatchEvent(new a("click",c))}}},dp=(e,t,r)=>{for(let o=e;o&&o!==t;o=o.parentNode)if(r.claimed.has(o))return o;return null},pp=async()=>{for(await H();!ft();)await H()},hp=async(e,t,r,o,n,s,i,a,l,c,u,f)=>{let d=u.mountYield,g=u.mountWhole;d===void 0&&(u.mountYield=f.budget),g===void 0&&(u.mountWhole=!0);let y=qr(n,{budget:f.budget,progressive:!0,pageOptions:{mountYield:u.mountYield,mountWhole:u.mountWhole}}),w=ut(),m=fp(i,s,o,a),h=f.lease||null;y.lease=h,h&&(n.__mountLease=h);let _=null,b=!1;try{try{_=e(t,r,n.key,u)}catch(S){console.error("[smbls] hydration failed, rendering fresh:",S),delete n.__hydration,Fe(a);for(let E of a.claimed)E.parentNode&&E.remove();return null}b=!await J($e(_),h)||y.routeReady&&!await J(y.routeReady,h)||!await J(pp(),h),b&&(n.__hydration===a&&delete n.__hydration,Fe(a),Wr(_))}finally{u.mountYield=d,u.mountWhole=g,h&&(n.__mountLease=null),Yr(n),w(),_||m.replay()}return b?(m.replay(),ge(p(t)?t:{})):(a.root=_,pi(n,s,i,a,l,c),m.replay(),_)},oi=(e,t,r,o,n,s,i,a,l,c,u)=>{if(!o||typeof o.querySelectorAll!="function")return null;let f=b=>{for(let S=b;S&&S!==o;S=S.parentNode)if(S.parentNode===o&&S.localName==="svg"&&S.id)return!0;return!1},d={};for(let b of o.querySelectorAll("[data-br]")){let S=b.getAttribute("data-br");f(b)?b.removeAttribute("data-br"):d[S]=b}let g={},y=new Set,w=new Map,m=a.map;for(let b in m){let S=m[b],E=d[S];if(!E||g[S])continue;g[S]=E,y.add(E);let Mt=E.parentNode;Mt&&w.set(Mt,(w.get(Mt)||0)+1)}for(let b in d)g[b]||d[b].removeAttribute("data-br");let h={registry:m,nodes:g,claimed:new Set,pending:y,pendingIn:w,adopted:0,misses:0};if(n.__hydration=h,u)return hp(e,t,r,o,n,s,i,h,a,l,c,u);let _;try{_=e(t,r,n.key,c)}catch(b){console.error("[smbls] hydration failed, rendering fresh:",b),delete n.__hydration,Fe(h);for(let S of h.claimed)S.parentNode&&S.remove();return null}return h.root=_,pi(n,s,i,h,a,l),_},ni=(e,t,r,o,n,s,i,a,l,c)=>{if(ci(i,l),o){let f=[];for(let d of o.childNodes){if(d.nodeType===1){let g=d.localName;if(g==="script"||g==="link"||g==="style"||g==="svg"&&d.id)continue}f.push(d)}f.forEach(d=>d.remove())}i&&typeof i.querySelectorAll=="function"&&i.querySelectorAll("[data-br]").forEach(f=>f.removeAttribute("data-br")),s&&(s.__BRENDER_HYDRATION__={replaced:!0});let u=e(t,r,n.key,c);return fi(s,i,a),Promise.resolve(u).then(f=>hi(n,s,f,!1),()=>{}),u},gi=(e,t,r,o,n,s,i,a=null)=>{let l=ao(o),c=r&&r.nodeType?r:r&&r.node||ii(o,l),u=op(n,l);o.prerendered=!0;let f=nr(l);if(f&&(o.prerender=f),np(o,n,u)){if(a)return z().then(()=>he(a.lease)?oi(e,t,r,c,o,n,l,u,s,i,a):ge(p(t)?t:{})).then(g=>g||ni(e,t,r,c,o,n,l,u,s,i));let d=oi(e,t,r,c,o,n,l,u,s,i,a);if(d)return d}return ni(e,t,r,c,o,n,l,u,s,i)};var Si=e=>{let t=typeof window<"u"?window:globalThis||{};t.document||(t.document={body:{}});let r=typeof document<"u"?document:t.document;e.document=e.document||r;let o=e.window;return o&&o!==t&&typeof o.URL!="function"?(typeof console<"u"&&console.warn&&!globalThis.__smblsRouterUrlWarned&&(globalThis.__smblsRouterUrlWarned=!0,globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn("[smbls/router] context.window lacks URL, falling back to globalThis \u2014 passed-in window may be a stub (warned once; applies to every embed app this session)")),e.window=t):e.window=o||t,e.window},mi=(e="smbls")=>{let t={};for(let r in Ne)Object.prototype.hasOwnProperty.call(Ne,r)&&(q(r)?t[`smbls.${r}`]=Ne[r]:t[r]=Ne[r]);return t},wi=e=>e.components?{...mi(),...e.components}:mi(),ki=e=>({...He,...gr,...st,...e.utils,...e.snippets,...e.functions}),vi=e=>({...e.methods||{},require:e.utils.require,requireOnDemand:e.utils.requireOnDemand,router:e.utils.router});var Ei=e=>typeof globalThis<"u"&&globalThis.__SMBLS_PKGS__&&globalThis.__SMBLS_PKGS__[e]||null,gp=3e3,mp=(e,t,r=o=>import(o))=>{if(typeof globalThis>"u")return Promise.resolve(null);try{let o=globalThis.__SMBLS_PKGS__||(globalThis.__SMBLS_PKGS__={});if(o[e])return Promise.resolve(o[e]);let n=()=>r(t),s=Promise.resolve().then(n).then(a=>(a&&!o[e]&&(o[e]=a),o[e]||null)).catch(()=>null);return new Promise(a=>{let l=setTimeout(()=>a(null),gp);s.then(c=>{clearTimeout(l),a(c)})})}catch{return Promise.resolve(null)}},yi={},fo=async({dependencies:e,dependenciesOnDemand:t,document:r,preventCaching:o=!1,cdnProvider:n,packageManager:s,symbolsConfig:i,registerDependency:a=mp})=>{if(n||(n=ce[s]||yt(i)||"esmsh"),!e)return null;if(!Ue(e))return globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[smbls] dependencies is ${Array.isArray(e)?"an ARRAY":`a ${typeof e}`}, not a package-name-keyed object \u2014 skipping the CDN fetch loop. This usually means a project's config.js declares its own "dependencies" field that collides with the platform package map once context.js spreads them together.`),null;let l=!1;for(let d in e){l=!0;break}if(!l)return null;let c=et()&&o?`?${Math.random()}`:"",u=async(d,g)=>{let y=G(d,g,n)+c;try{await Promise.race([_t(y,{document:r,type:"module"}),new Promise((w,m)=>setTimeout(()=>m(new Error(`Timeout loading ${d}`)),1e4))]),await a(d,y)}catch(w){if(console.error(`Failed to load ${d} from ${n}:`,w),n!=="symbols")try{let m=G(d,g,"symbols")+c;await Promise.race([_t(m,{document:r,type:"module"}),new Promise((h,_)=>setTimeout(()=>_(new Error(`Timeout fallback ${d}`)),2e4))]),globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.log(`Successfully loaded ${d} from fallback (symbols.ls)`),await a(d,m)}catch(m){console.error(`Failed to load ${d} from fallback:`,m)}}},f=[];for(let d in e){let g=e[d];if(!(t&&t[d])&&!yi[d]&&(yi[d]=!0,!ue(d))){if(Be(d)){globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[smbls] dependency "${d}" looks like an un-interpolated template placeholder, not a real package specifier \u2014 skipping the CDN fetch (this is a bug upstream of the dependency loader, not a network failure).`);continue}Ei(d)||f.push(u(d,g))}}return f.length&&await Promise.allSettled(f),e},_i=/\[smbls\] runtime dependency "([^"]+)" is not registered on globalThis\.__SMBLS_PKGS__/g,yp=e=>{if(typeof e=="string")return e;if(typeof e=="function")try{return typeof Qe=="function"?Qe(e):Function.prototype.toString.call(e)}catch{return""}return""},_p=e=>{let t=new Set;if(!e)return t;let r=[e.globalScope,e.functions,e.methods,e.snippets];for(let o=0;o<r.length;o++){let n=r[o];if(!n||typeof n!="object")continue;let s=Object.keys(n);for(let i=0;i<s.length;i++){let a;try{a=n[s[i]]}catch{continue}let l=yp(a);if(!l||l.indexOf("__SMBLS_PKGS__")===-1)continue;_i.lastIndex=0;let c;for(;(c=_i.exec(l))!==null;)t.add(c[1])}}return t},bp=e=>{let t=new Set;if(!e||typeof e.querySelectorAll!="function")return t;let r;try{r=e.querySelectorAll('script[type="importmap"]')}catch{return t}for(let o=0;o<r.length;o++){let n;try{n=JSON.parse(r[o].textContent||"")}catch{continue}let s=n&&typeof n=="object"?n.imports:null;if(s&&typeof s=="object"){let i=Object.keys(s);for(let a=0;a<i.length;a++)t.add(i[a])}}return t},Sp=(e,t)=>{if(!t||!t.size)return!1;if(t.has(e))return!0;for(let r of t)if(r.length>1&&r.endsWith("/")&&e.length>r.length&&e.startsWith(r))return!0;return!1},Ci=(e,{syncRead:t=_p(e),runtimeDocument:r=typeof document<"u"?document:null,importMap:o=bp(r)}={})=>{let n=e&&e.dependencies;if(!Ue(n))return null;let s=!e.document||e.document===r,i=e.dependenciesOnDemand,a=null,l=null;for(let c in n)s&&!(i&&i[c])&&!t.has(c)&&Sp(c,o)?(l||(l={}))[c]=n[c]:(a||(a={}))[c]=n[c];return{blocking:a,deferred:l}},wp=e=>import(e),lo={},kp=(e,t)=>{if(!t||typeof globalThis>"u")return;let r=globalThis.__SMBLS_PKGS__||(globalThis.__SMBLS_PKGS__={});r[e]||(r[e]=t)},vp=(e,{importModule:t=wp}={})=>{let r=[];if(!e)return Promise.resolve([]);for(let o in e)if(!(ue(o)||Be(o))&&!Ei(o)){if(!lo[o]){let n=()=>t(o);lo[o]=Promise.resolve().then(n).then(s=>(kp(o,s),s||null),()=>null)}r.push(lo[o])}return Promise.all(r)},Ep=2e3,Cp=3e3,Ri=(e,{win:t=typeof window<"u"?window:null,importModule:r,loadTimeoutMs:o=Cp}={})=>e?new Promise(n=>{let s=()=>{vp(e,{importModule:r}).then(n,n)},i=()=>{t&&typeof t.requestIdleCallback=="function"?t.requestIdleCallback(s,{timeout:Ep}):setTimeout(s,0)},a=t&&t.document;if(a&&a.readyState&&a.readyState!=="complete"&&typeof t.addEventListener=="function"){let l=!0,c=null,u=()=>{l&&(l=!1,clearTimeout(c),typeof t.removeEventListener=="function"&&t.removeEventListener("load",u),i())};t.addEventListener("load",u,{once:!0}),c=setTimeout(u,o)}else i()}):null,Li=async(e,t)=>{let r=t.window||window,o=t.cdnProvider||yt(t.symbolsConfig)||"esmsh",n=async i=>async(a,l)=>{let u=(i.window||window).packages[a];return typeof u=="function"?u():u},s=async i=>async(a,l=o)=>{let{dependenciesOnDemand:c}=i,u=i.document||document,f=i.window||window;if(!f.packages[a]&&ue(a))return await f.require(a,l);if(!f.packages[a]){let d=et()?`?${Math.random()}`:"";if(c&&c[a]){let g=c[a],y=G(a,g,l)+d;try{await i.utils.loadRemoteScript(y,{window:f,document:u})}catch(w){if(console.error(`Failed to load ${a} from ${l}:`,w),l!=="symbols"){let m=G(a,g,"symbols")+d;await i.utils.loadRemoteScript(m,{window:f,document:u})}}}else{let g=G(a,"latest",l)+d;try{await i.utils.loadRemoteScript(g,{window:f,document:u})}catch(y){if(console.error(`Failed to load ${a} from ${l}:`,y),l!=="symbols"){let w=G(a,"latest","symbols")+d;await i.utils.loadRemoteScript(w,{window:f,document:u})}}f.packages[a]="loadedOnDeman"}}return await f.require(a,l)};r.packages?r.packages=ee(r.packages,e):r.packages=e,r.require||(t.utils.require=await n(t),r.require=t.utils.require),r.requireOnDemand||(t.utils.requireOnDemand=await s(t),r.requireOnDemand=t.utils.requireOnDemand)},Rp=/\s+/g,Ti=(e,t)=>typeof e=="function"?e(t,t?.state,t?.context):e,Lp=(e,t)=>{let r="";for(let o in e){let n=e[o];typeof n=="boolean"&&n?r+=` ${o}`:typeof n=="string"?r+=` ${n}`:typeof n=="function"&&(r+=` ${Ti(n,t)}`)}return r},Tp=(e,t,r)=>{if(!e)return;let{key:o}=t;e===!0&&(e=t.classlist={key:o}),typeof e=="string"&&(e=t.classlist={default:e}),e!==null&&typeof e=="object"&&!Array.isArray(e)&&(e=Lp(e,t));let n=e.replace(Rp," ").trim();if(r&&typeof r.setAttribute=="function")r.setAttribute("class",n);else if(r)try{r.className=n}catch{}return n},Ap=()=>(e,t,r)=>{let o=Ti(e,t);if(e){let{__ref:n}=t;n.__class.style=o}Ai()(t.classlist,t,t.state,!0)},Ai=()=>(e,t,r,o)=>{if(t.style&&!o)return;let{__ref:n}=t,{__class:s,__classNames:i}=n;if(!(e===null||typeof e!="object"||Array.isArray(e))){t.class&&(i.classProps=t.class),t.attr?.class&&(i.class=t.attr.class);for(let a in s){let l=s[a];if(!l){delete i[a];continue}let c;typeof l=="string"||typeof l=="number"?c=l:typeof l=="boolean"?c=t.key:c=lt(l),i[a]=c}for(let a in i)a==="classProps"||a==="class"||s[a]===void 0&&delete i[a];t.node&&Tp(i,t,t.node)}},Dp=()=>({style:Ap(),classlist:Ai()}),Op=["useReset","useVariable","useFontImport","useIconSprite","useSvgSprite","useDocumentTheme","useDefaultIcons","useDefaultConfig","verbose","globalTheme"],co=new WeakSet,uo=!1,xp=e=>!!e&&typeof e=="object",Ip=new Set(["key","document","files","assets","themeRoot","config","newConfig","recordCss","router"]),Di=e=>e.toLowerCase()==="font",Pp=e=>{let t=2166136261,r=16777619^e.length;for(let o=0;o<e.length;o++){let n=e.charCodeAt(o);t=Math.imul(t^n,16777619),r=Math.imul(r^n,1540483477)}return(t>>>0).toString(36)+"."+(r>>>0).toString(36)+"."+e.length.toString(36)},bi=(e,t)=>typeof t=="function"?"fn:"+String(t):t,Oi=(e,t)=>{let r={};for(let n in e||{})Di(n)||(r[n]=e[n]);let o={};for(let n in t)Ip.has(n)||(o[n]=t[n]);return o.globalTheme=zr(t.globalTheme)||"auto",Pp(1+"|"+JSON.stringify(r,bi)+"|"+JSON.stringify(o,bi))},Mp=e=>{let t={};for(let r in e||{})Di(r)&&p(e[r])&&L(t,T(e[r]),se);return p(fe.font)&&L(t,T(fe.font),se),t},Fp=(e,t)=>{if(e.preparedDesignSystem!==void 0){let o=e.preparedDesignSystem;return delete e.preparedDesignSystem,o}let r=ne(t,or);return r?r.value:null},xi=e=>{if(!e||e.preparedDesignSystem!==void 0)return null;let t=e.document||(typeof document<"u"?document:null);if(!t||typeof t.querySelector!="function"||typeof globalThis.fetch!="function")return null;try{let r=t.querySelector(tr),o=r&&r.href;if(o)return globalThis.fetch(o,{credentials:"same-origin"}).then(l=>l&&l.ok?l.json():null).catch(()=>null);let n=t.querySelector(rr),s=n&&n.getAttribute("content");if(!s)return null;let i=new URL(s,t.baseURI||void 0).href,a=globalThis.fetch(i,{credentials:"same-origin",priority:"low"}).then(l=>l&&l.ok?l.json():null).catch(()=>null);return Np(a,i,e.window||t.defaultView)}catch{return null}},$p=(e,t)=>{let r=t&&t.performance||(typeof performance<"u"?performance:null);if(!r||typeof r.getEntriesByName!="function")return!1;try{let o=r.getEntriesByName(e);for(let n=0;n<o.length;n++)if(o[n].responseEnd>0)return!0}catch{}return!1},Np=(e,t,r)=>{let o=!1,n=e.then(s=>(o=!0,s));return n.deferred=!0,n.ready=()=>o||$p(t,r),n},Ii=e=>!!e&&(e.deferred!==!0||e.ready()),Bp=e=>p(e)&&e.format===1&&typeof e.fingerprint=="string"&&p(e.config)&&Array.isArray(e.rules),Up=(e,t,r,o)=>{if(o.localFile)return null;let n=qo(e);return n?{format:1,fingerprint:Oi(r.designSystem,o),config:n,rules:t.rules,sprites:t.sprites}:null},Pi=(e,t)=>{let r=t.document||(t.parent&&t.parent.documentElement?t.parent:null)||document,o=t.initOptions||{},n=t.registry||Dp(),s=()=>t.designSystem?L(T(t.designSystem),T(fe),se):T(fe),i={};for(let m of Op)t[m]!==void 0&&(i[m]=t[m]);let a,l=xp(r),u=l&&co.has(r)&&!t.skipDesignSystemInit,f=!u&&!uo,d=u?`[data-smbls-app="${e}"]`:":root";t.scopeSelector=d;let g={key:e,document:r,files:t.files,assets:t.assets,scopeSelector:d,...oo,...i,...o};if(t.skipDesignSystemInit){if(a=Q(e)||Q(),a&&(a.__domDocument=r),a?.CSS_VARS){U(a);try{R({[d]:a.CSS_VARS}),a.CSS_MEDIA_VARS&&R(Gr(a.CSS_MEDIA_VARS,d));let m=it(a.cssSkinVars,a.cssSkinFallback,d);Object.keys(m).length&&R(m)}finally{j()}}}else if(t.isolateDesignSystem&&!u){let m=Ho();m.__domDocument=r;let h=null,_=t.captureDesignSystem?b=>{h=b}:void 0;U(m);try{a=pe(s(),{...g,config:m,recordCss:_})}finally{j()}h&&(t.preparedDesignSystem=Up(a,h,t,g))}else if(f){let m=Q();m&&(m.__domDocument=r);let h=m&&m._scratchConfig&&!g.localFile?Fp(t,r):null;Bp(h)&&h.fingerprint===Oi(t.designSystem,g)?(a=ps(h,m,g,Mp(t.designSystem)),t.designSystemSource="prepared"):(a=pe(s(),g),t.designSystemSource="processed"),a&&a!==m&&(a.__domDocument=r),l&&co.add(r),uo=!0}else{let m=ur(e,s(),{cleanBase:!0});for(let h in i)m[h]=i[h];if(m.__domDocument=r,u){let h=e.replace(/[^a-zA-Z0-9]/g,"").substring(0,6);t.cssPrefix=h,m.varPrefix=h}U(m);try{a=pe(m,g)}finally{j()}l&&co.add(r),uo=!0}let y=a?.CONFIG||a,w=y?.font;if(w){U(y);try{Qs(w)}finally{j()}}return[a,n]},Mi=(e,t)=>{let r={};t.state&&re(r,t.state),e&&e.state&&re(r,e.state);let o=t.polyglot;if(o){let n=null;try{typeof localStorage<"u"&&(n=localStorage.getItem(o.storageLangKey||"smbls_lang")||localStorage.getItem("lang"))}catch{}let s=Oe({polyglot:o,pathname:xe(t.window),stored:n,stateLang:r.lang});(n||s!==Ae(r.lang,o))&&s!==r.lang&&(r.lang=s),o.translations&&jp(t,o,r,s)}return r.isRootState=!0,T(r)},jp=(e,t,r,o)=>{let n=new Set,s=new Set,i=(c,u)=>{if(!s.has(c)){if(!Bt(e,c,r)){n.add(c);return}r[c]=u,s.add(c),oe(e,c,u)}},a=t.translations[o];if(a&&typeof a=="object")for(let c in a)i(c,a[c]);let l=new Set(De(t,!1));for(let c in t.translations)l.has(c)||i(c,t.translations[c]);n.size&&t.verbose!==!1&&e.verbose!==!1&&(globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[polyglot] ${n.size} translation key${n.size===1?"":"s"} collide${n.size===1?"s":""} with a declared root-state key (${[...n].join(", ")}) \u2014 the declared value wins and the translation is NOT seeded into state. Rename the translation key, or read it with \`{{ key | polyglot }}\` instead of a bare \`{{ key }}\`.`))},Fi=(e,t)=>{p(e.routes)&&p(t.pages)&&ee(e.routes,t.pages);let r=e.routes||t.pages||{},o=[];for(let n in r){if(n.charCodeAt(0)===47)continue;let i="/"+(n==="index"?"":n);Object.prototype.hasOwnProperty.call(r,i)?o.push(`${n} -> ${i}`):r[i]=r[n],delete r[n]}return o.length&&t&&t.verbose!==!1&&(globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[smbls] preparePages kept ${o.length} explicitly declared route${o.length===1?"":"s"} over a same-named page key (${o.join(", ")}). A bare page NAME never overwrites a declared '/route'. This usually means a shared library ships a page under its export name that collides with one of your routes \u2014 add it to that library's ignoreList if you did not intend the collision.`)),r},po=e=>{Kt(e,e.sharedLibraries)};var Hp="smbls_t_",Gp="smbls_tv_",ho=e=>{let t=e&&e.window||(typeof window<"u"?window:null);return t?t.localStorage:null},we={get(e,t){try{return ho(e)?.getItem(t)??null}catch{return null}},set(e,t,r){try{ho(e)?.setItem(t,r)}catch(o){console.warn("[polyglot] localStorage unavailable:",o.message)}},remove(e,t){try{ho(e)?.removeItem(t)}catch(r){console.warn("[polyglot] localStorage unavailable:",r.message)}}},$i=new WeakMap,Ni=e=>{let t=$i.get(e);return t||(t={},$i.set(e,t)),t},Bi=new WeakMap,Gi=(e,t)=>e&&typeof e=="object"?e:t&&typeof t=="object"?t:null,Vi=e=>{let t=Bi.get(e);return t||(t={seq:0,pending:Io(null),wake:null},Bi.set(e,t)),t},Ui=(e,t,r)=>new Promise(o=>{let n=null,s=()=>{n!==null&&clearTimeout(n),n=null,e.wake===s&&(e.wake=null),o()};e.wake=s,Promise.resolve(t).then(s,s),r>0&&(n=setTimeout(s,r))}),mo=(e,t)=>!!(e?.translations&&e.translations[t]),Vp=3e3,zp=2147483647,Wp=e=>{let t=e?.fontWait;return t===!1?0:typeof t=="number"?t>0?Math.min(t,zp):0:Vp},Kp=/\p{L}/gu,qp=(...e)=>{let t=new Set,r=(o,n)=>{if(typeof o=="string"){let s=o.match(Kp);if(s)for(let i=0;i<s.length;i++)t.add(s[i])}else if(o&&typeof o=="object"&&n<8)for(let s in o)r(o[s],n+1)};for(let o=0;o<e.length;o++)r(e[o],0);return Array.from(t).join("")},Yp=(e,t)=>{let r=e?.fonts;if(!t||!r||!e.body||typeof r.check!="function"||typeof r.load!="function")return null;try{let n=(e.defaultView||globalThis).getComputedStyle(e.body).fontFamily;if(!n)return null;let s="1em "+n;return r.check(s,t)?null:Promise.resolve(r.load(s,t)).then(()=>{},()=>{})}catch{return null}};function Ye(){let e=this?.context,t=e?.polyglot,r=this?.state?.root||e?.state?.root;return Ae(r?.lang||e?.state?.lang,t)}function yo(){let e=this?.context,t=Gi(e,this?.state?.root||e?.state?.root);return t?Vi(t).pending.get():null}function _o(){let e=this?.context?.polyglot;return e?De(e):[]}var At=(e,t)=>{if(!e||!t)return;if(e[t]!==void 0)return e[t];if(t.indexOf(".")===-1)return;let r=t.split("."),o=e;for(let n=0;n<r.length;n++){if(o==null)return;o=o[r[n]]}return o},ji=(e,t,r)=>{let o=t.lastIndexOf(".");if(o===-1)return e[t+"_"+r];let n=At(e,t.substring(0,o));if(n!=null)return n[t.substring(o+1)+"_"+r]};function bo(e,t){if(!e)return"";let r=this?.context,o=r?.polyglot,n=t||this.call("getActiveLang"),s=this?.state;if(s){let c=ji(s,e,n);if(c!==void 0)return c}if(o?.translations){let c=o.translations[n];if(c){let u=At(c,e);if(u!==void 0)return u}}let i=s?.root||r?.state?.root,a=i?.translations;if(a){let c=a[n];if(c){let u=At(c,e);if(u!==void 0)return u}}let l=o?.defaultLang||"en";if(s){let c=ji(s,e,l);if(c!==void 0)return c}if(o?.translations){let c=o.translations[l];if(c){let u=At(c,e);if(u!==void 0)return u}}return Jp(o,i,n)&&typeof ot=="function"&&ot(),e}var Jp=(e,t,r)=>!!e?.fetch&&!mo(t,r)&&!e._fetchFailed?.[r];async function qe(e,t){let r=this?.context,o=r?.polyglot,n=this?.state?.root||r?.state?.root;if(!o||!n)return;if(t&&t.inFlight===!0)return Ni(n)[(o.storagePrefix||"smbls")+":"+e];let s=o.storagePrefix||Hp,i=o.storageVersionPrefix||(o.storagePrefix?o.storagePrefix.replace(/_$/,"v_"):Gp);if(o.translations&&o.translations[e]&&!o.fetch||!o.fetch||o._fetchFailed?.[e])return;if(!n.translations?.[e]){let u=we.get(r,s+e);if(u)try{let f=JSON.parse(u),d={translations:{...n.translations||{}}};d.translations[e]=f,n.update&&n.update(d)}catch(f){console.warn("[polyglot] Failed to apply language update:",f.message)}}let a=Ni(n),l=(o.storagePrefix||"smbls")+":"+e;if(a[l])return a[l];let c=this;return a[l]=(async()=>{try{let u=o.fetch,f=parseInt(we.get(r,i+e),10)||0,d,g,y;if(v(u)){let m=await u(e,f,c);if(!m||m.changed===!1)return;d=m.translations||m.data||m,g=m.version||0,y=!0}else if(p(u)){let m=c.getDB||(()=>r.fetch),h=v(m)?await m.call(c):r.fetch;if(!h)return;let _=u.rpc||u.from||"get_translations_if_changed",b={p_lang:e,p_cached_version:f,...u.params||{}},S=await h.rpc({from:_,params:b});if(S.error)throw o._fetchFailed||(o._fetchFailed={}),o._fetchFailed[e]=!0,S.error;let E=S.data;if(!E||!E.changed)return;d=E.translations||{},g=E.version||0,y=!0}else return;if(!y||!d)return;we.set(r,s+e,JSON.stringify(d)),g&&we.set(r,i+e,String(g));let w={translations:{...n.translations||{}}};w.translations[e]=d,n.update&&n.update(w)}catch(u){if(o.verbose!==!1){let f=u?.message||u?.details||(typeof u=="object"?JSON.stringify(u):String(u));console.warn("[polyglot] Failed to load translations for",e,"-",f)}}finally{delete a[l]}})(),a[l]}var go=new WeakMap,Hi=Symbol.for("@symbo.ls/polyglot:trackedLoadTranslations");function zi(e){if(!v(e)||e[Hi]||e===qe)return e;let t=function(r,o){let n=this?.context,s=this?.state?.root||n?.state?.root,a=(n?.polyglot?.storagePrefix||"smbls")+":"+r;if(o&&o.inFlight===!0){let c=s&&go.get(s);return c&&c[a]?c[a]:qe.call(this,r,o)}let l=e.call(this,r,o);if(s&&l&&typeof l.then=="function"){let c=go.get(s);c||go.set(s,c={});let u=Promise.resolve(l);c[a]=u;let f=()=>{c[a]===u&&delete c[a]};u.then(f,f)}return l};return t[Hi]=!0,t}var Xp=(e,t,r)=>{let o=e.__ref;if(!o||o.contentManaged||r==null||typeof r=="object")return;let n=o.__textNode;if(!n||n.parentNode!==t)return;let s=String(r);n.nodeValue!==s&&(n.nodeValue=s)};async function So(e,t){let r=this?.context,o=r?.polyglot,n=this?.state?.root||r?.state?.root,s=r?.document||globalThis.document;if(!n)return;t?.persist!==!1&&we.set(r,rt(o),e);let i=Vi(Gi(r,n)),a=++i.seq;i.wake&&i.wake();let l=()=>i.seq===a;if(this.call("getActiveLang")===e){i.pending.set(null),s?.documentElement&&(s.documentElement.lang=e);return}try{if(o?.fetch){let u=this.call("loadTranslations",e);if(!mo(n,e)){i.pending.set(e);let f=null;if(await Ui(i,Promise.resolve(u).then(null,d=>{f=d}),0),!l())return;if(f)throw f;if(!mo(n,e)&&!o.translations?.[e])return}}let c=Wp(o);if(c>0&&s?.fonts&&s.documentElement?.lang!==e){let u=Yp(s,qp(o?.translations?.[e],n.translations?.[e]));if(u&&(i.pending.set(e),await Ui(i,u,c),!l()))return}i.pending.set(null),Zp(r,o,n,s,e)}finally{l()&&i.pending.set(null)}}function Zp(e,t,r,o,n){e?.state&&(e.state.lang=n);let s=t?.translations?.[n],i={lang:n},a=l=>Ut(e,l,r);if(s&&typeof s=="object")for(let l in s){if(!a(l))continue;let c=s[l];(Array.isArray(c)||typeof c=="string"||typeof c=="number")&&(i[l]=c)}r.update&&r.update(i);for(let l in i)l!=="lang"&&oe(e,l,i[l]);if(s&&typeof s=="object")for(let l in s){if(!a(l))continue;let c=s[l];if(c&&typeof c=="object"&&!Array.isArray(c)&&r[l]&&typeof r[l]=="object"&&!Array.isArray(r[l])){for(let u in c)r[l][u]=c[u];oe(e,l,r[l])}}if(o&&s){let l=o.querySelectorAll("[data-key]");for(let c of l){let u=c.ref;if(!u)continue;let f=u.__ref?.__exec?.text;if(typeof f=="string"&&f.includes("{{"))try{Xp(u,c,u.call("replaceLiteralsWithObjectFields",f,u.state))}catch{}}}o?.documentElement&&(o.documentElement.lang=n)}async function wo(e,t,r){let o=this?.context,n=o?.polyglot,s=this?.state?.root||o?.state?.root;if(s?.translations?.[t]&&(s.translations[t][e]=r),n?.translations?.[t]&&(n.translations[t][e]=r),n?.fetch&&p(n.fetch)){let i=this.getDB||(()=>o.fetch),a=v(i)?await i.call(this):o.fetch;if(!a)return;let l=n.fetch.table||"translations",c=await a.upsert({from:l,data:{key:e,lang:t,text:r}});if(c?.error)throw c.error;return c.data}}async function Wi(){let e=this?.context,t=e?.polyglot;if(!t)return;let r=this?.state?.root||e?.state?.root;if(!r)return;let o=we.get(e,rt(t)),n=Oe({polyglot:t,pathname:xe(e.window),stored:o,stateLang:r.lang||e?.state?.lang}),s=e?.document||globalThis.document;s?.documentElement&&(s.documentElement.lang=n),r.update&&r.lang!==n&&r.update({lang:n}),t.fetch&&!(t.translations&&t.translations[n])&&await this.call("loadTranslations",n)}function ko(e){try{let t=Ye.call(this),r=this?.state;if(!r)return"";let o=e.lastIndexOf(".");if(o===-1)return r[e+t]??"";let n=e.substring(0,o).split("."),s=r;for(let i=0;i<n.length;i++){if(s==null)return"";s=s[n[i]]}return s==null?"":s[e.substring(o+1)+t]??""}catch{return""}}var vo={name:"polyglot",render(e){e.parent&&e.parent.parent||e.__polyglotInitialized||(e.__polyglotInitialized=!0,Wi.call(e))}};var Dt={polyglot:bo,getLocalStateLang:ko,getActiveLang:Ye,getLang:Ye,setLang:So,getPendingLang:yo,getLanguages:_o,loadTranslations:qe,upsertTranslation:wo};var Ot={arial:{capHeight:716,ascent:1854,descent:-434,lineGap:67,unitsPerEm:2048},helvetica:{capHeight:714,ascent:770,descent:-230,lineGap:0,unitsPerEm:1e3},"helvetica neue":{capHeight:714,ascent:952,descent:-213,lineGap:28,unitsPerEm:1e3},georgia:{capHeight:1419,ascent:1878,descent:-449,lineGap:0,unitsPerEm:2048},"times new roman":{capHeight:1356,ascent:1825,descent:-443,lineGap:87,unitsPerEm:2048},"courier new":{capHeight:1170,ascent:1705,descent:-615,lineGap:0,unitsPerEm:2048},verdana:{capHeight:1489,ascent:2059,descent:-430,lineGap:0,unitsPerEm:2048},roboto:{capHeight:1456,ascent:1900,descent:-500,lineGap:0,unitsPerEm:2048},"open sans":{capHeight:1462,ascent:2189,descent:-600,lineGap:0,unitsPerEm:2048},inter:{capHeight:1490,ascent:2048,descent:-512,lineGap:0,unitsPerEm:2048},lato:{capHeight:1434,ascent:1974,descent:-426,lineGap:0,unitsPerEm:2e3},"source sans":{capHeight:660,ascent:984,descent:-273,lineGap:0,unitsPerEm:1e3},"source sans pro":{capHeight:660,ascent:984,descent:-273,lineGap:0,unitsPerEm:1e3},"source sans 3":{capHeight:660,ascent:984,descent:-273,lineGap:0,unitsPerEm:1e3},montserrat:{capHeight:700,ascent:968,descent:-251,lineGap:0,unitsPerEm:1e3},poppins:{capHeight:700,ascent:1050,descent:-350,lineGap:100,unitsPerEm:1e3},raleway:{capHeight:710,ascent:1e3,descent:-250,lineGap:0,unitsPerEm:1e3},"dm sans":{capHeight:700,ascent:992,descent:-312,lineGap:0,unitsPerEm:1e3},nunito:{capHeight:705,ascent:1011,descent:-353,lineGap:0,unitsPerEm:1e3},"work sans":{capHeight:684,ascent:930,descent:-243,lineGap:0,unitsPerEm:1e3},manrope:{capHeight:708,ascent:980,descent:-300,lineGap:0,unitsPerEm:1e3},"ibm plex sans":{capHeight:698,ascent:1025,descent:-275,lineGap:0,unitsPerEm:1e3},"plus jakarta sans":{capHeight:720,ascent:1060,descent:-300,lineGap:0,unitsPerEm:1e3}},xt=e=>parseFloat(e.toFixed(4)),Qp=(e,t,r)=>{let{ascent:o,descent:n,lineGap:s,unitsPerEm:i,capHeight:a}=t,l=Math.abs(n),c=o+l+s,u=r!==void 0?r:c/i*e,f=u/e,d=c/i,g=(o-a+s/2)/i-(f-d)/2,y=(l+s/2)/i-(f-d)/2;return{fontSize:`${xt(e/16)}rem`,lineHeight:`${xt(u)}px`,capHeightTrim:`${xt(-g)}em`,baselineTrim:`${xt(-y)}em`}},eh=(e,t)=>{if(typeof e=="number")return e;let r=t?.designSystem;if(!r)return null;let{typography:o}=r;if(o?.sequence){let s=String(e).toUpperCase(),i=o.sequence[s];if(i)return i.decimal||i.val}let n=parseFloat(e);return isNaN(n)?null:typeof e=="string"&&e.endsWith("rem")?n*(r.typography?.browserDefault||16):n},th=(e,t)=>{let o=t?.designSystem?.font_family||{};if(e){let s=o[e];if(s?.metrics)return s.metrics;let i=String(e).toLowerCase().replace(/['"]/g,"").trim();if(Ot[i])return Ot[i]}let n=o.default||Object.keys(o)[0];if(n){let s=o[n];if(s?.metrics)return s.metrics;if(s?.value&&Array.isArray(s.value))for(let i of s.value){let a=i.toLowerCase().replace(/['"]/g,"").trim();if(Ot[a])return Ot[a]}}return null},Ki=(e,t,r,o)=>{if(!e)return;let n=eh(t.fontSize,o);if(!n)return;let s=th(t.fontFamily,o);if(!s)return;let i=t.lineHeight?parseFloat(t.lineHeight):void 0,{lineHeight:a,capHeightTrim:l,baselineTrim:c}=Qp(n,s,i),u={};return t.lineHeight||(u.lineHeight=a),u["::before"]={content:'""',marginBottom:l,display:"table"},u["::after"]={content:'""',marginTop:c,display:"table"},u},qi={name:"capsize",init(e){e.useCapsize===void 0&&e.fontSize&&(e.useCapsize=!0)}};var Eo=new Set(["__proto__","constructor","prototype"]),Ji=e=>{if(!Array.isArray(e))return!1;for(let t=0;t<e.length;t++)if(Eo.has(e[t]))return!1;return!0},rh=(e,t)=>{!e||!Ji(t)||t.reduce((r,o,n,s)=>{if(r&&o in r){if(n!==s.length-1)return r[o];delete r[o]}},e)},oh=(e,t,r,o=!1)=>{!e||!Ji(t)||t.reduce((n,s,i,a)=>{if(n){if(i!==a.length-1)return!n[s]&&o&&(n[s]={}),n[s];n[s]=r}},e)},nh=(e,t)=>{let r=new Set;if(!Array.isArray(t))return r;for(let[o,n,s]of t)if(!(!Array.isArray(n)||!n.length))switch(r.add(n[0]),o){case"delete":rh(e,n);break;case"update":case"set":oh(e,n,s,!0);break;default:break}return r},yy=(e,t)=>{if(!t||typeof t!="object"||Array.isArray(t))return null;let r=e&&(e.__raw||e)||{},o=null;for(let n of Object.keys(t))Eo.has(n)||Object.prototype.hasOwnProperty.call(r,n)||(o||(o={}),o[n]=t[n]);return o},sh=()=>typeof D<"u"&&!!D&&!!D.__SYMBOLS_ENV__,ih=()=>{try{if(D.self!==D.top)return!0}catch{return!0}try{return new URLSearchParams(D.location.search).has("liveSync")}catch{return!1}},Yi=Object.freeze({mode:null,baseUrl:null}),ah=e=>{let t=e&&e.editor&&e.editor.socketUrl||e&&e.settings&&e.settings.socketUrl;return typeof t=="string"&&t?sh()&&!ih()?Yi:{mode:"collab",baseUrl:t}:e&&e.editor&&e.editor.runtime==="runner"?{mode:"runner",baseUrl:null}:Yi},It=e=>ah(e).mode!==null,Xi=(e,t)=>{!e||!t||typeof t!="object"||(e.__rawDesignSystem=JSON.parse(JSON.stringify(t)))},Zi=(e,t,r,o="designSystem")=>{for(let n in t){if(Eo.has(n))continue;let s=`${o}/${n}`;if(r.has(s))continue;let i=t[n],a=e[n];if(i&&typeof i=="object"&&!Array.isArray(i)){if(!a||typeof a!="object"||Array.isArray(a)){if(n in e)continue;e[n]={}}Zi(e[n],i,r,s)}else n in e||(e[n]=Array.isArray(i)?JSON.parse(JSON.stringify(i)):i)}},_y=(e,t)=>{if(!e||!e.__rawDesignSystem)return null;if(Array.isArray(t)&&t.length){let n={designSystem:e.__rawDesignSystem};nh(n,t)}let r=JSON.parse(JSON.stringify(e.__rawDesignSystem)),o=Array.isArray(e.sharedLibraries)?e.sharedLibraries:[];return qt(r,o,Zi)},by=e=>{!e||!e.polyglot||!Array.isArray(e.sharedLibraries)||Yt(e.polyglot,e.sharedLibraries)};var lh="@symbo.ls/fetch:EARLY",ch=()=>new Promise(e=>setTimeout(e,0)),Co=e=>{let t=typeof globalThis<"u"?globalThis[Symbol.for(lh)]:null,r=t&&t.afterFirstView;return typeof r!="function"||t.afterFirstViewRan?null:(t.afterFirstViewRan=!0,Promise.resolve(e&&e.__firstNavigation).catch(()=>{}).then(ch).then(()=>{try{r(t.ctx||{})}catch(o){console.error("[smbls] fetch.early afterFirstView failed:",o)}}))};var To=e=>!!(e&&typeof e=="object"&&e.__isStub===!0),Ao=e=>Z(e)?e.library!==void 0?e.library:e.key??e.name:e,uh=(e,t)=>{let r=t?.sharedLibraries,o=Array.isArray(r)?r.map(i=>typeof i=="string"?i:i?.key||i?.name):r&&typeof r=="object"?Object.keys(r):null,n=0,s=i=>{let a=n++;if(typeof i.__libraryKey=="string"&&i.__libraryKey)return i.__libraryKey;if(o&&o[a])return o[a];if(typeof i.__stubId=="string"){let l=i.__stubId.match(/^@symbo[-.]ls\/([^/]+)/);if(l)return l[1]}return null};return e.map(i=>{let a=Ao(i);if(!To(a))return i;let l=s(a);return l?Z(i)?{...i,library:l}:l:null}).filter(Boolean)},Do=new WeakMap,fh={lazy:!0,window:globalThis},Qi=["components","pages","functions","methods","snippets"],dh=Qi.filter(e=>e!=="methods"),Ro=e=>{if(!e||typeof e!="object")return!1;let t=new WeakSet,r=[e];for(;r.length;){let o=r.pop();if(!o||typeof o!="object"||t.has(o))continue;t.add(o);let n;try{n=Object.keys(o)}catch{continue}for(let s of n){let i;try{i=o[s]}catch{continue}if(typeof i=="function")return!0;i&&typeof i=="object"&&r.push(i)}}return!1},ph=(e,t)=>{if(Te(t)||Te(e))return"boot-revived";if(Ro(e))return"local";if(t&&typeof t=="object"){if(Ro(t.app))return"local";for(let r of dh)if(Ro(t[r]))return"local"}return"raw-json"},ea=(e,t)=>{let r=t?e[t]:e;if(!p(r))return;let o=Le(r,{},fh);try{Object.assign(r,o)}catch(n){if(t)e[t]=o;else throw n}},hh=e=>{if(!p(e)||Te(e))return e;for(let t of[...Qi,"app"])ea(e,t);return $t(e)},gh=(e,t)=>{if(!Array.isArray(e))return e;for(let r of e){let o=Z(r)?r.library:r;p(o)&&!t.has(o)&&hh(o)}return e},Oo=new WeakMap,Lo=e=>{let t=Do.get(e);t&&(Do.delete(e),Ri(t))},ta=e=>e.notifications===!0||e.notifications!==!1&&!!e.editor&&e.editor.verbose===!0,ra=e=>e.sync!==!1&&It(e)||ta(e),oa=e=>{let t={shorthand:null,analyze:null,inspect:null,fetch:null,sync:null,windows:null,dropdown:null,tooltip:null};for(let r of Rs(e))t[r]=A(r);return ra(e)&&(t.sync=A("sync")),t},na=async(e,t={})=>{let r=t.symbolsConfig,o=r?.owner&&r?.key?`${r.owner}--${r.key}`:r?.key,n=t.key=t.key||o||(k(e)?e:"smblsapp");(!t.define||t.define===be)&&(t.define={...be}),t.cssPropsRegistry=Qo,t.window=Si(t);let s=oa(t),i=ph(e,t);if(globalThis.__SMBLS_BUILD_NO_SHARED_LIBRARIES__&&t.sharedLibraries&&t.sharedLibraries.length)po(t);else if(t.sharedLibraries&&t.sharedLibraries.length){if(t.sharedLibraries.some(_=>{let b=Ao(_);return typeof b=="string"||To(b)})){t.sharedLibraries=uh(t.sharedLibraries,t.symbolsConfig);let _=new Set(t.sharedLibraries.map(S=>Ao(S)).filter(S=>p(S)&&!To(S))),b=await Xt(t.sharedLibraries,{apiBaseUrl:no()});t.sharedLibraries=i==="raw-json"?b:gh(b,_)}Ys(t.sharedLibraries),po(t)}It(t)&&Xi(t,t.designSystem);let a=Oo.get(t);a&&(Oo.delete(t),Ii(a)&&(t.preparedDesignSystem=await a));let[l,c]=Pi(n,t);if(t.designSystem=l,t.registry=c,$r(t,{apiBaseUrl:no()}),t.cases||(t.cases={}),t.shorthand){let h=await(s.shorthand||A("shorthand"));h&&h.shorthandPlugin.prepareContext(t)}let u=Mi(e,t);if(t.state=u,jt(u),t.pages=Fi(e,t),t.components=wi(t),t.utils=ki(t),ce[t.packageManager]){let h=Ci(t);h&&h.deferred?(h.blocking&&await fo({...t,dependencies:h.blocking}),Do.set(t,h.deferred)):t.dependencies=await fo(t)}if(t.methods=vi(t),t.routerOptions=Cs(e,t),t.defaultExtends=[nn],t.snippets=t.snippets||{},t.functions=t.functions||{},t.plugins=t.plugins||[],t.globalScope=t.globalScope||{},t.plugins.some(h=>!h||typeof h!="object")){let h=t.plugins.filter(_=>!_||typeof _!="object");t.plugins=t.plugins.filter(_=>_&&typeof _=="object"),t.verbose!==!1&&(globalThis.__SMBLS_DEV_DIAGNOSTICS_OFF__||console.warn(`[smbls] context.plugins carried ${h.length} non-plugin entr${h.length===1?"y":"ies"} (${h.map(_=>JSON.stringify(_)).join(", ")}) \u2014 dropped. A published project that imports a framework plugin it does not declare ships a stub phantom here; the runtime registers polyglot/helmet/fetch/... itself from the context config, so remove the import instead.`))}let f=t.globalScope;t.globalScope&&p(t.globalScope)&&(t.globalScope=Nt(t.globalScope));let d=(h,_)=>{i==="raw-json"&&ea(h,_)};d(e),d(t,"components"),d(t,"pages"),d(t,"functions"),d(t,"methods"),d(t,"snippets"),d(t,"app"),Gt(t,f),Wt(t);let g=h=>h&&typeof h.select=="function";if(t.fetch?.__resolved&&!g(t.fetch.__resolved)&&delete t.fetch.__resolved,t.db?.__resolved&&!g(t.db.__resolved)&&delete t.db.__resolved,t.polyglot&&!O(t,"polyglot")){t.plugins.push(vo);for(let h in Dt)typeof t.functions[h]!="function"&&(t.functions[h]=Dt[h])}if(t.polyglot&&t.functions&&typeof t.functions.loadTranslations=="function"&&(t.functions.loadTranslations=zi(t.functions.loadTranslations)),O(t,"helmet")||t.plugins.push(to),O(t,"inertOutside")||t.plugins.push(rn),t.fetch){let h=await(s.fetch||A("fetch"));if(h){O(t,"fetch")||t.plugins.push(h.fetchPlugin);let{fetchFunctions:_}=h;for(let b in _)typeof t.functions[b]!="function"&&(t.functions[b]=_[b])}}if(t.designSystem?.typography?.useCapsize!==!1&&!O(t,"capsize")&&(t.plugins.push(qi),t.cssPropsRegistry.useCapsize=Ki),t.shorthand&&!O(t,"shorthand")){let h=await(s.shorthand||A("shorthand"));h&&t.plugins.push(h.shorthandPlugin)}if(t.analyze&&!O(t,"analyze")){let h=await(s.analyze||A("analyze"));if(h){let _=t.analyze===!0?{}:t.analyze;t.analyze=h.createAnalyzeState(_),t.plugins.push(h.analyzePlugin)}}let y=t.sync!==!1&&It(t),w=ra(t)?await(s.sync||A("sync")):null;if(w&&y&&!O(t,"sync")&&t.plugins.push(w.syncPlugin),t.inspect&&!O(t,"inspect")){let h=await(s.inspect||A("inspect"));h&&t.plugins.push(h.inspectPlugin)}w&&ta(t)&&!O(t,"notifications")&&t.plugins.push(w.notificationsPlugin);let m=async h=>{if(t[h]===!1)return;let _=await(s[h]||A(h));if(!_)return;let{components:b,functions:S}=_;for(let E in b)p(t.components[E])||(t.components[E]=b[E]);for(let E in S)typeof t.functions[E]!="function"&&(t.functions[E]=S[E])};return await m("windows"),await m("dropdown"),await m("tooltip"),t},Pt=async(e,t)=>{p(t)||(t={});let r=Ss(t);oa(t);let o=xi(t);if(o&&Oo.set(t,o),r&&(r.lease=_s(t),await z(),!r.lease.live()))return ge(p(e)?e:{});ke(e)?(t.parent=e,e={}):k(e)?(t.key=e,e={}):p(e)?e={...e}:e={};let n=t.window||(typeof window<"u"?window:null),s=ai(t,n);globalThis.__SMBLS_BUILD_DROP_F_prerender__&&s&&ie("prerender");let i=!globalThis.__SMBLS_BUILD_DROP_F_prerender__&&s?li(t):null;if(await na(e,t),t.useReset!==!1){let f=t.document||(typeof document<"u"?document:null);if(f){let d=f.head.querySelector("style[data-smbls]");d||(d=f.createElement("style"),d.setAttribute("data-smbls",""),f.head.appendChild(d));let g=d.sheet;if(g){try{g.insertRule("*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }",0)}catch{}try{g.insertRule("h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }",1)}catch{}}}}if(t.app&&p(t.app))for(let f in t.app)e[f]===void 0&&(e[f]=t.app[f]);e.extends=qs(e,t),t.router!==!1&&(e.routes=t.pages),e.state=t.state,e.context=t,e.data=e.data||{},t.skipDesignSystemInit||await Li({functions:t.functions,utils:t.utils,snippets:t.snippets,...t.files},t);for(let f of t.plugins)if(typeof f.beforeCreate=="function")try{f.beforeCreate(e,t)}catch(d){console.error(`[smbls] plugin "${f.name||"?"}" beforeCreate error:`,d)}let a=t.document;if(!a||!a.createElement)return Lo(t),e;let l=t.parent||a.body,c={verbose:t.verbose,context:t,...t.domqlOptions};if(!globalThis.__SMBLS_BUILD_DROP_F_prerender__&&s){let f=await gi(Me,e,l,t,n,i,c,r);return Ge(f)||(Lo(t),Co(t)),f}let u=r?await ks(e,l,t,c,r):Me(e,l,t.key,c);return u?(Lo(t),Co(t),typeof window<"u"&&!t.document&&(window.__smblsApp=u),u):ge(e)};var mh=(e,t)=>{if(!p(t))return L(e,{});let{state:r,...o}=t;return L(e,o),r!==void 0&&(p(e.state)&&p(r)?re(e.state,r):e.state===void 0&&(e.state=r)),e},xo=(e,t)=>Ks(mh(e===Se?{}:e,t)),yh=e=>{if(typeof document>"u")return;let t=e.themeRoot||e.document&&e.document.documentElement||document.documentElement;if(!t||typeof t.setAttribute!="function")return;let r=e.globalTheme||"auto";try{if(typeof window<"u"&&window.location){let s=new URLSearchParams(window.location.search).get("globalTheme");s&&(r=s)}}catch{}let o=e.themeStorageKey;if(r==="auto"&&o&&typeof localStorage<"u")try{let s=localStorage.getItem(o);s&&(r=s)}catch{}let n=r==="auto"?(()=>{try{return typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}catch{return"light"}})():r;t.setAttribute("data-theme",n),e.globalTheme=r,e.themeRoot=t},_h=()=>{if(typeof document>"u")return null;try{let e=document.querySelector('meta[name="symbols-runtime"]'),t=e&&e.getAttribute("content");return typeof t=="string"&&t?t:null}catch{return null}},sa=e=>{let t=_h();t&&(e.editor||(e.editor={}),e.editor.runtime||(e.editor.runtime=t),t==="runner"&&typeof e.editor.livesync>"u"&&(e.editor.livesync=!0))},ia=(e,t=Se,r)=>{let o=xo(t,r);return sa(o),yh(o),Pt(e,o).then(s=>{if(Ge(s))return s.destroy=()=>ye(s),s;if(Zr(s,o),s.destroy=()=>ye(s),s.navigate=(i,a={})=>{let l=s,c=s.context&&s.context.routerOptions;if(c&&c.customRouterElement){let u=Ve(s,c.customRouterElement);u&&(l=u)}return l.call("router",i,l,a.state||{},{pushState:!0,...a})},s.onCreate&&!s.__ref&&s.onCreate(s,s.state,s.context,o),s.context?.analyze?.activate)try{s.context.analyze.activate(s.context)}catch(i){console.error("[analyze] activate error:",i)}return s}).catch(s=>{throw console.error("[smbls] create error:",s),s})},Xy=(e,t=Se,r)=>{let o=ia(e,t,r),n=xo(t,r),s=n.key;return s&&n.editor&&n.editor.async&&A("fetchOnCreate").then(i=>{i&&i.fetchAsync(o,s,{utils:He,...n})}),o},Zy=async(e,t=Se,r)=>{let o=xo(t,r);sa(o);let n=t.key;if(n&&o.editor){let i=await A("fetchOnCreate");i&&await i.fetchSync(n,o)}let s=await Pt(e,o);return Ge(s)?(s.destroy=()=>ye(s),s):(Zr(s,o),s.destroy=()=>ye(s),s.navigate=(i,a={})=>{let l=s,c=s.context&&s.context.routerOptions;if(c&&c.customRouterElement){let u=Ve(s,c.customRouterElement);u&&(l=u)}return l.call("router",i,l,a.state||{},{pushState:!0,...a})},o.onCreate&&await o.onCreate(s,s.state,s.context,o),s)},Qy=(e={},t=Se,r)=>ia({deps:{isUndefined:x},...e},L({domqlOptions:{onlyResolveExtends:!0}},t),r);Hr(Jo);var aa=Symbol.for("smbls.serverUtils");globalThis.__SMBLS_BUILD_BROWSER_BUNDLE__&&typeof globalThis[aa]!="function"&&(globalThis[aa]=()=>import("./smbls.server-utils.esm.js"));export{mr as a,yr as b,_r as c,Pu as d,Mu as e,Fu as f,$u as g,Nu as h,Bu as i,Uu as j,ju as k,Hu as l,pt as m,Vu as n,ht as o,N as p,gt as q,kr as r,W as s,zu as t,an as u,vr as v,Wu as w,Er as x,ln as y,cn as z,Cr as A,un as B,mt as C,K as D,Sr as E,Rr as F,qu as G,wr as H,Yu as I,Ju as J,dn as K,pn as L,hn as M,gn as N,mn as O,yn as P,q as Q,Zu as R,Qu as S,ef as T,Dr as U,wn as V,kn as W,vn as X,of as Y,Lr as Z,nf as _,Or as $,xr as aa,Ir as ba,Pr as ca,Cn as da,Tr as ea,sf as fa,af as ga,Ln as ha,Tn as ia,An as ja,Dn as ka,lf as la,On as ma,xn as na,In as oa,cf as pa,ff as qa,pf as ra,Pn as sa,hf as ta,gf as ua,Mr as va,B as wa,ce as xa,yt as ya,Fr as za,G as Aa,Mn as Ba,ue as Ca,Be as Da,Ue as Ea,_f as Fa,bf as Ga,Sf as Ha,wf as Ia,kf as Ja,vf as Ka,Ef as La,Cf as Ma,Rf as Na,Lf as Oa,_t as Pa,Tf as Qa,Fn as Ra,Af as Sa,jn as Ta,Hn as Ua,If as Va,Pf as Wa,Gn as Xa,$r as Ya,Mf as Za,Ff as _a,$f as $a,Eg as ab,fe as bb,Hr as cb,Yf as db,Jf as eb,Gr as fb,zr as gb,pe as hb,ps as ib,hs as jb,gs as kb,fm as lb,dm as mb,Eo as nb,Ji as ob,rh as pb,oh as qb,nh as rb,yy as sb,ah as tb,It as ub,Xi as vb,_y as wb,by as xb,ye as yb,be as zb,Kd as Ab,Ws as Bb,ro as Cb,ui as Db,Ye as Eb,yo as Fb,_o as Gb,bo as Hb,qe as Ib,So as Jb,wo as Kb,Wi as Lb,ko as Mb,vo as Nb,Dt as Ob,na as Pb,Pt as Qb,ia as Rb,Xy as Sb,Zy as Tb,Qy as Ub};
36
+ //# sourceMappingURL=smbls.core.chunk-FPRKFQFJ.esm.js.map