@gsa-tts/graymatter-ui 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- (function(z,j){typeof exports=="object"&&typeof module<"u"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(z=typeof globalThis<"u"?globalThis:z||self,j(z.graymatter={}))})(this,function(z){"use strict";var ol=Object.defineProperty;var Xi=z=>{throw TypeError(z)};var al=(z,j,J)=>j in z?ol(z,j,{enumerable:!0,configurable:!0,writable:!0,value:J}):z[j]=J;var le=(z,j,J)=>al(z,typeof j!="symbol"?j+"":j,J),Qi=(z,j,J)=>j.has(z)||Xi("Cannot "+J);var ne=(z,j,J)=>(Qi(z,j,"read from private field"),J?J.call(z):j.get(z)),Qr=(z,j,J)=>j.has(z)?Xi("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(z):j.set(z,J),en=(z,j,J,jt)=>(Qi(z,j,"write to private field"),jt?jt.call(z,J):j.set(z,J),J);var Mi,Re,ge;const j="5";typeof window<"u"&&((Mi=window.__svelte??(window.__svelte={})).v??(Mi.v=new Set)).add(j);const J=1,jt=2,eo=16,to=1,ro=2,tn=4,no=8,io=16,rn=1,oo=2,dr="[",fr="[!",vr="]",ot={},re=Symbol(),ao="http://www.w3.org/1999/xhtml",so="@attach",nn=!1;var Dt=Array.isArray,lo=Array.prototype.indexOf,hr=Array.from,Ht=Object.keys,wt=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,on=Object.getOwnPropertyDescriptors,uo=Object.prototype,co=Array.prototype,br=Object.getPrototypeOf,an=Object.isExtensible;function _t(e){return typeof e=="function"}const ue=()=>{};function fo(e){return e()}function kt(e){for(var t=0;t<e.length;t++)e[t]()}const ce=2,pr=4,yt=8,gr=16,Oe=32,Xe=64,mr=128,ie=256,Vt=512,oe=1024,qe=2048,Fe=4096,Pe=8192,wr=16384,sn=32768,xt=65536,ln=1<<17,vo=1<<18,un=1<<19,_r=1<<20,kr=1<<21,Ce=Symbol("$state"),yr=Symbol("legacy props"),ho=Symbol(""),cn=new class extends Error{constructor(){super(...arguments);le(this,"name","StaleReactionError");le(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},dn=3,Et=8;function fn(e){return e===this.v}function vn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function hn(e){return!vn(e,this.v)}function bo(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function po(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function go(e){throw new Error("https://svelte.dev/e/effect_orphan")}function mo(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wo(){throw new Error("https://svelte.dev/e/hydration_failed")}function _o(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ko(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function yo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let at=!1,Eo=!1;function Co(){at=!0}function So(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let D=null;function bn(e){D=e}function Y(e,t=!1,r){var n=D={p:D,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};at&&!t&&(D.l={s:null,u:null,r1:[],r2:ut(!1)}),Yt(()=>{n.d=!0})}function Z(e){const t=D;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var r=O,n=U;t.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];Ze(o.effect),Ne(o.reaction),Tn(o.fn)}}finally{Ze(r),Ne(n)}}D=t.p,t.m=!0}return e||{}}function Rt(){return!at||D!==null&&D.l===null}function st(e){if(typeof e!="object"||e===null||Ce in e)return e;const t=br(e);if(t!==uo&&t!==co)return e;var r=new Map,n=Dt(e),i=we(0),o=U,s=a=>{var l=U;Ne(o);var u=a();return Ne(l),u};return n&&r.set("length",we(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ko();var d=r.get(l);return d===void 0?d=s(()=>{var f=we(u.value);return r.set(l,f),f}):q(d,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const c=s(()=>we(re));r.set(l,c),xr(i)}}else{if(n&&typeof l=="string"){var d=r.get("length"),f=Number(l);Number.isInteger(f)&&f<d.v&&q(d,f)}q(u,re),xr(i)}return!0},get(a,l,u){var v;if(l===Ce)return e;var d=r.get(l),f=l in a;if(d===void 0&&(!f||(v=Ae(a,l))!=null&&v.writable)&&(d=s(()=>{var b=st(f?a[l]:re),g=we(b);return g}),r.set(l,d)),d!==void 0){var c=E(d);return c===re?void 0:c}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var d=r.get(l);d&&(u.value=E(d))}else if(u===void 0){var f=r.get(l),c=f==null?void 0:f.v;if(f!==void 0&&c!==re)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(a,l){var c;if(l===Ce)return!0;var u=r.get(l),d=u!==void 0&&u.v!==re||Reflect.has(a,l);if(u!==void 0||O!==null&&(!d||(c=Ae(a,l))!=null&&c.writable)){u===void 0&&(u=s(()=>{var v=d?st(a[l]):re,b=we(v);return b}),r.set(l,u));var f=E(u);if(f===re)return!1}return d},set(a,l,u,d){var p;var f=r.get(l),c=l in a;if(n&&l==="length")for(var v=u;v<f.v;v+=1){var b=r.get(v+"");b!==void 0?q(b,re):v in a&&(b=s(()=>we(re)),r.set(v+"",b))}if(f===void 0)(!c||(p=Ae(a,l))!=null&&p.writable)&&(f=s(()=>we(void 0)),q(f,st(u)),r.set(l,f));else{c=f.v!==re;var g=s(()=>st(u));q(f,g)}var y=Reflect.getOwnPropertyDescriptor(a,l);if(y!=null&&y.set&&y.set.call(d,u),!c){if(n&&typeof l=="string"){var m=r.get("length"),h=Number(l);Number.isInteger(h)&&h>=m.v&&q(m,h+1)}xr(i)}return!0},ownKeys(a){E(i);var l=Reflect.ownKeys(a).filter(f=>{var c=r.get(f);return c===void 0||c.v!==re});for(var[u,d]of r)d.v!==re&&!(u in a)&&l.push(u);return l},setPrototypeOf(){yo()}})}function xr(e,t=1){q(e,e.v+t)}function pn(e){try{if(e!==null&&typeof e=="object"&&Ce in e)return e[Ce]}catch{}return e}function $o(e,t){return Object.is(pn(e),pn(t))}function lt(e){var t=ce|qe,r=U!==null&&(U.f&ce)!==0?U:null;return O===null||r!==null&&(r.f&ie)!==0?t|=ie:O.f|=un,{ctx:D,deps:null,effects:null,equals:fn,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??O,ac:null}}function G(e){const t=lt(e);return jn(t),t}function Bt(e){const t=lt(e);return t.equals=hn,t}function gn(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ae(t[r])}}function No(e){for(var t=e.parent;t!==null;){if((t.f&ce)===0)return t;t=t.parent}return null}function mn(e){var t,r=O;Ze(No(e));try{gn(e),t=Vn(e)}finally{Ze(r)}return t}function wn(e){var t=mn(e);if(e.equals(t)||(e.v=t,e.wv=Dn()),!vt){var r=(Je||(e.f&ie)!==0)&&e.deps!==null?Fe:oe;ye(e,r)}}const Ct=new Map;function ut(e,t){var r={f:0,v:e,reactions:null,equals:fn,rv:0,wv:0};return r}function we(e,t){const r=ut(e);return jn(r),r}function St(e,t=!1,r=!0){var i;const n=ut(e);return t||(n.equals=hn),at&&r&&D!==null&&D.l!==null&&((i=D.l).s??(i.s=[])).push(n),n}function q(e,t,r=!1){U!==null&&(!$e||(U.f&ln)!==0)&&Rt()&&(U.f&(ce|gr|ln))!==0&&!((R==null?void 0:R.reaction)===U&&R.sources.includes(e))&&xo();let n=r?st(t):t;return _n(e,n)}function _n(e,t){if(!e.equals(t)){var r=e.v;vt?Ct.set(e,t):Ct.set(e,r),e.v=t,(e.f&ce)!==0&&((e.f&qe)!==0&&mn(e),ye(e,(e.f&ie)===0?oe:Fe)),e.wv=Dn(),yn(e,qe),Rt()&&O!==null&&(O.f&oe)!==0&&(O.f&(Oe|Xe))===0&&(fe===null?Ho([e]):fe.push(e))}return t}function kn(e,t=1){var r=E(e),n=t===1?r++:r--;return q(e,r),n}function yn(e,t){var r=e.reactions;if(r!==null)for(var n=Rt(),i=r.length,o=0;o<i;o++){var s=r[o],a=s.f;(a&qe)===0&&(!n&&s===O||(ye(s,t),(a&(oe|ie))!==0&&((a&ce)!==0?yn(s,Fe):er(s))))}}function Ft(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Io(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let M=!1;function _e(e){M=e}let A;function ke(e){if(e===null)throw Ft(),ot;return A=e}function ct(){return ke(je(A))}function C(e){if(M){if(je(A)!==null)throw Ft(),ot;A=e}}function Se(e=1){if(M){for(var t=e,r=A;t--;)r=je(r);A=r}}function Er(){for(var e=0,t=A;;){if(t.nodeType===Et){var r=t.data;if(r===vr){if(e===0)return t;e-=1}else(r===dr||r===fr)&&(e+=1)}var n=je(t);t.remove(),t=n}}function xn(e){if(!e||e.nodeType!==Et)throw Ft(),ot;return e.data}var En,Cn,Sn,$n;function Cr(){if(En===void 0){En=window,Cn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Sn=Ae(t,"firstChild").get,$n=Ae(t,"nextSibling").get,an(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),an(r)&&(r.__t=void 0)}}function dt(e=""){return document.createTextNode(e)}function de(e){return Sn.call(e)}function je(e){return $n.call(e)}function S(e,t){if(!M)return de(e);var r=de(A);if(r===null)r=A.appendChild(dt());else if(t&&r.nodeType!==dn){var n=dt();return r==null||r.before(n),ke(n),n}return ke(r),r}function Ye(e,t){if(!M){var r=de(e);return r instanceof Comment&&r.data===""?je(r):r}return A}function X(e,t=1,r=!1){let n=M?A:e;for(var i;t--;)i=n,n=je(n);if(!M)return n;if(r&&(n==null?void 0:n.nodeType)!==dn){var o=dt();return n===null?i==null||i.after(o):n.before(o),ke(o),o}return ke(n),n}function Nn(e){e.textContent=""}function In(e){O===null&&U===null&&go(),U!==null&&(U.f&ie)!==0&&O===null&&po(),vt&&bo()}function To(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function De(e,t,r,n=!0){var i=O,o={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:e|qe,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Qt(o),o.f|=sn}catch(l){throw ae(o),l}else t!==null&&er(o);var s=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(un|mr))===0;if(!s&&n&&(i!==null&&To(o,i),U!==null&&(U.f&ce)!==0)){var a=U;(a.effects??(a.effects=[])).push(o)}return o}function Yt(e){const t=De(yt,null,!1);return ye(t,oe),t.teardown=e,t}function Sr(e){In();var t=O!==null&&(O.f&Oe)!==0&&D!==null&&!D.m;if(t){var r=D;(r.e??(r.e=[])).push({fn:e,effect:O,reaction:U})}else return Tn(e)}function Tn(e){return De(pr|kr,e,!1)}function zo(e){return In(),De(yt|kr,e,!0)}function Mo(e){const t=De(Xe,e,!0);return()=>{ae(t)}}function Lo(e){const t=De(Xe,e,!0);return(r={})=>new Promise(n=>{r.outro?$t(t,()=>{ae(t),n(void 0)}):(ae(t),n(void 0))})}function $r(e){return De(pr,e,!1)}function Uo(e,t){var r=D,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=Zt(()=>{e(),!n.ran&&(n.ran=!0,q(r.l.r2,!0),ht(t))})}function Ao(){var e=D;Zt(()=>{if(E(e.l.r2)){for(var t of e.l.r1){var r=t.effect;(r.f&oe)!==0&&ye(r,Fe),Mt(r)&&Qt(r),t.ran=!1}e.l.r2.v=!1}})}function Zt(e){return De(yt,e,!0)}function ft(e,t=[],r=lt){const n=t.map(r);return Qe(()=>e(...n.map(E)))}function Qe(e,t=0){var r=De(yt|gr|t,e,!0);return r}function He(e,t=!0){return De(yt|Oe,e,!0,t)}function zn(e){var t=e.teardown;if(t!==null){const r=vt,n=U;Pn(!0),Ne(null);try{t.call(null)}finally{Pn(r),Ne(n)}}}function Mn(e,t=!1){var i;var r=e.first;for(e.first=e.last=null;r!==null;){(i=r.ac)==null||i.abort(cn);var n=r.next;(r.f&Xe)!==0?r.parent=null:ae(r,t),r=n}}function Oo(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Oe)===0&&ae(t),t=r}}function ae(e,t=!0){var r=!1;(t||(e.f&vo)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(qo(e.nodes_start,e.nodes_end),r=!0),Mn(e,t&&!r),Xt(e,0),ye(e,wr);var n=e.transitions;if(n!==null)for(const o of n)o.stop();zn(e);var i=e.parent;i!==null&&i.first!==null&&Ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function qo(e,t){for(;e!==null;){var r=e===t?null:je(e);e.remove(),e=r}}function Ln(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function $t(e,t){var r=[];Nr(e,r,!0),Un(r,()=>{ae(e),t&&t()})}function Un(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Nr(e,t,r){if((e.f&Pe)===0){if(e.f^=Pe,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var i=n.next,o=(n.f&xt)!==0||(n.f&Oe)!==0;Nr(n,t,o?r:!1),n=i}}}function Jt(e){An(e,!0)}function An(e,t){if((e.f&Pe)!==0){e.f^=Pe;for(var r=e.first;r!==null;){var n=r.next,i=(r.f&xt)!==0||(r.f&Oe)!==0;An(r,i?t:!1),r=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let Nt=[],Ir=[];function On(){var e=Nt;Nt=[],kt(e)}function Po(){var e=Ir;Ir=[],kt(e)}function Wt(e){Nt.length===0&&queueMicrotask(On),Nt.push(e)}function jo(){Nt.length>0&&On(),Ir.length>0&&Po()}function Do(e){var t=O;if((t.f&sn)===0){if((t.f&mr)===0)throw e;t.fn(e)}else qn(e,t)}function qn(e,t){for(;t!==null;){if((t.f&mr)!==0)try{t.b.error(e);return}catch{}t=t.parent}throw e}let It=!1,Tt=null,et=!1,vt=!1;function Pn(e){vt=e}let zt=[],sl=[],U=null,$e=!1;function Ne(e){U=e}let O=null;function Ze(e){O=e}let R=null;function jn(e){U!==null&&U.f&_r&&(R===null?R={reaction:U,sources:[e]}:R.sources.push(e))}let Q=null,se=0,fe=null;function Ho(e){fe=e}let Kt=1,Gt=0,Je=!1;function Dn(){return++Kt}function Mt(e){var f;var t=e.f;if((t&qe)!==0)return!0;if((t&Fe)!==0){var r=e.deps,n=(t&ie)!==0;if(r!==null){var i,o,s=(t&Vt)!==0,a=n&&O!==null&&!Je,l=r.length;if(s||a){var u=e,d=u.parent;for(i=0;i<l;i++)o=r[i],(s||!((f=o==null?void 0:o.reactions)!=null&&f.includes(u)))&&(o.reactions??(o.reactions=[])).push(u);s&&(u.f^=Vt),a&&d!==null&&(d.f&ie)===0&&(u.f^=ie)}for(i=0;i<l;i++)if(o=r[i],Mt(o)&&wn(o),o.wv>e.wv)return!0}(!n||O!==null&&!Je)&&ye(e,oe)}return!1}function Hn(e,t,r=!0){var n=e.reactions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];(R==null?void 0:R.reaction)===U&&R.sources.includes(e)||((o.f&ce)!==0?Hn(o,t,!1):t===o&&(r?ye(o,qe):(o.f&oe)!==0&&ye(o,Fe),er(o)))}}function Vn(e){var v;var t=Q,r=se,n=fe,i=U,o=Je,s=R,a=D,l=$e,u=e.f;Q=null,se=0,fe=null,Je=(u&ie)!==0&&($e||!et||U===null),U=(u&(Oe|Xe))===0?e:null,R=null,bn(e.ctx),$e=!1,Gt++,e.f|=_r,e.ac!==null&&(e.ac.abort(cn),e.ac=null);try{var d=(0,e.fn)(),f=e.deps;if(Q!==null){var c;if(Xt(e,se),f!==null&&se>0)for(f.length=se+Q.length,c=0;c<Q.length;c++)f[se+c]=Q[c];else e.deps=f=Q;if(!Je||(u&ce)!==0&&e.reactions!==null)for(c=se;c<f.length;c++)((v=f[c]).reactions??(v.reactions=[])).push(e)}else f!==null&&se<f.length&&(Xt(e,se),f.length=se);if(Rt()&&fe!==null&&!$e&&f!==null&&(e.f&(ce|Fe|qe))===0)for(c=0;c<fe.length;c++)Hn(fe[c],e);return i!==null&&i!==e&&(Gt++,fe!==null&&(n===null?n=fe:n.push(...fe))),d}catch(b){Do(b)}finally{Q=t,se=r,fe=n,U=i,Je=o,R=s,bn(a),$e=l,e.f^=_r}}function Vo(e,t){let r=t.reactions;if(r!==null){var n=lo.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&ce)!==0&&(Q===null||!Q.includes(t))&&(ye(t,Fe),(t.f&(ie|Vt))===0&&(t.f^=Vt),gn(t),Xt(t,0))}function Xt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Vo(e,r[n])}function Qt(e){var t=e.f;if((t&wr)===0){ye(e,oe);var r=O,n=et;O=e,et=!0;try{(t&gr)!==0?Oo(e):Mn(e),zn(e);var i=Vn(e);e.teardown=typeof i=="function"?i:null,e.wv=Kt;var o;nn&&Eo&&(e.f&qe)!==0&&e.deps}finally{et=n,O=r}}}function Ro(){try{mo()}catch(e){if(Tt!==null)qn(e,Tt);else throw e}}function Rn(){var e=et;try{var t=0;for(et=!0;zt.length>0;){t++>1e3&&Ro();var r=zt,n=r.length;zt=[];for(var i=0;i<n;i++){var o=Fo(r[i]);Bo(o)}Ct.clear()}}finally{It=!1,et=e,Tt=null}}function Bo(e){var t=e.length;if(t!==0){for(var r=0;r<t;r++){var n=e[r];if((n.f&(wr|Pe))===0&&Mt(n)){var i=Kt;if(Qt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Ln(n):n.fn=null),Kt>i&&(n.f&kr)!==0)break}}for(;r<t;r+=1)er(e[r])}}function er(e){It||(It=!0,queueMicrotask(Rn));for(var t=Tt=e;t.parent!==null;){t=t.parent;var r=t.f;if((r&(Xe|Oe))!==0){if((r&oe)===0)return;t.f^=oe}}zt.push(t)}function Fo(e){for(var t=[],r=e;r!==null;){var n=r.f,i=(n&(Oe|Xe))!==0,o=i&&(n&oe)!==0;if(!o&&(n&Pe)===0){(n&pr)!==0?t.push(r):i?r.f^=oe:Mt(r)&&Qt(r);var s=r.first;if(s!==null){r=s;continue}}var a=r.parent;for(r=r.next;r===null&&a!==null;)r=a.next,a=a.parent}return t}function _(e){for(var t;;){if(jo(),zt.length===0)return It=!1,Tt=null,t;It=!0,Rn()}}function E(e){var t=e.f,r=(t&ce)!==0;if(U!==null&&!$e){if((R==null?void 0:R.reaction)!==U||!(R!=null&&R.sources.includes(e))){var n=U.deps;e.rv<Gt&&(e.rv=Gt,Q===null&&n!==null&&n[se]===e?se++:Q===null?Q=[e]:(!Je||!Q.includes(e))&&Q.push(e))}}else if(r&&e.deps===null&&e.effects===null){var i=e,o=i.parent;o!==null&&(o.f&ie)===0&&(i.f^=ie)}return r&&(i=e,Mt(i)&&wn(i)),vt&&Ct.has(e)?Ct.get(e):e.v}function ht(e){var t=$e;try{return $e=!0,e()}finally{$e=t}}const Yo=-7169;function ye(e,t){e.f=e.f&Yo|t}function Bn(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(Ce in e)Tr(e);else if(!Array.isArray(e))for(let t in e){const r=e[t];typeof r=="object"&&r&&Ce in r&&Tr(r)}}}function Tr(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Tr(e[n],t)}catch{}const r=br(e);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=on(r);for(let i in n){const o=n[i].get;if(o)try{o.call(e)}catch{}}}}}function Zo(e,t){if(t){const r=document.body;e.autofocus=!0,Wt(()=>{document.activeElement===r&&e.focus()})}}function Jo(e){var t=U,r=O;Ne(null),Ze(null);try{return e()}finally{Ne(t),Ze(r)}}const Fn=new Set,zr=new Set;function Yn(e,t,r,n={}){function i(o){if(n.capture||Lt.call(t,o),!o.cancelBubble)return Jo(()=>r==null?void 0:r.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Wt(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function W(e,t,r,n,i){var o={capture:n,passive:i},s=Yn(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Yt(()=>{t.removeEventListener(e,s,o)})}function Mr(e){for(var t=0;t<e.length;t++)Fn.add(e[t]);for(var r of zr)r(e)}function Lt(e){var h;var t=this,r=t.ownerDocument,n=e.type,i=((h=e.composedPath)==null?void 0:h.call(e))||[],o=i[0]||e.target,s=0,a=e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(o=i[s]||e.target,o!==t){wt(e,"currentTarget",{configurable:!0,get(){return o||r}});var d=U,f=O;Ne(null),Ze(null);try{for(var c,v=[];o!==null;){var b=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+n];if(g!=null&&(!o.disabled||e.target===o))if(Dt(g)){var[y,...m]=g;y.apply(o,[e,...m])}else g.call(o,e)}catch(p){c?v.push(p):c=p}if(e.cancelBubble||b===t||b===null)break;o=b}if(c){for(let p of v)queueMicrotask(()=>{throw p});throw c}}finally{e.__root=t,delete e.currentTarget,Ne(d),Ze(f)}}}function Zn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ve(e,t){var r=O;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ve(e,t){var r=(t&rn)!==0,n=(t&oo)!==0,i,o=!e.startsWith("<!>");return()=>{if(M)return Ve(A,null),A;i===void 0&&(i=Zn(o?e:"<!>"+e),r||(i=de(i)));var s=n||Cn?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=de(s),l=s.lastChild;Ve(a,l)}else Ve(s,s);return s}}function Wo(e,t,r="svg"){var n=!e.startsWith("<!>"),i=(t&rn)!==0,o=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(M)return Ve(A,null),A;if(!s){var a=Zn(o),l=de(a);if(i)for(s=document.createDocumentFragment();de(l);)s.appendChild(de(l));else s=de(l)}var u=s.cloneNode(!0);if(i){var d=de(u),f=u.lastChild;Ve(d,f)}else Ve(u,u);return u}}function H(e,t){return Wo(e,t,"svg")}function Ut(){if(M)return Ve(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),r=dt();return e.append(t,r),Ve(t,r),e}function I(e,t){if(M){O.nodes_end=A,ct();return}e!==null&&e.before(t)}function Ko(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Go=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Xo(e){return Go.includes(e)}const Qo={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ea(e){return e=e.toLowerCase(),Qo[e]??e}const ta=["touchstart","touchmove"];function ra(e){return ta.includes(e)}function Lr(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=r+"")}function Jn(e,t){return Wn(e,t)}function na(e,t){Cr(),t.intro=t.intro??!1;const r=t.target,n=M,i=A;try{for(var o=de(r);o&&(o.nodeType!==Et||o.data!==dr);)o=je(o);if(!o)throw ot;_e(!0),ke(o),ct();const s=Wn(e,{...t,anchor:o});if(A===null||A.nodeType!==Et||A.data!==vr)throw Ft(),ot;return _e(!1),s}catch(s){if(s===ot)return t.recover===!1&&wo(),Cr(),Nn(r),_e(!1),Jn(e,t);throw s}finally{_e(n),ke(i)}}const bt=new Map;function Wn(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:s=!0}){Cr();var a=new Set,l=f=>{for(var c=0;c<f.length;c++){var v=f[c];if(!a.has(v)){a.add(v);var b=ra(v);t.addEventListener(v,Lt,{passive:b});var g=bt.get(v);g===void 0?(document.addEventListener(v,Lt,{passive:b}),bt.set(v,1)):bt.set(v,g+1)}}};l(hr(Fn)),zr.add(l);var u=void 0,d=Lo(()=>{var f=r??t.appendChild(dt());return He(()=>{if(o){Y({});var c=D;c.c=o}i&&(n.$$events=i),M&&Ve(f,null),u=e(f,n)||{},M&&(O.nodes_end=A),o&&Z()}),()=>{var b;for(var c of a){t.removeEventListener(c,Lt);var v=bt.get(c);--v===0?(document.removeEventListener(c,Lt),bt.delete(c)):bt.set(c,v)}zr.delete(l),f!==r&&((b=f.parentNode)==null||b.removeChild(f))}});return Ur.set(u,d),u}let Ur=new WeakMap;function ia(e,t){const r=Ur.get(e);return r?(Ur.delete(e),r(t)):Promise.resolve()}function Ar(e,t,...r){var n=e,i=ue,o;Qe(()=>{i!==(i=t())&&(o&&(ae(o),o=null),o=He(()=>i(n,...r)))},xt),M&&(n=A)}function tr(e){D===null&&So(),at&&D.l!==null?oa(D).m.push(e):Sr(()=>{const t=ht(e);if(typeof t=="function")return t})}function oa(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function he(e,t,[r,n]=[0,0]){M&&r===0&&ct();var i=e,o=null,s=null,a=re,l=r>0?xt:0,u=!1;const d=(c,v=!0)=>{u=!0,f(v,c)},f=(c,v)=>{if(a===(a=c))return;let b=!1;if(M&&n!==-1){if(r===0){const y=xn(i);y===dr?n=0:y===fr?n=1/0:(n=parseInt(y.substring(1)),n!==n&&(n=a?1/0:-1))}const g=n>r;!!a===g&&(i=Er(),ke(i),_e(!1),b=!0,n=-1)}a?(o?Jt(o):v&&(o=He(()=>v(i))),s&&$t(s,()=>{s=null})):(s?Jt(s):v&&(s=He(()=>v(i,[r+1,n]))),o&&$t(o,()=>{o=null})),b&&_e(!0)};Qe(()=>{u=!1,t(d),u||f(null,null)},l),M&&(i=A)}function aa(e,t){return t}function sa(e,t,r,n){for(var i=[],o=t.length,s=0;s<o;s++)Nr(t[s].e,i,!0);var a=o>0&&i.length===0&&r!==null;if(a){var l=r.parentNode;Nn(l),l.append(r),n.clear(),We(e,t[0].prev,t[o-1].next)}Un(i,()=>{for(var u=0;u<o;u++){var d=t[u];a||(n.delete(d.k),We(e,d.prev,d.next)),ae(d.e,!a)}})}function la(e,t,r,n,i,o=null){var s=e,a={flags:t,items:new Map,first:null};{var l=e;s=M?ke(de(l)):l.appendChild(dt())}M&&ct();var u=null,d=!1,f=Bt(()=>{var c=r();return Dt(c)?c:c==null?[]:hr(c)});Qe(()=>{var c=E(f),v=c.length;if(d&&v===0)return;d=v===0;let b=!1;if(M){var g=xn(s)===fr;g!==(v===0)&&(s=Er(),ke(s),_e(!1),b=!0)}if(M){for(var y=null,m,h=0;h<v;h++){if(A.nodeType===Et&&A.data===vr){s=A,b=!0,_e(!1);break}var p=c[h],w=n(p,h);m=Kn(A,a,y,null,p,w,h,i,t,r),a.items.set(w,m),y=m}v>0&&ke(Er())}M||ua(c,a,s,i,t,n,r),o!==null&&(v===0?u?Jt(u):u=He(()=>o(s)):u!==null&&$t(u,()=>{u=null})),b&&_e(!0),E(f)}),M&&(s=A)}function ua(e,t,r,n,i,o,s){var a=e.length,l=t.items,u=t.first,d=u,f,c=null,v=[],b=[],g,y,m,h;for(h=0;h<a;h+=1){if(g=e[h],y=o(g,h),m=l.get(y),m===void 0){var p=d?d.e.nodes_start:r;c=Kn(p,t,c,c===null?t.first:c.next,g,y,h,n,i,s),l.set(y,c),v=[],b=[],d=c.next;continue}if(ca(m,g,h),(m.e.f&Pe)!==0&&Jt(m.e),m!==d){if(f!==void 0&&f.has(m)){if(v.length<b.length){var w=b[0],x;c=w.prev;var L=v[0],$=v[v.length-1];for(x=0;x<v.length;x+=1)Gn(v[x],w,r);for(x=0;x<b.length;x+=1)f.delete(b[x]);We(t,L.prev,$.next),We(t,c,L),We(t,$,w),d=w,c=$,h-=1,v=[],b=[]}else f.delete(m),Gn(m,d,r),We(t,m.prev,m.next),We(t,m,c===null?t.first:c.next),We(t,c,m),c=m;continue}for(v=[],b=[];d!==null&&d.k!==y;)(d.e.f&Pe)===0&&(f??(f=new Set)).add(d),b.push(d),d=d.next;if(d===null)continue;m=d}v.push(m),c=m,d=m.next}if(d!==null||f!==void 0){for(var T=f===void 0?[]:hr(f);d!==null;)(d.e.f&Pe)===0&&T.push(d),d=d.next;var P=T.length;if(P>0){var F=a===0?r:null;sa(t,T,F,l)}}O.first=t.first&&t.first.e,O.last=c&&c.e}function ca(e,t,r,n){_n(e.v,t),e.i=r}function Kn(e,t,r,n,i,o,s,a,l,u){var d=(l&J)!==0,f=(l&eo)===0,c=d?f?St(i,!1,!1):ut(i):i,v=(l&jt)===0?s:ut(s),b={i:v,v:c,k:o,a:null,e:null,prev:r,next:n};try{return b.e=He(()=>a(e,c,v,u),M),b.e.prev=r&&r.e,b.e.next=n&&n.e,r===null?t.first=b:(r.next=b,r.e.next=b.e),n!==null&&(n.prev=b,n.e.prev=b.e),b}finally{}}function Gn(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,o=e.e.nodes_start;o!==n;){var s=je(o);i.before(o),o=s}}function We(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function rr(e,t,r,n,i){var a;M&&ct();var o=(a=t.$$slots)==null?void 0:a[r],s=!1;o===!0&&(o=t.children,s=!0),o===void 0||o(e,s?()=>n:n)}function da(e,t,r){M&&ct();var n=e,i,o;Qe(()=>{i!==(i=t())&&(o&&($t(o),o=null),i&&(o=He(()=>r(n,i))))},xt),M&&(n=A)}function pt(e,t){Wt(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function fa(e,t){var r=void 0,n;Qe(()=>{r!==(r=t())&&(n&&(ae(n),n=null),r&&(n=He(()=>{$r(()=>r(e))})))})}function Xn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Xn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function va(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Xn(e))&&(n&&(n+=" "),n+=t);return n}function ha(e){return typeof e=="object"?va(e):e??""}const Qn=[...`
2
- \r\f \v\uFEFF`];function ba(e,t,r){var n=e==null?"":""+e;if(t&&(n=n?n+" "+t:t),r){for(var i in r)if(r[i])n=n?n+" "+i:i;else if(n.length)for(var o=i.length,s=0;(s=n.indexOf(i,s))>=0;){var a=s+o;(s===0||Qn.includes(n[s-1]))&&(a===n.length||Qn.includes(n[a]))?n=(s===0?"":n.substring(0,s))+n.substring(a+1):s=a}}return n===""?null:n}function ei(e,t=!1){var r=t?" !important;":";",n="";for(var i in e){var o=e[i];o!=null&&o!==""&&(n+=" "+i+": "+o+r)}return n}function Or(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function pa(e,t){if(t){var r="",n,i;if(Array.isArray(t)?(n=t[0],i=t[1]):n=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,s=0,a=!1,l=[];n&&l.push(...Object.keys(n).map(Or)),i&&l.push(...Object.keys(i).map(Or));var u=0,d=-1;const g=e.length;for(var f=0;f<g;f++){var c=e[f];if(a?c==="/"&&e[f-1]==="*"&&(a=!1):o?o===c&&(o=!1):c==="/"&&e[f+1]==="*"?a=!0:c==='"'||c==="'"?o=c:c==="("?s++:c===")"&&s--,!a&&o===!1&&s===0){if(c===":"&&d===-1)d=f;else if(c===";"||f===g-1){if(d!==-1){var v=Or(e.substring(u,d).trim());if(!l.includes(v)){c!==";"&&f++;var b=e.substring(u,f).trim();r+=" "+b+";"}}u=f+1,d=-1}}}}return n&&(r+=ei(n)),i&&(r+=ei(i,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function be(e,t,r,n,i,o){var s=e.__className;if(M||s!==r||s===void 0){var a=ba(r,n,o);(!M||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e.__className=r}else if(o&&i!==o)for(var l in o){var u=!!o[l];(i==null||u!==!!i[l])&&e.classList.toggle(l,u)}return o}function qr(e,t={},r,n){for(var i in r){var o=r[i];t[i]!==o&&(r[i]==null?e.style.removeProperty(i):e.style.setProperty(i,o,n))}}function ga(e,t,r,n){var i=e.__style;if(M||i!==t){var o=pa(t,n);(!M||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else n&&(Array.isArray(n)?(qr(e,r==null?void 0:r[0],n[0]),qr(e,r==null?void 0:r[1],n[1],"important")):qr(e,r,n));return n}function Pr(e,t,r=!1){if(e.multiple){if(t==null)return;if(!Dt(t))return Io();for(var n of e.options)n.selected=t.includes(ti(n));return}for(n of e.options){var i=ti(n);if($o(i,t)){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function ma(e){var t=new MutationObserver(()=>{Pr(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Yt(()=>{t.disconnect()})}function ti(e){return"__value"in e?e.__value:e.value}const gt=Symbol("class"),At=Symbol("style"),ri=Symbol("is custom element"),ni=Symbol("is html");function wa(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function ee(e,t,r,n){var i=ii(e);M&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[ho]=r),r==null?e.removeAttribute(t):typeof r!="string"&&ai(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function _a(e,t,r,n,i=!1){var o=ii(e),s=o[ri],a=!o[ni];let l=M&&s;l&&_e(!1);var u=t||{},d=e.tagName==="OPTION";for(var f in t)f in r||(r[f]=null);r.class?r.class=ha(r.class):(n||r[gt])&&(r.class=null),r[At]&&(r.style??(r.style=null));var c=ai(e);for(const p in r){let w=r[p];if(d&&p==="value"&&w==null){e.value=e.__value="",u[p]=w;continue}if(p==="class"){var v=e.namespaceURI==="http://www.w3.org/1999/xhtml";be(e,v,w,n,t==null?void 0:t[gt],r[gt]),u[p]=w,u[gt]=r[gt];continue}if(p==="style"){ga(e,w,t==null?void 0:t[At],r[At]),u[p]=w,u[At]=r[At];continue}var b=u[p];if(!(w===b&&!(w===void 0&&e.hasAttribute(p)))){u[p]=w;var g=p[0]+p[1];if(g!=="$$")if(g==="on"){const x={},L="$$"+p;let $=p.slice(2);var y=Xo($);if(Ko($)&&($=$.slice(0,-7),x.capture=!0),!y&&b){if(w!=null)continue;e.removeEventListener($,u[L],x),u[L]=null}if(w!=null)if(y)e[`__${$}`]=w,Mr([$]);else{let T=function(P){u[p].call(this,P)};u[L]=Yn($,e,T,x)}else y&&(e[`__${$}`]=void 0)}else if(p==="style")ee(e,p,w);else if(p==="autofocus")Zo(e,!!w);else if(!s&&(p==="__value"||p==="value"&&w!=null))e.value=e.__value=w;else if(p==="selected"&&d)wa(e,w);else{var m=p;a||(m=ea(m));var h=m==="defaultValue"||m==="defaultChecked";if(w==null&&!s&&!h)if(o[p]=null,m==="value"||m==="checked"){let x=e;const L=t===void 0;if(m==="value"){let $=x.defaultValue;x.removeAttribute(m),x.defaultValue=$,x.value=x.__value=L?$:null}else{let $=x.defaultChecked;x.removeAttribute(m),x.defaultChecked=$,x.checked=L?$:!1}}else e.removeAttribute(p);else h||c.includes(m)&&(s||typeof w!="string")?e[m]=w:typeof w!="function"&&ee(e,m,w)}}}return l&&_e(!0),u}function nr(e,t,r=[],n,i=!1,o=lt){const s=r.map(o);var a=void 0,l={},u=e.nodeName==="SELECT",d=!1;if(Qe(()=>{var c=t(...s.map(E)),v=_a(e,a,c,n,i);d&&u&&"value"in c&&Pr(e,c.value);for(let g of Object.getOwnPropertySymbols(l))c[g]||ae(l[g]);for(let g of Object.getOwnPropertySymbols(c)){var b=c[g];g.description===so&&(!a||b!==a[g])&&(l[g]&&ae(l[g]),l[g]=He(()=>fa(e,()=>b))),v[g]=b}a=v}),u){var f=e;$r(()=>{Pr(f,a.value,!0),ma(f)})}d=!0}function ii(e){return e.__attributes??(e.__attributes={[ri]:e.nodeName.includes("-"),[ni]:e.namespaceURI===ao})}var oi=new Map;function ai(e){var t=oi.get(e.nodeName);if(t)return t;oi.set(e.nodeName,t=[]);for(var r,n=e,i=Element.prototype;i!==n;){r=on(n);for(var o in r)r[o].set&&t.push(o);n=br(n)}return t}function si(e,t){return e===t||(e==null?void 0:e[Ce])===t}function li(e={},t,r,n){return $r(()=>{var i,o;return Zt(()=>{i=o,o=[],ht(()=>{e!==r(...o)&&(t(e,...o),i&&si(r(...i),e)&&t(null,...i))})}),()=>{Wt(()=>{o&&si(r(...o),e)&&t(null,...o)})}}),e}function ui(e=!1){const t=D,r=t.l.u;if(!r)return;let n=()=>Bn(t.s);if(e){let i=0,o={};const s=lt(()=>{let a=!1;const l=t.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],a=!0);return a&&i++,i});n=()=>E(s)}r.b.length&&zo(()=>{ci(t,n),kt(r.b)}),Sr(()=>{const i=ht(()=>r.m.map(fo));return()=>{for(const o of i)typeof o=="function"&&o()}}),r.a.length&&Sr(()=>{ci(t,n),kt(r.a)})}function ci(e,t){if(e.l.s)for(const r of e.l.s)E(r);t()}function jr(e,t,r){if(e==null)return t(void 0),r&&r(void 0),ue;const n=ht(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const mt=[];function ka(e,t){return{subscribe:ir(e,t).subscribe}}function ir(e,t=ue){let r=null;const n=new Set;function i(a){if(vn(e,a)&&(e=a,r)){const l=!mt.length;for(const u of n)u[1](),mt.push(u,e);if(l){for(let u=0;u<mt.length;u+=2)mt[u][0](mt[u+1]);mt.length=0}}}function o(a){i(a(e))}function s(a,l=ue){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,o)||ue),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ya(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ka(r,(s,a)=>{let l=!1;const u=[];let d=0,f=ue;const c=()=>{if(d)return;f();const b=t(n?u[0]:u,s,a);o?s(b):f=typeof b=="function"?b:ue},v=i.map((b,g)=>jr(b,y=>{u[g]=y,d&=~(1<<g),l&&c()},()=>{d|=1<<g}));return l=!0,c(),function(){kt(v),f(),l=!1}})}function xa(e){let t;return jr(e,r=>t=r)(),t}let or=!1,Dr=Symbol();function pe(e,t,r){const n=r[t]??(r[t]={store:null,source:St(void 0),unsubscribe:ue});if(n.store!==e&&!(Dr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=ue;else{var i=!0;n.unsubscribe=jr(e,o=>{i?n.source.v=o:q(n.source,o)}),i=!1}return e&&Dr in r?xa(e):E(n.source)}function Ot(){const e={};function t(){Yt(()=>{for(var r in e)e[r].unsubscribe();wt(e,Dr,{enumerable:!1,value:!0})})}return[e,t]}function Ea(e){var t=or;try{return or=!1,[e(),or]}finally{or=t}}const Ca={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function Hr(e,t,r){return new Proxy({props:e,exclude:t},Ca)}const Sa={get(e,t){if(!e.exclude.includes(t))return E(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){return t in e.special||(e.special[t]=k({get[t](){return e.props[t]}},t,tn)),e.special[t](r),kn(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),kn(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ar(e,t){return new Proxy({props:e,exclude:t,special:{},version:ut(0)},Sa)}const $a={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(_t(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){let n=e.props.length;for(;n--;){let i=e.props[n];_t(i)&&(i=i());const o=Ae(i,t);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(_t(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const i=Ae(n,t);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,t){if(t===Ce||t===yr)return!1;for(let r of e.props)if(_t(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props)if(_t(r)&&(r=r()),!!r){for(const n in r)t.includes(n)||t.push(n);for(const n of Object.getOwnPropertySymbols(r))t.includes(n)||t.push(n)}return t}};function di(...e){return new Proxy({props:e},$a)}function Na(e){var t;return((t=e.ctx)==null?void 0:t.d)??!1}function k(e,t,r,n){var m;var i=!at||(r&ro)!==0,o=(r&no)!==0,s=(r&io)!==0,a=n,l=!0,u=()=>(l&&(l=!1,a=s?ht(n):n),a),d;if(o){var f=Ce in e||yr in e;d=((m=Ae(e,t))==null?void 0:m.set)??(f&&t in e?h=>e[t]=h:void 0)}var c,v=!1;o?[c,v]=Ea(()=>e[t]):c=e[t],c===void 0&&n!==void 0&&(c=u(),d&&(i&&_o(),d(c)));var b;if(i?b=()=>{var h=e[t];return h===void 0?u():(l=!0,h)}:b=()=>{var h=e[t];return h!==void 0&&(a=void 0),h===void 0?a:h},i&&(r&tn)===0)return b;if(d){var g=e.$$legacy;return function(h,p){return arguments.length>0?((!i||!p||g||v)&&d(p?b():h),h):b()}}var y=((r&to)!==0?lt:Bt)(b);return o&&E(y),function(h,p){if(arguments.length>0){const w=p?E(y):i&&o?st(h):h;return q(y,w),a!==void 0&&(a=w),h}return Na(y)?y.v:E(y)}}function Ia(e){return new Ta(e)}class Ta{constructor(t){Qr(this,Re);Qr(this,ge);var o;var r=new Map,n=(s,a)=>{var l=St(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return E(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===yr?!0:(E(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return q(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});en(this,ge,(t.hydrate?na:Jn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&_(),en(this,Re,i.$$events);for(const s of Object.keys(ne(this,ge)))s==="$set"||s==="$destroy"||s==="$on"||wt(this,s,{get(){return ne(this,ge)[s]},set(a){ne(this,ge)[s]=a},enumerable:!0});ne(this,ge).$set=s=>{Object.assign(i,s)},ne(this,ge).$destroy=()=>{ia(ne(this,ge))}}$set(t){ne(this,ge).$set(t)}$on(t,r){ne(this,Re)[t]=ne(this,Re)[t]||[];const n=(...i)=>r.call(this,...i);return ne(this,Re)[t].push(n),()=>{ne(this,Re)[t]=ne(this,Re)[t].filter(i=>i!==n)}}$destroy(){ne(this,ge).$destroy()}}Re=new WeakMap,ge=new WeakMap;let fi;typeof HTMLElement=="function"&&(fi=class extends HTMLElement{constructor(t,r,n){super();le(this,"$$ctor");le(this,"$$s");le(this,"$$c");le(this,"$$cn",!1);le(this,"$$d",{});le(this,"$$r",!1);le(this,"$$p_d",{});le(this,"$$l",{});le(this,"$$l_u",new Map);le(this,"$$me");this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return o=>{const s=document.createElement("slot");i!=="default"&&(s.name=i),I(o,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=za(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),r.default=!0):r[i]=t(i));for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=sr(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=Ia({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Mo(()=>{Zt(()=>{var i;this.$$r=!0;for(const o of Ht(this.$$c)){if(!((i=this.$$p_d[o])!=null&&i.reflect))continue;this.$$d[o]=this.$$c[o];const s=sr(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1})});for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=sr(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Ht(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function sr(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function za(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function B(e,t,r,n,i,o){let s=class extends fi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Ht(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Ht(t).forEach(a=>{wt(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var f;l=sr(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var d=(f=Ae(u,a))==null?void 0:f.get;d?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{wt(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}var Ma=ve("<a><!></a>"),La=ve("<button><!></button>");const Ua={hash:"svelte-zftwkm",code:`:root, :host {
1
+ (function(O,B){typeof exports=="object"&&typeof module<"u"?B(exports):typeof define=="function"&&define.amd?define(["exports"],B):(O=typeof globalThis<"u"?globalThis:O||self,B(O.graymatter={}))})(this,function(O){"use strict";var zl=Object.defineProperty;var ao=O=>{throw TypeError(O)};var xl=(O,B,ne)=>B in O?zl(O,B,{enumerable:!0,configurable:!0,writable:!0,value:ne}):O[B]=ne;var ze=(O,B,ne)=>xl(O,typeof B!="symbol"?B+"":B,ne),so=(O,B,ne)=>B.has(O)||ao("Cannot "+ne);var me=(O,B,ne)=>(so(O,B,"read from private field"),ne?ne.call(O):B.get(O)),vn=(O,B,ne)=>B.has(O)?ao("Cannot add the same private member more than once"):B instanceof WeakSet?B.add(O):B.set(O,ne),hn=(O,B,ne,bt)=>(so(O,B,"write to private field"),bt?bt.call(O,ne):B.set(O,ne),ne);var Zi,tt,Le;const B="5";typeof window<"u"&&((Zi=window.__svelte??(window.__svelte={})).v??(Zi.v=new Set)).add(B);const ne=1,bt=2,pn=4,lo=8,uo=16,co=1,fo=2,gn=4,vo=8,ho=16,mn=1,po=2,zr="[",xr="[!",Er="]",wt={},ge=Symbol(),go="http://www.w3.org/1999/xhtml",mo="@attach",bn=!1;var tr=Array.isArray,bo=Array.prototype.indexOf,Cr=Array.from,rr=Object.keys,$t=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,wn=Object.getOwnPropertyDescriptors,wo=Object.prototype,_o=Array.prototype,Sr=Object.getPrototypeOf,_n=Object.isExtensible;function Tt(e){return typeof e=="function"}const xe=()=>{};function ko(e){return e()}function At(e){for(var t=0;t<e.length;t++)e[t]()}const Ee=2,Ir=4,Ut=8,Nr=16,Ze=32,dt=64,Lr=128,be=256,nr=512,we=1024,Je=2048,it=4096,Ke=8192,Mr=16384,kn=32768,Ot=65536,yn=1<<17,yo=1<<18,zn=1<<19,$r=1<<20,Tr=1<<21,He=Symbol("$state"),Ar=Symbol("legacy props"),zo=Symbol(""),xn=new class extends Error{constructor(){super(...arguments);ze(this,"name","StaleReactionError");ze(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},En=3,Dt=8;function Cn(e){return e===this.v}function Sn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function In(e){return!Sn(e,this.v)}function xo(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Eo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Co(e){throw new Error("https://svelte.dev/e/effect_orphan")}function So(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Io(){throw new Error("https://svelte.dev/e/hydration_failed")}function No(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Lo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Mo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function $o(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let _t=!1,To=!1;function Ao(){_t=!0}function Uo(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let q=null;function Nn(e){q=e}function K(e,t=!1,r){var n=q={p:q,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};_t&&!t&&(q.l={s:null,u:null,r1:[],r2:zt(!1)}),ar(()=>{n.d=!0})}function W(e){const t=q;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var r=P,n=j;t.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];at(o.effect),Re(o.reaction),Fn(o.fn)}}finally{at(r),Re(n)}}q=t.p,t.m=!0}return e||{}}function ir(){return!_t||q!==null&&q.l===null}function kt(e){if(typeof e!="object"||e===null||He in e)return e;const t=Sr(e);if(t!==wo&&t!==_o)return e;var r=new Map,n=tr(e),i=fe(0),o=j,s=a=>{var l=j;Re(o);var u=a();return Re(l),u};return n&&r.set("length",fe(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Lo();var f=r.get(l);return f===void 0?f=s(()=>{var d=fe(u.value);return r.set(l,d),d}):T(f,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const c=s(()=>fe(ge));r.set(l,c),Ur(i)}}else{if(n&&typeof l=="string"){var f=r.get("length"),d=Number(l);Number.isInteger(d)&&d<f.v&&T(f,d)}T(u,ge),Ur(i)}return!0},get(a,l,u){var p;if(l===He)return e;var f=r.get(l),d=l in a;if(f===void 0&&(!d||(p=qe(a,l))!=null&&p.writable)&&(f=s(()=>{var g=kt(d?a[l]:ge),y=fe(g);return y}),r.set(l,f)),f!==void 0){var c=w(f);return c===ge?void 0:c}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var f=r.get(l);f&&(u.value=w(f))}else if(u===void 0){var d=r.get(l),c=d==null?void 0:d.v;if(d!==void 0&&c!==ge)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(a,l){var c;if(l===He)return!0;var u=r.get(l),f=u!==void 0&&u.v!==ge||Reflect.has(a,l);if(u!==void 0||P!==null&&(!f||(c=qe(a,l))!=null&&c.writable)){u===void 0&&(u=s(()=>{var p=f?kt(a[l]):ge,g=fe(p);return g}),r.set(l,u));var d=w(u);if(d===ge)return!1}return f},set(a,l,u,f){var b;var d=r.get(l),c=l in a;if(n&&l==="length")for(var p=u;p<d.v;p+=1){var g=r.get(p+"");g!==void 0?T(g,ge):p in a&&(g=s(()=>fe(ge)),r.set(p+"",g))}if(d===void 0)(!c||(b=qe(a,l))!=null&&b.writable)&&(d=s(()=>fe(void 0)),T(d,kt(u)),r.set(l,d));else{c=d.v!==ge;var y=s(()=>kt(u));T(d,y)}var S=Reflect.getOwnPropertyDescriptor(a,l);if(S!=null&&S.set&&S.set.call(f,u),!c){if(n&&typeof l=="string"){var E=r.get("length"),v=Number(l);Number.isInteger(v)&&v>=E.v&&T(E,v+1)}Ur(i)}return!0},ownKeys(a){w(i);var l=Reflect.ownKeys(a).filter(d=>{var c=r.get(d);return c===void 0||c.v!==ge});for(var[u,f]of r)f.v!==ge&&!(u in a)&&l.push(u);return l},setPrototypeOf(){Mo()}})}function Ur(e,t=1){T(e,e.v+t)}function Ln(e){try{if(e!==null&&typeof e=="object"&&He in e)return e[He]}catch{}return e}function Oo(e,t){return Object.is(Ln(e),Ln(t))}function yt(e){var t=Ee|Je,r=j!==null&&(j.f&Ee)!==0?j:null;return P===null||r!==null&&(r.f&be)!==0?t|=be:P.f|=zn,{ctx:q,deps:null,effects:null,equals:Cn,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??P,ac:null}}function ee(e){const t=yt(e);return ti(t),t}function Mn(e){const t=yt(e);return t.equals=In,t}function $n(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)_e(t[r])}}function Do(e){for(var t=e.parent;t!==null;){if((t.f&Ee)===0)return t;t=t.parent}return null}function Tn(e){var t,r=P;at(Do(e));try{$n(e),t=ii(e)}finally{at(r)}return t}function An(e){var t=Tn(e);if(e.equals(t)||(e.v=t,e.wv=ri()),!Ct){var r=(st||(e.f&be)!==0)&&e.deps!==null?it:we;Ae(e,r)}}const jt=new Map;function zt(e,t){var r={f:0,v:e,reactions:null,equals:Cn,rv:0,wv:0};return r}function fe(e,t){const r=zt(e);return ti(r),r}function ot(e,t=!1,r=!0){var i;const n=zt(e);return t||(n.equals=In),_t&&r&&q!==null&&q.l!==null&&((i=q.l).s??(i.s=[])).push(n),n}function jo(e,t){return T(e,Be(()=>w(e))),t}function T(e,t,r=!1){j!==null&&(!Ve||(j.f&yn)!==0)&&ir()&&(j.f&(Ee|Nr|yn))!==0&&!((te==null?void 0:te.reaction)===j&&te.sources.includes(e))&&$o();let n=r?kt(t):t;return Or(e,n)}function Or(e,t){if(!e.equals(t)){var r=e.v;Ct?jt.set(e,t):jt.set(e,r),e.v=t,(e.f&Ee)!==0&&((e.f&Je)!==0&&Tn(e),Ae(e,(e.f&be)===0?we:it)),e.wv=ri(),On(e,Je),ir()&&P!==null&&(P.f&we)!==0&&(P.f&(Ze|dt))===0&&(Ie===null?Ko([e]):Ie.push(e))}return t}function Un(e,t=1){var r=w(e),n=t===1?r++:r--;return T(e,r),n}function On(e,t){var r=e.reactions;if(r!==null)for(var n=ir(),i=r.length,o=0;o<i;o++){var s=r[o],a=s.f;(a&Je)===0&&(!n&&s===P||(Ae(s,t),(a&(we|be))!==0&&((a&Ee)!==0?On(s,it):vr(s))))}}function or(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ho(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let D=!1;function $e(e){D=e}let H;function Te(e){if(e===null)throw or(),wt;return H=e}function xt(){return Te(We(H))}function z(e){if(D){if(We(H)!==null)throw or(),wt;H=e}}function Pe(e=1){if(D){for(var t=e,r=H;t--;)r=We(r);H=r}}function Dr(){for(var e=0,t=H;;){if(t.nodeType===Dt){var r=t.data;if(r===Er){if(e===0)return t;e-=1}else(r===zr||r===xr)&&(e+=1)}var n=We(t);t.remove(),t=n}}function Dn(e){if(!e||e.nodeType!==Dt)throw or(),wt;return e.data}var jn,Hn,Pn,Vn;function jr(){if(jn===void 0){jn=window,Hn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Pn=qe(t,"firstChild").get,Vn=qe(t,"nextSibling").get,_n(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),_n(r)&&(r.__t=void 0)}}function Et(e=""){return document.createTextNode(e)}function Ce(e){return Pn.call(e)}function We(e){return Vn.call(e)}function C(e,t){if(!D)return Ce(e);var r=Ce(H);if(r===null)r=H.appendChild(Et());else if(t&&r.nodeType!==En){var n=Et();return r==null||r.before(n),Te(n),n}return Te(r),r}function Ge(e,t){if(!D){var r=Ce(e);return r instanceof Comment&&r.data===""?We(r):r}return H}function ie(e,t=1,r=!1){let n=D?H:e;for(var i;t--;)i=n,n=We(n);if(!D)return n;if(r&&(n==null?void 0:n.nodeType)!==En){var o=Et();return n===null?i==null||i.after(o):n.before(o),Te(o),o}return Te(n),n}function Rn(e){e.textContent=""}function Bn(e){P===null&&j===null&&Co(),j!==null&&(j.f&be)!==0&&P===null&&Eo(),Ct&&xo()}function Po(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Xe(e,t,r,n=!0){var i=P,o={ctx:q,deps:null,nodes_start:null,nodes_end:null,f:e|Je,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{fr(o),o.f|=kn}catch(l){throw _e(o),l}else t!==null&&vr(o);var s=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(zn|Lr))===0;if(!s&&n&&(i!==null&&Po(o,i),j!==null&&(j.f&Ee)!==0)){var a=j;(a.effects??(a.effects=[])).push(o)}return o}function ar(e){const t=Xe(Ut,null,!1);return Ae(t,we),t.teardown=e,t}function Hr(e){Bn();var t=P!==null&&(P.f&Ze)!==0&&q!==null&&!q.m;if(t){var r=q;(r.e??(r.e=[])).push({fn:e,effect:P,reaction:j})}else return Fn(e)}function Fn(e){return Xe(Ir|Tr,e,!1)}function Vo(e){return Bn(),Xe(Ut|Tr,e,!0)}function Ro(e){const t=Xe(dt,e,!0);return()=>{_e(t)}}function Bo(e){const t=Xe(dt,e,!0);return(r={})=>new Promise(n=>{r.outro?Ht(t,()=>{_e(t),n(void 0)}):(_e(t),n(void 0))})}function Pr(e){return Xe(Ir,e,!1)}function Yn(e,t){var r=q,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=sr(()=>{e(),!n.ran&&(n.ran=!0,T(r.l.r2,!0),Be(t))})}function qn(){var e=q;sr(()=>{if(w(e.l.r2)){for(var t of e.l.r1){var r=t.effect;(r.f&we)!==0&&Ae(r,it),Yt(r)&&fr(r),t.ran=!1}e.l.r2.v=!1}})}function sr(e){return Xe(Ut,e,!0)}function Se(e,t=[],r=yt){const n=t.map(r);return ft(()=>e(...n.map(w)))}function ft(e,t=0){var r=Xe(Ut|Nr|t,e,!0);return r}function Qe(e,t=!0){return Xe(Ut|Ze,e,!0,t)}function Zn(e){var t=e.teardown;if(t!==null){const r=Ct,n=j;ei(!0),Re(null);try{t.call(null)}finally{ei(r),Re(n)}}}function Jn(e,t=!1){var i;var r=e.first;for(e.first=e.last=null;r!==null;){(i=r.ac)==null||i.abort(xn);var n=r.next;(r.f&dt)!==0?r.parent=null:_e(r,t),r=n}}function Fo(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ze)===0&&_e(t),t=r}}function _e(e,t=!0){var r=!1;(t||(e.f&yo)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Yo(e.nodes_start,e.nodes_end),r=!0),Jn(e,t&&!r),dr(e,0),Ae(e,Mr);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Zn(e);var i=e.parent;i!==null&&i.first!==null&&Kn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Yo(e,t){for(;e!==null;){var r=e===t?null:We(e);e.remove(),e=r}}function Kn(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Ht(e,t){var r=[];Vr(e,r,!0),Wn(r,()=>{_e(e),t&&t()})}function Wn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Vr(e,t,r){if((e.f&Ke)===0){if(e.f^=Ke,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var i=n.next,o=(n.f&Ot)!==0||(n.f&Ze)!==0;Vr(n,t,o?r:!1),n=i}}}function lr(e){Gn(e,!0)}function Gn(e,t){if((e.f&Ke)!==0){e.f^=Ke;for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ot)!==0||(r.f&Ze)!==0;Gn(r,i?t:!1),r=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let Pt=[],Rr=[];function Xn(){var e=Pt;Pt=[],At(e)}function qo(){var e=Rr;Rr=[],At(e)}function Vt(e){Pt.length===0&&queueMicrotask(Xn),Pt.push(e)}function Zo(){Pt.length>0&&Xn(),Rr.length>0&&qo()}function Jo(e){var t=P;if((t.f&kn)===0){if((t.f&Lr)===0)throw e;t.fn(e)}else Qn(e,t)}function Qn(e,t){for(;t!==null;){if((t.f&Lr)!==0)try{t.b.error(e);return}catch{}t=t.parent}throw e}let Rt=!1,Bt=null,vt=!1,Ct=!1;function ei(e){Ct=e}let Ft=[],El=[],j=null,Ve=!1;function Re(e){j=e}let P=null;function at(e){P=e}let te=null;function ti(e){j!==null&&j.f&$r&&(te===null?te={reaction:j,sources:[e]}:te.sources.push(e))}let pe=null,ke=0,Ie=null;function Ko(e){Ie=e}let ur=1,cr=0,st=!1;function ri(){return++ur}function Yt(e){var d;var t=e.f;if((t&Je)!==0)return!0;if((t&it)!==0){var r=e.deps,n=(t&be)!==0;if(r!==null){var i,o,s=(t&nr)!==0,a=n&&P!==null&&!st,l=r.length;if(s||a){var u=e,f=u.parent;for(i=0;i<l;i++)o=r[i],(s||!((d=o==null?void 0:o.reactions)!=null&&d.includes(u)))&&(o.reactions??(o.reactions=[])).push(u);s&&(u.f^=nr),a&&f!==null&&(f.f&be)===0&&(u.f^=be)}for(i=0;i<l;i++)if(o=r[i],Yt(o)&&An(o),o.wv>e.wv)return!0}(!n||P!==null&&!st)&&Ae(e,we)}return!1}function ni(e,t,r=!0){var n=e.reactions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];(te==null?void 0:te.reaction)===j&&te.sources.includes(e)||((o.f&Ee)!==0?ni(o,t,!1):t===o&&(r?Ae(o,Je):(o.f&we)!==0&&Ae(o,it),vr(o)))}}function ii(e){var p;var t=pe,r=ke,n=Ie,i=j,o=st,s=te,a=q,l=Ve,u=e.f;pe=null,ke=0,Ie=null,st=(u&be)!==0&&(Ve||!vt||j===null),j=(u&(Ze|dt))===0?e:null,te=null,Nn(e.ctx),Ve=!1,cr++,e.f|=$r,e.ac!==null&&(e.ac.abort(xn),e.ac=null);try{var f=(0,e.fn)(),d=e.deps;if(pe!==null){var c;if(dr(e,ke),d!==null&&ke>0)for(d.length=ke+pe.length,c=0;c<pe.length;c++)d[ke+c]=pe[c];else e.deps=d=pe;if(!st||(u&Ee)!==0&&e.reactions!==null)for(c=ke;c<d.length;c++)((p=d[c]).reactions??(p.reactions=[])).push(e)}else d!==null&&ke<d.length&&(dr(e,ke),d.length=ke);if(ir()&&Ie!==null&&!Ve&&d!==null&&(e.f&(Ee|it|Je))===0)for(c=0;c<Ie.length;c++)ni(Ie[c],e);return i!==null&&i!==e&&(cr++,Ie!==null&&(n===null?n=Ie:n.push(...Ie))),f}catch(g){Jo(g)}finally{pe=t,ke=r,Ie=n,j=i,st=o,te=s,Nn(a),Ve=l,e.f^=$r}}function Wo(e,t){let r=t.reactions;if(r!==null){var n=bo.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&Ee)!==0&&(pe===null||!pe.includes(t))&&(Ae(t,it),(t.f&(be|nr))===0&&(t.f^=nr),$n(t),dr(t,0))}function dr(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Wo(e,r[n])}function fr(e){var t=e.f;if((t&Mr)===0){Ae(e,we);var r=P,n=vt;P=e,vt=!0;try{(t&Nr)!==0?Fo(e):Jn(e),Zn(e);var i=ii(e);e.teardown=typeof i=="function"?i:null,e.wv=ur;var o;bn&&To&&(e.f&Je)!==0&&e.deps}finally{vt=n,P=r}}}function Go(){try{So()}catch(e){if(Bt!==null)Qn(e,Bt);else throw e}}function oi(){var e=vt;try{var t=0;for(vt=!0;Ft.length>0;){t++>1e3&&Go();var r=Ft,n=r.length;Ft=[];for(var i=0;i<n;i++){var o=Qo(r[i]);Xo(o)}jt.clear()}}finally{Rt=!1,vt=e,Bt=null}}function Xo(e){var t=e.length;if(t!==0){for(var r=0;r<t;r++){var n=e[r];if((n.f&(Mr|Ke))===0&&Yt(n)){var i=ur;if(fr(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Kn(n):n.fn=null),ur>i&&(n.f&Tr)!==0)break}}for(;r<t;r+=1)vr(e[r])}}function vr(e){Rt||(Rt=!0,queueMicrotask(oi));for(var t=Bt=e;t.parent!==null;){t=t.parent;var r=t.f;if((r&(dt|Ze))!==0){if((r&we)===0)return;t.f^=we}}Ft.push(t)}function Qo(e){for(var t=[],r=e;r!==null;){var n=r.f,i=(n&(Ze|dt))!==0,o=i&&(n&we)!==0;if(!o&&(n&Ke)===0){(n&Ir)!==0?t.push(r):i?r.f^=we:Yt(r)&&fr(r);var s=r.first;if(s!==null){r=s;continue}}var a=r.parent;for(r=r.next;r===null&&a!==null;)r=a.next,a=a.parent}return t}function _(e){for(var t;;){if(Zo(),Ft.length===0)return Rt=!1,Bt=null,t;Rt=!0,oi()}}function w(e){var t=e.f,r=(t&Ee)!==0;if(j!==null&&!Ve){if((te==null?void 0:te.reaction)!==j||!(te!=null&&te.sources.includes(e))){var n=j.deps;e.rv<cr&&(e.rv=cr,pe===null&&n!==null&&n[ke]===e?ke++:pe===null?pe=[e]:(!st||!pe.includes(e))&&pe.push(e))}}else if(r&&e.deps===null&&e.effects===null){var i=e,o=i.parent;o!==null&&(o.f&be)===0&&(i.f^=be)}return r&&(i=e,Yt(i)&&An(i)),Ct&&jt.has(e)?jt.get(e):e.v}function Be(e){var t=Ve;try{return Ve=!0,e()}finally{Ve=t}}const ea=-7169;function Ae(e,t){e.f=e.f&ea|t}function Br(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(He in e)Fr(e);else if(!Array.isArray(e))for(let t in e){const r=e[t];typeof r=="object"&&r&&He in r&&Fr(r)}}}function Fr(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Fr(e[n],t)}catch{}const r=Sr(e);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=wn(r);for(let i in n){const o=n[i].get;if(o)try{o.call(e)}catch{}}}}}function ta(e,t){if(t){const r=document.body;e.autofocus=!0,Vt(()=>{document.activeElement===r&&e.focus()})}}function ra(e){var t=j,r=P;Re(null),at(null);try{return e()}finally{Re(t),at(r)}}const ai=new Set,Yr=new Set;function si(e,t,r,n={}){function i(o){if(n.capture||Zt.call(t,o),!o.cancelBubble)return ra(()=>r==null?void 0:r.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Vt(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function re(e,t,r,n,i){var o={capture:n,passive:i},s=si(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ar(()=>{t.removeEventListener(e,s,o)})}function qt(e){for(var t=0;t<e.length;t++)ai.add(e[t]);for(var r of Yr)r(e)}function Zt(e){var v;var t=this,r=t.ownerDocument,n=e.type,i=((v=e.composedPath)==null?void 0:v.call(e))||[],o=i[0]||e.target,s=0,a=e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(o=i[s]||e.target,o!==t){$t(e,"currentTarget",{configurable:!0,get(){return o||r}});var f=j,d=P;Re(null),at(null);try{for(var c,p=[];o!==null;){var g=o.assignedSlot||o.parentNode||o.host||null;try{var y=o["__"+n];if(y!=null&&(!o.disabled||e.target===o))if(tr(y)){var[S,...E]=y;S.apply(o,[e,...E])}else y.call(o,e)}catch(b){c?p.push(b):c=b}if(e.cancelBubble||g===t||g===null)break;o=g}if(c){for(let b of p)queueMicrotask(()=>{throw b});throw c}}finally{e.__root=t,delete e.currentTarget,Re(f),at(d)}}}function li(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function et(e,t){var r=P;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function se(e,t){var r=(t&mn)!==0,n=(t&po)!==0,i,o=!e.startsWith("<!>");return()=>{if(D)return et(H,null),H;i===void 0&&(i=li(o?e:"<!>"+e),r||(i=Ce(i)));var s=n||Hn?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Ce(s),l=s.lastChild;et(a,l)}else et(s,s);return s}}function na(e,t,r="svg"){var n=!e.startsWith("<!>"),i=(t&mn)!==0,o=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(D)return et(H,null),H;if(!s){var a=li(o),l=Ce(a);if(i)for(s=document.createDocumentFragment();Ce(l);)s.appendChild(Ce(l));else s=Ce(l)}var u=s.cloneNode(!0);if(i){var f=Ce(u),d=u.lastChild;et(f,d)}else et(u,u);return u}}function G(e,t){return na(e,t,"svg")}function St(){if(D)return et(H,null),H;var e=document.createDocumentFragment(),t=document.createComment(""),r=Et();return e.append(t,r),et(t,r),e}function M(e,t){if(D){P.nodes_end=H,xt();return}e!==null&&e.before(t)}function ia(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const oa=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function aa(e){return oa.includes(e)}const sa={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function la(e){return e=e.toLowerCase(),sa[e]??e}const ua=["touchstart","touchmove"];function ca(e){return ua.includes(e)}function Jt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=r+"")}function ui(e,t){return ci(e,t)}function da(e,t){jr(),t.intro=t.intro??!1;const r=t.target,n=D,i=H;try{for(var o=Ce(r);o&&(o.nodeType!==Dt||o.data!==zr);)o=We(o);if(!o)throw wt;$e(!0),Te(o),xt();const s=ci(e,{...t,anchor:o});if(H===null||H.nodeType!==Dt||H.data!==Er)throw or(),wt;return $e(!1),s}catch(s){if(s===wt)return t.recover===!1&&Io(),jr(),Rn(r),$e(!1),ui(e,t);throw s}finally{$e(n),Te(i)}}const It=new Map;function ci(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:s=!0}){jr();var a=new Set,l=d=>{for(var c=0;c<d.length;c++){var p=d[c];if(!a.has(p)){a.add(p);var g=ca(p);t.addEventListener(p,Zt,{passive:g});var y=It.get(p);y===void 0?(document.addEventListener(p,Zt,{passive:g}),It.set(p,1)):It.set(p,y+1)}}};l(Cr(ai)),Yr.add(l);var u=void 0,f=Bo(()=>{var d=r??t.appendChild(Et());return Qe(()=>{if(o){K({});var c=q;c.c=o}i&&(n.$$events=i),D&&et(d,null),u=e(d,n)||{},D&&(P.nodes_end=H),o&&W()}),()=>{var g;for(var c of a){t.removeEventListener(c,Zt);var p=It.get(c);--p===0?(document.removeEventListener(c,Zt),It.delete(c)):It.set(c,p)}Yr.delete(l),d!==r&&((g=d.parentNode)==null||g.removeChild(d))}});return qr.set(u,f),u}let qr=new WeakMap;function fa(e,t){const r=qr.get(e);return r?(qr.delete(e),r(t)):Promise.resolve()}function Zr(e,t,...r){var n=e,i=xe,o;ft(()=>{i!==(i=t())&&(o&&(_e(o),o=null),o=Qe(()=>i(n,...r)))},Ot),D&&(n=H)}function Kt(e){q===null&&Uo(),_t&&q.l!==null?va(q).m.push(e):Hr(()=>{const t=Be(e);if(typeof t=="function")return t})}function va(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function le(e,t,[r,n]=[0,0]){D&&r===0&&xt();var i=e,o=null,s=null,a=ge,l=r>0?Ot:0,u=!1;const f=(c,p=!0)=>{u=!0,d(p,c)},d=(c,p)=>{if(a===(a=c))return;let g=!1;if(D&&n!==-1){if(r===0){const S=Dn(i);S===zr?n=0:S===xr?n=1/0:(n=parseInt(S.substring(1)),n!==n&&(n=a?1/0:-1))}const y=n>r;!!a===y&&(i=Dr(),Te(i),$e(!1),g=!0,n=-1)}a?(o?lr(o):p&&(o=Qe(()=>p(i))),s&&Ht(s,()=>{s=null})):(s?lr(s):p&&(s=Qe(()=>p(i,[r+1,n]))),o&&Ht(o,()=>{o=null})),g&&$e(!0)};ft(()=>{u=!1,t(f),u||d(null,null)},l),D&&(i=H)}function ha(e,t){return t}function pa(e,t,r,n){for(var i=[],o=t.length,s=0;s<o;s++)Vr(t[s].e,i,!0);var a=o>0&&i.length===0&&r!==null;if(a){var l=r.parentNode;Rn(l),l.append(r),n.clear(),lt(e,t[0].prev,t[o-1].next)}Wn(i,()=>{for(var u=0;u<o;u++){var f=t[u];a||(n.delete(f.k),lt(e,f.prev,f.next)),_e(f.e,!a)}})}function di(e,t,r,n,i,o=null){var s=e,a={flags:t,items:new Map,first:null},l=(t&pn)!==0;if(l){var u=e;s=D?Te(Ce(u)):u.appendChild(Et())}D&&xt();var f=null,d=!1,c=Mn(()=>{var p=r();return tr(p)?p:p==null?[]:Cr(p)});ft(()=>{var p=w(c),g=p.length;if(d&&g===0)return;d=g===0;let y=!1;if(D){var S=Dn(s)===xr;S!==(g===0)&&(s=Dr(),Te(s),$e(!1),y=!0)}if(D){for(var E=null,v,b=0;b<g;b++){if(H.nodeType===Dt&&H.data===Er){s=H,y=!0,$e(!1);break}var h=p[b],m=n(h,b);v=fi(H,a,E,null,h,m,b,i,t,r),a.items.set(m,v),E=v}g>0&&Te(Dr())}D||ga(p,a,s,i,t,n,r),o!==null&&(g===0?f?lr(f):f=Qe(()=>o(s)):f!==null&&Ht(f,()=>{f=null})),y&&$e(!0),w(c)}),D&&(s=H)}function ga(e,t,r,n,i,o,s){var U,Y,oe,ve;var a=(i&lo)!==0,l=(i&(ne|bt))!==0,u=e.length,f=t.items,d=t.first,c=d,p,g=null,y,S=[],E=[],v,b,h,m;if(a)for(m=0;m<u;m+=1)v=e[m],b=o(v,m),h=f.get(b),h!==void 0&&((U=h.a)==null||U.measure(),(y??(y=new Set)).add(h));for(m=0;m<u;m+=1){if(v=e[m],b=o(v,m),h=f.get(b),h===void 0){var L=c?c.e.nodes_start:r;g=fi(L,t,g,g===null?t.first:g.next,v,b,m,n,i,s),f.set(b,g),S=[],E=[],c=g.next;continue}if(l&&ma(h,v,m,i),(h.e.f&Ke)!==0&&(lr(h.e),a&&((Y=h.a)==null||Y.unfix(),(y??(y=new Set)).delete(h))),h!==c){if(p!==void 0&&p.has(h)){if(S.length<E.length){var A=E[0],N;g=A.prev;var R=S[0],ue=S[S.length-1];for(N=0;N<S.length;N+=1)vi(S[N],A,r);for(N=0;N<E.length;N+=1)p.delete(E[N]);lt(t,R.prev,ue.next),lt(t,g,R),lt(t,ue,A),c=A,g=ue,m-=1,S=[],E=[]}else p.delete(h),vi(h,c,r),lt(t,h.prev,h.next),lt(t,h,g===null?t.first:g.next),lt(t,g,h),g=h;continue}for(S=[],E=[];c!==null&&c.k!==b;)(c.e.f&Ke)===0&&(p??(p=new Set)).add(c),E.push(c),c=c.next;if(c===null)continue;h=c}S.push(h),g=h,c=h.next}if(c!==null||p!==void 0){for(var J=p===void 0?[]:Cr(p);c!==null;)(c.e.f&Ke)===0&&J.push(c),c=c.next;var ce=J.length;if(ce>0){var I=(i&pn)!==0&&u===0?r:null;if(a){for(m=0;m<ce;m+=1)(oe=J[m].a)==null||oe.measure();for(m=0;m<ce;m+=1)(ve=J[m].a)==null||ve.fix()}pa(t,J,I,f)}}a&&Vt(()=>{var Q;if(y!==void 0)for(h of y)(Q=h.a)==null||Q.apply()}),P.first=t.first&&t.first.e,P.last=g&&g.e}function ma(e,t,r,n){(n&ne)!==0&&Or(e.v,t),(n&bt)!==0?Or(e.i,r):e.i=r}function fi(e,t,r,n,i,o,s,a,l,u){var f=(l&ne)!==0,d=(l&uo)===0,c=f?d?ot(i,!1,!1):zt(i):i,p=(l&bt)===0?s:zt(s),g={i:p,v:c,k:o,a:null,e:null,prev:r,next:n};try{return g.e=Qe(()=>a(e,c,p,u),D),g.e.prev=r&&r.e,g.e.next=n&&n.e,r===null?t.first=g:(r.next=g,r.e.next=g.e),n!==null&&(n.prev=g,n.e.prev=g.e),g}finally{}}function vi(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,o=e.e.nodes_start;o!==n;){var s=We(o);i.before(o),o=s}}function lt(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function hr(e,t,r,n,i){var a;D&&xt();var o=(a=t.$$slots)==null?void 0:a[r],s=!1;o===!0&&(o=t.children,s=!0),o===void 0||o(e,s?()=>n:n)}function ba(e,t,r){D&&xt();var n=e,i,o;ft(()=>{i!==(i=t())&&(o&&(Ht(o),o=null),i&&(o=Qe(()=>r(n,i))))},Ot),D&&(n=H)}function ht(e,t){Vt(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function wa(e,t){var r=void 0,n;ft(()=>{r!==(r=t())&&(n&&(_e(n),n=null),r&&(n=Qe(()=>{Pr(()=>r(e))})))})}function hi(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=hi(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _a(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=hi(e))&&(n&&(n+=" "),n+=t);return n}function ka(e){return typeof e=="object"?_a(e):e??""}const pi=[...`
2
+ \r\f \v\uFEFF`];function ya(e,t,r){var n=e==null?"":""+e;if(t&&(n=n?n+" "+t:t),r){for(var i in r)if(r[i])n=n?n+" "+i:i;else if(n.length)for(var o=i.length,s=0;(s=n.indexOf(i,s))>=0;){var a=s+o;(s===0||pi.includes(n[s-1]))&&(a===n.length||pi.includes(n[a]))?n=(s===0?"":n.substring(0,s))+n.substring(a+1):s=a}}return n===""?null:n}function gi(e,t=!1){var r=t?" !important;":";",n="";for(var i in e){var o=e[i];o!=null&&o!==""&&(n+=" "+i+": "+o+r)}return n}function Jr(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function za(e,t){if(t){var r="",n,i;if(Array.isArray(t)?(n=t[0],i=t[1]):n=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,s=0,a=!1,l=[];n&&l.push(...Object.keys(n).map(Jr)),i&&l.push(...Object.keys(i).map(Jr));var u=0,f=-1;const y=e.length;for(var d=0;d<y;d++){var c=e[d];if(a?c==="/"&&e[d-1]==="*"&&(a=!1):o?o===c&&(o=!1):c==="/"&&e[d+1]==="*"?a=!0:c==='"'||c==="'"?o=c:c==="("?s++:c===")"&&s--,!a&&o===!1&&s===0){if(c===":"&&f===-1)f=d;else if(c===";"||d===y-1){if(f!==-1){var p=Jr(e.substring(u,f).trim());if(!l.includes(p)){c!==";"&&d++;var g=e.substring(u,d).trim();r+=" "+g+";"}}u=d+1,f=-1}}}}return n&&(r+=gi(n)),i&&(r+=gi(i,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function ye(e,t,r,n,i,o){var s=e.__className;if(D||s!==r||s===void 0){var a=ya(r,n,o);(!D||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e.__className=r}else if(o&&i!==o)for(var l in o){var u=!!o[l];(i==null||u!==!!i[l])&&e.classList.toggle(l,u)}return o}function Kr(e,t={},r,n){for(var i in r){var o=r[i];t[i]!==o&&(r[i]==null?e.style.removeProperty(i):e.style.setProperty(i,o,n))}}function xa(e,t,r,n){var i=e.__style;if(D||i!==t){var o=za(t,n);(!D||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else n&&(Array.isArray(n)?(Kr(e,r==null?void 0:r[0],n[0]),Kr(e,r==null?void 0:r[1],n[1],"important")):Kr(e,r,n));return n}function Wr(e,t,r=!1){if(e.multiple){if(t==null)return;if(!tr(t))return Ho();for(var n of e.options)n.selected=t.includes(mi(n));return}for(n of e.options){var i=mi(n);if(Oo(i,t)){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Ea(e){var t=new MutationObserver(()=>{Wr(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ar(()=>{t.disconnect()})}function mi(e){return"__value"in e?e.__value:e.value}const Nt=Symbol("class"),Wt=Symbol("style"),bi=Symbol("is custom element"),wi=Symbol("is html");function Ca(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Z(e,t,r,n){var i=_i(e);D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[zo]=r),r==null?e.removeAttribute(t):typeof r!="string"&&yi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Sa(e,t,r,n,i=!1){var o=_i(e),s=o[bi],a=!o[wi];let l=D&&s;l&&$e(!1);var u=t||{},f=e.tagName==="OPTION";for(var d in t)d in r||(r[d]=null);r.class?r.class=ka(r.class):(n||r[Nt])&&(r.class=null),r[Wt]&&(r.style??(r.style=null));var c=yi(e);for(const b in r){let h=r[b];if(f&&b==="value"&&h==null){e.value=e.__value="",u[b]=h;continue}if(b==="class"){var p=e.namespaceURI==="http://www.w3.org/1999/xhtml";ye(e,p,h,n,t==null?void 0:t[Nt],r[Nt]),u[b]=h,u[Nt]=r[Nt];continue}if(b==="style"){xa(e,h,t==null?void 0:t[Wt],r[Wt]),u[b]=h,u[Wt]=r[Wt];continue}var g=u[b];if(!(h===g&&!(h===void 0&&e.hasAttribute(b)))){u[b]=h;var y=b[0]+b[1];if(y!=="$$")if(y==="on"){const m={},L="$$"+b;let A=b.slice(2);var S=aa(A);if(ia(A)&&(A=A.slice(0,-7),m.capture=!0),!S&&g){if(h!=null)continue;e.removeEventListener(A,u[L],m),u[L]=null}if(h!=null)if(S)e[`__${A}`]=h,qt([A]);else{let N=function(R){u[b].call(this,R)};u[L]=si(A,e,N,m)}else S&&(e[`__${A}`]=void 0)}else if(b==="style")Z(e,b,h);else if(b==="autofocus")ta(e,!!h);else if(!s&&(b==="__value"||b==="value"&&h!=null))e.value=e.__value=h;else if(b==="selected"&&f)Ca(e,h);else{var E=b;a||(E=la(E));var v=E==="defaultValue"||E==="defaultChecked";if(h==null&&!s&&!v)if(o[b]=null,E==="value"||E==="checked"){let m=e;const L=t===void 0;if(E==="value"){let A=m.defaultValue;m.removeAttribute(E),m.defaultValue=A,m.value=m.__value=L?A:null}else{let A=m.defaultChecked;m.removeAttribute(E),m.defaultChecked=A,m.checked=L?A:!1}}else e.removeAttribute(b);else v||c.includes(E)&&(s||typeof h!="string")?e[E]=h:typeof h!="function"&&Z(e,E,h)}}}return l&&$e(!0),u}function pr(e,t,r=[],n,i=!1,o=yt){const s=r.map(o);var a=void 0,l={},u=e.nodeName==="SELECT",f=!1;if(ft(()=>{var c=t(...s.map(w)),p=Sa(e,a,c,n,i);f&&u&&"value"in c&&Wr(e,c.value);for(let y of Object.getOwnPropertySymbols(l))c[y]||_e(l[y]);for(let y of Object.getOwnPropertySymbols(c)){var g=c[y];y.description===mo&&(!a||g!==a[y])&&(l[y]&&_e(l[y]),l[y]=Qe(()=>wa(e,()=>g))),p[y]=g}a=p}),u){var d=e;Pr(()=>{Wr(d,a.value,!0),Ea(d)})}f=!0}function _i(e){return e.__attributes??(e.__attributes={[bi]:e.nodeName.includes("-"),[wi]:e.namespaceURI===go})}var ki=new Map;function yi(e){var t=ki.get(e.nodeName);if(t)return t;ki.set(e.nodeName,t=[]);for(var r,n=e,i=Element.prototype;i!==n;){r=wn(n);for(var o in r)r[o].set&&t.push(o);n=Sr(n)}return t}function zi(e,t){return e===t||(e==null?void 0:e[He])===t}function ut(e={},t,r,n){return Pr(()=>{var i,o;return sr(()=>{i=o,o=(n==null?void 0:n())||[],Be(()=>{e!==r(...o)&&(t(e,...o),i&&zi(r(...i),e)&&t(null,...i))})}),()=>{Vt(()=>{o&&zi(r(...o),e)&&t(null,...o)})}}),e}function Ia(e=!1){const t=q,r=t.l.u;if(!r)return;let n=()=>Br(t.s);if(e){let i=0,o={};const s=yt(()=>{let a=!1;const l=t.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],a=!0);return a&&i++,i});n=()=>w(s)}r.b.length&&Vo(()=>{xi(t,n),At(r.b)}),Hr(()=>{const i=Be(()=>r.m.map(ko));return()=>{for(const o of i)typeof o=="function"&&o()}}),r.a.length&&Hr(()=>{xi(t,n),At(r.a)})}function xi(e,t){if(e.l.s)for(const r of e.l.s)w(r);t()}function Gr(e,t,r){if(e==null)return t(void 0),r&&r(void 0),xe;const n=Be(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const Lt=[];function Na(e,t){return{subscribe:gr(e,t).subscribe}}function gr(e,t=xe){let r=null;const n=new Set;function i(a){if(Sn(e,a)&&(e=a,r)){const l=!Lt.length;for(const u of n)u[1](),Lt.push(u,e);if(l){for(let u=0;u<Lt.length;u+=2)Lt[u][0](Lt[u+1]);Lt.length=0}}}function o(a){i(a(e))}function s(a,l=xe){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,o)||xe),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function La(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Na(r,(s,a)=>{let l=!1;const u=[];let f=0,d=xe;const c=()=>{if(f)return;d();const g=t(n?u[0]:u,s,a);o?s(g):d=typeof g=="function"?g:xe},p=i.map((g,y)=>Gr(g,S=>{u[y]=S,f&=~(1<<y),l&&c()},()=>{f|=1<<y}));return l=!0,c(),function(){At(p),d(),l=!1}})}function Ma(e){let t;return Gr(e,r=>t=r)(),t}let mr=!1,Xr=Symbol();function Ne(e,t,r){const n=r[t]??(r[t]={store:null,source:ot(void 0),unsubscribe:xe});if(n.store!==e&&!(Xr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=xe;else{var i=!0;n.unsubscribe=Gr(e,o=>{i?n.source.v=o:T(n.source,o)}),i=!1}return e&&Xr in r?Ma(e):w(n.source)}function Gt(){const e={};function t(){ar(()=>{for(var r in e)e[r].unsubscribe();$t(e,Xr,{enumerable:!1,value:!0})})}return[e,t]}function $a(e){var t=mr;try{return mr=!1,[e(),mr]}finally{mr=t}}const Ta={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function Qr(e,t,r){return new Proxy({props:e,exclude:t},Ta)}const Aa={get(e,t){if(!e.exclude.includes(t))return w(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){return t in e.special||(e.special[t]=k({get[t](){return e.props[t]}},t,gn)),e.special[t](r),Un(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),Un(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function br(e,t){return new Proxy({props:e,exclude:t,special:{},version:zt(0)},Aa)}const Ua={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(Tt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){let n=e.props.length;for(;n--;){let i=e.props[n];Tt(i)&&(i=i());const o=qe(i,t);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(Tt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const i=qe(n,t);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,t){if(t===He||t===Ar)return!1;for(let r of e.props)if(Tt(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props)if(Tt(r)&&(r=r()),!!r){for(const n in r)t.includes(n)||t.push(n);for(const n of Object.getOwnPropertySymbols(r))t.includes(n)||t.push(n)}return t}};function Ei(...e){return new Proxy({props:e},Ua)}function Oa(e){var t;return((t=e.ctx)==null?void 0:t.d)??!1}function k(e,t,r,n){var E;var i=!_t||(r&fo)!==0,o=(r&vo)!==0,s=(r&ho)!==0,a=n,l=!0,u=()=>(l&&(l=!1,a=s?Be(n):n),a),f;if(o){var d=He in e||Ar in e;f=((E=qe(e,t))==null?void 0:E.set)??(d&&t in e?v=>e[t]=v:void 0)}var c,p=!1;o?[c,p]=$a(()=>e[t]):c=e[t],c===void 0&&n!==void 0&&(c=u(),f&&(i&&No(),f(c)));var g;if(i?g=()=>{var v=e[t];return v===void 0?u():(l=!0,v)}:g=()=>{var v=e[t];return v!==void 0&&(a=void 0),v===void 0?a:v},i&&(r&gn)===0)return g;if(f){var y=e.$$legacy;return function(v,b){return arguments.length>0?((!i||!b||y||p)&&f(b?g():v),v):g()}}var S=((r&co)!==0?yt:Mn)(g);return o&&w(S),function(v,b){if(arguments.length>0){const h=b?w(S):i&&o?kt(v):v;return T(S,h),a!==void 0&&(a=h),v}return Oa(S)?S.v:w(S)}}function Da(e){return new ja(e)}class ja{constructor(t){vn(this,tt);vn(this,Le);var o;var r=new Map,n=(s,a)=>{var l=ot(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return w(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Ar?!0:(w(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return T(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});hn(this,Le,(t.hydrate?da:ui)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&_(),hn(this,tt,i.$$events);for(const s of Object.keys(me(this,Le)))s==="$set"||s==="$destroy"||s==="$on"||$t(this,s,{get(){return me(this,Le)[s]},set(a){me(this,Le)[s]=a},enumerable:!0});me(this,Le).$set=s=>{Object.assign(i,s)},me(this,Le).$destroy=()=>{fa(me(this,Le))}}$set(t){me(this,Le).$set(t)}$on(t,r){me(this,tt)[t]=me(this,tt)[t]||[];const n=(...i)=>r.call(this,...i);return me(this,tt)[t].push(n),()=>{me(this,tt)[t]=me(this,tt)[t].filter(i=>i!==n)}}$destroy(){me(this,Le).$destroy()}}tt=new WeakMap,Le=new WeakMap;let Ci;typeof HTMLElement=="function"&&(Ci=class extends HTMLElement{constructor(t,r,n){super();ze(this,"$$ctor");ze(this,"$$s");ze(this,"$$c");ze(this,"$$cn",!1);ze(this,"$$d",{});ze(this,"$$r",!1);ze(this,"$$p_d",{});ze(this,"$$l",{});ze(this,"$$l_u",new Map);ze(this,"$$me");this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return o=>{const s=document.createElement("slot");i!=="default"&&(s.name=i),M(o,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ha(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),r.default=!0):r[i]=t(i));for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=wr(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=Da({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Ro(()=>{sr(()=>{var i;this.$$r=!0;for(const o of rr(this.$$c)){if(!((i=this.$$p_d[o])!=null&&i.reflect))continue;this.$$d[o]=this.$$c[o];const s=wr(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1})});for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=wr(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return rr(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function wr(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ha(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function X(e,t,r,n,i,o){let s=class extends Ci{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return rr(t).map(a=>(t[a].attribute||a).toLowerCase())}};return rr(t).forEach(a=>{$t(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var d;l=wr(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var f=(d=qe(u,a))==null?void 0:d.get;f?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{$t(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}var Pa=se("<a><!></a>"),Va=se("<button><!></button>");const Ra={hash:"svelte-zftwkm",code:`:root, :host {
3
3
  /* global button */--ai-button-radius: var(--ai-radius-round);--ai-button-padding-x: 2rem;--ai-button-padding-y: 0.75rem;--ai-button-height: 2.5rem;--ai-button-box-shadow: inset 0 0 0 1px;
4
4
 
5
5
  /* primary button */--ai-button-background-primary-rest: var(--ai-color-black);--ai-button-background-primary-hover: var(
@@ -18,23 +18,24 @@
18
18
  --ai-button-border-outline-inverted-rest
19
19
  );}.ai-button.svelte-zftwkm {background-color:var(--ai-button-background-primary-rest);border-radius:var(--ai-button-radius);color:var(--ai-button-text-primary-rest);font-weight:var(--ai-font-weight-medium);padding-inline:var(--ai-button-padding-x);padding-block:var(--ai-button-padding-y);margin:0;}.ai-button.svelte-zftwkm:is(:where(.svelte-zftwkm):hover, :where(.svelte-zftwkm):focus) {background-color:var(--ai-button-background-primary-hover);color:var(--ai-button-text-primary-hover);}.ai-button--small.svelte-zftwkm {--ai-button-padding-x: var(--ai-size-24);--ai-button-padding-y: var(--ai-size-8);font-size:var(--ai-size-12);}.ai-button--outline.svelte-zftwkm {background-color:transparent;box-shadow:var(--ai-button-box-shadow) var(--ai-button-border-outline-rest);color:var(--ai-button-text-outline-rest);}.ai-button--outline.svelte-zftwkm:is(:where(.svelte-zftwkm):hover, :where(.svelte-zftwkm):focus) {background-color:var(--ai-button-background-outline-hover);box-shadow:var(--ai-button-box-shadow) var(--ai-button-border-outline-hover);color:var(--ai-button-text-outline-hover);}.ai-button--outline-inverted.svelte-zftwkm {background-color:transparent;box-shadow:var(--ai-button-box-shadow) var(--ai-button-border-outline-inverted-rest);color:var(--ai-button-text-outline-inverted-rest);}.ai-button--outline-inverted.svelte-zftwkm:is(:where(.svelte-zftwkm):hover, :where(.svelte-zftwkm):focus) {background-color:var(--ai-button-background-outline-inverted-hover);box-shadow:var(--ai-button-box-shadow) var(--ai-button-border-outline-inverted-hover);color:var(--ai-button-text-outline-inverted-hover);}.ai-button--inverted.svelte-zftwkm {background-color:var(--ai-button-background-inverted-rest);color:var(--ai-button-text-inverted-rest);box-shadow:none;border:var(--ai-button-border-inverted-rest);}.ai-button--inverted.svelte-zftwkm:is(:where(.svelte-zftwkm):hover, :where(.svelte-zftwkm):focus) {background-color:var(--ai-button-background-inverted-hover);color:var(--ai-button-text-inverted-hover);border:var(--ai-button-border-inverted-hover);}.ai-button--unstyled.svelte-zftwkm {background:none;color:inherit;border:none;box-shadow:none;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:var(--ai-font-underline-offset);}.ai-button--unstyled.svelte-zftwkm:is(:where(.svelte-zftwkm):hover, :where(.svelte-zftwkm):focus) {background:none;color:inherit;border:none;box-shadow:none;text-decoration:underline;}.ai-menu-buttons.svelte-zftwkm {display:flex;gap:var(--ai-size-16);}
20
20
 
21
- /* disabled button styles */:is(.disabled.svelte-zftwkm, [disabled].svelte-zftwkm, [aria-disabled=true].svelte-zftwkm) {background:var(--ai-button-background-primary-disabled);color:var(--ai-button-text-primary-disabled);cursor:not-allowed;}.ai-button--inverted.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:var(--ai-button-background-inverted-disabled);color:var(--ai-button-text-inverted-disabled);}.ai-button--outline.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:transparent;box-shadow:var(--ai-button-box-shadow) var(--ai-color-neutral-700);color:var(--ai-color-neutral-700);}.ai-button--outline-inverted.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {box-shadow:var(--ai-button-box-shadow) var(--ai-color-neutral-200);color:var(--ai-color-neutral-600);}.ai-button--unstyled.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:none;color:inherit;opacity:0.75;}`};function vi(e,t){Y(t,!0),pt(e,Ua);let r=k(t,"variant",7,"primary"),n=k(t,"theme",7,"default"),i=k(t,"href",7,null),o=k(t,"disabled",7,!1),s=k(t,"onclick",7),a=k(t,"children",7,null),l=k(t,"size",7,"medium"),u=k(t,"type",7,"button"),d=k(t,"class",7,""),f=Hr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","onclick","children","size","type","class"]);const c=G(()=>()=>["usa-button","ai-button",l()==="small"?"ai-button--small":"",n()==="inverted"&&r()==="primary"?"ai-button--inverted":"",n()==="inverted"&&r()==="secondary"?"ai-button--outline-inverted":"",r()==="primary"?"usa-button--primary":"",r()==="secondary"?"usa-button--outline ai-button--outline":"",r()==="unstyled"?"ai-button--unstyled":""].filter(Boolean).join(" ")),v=G(()=>()=>`${E(c)()} ${d()}`.trim());var b=Ut(),g=Ye(b);{var y=h=>{var p=Ma();nr(p,(x,L)=>({class:x,href:i(),onclick:s(),...f,[gt]:L}),[()=>E(v)(),()=>({disabled:o()})],"svelte-zftwkm");var w=S(p);Ar(w,()=>a()??ue),C(p),I(h,p)},m=h=>{var p=La();nr(p,x=>({class:x,type:u(),disabled:o(),onclick:s(),...f}),[()=>E(v)()],"svelte-zftwkm");var w=S(p);Ar(w,()=>a()??ue),C(p),I(h,p)};he(g,h=>{i()?h(y):h(m,!1)})}return I(e,b),Z({get variant(){return r()},set variant(h="primary"){r(h),_()},get theme(){return n()},set theme(h="default"){n(h),_()},get href(){return i()},set href(h=null){i(h),_()},get disabled(){return o()},set disabled(h=!1){o(h),_()},get onclick(){return s()},set onclick(h){s(h),_()},get children(){return a()},set children(h=null){a(h),_()},get size(){return l()},set size(h="medium"){l(h),_()},get type(){return u()},set type(h="button"){u(h),_()},get class(){return d()},set class(h=""){d(h),_()}})}B(vi,{variant:{},theme:{},href:{},disabled:{},onclick:{},children:{},size:{},type:{},class:{}},[],[],!0);function hi(e,t){Y(t,!0);let r=k(t,"variant",7,"primary"),n=k(t,"theme",7,"default"),i=k(t,"href",7,null),o=k(t,"disabled",7,!1),s=k(t,"size",7,"medium"),a=k(t,"type",7,"button"),l=k(t,"onclick",7),u=k(t,"children",7,null),d=k(t,"class",7,""),f=Hr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","size","type","onclick","children","class"]);return vi(e,di({get variant(){return r()},get theme(){return n()},get href(){return i()},get disabled(){return o()},get size(){return s()},get type(){return a()},get onclick(){return l()},get children(){return u()},get class(){return d()}},()=>f,{$$slots:{default:(c,v)=>{var b=Ut(),g=Ye(b);rr(g,t,"default",{}),I(c,b)}}})),Z({get variant(){return r()},set variant(c="primary"){r(c),_()},get theme(){return n()},set theme(c="default"){n(c),_()},get href(){return i()},set href(c=null){i(c),_()},get disabled(){return o()},set disabled(c=!1){o(c),_()},get size(){return s()},set size(c="medium"){s(c),_()},get type(){return a()},set type(c="button"){a(c),_()},get onclick(){return l()},set onclick(c){l(c),_()},get children(){return u()},set children(c=null){u(c),_()},get class(){return d()},set class(c=""){d(c),_()}})}customElements.define("graymatter-button",B(hi,{variant:{attribute:"variant",reflect:!0,type:"String"},theme:{attribute:"theme",reflect:!0,type:"String"},href:{attribute:"href",reflect:!0,type:"String"},disabled:{attribute:"disabled",reflect:!0,type:"Boolean"},size:{attribute:"size",reflect:!0,type:"String"},type:{attribute:"type",reflect:!0,type:"String"},onclick:{},children:{},class:{}},["default"],[],!0));const qt=typeof window<"u";function Aa(e,t){if(qt&&typeof sessionStorage<"u"){const r=sessionStorage.getItem(e);if(r!==null)try{return JSON.parse(r)}catch(n){return console.warn(`Failed to parse stored value for ${e}:`,n),t}}return t}function bi(e,t){const r=Aa(e,t),n=ir(r);return qt&&n.subscribe(i=>{try{sessionStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to sessionStorage:`,o)}}),n}bi("subNav-selectedId",null);const tt=bi("subNav-selectedTitle","");function pi(e,t){if(qt&&typeof localStorage<"u"){const r=localStorage.getItem(e);if(r!==null)try{return JSON.parse(r)}catch(n){return console.warn(`Failed to parse stored value for ${e}:`,n),t}}return t}function gi(e,t){const r=pi(e,t),n=ir(r);return qt&&n.subscribe(i=>{try{localStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to localStorage:`,o)}}),n}const xe=gi("globalSideNav-isExpanded",!1),rt=gi("globalSideNav-selectedItem",null),Vr=ya(rt,e=>e==="discover"),Ie={toggleExpanded:()=>{xe.update(e=>!e)},setExpanded:e=>{xe.set(e)},setSelectedItem:e=>{rt.set(e),e==="discover"?xe.set(!1):qt&&window.innerWidth>640&&xe.set(!0)},handleLayoutTransition:e=>{if(e)xe.set(!1);else{const t=pi("globalSideNav-selectedItem",null);t&&t!=="discover"?(console.log("[NavigationStore] Opening navigation for desktop (non-discover page)"),xe.set(!0)):xe.set(!1)}}},lr=Object.freeze(Object.defineProperty({__proto__:null,isExpanded:xe,isMenuButtonDisabled:Vr,navigationStore:Ie,selectedItem:rt,selectedSubNavItemTitle:tt},Symbol.toStringTag,{value:"Module"})),Oa=ir(!1);var qa=ve('<div part="global-header"><div class="header-content svelte-1p8bjnn" part="header-content"><span class="header-text svelte-1p8bjnn"> </span></div></div>');const Pa={hash:"svelte-1p8bjnn",code:".global-header.svelte-1p8bjnn {opacity:0;transition:opacity 0.2s;}.global-header.visible.svelte-1p8bjnn {opacity:1;transition:opacity 0.2s;}.header-content.svelte-1p8bjnn {display:flex;align-items:center;gap:var(--ai-size-16);background:var(--ai-color-white);height:var(--ai-size-56);padding:0 5.8rem;}.header-content.svelte-1p8bjnn {display:flex;align-items:center;gap:var(--ai-size-16);align-self:stretch;}.header-text.svelte-1p8bjnn {color:var(--ai-color-black);font-size:var(--ai-size-16);font-weight:400;line-height:1.3;}"};function mi(e,t){Y(t,!0),pt(e,Pa);const[r,n]=Ot(),i=()=>pe(rt,"$selectedItem",r),o=()=>pe(xe,"$isExpanded",r),s=()=>pe(Oa,"$subNavReady",r),a=()=>pe(tt,"$selectedSubNavItemTitle",r),l=k(t,"customHeaderText",7,"");let u=!1;const d=G(()=>()=>i()&&i()!=="discover"&&!o()&&!u&&s()),f=G(()=>()=>l()||a());tr(()=>{const h=w=>{if(typeof window<"u"&&window.innerWidth<=640)return;let x=null;if(typeof window<"u"&&(x=sessionStorage.getItem("subNav-topLevelTitle"),x))try{x=JSON.parse(x)}catch{}if(typeof x=="string"&&x.trim()!=="")tt.set(x),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(x));else{const L=w;L.detail&&L.detail.title&&(tt.set(L.detail.title),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(L.detail.title)))}},p=w=>{const x=w,{isMobile:L}=x.detail;L||(u=!0,setTimeout(()=>{u=!1},300))};return window.addEventListener("sectionVisible",h),window.addEventListener("layoutTransition",p),()=>{window.removeEventListener("sectionVisible",h),window.removeEventListener("layoutTransition",p)}});var c=qa();let v;var b=S(c),g=S(b),y=S(g,!0);C(g),C(b),C(c),ft((h,p)=>{v=be(c,1,"global-header svelte-1p8bjnn",null,v,h),Lr(y,p)},[()=>({visible:E(d)()}),()=>E(f)()]),I(e,c);var m=Z({get customHeaderText(){return l()},set customHeaderText(h=""){l(h),_()}});return n(),m}B(mi,{customHeaderText:{}},[],[],!0);function wi(e,t){Y(t,!0);let r=k(t,"customHeaderText",7,"");return mi(e,{get customHeaderText(){return r()}}),Z({get customHeaderText(){return r()},set customHeaderText(n=""){r(n),_()}})}customElements.define("graymatter-desktop-header",B(wi,{customHeaderText:{attribute:"custom-header-text",reflect:!0,type:"String"}},[],[],!0)),Co();var ja=H('<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7883 3.2108C11.2367 2.13286 12.7637 2.13286 13.212 3.2108L15.294 8.21652L20.6981 8.64976C21.8619 8.74306 22.3337 10.1953 21.4471 10.9549L17.3298 14.4818L18.5877 19.7553C18.8585 20.8909 17.6232 21.7884 16.6268 21.1799L12.0002 18.354L7.37353 21.1799C6.37721 21.7884 5.14182 20.8909 5.4127 19.7553L6.67062 14.4818L2.55328 10.9549C1.66664 10.1953 2.13851 8.74306 3.30224 8.64976L8.70633 8.21652L10.7883 3.2108Z" fill="black"></path>'),Da=H('<path d="M11.4807 3.49883C11.6729 3.03685 12.3273 3.03685 12.5195 3.49883L14.6454 8.61028C14.7264 8.80504 14.9096 8.93811 15.1199 8.95497L20.6381 9.39736C21.1369 9.43735 21.3391 10.0598 20.9591 10.3853L16.7548 13.9867C16.5946 14.1239 16.5246 14.3392 16.5736 14.5444L17.858 19.9293C17.9741 20.416 17.4447 20.8007 17.0177 20.5398L12.2933 17.6542C12.1133 17.5443 11.8869 17.5443 11.7069 17.6542L6.98251 20.5398C6.55551 20.8007 6.02606 20.416 6.14215 19.9293L7.42664 14.5444C7.47558 14.3392 7.40562 14.1239 7.24543 13.9867L3.04111 10.3853C2.66112 10.0598 2.86335 9.43735 3.36209 9.39736L8.88034 8.95497C9.0906 8.93811 9.27375 8.80504 9.35476 8.61028L11.4807 3.49883Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>'),Ha=H('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Rr(e,t){Y(t,!1);let r=k(t,"isSelected",12,!1);var n=Ha(),i=S(n);{var o=a=>{var l=ja();I(a,l)},s=a=>{var l=Da();I(a,l)};he(i,a=>{r()?a(o):a(s,!1)})}return C(n),I(e,n),Z({get isSelected(){return r()},set isSelected(a){r(a),_()}})}B(Rr,{isSelected:{}},[],[],!0);var Va=H('<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508Z" fill="black"></path>'),Ra=H('<path d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508ZM7.61816 4.45898C5.87327 4.4591 4.4591 5.87327 4.45898 7.61816V13.2832C4.4591 15.0281 5.87327 16.4432 7.61816 16.4434L8.24609 16.4424C8.64868 16.4424 8.97539 16.7693 8.97559 17.1719V19.958L12.4775 16.6426C12.6186 16.5091 12.7994 16.4443 12.9795 16.4443V16.4434H17.0508C18.7954 16.443 20.2099 15.0279 20.21 13.2832V7.61816C20.2098 5.87344 18.7954 4.45938 17.0508 4.45898H7.61816Z" fill="#585C63"></path>'),Ba=H('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Br(e,t){Y(t,!1);let r=k(t,"isSelected",12,!1);var n=Ba(),i=S(n);{var o=a=>{var l=Va();I(a,l)},s=a=>{var l=Ra();I(a,l)};he(i,a=>{r()?a(o):a(s,!1)})}return C(n),I(e,n),Z({get isSelected(){return r()},set isSelected(a){r(a),_()}})}B(Br,{isSelected:{}},[],[],!0);var Fa=H('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" fill="black" stroke="black" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="black" stroke-width="1.5" stroke-linecap="square"></path>',1),Ya=H('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" stroke="#585C63" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" stroke="#585C63" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" stroke="#585C63" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="#585C63" stroke-width="1.5" stroke-linecap="square"></path>',1),Za=H('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Fr(e,t){Y(t,!1);let r=k(t,"isSelected",12,!1);var n=Za(),i=S(n);{var o=a=>{var l=Fa();Se(3),I(a,l)},s=a=>{var l=Ya();Se(3),I(a,l)};he(i,a=>{r()?a(o):a(s,!1)})}return C(n),I(e,n),Z({get isSelected(){return r()},set isSelected(a){r(a),_()}})}B(Fr,{isSelected:{}},[],[],!0);var Ja=H('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="black" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4998L2 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4998L20.3335 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0005L2 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0005L20.3335 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.5L2 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.5L20.3335 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path></g><path d="M10.5 8.52856H13.7559C14.7224 8.52856 15.5059 9.31207 15.5059 10.2786V13.5344C15.5059 14.5009 14.7224 15.2844 13.7559 15.2844H10.5C9.5335 15.2844 8.75 14.5009 8.75 13.5344V10.2786C8.75 9.31207 9.5335 8.52856 10.5 8.52856Z" fill="black" stroke="black" stroke-width="1.5"></path>',1),Wa=H('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4995L2 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4995L20.3335 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0002L2 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0002L20.3335 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.49976L2 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.49976L20.3335 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path></g><rect x="8.52881" y="8.52856" width="6.75594" height="6.75594" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect>',1),Ka=H('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Yr(e,t){Y(t,!1);let r=k(t,"isSelected",12,!1);var n=Ka(),i=S(n);{var o=a=>{var l=Ja();Se(2),I(a,l)},s=a=>{var l=Wa();Se(2),I(a,l)};he(i,a=>{r()?a(o):a(s,!1)})}return C(n),I(e,n),Z({get isSelected(){return r()},set isSelected(a){r(a),_()}})}B(Yr,{isSelected:{}},[],[],!0);var Ga=H('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#C7CDD6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path stroke="#C7CDD6" stroke-width="1.5"></path>',1),Xa=H('<path d="M12.25 18L6 12M6 12L12.25 6M6 12L21 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>',1),Qa=H('<path d="M11.75 18.25L18 12M18 12L11.75 5.75M18 12L3 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>',1),es=H('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'),ts=H('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'),rs=H('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><!>',1),ns=H("<svg><!></svg>");function Zr(e,t){const r=ar(t,["children","$$slots","$$events","$$legacy","$$host"]),n=ar(r,["isDisabled","isHovered","isOpen"]);Y(t,!1);let i=k(t,"isDisabled",12,!1),o=k(t,"isHovered",12,!1),s=k(t,"isOpen",12,!1);var a=ns();nr(a,()=>({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...n}));var l=S(a);{var u=f=>{var c=Ga(),v=X(Ye(c));ft(()=>ee(v,"d",`M${s()?"8.18018":"9.18018"} ${s()?"5.45068":"3.27222"}V${s()?"18.5208":"20.9203"}`)),I(f,c)},d=(f,c)=>{{var v=g=>{var y=Ut(),m=Ye(y);{var h=w=>{var x=Xa();Se(),I(w,x)},p=w=>{var x=Qa();Se(),I(w,x)};he(m,w=>{s()?w(h):w(p,!1)})}I(g,y)},b=g=>{var y=rs(),m=X(Ye(y));{var h=w=>{var x=es();I(w,x)},p=w=>{var x=ts();I(w,x)};he(m,w=>{s()?w(h):w(p,!1)})}I(g,y)};he(f,g=>{o()?g(v):g(b,!1)},c)}};he(l,f=>{i()?f(u):f(d,!1)})}return C(a),I(e,a),Z({get isDisabled(){return i()},set isDisabled(f){i(f),_()},get isHovered(){return o()},set isHovered(f){o(f),_()},get isOpen(){return s()},set isOpen(f){s(f),_()}})}B(Zr,{isDisabled:{},isHovered:{},isOpen:{}},[],[],!0);const is={};function Jr(e,t){t||console.warn(`[getAppUrls] Environment variable for ${e} is missing!`)}function _i(e){const t=is,r="#",n=t.PUBLIC_CHAT_URL,i=t.PUBLIC_CONSOLE_URL,o=t.PUBLIC_API_URL,s=t.PUBLIC_DISCOVER_URL;return Jr("chat",n),Jr("console",i),Jr("api",o),{chat:n||r,console:i||r,api:o||"/api",discover:s||"/discover"}}function os(e,t,r,n){var i;t()||(Ie.toggleExpanded(),(i=r())==null||i({expanded:n()}))}var as=(e,t)=>t("discover"),ss=(e,t)=>t(e,"discover"),ls=(e,t)=>t("chat"),us=(e,t)=>t(e,"chat"),cs=(e,t)=>t("console"),ds=(e,t)=>t(e,"console"),fs=(e,t)=>t("api"),vs=(e,t)=>t(e,"api"),hs=(e,t)=>{var r;return(r=t())==null?void 0:r()},bs=(e,t)=>{var r;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),(r=t())==null||r())},ps=ve('<div class="drawer-content svelte-14q02bh" part="drawer-content"><div class="logo-placeholder svelte-14q02bh" part="logo-placeholder"></div> <nav aria-label="Sub navigation" part="sub-navigation"><!></nav></div>'),gs=ve('<div part="side-nav-container"><div class="nav-content svelte-14q02bh" part="nav-content"><div class="nav-main svelte-14q02bh" part="nav-main"><div class="menu-section svelte-14q02bh" part="menu-section"><button><div class="icon-container svelte-14q02bh"><div class="icon-wrapper svelte-14q02bh"><!></div></div></button></div> <div class="nav-items svelte-14q02bh" part="nav-items"><a part="discover-item"><div class="icon-container svelte-14q02bh"><div class="icon-wrapper svelte-14q02bh"><!></div></div> <span class="nav-text svelte-14q02bh">Discover</span></a> <a part="chat-item"><div class="icon-container svelte-14q02bh"><div class="icon-wrapper svelte-14q02bh"><!></div></div> <span class="nav-text svelte-14q02bh">Chat</span></a> <a part="console-item"><div class="icon-container svelte-14q02bh"><div class="icon-wrapper svelte-14q02bh"><!></div></div> <span class="nav-text svelte-14q02bh">Console</span></a> <a part="api-item"><div class="icon-container svelte-14q02bh"><div class="icon-wrapper svelte-14q02bh"><!></div></div> <span class="nav-text svelte-14q02bh">API</span></a></div></div> <div class="nav-footer svelte-14q02bh" part="nav-footer"><button class="user-profile-button svelte-14q02bh" tabindex="0"><div class="user-profile-container svelte-14q02bh"><div class="user-profile-icon svelte-14q02bh" part="user-profile-icon"><span class="user-initials svelte-14q02bh">ZW</span></div></div></button></div></div> <div part="expanded-content"><!></div></div>');const ms={hash:"svelte-14q02bh",code:`.expanded-content.drawer-anim.svelte-14q02bh {max-width:0;overflow:hidden;pointer-events:none;transition:max-width 0.2s cubic-bezier(.4, 0, .2, 1);}.expanded-content.drawer-anim.open.svelte-14q02bh {max-width:12.5rem;pointer-events:auto;}.drawer-content.svelte-14q02bh {width:12.5rem;height:100%;}.logo-placeholder.svelte-14q02bh {height:var(--ai-size-72);}.user-profile-container.svelte-14q02bh,
22
- .user-profile-icon.svelte-14q02bh {display:flex;align-items:center;justify-content:center;}.menu-button.svelte-14q02bh {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color 0.2s ease;}.menu-button.svelte-14q02bh:disabled,
23
- .menu-button.disabled.svelte-14q02bh {cursor:not-allowed;opacity:0.5;background-color:transparent;}.user-profile-icon.svelte-14q02bh {border-radius:var(--ai-size-6);background:var(--ai-color-steel-700);}.user-initials.svelte-14q02bh {color:var(--ai-color-white);text-align:center;font-weight:400;line-height:1.3;}.side-nav-container.svelte-14q02bh {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-2);height:100%;}.side-nav-container.expanded.svelte-14q02bh {width:16.875rem;min-width:12.5rem;max-width:16.875rem;height:100%;}.expanded-content.svelte-14q02bh {display:flex;width:12.5rem;opacity:1;flex:none;height:100%;background:var(--ai-color-steel-100);border-right:0.0625rem solid var(--ai-color-steel-100);overflow:hidden;flex-direction:column;}.side-nav-container.expanded.svelte-14q02bh .expanded-content:where(.svelte-14q02bh) {width:12.5rem;opacity:1;overflow-y:auto;}.side-nav-container.svelte-14q02bh:not(.expanded) .expanded-content:where(.svelte-14q02bh) {width:0;opacity:0;}.nav-content.svelte-14q02bh {display:flex;width:var(--ai-size-72);height:100%;padding-bottom:var(--ai-size-16);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:none;background:var(--ai-color-steel-200);border-right:0.0625rem solid var(--ai-color-steel-200);}.nav-main.svelte-14q02bh {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-14q02bh {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;margin-top:auto;}.user-profile-button.svelte-14q02bh {background:none;border:none;padding:0;cursor:pointer;display:flex;justify-content:center;align-items:center;}.user-profile-button.svelte-14q02bh:focus {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.user-profile-container.svelte-14q02bh {width:var(--ai-size-40);height:var(--ai-size-40);aspect-ratio:1/1;}.user-profile-icon.svelte-14q02bh {padding:0.5556rem 0.4931rem 0.5694rem 0.3819rem;}.user-initials.svelte-14q02bh {font-size:var(--ai-size-16);font-style:normal;}.menu-section.svelte-14q02bh {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-14q02bh {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity 0.2s ease;will-change:opacity;}.menu-button.disabled.svelte-14q02bh {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-14q02bh:focus,
24
- .nav-item.svelte-14q02bh:focus {outline:none;}.menu-button.svelte-14q02bh:focus .icon-container:where(.svelte-14q02bh),
25
- .nav-item.svelte-14q02bh:focus .icon-container:where(.svelte-14q02bh) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.nav-items.svelte-14q02bh {display:flex;width:var(--ai-size-72);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);}.nav-item.svelte-14q02bh {display:flex;height:4.125rem;padding:var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-2);align-self:stretch;cursor:pointer;text-decoration:none;color:inherit;position:relative;flex-shrink:0;}.icon-container.svelte-14q02bh {display:flex;width:var(--ai-size-40);height:var(--ai-size-40);padding:var(--ai-size-8);justify-content:center;align-items:center;flex-shrink:0;position:relative;contain:layout style;transition:background-color 0.3s ease,
26
- border-radius 0.3s ease;}.icon-wrapper.svelte-14q02bh {display:flex;width:var(--ai-size-28);height:var(--ai-size-28);justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;position:relative;overflow:hidden;transition:transform 0.3s ease;}.icon-wrapper.svelte-14q02bh svg {width:var(--ai-size-24);height:var(--ai-size-24);flex-shrink:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);transition:all 0.3s ease;}.icon-wrapper.svelte-14q02bh svg path {stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke 0.3s ease,
21
+ /* disabled button styles */:is(.disabled.svelte-zftwkm, [disabled].svelte-zftwkm, [aria-disabled=true].svelte-zftwkm) {background:var(--ai-button-background-primary-disabled);color:var(--ai-button-text-primary-disabled);cursor:not-allowed;}.ai-button--inverted.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:var(--ai-button-background-inverted-disabled);color:var(--ai-button-text-inverted-disabled);}.ai-button--outline.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:transparent;box-shadow:var(--ai-button-box-shadow) var(--ai-color-neutral-700);color:var(--ai-color-neutral-700);}.ai-button--outline-inverted.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {box-shadow:var(--ai-button-box-shadow) var(--ai-color-neutral-200);color:var(--ai-color-neutral-600);}.ai-button--unstyled.svelte-zftwkm:is(.disabled:where(.svelte-zftwkm), [disabled]:where(.svelte-zftwkm), [aria-disabled=true]:where(.svelte-zftwkm)) {background:none;color:inherit;opacity:0.75;}`};function Si(e,t){K(t,!0),ht(e,Ra);let r=k(t,"variant",7,"primary"),n=k(t,"theme",7,"default"),i=k(t,"href",7,null),o=k(t,"disabled",7,!1),s=k(t,"onclick",7),a=k(t,"children",7,null),l=k(t,"size",7,"medium"),u=k(t,"type",7,"button"),f=k(t,"class",7,""),d=Qr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","onclick","children","size","type","class"]);const c=ee(()=>()=>["usa-button","ai-button",l()==="small"?"ai-button--small":"",n()==="inverted"&&r()==="primary"?"ai-button--inverted":"",n()==="inverted"&&r()==="secondary"?"ai-button--outline-inverted":"",r()==="primary"?"usa-button--primary":"",r()==="secondary"?"usa-button--outline ai-button--outline":"",r()==="unstyled"?"ai-button--unstyled":""].filter(Boolean).join(" ")),p=ee(()=>()=>`${w(c)()} ${f()}`.trim());var g=St(),y=Ge(g);{var S=v=>{var b=Pa();pr(b,(m,L)=>({class:m,href:i(),onclick:s(),...d,[Nt]:L}),[()=>w(p)(),()=>({disabled:o()})],"svelte-zftwkm");var h=C(b);Zr(h,()=>a()??xe),z(b),M(v,b)},E=v=>{var b=Va();pr(b,m=>({class:m,type:u(),disabled:o(),onclick:s(),...d}),[()=>w(p)()],"svelte-zftwkm");var h=C(b);Zr(h,()=>a()??xe),z(b),M(v,b)};le(y,v=>{i()?v(S):v(E,!1)})}return M(e,g),W({get variant(){return r()},set variant(v="primary"){r(v),_()},get theme(){return n()},set theme(v="default"){n(v),_()},get href(){return i()},set href(v=null){i(v),_()},get disabled(){return o()},set disabled(v=!1){o(v),_()},get onclick(){return s()},set onclick(v){s(v),_()},get children(){return a()},set children(v=null){a(v),_()},get size(){return l()},set size(v="medium"){l(v),_()},get type(){return u()},set type(v="button"){u(v),_()},get class(){return f()},set class(v=""){f(v),_()}})}X(Si,{variant:{},theme:{},href:{},disabled:{},onclick:{},children:{},size:{},type:{},class:{}},[],[],!0);function Ii(e,t){K(t,!0);let r=k(t,"variant",7,"primary"),n=k(t,"theme",7,"default"),i=k(t,"href",7,null),o=k(t,"disabled",7,!1),s=k(t,"size",7,"medium"),a=k(t,"type",7,"button"),l=k(t,"onclick",7),u=k(t,"children",7,null),f=k(t,"class",7,""),d=Qr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","size","type","onclick","children","class"]);return Si(e,Ei({get variant(){return r()},get theme(){return n()},get href(){return i()},get disabled(){return o()},get size(){return s()},get type(){return a()},get onclick(){return l()},get children(){return u()},get class(){return f()}},()=>d,{$$slots:{default:(c,p)=>{var g=St(),y=Ge(g);hr(y,t,"default",{}),M(c,g)}}})),W({get variant(){return r()},set variant(c="primary"){r(c),_()},get theme(){return n()},set theme(c="default"){n(c),_()},get href(){return i()},set href(c=null){i(c),_()},get disabled(){return o()},set disabled(c=!1){o(c),_()},get size(){return s()},set size(c="medium"){s(c),_()},get type(){return a()},set type(c="button"){a(c),_()},get onclick(){return l()},set onclick(c){l(c),_()},get children(){return u()},set children(c=null){u(c),_()},get class(){return f()},set class(c=""){f(c),_()}})}customElements.define("graymatter-button",X(Ii,{variant:{attribute:"variant",reflect:!0,type:"String"},theme:{attribute:"theme",reflect:!0,type:"String"},href:{attribute:"href",reflect:!0,type:"String"},disabled:{attribute:"disabled",reflect:!0,type:"Boolean"},size:{attribute:"size",reflect:!0,type:"String"},type:{attribute:"type",reflect:!0,type:"String"},onclick:{},children:{},class:{}},["default"],[],!0));const Xt=typeof window<"u";function Ba(e,t){if(Xt&&typeof sessionStorage<"u"){const r=sessionStorage.getItem(e);if(r!==null)try{return JSON.parse(r)}catch(n){return console.warn(`Failed to parse stored value for ${e}:`,n),t}}return t}function Ni(e,t){const r=Ba(e,t),n=gr(r);return Xt&&n.subscribe(i=>{try{sessionStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to sessionStorage:`,o)}}),n}Ni("subNav-selectedId",null);const pt=Ni("subNav-selectedTitle","");function Li(e,t){if(Xt&&typeof localStorage<"u"){const r=localStorage.getItem(e);if(r!==null)try{return JSON.parse(r)}catch(n){return console.warn(`Failed to parse stored value for ${e}:`,n),t}}return t}function Mi(e,t){const r=Li(e,t),n=gr(r);return Xt&&n.subscribe(i=>{try{localStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to localStorage:`,o)}}),n}const Ue=Mi("globalSideNav-isExpanded",!1),gt=Mi("globalSideNav-selectedItem",null),en=La(gt,e=>e==="discover"),Oe={toggleExpanded:()=>{Ue.update(e=>!e)},setExpanded:e=>{Ue.set(e)},setSelectedItem:e=>{gt.set(e),e==="discover"?Ue.set(!1):Xt&&window.innerWidth>640&&Ue.set(!0)},handleLayoutTransition:e=>{if(e)Ue.set(!1);else{const t=Li("globalSideNav-selectedItem",null);t&&t!=="discover"?(console.log("[NavigationStore] Opening navigation for desktop (non-discover page)"),Ue.set(!0)):Ue.set(!1)}}},_r=Object.freeze(Object.defineProperty({__proto__:null,isExpanded:Ue,isMenuButtonDisabled:en,navigationStore:Oe,selectedItem:gt,selectedSubNavItemTitle:pt},Symbol.toStringTag,{value:"Module"})),Fa=gr(!1);var Ya=se('<div part="global-header"><div class="header-content svelte-1p8bjnn" part="header-content"><span class="header-text svelte-1p8bjnn"> </span></div></div>');const qa={hash:"svelte-1p8bjnn",code:".global-header.svelte-1p8bjnn {opacity:0;transition:opacity 0.2s;}.global-header.visible.svelte-1p8bjnn {opacity:1;transition:opacity 0.2s;}.header-content.svelte-1p8bjnn {display:flex;align-items:center;gap:var(--ai-size-16);background:var(--ai-color-white);height:var(--ai-size-56);padding:0 5.8rem;}.header-content.svelte-1p8bjnn {display:flex;align-items:center;gap:var(--ai-size-16);align-self:stretch;}.header-text.svelte-1p8bjnn {color:var(--ai-color-black);font-size:var(--ai-size-16);font-weight:400;line-height:1.3;}"};function $i(e,t){K(t,!0),ht(e,qa);const[r,n]=Gt(),i=()=>Ne(gt,"$selectedItem",r),o=()=>Ne(Ue,"$isExpanded",r),s=()=>Ne(Fa,"$subNavReady",r),a=()=>Ne(pt,"$selectedSubNavItemTitle",r),l=k(t,"customHeaderText",7,"");let u=!1;const f=ee(()=>()=>i()&&i()!=="discover"&&!o()&&!u&&s()),d=ee(()=>()=>l()||a());Kt(()=>{const v=h=>{if(typeof window<"u"&&window.innerWidth<=640)return;let m=null;if(typeof window<"u"&&(m=sessionStorage.getItem("subNav-topLevelTitle"),m))try{m=JSON.parse(m)}catch{}if(typeof m=="string"&&m.trim()!=="")pt.set(m),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(m));else{const L=h;L.detail&&L.detail.title&&(pt.set(L.detail.title),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(L.detail.title)))}},b=h=>{const m=h,{isMobile:L}=m.detail;L||(u=!0,setTimeout(()=>{u=!1},300))};return window.addEventListener("sectionVisible",v),window.addEventListener("layoutTransition",b),()=>{window.removeEventListener("sectionVisible",v),window.removeEventListener("layoutTransition",b)}});var c=Ya();let p;var g=C(c),y=C(g),S=C(y,!0);z(y),z(g),z(c),Se((v,b)=>{p=ye(c,1,"global-header svelte-1p8bjnn",null,p,v),Jt(S,b)},[()=>({visible:w(f)()}),()=>w(d)()]),M(e,c);var E=W({get customHeaderText(){return l()},set customHeaderText(v=""){l(v),_()}});return n(),E}X($i,{customHeaderText:{}},[],[],!0);function Ti(e,t){K(t,!0);let r=k(t,"customHeaderText",7,"");return $i(e,{get customHeaderText(){return r()}}),W({get customHeaderText(){return r()},set customHeaderText(n=""){r(n),_()}})}customElements.define("graymatter-desktop-header",X(Ti,{customHeaderText:{attribute:"custom-header-text",reflect:!0,type:"String"}},[],[],!0)),Ao();var Za=G('<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7883 3.2108C11.2367 2.13286 12.7637 2.13286 13.212 3.2108L15.294 8.21652L20.6981 8.64976C21.8619 8.74306 22.3337 10.1953 21.4471 10.9549L17.3298 14.4818L18.5877 19.7553C18.8585 20.8909 17.6232 21.7884 16.6268 21.1799L12.0002 18.354L7.37353 21.1799C6.37721 21.7884 5.14182 20.8909 5.4127 19.7553L6.67062 14.4818L2.55328 10.9549C1.66664 10.1953 2.13851 8.74306 3.30224 8.64976L8.70633 8.21652L10.7883 3.2108Z" fill="black"></path>'),Ja=G('<path d="M11.4807 3.49883C11.6729 3.03685 12.3273 3.03685 12.5195 3.49883L14.6454 8.61028C14.7264 8.80504 14.9096 8.93811 15.1199 8.95497L20.6381 9.39736C21.1369 9.43735 21.3391 10.0598 20.9591 10.3853L16.7548 13.9867C16.5946 14.1239 16.5246 14.3392 16.5736 14.5444L17.858 19.9293C17.9741 20.416 17.4447 20.8007 17.0177 20.5398L12.2933 17.6542C12.1133 17.5443 11.8869 17.5443 11.7069 17.6542L6.98251 20.5398C6.55551 20.8007 6.02606 20.416 6.14215 19.9293L7.42664 14.5444C7.47558 14.3392 7.40562 14.1239 7.24543 13.9867L3.04111 10.3853C2.66112 10.0598 2.86335 9.43735 3.36209 9.39736L8.88034 8.95497C9.0906 8.93811 9.27375 8.80504 9.35476 8.61028L11.4807 3.49883Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>'),Ka=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function tn(e,t){K(t,!1);let r=k(t,"isSelected",12,!1);var n=Ka(),i=C(n);{var o=a=>{var l=Za();M(a,l)},s=a=>{var l=Ja();M(a,l)};le(i,a=>{r()?a(o):a(s,!1)})}return z(n),M(e,n),W({get isSelected(){return r()},set isSelected(a){r(a),_()}})}X(tn,{isSelected:{}},[],[],!0);var Wa=G('<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508Z" fill="black"></path>'),Ga=G('<path d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508ZM7.61816 4.45898C5.87327 4.4591 4.4591 5.87327 4.45898 7.61816V13.2832C4.4591 15.0281 5.87327 16.4432 7.61816 16.4434L8.24609 16.4424C8.64868 16.4424 8.97539 16.7693 8.97559 17.1719V19.958L12.4775 16.6426C12.6186 16.5091 12.7994 16.4443 12.9795 16.4443V16.4434H17.0508C18.7954 16.443 20.2099 15.0279 20.21 13.2832V7.61816C20.2098 5.87344 18.7954 4.45938 17.0508 4.45898H7.61816Z" fill="#585C63"></path>'),Xa=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function rn(e,t){K(t,!1);let r=k(t,"isSelected",12,!1);var n=Xa(),i=C(n);{var o=a=>{var l=Wa();M(a,l)},s=a=>{var l=Ga();M(a,l)};le(i,a=>{r()?a(o):a(s,!1)})}return z(n),M(e,n),W({get isSelected(){return r()},set isSelected(a){r(a),_()}})}X(rn,{isSelected:{}},[],[],!0);var Qa=G('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" fill="black" stroke="black" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="black" stroke-width="1.5" stroke-linecap="square"></path>',1),es=G('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" stroke="#585C63" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" stroke="#585C63" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" stroke="#585C63" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="#585C63" stroke-width="1.5" stroke-linecap="square"></path>',1),ts=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function nn(e,t){K(t,!1);let r=k(t,"isSelected",12,!1);var n=ts(),i=C(n);{var o=a=>{var l=Qa();Pe(3),M(a,l)},s=a=>{var l=es();Pe(3),M(a,l)};le(i,a=>{r()?a(o):a(s,!1)})}return z(n),M(e,n),W({get isSelected(){return r()},set isSelected(a){r(a),_()}})}X(nn,{isSelected:{}},[],[],!0);var rs=G('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="black" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4998L2 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4998L20.3335 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0005L2 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0005L20.3335 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.5L2 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.5L20.3335 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path></g><path d="M10.5 8.52856H13.7559C14.7224 8.52856 15.5059 9.31207 15.5059 10.2786V13.5344C15.5059 14.5009 14.7224 15.2844 13.7559 15.2844H10.5C9.5335 15.2844 8.75 14.5009 8.75 13.5344V10.2786C8.75 9.31207 9.5335 8.52856 10.5 8.52856Z" fill="black" stroke="black" stroke-width="1.5"></path>',1),ns=G('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4995L2 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4995L20.3335 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0002L2 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0002L20.3335 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.49976L2 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.49976L20.3335 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path></g><rect x="8.52881" y="8.52856" width="6.75594" height="6.75594" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect>',1),is=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function on(e,t){K(t,!1);let r=k(t,"isSelected",12,!1);var n=is(),i=C(n);{var o=a=>{var l=rs();Pe(2),M(a,l)},s=a=>{var l=ns();Pe(2),M(a,l)};le(i,a=>{r()?a(o):a(s,!1)})}return z(n),M(e,n),W({get isSelected(){return r()},set isSelected(a){r(a),_()}})}X(on,{isSelected:{}},[],[],!0);var os=G('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#C7CDD6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path stroke="#C7CDD6" stroke-width="1.5"></path>',1),as=G('<path d="M12.25 18L6 12M6 12L12.25 6M6 12L21 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>',1),ss=G('<path d="M11.75 18.25L18 12M18 12L11.75 5.75M18 12L3 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>',1),ls=G('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'),us=G('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'),cs=G('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><!>',1),ds=G("<svg><!></svg>");function an(e,t){const r=br(t,["children","$$slots","$$events","$$legacy","$$host"]),n=br(r,["isDisabled","isHovered","isOpen"]);K(t,!1);let i=k(t,"isDisabled",12,!1),o=k(t,"isHovered",12,!1),s=k(t,"isOpen",12,!1);var a=ds();pr(a,()=>({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...n}));var l=C(a);{var u=d=>{var c=os(),p=ie(Ge(c));Se(()=>Z(p,"d",`M${s()?"8.18018":"9.18018"} ${s()?"5.45068":"3.27222"}V${s()?"18.5208":"20.9203"}`)),M(d,c)},f=(d,c)=>{{var p=y=>{var S=St(),E=Ge(S);{var v=h=>{var m=as();Pe(),M(h,m)},b=h=>{var m=ss();Pe(),M(h,m)};le(E,h=>{s()?h(v):h(b,!1)})}M(y,S)},g=y=>{var S=cs(),E=ie(Ge(S));{var v=h=>{var m=ls();M(h,m)},b=h=>{var m=us();M(h,m)};le(E,h=>{s()?h(v):h(b,!1)})}M(y,S)};le(d,y=>{o()?y(p):y(g,!1)},c)}};le(l,d=>{i()?d(u):d(f,!1)})}return z(a),M(e,a),W({get isDisabled(){return i()},set isDisabled(d){i(d),_()},get isHovered(){return o()},set isHovered(d){o(d),_()},get isOpen(){return s()},set isOpen(d){s(d),_()}})}X(an,{isDisabled:{},isHovered:{},isOpen:{}},[],[],!0);var fs=se('<button type="button" class="menu-item svelte-1fj88ws" role="menuitem"><span class="icon svelte-1fj88ws"><img alt="" aria-hidden="true" width="20" height="20"/></span> <div class="menu-text svelte-1fj88ws"> </div></button>'),vs=se('<div tabindex="-1" role="menu"></div>'),hs=se('<div style="position: relative; display: inline-block;"><button class="user-profile-button svelte-1fj88ws" tabindex="0" aria-haspopup="menu"><div class="user-profile-container svelte-1fj88ws"><div class="user-profile-icon svelte-1fj88ws" part="user-profile-icon"><span class="user-initials svelte-1fj88ws"> </span></div></div></button> <!></div>');const ps={hash:"svelte-1fj88ws",code:`.user-profile-container.svelte-1fj88ws,
22
+ .user-profile-icon.svelte-1fj88ws {display:flex;align-items:center;justify-content:center;}.user-profile-container.svelte-1fj88ws,
23
+ .user-profile-icon.svelte-1fj88ws {display:flex;align-items:center;justify-content:center;}.user-profile-icon.svelte-1fj88ws {border-radius:var(--ai-size-4);background:var(--ai-color-blue-800);}.user-initials.svelte-1fj88ws {color:var(--ai-color-white);text-align:center;font-weight:400;line-height:1.3;}.user-profile-button.svelte-1fj88ws {background:none;border:none;padding:0;cursor:pointer;display:flex;justify-content:center;align-items:center;}.user-profile-button.svelte-1fj88ws:focus {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.user-profile-button.svelte-1fj88ws:focus:not(:focus-visible) {outline:none;}.user-profile-container.svelte-1fj88ws {width:var(--ai-size-40);height:var(--ai-size-40);aspect-ratio:1/1;}.user-profile-icon.svelte-1fj88ws {padding:0.5556rem 0.4931rem 0.5694rem 0.3819rem;}.user-initials.svelte-1fj88ws {font-size:var(--ai-size-16);font-style:normal;}.profile-context-menu.svelte-1fj88ws {display:flex;width:13.75rem;padding:var(--ai-size-12);flex-direction:column;align-items:flex-start;gap:var(--ai-size-2);border-radius:var(--ai-size-8);border:0.0625rem solid var(--ai-color-steel-200);background:var(--ai-color-white);box-shadow:0 0.1875rem var(--ai-size-6) 0 rgba(50, 54, 61, 0.20);position:absolute;z-index:var(--ai-layer-50);}.profile-context-menu.desktop-align.svelte-1fj88ws {left:100%;top:auto;bottom:0;margin-left:var(--ai-size-8);
24
+ /* aligns bottom of menu with bottom of button */transform:translateY(0);}.profile-context-menu.mobile-align.svelte-1fj88ws {top:110%;right:0;left:auto;bottom:auto;margin-left:0;transform:none;}.menu-item.svelte-1fj88ws {display:flex;align-items:center;gap:var(--ai-size-10);flex:1 0 0;width:100%;cursor:pointer;padding:var(--ai-size-8);background:none;border:none;box-shadow:none;outline:none;}.menu-item.svelte-1fj88ws:focus {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);}.menu-item.svelte-1fj88ws:focus:not(:focus-visible) {outline:none;}.menu-item.svelte-1fj88ws:hover {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);}.icon.svelte-1fj88ws {width:var(--ai-size-20);height:var(--ai-size-20);display:flex;align-items:center;justify-content:center;}.menu-text.svelte-1fj88ws {color:var(--ai-color-black);font-size:var(--ai-size-14);font-style:normal;font-weight:400;line-height:130%;}`};function sn(e,t){K(t,!1),ht(e,ps);let r=k(t,"menuItems",28,()=>[]),n=k(t,"userMeta",12),i=k(t,"ariaLabel",12,"Open profile menu"),o=k(t,"menuAlign",12,"desktop"),s=`profile-menu-${Math.random().toString(36).slice(2,10)}`,a=ot(!1);function l(){T(a,!w(a))}function u(){T(a,!1)}function f(N){const R=N.relatedTarget;(!R||!R.closest(".profile-context-menu"))&&u()}let d=ot(),c=ot([]),p=ot([]);function g(N,R){var ue,J,ce;if(N.key==="ArrowDown"){N.preventDefault();const I=(R+1)%r().length;(ue=w(c)[I])==null||ue.focus()}else if(N.key==="ArrowUp"){N.preventDefault();const I=(R-1+r().length)%r().length;(J=w(c)[I])==null||J.focus()}else N.key==="Escape"&&(u(),(ce=w(d))==null||ce.focus(),N.stopPropagation())}function y(N){var R;w(a)&&N.key==="Escape"&&(u(),(R=w(d))==null||R.focus(),N.stopPropagation())}Kt(()=>(window.addEventListener("keydown",y,!0),()=>{window.removeEventListener("keydown",y,!0)})),Yn(()=>w(p),()=>{T(c,w(p).filter(Boolean))}),qn(),Ia();var S=hs(),E=C(S),v=C(E),b=C(v),h=C(b),m=C(h,!0);z(h),z(b),z(v),z(E),ut(E,N=>T(d,N),()=>w(d));var L=ie(E,2);{var A=N=>{var R=vs();di(R,7,r,ue=>ue.label,(ue,J,ce)=>{var I=fs(),U=C(I),Y=C(U);z(U);var oe=ie(U,2),ve=C(oe,!0);z(oe),z(I),ut(I,(Q,he)=>jo(p,w(p)[he]=Q),Q=>{var he;return(he=w(p))==null?void 0:he[Q]},()=>[w(ce)]),Se(()=>{Z(Y,"src",(w(J),Be(()=>w(J).icon))),Jt(ve,(w(J),Be(()=>w(J).label)))}),re("click",I,()=>{w(J).onClick(),u()}),re("keydown",I,Q=>g(Q,w(ce))),M(ue,I)}),z(R),Se(()=>{ye(R,1,`profile-context-menu ${o()==="desktop"?"desktop-align":"mobile-align"}`,"svelte-1fj88ws"),Z(R,"id",s)}),M(N,R)};le(L,N=>{w(a)&&N(A)})}return z(S),Se(()=>{Z(E,"aria-label",i()),Z(E,"aria-expanded",w(a)),Z(E,"aria-controls",s),Jt(m,(Br(n()),Be(()=>{var N;return(N=n())==null?void 0:N.initials})))}),re("click",E,l),re("blur",E,f),M(e,S),W({get menuItems(){return r()},set menuItems(N){r(N),_()},get userMeta(){return n()},set userMeta(N){n(N),_()},get ariaLabel(){return i()},set ariaLabel(N){i(N),_()},get menuAlign(){return o()},set menuAlign(N){o(N),_()}})}X(sn,{menuItems:{},userMeta:{},ariaLabel:{},menuAlign:{}},[],[],!0);const gs={};function ln(e,t){t||console.warn(`[getAppUrls] Environment variable for ${e} is missing!`)}function Ai(e){const t=gs,r="#",n=t.PUBLIC_CHAT_URL,i=t.PUBLIC_CONSOLE_URL,o=t.PUBLIC_API_URL,s=t.PUBLIC_DISCOVER_URL;return ln("chat",n),ln("console",i),ln("api",o),{chat:n||r,console:i||r,api:o||"/api",discover:s||"/discover"}}var ms=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9.87891 7.51884C11.0505 6.49372 12.95 6.49372 14.1215 7.51884C15.2931 8.54397 15.2931 10.206 14.1215 11.2312C13.9176 11.4096 13.6917 11.5569 13.4513 11.6733C12.7056 12.0341 12.0002 12.6716 12.0002 13.5V14.25M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM12 17.25H12.0075V17.2575H12V17.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Ui(e,t){K(t,!1);let r=k(t,"isHovered",12,!1);var n=ms(),i=C(n);return z(n),Se(()=>Z(i,"stroke",r()?"#000":"#585C63")),M(e,n),W({get isHovered(){return r()},set isHovered(o){r(o),_()}})}X(Ui,{isHovered:{}},[],[],!0);function bs(e,t,r,n){var i;t()||(Oe.toggleExpanded(),(i=r())==null||i({expanded:n()}))}var ws=(e,t)=>t("discover"),_s=(e,t,r)=>{t(e,"discover"),r(e,0)},ks=(e,t)=>t("chat"),ys=(e,t,r)=>{t(e,"chat"),r(e,1)},zs=(e,t)=>t("console"),xs=(e,t,r)=>{t(e,"console"),r(e,2)},Es=(e,t)=>t("api"),Cs=(e,t,r)=>{t(e,"api"),r(e,3)},Ss=se('<div class="nav-items svelte-w02mzu" part="nav-items"><a part="discover-item"><div class="icon-container svelte-w02mzu"><div class="icon-wrapper svelte-w02mzu"><!></div></div> <span class="nav-text svelte-w02mzu">Discover</span></a> <a part="chat-item"><div class="icon-container svelte-w02mzu"><div class="icon-wrapper svelte-w02mzu"><!></div></div> <span class="nav-text svelte-w02mzu">Chat</span></a> <a part="console-item"><div class="icon-container svelte-w02mzu"><div class="icon-wrapper svelte-w02mzu"><!></div></div> <span class="nav-text svelte-w02mzu">Console</span></a> <a part="api-item"><div class="icon-container svelte-w02mzu"><div class="icon-wrapper svelte-w02mzu"><!></div></div> <span class="nav-text svelte-w02mzu">API</span></a></div>'),Is=se('<div class="nav-footer svelte-w02mzu" part="nav-footer"><div class="nav-footer-icon-container svelte-w02mzu"><button type="button" class="nav-footer-icon-inner svelte-w02mzu" tabindex="0" aria-label="Help"><div class="nav-footer-icon-svg-wrapper svelte-w02mzu"><!></div></button></div> <div class="nav-footer-profile-container svelte-w02mzu"><!></div></div>'),Ns=se('<div class="drawer-content svelte-w02mzu" part="drawer-content"><div class="logo-placeholder svelte-w02mzu" part="logo-placeholder"></div> <nav aria-label="Sub navigation" part="sub-navigation"><!></nav></div>'),Ls=se('<div part="side-nav-container"><div class="nav-content svelte-w02mzu" part="nav-content"><div class="nav-main svelte-w02mzu" part="nav-main"><div class="menu-section svelte-w02mzu" part="menu-section"><button><div class="icon-container svelte-w02mzu"><div class="icon-wrapper svelte-w02mzu"><!></div></div></button></div> <!></div> <!></div> <div part="expanded-content"><!></div></div>');const Ms={hash:"svelte-w02mzu",code:`.expanded-content.drawer-anim.svelte-w02mzu {max-width:0;overflow:hidden;pointer-events:none;transition:max-width 0.2s cubic-bezier(.4, 0, .2, 1);}.expanded-content.drawer-anim.open.svelte-w02mzu {max-width:12.5rem;pointer-events:auto;}.drawer-content.svelte-w02mzu {width:12.5rem;height:100%;}.logo-placeholder.svelte-w02mzu {height:var(--ai-size-72);}.menu-button.svelte-w02mzu {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color 0.2s ease;}.menu-button.svelte-w02mzu:disabled,
25
+ .menu-button.disabled.svelte-w02mzu {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-w02mzu {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-2);height:100%;}.side-nav-container.expanded.svelte-w02mzu {width:16.875rem;min-width:12.5rem;max-width:16.875rem;height:100%;}.expanded-content.svelte-w02mzu {display:flex;width:12.5rem;opacity:1;flex:none;height:100%;background:var(--ai-color-steel-100);border-right:0.0625rem solid var(--ai-color-steel-100);overflow:hidden;flex-direction:column;}.side-nav-container.expanded.svelte-w02mzu .expanded-content:where(.svelte-w02mzu) {width:12.5rem;opacity:1;overflow-y:auto;}.side-nav-container.svelte-w02mzu:not(.expanded) .expanded-content:where(.svelte-w02mzu) {width:0;opacity:0;}.nav-content.svelte-w02mzu {display:flex;width:var(--ai-size-72);height:100%;padding-bottom:var(--ai-size-16);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:none;background:var(--ai-color-steel-200);border-right:0.0625rem solid var(--ai-color-steel-200);}.nav-main.svelte-w02mzu {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-w02mzu {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;margin-top:auto;}.menu-section.svelte-w02mzu {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-w02mzu {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity 0.2s ease;will-change:opacity;}.menu-button.disabled.svelte-w02mzu {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-w02mzu:focus,
26
+ .nav-item.svelte-w02mzu:focus {outline:none;}.menu-button.svelte-w02mzu:focus .icon-container:where(.svelte-w02mzu),
27
+ .nav-item.svelte-w02mzu:focus .icon-container:where(.svelte-w02mzu) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.nav-items.svelte-w02mzu {display:flex;width:var(--ai-size-72);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);}.nav-item.svelte-w02mzu {display:flex;height:4.125rem;padding:var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-2);align-self:stretch;cursor:pointer;text-decoration:none;color:inherit;position:relative;flex-shrink:0;}.icon-container.svelte-w02mzu {display:flex;width:var(--ai-size-40);height:var(--ai-size-40);padding:var(--ai-size-8);justify-content:center;align-items:center;flex-shrink:0;position:relative;contain:layout style;transition:background-color 0.3s ease,
28
+ border-radius 0.3s ease;}.icon-wrapper.svelte-w02mzu {display:flex;width:var(--ai-size-28);height:var(--ai-size-28);justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;position:relative;overflow:hidden;transition:transform 0.3s ease;}.icon-wrapper.svelte-w02mzu svg {width:var(--ai-size-24);height:var(--ai-size-24);flex-shrink:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);transition:all 0.3s ease;}.icon-wrapper.svelte-w02mzu svg path {stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke 0.3s ease,
27
29
  fill 0.3s ease,
28
- stroke-width 0.3s ease;}.nav-text.svelte-14q02bh {font-size:var(--ai-size-12);text-align:center;color:var(--ai-color-neutral-900);line-height:1.3;}.menu-button.disabled.svelte-14q02bh:hover .icon-container:where(.svelte-14q02bh),
29
- .menu-button.svelte-14q02bh:disabled:hover .icon-container:where(.svelte-14q02bh) {background:none !important;border-radius:var(--ai-size-4);}.nav-item.hovered.svelte-14q02bh .icon-container:where(.svelte-14q02bh),
30
- .nav-item.svelte-14q02bh:active .icon-container:where(.svelte-14q02bh),
31
- .nav-item.selected.svelte-14q02bh .icon-container:where(.svelte-14q02bh),
32
- .nav-item.selected.hovered.svelte-14q02bh .icon-container:where(.svelte-14q02bh),
33
- .menu-button.svelte-14q02bh:hover .icon-container:where(.svelte-14q02bh),
34
- .menu-button.svelte-14q02bh:active .icon-container:where(.svelte-14q02bh) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-14q02bh {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color 0.2s ease;height:100%;}.nav-item.svelte-14q02bh:hover {color:var(--ai-color-neutral-700);}`};function ki(e,t){Y(t,!0),pt(e,ms);const[r,n]=Ot(),i=()=>pe(rt,"$selectedItem",r),o=()=>pe(xe,"$isExpanded",r),s=()=>pe(Vr,"$isMenuButtonDisabled",r),a=_i(),l=k(t,"ssrSelectedItem",7,void 0),u=k(t,"onNavToggle",7,void 0),d=k(t,"onNavItemClick",7,void 0),f=k(t,"onProfileClick",7,void 0),c=k(t,"children",7),v=k(t,"apiUrl",7),b=k(t,"chatUrl",7),g=k(t,"consoleUrl",7),y=k(t,"discoverUrl",7);let m=!1,h,p=we(null),w=we(!1),x=we(!1);function L(N,te){return m?N:te}function $(N){return L(i()===N,l()===N)}function T(N){return E(p)===N}const P=G(()=>()=>L(o(),l()?l()!=="discover":!0)),F=G(()=>()=>L(s(),l()?l()==="discover":!1)),me=G(()=>()=>L(o(),l()?l()!=="discover":!0)),Ke=G(()=>()=>E(x)&&E(w)&&!E(F)());tr(()=>{if(m=!0,document.documentElement.classList.remove("nav-initially-expanded"),document.documentElement.style.removeProperty("--initial-main-top-padding"),h&&h.classList.add("hydrated"),typeof window<"u"){const N=window.matchMedia("(hover: hover)");q(x,N.matches,!0),N.addEventListener("change",V=>{q(x,V.matches,!0)});const te=V=>{const Ge=V,{isMobile:nt}=Ge.detail;if(nt)Ie.setExpanded(!1);else{const it=i();it&&it!=="discover"?Ie.setExpanded(!0):Ie.setExpanded(!1)}};return window.addEventListener("layoutTransition",te),()=>{window.removeEventListener("layoutTransition",te)}}});function K(N){var te;if(N!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),Ie.setSelectedItem(N),N!=="discover")try{Promise.resolve().then(()=>lr).then(({selectedSubNavItemTitle:V})=>{V.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const Ge=document.getElementById("main-content");if(Ge){const nt=Ge.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(nt&&nt.textContent){const it=nt.textContent.trim();V.set(it),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(it))}}},200)}).catch(V=>{console.log("[DesktopSideNav] Error clearing header state:",V)})}catch(V){console.log("[DesktopSideNav] Import failed for clearing state:",V)}else try{Promise.resolve().then(()=>lr).then(({selectedSubNavItemTitle:V})=>{V.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch(V=>{console.log("[DesktopSideNav] Error clearing header state for Discover:",V)})}catch(V){console.log("[DesktopSideNav] Import failed for clearing Discover state:",V)}(te=d())==null||te({item:N,expanded:o()})}function Te(N,te){(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),K(te))}var ze=gs();let Pt;var Wr=S(ze),Kr=S(Wr),Gr=S(Kr),Ee=S(Gr);let Li;Ee.__click=[os,s,u,o];var Ui=S(Ee),Ai=S(Ui),qs=S(Ai);const Ps=G(()=>E(Ke)()),js=G(()=>E(F)()),Ds=G(()=>E(me)());Zr(qs,{get isHovered(){return E(Ps)},get isDisabled(){return E(js)},get isOpen(){return E(Ds)}}),C(Ai),C(Ui),C(Ee),C(Gr);var Oi=X(Gr,2),Me=S(Oi);let qi;Me.__click=[as,K],Me.__keydown=[ss,Te];var Pi=S(Me),ji=S(Pi),Hs=S(ji);const Vs=G(()=>$("discover"));Rr(Hs,{get isSelected(){return E(Vs)}}),C(ji),C(Pi),Se(2),C(Me);var Le=X(Me,2);let Di;Le.__click=[ls,K],Le.__keydown=[us,Te];var Hi=S(Le),Vi=S(Hi),Rs=S(Vi);const Bs=G(()=>$("chat"));Br(Rs,{get isSelected(){return E(Bs)}}),C(Vi),C(Hi),Se(2),C(Le);var Ue=X(Le,2);let Ri;Ue.__click=[cs,K],Ue.__keydown=[ds,Te];var Bi=S(Ue),Fi=S(Bi),Fs=S(Fi);const Ys=G(()=>$("console"));Fr(Fs,{get isSelected(){return E(Ys)}}),C(Fi),C(Bi),Se(2),C(Ue);var Be=X(Ue,2);let Yi;Be.__click=[fs,K],Be.__keydown=[vs,Te];var Zi=S(Be),Ji=S(Zi),Zs=S(Ji);const Js=G(()=>$("api"));Yr(Zs,{get isSelected(){return E(Js)}}),C(Ji),C(Zi),Se(2),C(Be),C(Oi),C(Kr);var Wi=X(Kr,2),Ki=S(Wi);Ki.__click=[hs,f],Ki.__keydown=[bs,f],C(Wi),C(Wr);var Xr=X(Wr,2);let Gi;var Ws=S(Xr);{var Ks=N=>{var te=ps(),V=X(S(te),2),Ge=S(V);Ar(Ge,()=>c()??ue),C(V),C(te),I(N,te)};he(Ws,N=>{E(P)()&&N(Ks)})}C(Xr),C(ze),li(ze,N=>h=N,()=>h),ft((N,te,V,Ge,nt,it,Xs,Qs,el,tl,rl,nl,il)=>{Pt=be(ze,1,"side-nav-container svelte-14q02bh",null,Pt,N),Li=be(Ee,1,"menu-button svelte-14q02bh",null,Li,te),Ee.disabled=s(),ee(Ee,"aria-label",V),ee(Ee,"aria-expanded",Ge),ee(Me,"href",y()||a.discover),qi=be(Me,1,"nav-item discover-item svelte-14q02bh",null,qi,nt),ee(Me,"aria-current",it),ee(Le,"href",b()||a.chat),Di=be(Le,1,"nav-item chat-item svelte-14q02bh",null,Di,Xs),ee(Le,"aria-current",Qs),ee(Ue,"href",g()||a.console),Ri=be(Ue,1,"nav-item console-item svelte-14q02bh",null,Ri,el),ee(Ue,"aria-current",tl),ee(Be,"href",v()||a.api),Yi=be(Be,1,"nav-item api-item svelte-14q02bh",null,Yi,rl),ee(Be,"aria-current",nl),Gi=be(Xr,1,"expanded-content drawer-anim svelte-14q02bh",null,Gi,il)},[()=>({expanded:E(P)()}),()=>({disabled:s()}),()=>E(P)()?"Close navigation menu":"Open navigation menu",()=>E(P)()?"true":"false",()=>({selected:$("discover"),hovered:T("discover")}),()=>$("discover")?"page":void 0,()=>({selected:$("chat"),hovered:T("chat")}),()=>$("chat")?"page":void 0,()=>({selected:$("console"),hovered:T("console")}),()=>$("console")?"page":void 0,()=>({selected:$("api"),hovered:T("api")}),()=>$("api")?"page":void 0,()=>({open:E(P)()})]),W("mouseenter",Ee,()=>q(w,!0)),W("mouseleave",Ee,()=>q(w,!1)),W("focus",Ee,()=>q(w,!0)),W("blur",Ee,()=>q(w,!1)),W("mouseenter",Me,()=>q(p,"discover")),W("mouseleave",Me,()=>q(p,null)),W("mouseenter",Le,()=>q(p,"chat")),W("mouseleave",Le,()=>q(p,null)),W("mouseenter",Ue,()=>q(p,"console")),W("mouseleave",Ue,()=>q(p,null)),W("mouseenter",Be,()=>q(p,"api")),W("mouseleave",Be,()=>q(p,null)),I(e,ze);var Gs=Z({get ssrSelectedItem(){return l()},set ssrSelectedItem(N=void 0){l(N),_()},get onNavToggle(){return u()},set onNavToggle(N=void 0){u(N),_()},get onNavItemClick(){return d()},set onNavItemClick(N=void 0){d(N),_()},get onProfileClick(){return f()},set onProfileClick(N=void 0){f(N),_()},get children(){return c()},set children(N){c(N),_()},get apiUrl(){return v()},set apiUrl(N){v(N),_()},get chatUrl(){return b()},set chatUrl(N){b(N),_()},get consoleUrl(){return g()},set consoleUrl(N){g(N),_()},get discoverUrl(){return y()},set discoverUrl(N){y(N),_()}});return n(),Gs}Mr(["click","keydown"]),B(ki,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},onProfileClick:{},children:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function yi(e,t){Y(t,!0);let r=k(t,"ssrSelectedItem",7),n=k(t,"onNavToggle",7),i=k(t,"onNavItemClick",7),o=k(t,"onProfileClick",7),s=k(t,"apiUrl",7),a=k(t,"chatUrl",7),l=k(t,"consoleUrl",7),u=k(t,"discoverUrl",7);return ki(e,{get ssrSelectedItem(){return r()},get onNavToggle(){return n()},get onNavItemClick(){return i()},get onProfileClick(){return o()},get apiUrl(){return s()},get chatUrl(){return a()},get consoleUrl(){return l()},get discoverUrl(){return u()},children:(d,f)=>{var c=Ut(),v=Ye(c);rr(v,t,"default",{}),I(d,c)},$$slots:{default:!0}}),Z({get ssrSelectedItem(){return r()},set ssrSelectedItem(d){r(d),_()},get onNavToggle(){return n()},set onNavToggle(d){n(d),_()},get onNavItemClick(){return i()},set onNavItemClick(d){i(d),_()},get onProfileClick(){return o()},set onProfileClick(d){o(d),_()},get apiUrl(){return s()},set apiUrl(d){s(d),_()},get chatUrl(){return a()},set chatUrl(d){a(d),_()},get consoleUrl(){return l()},set consoleUrl(d){l(d),_()},get discoverUrl(){return u()},set discoverUrl(d){u(d),_()}})}customElements.define("graymatter-desktop-side-nav",B(yi,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},onProfileClick:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},["default"],[],!0));var ws=H('<svg><g><path d="M57.5791 20.4177C57.5791 15.5645 53.7309 11.6187 48.9988 11.6187H40.188C38.6688 11.6187 37.4304 10.3567 37.4304 8.80197C37.4304 7.24729 38.6658 5.98522 40.188 5.98522H56.2373V0H38.8757C34.1466 0 30.2983 3.94877 30.2983 8.80197C30.2983 13.6552 34.1466 17.6039 38.8757 17.6039H47.6865C49.2057 17.6039 50.4442 18.866 50.4442 20.4207C50.4442 21.9754 49.2087 23.2374 47.6865 23.2374H31.0284V29.2197H48.9988C53.7309 29.2197 57.5791 25.2709 57.5791 20.4207V20.4177Z"></path><path d="M82.1466 24.7153L82.188 24.7685L83.6747 29.2197H90.6914L80.917 0H68.3525L58.5781 29.2167H65.5949L67.0993 24.7153H82.1466ZM69.186 18.4818L73.3653 5.98522H75.9013L75.919 6.03547L80.1161 18.5793H69.1535L69.186 18.4818Z"></path><path d="M27.198 0H20.5626V15.8158C20.5626 21.4345 16.9626 23.4355 13.5961 23.4355C9.03842 23.4355 6.62956 20.799 6.62956 15.8158V0H0V17.0069C0 20.6985 1.46305 24.0532 4.11724 26.4532C6.64729 28.7409 10.0138 30 13.599 30C20.3586 30 27.198 25.5369 27.198 17.0039V0Z"></path><path d="M101.708 9.78915H93.8662V29.2197H101.708V9.78915Z"></path><path d="M101.823 0H93.8662V5.98227H101.823V0Z"></path></g></svg>');function ur(e,t){const r=ar(t,["children","$$slots","$$events","$$legacy","$$host"]),n=ar(r,["isInverted","width","height"]);Y(t,!1);const i=St();let o=k(t,"isInverted",12,!1),s=k(t,"width",12),a=k(t,"height",12);const l=102,u=30;s(s()||l),a(a()||u),Uo(()=>Bn(o()),()=>{q(i,o()?"var(--ai-color-white)":"var(--ai-color-black)")}),Ao();var d=ws();return nr(d,()=>({width:s(),height:a(),viewBox:"0 0 102 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${E(i)??""};`,...n})),I(e,d),Z({get isInverted(){return o()},set isInverted(f){o(f),_()},get width(){return s()},set width(f){s(f),_()},get height(){return a()},set height(f){a(f),_()}})}B(ur,{isInverted:{},width:{},height:{}},[],[],!0);function xi(e,t){Y(t,!0);let r=k(t,"isInverted",7,!1),n=k(t,"width",7,void 0),i=k(t,"height",7,void 0),o=Hr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height"]);return ur(e,di({get isInverted(){return r()},get width(){return n()},get height(){return i()}},()=>o)),Z({get isInverted(){return r()},set isInverted(s=!1){r(s),_()},get width(){return n()},set width(s=void 0){n(s),_()},get height(){return i()},set height(s=void 0){i(s),_()}})}customElements.define("graymatter-logo",B(xi,{isInverted:{attribute:"is-inverted",reflect:!0,type:"Boolean"},width:{attribute:"width",reflect:!0,type:"Number"},height:{attribute:"height",reflect:!0,type:"Number"}},[],[],!0));function _s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cr={exports:{}},ks=cr.exports,Ei;function ys(){return Ei||(Ei=1,function(e,t){(function(r,n,i){e.exports=i(),e.exports.default=i()})("slugify",ks,function(){var r=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),n=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function i(o,s){if(typeof o!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var a=n[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,u=s.trim===void 0?!0:s.trim,d=o.normalize().split("").reduce(function(f,c){var v=a[c];return v===void 0&&(v=r[c]),v===void 0&&(v=c),v===l&&(v=" "),f+v.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,l),s.lower&&(d=d.toLowerCase()),d}return i.extend=function(o){Object.assign(r,o)},i})}(cr)),cr.exports}var xs=ys();const Es=_s(xs);var Cs=(e,t,r)=>t(E(r).id),Ss=ve('<a><div class="icon svelte-cugc62"><!></div> <span class="label svelte-cugc62"> </span></a>'),$s=ve('<nav class="mobile-bottom-nav" part="mobile-bottom-nav"></nav>');const Ns={hash:"svelte-cugc62",code:".nav-item.svelte-cugc62 {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color 0.2s ease;height:100%;}.nav-item.active.svelte-cugc62 {color:var(--ai-color-neutral-900);}.nav-item.active.svelte-cugc62 .icon:where(.svelte-cugc62) {background-color:var(--ai-color-neutral-200);border-radius:var(--ai-size-8);}.nav-item.svelte-cugc62:hover {color:var(--ai-color-neutral-700);}.icon.svelte-cugc62 {width:var(--ai-size-24);height:var(--ai-size-24);margin-bottom:var(--ai-size-2);display:flex;align-items:center;justify-content:center;padding:var(--ai-size-2);transition:background-color 0.2s ease;}.label.svelte-cugc62 {font-size:0.6875rem; /* 11px */font-weight:500;line-height:1;text-align:center;}"};function Ci(e,t){Y(t,!0),pt(e,Ns);const[r,n]=Ot(),i=()=>pe(rt,"$selectedItem",r);let o=k(t,"onNavItemClick",7),s=k(t,"apiUrl",7),a=k(t,"chatUrl",7),l=k(t,"consoleUrl",7),u=k(t,"discoverUrl",7);const d=_i(),f=[{id:"discover",label:"Discover",icon:Rr,href:u()||d.discover},{id:"chat",label:"Chat",icon:Br,href:a()||d.chat},{id:"console",label:"Console",icon:Fr,href:l()||d.console},{id:"api",label:"API",icon:Yr,href:s()||d.api}];function c(g){var y;if(g!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),Ie.setSelectedItem(g),g!=="discover")try{Promise.resolve().then(()=>lr).then(({selectedSubNavItemTitle:m})=>{m.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const h=document.getElementById("main-content");if(h){const p=h.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(p&&p.textContent){const w=p.textContent.trim();m.set(w),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(w))}}},200)}).catch(m=>{console.log("[MobileBottomNav] Error clearing header state:",m)})}catch(m){console.log("[MobileBottomNav] Import failed for clearing state:",m)}else try{Promise.resolve().then(()=>lr).then(({selectedSubNavItemTitle:m})=>{m.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch(m=>{console.log("[MobileBottomNav] Error clearing header state for Discover:",m)})}catch(m){console.log("[MobileBottomNav] Import failed for clearing Discover state:",m)}(y=o())==null||y({item:g,expanded:!1})}var v=$s();la(v,21,()=>f,aa,(g,y)=>{var m=Ss();let h;m.__click=[Cs,c,y];var p=S(m),w=S(p);const x=G(()=>i()===E(y).id);da(w,()=>E(y).icon,(T,P)=>{P(T,{get isSelected(){return E(x)}})}),C(p);var L=X(p,2),$=S(L,!0);C(L),C(m),ft((T,P)=>{ee(m,"href",E(y).href),h=be(m,1,"nav-item svelte-cugc62",null,h,T),ee(m,"part",P),Lr($,E(y).label)},[()=>({active:i()===E(y).id}),()=>`${Es(E(y).id)}-item`]),I(g,m)}),C(v),I(e,v);var b=Z({get onNavItemClick(){return o()},set onNavItemClick(g){o(g),_()},get apiUrl(){return s()},set apiUrl(g){s(g),_()},get chatUrl(){return a()},set chatUrl(g){a(g),_()},get consoleUrl(){return l()},set consoleUrl(g){l(g),_()},get discoverUrl(){return u()},set discoverUrl(g){u(g),_()}});return n(),b}Mr(["click"]),B(Ci,{onNavItemClick:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Si(e,t){Y(t,!0);let r=k(t,"onNavItemClick",7),n=k(t,"apiUrl",7),i=k(t,"chatUrl",7),o=k(t,"consoleUrl",7),s=k(t,"discoverUrl",7);return Ci(e,{get onNavItemClick(){return r()},get apiUrl(){return n()},get chatUrl(){return i()},get consoleUrl(){return o()},get discoverUrl(){return s()}}),Z({get onNavItemClick(){return r()},set onNavItemClick(a){r(a),_()},get apiUrl(){return n()},set apiUrl(a){n(a),_()},get chatUrl(){return i()},set chatUrl(a){i(a),_()},get consoleUrl(){return o()},set consoleUrl(a){o(a),_()},get discoverUrl(){return s()},set discoverUrl(a){s(a),_()}})}customElements.define("graymatter-mobile-bottom-nav",B(Si,{onNavItemClick:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0));var Is=H('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M6 18L18 6M6 6L18 18" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function $i(e){var t=Is();I(e,t)}B($i,{},[],[],!0);var Ts=ve('<div class="mobile-overlay" role="button" tabindex="0" aria-label="Close navigation menu (Escape key supported)" part="mobile-overlay"></div>'),zs=ve('<div class="subnav-section svelte-1xj1twt" part="subnav-section"><!></div>'),Ms=ve('<div class="no-subnav-message svelte-1xj1twt" part="no-subnav-message"><p class="svelte-1xj1twt">Select a section from the bottom navigation</p></div>'),Ls=ve('<!> <div part="mobile-side-menu"><div class="menu-header svelte-1xj1twt" part="menu-header"><div class="logo-container svelte-1xj1twt" part="logo-container"><!></div> <button class="close-button svelte-1xj1twt" aria-label="Close navigation menu" part="close-button"><!></button></div> <div class="menu-content svelte-1xj1twt" part="menu-content"><!></div></div>',1);const Us={hash:"svelte-1xj1twt",code:".no-subnav-message.svelte-1xj1twt {padding:var(--ai-size-16);text-align:center;color:var(--ai-color-steel-600);font-size:var(--ai-size-14);}.no-subnav-message.svelte-1xj1twt p:where(.svelte-1xj1twt) {margin:0;}.mobile-side-menu.svelte-1xj1twt {position:fixed;top:0;left:0;bottom:0;width:15rem;max-width:85vw;background:var(--ai-color-white);transform:translateX(-100%);transition:transform 0.3s ease;z-index:var(--ai-layer-50);flex-direction:column;box-shadow:var(--ai-size-2) 0 var(--ai-size-10) #0000001a;}.mobile-side-menu.open.svelte-1xj1twt {transform:translateX(0);}.menu-header.svelte-1xj1twt {display:flex;align-items:center;justify-content:space-between;padding:var(--ai-size-16) var(--ai-size-20);border-bottom:0.0625rem solid var(--ai-color-neutral-200);}.mobile-side-menu.svelte-1xj1twt .logo-container:where(.svelte-1xj1twt) {display:flex;}.close-button.svelte-1xj1twt {display:flex;align-items:center;justify-content:center;width:var(--ai-size-32);height:var(--ai-size-32);border:none;background:none;color:var(--ai-color-neutral-700);cursor:pointer;border-radius:var(--ai-size-6);transition:background-color 0.2s ease;}.close-button.svelte-1xj1twt:hover {background-color:var(--ai-color-neutral-100);}.menu-content.svelte-1xj1twt {flex:1;overflow-y:auto;padding:0;}.subnav-section.svelte-1xj1twt {padding:var(--ai-size-16) 0;overflow-y:auto;max-height:calc(100vh - 4rem); /* leave space for header/close */}"};function Ni(e,t){Y(t,!1),pt(e,Us);const[r,n]=Ot(),i=()=>pe(xe,"$isExpanded",r),o=()=>pe(rt,"$selectedItem",r);let s=St(),a=null;function l(T){if(a=T.detail.hash,u(),a){const F=document.getElementById(a);if(F){const me=document.getElementById("main-content-mobile"),Ke=me?me.querySelector(`[id="${a}"]`):null;if(Ke&&me){const K=Ke.getBoundingClientRect(),Te=me.getBoundingClientRect(),ze=me.scrollTop+K.top-Te.top;me.scrollTo({top:ze,behavior:"auto"}),setTimeout(()=>{var Pt;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(Pt=Ke.textContent)==null?void 0:Pt.trim(),id:Ke.id}}))},100)}else{let K=F.parentElement;for(;K&&K!==document.body;){const Te=window.getComputedStyle(K);if(Te.overflowY==="auto"||Te.overflowY==="scroll")break;K=K.parentElement}K&&K!==document.body?document.getElementById("main-content")?(F.scrollIntoView({behavior:"auto",block:"start"}),setTimeout(()=>{var ze;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(ze=F.textContent)==null?void 0:ze.trim(),id:F.id}}))},100)):F.scrollIntoView({behavior:"auto",block:"start"}):F.scrollIntoView({behavior:"auto",block:"start"})}}a=null}}tr(()=>{window.addEventListener("mobileAnchorNavigate",l);const T=()=>{u()};window.addEventListener("closeMobileMenu",T);const P=me=>{const Ke=me,{isMobile:K}=Ke.detail;K&&Ie.setExpanded(!1)};window.addEventListener("layoutTransition",P);const F=me=>{me.key==="Escape"&&i()&&u()};return window.addEventListener("keydown",F),()=>{window.removeEventListener("mobileAnchorNavigate",l),window.removeEventListener("closeMobileMenu",T),window.removeEventListener("layoutTransition",P),window.removeEventListener("keydown",F)}});function u(){Ie.setExpanded(!1)}ui();var d=Ls(),f=Ye(d);{var c=T=>{var P=Ts();W("click",P,u),W("keydown",P,F=>{(F.key==="Enter"||F.key===" ")&&u()}),I(T,P)};he(f,T=>{i()&&T(c)})}var v=X(f,2);let b;var g=S(v),y=S(g),m=S(y);ur(m,{width:75,height:22}),C(y);var h=X(y,2),p=S(h);$i(p),C(h),C(g);var w=X(g,2),x=S(w);{var L=T=>{var P=zs(),F=S(P);rr(F,t,"default",{}),C(P),I(T,P)},$=T=>{var P=Ms();I(T,P)};he(x,T=>{o()&&o()!=="discover"?T(L):T($,!1)})}C(w),C(v),li(v,T=>q(s,T),()=>E(s)),ft(T=>b=be(v,1,"mobile-side-menu svelte-1xj1twt",null,b,T),[()=>({open:i()})],Bt),W("click",h,u),I(e,d),Z(),n()}B(Ni,{},["default"],[],!0);function Ii(e,t){Ni(e,{children:(r,n)=>{var i=Ut(),o=Ye(i);rr(o,t,"default",{}),I(r,i)},$$slots:{default:!0}})}customElements.define("graymatter-mobile-side-menu",B(Ii,{},["default"],[],!0));var As=ve('<nav class="mobile-top-nav svelte-1u5nbcr" part="mobile-top-nav"><button aria-label="Open navigation menu" part="menu-button"><!></button> <div class="brand svelte-1u5nbcr"><!> <span class="brand-text svelte-1u5nbcr"> </span></div> <button class="profile-button svelte-1u5nbcr" aria-label="Open profile menu" part="profile-button"><div class="user-profile-container svelte-1u5nbcr"><div class="user-profile-icon svelte-1u5nbcr" part="user-profile-icon"><span class="user-initials svelte-1u5nbcr">ZW</span></div></div></button></nav>');const Os={hash:"svelte-1u5nbcr",code:`.user-profile-container.svelte-1u5nbcr,
35
- .user-profile-icon.svelte-1u5nbcr {display:flex;align-items:center;justify-content:center;}.menu-button.svelte-1u5nbcr,
36
- .profile-button.svelte-1u5nbcr {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color 0.2s ease;}.menu-button.svelte-1u5nbcr:disabled,
37
- .menu-button.disabled.svelte-1u5nbcr {cursor:not-allowed;opacity:0.5;background-color:transparent;}.user-profile-icon.svelte-1u5nbcr {border-radius:var(--ai-size-6);background:var(--ai-color-steel-700);}.user-initials.svelte-1u5nbcr {color:var(--ai-color-white);text-align:center;font-weight:400;line-height:1.3;}.mobile-top-nav.svelte-1u5nbcr .menu-button:where(.svelte-1u5nbcr) {width:var(--ai-size-40);height:var(--ai-size-40);color:var(--ai-color-neutral-700);}.menu-button.svelte-1u5nbcr:hover {background-color:var(--ai-color-neutral-100);}
30
+ stroke-width 0.3s ease;}.nav-text.svelte-w02mzu {font-size:var(--ai-size-12);text-align:center;color:var(--ai-color-neutral-900);line-height:1.3;}.menu-button.disabled.svelte-w02mzu:hover .icon-container:where(.svelte-w02mzu),
31
+ .menu-button.svelte-w02mzu:disabled:hover .icon-container:where(.svelte-w02mzu) {background:none !important;border-radius:var(--ai-size-4);}.nav-item.hovered.svelte-w02mzu .icon-container:where(.svelte-w02mzu),
32
+ .nav-item.svelte-w02mzu:active .icon-container:where(.svelte-w02mzu),
33
+ .nav-item.selected.svelte-w02mzu .icon-container:where(.svelte-w02mzu),
34
+ .nav-item.selected.hovered.svelte-w02mzu .icon-container:where(.svelte-w02mzu),
35
+ .menu-button.svelte-w02mzu:hover .icon-container:where(.svelte-w02mzu),
36
+ .menu-button.svelte-w02mzu:active .icon-container:where(.svelte-w02mzu) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-w02mzu {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color 0.2s ease;height:100%;}.nav-item.svelte-w02mzu:hover {color:var(--ai-color-neutral-700);}.nav-footer-icon-container.svelte-w02mzu {display:flex;padding:0 var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;}.nav-footer-profile-container.svelte-w02mzu {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;}.nav-footer-icon-inner.svelte-w02mzu {display:flex;width:var(--ai-size-40);height:var(--ai-size-40);padding:var(--ai-size-8);justify-content:center;align-items:center;border-radius:var(--ai-size-4);background:none;border:none;cursor:pointer;transition:background-color 0.3s ease, border-radius 0.3s ease;}.nav-footer-icon-inner.svelte-w02mzu:hover,
37
+ .nav-footer-icon-inner.svelte-w02mzu:focus {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-footer-icon-inner.svelte-w02mzu:focus {outline:none;}.nav-footer-icon-inner.svelte-w02mzu:focus-visible {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.nav-footer-icon-svg-wrapper.svelte-w02mzu {width:var(--ai-size-24);height:var(--ai-size-24);flex-shrink:0;display:flex;align-items:center;justify-content:center;}`};function Oi(e,t){K(t,!0),ht(e,Ms);const[r,n]=Gt(),i=()=>Ne(gt,"$selectedItem",r),o=()=>Ne(Ue,"$isExpanded",r),s=()=>Ne(en,"$isMenuButtonDisabled",r),a=Ai(),l=k(t,"ssrSelectedItem",7,void 0),u=k(t,"onNavToggle",7,void 0),f=k(t,"onNavItemClick",7,void 0),d=k(t,"children",7),c=k(t,"showAppIcons",7,!0),p=k(t,"profileMenuData",7),g=k(t,"apiUrl",7),y=k(t,"chatUrl",7),S=k(t,"consoleUrl",7),E=k(t,"discoverUrl",7);let v=!1,b,h=fe(null),m=fe(!1),L=fe(!1),A=fe(!1),N=fe(null),R=fe(null),ue=fe(null),J=fe(null);function ce(x,F){return v?x:F}function I(x){return ce(i()===x,l()===x)}function U(x){return w(h)===x}const Y=ee(()=>()=>ce(o(),l()?l()!=="discover":!0)),oe=ee(()=>()=>ce(s(),l()?l()==="discover":!1)),ve=ee(()=>()=>ce(o(),l()?l()!=="discover":!0)),Q=ee(()=>()=>w(L)&&w(m)&&!w(oe)());Kt(()=>{if(v=!0,document.documentElement.classList.remove("nav-initially-expanded"),document.documentElement.style.removeProperty("--initial-main-top-padding"),b&&b.classList.add("hydrated"),typeof window<"u"){const x=window.matchMedia("(hover: hover)");T(L,x.matches,!0),x.addEventListener("change",V=>{T(L,V.matches,!0)});const F=V=>{const ae=V,{isMobile:Me}=ae.detail;if(Me)Oe.setExpanded(!1);else{const Fe=i();Fe&&Fe!=="discover"?Oe.setExpanded(!0):Oe.setExpanded(!1)}};window.addEventListener("layoutTransition",F);const $=V=>{const ae=document.activeElement;V.key==="Escape"&&o()&&!(ae&&ae.closest(".profile-context-menu"))&&Oe.setExpanded(!1)};return window.addEventListener("keydown",$),()=>{window.removeEventListener("layoutTransition",F),window.removeEventListener("keydown",$)}}});function he(x){var F;if(x!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),Oe.setSelectedItem(x),x!=="discover")try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:$})=>{$.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const V=document.getElementById("main-content");if(V){const ae=V.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(ae&&ae.textContent){const Me=ae.textContent.trim();$.set(Me),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(Me))}}},200)}).catch($=>{console.log("[DesktopSideNav] Error clearing header state:",$)})}catch($){console.log("[DesktopSideNav] Import failed for clearing state:",$)}else try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:$})=>{$.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch($=>{console.log("[DesktopSideNav] Error clearing header state for Discover:",$)})}catch($){console.log("[DesktopSideNav] Import failed for clearing Discover state:",$)}(F=f())==null||F({item:x,expanded:o()})}function rt(x,F){(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),he(F))}function mt(x,F){var ae,Me,Fe,Mt;const $=[w(N),w(R),w(ue),w(J)],V=$.length;if(V)if(x.key==="ArrowDown"){x.preventDefault();const de=(F+1)%V;(ae=$[de])==null||ae.focus()}else if(x.key==="ArrowUp"){x.preventDefault();const de=(F-1+V)%V;(Me=$[de])==null||Me.focus()}else x.key==="Home"?(x.preventDefault(),(Fe=$[0])==null||Fe.focus()):x.key==="End"&&(x.preventDefault(),(Mt=$[V-1])==null||Mt.focus())}var er=Ls();let Ji;var un=C(er),cn=C(un),dn=C(cn),De=C(dn);let Ki;De.__click=[bs,s,u,o];var Wi=C(De),Gi=C(Wi),Qs=C(Gi);const el=ee(()=>w(Q)()),tl=ee(()=>w(oe)()),rl=ee(()=>w(ve)());an(Qs,{get isHovered(){return w(el)},get isDisabled(){return w(tl)},get isOpen(){return w(rl)}}),z(Gi),z(Wi),z(De),z(dn);var nl=ie(dn,2);{var il=x=>{var F=Ss(),$=C(F);let V;$.__click=[ws,he],$.__keydown=[_s,rt,mt];var ae=C($),Me=C(ae),Fe=C(Me);const Mt=ee(()=>I("discover"));tn(Fe,{get isSelected(){return w(Mt)}}),z(Me),z(ae),Pe(2),z($),ut($,nt=>T(N,nt),()=>w(N));var de=ie($,2);let yr;de.__click=[ks,he],de.__keydown=[ys,rt,mt];var ct=C(de),Qi=C(ct),cl=C(Qi);const dl=ee(()=>I("chat"));rn(cl,{get isSelected(){return w(dl)}}),z(Qi),z(ct),Pe(2),z(de),ut(de,nt=>T(R,nt),()=>w(R));var je=ie(de,2);let eo;je.__click=[zs,he],je.__keydown=[xs,rt,mt];var to=C(je),ro=C(to),fl=C(ro);const vl=ee(()=>I("console"));nn(fl,{get isSelected(){return w(vl)}}),z(ro),z(to),Pe(2),z(je),ut(je,nt=>T(ue,nt),()=>w(ue));var Ye=ie(je,2);let no;Ye.__click=[Es,he],Ye.__keydown=[Cs,rt,mt];var io=C(Ye),oo=C(io),hl=C(oo);const pl=ee(()=>I("api"));on(hl,{get isSelected(){return w(pl)}}),z(oo),z(io),Pe(2),z(Ye),ut(Ye,nt=>T(J,nt),()=>w(J)),z(F),Se((nt,gl,ml,bl,wl,_l,kl,yl)=>{Z($,"href",E()||a.discover),V=ye($,1,"nav-item discover-item svelte-w02mzu",null,V,nt),Z($,"aria-current",gl),Z(de,"href",y()||a.chat),yr=ye(de,1,"nav-item chat-item svelte-w02mzu",null,yr,ml),Z(de,"aria-current",bl),Z(je,"href",S()||a.console),eo=ye(je,1,"nav-item console-item svelte-w02mzu",null,eo,wl),Z(je,"aria-current",_l),Z(Ye,"href",g()||a.api),no=ye(Ye,1,"nav-item api-item svelte-w02mzu",null,no,kl),Z(Ye,"aria-current",yl)},[()=>({selected:I("discover"),hovered:U("discover")}),()=>I("discover")?"page":void 0,()=>({selected:I("chat"),hovered:U("chat")}),()=>I("chat")?"page":void 0,()=>({selected:I("console"),hovered:U("console")}),()=>I("console")?"page":void 0,()=>({selected:I("api"),hovered:U("api")}),()=>I("api")?"page":void 0]),re("mouseenter",$,()=>T(h,"discover")),re("mouseleave",$,()=>T(h,null)),re("mouseenter",de,()=>T(h,"chat")),re("mouseleave",de,()=>T(h,null)),re("mouseenter",je,()=>T(h,"console")),re("mouseleave",je,()=>T(h,null)),re("mouseenter",Ye,()=>T(h,"api")),re("mouseleave",Ye,()=>T(h,null)),M(x,F)};le(nl,x=>{c()&&x(il)})}z(cn);var ol=ie(cn,2);{var al=x=>{var F=Is(),$=C(F),V=C($),ae=C(V),Me=C(ae);Ui(Me,{get isHovered(){return w(A)}}),z(ae),z(V),z($);var Fe=ie($,2),Mt=C(Fe);const de=ee(()=>{var ct;return(ct=p())==null?void 0:ct.userMeta}),yr=ee(()=>{var ct;return(ct=p())==null?void 0:ct.menuItems});sn(Mt,{get userMeta(){return w(de)},get menuItems(){return w(yr)},ariaLabel:"Open profile menu"}),z(Fe),z(F),re("mouseenter",V,()=>T(A,!0)),re("mouseleave",V,()=>T(A,!1)),re("focus",V,()=>T(A,!0)),re("blur",V,()=>T(A,!1)),M(x,F)};le(ol,x=>{p()&&x(al)})}z(un);var fn=ie(un,2);let Xi;var sl=C(fn);{var ll=x=>{var F=Ns(),$=ie(C(F),2),V=C($);Zr(V,()=>d()??xe),z($),z(F),M(x,F)};le(sl,x=>{w(Y)()&&x(ll)})}z(fn),z(er),ut(er,x=>b=x,()=>b),Se((x,F,$,V,ae)=>{Ji=ye(er,1,"side-nav-container svelte-w02mzu",null,Ji,x),Ki=ye(De,1,"menu-button svelte-w02mzu",null,Ki,F),De.disabled=s(),Z(De,"aria-label",$),Z(De,"aria-expanded",V),Xi=ye(fn,1,"expanded-content drawer-anim svelte-w02mzu",null,Xi,ae)},[()=>({expanded:w(Y)()}),()=>({disabled:s()}),()=>w(Y)()?"Close navigation menu":"Open navigation menu",()=>w(Y)()?"true":"false",()=>({open:w(Y)()})]),re("mouseenter",De,()=>T(m,!0)),re("mouseleave",De,()=>T(m,!1)),re("focus",De,()=>T(m,!0)),re("blur",De,()=>T(m,!1)),M(e,er);var ul=W({get ssrSelectedItem(){return l()},set ssrSelectedItem(x=void 0){l(x),_()},get onNavToggle(){return u()},set onNavToggle(x=void 0){u(x),_()},get onNavItemClick(){return f()},set onNavItemClick(x=void 0){f(x),_()},get children(){return d()},set children(x){d(x),_()},get showAppIcons(){return c()},set showAppIcons(x=!0){c(x),_()},get profileMenuData(){return p()},set profileMenuData(x){p(x),_()},get apiUrl(){return g()},set apiUrl(x){g(x),_()},get chatUrl(){return y()},set chatUrl(x){y(x),_()},get consoleUrl(){return S()},set consoleUrl(x){S(x),_()},get discoverUrl(){return E()},set discoverUrl(x){E(x),_()}});return n(),ul}qt(["click","keydown"]),X(Oi,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},children:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Di(e,t){K(t,!0);let r=k(t,"ssrSelectedItem",7),n=k(t,"onNavToggle",7),i=k(t,"onNavItemClick",7),o=k(t,"showAppIcons",7,!0),s=k(t,"profileMenuData",7),a=k(t,"apiUrl",7),l=k(t,"chatUrl",7),u=k(t,"consoleUrl",7),f=k(t,"discoverUrl",7);return Oi(e,{get ssrSelectedItem(){return r()},get onNavToggle(){return n()},get onNavItemClick(){return i()},get showAppIcons(){return o()},get profileMenuData(){return s()},get apiUrl(){return a()},get chatUrl(){return l()},get consoleUrl(){return u()},get discoverUrl(){return f()},children:(d,c)=>{var p=St(),g=Ge(p);hr(g,t,"default",{}),M(d,p)},$$slots:{default:!0}}),W({get ssrSelectedItem(){return r()},set ssrSelectedItem(d){r(d),_()},get onNavToggle(){return n()},set onNavToggle(d){n(d),_()},get onNavItemClick(){return i()},set onNavItemClick(d){i(d),_()},get showAppIcons(){return o()},set showAppIcons(d=!0){o(d),_()},get profileMenuData(){return s()},set profileMenuData(d){s(d),_()},get apiUrl(){return a()},set apiUrl(d){a(d),_()},get chatUrl(){return l()},set chatUrl(d){l(d),_()},get consoleUrl(){return u()},set consoleUrl(d){u(d),_()},get discoverUrl(){return f()},set discoverUrl(d){f(d),_()}})}customElements.define("graymatter-desktop-side-nav",X(Di,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},["default"],[],!0));var $s=G('<svg><g><path d="M57.5791 20.4177C57.5791 15.5645 53.7309 11.6187 48.9988 11.6187H40.188C38.6688 11.6187 37.4304 10.3567 37.4304 8.80197C37.4304 7.24729 38.6658 5.98522 40.188 5.98522H56.2373V0H38.8757C34.1466 0 30.2983 3.94877 30.2983 8.80197C30.2983 13.6552 34.1466 17.6039 38.8757 17.6039H47.6865C49.2057 17.6039 50.4442 18.866 50.4442 20.4207C50.4442 21.9754 49.2087 23.2374 47.6865 23.2374H31.0284V29.2197H48.9988C53.7309 29.2197 57.5791 25.2709 57.5791 20.4207V20.4177Z"></path><path d="M82.1466 24.7153L82.188 24.7685L83.6747 29.2197H90.6914L80.917 0H68.3525L58.5781 29.2167H65.5949L67.0993 24.7153H82.1466ZM69.186 18.4818L73.3653 5.98522H75.9013L75.919 6.03547L80.1161 18.5793H69.1535L69.186 18.4818Z"></path><path d="M27.198 0H20.5626V15.8158C20.5626 21.4345 16.9626 23.4355 13.5961 23.4355C9.03842 23.4355 6.62956 20.799 6.62956 15.8158V0H0V17.0069C0 20.6985 1.46305 24.0532 4.11724 26.4532C6.64729 28.7409 10.0138 30 13.599 30C20.3586 30 27.198 25.5369 27.198 17.0039V0Z"></path><path d="M101.708 9.78915H93.8662V29.2197H101.708V9.78915Z"></path><path d="M101.823 0H93.8662V5.98227H101.823V0Z"></path></g></svg>');function Qt(e,t){const r=br(t,["children","$$slots","$$events","$$legacy","$$host"]),n=br(r,["isInverted","width","height"]);K(t,!1);const i=ot();let o=k(t,"isInverted",12,!1),s=k(t,"width",12),a=k(t,"height",12);const l=102,u=30;s(s()||l),a(a()||u),Yn(()=>Br(o()),()=>{T(i,o()?"var(--ai-color-white)":"var(--ai-color-black)")}),qn();var f=$s();return pr(f,()=>({width:s(),height:a(),viewBox:"0 0 102 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${w(i)??""};`,...n})),M(e,f),W({get isInverted(){return o()},set isInverted(d){o(d),_()},get width(){return s()},set width(d){s(d),_()},get height(){return a()},set height(d){a(d),_()}})}X(Qt,{isInverted:{},width:{},height:{}},[],[],!0);function ji(e,t){K(t,!0);let r=k(t,"isInverted",7,!1),n=k(t,"width",7,void 0),i=k(t,"height",7,void 0),o=Qr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height"]);return Qt(e,Ei({get isInverted(){return r()},get width(){return n()},get height(){return i()}},()=>o)),W({get isInverted(){return r()},set isInverted(s=!1){r(s),_()},get width(){return n()},set width(s=void 0){n(s),_()},get height(){return i()},set height(s=void 0){i(s),_()}})}customElements.define("graymatter-logo",X(ji,{isInverted:{attribute:"is-inverted",reflect:!0,type:"Boolean"},width:{attribute:"width",reflect:!0,type:"Number"},height:{attribute:"height",reflect:!0,type:"Number"}},[],[],!0));function Ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kr={exports:{}},As=kr.exports,Hi;function Us(){return Hi||(Hi=1,function(e,t){(function(r,n,i){e.exports=i(),e.exports.default=i()})("slugify",As,function(){var r=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),n=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function i(o,s){if(typeof o!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var a=n[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,u=s.trim===void 0?!0:s.trim,f=o.normalize().split("").reduce(function(d,c){var p=a[c];return p===void 0&&(p=r[c]),p===void 0&&(p=c),p===l&&(p=" "),d+p.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(f=f.replace(/[^A-Za-z0-9\s]/g,"")),u&&(f=f.trim()),f=f.replace(/\s+/g,l),s.lower&&(f=f.toLowerCase()),f}return i.extend=function(o){Object.assign(r,o)},i})}(kr)),kr.exports}var Os=Us();const Ds=Ts(Os);var js=(e,t,r)=>t(w(r).id),Hs=se('<a><div class="icon svelte-cugc62"><!></div> <span class="label svelte-cugc62"> </span></a>'),Ps=se('<nav class="mobile-bottom-nav" part="mobile-bottom-nav"></nav>');const Vs={hash:"svelte-cugc62",code:".nav-item.svelte-cugc62 {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color 0.2s ease;height:100%;}.nav-item.active.svelte-cugc62 {color:var(--ai-color-neutral-900);}.nav-item.active.svelte-cugc62 .icon:where(.svelte-cugc62) {background-color:var(--ai-color-neutral-200);border-radius:var(--ai-size-8);}.nav-item.svelte-cugc62:hover {color:var(--ai-color-neutral-700);}.icon.svelte-cugc62 {width:var(--ai-size-24);height:var(--ai-size-24);margin-bottom:var(--ai-size-2);display:flex;align-items:center;justify-content:center;padding:var(--ai-size-2);transition:background-color 0.2s ease;}.label.svelte-cugc62 {font-size:0.6875rem; /* 11px */font-weight:500;line-height:1;text-align:center;}"};function Pi(e,t){K(t,!0),ht(e,Vs);const[r,n]=Gt(),i=()=>Ne(gt,"$selectedItem",r);let o=k(t,"onNavItemClick",7),s=k(t,"showAppIcons",7,!0),a=k(t,"apiUrl",7),l=k(t,"chatUrl",7),u=k(t,"consoleUrl",7),f=k(t,"discoverUrl",7);const d=Ai(),c=[{id:"discover",label:"Discover",icon:tn,href:f()||d.discover},{id:"chat",label:"Chat",icon:rn,href:l()||d.chat},{id:"console",label:"Console",icon:nn,href:u()||d.console},{id:"api",label:"API",icon:on,href:a()||d.api}];function p(v){var b;if(v!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),Oe.setSelectedItem(v),v!=="discover")try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:h})=>{h.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const m=document.getElementById("main-content");if(m){const L=m.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(L&&L.textContent){const A=L.textContent.trim();h.set(A),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(A))}}},200)}).catch(h=>{console.log("[MobileBottomNav] Error clearing header state:",h)})}catch(h){console.log("[MobileBottomNav] Import failed for clearing state:",h)}else try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:h})=>{h.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch(h=>{console.log("[MobileBottomNav] Error clearing header state for Discover:",h)})}catch(h){console.log("[MobileBottomNav] Import failed for clearing Discover state:",h)}(b=o())==null||b({item:v,expanded:!1})}var g=St(),y=Ge(g);{var S=v=>{var b=Ps();di(b,21,()=>c,ha,(h,m)=>{var L=Hs();let A;L.__click=[js,p,m];var N=C(L),R=C(N);const ue=ee(()=>i()===w(m).id);ba(R,()=>w(m).icon,(I,U)=>{U(I,{get isSelected(){return w(ue)}})}),z(N);var J=ie(N,2),ce=C(J,!0);z(J),z(L),Se((I,U)=>{Z(L,"href",w(m).href),A=ye(L,1,"nav-item svelte-cugc62",null,A,I),Z(L,"part",U),Jt(ce,w(m).label)},[()=>({active:i()===w(m).id}),()=>`${Ds(w(m).id)}-item`]),M(h,L)}),z(b),M(v,b)};le(y,v=>{s()&&v(S)})}M(e,g);var E=W({get onNavItemClick(){return o()},set onNavItemClick(v){o(v),_()},get showAppIcons(){return s()},set showAppIcons(v=!0){s(v),_()},get apiUrl(){return a()},set apiUrl(v){a(v),_()},get chatUrl(){return l()},set chatUrl(v){l(v),_()},get consoleUrl(){return u()},set consoleUrl(v){u(v),_()},get discoverUrl(){return f()},set discoverUrl(v){f(v),_()}});return n(),E}qt(["click"]),X(Pi,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Vi(e,t){K(t,!0);let r=k(t,"onNavItemClick",7),n=k(t,"showAppIcons",7,!0),i=k(t,"apiUrl",7),o=k(t,"chatUrl",7),s=k(t,"consoleUrl",7),a=k(t,"discoverUrl",7);return Pi(e,{get onNavItemClick(){return r()},get showAppIcons(){return n()},get apiUrl(){return i()},get chatUrl(){return o()},get consoleUrl(){return s()},get discoverUrl(){return a()}}),W({get onNavItemClick(){return r()},set onNavItemClick(l){r(l),_()},get showAppIcons(){return n()},set showAppIcons(l=!0){n(l),_()},get apiUrl(){return i()},set apiUrl(l){i(l),_()},get chatUrl(){return o()},set chatUrl(l){o(l),_()},get consoleUrl(){return s()},set consoleUrl(l){s(l),_()},get discoverUrl(){return a()},set discoverUrl(l){a(l),_()}})}customElements.define("graymatter-mobile-bottom-nav",X(Vi,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0));var Rs=G('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M6 18L18 6M6 6L18 18" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Ri(e){var t=Rs();M(e,t)}X(Ri,{},[],[],!0);var Bs=(e,t)=>{(e.key==="Enter"||e.key===" ")&&t()},Fs=se('<div class="mobile-overlay" role="button" tabindex="0" aria-label="Close navigation menu (Escape key supported)" part="mobile-overlay"></div>'),Ys=se('<a part="logo-link" class="logo-link svelte-130p86v"><!></a>'),qs=se('<div class="subnav-section svelte-130p86v" part="subnav-section"><!></div>'),Zs=se('<div class="no-subnav-message svelte-130p86v" part="no-subnav-message"><p class="svelte-130p86v">Select a section from the bottom navigation</p></div>'),Js=se('<!> <div part="mobile-side-menu"><div class="menu-header svelte-130p86v" part="menu-header"><div class="logo-container svelte-130p86v" part="logo-container"><!></div> <button class="close-button svelte-130p86v" aria-label="Close navigation menu" part="close-button"><!></button></div> <div class="menu-content svelte-130p86v" part="menu-content"><!></div></div>',1);const Ks={hash:"svelte-130p86v",code:".no-subnav-message.svelte-130p86v {padding:var(--ai-size-16);text-align:center;color:var(--ai-color-steel-600);font-size:var(--ai-size-14);}.no-subnav-message.svelte-130p86v p:where(.svelte-130p86v) {margin:0;}.mobile-side-menu.svelte-130p86v {position:fixed;top:0;left:0;bottom:0;width:15rem;max-width:85vw;background:var(--ai-color-white);transform:translateX(-100%);transition:transform 0.3s ease;z-index:var(--ai-layer-50);flex-direction:column;box-shadow:var(--ai-size-2) 0 var(--ai-size-10) #0000001a;}.mobile-side-menu.open.svelte-130p86v {transform:translateX(0);}.menu-header.svelte-130p86v {display:flex;align-items:center;justify-content:space-between;padding:var(--ai-size-16) var(--ai-size-20);border-bottom:0.0625rem solid var(--ai-color-neutral-200);}.mobile-side-menu.svelte-130p86v .logo-container:where(.svelte-130p86v) {display:flex;}.logo-link.svelte-130p86v {display:flex;}.close-button.svelte-130p86v {display:flex;align-items:center;justify-content:center;width:var(--ai-size-32);height:var(--ai-size-32);border:none;background:none;color:var(--ai-color-neutral-700);cursor:pointer;border-radius:var(--ai-size-6);transition:background-color 0.2s ease;}.close-button.svelte-130p86v:hover {background-color:var(--ai-color-neutral-100);}.menu-content.svelte-130p86v {flex:1;overflow-y:auto;padding:0;}.subnav-section.svelte-130p86v {padding:var(--ai-size-16) 0;overflow-y:auto;max-height:calc(100vh - 4rem); /* leave space for header/close */}"};function Bi(e,t){K(t,!0),ht(e,Ks);const[r,n]=Gt(),i=()=>Ne(Ue,"$isExpanded",r),o=()=>Ne(gt,"$selectedItem",r);let s,a=null,l=k(t,"logoLinkUrl",7),u=k(t,"logoLinkLabel",7);function f(I){if(a=I.detail.hash,d(),a){const Y=document.getElementById(a);if(Y){const oe=document.getElementById("main-content-mobile"),ve=oe?oe.querySelector(`[id="${a}"]`):null;if(ve&&oe){const Q=ve.getBoundingClientRect(),he=oe.getBoundingClientRect(),rt=oe.scrollTop+Q.top-he.top;oe.scrollTo({top:rt,behavior:"auto"}),setTimeout(()=>{var mt;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(mt=ve.textContent)==null?void 0:mt.trim(),id:ve.id}}))},100)}else{let Q=Y.parentElement;for(;Q&&Q!==document.body;){const he=window.getComputedStyle(Q);if(he.overflowY==="auto"||he.overflowY==="scroll")break;Q=Q.parentElement}Q&&Q!==document.body?document.getElementById("main-content")?(Y.scrollIntoView({behavior:"auto",block:"start"}),setTimeout(()=>{var rt;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(rt=Y.textContent)==null?void 0:rt.trim(),id:Y.id}}))},100)):Y.scrollIntoView({behavior:"auto",block:"start"}):Y.scrollIntoView({behavior:"auto",block:"start"})}}a=null}}Kt(()=>{window.addEventListener("mobileAnchorNavigate",f);const I=()=>{d()};window.addEventListener("closeMobileMenu",I);const U=oe=>{const ve=oe,{isMobile:Q}=ve.detail;Q&&Oe.setExpanded(!1)};window.addEventListener("layoutTransition",U);const Y=oe=>{const ve=document.activeElement;oe.key==="Escape"&&i()&&!(ve&&ve.closest(".profile-context-menu"))&&d()};return window.addEventListener("keydown",Y),()=>{window.removeEventListener("mobileAnchorNavigate",f),window.removeEventListener("closeMobileMenu",I),window.removeEventListener("layoutTransition",U),window.removeEventListener("keydown",Y)}});function d(){Oe.setExpanded(!1)}var c=Js(),p=Ge(c);{var g=I=>{var U=Fs();U.__click=d,U.__keydown=[Bs,d],M(I,U)};le(p,I=>{i()&&I(g)})}var y=ie(p,2);let S;var E=C(y),v=C(E),b=C(v);{var h=I=>{var U=Ys(),Y=C(U);Qt(Y,{width:75,height:22}),z(U),Se(()=>{Z(U,"href",l()),Z(U,"aria-label",u())}),M(I,U)},m=I=>{Qt(I,{width:75,height:22})};le(b,I=>{l()?I(h):I(m,!1)})}z(v);var L=ie(v,2);L.__click=d;var A=C(L);Ri(A),z(L),z(E);var N=ie(E,2),R=C(N);{var ue=I=>{var U=qs(),Y=C(U);hr(Y,t,"default",{}),z(U),M(I,U)},J=I=>{var U=Zs();M(I,U)};le(R,I=>{o()&&o()!=="discover"?I(ue):I(J,!1)})}z(N),z(y),ut(y,I=>s=I,()=>s),Se(I=>S=ye(y,1,"mobile-side-menu svelte-130p86v",null,S,I),[()=>({open:i()})]),M(e,c);var ce=W({get logoLinkUrl(){return l()},set logoLinkUrl(I){l(I),_()},get logoLinkLabel(){return u()},set logoLinkLabel(I){u(I),_()}});return n(),ce}qt(["click","keydown"]),X(Bi,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0);function Fi(e,t){K(t,!0);let r=k(t,"logoLinkUrl",7),n=k(t,"logoLinkLabel",7);return Bi(e,{get logoLinkUrl(){return r()},get logoLinkLabel(){return n()},children:(i,o)=>{var s=St(),a=Ge(s);hr(a,t,"default",{}),M(i,s)},$$slots:{default:!0}}),W({get logoLinkUrl(){return r()},set logoLinkUrl(i){r(i),_()},get logoLinkLabel(){return n()},set logoLinkLabel(i){n(i),_()}})}customElements.define("graymatter-mobile-side-menu",X(Fi,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0));function Ws(){Oe.toggleExpanded()}var Gs=se('<nav class="mobile-top-nav svelte-1ndhol0" part="mobile-top-nav"><button aria-label="Open navigation menu" part="menu-button"><!></button> <div class="brand svelte-1ndhol0"><!> <span class="brand-text svelte-1ndhol0"> </span></div> <!></nav>');const Xs={hash:"svelte-1ndhol0",code:`.menu-button.svelte-1ndhol0 {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color 0.2s ease;}.menu-button.svelte-1ndhol0:disabled,
38
+ .menu-button.disabled.svelte-1ndhol0 {cursor:not-allowed;opacity:0.5;background-color:transparent;}.mobile-top-nav.svelte-1ndhol0 .menu-button:where(.svelte-1ndhol0) {width:var(--ai-size-40);height:var(--ai-size-40);color:var(--ai-color-neutral-700);}.menu-button.svelte-1ndhol0:hover {background-color:var(--ai-color-neutral-100);}
38
39
 
39
- /* MobileTopNav specific disabled state */.mobile-top-nav.svelte-1u5nbcr .menu-button.disabled:where(.svelte-1u5nbcr),
40
- .mobile-top-nav.svelte-1u5nbcr .menu-button:where(.svelte-1u5nbcr):disabled {cursor:not-allowed;opacity:0.5;background-color:transparent;}.brand.svelte-1u5nbcr {display:flex;align-items:center;gap:var(--ai-size-12);flex:1;margin-left:var(--ai-size-8);}.brand-text.svelte-1u5nbcr {color:var(--ai-color-neutral-900);font-size:var(--ai-size-16);font-weight:600;line-height:1;}.profile-button.svelte-1u5nbcr {width:var(--ai-size-40);height:var(--ai-size-40);}.profile-button.svelte-1u5nbcr:hover {background-color:var(--ai-color-neutral-100);}.mobile-top-nav.svelte-1u5nbcr .user-profile-icon:where(.svelte-1u5nbcr) {width:var(--ai-size-32);height:var(--ai-size-32);border-radius:0.3125rem;}.mobile-top-nav.svelte-1u5nbcr .user-initials:where(.svelte-1u5nbcr) {font-size:var(--ai-size-14);line-height:1;}.user-profile-container.svelte-1u5nbcr {width:var(--ai-size-40);height:var(--ai-size-40);aspect-ratio:1/1;}.user-profile-icon.svelte-1u5nbcr {padding:0.5556rem 0.4931rem 0.5694rem 0.3819rem;}.user-initials.svelte-1u5nbcr {font-size:var(--ai-size-16);font-style:normal;}.menu-button.svelte-1u5nbcr {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity 0.2s ease;will-change:opacity;}.menu-button.disabled.svelte-1u5nbcr {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-1u5nbcr:focus {outline:none;}`};function Ti(e,t){Y(t,!1),pt(e,Os);const[r,n]=Ot(),i=()=>pe(tt,"$selectedSubNavItemTitle",r),o=()=>pe(Vr,"$isMenuButtonDisabled",r);let s=k(t,"onProfileClick",12,void 0);tr(()=>{const p=L=>{if(window.innerWidth<=640)return;const $=L;$.detail&&$.detail.title&&(tt.set($.detail.title),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify($.detail.title)))},w=()=>{if(typeof window>"u")return;const L=document.getElementById("main-content");if(!L)return;const $=L.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if($&&$.textContent){const T=$.textContent.trim();i()||(tt.set(T),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(T)))}};window.addEventListener("sectionVisible",p);const x=sessionStorage.getItem("subNav-selectedTitle");return(!x||x==='""'||x==="null")&&setTimeout(()=>{w()},100),()=>{window.removeEventListener("sectionVisible",p)}});function a(){Ie.toggleExpanded()}function l(){var p;(p=s())==null||p()}ui();var u=As(),d=S(u);let f;var c=S(d);Zr(c,{}),C(d);var v=X(d,2),b=S(v);ur(b,{width:75,height:22});var g=X(b,2),y=S(g,!0);C(g),C(v);var m=X(v,2);C(u),ft(p=>{f=be(d,1,"menu-button svelte-1u5nbcr",null,f,p),d.disabled=o(),Lr(y,i()||"")},[()=>({disabled:o()})],Bt),W("click",d,a),W("click",m,l),I(e,u);var h=Z({get onProfileClick(){return s()},set onProfileClick(p){s(p),_()}});return n(),h}B(Ti,{onProfileClick:{}},[],[],!0);function zi(e,t){Y(t,!0);let r=k(t,"onMenuToggle",7);return Ti(e,{get onMenuToggle(){return r()}}),Z({get onMenuToggle(){return r()},set onMenuToggle(n){r(n),_()}})}customElements.define("graymatter-mobile-top-nav",B(zi,{onMenuToggle:{}},[],[],!0)),z.Button=hi,z.DesktopHeader=wi,z.DesktopSideNav=yi,z.Logo=xi,z.MobileBottomNav=Si,z.MobileSideMenu=Ii,z.MobileTopNav=zi,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
40
+ /* MobileTopNav specific disabled state */.mobile-top-nav.svelte-1ndhol0 .menu-button.disabled:where(.svelte-1ndhol0),
41
+ .mobile-top-nav.svelte-1ndhol0 .menu-button:where(.svelte-1ndhol0):disabled {cursor:not-allowed;opacity:0.5;background-color:transparent;}.brand.svelte-1ndhol0 {display:flex;align-items:center;gap:var(--ai-size-12);flex:1;margin-left:var(--ai-size-8);}.brand-text.svelte-1ndhol0 {color:var(--ai-color-neutral-900);font-size:var(--ai-size-16);font-weight:600;line-height:1;}.menu-button.svelte-1ndhol0 {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity 0.2s ease;will-change:opacity;}.menu-button.disabled.svelte-1ndhol0 {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-1ndhol0:focus {outline:none;}`};function Yi(e,t){K(t,!0),ht(e,Xs);const[r,n]=Gt(),i=()=>Ne(pt,"$selectedSubNavItemTitle",r),o=()=>Ne(en,"$isMenuButtonDisabled",r);let s=k(t,"profileMenuData",7);Kt(()=>{const v=m=>{if(window.innerWidth<=640)return;const L=m;L.detail&&L.detail.title&&(pt.set(L.detail.title),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(L.detail.title)))},b=()=>{if(typeof window>"u")return;const m=document.getElementById("main-content");if(!m)return;const L=m.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(L&&L.textContent){const A=L.textContent.trim();i()||(pt.set(A),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(A)))}};window.addEventListener("sectionVisible",v);const h=sessionStorage.getItem("subNav-selectedTitle");return(!h||h==='""'||h==="null")&&setTimeout(()=>{b()},100),()=>{window.removeEventListener("sectionVisible",v)}});var a=Gs(),l=C(a);let u;l.__click=[Ws];var f=C(l);an(f,{}),z(l);var d=ie(l,2),c=C(d);Qt(c,{width:75,height:22});var p=ie(c,2),g=C(p,!0);z(p),z(d);var y=ie(d,2);{var S=v=>{const b=ee(()=>{var m;return(m=s())==null?void 0:m.userMeta}),h=ee(()=>{var m;return(m=s())==null?void 0:m.menuItems});sn(v,{get userMeta(){return w(b)},get menuItems(){return w(h)},ariaLabel:"Open profile menu",menuAlign:"mobile"})};le(y,v=>{s()&&v(S)})}z(a),Se(v=>{u=ye(l,1,"menu-button svelte-1ndhol0",null,u,v),l.disabled=o(),Jt(g,i()||"")},[()=>({disabled:o()})]),M(e,a);var E=W({get profileMenuData(){return s()},set profileMenuData(v){s(v),_()}});return n(),E}qt(["click"]),X(Yi,{profileMenuData:{}},[],[],!0);function qi(e,t){K(t,!0);let r=k(t,"profileMenuData",7);return Yi(e,{get profileMenuData(){return r()}}),W({get profileMenuData(){return r()},set profileMenuData(n){r(n),_()}})}customElements.define("graymatter-mobile-top-nav",X(qi,{profileMenuData:{}},[],[],!0)),O.Button=Ii,O.DesktopHeader=Ti,O.DesktopSideNav=Di,O.Logo=ji,O.MobileBottomNav=Vi,O.MobileSideMenu=Fi,O.MobileTopNav=qi,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});