@gsa-tts/graymatter-ui 0.2.7 → 0.2.8

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(O,F){typeof exports=="object"&&typeof module<"u"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(O=typeof globalThis<"u"?globalThis:O||self,F(O.graymatter={}))})(this,function(O){"use strict";var El=Object.defineProperty;var oo=O=>{throw TypeError(O)};var Sl=(O,F,ae)=>F in O?El(O,F,{enumerable:!0,configurable:!0,writable:!0,value:ae}):O[F]=ae;var ze=(O,F,ae)=>Sl(O,typeof F!="symbol"?F+"":F,ae),ao=(O,F,ae)=>F.has(O)||oo("Cannot "+ae);var we=(O,F,ae)=>(ao(O,F,"read from private field"),ae?ae.call(O):F.get(O)),dn=(O,F,ae)=>F.has(O)?oo("Cannot add the same private member more than once"):F instanceof WeakSet?F.add(O):F.set(O,ae),fn=(O,F,ae,mt)=>(ao(O,F,"write to private field"),mt?mt.call(O,ae):F.set(O,ae),ae);var Zi,rt,Ne;const F="5";typeof window<"u"&&((Zi=window.__svelte??(window.__svelte={})).v??(Zi.v=new Set)).add(F);const ae=1,mt=2,vn=4,so=8,lo=16,uo=1,co=2,hn=4,fo=8,vo=16,gn=1,ho=2,xr="[",Cr="[!",zr="]",_t={},be=Symbol(),go="http://www.w3.org/1999/xhtml",po="@attach",pn=!1;var rr=Array.isArray,bo=Array.prototype.indexOf,Er=Array.from,nr=Object.keys,Tt=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,bn=Object.getOwnPropertyDescriptors,wo=Object.prototype,mo=Array.prototype,Sr=Object.getPrototypeOf,wn=Object.isExtensible;function $t(e){return typeof e=="function"}const Ee=()=>{};function _o(e){return e()}function At(e){for(var t=0;t<e.length;t++)e[t]()}const Se=2,Ir=4,Ut=8,Mr=16,Ke=32,ft=64,Lr=128,me=256,ir=512,_e=1024,We=2048,ot=4096,Ge=8192,Nr=16384,mn=32768,Ot=65536,_n=1<<17,yo=1<<18,yn=1<<19,Tr=1<<20,$r=1<<21,je=Symbol("$state"),Ar=Symbol("legacy props"),ko=Symbol(""),kn=new class extends Error{constructor(){super(...arguments);ze(this,"name","StaleReactionError");ze(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},xn=3,Ht=8;function Cn(e){return e===this.v}function zn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function En(e){return!zn(e,this.v)}function xo(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Co(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function zo(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Eo(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function So(){throw new Error("https://svelte.dev/e/hydration_failed")}function Io(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Mo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Lo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function No(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let yt=!1,To=!1;function $o(){yt=!0}function Ao(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let Z=null;function Sn(e){Z=e}function G(e,t=!1,r){var n=Z={p:Z,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};yt&&!t&&(Z.l={s:null,u:null,r1:[],r2:Ct(!1)}),sr(()=>{n.d=!0})}function X(e){const t=Z;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var r=P,n=D;t.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];at(o.effect),Ye(o.reaction),Rn(o.fn)}}finally{at(r),Ye(n)}}Z=t.p,t.m=!0}return e||{}}function or(){return!yt||Z!==null&&Z.l===null}function kt(e){if(typeof e!="object"||e===null||je in e)return e;const t=Sr(e);if(t!==wo&&t!==mo)return e;var r=new Map,n=rr(e),i=ge(0),o=D,s=a=>{var l=D;Ye(o);var c=a();return Ye(l),c};return n&&r.set("length",ge(e.length)),new Proxy(e,{defineProperty(a,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Mo();var f=r.get(l);return f===void 0?f=s(()=>{var d=ge(c.value);return r.set(l,d),d}):A(f,c.value,!0),!0},deleteProperty(a,l){var c=r.get(l);if(c===void 0){if(l in a){const u=s(()=>ge(be));r.set(l,u),Ur(i)}}else{if(n&&typeof l=="string"){var f=r.get("length"),d=Number(l);Number.isInteger(d)&&d<f.v&&A(f,d)}A(c,be),Ur(i)}return!0},get(a,l,c){var h;if(l===je)return e;var f=r.get(l),d=l in a;if(f===void 0&&(!d||(h=Je(a,l))!=null&&h.writable)&&(f=s(()=>{var p=kt(d?a[l]:be),k=ge(p);return k}),r.set(l,f)),f!==void 0){var u=m(f);return u===be?void 0:u}return Reflect.get(a,l,c)},getOwnPropertyDescriptor(a,l){var c=Reflect.getOwnPropertyDescriptor(a,l);if(c&&"value"in c){var f=r.get(l);f&&(c.value=m(f))}else if(c===void 0){var d=r.get(l),u=d==null?void 0:d.v;if(d!==void 0&&u!==be)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return c},has(a,l){var u;if(l===je)return!0;var c=r.get(l),f=c!==void 0&&c.v!==be||Reflect.has(a,l);if(c!==void 0||P!==null&&(!f||(u=Je(a,l))!=null&&u.writable)){c===void 0&&(c=s(()=>{var h=f?kt(a[l]):be,p=ge(h);return p}),r.set(l,c));var d=m(c);if(d===be)return!1}return f},set(a,l,c,f){var w;var d=r.get(l),u=l in a;if(n&&l==="length")for(var h=c;h<d.v;h+=1){var p=r.get(h+"");p!==void 0?A(p,be):h in a&&(p=s(()=>ge(be)),r.set(h+"",p))}if(d===void 0)(!u||(w=Je(a,l))!=null&&w.writable)&&(d=s(()=>ge(void 0)),A(d,kt(c)),r.set(l,d));else{u=d.v!==be;var k=s(()=>kt(c));A(d,k)}var E=Reflect.getOwnPropertyDescriptor(a,l);if(E!=null&&E.set&&E.set.call(f,c),!u){if(n&&typeof l=="string"){var S=r.get("length"),v=Number(l);Number.isInteger(v)&&v>=S.v&&A(S,v+1)}Ur(i)}return!0},ownKeys(a){m(i);var l=Reflect.ownKeys(a).filter(d=>{var u=r.get(d);return u===void 0||u.v!==be});for(var[c,f]of r)f.v!==be&&!(c in a)&&l.push(c);return l},setPrototypeOf(){Lo()}})}function Ur(e,t=1){A(e,e.v+t)}function In(e){try{if(e!==null&&typeof e=="object"&&je in e)return e[je]}catch{}return e}function Uo(e,t){return Object.is(In(e),In(t))}function xt(e){var t=Se|We,r=D!==null&&(D.f&Se)!==0?D:null;return P===null||r!==null&&(r.f&me)!==0?t|=me:P.f|=yn,{ctx:Z,deps:null,effects:null,equals:Cn,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??P,ac:null}}function re(e){const t=xt(e);return Gn(t),t}function Mn(e){const t=xt(e);return t.equals=En,t}function Ln(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ke(t[r])}}function Oo(e){for(var t=e.parent;t!==null;){if((t.f&Se)===0)return t;t=t.parent}return null}function Nn(e){var t,r=P;at(Oo(e));try{Ln(e),t=ei(e)}finally{at(r)}return t}function Tn(e){var t=Nn(e);if(e.equals(t)||(e.v=t,e.wv=Xn()),!St){var r=(st||(e.f&me)!==0)&&e.deps!==null?ot:_e;Oe(e,r)}}const Dt=new Map;function Ct(e,t){var r={f:0,v:e,reactions:null,equals:Cn,rv:0,wv:0};return r}function ge(e,t){const r=Ct(e);return Gn(r),r}function vt(e,t=!1,r=!0){var i;const n=Ct(e);return t||(n.equals=En),yt&&r&&Z!==null&&Z.l!==null&&((i=Z.l).s??(i.s=[])).push(n),n}function Ho(e,t){return A(e,Ue(()=>m(e))),t}function A(e,t,r=!1){D!==null&&(!Fe||(D.f&_n)!==0)&&or()&&(D.f&(Se|Mr|_n))!==0&&!((ne==null?void 0:ne.reaction)===D&&ne.sources.includes(e))&&No();let n=r?kt(t):t;return Or(e,n)}function Or(e,t){if(!e.equals(t)){var r=e.v;St?Dt.set(e,t):Dt.set(e,r),e.v=t,(e.f&Se)!==0&&((e.f&We)!==0&&Nn(e),Oe(e,(e.f&me)===0?_e:ot)),e.wv=Xn(),An(e,We),or()&&P!==null&&(P.f&_e)!==0&&(P.f&(Ke|ft))===0&&(Me===null?Wo([e]):Me.push(e))}return t}function $n(e,t=1){var r=m(e),n=t===1?r++:r--;return A(e,r),n}function An(e,t){var r=e.reactions;if(r!==null)for(var n=or(),i=r.length,o=0;o<i;o++){var s=r[o],a=s.f;(a&We)===0&&(!n&&s===P||(Oe(s,t),(a&(_e|me))!==0&&((a&Se)!==0?An(s,ot):hr(s))))}}function ar(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Do(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let H=!1;function $e(e){H=e}let V;function Ae(e){if(e===null)throw ar(),_t;return V=e}function zt(){return Ae(Xe(V))}function x(e){if(H){if(Xe(V)!==null)throw ar(),_t;V=e}}function Re(e=1){if(H){for(var t=e,r=V;t--;)r=Xe(r);V=r}}function Hr(){for(var e=0,t=V;;){if(t.nodeType===Ht){var r=t.data;if(r===zr){if(e===0)return t;e-=1}else(r===xr||r===Cr)&&(e+=1)}var n=Xe(t);t.remove(),t=n}}function Un(e){if(!e||e.nodeType!==Ht)throw ar(),_t;return e.data}var On,Hn,Dn,Vn;function Dr(){if(On===void 0){On=window,Hn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Dn=Je(t,"firstChild").get,Vn=Je(t,"nextSibling").get,wn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wn(r)&&(r.__t=void 0)}}function Et(e=""){return document.createTextNode(e)}function Ie(e){return Dn.call(e)}function Xe(e){return Vn.call(e)}function z(e,t){if(!H)return Ie(e);var r=Ie(V);if(r===null)r=V.appendChild(Et());else if(t&&r.nodeType!==xn){var n=Et();return r==null||r.before(n),Ae(n),n}return Ae(r),r}function Be(e,t){if(!H){var r=Ie(e);return r instanceof Comment&&r.data===""?Xe(r):r}return V}function ue(e,t=1,r=!1){let n=H?V:e;for(var i;t--;)i=n,n=Xe(n);if(!H)return n;if(r&&(n==null?void 0:n.nodeType)!==xn){var o=Et();return n===null?i==null||i.after(o):n.before(o),Ae(o),o}return Ae(n),n}function Pn(e){e.textContent=""}function jn(e){P===null&&D===null&&zo(),D!==null&&(D.f&me)!==0&&P===null&&Co(),St&&xo()}function Vo(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Qe(e,t,r,n=!0){var i=P,o={ctx:Z,deps:null,nodes_start:null,nodes_end:null,f:e|We,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{vr(o),o.f|=mn}catch(l){throw ke(o),l}else t!==null&&hr(o);var s=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(yn|Lr))===0;if(!s&&n&&(i!==null&&Vo(o,i),D!==null&&(D.f&Se)!==0)){var a=D;(a.effects??(a.effects=[])).push(o)}return o}function sr(e){const t=Qe(Ut,null,!1);return Oe(t,_e),t.teardown=e,t}function Vr(e){jn();var t=P!==null&&(P.f&Ke)!==0&&Z!==null&&!Z.m;if(t){var r=Z;(r.e??(r.e=[])).push({fn:e,effect:P,reaction:D})}else return Rn(e)}function Rn(e){return Qe(Ir|$r,e,!1)}function Po(e){return jn(),Qe(Ut|$r,e,!0)}function jo(e){const t=Qe(ft,e,!0);return()=>{ke(t)}}function Ro(e){const t=Qe(ft,e,!0);return(r={})=>new Promise(n=>{r.outro?Vt(t,()=>{ke(t),n(void 0)}):(ke(t),n(void 0))})}function Pr(e){return Qe(Ir,e,!1)}function Bo(e,t){var r=Z,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=lr(()=>{e(),!n.ran&&(n.ran=!0,A(r.l.r2,!0),Ue(t))})}function Fo(){var e=Z;lr(()=>{if(m(e.l.r2)){for(var t of e.l.r1){var r=t.effect;(r.f&_e)!==0&&Oe(r,ot),Yt(r)&&vr(r),t.ran=!1}e.l.r2.v=!1}})}function lr(e){return Qe(Ut,e,!0)}function ye(e,t=[],r=xt){const n=t.map(r);return ht(()=>e(...n.map(m)))}function ht(e,t=0){var r=Qe(Ut|Mr|t,e,!0);return r}function et(e,t=!0){return Qe(Ut|Ke,e,!0,t)}function Bn(e){var t=e.teardown;if(t!==null){const r=St,n=D;Wn(!0),Ye(null);try{t.call(null)}finally{Wn(r),Ye(n)}}}function Fn(e,t=!1){var i;var r=e.first;for(e.first=e.last=null;r!==null;){(i=r.ac)==null||i.abort(kn);var n=r.next;(r.f&ft)!==0?r.parent=null:ke(r,t),r=n}}function Yo(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ke)===0&&ke(t),t=r}}function ke(e,t=!0){var r=!1;(t||(e.f&yo)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Zo(e.nodes_start,e.nodes_end),r=!0),Fn(e,t&&!r),fr(e,0),Oe(e,Nr);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Bn(e);var i=e.parent;i!==null&&i.first!==null&&Yn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Zo(e,t){for(;e!==null;){var r=e===t?null:Xe(e);e.remove(),e=r}}function Yn(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 Vt(e,t){var r=[];jr(e,r,!0),Zn(r,()=>{ke(e),t&&t()})}function Zn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function jr(e,t,r){if((e.f&Ge)===0){if(e.f^=Ge,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&Ke)!==0;jr(n,t,o?r:!1),n=i}}}function ur(e){qn(e,!0)}function qn(e,t){if((e.f&Ge)!==0){e.f^=Ge;for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ot)!==0||(r.f&Ke)!==0;qn(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 Jn(){var e=Pt;Pt=[],At(e)}function qo(){var e=Rr;Rr=[],At(e)}function jt(e){Pt.length===0&&queueMicrotask(Jn),Pt.push(e)}function Jo(){Pt.length>0&&Jn(),Rr.length>0&&qo()}function Ko(e){var t=P;if((t.f&mn)===0){if((t.f&Lr)===0)throw e;t.fn(e)}else Kn(e,t)}function Kn(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,gt=!1,St=!1;function Wn(e){St=e}let Ft=[],Il=[],D=null,Fe=!1;function Ye(e){D=e}let P=null;function at(e){P=e}let ne=null;function Gn(e){D!==null&&D.f&Tr&&(ne===null?ne={reaction:D,sources:[e]}:ne.sources.push(e))}let pe=null,xe=0,Me=null;function Wo(e){Me=e}let cr=1,dr=0,st=!1;function Xn(){return++cr}function Yt(e){var d;var t=e.f;if((t&We)!==0)return!0;if((t&ot)!==0){var r=e.deps,n=(t&me)!==0;if(r!==null){var i,o,s=(t&ir)!==0,a=n&&P!==null&&!st,l=r.length;if(s||a){var c=e,f=c.parent;for(i=0;i<l;i++)o=r[i],(s||!((d=o==null?void 0:o.reactions)!=null&&d.includes(c)))&&(o.reactions??(o.reactions=[])).push(c);s&&(c.f^=ir),a&&f!==null&&(f.f&me)===0&&(c.f^=me)}for(i=0;i<l;i++)if(o=r[i],Yt(o)&&Tn(o),o.wv>e.wv)return!0}(!n||P!==null&&!st)&&Oe(e,_e)}return!1}function Qn(e,t,r=!0){var n=e.reactions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];(ne==null?void 0:ne.reaction)===D&&ne.sources.includes(e)||((o.f&Se)!==0?Qn(o,t,!1):t===o&&(r?Oe(o,We):(o.f&_e)!==0&&Oe(o,ot),hr(o)))}}function ei(e){var h;var t=pe,r=xe,n=Me,i=D,o=st,s=ne,a=Z,l=Fe,c=e.f;pe=null,xe=0,Me=null,st=(c&me)!==0&&(Fe||!gt||D===null),D=(c&(Ke|ft))===0?e:null,ne=null,Sn(e.ctx),Fe=!1,dr++,e.f|=Tr,e.ac!==null&&(e.ac.abort(kn),e.ac=null);try{var f=(0,e.fn)(),d=e.deps;if(pe!==null){var u;if(fr(e,xe),d!==null&&xe>0)for(d.length=xe+pe.length,u=0;u<pe.length;u++)d[xe+u]=pe[u];else e.deps=d=pe;if(!st||(c&Se)!==0&&e.reactions!==null)for(u=xe;u<d.length;u++)((h=d[u]).reactions??(h.reactions=[])).push(e)}else d!==null&&xe<d.length&&(fr(e,xe),d.length=xe);if(or()&&Me!==null&&!Fe&&d!==null&&(e.f&(Se|ot|We))===0)for(u=0;u<Me.length;u++)Qn(Me[u],e);return i!==null&&i!==e&&(dr++,Me!==null&&(n===null?n=Me:n.push(...Me))),f}catch(p){Ko(p)}finally{pe=t,xe=r,Me=n,D=i,st=o,ne=s,Sn(a),Fe=l,e.f^=Tr}}function Go(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&Se)!==0&&(pe===null||!pe.includes(t))&&(Oe(t,ot),(t.f&(me|ir))===0&&(t.f^=ir),Ln(t),fr(t,0))}function fr(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Go(e,r[n])}function vr(e){var t=e.f;if((t&Nr)===0){Oe(e,_e);var r=P,n=gt;P=e,gt=!0;try{(t&Mr)!==0?Yo(e):Fn(e),Bn(e);var i=ei(e);e.teardown=typeof i=="function"?i:null,e.wv=cr;var o;pn&&To&&(e.f&We)!==0&&e.deps}finally{gt=n,P=r}}}function Xo(){try{Eo()}catch(e){if(Bt!==null)Kn(e,Bt);else throw e}}function ti(){var e=gt;try{var t=0;for(gt=!0;Ft.length>0;){t++>1e3&&Xo();var r=Ft,n=r.length;Ft=[];for(var i=0;i<n;i++){var o=ea(r[i]);Qo(o)}Dt.clear()}}finally{Rt=!1,gt=e,Bt=null}}function Qo(e){var t=e.length;if(t!==0){for(var r=0;r<t;r++){var n=e[r];if((n.f&(Nr|Ge))===0&&Yt(n)){var i=cr;if(vr(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Yn(n):n.fn=null),cr>i&&(n.f&$r)!==0)break}}for(;r<t;r+=1)hr(e[r])}}function hr(e){Rt||(Rt=!0,queueMicrotask(ti));for(var t=Bt=e;t.parent!==null;){t=t.parent;var r=t.f;if((r&(ft|Ke))!==0){if((r&_e)===0)return;t.f^=_e}}Ft.push(t)}function ea(e){for(var t=[],r=e;r!==null;){var n=r.f,i=(n&(Ke|ft))!==0,o=i&&(n&_e)!==0;if(!o&&(n&Ge)===0){(n&Ir)!==0?t.push(r):i?r.f^=_e:Yt(r)&&vr(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(),Ft.length===0)return Rt=!1,Bt=null,t;Rt=!0,ti()}}function m(e){var t=e.f,r=(t&Se)!==0;if(D!==null&&!Fe){if((ne==null?void 0:ne.reaction)!==D||!(ne!=null&&ne.sources.includes(e))){var n=D.deps;e.rv<dr&&(e.rv=dr,pe===null&&n!==null&&n[xe]===e?xe++: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&me)===0&&(i.f^=me)}return r&&(i=e,Yt(i)&&Tn(i)),St&&Dt.has(e)?Dt.get(e):e.v}function Ue(e){var t=Fe;try{return Fe=!0,e()}finally{Fe=t}}const ta=-7169;function Oe(e,t){e.f=e.f&ta|t}function ri(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(je in e)Br(e);else if(!Array.isArray(e))for(let t in e){const r=e[t];typeof r=="object"&&r&&je in r&&Br(r)}}}function Br(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{Br(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=bn(r);for(let i in n){const o=n[i].get;if(o)try{o.call(e)}catch{}}}}}function ra(e,t){if(t){const r=document.body;e.autofocus=!0,jt(()=>{document.activeElement===r&&e.focus()})}}function na(e){var t=D,r=P;Ye(null),at(null);try{return e()}finally{Ye(t),at(r)}}const ni=new Set,Fr=new Set;function ii(e,t,r,n={}){function i(o){if(n.capture||qt.call(t,o),!o.cancelBubble)return na(()=>r==null?void 0:r.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?jt(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function ie(e,t,r,n,i){var o={capture:n,passive:i},s=ii(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&sr(()=>{t.removeEventListener(e,s,o)})}function Zt(e){for(var t=0;t<e.length;t++)ni.add(e[t]);for(var r of Fr)r(e)}function qt(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 c=i.indexOf(t);if(c===-1)return;l<=c&&(s=l)}if(o=i[s]||e.target,o!==t){Tt(e,"currentTarget",{configurable:!0,get(){return o||r}});var f=D,d=P;Ye(null),at(null);try{for(var u,h=[];o!==null;){var p=o.assignedSlot||o.parentNode||o.host||null;try{var k=o["__"+n];if(k!=null&&(!o.disabled||e.target===o))if(rr(k)){var[E,...S]=k;E.apply(o,[e,...S])}else k.call(o,e)}catch(w){u?h.push(w):u=w}if(e.cancelBubble||p===t||p===null)break;o=p}if(u){for(let w of h)queueMicrotask(()=>{throw w});throw u}}finally{e.__root=t,delete e.currentTarget,Ye(f),at(d)}}}function oi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function tt(e,t){var r=P;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function se(e,t){var r=(t&gn)!==0,n=(t&ho)!==0,i,o=!e.startsWith("<!>");return()=>{if(H)return tt(V,null),V;i===void 0&&(i=oi(o?e:"<!>"+e),r||(i=Ie(i)));var s=n||Hn?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Ie(s),l=s.lastChild;tt(a,l)}else tt(s,s);return s}}function ia(e,t,r="svg"){var n=!e.startsWith("<!>"),i=(t&gn)!==0,o=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(H)return tt(V,null),V;if(!s){var a=oi(o),l=Ie(a);if(i)for(s=document.createDocumentFragment();Ie(l);)s.appendChild(Ie(l));else s=Ie(l)}var c=s.cloneNode(!0);if(i){var f=Ie(c),d=c.lastChild;tt(f,d)}else tt(c,c);return c}}function q(e,t){return ia(e,t,"svg")}function pt(){if(H)return tt(V,null),V;var e=document.createDocumentFragment(),t=document.createComment(""),r=Et();return e.append(t,r),tt(t,r),e}function M(e,t){if(H){P.nodes_end=V,zt();return}e!==null&&e.before(t)}function oa(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const aa=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function sa(e){return aa.includes(e)}const la={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 ua(e){return e=e.toLowerCase(),la[e]??e}const ca=["touchstart","touchmove"];function da(e){return ca.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 ai(e,t){return si(e,t)}function fa(e,t){Dr(),t.intro=t.intro??!1;const r=t.target,n=H,i=V;try{for(var o=Ie(r);o&&(o.nodeType!==Ht||o.data!==xr);)o=Xe(o);if(!o)throw _t;$e(!0),Ae(o),zt();const s=si(e,{...t,anchor:o});if(V===null||V.nodeType!==Ht||V.data!==zr)throw ar(),_t;return $e(!1),s}catch(s){if(s===_t)return t.recover===!1&&So(),Dr(),Pn(r),$e(!1),ai(e,t);throw s}finally{$e(n),Ae(i)}}const It=new Map;function si(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:s=!0}){Dr();var a=new Set,l=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!a.has(h)){a.add(h);var p=da(h);t.addEventListener(h,qt,{passive:p});var k=It.get(h);k===void 0?(document.addEventListener(h,qt,{passive:p}),It.set(h,1)):It.set(h,k+1)}}};l(Er(ni)),Fr.add(l);var c=void 0,f=Ro(()=>{var d=r??t.appendChild(Et());return et(()=>{if(o){G({});var u=Z;u.c=o}i&&(n.$$events=i),H&&tt(d,null),c=e(d,n)||{},H&&(P.nodes_end=V),o&&X()}),()=>{var p;for(var u of a){t.removeEventListener(u,qt);var h=It.get(u);--h===0?(document.removeEventListener(u,qt),It.delete(u)):It.set(u,h)}Fr.delete(l),d!==r&&((p=d.parentNode)==null||p.removeChild(d))}});return Yr.set(c,f),c}let Yr=new WeakMap;function va(e,t){const r=Yr.get(e);return r?(Yr.delete(e),r(t)):Promise.resolve()}function Zr(e,t,...r){var n=e,i=Ee,o;ht(()=>{i!==(i=t())&&(o&&(ke(o),o=null),o=et(()=>i(n,...r)))},Ot),H&&(n=V)}function Kt(e){Z===null&&Ao(),yt&&Z.l!==null?ha(Z).m.push(e):Vr(()=>{const t=Ue(e);if(typeof t=="function")return t})}function ha(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function oe(e,t,[r,n]=[0,0]){H&&r===0&&zt();var i=e,o=null,s=null,a=be,l=r>0?Ot:0,c=!1;const f=(u,h=!0)=>{c=!0,d(h,u)},d=(u,h)=>{if(a===(a=u))return;let p=!1;if(H&&n!==-1){if(r===0){const E=Un(i);E===xr?n=0:E===Cr?n=1/0:(n=parseInt(E.substring(1)),n!==n&&(n=a?1/0:-1))}const k=n>r;!!a===k&&(i=Hr(),Ae(i),$e(!1),p=!0,n=-1)}a?(o?ur(o):h&&(o=et(()=>h(i))),s&&Vt(s,()=>{s=null})):(s?ur(s):h&&(s=et(()=>h(i,[r+1,n]))),o&&Vt(o,()=>{o=null})),p&&$e(!0)};ht(()=>{c=!1,t(f),c||d(null,null)},l),H&&(i=V)}function ga(e,t){return t}function pa(e,t,r,n){for(var i=[],o=t.length,s=0;s<o;s++)jr(t[s].e,i,!0);var a=o>0&&i.length===0&&r!==null;if(a){var l=r.parentNode;Pn(l),l.append(r),n.clear(),lt(e,t[0].prev,t[o-1].next)}Zn(i,()=>{for(var c=0;c<o;c++){var f=t[c];a||(n.delete(f.k),lt(e,f.prev,f.next)),ke(f.e,!a)}})}function li(e,t,r,n,i,o=null){var s=e,a={flags:t,items:new Map,first:null},l=(t&vn)!==0;if(l){var c=e;s=H?Ae(Ie(c)):c.appendChild(Et())}H&&zt();var f=null,d=!1,u=Mn(()=>{var h=r();return rr(h)?h:h==null?[]:Er(h)});ht(()=>{var h=m(u),p=h.length;if(d&&p===0)return;d=p===0;let k=!1;if(H){var E=Un(s)===Cr;E!==(p===0)&&(s=Hr(),Ae(s),$e(!1),k=!0)}if(H){for(var S=null,v,w=0;w<p;w++){if(V.nodeType===Ht&&V.data===zr){s=V,k=!0,$e(!1);break}var g=h[w],b=n(g,w);v=ui(V,a,S,null,g,b,w,i,t,r),a.items.set(b,v),S=v}p>0&&Ae(Hr())}H||ba(h,a,s,i,t,n,r),o!==null&&(p===0?f?ur(f):f=et(()=>o(s)):f!==null&&Vt(f,()=>{f=null})),k&&$e(!0),m(u)}),H&&(s=V)}function ba(e,t,r,n,i,o,s){var T,R,ce,ve;var a=(i&so)!==0,l=(i&(ae|mt))!==0,c=e.length,f=t.items,d=t.first,u=d,h,p=null,k,E=[],S=[],v,w,g,b;if(a)for(b=0;b<c;b+=1)v=e[b],w=o(v,b),g=f.get(w),g!==void 0&&((T=g.a)==null||T.measure(),(k??(k=new Set)).add(g));for(b=0;b<c;b+=1){if(v=e[b],w=o(v,b),g=f.get(w),g===void 0){var L=u?u.e.nodes_start:r;p=ui(L,t,p,p===null?t.first:p.next,v,w,b,n,i,s),f.set(w,p),E=[],S=[],u=p.next;continue}if(l&&wa(g,v,b,i),(g.e.f&Ge)!==0&&(ur(g.e),a&&((R=g.a)==null||R.unfix(),(k??(k=new Set)).delete(g))),g!==u){if(h!==void 0&&h.has(g)){if(E.length<S.length){var U=S[0],K;p=U.prev;var N=E[0],j=E[E.length-1];for(K=0;K<E.length;K+=1)ci(E[K],U,r);for(K=0;K<S.length;K+=1)h.delete(S[K]);lt(t,N.prev,j.next),lt(t,p,N),lt(t,j,U),u=U,p=j,b-=1,E=[],S=[]}else h.delete(g),ci(g,u,r),lt(t,g.prev,g.next),lt(t,g,p===null?t.first:p.next),lt(t,p,g),p=g;continue}for(E=[],S=[];u!==null&&u.k!==w;)(u.e.f&Ge)===0&&(h??(h=new Set)).add(u),S.push(u),u=u.next;if(u===null)continue;g=u}E.push(g),p=g,u=g.next}if(u!==null||h!==void 0){for(var ee=h===void 0?[]:Er(h);u!==null;)(u.e.f&Ge)===0&&ee.push(u),u=u.next;var W=ee.length;if(W>0){var I=(i&vn)!==0&&c===0?r:null;if(a){for(b=0;b<W;b+=1)(ce=ee[b].a)==null||ce.measure();for(b=0;b<W;b+=1)(ve=ee[b].a)==null||ve.fix()}pa(t,ee,I,f)}}a&&jt(()=>{var de;if(k!==void 0)for(g of k)(de=g.a)==null||de.apply()}),P.first=t.first&&t.first.e,P.last=p&&p.e}function wa(e,t,r,n){(n&ae)!==0&&Or(e.v,t),(n&mt)!==0?Or(e.i,r):e.i=r}function ui(e,t,r,n,i,o,s,a,l,c){var f=(l&ae)!==0,d=(l&lo)===0,u=f?d?vt(i,!1,!1):Ct(i):i,h=(l&mt)===0?s:Ct(s),p={i:h,v:u,k:o,a:null,e:null,prev:r,next:n};try{return p.e=et(()=>a(e,u,h,c),H),p.e.prev=r&&r.e,p.e.next=n&&n.e,r===null?t.first=p:(r.next=p,r.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}finally{}}function ci(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=Xe(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 gr(e,t,r,n,i){var a;H&&zt();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 ma(e,t,r){H&&zt();var n=e,i,o;ht(()=>{i!==(i=t())&&(o&&(Vt(o),o=null),i&&(o=et(()=>r(n,i))))},Ot),H&&(n=V)}function ut(e,t){jt(()=>{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 _a(e,t){var r=void 0,n;ht(()=>{r!==(r=t())&&(n&&(ke(n),n=null),r&&(n=et(()=>{Pr(()=>r(e))})))})}function di(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=di(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ya(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=di(e))&&(n&&(n+=" "),n+=t);return n}function ka(e){return typeof e=="object"?ya(e):e??""}const fi=[...`
2
- \r\f \v\uFEFF`];function xa(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||fi.includes(n[s-1]))&&(a===n.length||fi.includes(n[a]))?n=(s===0?"":n.substring(0,s))+n.substring(a+1):s=a}}return n===""?null:n}function vi(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 qr(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Ca(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(qr)),i&&l.push(...Object.keys(i).map(qr));var c=0,f=-1;const k=e.length;for(var d=0;d<k;d++){var u=e[d];if(a?u==="/"&&e[d-1]==="*"&&(a=!1):o?o===u&&(o=!1):u==="/"&&e[d+1]==="*"?a=!0:u==='"'||u==="'"?o=u:u==="("?s++:u===")"&&s--,!a&&o===!1&&s===0){if(u===":"&&f===-1)f=d;else if(u===";"||d===k-1){if(f!==-1){var h=qr(e.substring(c,f).trim());if(!l.includes(h)){u!==";"&&d++;var p=e.substring(c,d).trim();r+=" "+p+";"}}c=d+1,f=-1}}}}return n&&(r+=vi(n)),i&&(r+=vi(i,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function Ce(e,t,r,n,i,o){var s=e.__className;if(H||s!==r||s===void 0){var a=xa(r,n,o);(!H||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 c=!!o[l];(i==null||c!==!!i[l])&&e.classList.toggle(l,c)}return o}function Jr(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 za(e,t,r,n){var i=e.__style;if(H||i!==t){var o=Ca(t,n);(!H||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else n&&(Array.isArray(n)?(Jr(e,r==null?void 0:r[0],n[0]),Jr(e,r==null?void 0:r[1],n[1],"important")):Jr(e,r,n));return n}function Kr(e,t,r=!1){if(e.multiple){if(t==null)return;if(!rr(t))return Do();for(var n of e.options)n.selected=t.includes(hi(n));return}for(n of e.options){var i=hi(n);if(Uo(i,t)){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Ea(e){var t=new MutationObserver(()=>{Kr(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),sr(()=>{t.disconnect()})}function hi(e){return"__value"in e?e.__value:e.value}const Mt=Symbol("class"),Wt=Symbol("style"),gi=Symbol("is custom element"),pi=Symbol("is html");function Sa(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function J(e,t,r,n){var i=bi(e);H&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[ko]=r),r==null?e.removeAttribute(t):typeof r!="string"&&mi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ia(e,t,r,n,i=!1){var o=bi(e),s=o[gi],a=!o[pi];let l=H&&s;l&&$e(!1);var c=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[Mt])&&(r.class=null),r[Wt]&&(r.style??(r.style=null));var u=mi(e);for(const w in r){let g=r[w];if(f&&w==="value"&&g==null){e.value=e.__value="",c[w]=g;continue}if(w==="class"){var h=e.namespaceURI==="http://www.w3.org/1999/xhtml";Ce(e,h,g,n,t==null?void 0:t[Mt],r[Mt]),c[w]=g,c[Mt]=r[Mt];continue}if(w==="style"){za(e,g,t==null?void 0:t[Wt],r[Wt]),c[w]=g,c[Wt]=r[Wt];continue}var p=c[w];if(!(g===p&&!(g===void 0&&e.hasAttribute(w)))){c[w]=g;var k=w[0]+w[1];if(k!=="$$")if(k==="on"){const b={},L="$$"+w;let U=w.slice(2);var E=sa(U);if(oa(U)&&(U=U.slice(0,-7),b.capture=!0),!E&&p){if(g!=null)continue;e.removeEventListener(U,c[L],b),c[L]=null}if(g!=null)if(E)e[`__${U}`]=g,Zt([U]);else{let K=function(N){c[w].call(this,N)};c[L]=ii(U,e,K,b)}else E&&(e[`__${U}`]=void 0)}else if(w==="style")J(e,w,g);else if(w==="autofocus")ra(e,!!g);else if(!s&&(w==="__value"||w==="value"&&g!=null))e.value=e.__value=g;else if(w==="selected"&&f)Sa(e,g);else{var S=w;a||(S=ua(S));var v=S==="defaultValue"||S==="defaultChecked";if(g==null&&!s&&!v)if(o[w]=null,S==="value"||S==="checked"){let b=e;const L=t===void 0;if(S==="value"){let U=b.defaultValue;b.removeAttribute(S),b.defaultValue=U,b.value=b.__value=L?U:null}else{let U=b.defaultChecked;b.removeAttribute(S),b.defaultChecked=U,b.checked=L?U:!1}}else e.removeAttribute(w);else v||u.includes(S)&&(s||typeof g!="string")?e[S]=g:typeof g!="function"&&J(e,S,g)}}}return l&&$e(!0),c}function Gt(e,t,r=[],n,i=!1,o=xt){const s=r.map(o);var a=void 0,l={},c=e.nodeName==="SELECT",f=!1;if(ht(()=>{var u=t(...s.map(m)),h=Ia(e,a,u,n,i);f&&c&&"value"in u&&Kr(e,u.value);for(let k of Object.getOwnPropertySymbols(l))u[k]||ke(l[k]);for(let k of Object.getOwnPropertySymbols(u)){var p=u[k];k.description===po&&(!a||p!==a[k])&&(l[k]&&ke(l[k]),l[k]=et(()=>_a(e,()=>p))),h[k]=p}a=h}),c){var d=e;Pr(()=>{Kr(d,a.value,!0),Ea(d)})}f=!0}function bi(e){return e.__attributes??(e.__attributes={[gi]:e.nodeName.includes("-"),[pi]:e.namespaceURI===go})}var wi=new Map;function mi(e){var t=wi.get(e.nodeName);if(t)return t;wi.set(e.nodeName,t=[]);for(var r,n=e,i=Element.prototype;i!==n;){r=bn(n);for(var o in r)r[o].set&&t.push(o);n=Sr(n)}return t}function _i(e,t){return e===t||(e==null?void 0:e[je])===t}function ct(e={},t,r,n){return Pr(()=>{var i,o;return lr(()=>{i=o,o=(n==null?void 0:n())||[],Ue(()=>{e!==r(...o)&&(t(e,...o),i&&_i(r(...i),e)&&t(null,...i))})}),()=>{jt(()=>{o&&_i(r(...o),e)&&t(null,...o)})}}),e}function Ma(e=!1){const t=Z,r=t.l.u;if(!r)return;let n=()=>ri(t.s);if(e){let i=0,o={};const s=xt(()=>{let a=!1;const l=t.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],a=!0);return a&&i++,i});n=()=>m(s)}r.b.length&&Po(()=>{yi(t,n),At(r.b)}),Vr(()=>{const i=Ue(()=>r.m.map(_o));return()=>{for(const o of i)typeof o=="function"&&o()}}),r.a.length&&Vr(()=>{yi(t,n),At(r.a)})}function yi(e,t){if(e.l.s)for(const r of e.l.s)m(r);t()}function Wr(e,t,r){if(e==null)return t(void 0),r&&r(void 0),Ee;const n=Ue(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const Lt=[];function La(e,t){return{subscribe:pr(e,t).subscribe}}function pr(e,t=Ee){let r=null;const n=new Set;function i(a){if(zn(e,a)&&(e=a,r)){const l=!Lt.length;for(const c of n)c[1](),Lt.push(c,e);if(l){for(let c=0;c<Lt.length;c+=2)Lt[c][0](Lt[c+1]);Lt.length=0}}}function o(a){i(a(e))}function s(a,l=Ee){const c=[a,l];return n.add(c),n.size===1&&(r=t(i,o)||Ee),a(e),()=>{n.delete(c),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function Na(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 La(r,(s,a)=>{let l=!1;const c=[];let f=0,d=Ee;const u=()=>{if(f)return;d();const p=t(n?c[0]:c,s,a);o?s(p):d=typeof p=="function"?p:Ee},h=i.map((p,k)=>Wr(p,E=>{c[k]=E,f&=~(1<<k),l&&u()},()=>{f|=1<<k}));return l=!0,u(),function(){At(h),d(),l=!1}})}function Ta(e){let t;return Wr(e,r=>t=r)(),t}let br=!1,Gr=Symbol();function Le(e,t,r){const n=r[t]??(r[t]={store:null,source:vt(void 0),unsubscribe:Ee});if(n.store!==e&&!(Gr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=Ee;else{var i=!0;n.unsubscribe=Wr(e,o=>{i?n.source.v=o:A(n.source,o)}),i=!1}return e&&Gr in r?Ta(e):m(n.source)}function Xt(){const e={};function t(){sr(()=>{for(var r in e)e[r].unsubscribe();Tt(e,Gr,{enumerable:!1,value:!0})})}return[e,t]}function $a(e){var t=br;try{return br=!1,[e(),br]}finally{br=t}}const Aa={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 wr(e,t,r){return new Proxy({props:e,exclude:t},Aa)}const Ua={get(e,t){if(!e.exclude.includes(t))return m(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){return t in e.special||(e.special[t]=y({get[t](){return e.props[t]}},t,hn)),e.special[t](r),$n(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),$n(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 ki(e,t){return new Proxy({props:e,exclude:t,special:{},version:Ct(0)},Ua)}const Oa={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=Je(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=Je(n,t);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,t){if(t===je||t===Ar)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 xi(...e){return new Proxy({props:e},Oa)}function Ha(e){var t;return((t=e.ctx)==null?void 0:t.d)??!1}function y(e,t,r,n){var S;var i=!yt||(r&co)!==0,o=(r&fo)!==0,s=(r&vo)!==0,a=n,l=!0,c=()=>(l&&(l=!1,a=s?Ue(n):n),a),f;if(o){var d=je in e||Ar in e;f=((S=Je(e,t))==null?void 0:S.set)??(d&&t in e?v=>e[t]=v:void 0)}var u,h=!1;o?[u,h]=$a(()=>e[t]):u=e[t],u===void 0&&n!==void 0&&(u=c(),f&&(i&&Io(),f(u)));var p;if(i?p=()=>{var v=e[t];return v===void 0?c():(l=!0,v)}:p=()=>{var v=e[t];return v!==void 0&&(a=void 0),v===void 0?a:v},i&&(r&hn)===0)return p;if(f){var k=e.$$legacy;return function(v,w){return arguments.length>0?((!i||!w||k||h)&&f(w?p():v),v):p()}}var E=((r&uo)!==0?xt:Mn)(p);return o&&m(E),function(v,w){if(arguments.length>0){const g=w?m(E):i&&o?kt(v):v;return A(E,g),a!==void 0&&(a=g),v}return Ha(E)?E.v:m(E)}}function Da(e){return new Va(e)}class Va{constructor(t){dn(this,rt);dn(this,Ne);var o;var r=new Map,n=(s,a)=>{var l=vt(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return m(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Ar?!0:(m(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return A(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});fn(this,Ne,(t.hydrate?fa:ai)(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)&&_(),fn(this,rt,i.$$events);for(const s of Object.keys(we(this,Ne)))s==="$set"||s==="$destroy"||s==="$on"||Tt(this,s,{get(){return we(this,Ne)[s]},set(a){we(this,Ne)[s]=a},enumerable:!0});we(this,Ne).$set=s=>{Object.assign(i,s)},we(this,Ne).$destroy=()=>{va(we(this,Ne))}}$set(t){we(this,Ne).$set(t)}$on(t,r){we(this,rt)[t]=we(this,rt)[t]||[];const n=(...i)=>r.call(this,...i);return we(this,rt)[t].push(n),()=>{we(this,rt)[t]=we(this,rt)[t].filter(i=>i!==n)}}$destroy(){we(this,Ne).$destroy()}}rt=new WeakMap,Ne=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=Pa(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]=mr(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=jo(()=>{lr(()=>{var i;this.$$r=!0;for(const o of nr(this.$$c)){if(!((i=this.$$p_d[o])!=null&&i.reflect))continue;this.$$d[o]=this.$$c[o];const s=mr(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]=mr(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 nr(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function mr(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 Pa(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Q(e,t,r,n,i,o){let s=class extends Ci{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return nr(t).map(a=>(t[a].attribute||a).toLowerCase())}};return nr(t).forEach(a=>{Tt(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var d;l=mr(a,l,t),this.$$d[a]=l;var c=this.$$c;if(c){var f=(d=Je(c,a))==null?void 0:d.get;f?c[a]=l:c.$set({[a]:l})}}})}),n.forEach(a=>{Tt(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}var ja=se("<a><!></a>"),Ra=se("<button><!></button>");const Ba={hash:"svelte-zftwkm",code:`:root, :host {
1
+ (function(U,B){typeof exports=="object"&&typeof module<"u"?B(exports):typeof define=="function"&&define.amd?define(["exports"],B):(U=typeof globalThis<"u"?globalThis:U||self,B(U.graymatter={}))})(this,function(U){"use strict";var xl=Object.defineProperty;var no=U=>{throw TypeError(U)};var Cl=(U,B,ae)=>B in U?xl(U,B,{enumerable:!0,configurable:!0,writable:!0,value:ae}):U[B]=ae;var Ee=(U,B,ae)=>Cl(U,typeof B!="symbol"?B+"":B,ae),io=(U,B,ae)=>B.has(U)||no("Cannot "+ae);var me=(U,B,ae)=>(io(U,B,"read from private field"),ae?ae.call(U):B.get(U)),ln=(U,B,ae)=>B.has(U)?no("Cannot add the same private member more than once"):B instanceof WeakSet?B.add(U):B.set(U,ae),un=(U,B,ae,mt)=>(io(U,B,"write to private field"),mt?mt.call(U,ae):B.set(U,ae),ae);var Ri,nt,Te;const B="5";typeof window<"u"&&((Ri=window.__svelte??(window.__svelte={})).v??(Ri.v=new Set)).add(B);const ae=1,mt=2,cn=4,oo=8,ao=16,so=1,lo=2,fn=4,uo=8,co=16,dn=1,fo=2,_r="[",yr="[!",kr="]",wt={},be=Symbol(),vo="http://www.w3.org/1999/xhtml",ho="@attach",vn=!1;var Qt=Array.isArray,po=Array.prototype.indexOf,xr=Array.from,er=Object.keys,Nt=Object.defineProperty,Ke=Object.getOwnPropertyDescriptor,hn=Object.getOwnPropertyDescriptors,go=Object.prototype,bo=Array.prototype,Cr=Object.getPrototypeOf,pn=Object.isExtensible;function zt(e){return typeof e=="function"}const Se=()=>{};function mo(e){return e()}function Tt(e){for(var t=0;t<e.length;t++)e[t]()}const Ie=2,Er=4,$t=8,Sr=16,We=32,ft=64,Ir=128,we=256,tr=512,_e=1024,Ge=2048,ot=4096,Xe=8192,Lr=16384,gn=32768,At=65536,bn=1<<17,wo=1<<18,mn=1<<19,Mr=1<<20,Nr=1<<21,Re=Symbol("$state"),zr=Symbol("legacy props"),_o=Symbol(""),wn=new class extends Error{constructor(){super(...arguments);Ee(this,"name","StaleReactionError");Ee(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},_n=3,jt=8;function yn(e){return e===this.v}function kn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function xn(e){return!kn(e,this.v)}function yo(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ko(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xo(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Co(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Eo(){throw new Error("https://svelte.dev/e/hydration_failed")}function So(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Io(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Lo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Mo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let _t=!1,No=!1;function zo(){_t=!0}function To(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let q=null;function Cn(e){q=e}function Q(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:xt(!1)}),ir(()=>{n.d=!0})}function ee(e){const t=q;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var r=P,n=D;t.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];at(o.effect),qe(o.reaction),Hn(o.fn)}}finally{at(r),qe(n)}}q=t.p,t.m=!0}return e||{}}function rr(){return!_t||q!==null&&q.l===null}function yt(e){if(typeof e!="object"||e===null||Re in e)return e;const t=Cr(e);if(t!==go&&t!==bo)return e;var r=new Map,n=Qt(e),i=he(0),o=D,s=a=>{var l=D;qe(o);var c=a();return qe(l),c};return n&&r.set("length",he(e.length)),new Proxy(e,{defineProperty(a,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Io();var d=r.get(l);return d===void 0?d=s(()=>{var f=he(c.value);return r.set(l,f),f}):j(d,c.value,!0),!0},deleteProperty(a,l){var c=r.get(l);if(c===void 0){if(l in a){const u=s(()=>he(be));r.set(l,u),Tr(i)}}else{if(n&&typeof l=="string"){var d=r.get("length"),f=Number(l);Number.isInteger(f)&&f<d.v&&j(d,f)}j(c,be),Tr(i)}return!0},get(a,l,c){var h;if(l===Re)return e;var d=r.get(l),f=l in a;if(d===void 0&&(!f||(h=Ke(a,l))!=null&&h.writable)&&(d=s(()=>{var g=yt(f?a[l]:be),k=he(g);return k}),r.set(l,d)),d!==void 0){var u=w(d);return u===be?void 0:u}return Reflect.get(a,l,c)},getOwnPropertyDescriptor(a,l){var c=Reflect.getOwnPropertyDescriptor(a,l);if(c&&"value"in c){var d=r.get(l);d&&(c.value=w(d))}else if(c===void 0){var f=r.get(l),u=f==null?void 0:f.v;if(f!==void 0&&u!==be)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return c},has(a,l){var u;if(l===Re)return!0;var c=r.get(l),d=c!==void 0&&c.v!==be||Reflect.has(a,l);if(c!==void 0||P!==null&&(!d||(u=Ke(a,l))!=null&&u.writable)){c===void 0&&(c=s(()=>{var h=d?yt(a[l]):be,g=he(h);return g}),r.set(l,c));var f=w(c);if(f===be)return!1}return d},set(a,l,c,d){var m;var f=r.get(l),u=l in a;if(n&&l==="length")for(var h=c;h<f.v;h+=1){var g=r.get(h+"");g!==void 0?j(g,be):h in a&&(g=s(()=>he(be)),r.set(h+"",g))}if(f===void 0)(!u||(m=Ke(a,l))!=null&&m.writable)&&(f=s(()=>he(void 0)),j(f,yt(c)),r.set(l,f));else{u=f.v!==be;var k=s(()=>yt(c));j(f,k)}var C=Reflect.getOwnPropertyDescriptor(a,l);if(C!=null&&C.set&&C.set.call(d,c),!u){if(n&&typeof l=="string"){var I=r.get("length"),v=Number(l);Number.isInteger(v)&&v>=I.v&&j(I,v+1)}Tr(i)}return!0},ownKeys(a){w(i);var l=Reflect.ownKeys(a).filter(f=>{var u=r.get(f);return u===void 0||u.v!==be});for(var[c,d]of r)d.v!==be&&!(c in a)&&l.push(c);return l},setPrototypeOf(){Lo()}})}function Tr(e,t=1){j(e,e.v+t)}function En(e){try{if(e!==null&&typeof e=="object"&&Re in e)return e[Re]}catch{}return e}function $o(e,t){return Object.is(En(e),En(t))}function kt(e){var t=Ie|Ge,r=D!==null&&(D.f&Ie)!==0?D:null;return P===null||r!==null&&(r.f&we)!==0?t|=we:P.f|=mn,{ctx:q,deps:null,effects:null,equals:yn,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??P,ac:null}}function re(e){const t=kt(e);return Jn(t),t}function Sn(e){const t=kt(e);return t.equals=xn,t}function In(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ye(t[r])}}function Ao(e){for(var t=e.parent;t!==null;){if((t.f&Ie)===0)return t;t=t.parent}return null}function Ln(e){var t,r=P;at(Ao(e));try{In(e),t=Gn(e)}finally{at(r)}return t}function Mn(e){var t=Ln(e);if(e.equals(t)||(e.v=t,e.wv=Kn()),!St){var r=(st||(e.f&we)!==0)&&e.deps!==null?ot:_e;Oe(e,r)}}const Ut=new Map;function xt(e,t){var r={f:0,v:e,reactions:null,equals:yn,rv:0,wv:0};return r}function he(e,t){const r=xt(e);return Jn(r),r}function dt(e,t=!1,r=!0){var i;const n=xt(e);return t||(n.equals=xn),_t&&r&&q!==null&&q.l!==null&&((i=q.l).s??(i.s=[])).push(n),n}function jo(e,t){return j(e,Ue(()=>w(e))),t}function j(e,t,r=!1){D!==null&&(!Ye||(D.f&bn)!==0)&&rr()&&(D.f&(Ie|Sr|bn))!==0&&!((ne==null?void 0:ne.reaction)===D&&ne.sources.includes(e))&&Mo();let n=r?yt(t):t;return $r(e,n)}function $r(e,t){if(!e.equals(t)){var r=e.v;St?Ut.set(e,t):Ut.set(e,r),e.v=t,(e.f&Ie)!==0&&((e.f&Ge)!==0&&Ln(e),Oe(e,(e.f&we)===0?_e:ot)),e.wv=Kn(),zn(e,Ge),rr()&&P!==null&&(P.f&_e)!==0&&(P.f&(We|ft))===0&&(Ne===null?Jo([e]):Ne.push(e))}return t}function Nn(e,t=1){var r=w(e),n=t===1?r++:r--;return j(e,r),n}function zn(e,t){var r=e.reactions;if(r!==null)for(var n=rr(),i=r.length,o=0;o<i;o++){var s=r[o],a=s.f;(a&Ge)===0&&(!n&&s===P||(Oe(s,t),(a&(_e|we))!==0&&((a&Ie)!==0?zn(s,ot):fr(s))))}}function nr(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Uo(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let O=!1;function Ae(e){O=e}let H;function je(e){if(e===null)throw nr(),wt;return H=e}function Ct(){return je(Qe(H))}function E(e){if(O){if(Qe(H)!==null)throw nr(),wt;H=e}}function Be(e=1){if(O){for(var t=e,r=H;t--;)r=Qe(r);H=r}}function Ar(){for(var e=0,t=H;;){if(t.nodeType===jt){var r=t.data;if(r===kr){if(e===0)return t;e-=1}else(r===_r||r===yr)&&(e+=1)}var n=Qe(t);t.remove(),t=n}}function Tn(e){if(!e||e.nodeType!==jt)throw nr(),wt;return e.data}var $n,An,jn,Un;function jr(){if($n===void 0){$n=window,An=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;jn=Ke(t,"firstChild").get,Un=Ke(t,"nextSibling").get,pn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),pn(r)&&(r.__t=void 0)}}function Et(e=""){return document.createTextNode(e)}function Le(e){return jn.call(e)}function Qe(e){return Un.call(e)}function S(e,t){if(!O)return Le(e);var r=Le(H);if(r===null)r=H.appendChild(Et());else if(t&&r.nodeType!==_n){var n=Et();return r==null||r.before(n),je(n),n}return je(r),r}function Fe(e,t){if(!O){var r=Le(e);return r instanceof Comment&&r.data===""?Qe(r):r}return H}function ce(e,t=1,r=!1){let n=O?H:e;for(var i;t--;)i=n,n=Qe(n);if(!O)return n;if(r&&(n==null?void 0:n.nodeType)!==_n){var o=Et();return n===null?i==null||i.after(o):n.before(o),je(o),o}return je(n),n}function On(e){e.textContent=""}function Dn(e){P===null&&D===null&&xo(),D!==null&&(D.f&we)!==0&&P===null&&ko(),St&&yo()}function Oo(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function et(e,t,r,n=!0){var i=P,o={ctx:q,deps:null,nodes_start:null,nodes_end:null,f:e|Ge,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{cr(o),o.f|=gn}catch(l){throw ye(o),l}else t!==null&&fr(o);var s=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(mn|Ir))===0;if(!s&&n&&(i!==null&&Oo(o,i),D!==null&&(D.f&Ie)!==0)){var a=D;(a.effects??(a.effects=[])).push(o)}return o}function ir(e){const t=et($t,null,!1);return Oe(t,_e),t.teardown=e,t}function Ur(e){Dn();var t=P!==null&&(P.f&We)!==0&&q!==null&&!q.m;if(t){var r=q;(r.e??(r.e=[])).push({fn:e,effect:P,reaction:D})}else return Hn(e)}function Hn(e){return et(Er|Nr,e,!1)}function Do(e){return Dn(),et($t|Nr,e,!0)}function Ho(e){const t=et(ft,e,!0);return()=>{ye(t)}}function Vo(e){const t=et(ft,e,!0);return(r={})=>new Promise(n=>{r.outro?Ot(t,()=>{ye(t),n(void 0)}):(ye(t),n(void 0))})}function Or(e){return et(Er,e,!1)}function Po(e,t){var r=q,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=or(()=>{e(),!n.ran&&(n.ran=!0,j(r.l.r2,!0),Ue(t))})}function Ro(){var e=q;or(()=>{if(w(e.l.r2)){for(var t of e.l.r1){var r=t.effect;(r.f&_e)!==0&&Oe(r,ot),Bt(r)&&cr(r),t.ran=!1}e.l.r2.v=!1}})}function or(e){return et($t,e,!0)}function Me(e,t=[],r=kt){const n=t.map(r);return vt(()=>e(...n.map(w)))}function vt(e,t=0){var r=et($t|Sr|t,e,!0);return r}function tt(e,t=!0){return et($t|We,e,!0,t)}function Vn(e){var t=e.teardown;if(t!==null){const r=St,n=D;Zn(!0),qe(null);try{t.call(null)}finally{Zn(r),qe(n)}}}function Pn(e,t=!1){var i;var r=e.first;for(e.first=e.last=null;r!==null;){(i=r.ac)==null||i.abort(wn);var n=r.next;(r.f&ft)!==0?r.parent=null:ye(r,t),r=n}}function Bo(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&We)===0&&ye(t),t=r}}function ye(e,t=!0){var r=!1;(t||(e.f&wo)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Fo(e.nodes_start,e.nodes_end),r=!0),Pn(e,t&&!r),ur(e,0),Oe(e,Lr);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Vn(e);var i=e.parent;i!==null&&i.first!==null&&Rn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Fo(e,t){for(;e!==null;){var r=e===t?null:Qe(e);e.remove(),e=r}}function Rn(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 Ot(e,t){var r=[];Dr(e,r,!0),Bn(r,()=>{ye(e),t&&t()})}function Bn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Dr(e,t,r){if((e.f&Xe)===0){if(e.f^=Xe,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&At)!==0||(n.f&We)!==0;Dr(n,t,o?r:!1),n=i}}}function ar(e){Fn(e,!0)}function Fn(e,t){if((e.f&Xe)!==0){e.f^=Xe;for(var r=e.first;r!==null;){var n=r.next,i=(r.f&At)!==0||(r.f&We)!==0;Fn(r,i?t:!1),r=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let Dt=[],Hr=[];function Yn(){var e=Dt;Dt=[],Tt(e)}function Yo(){var e=Hr;Hr=[],Tt(e)}function Ht(e){Dt.length===0&&queueMicrotask(Yn),Dt.push(e)}function qo(){Dt.length>0&&Yn(),Hr.length>0&&Yo()}function Zo(e){var t=P;if((t.f&gn)===0){if((t.f&Ir)===0)throw e;t.fn(e)}else qn(e,t)}function qn(e,t){for(;t!==null;){if((t.f&Ir)!==0)try{t.b.error(e);return}catch{}t=t.parent}throw e}let Vt=!1,Pt=null,ht=!1,St=!1;function Zn(e){St=e}let Rt=[],El=[],D=null,Ye=!1;function qe(e){D=e}let P=null;function at(e){P=e}let ne=null;function Jn(e){D!==null&&D.f&Mr&&(ne===null?ne={reaction:D,sources:[e]}:ne.sources.push(e))}let pe=null,ke=0,Ne=null;function Jo(e){Ne=e}let sr=1,lr=0,st=!1;function Kn(){return++sr}function Bt(e){var f;var t=e.f;if((t&Ge)!==0)return!0;if((t&ot)!==0){var r=e.deps,n=(t&we)!==0;if(r!==null){var i,o,s=(t&tr)!==0,a=n&&P!==null&&!st,l=r.length;if(s||a){var c=e,d=c.parent;for(i=0;i<l;i++)o=r[i],(s||!((f=o==null?void 0:o.reactions)!=null&&f.includes(c)))&&(o.reactions??(o.reactions=[])).push(c);s&&(c.f^=tr),a&&d!==null&&(d.f&we)===0&&(c.f^=we)}for(i=0;i<l;i++)if(o=r[i],Bt(o)&&Mn(o),o.wv>e.wv)return!0}(!n||P!==null&&!st)&&Oe(e,_e)}return!1}function Wn(e,t,r=!0){var n=e.reactions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];(ne==null?void 0:ne.reaction)===D&&ne.sources.includes(e)||((o.f&Ie)!==0?Wn(o,t,!1):t===o&&(r?Oe(o,Ge):(o.f&_e)!==0&&Oe(o,ot),fr(o)))}}function Gn(e){var h;var t=pe,r=ke,n=Ne,i=D,o=st,s=ne,a=q,l=Ye,c=e.f;pe=null,ke=0,Ne=null,st=(c&we)!==0&&(Ye||!ht||D===null),D=(c&(We|ft))===0?e:null,ne=null,Cn(e.ctx),Ye=!1,lr++,e.f|=Mr,e.ac!==null&&(e.ac.abort(wn),e.ac=null);try{var d=(0,e.fn)(),f=e.deps;if(pe!==null){var u;if(ur(e,ke),f!==null&&ke>0)for(f.length=ke+pe.length,u=0;u<pe.length;u++)f[ke+u]=pe[u];else e.deps=f=pe;if(!st||(c&Ie)!==0&&e.reactions!==null)for(u=ke;u<f.length;u++)((h=f[u]).reactions??(h.reactions=[])).push(e)}else f!==null&&ke<f.length&&(ur(e,ke),f.length=ke);if(rr()&&Ne!==null&&!Ye&&f!==null&&(e.f&(Ie|ot|Ge))===0)for(u=0;u<Ne.length;u++)Wn(Ne[u],e);return i!==null&&i!==e&&(lr++,Ne!==null&&(n===null?n=Ne:n.push(...Ne))),d}catch(g){Zo(g)}finally{pe=t,ke=r,Ne=n,D=i,st=o,ne=s,Cn(a),Ye=l,e.f^=Mr}}function Ko(e,t){let r=t.reactions;if(r!==null){var n=po.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&Ie)!==0&&(pe===null||!pe.includes(t))&&(Oe(t,ot),(t.f&(we|tr))===0&&(t.f^=tr),In(t),ur(t,0))}function ur(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ko(e,r[n])}function cr(e){var t=e.f;if((t&Lr)===0){Oe(e,_e);var r=P,n=ht;P=e,ht=!0;try{(t&Sr)!==0?Bo(e):Pn(e),Vn(e);var i=Gn(e);e.teardown=typeof i=="function"?i:null,e.wv=sr;var o;vn&&No&&(e.f&Ge)!==0&&e.deps}finally{ht=n,P=r}}}function Wo(){try{Co()}catch(e){if(Pt!==null)qn(e,Pt);else throw e}}function Xn(){var e=ht;try{var t=0;for(ht=!0;Rt.length>0;){t++>1e3&&Wo();var r=Rt,n=r.length;Rt=[];for(var i=0;i<n;i++){var o=Xo(r[i]);Go(o)}Ut.clear()}}finally{Vt=!1,ht=e,Pt=null}}function Go(e){var t=e.length;if(t!==0){for(var r=0;r<t;r++){var n=e[r];if((n.f&(Lr|Xe))===0&&Bt(n)){var i=sr;if(cr(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?Rn(n):n.fn=null),sr>i&&(n.f&Nr)!==0)break}}for(;r<t;r+=1)fr(e[r])}}function fr(e){Vt||(Vt=!0,queueMicrotask(Xn));for(var t=Pt=e;t.parent!==null;){t=t.parent;var r=t.f;if((r&(ft|We))!==0){if((r&_e)===0)return;t.f^=_e}}Rt.push(t)}function Xo(e){for(var t=[],r=e;r!==null;){var n=r.f,i=(n&(We|ft))!==0,o=i&&(n&_e)!==0;if(!o&&(n&Xe)===0){(n&Er)!==0?t.push(r):i?r.f^=_e:Bt(r)&&cr(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(qo(),Rt.length===0)return Vt=!1,Pt=null,t;Vt=!0,Xn()}}function w(e){var t=e.f,r=(t&Ie)!==0;if(D!==null&&!Ye){if((ne==null?void 0:ne.reaction)!==D||!(ne!=null&&ne.sources.includes(e))){var n=D.deps;e.rv<lr&&(e.rv=lr,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&we)===0&&(i.f^=we)}return r&&(i=e,Bt(i)&&Mn(i)),St&&Ut.has(e)?Ut.get(e):e.v}function Ue(e){var t=Ye;try{return Ye=!0,e()}finally{Ye=t}}const Qo=-7169;function Oe(e,t){e.f=e.f&Qo|t}function Qn(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(Re in e)Vr(e);else if(!Array.isArray(e))for(let t in e){const r=e[t];typeof r=="object"&&r&&Re in r&&Vr(r)}}}function Vr(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{Vr(e[n],t)}catch{}const r=Cr(e);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=hn(r);for(let i in n){const o=n[i].get;if(o)try{o.call(e)}catch{}}}}}function ea(e,t){if(t){const r=document.body;e.autofocus=!0,Ht(()=>{document.activeElement===r&&e.focus()})}}function ta(e){var t=D,r=P;qe(null),at(null);try{return e()}finally{qe(t),at(r)}}const ei=new Set,Pr=new Set;function ti(e,t,r,n={}){function i(o){if(n.capture||Yt.call(t,o),!o.cancelBubble)return ta(()=>r==null?void 0:r.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Ht(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function ve(e,t,r,n,i){var o={capture:n,passive:i},s=ti(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ir(()=>{t.removeEventListener(e,s,o)})}function Ft(e){for(var t=0;t<e.length;t++)ei.add(e[t]);for(var r of Pr)r(e)}function Yt(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 c=i.indexOf(t);if(c===-1)return;l<=c&&(s=l)}if(o=i[s]||e.target,o!==t){Nt(e,"currentTarget",{configurable:!0,get(){return o||r}});var d=D,f=P;qe(null),at(null);try{for(var u,h=[];o!==null;){var g=o.assignedSlot||o.parentNode||o.host||null;try{var k=o["__"+n];if(k!=null&&(!o.disabled||e.target===o))if(Qt(k)){var[C,...I]=k;C.apply(o,[e,...I])}else k.call(o,e)}catch(m){u?h.push(m):u=m}if(e.cancelBubble||g===t||g===null)break;o=g}if(u){for(let m of h)queueMicrotask(()=>{throw m});throw u}}finally{e.__root=t,delete e.currentTarget,qe(d),at(f)}}}function ri(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function rt(e,t){var r=P;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function se(e,t){var r=(t&dn)!==0,n=(t&fo)!==0,i,o=!e.startsWith("<!>");return()=>{if(O)return rt(H,null),H;i===void 0&&(i=ri(o?e:"<!>"+e),r||(i=Le(i)));var s=n||An?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Le(s),l=s.lastChild;rt(a,l)}else rt(s,s);return s}}function ra(e,t,r="svg"){var n=!e.startsWith("<!>"),i=(t&dn)!==0,o=`<${r}>${n?e:"<!>"+e}</${r}>`,s;return()=>{if(O)return rt(H,null),H;if(!s){var a=ri(o),l=Le(a);if(i)for(s=document.createDocumentFragment();Le(l);)s.appendChild(Le(l));else s=Le(l)}var c=s.cloneNode(!0);if(i){var d=Le(c),f=c.lastChild;rt(d,f)}else rt(c,c);return c}}function K(e,t){return ra(e,t,"svg")}function pt(){if(O)return rt(H,null),H;var e=document.createDocumentFragment(),t=document.createComment(""),r=Et();return e.append(t,r),rt(t,r),e}function L(e,t){if(O){P.nodes_end=H,Ct();return}e!==null&&e.before(t)}function na(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const ia=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function oa(e){return ia.includes(e)}const aa={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 sa(e){return e=e.toLowerCase(),aa[e]??e}const la=["touchstart","touchmove"];function ua(e){return la.includes(e)}function qt(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 ni(e,t){return ii(e,t)}function ca(e,t){jr(),t.intro=t.intro??!1;const r=t.target,n=O,i=H;try{for(var o=Le(r);o&&(o.nodeType!==jt||o.data!==_r);)o=Qe(o);if(!o)throw wt;Ae(!0),je(o),Ct();const s=ii(e,{...t,anchor:o});if(H===null||H.nodeType!==jt||H.data!==kr)throw nr(),wt;return Ae(!1),s}catch(s){if(s===wt)return t.recover===!1&&Eo(),jr(),On(r),Ae(!1),ni(e,t);throw s}finally{Ae(n),je(i)}}const It=new Map;function ii(e,{target:t,anchor:r,props:n={},events:i,context:o,intro:s=!0}){jr();var a=new Set,l=f=>{for(var u=0;u<f.length;u++){var h=f[u];if(!a.has(h)){a.add(h);var g=ua(h);t.addEventListener(h,Yt,{passive:g});var k=It.get(h);k===void 0?(document.addEventListener(h,Yt,{passive:g}),It.set(h,1)):It.set(h,k+1)}}};l(xr(ei)),Pr.add(l);var c=void 0,d=Vo(()=>{var f=r??t.appendChild(Et());return tt(()=>{if(o){Q({});var u=q;u.c=o}i&&(n.$$events=i),O&&rt(f,null),c=e(f,n)||{},O&&(P.nodes_end=H),o&&ee()}),()=>{var g;for(var u of a){t.removeEventListener(u,Yt);var h=It.get(u);--h===0?(document.removeEventListener(u,Yt),It.delete(u)):It.set(u,h)}Pr.delete(l),f!==r&&((g=f.parentNode)==null||g.removeChild(f))}});return Rr.set(c,d),c}let Rr=new WeakMap;function fa(e,t){const r=Rr.get(e);return r?(Rr.delete(e),r(t)):Promise.resolve()}function Br(e,t,...r){var n=e,i=Se,o;vt(()=>{i!==(i=t())&&(o&&(ye(o),o=null),o=tt(()=>i(n,...r)))},At),O&&(n=H)}function Zt(e){q===null&&To(),_t&&q.l!==null?da(q).m.push(e):Ur(()=>{const t=Ue(e);if(typeof t=="function")return t})}function da(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function ie(e,t,[r,n]=[0,0]){O&&r===0&&Ct();var i=e,o=null,s=null,a=be,l=r>0?At:0,c=!1;const d=(u,h=!0)=>{c=!0,f(h,u)},f=(u,h)=>{if(a===(a=u))return;let g=!1;if(O&&n!==-1){if(r===0){const C=Tn(i);C===_r?n=0:C===yr?n=1/0:(n=parseInt(C.substring(1)),n!==n&&(n=a?1/0:-1))}const k=n>r;!!a===k&&(i=Ar(),je(i),Ae(!1),g=!0,n=-1)}a?(o?ar(o):h&&(o=tt(()=>h(i))),s&&Ot(s,()=>{s=null})):(s?ar(s):h&&(s=tt(()=>h(i,[r+1,n]))),o&&Ot(o,()=>{o=null})),g&&Ae(!0)};vt(()=>{c=!1,t(d),c||f(null,null)},l),O&&(i=H)}function va(e,t){return t}function ha(e,t,r,n){for(var i=[],o=t.length,s=0;s<o;s++)Dr(t[s].e,i,!0);var a=o>0&&i.length===0&&r!==null;if(a){var l=r.parentNode;On(l),l.append(r),n.clear(),lt(e,t[0].prev,t[o-1].next)}Bn(i,()=>{for(var c=0;c<o;c++){var d=t[c];a||(n.delete(d.k),lt(e,d.prev,d.next)),ye(d.e,!a)}})}function oi(e,t,r,n,i,o=null){var s=e,a={flags:t,items:new Map,first:null},l=(t&cn)!==0;if(l){var c=e;s=O?je(Le(c)):c.appendChild(Et())}O&&Ct();var d=null,f=!1,u=Sn(()=>{var h=r();return Qt(h)?h:h==null?[]:xr(h)});vt(()=>{var h=w(u),g=h.length;if(f&&g===0)return;f=g===0;let k=!1;if(O){var C=Tn(s)===yr;C!==(g===0)&&(s=Ar(),je(s),Ae(!1),k=!0)}if(O){for(var I=null,v,m=0;m<g;m++){if(H.nodeType===jt&&H.data===kr){s=H,k=!0,Ae(!1);break}var p=h[m],b=n(p,m);v=ai(H,a,I,null,p,b,m,i,t,r),a.items.set(b,v),I=v}g>0&&je(Ar())}O||pa(h,a,s,i,t,n,r),o!==null&&(g===0?d?ar(d):d=tt(()=>o(s)):d!==null&&Ot(d,()=>{d=null})),k&&Ae(!0),w(u)}),O&&(s=H)}function pa(e,t,r,n,i,o,s){var T,Y,fe,de;var a=(i&oo)!==0,l=(i&(ae|mt))!==0,c=e.length,d=t.items,f=t.first,u=f,h,g=null,k,C=[],I=[],v,m,p,b;if(a)for(b=0;b<c;b+=1)v=e[b],m=o(v,b),p=d.get(m),p!==void 0&&((T=p.a)==null||T.measure(),(k??(k=new Set)).add(p));for(b=0;b<c;b+=1){if(v=e[b],m=o(v,b),p=d.get(m),p===void 0){var M=u?u.e.nodes_start:r;g=ai(M,t,g,g===null?t.first:g.next,v,m,b,n,i,s),d.set(m,g),C=[],I=[],u=g.next;continue}if(l&&ga(p,v,b,i),(p.e.f&Xe)!==0&&(ar(p.e),a&&((Y=p.a)==null||Y.unfix(),(k??(k=new Set)).delete(p))),p!==u){if(h!==void 0&&h.has(p)){if(C.length<I.length){var A=I[0],Z;g=A.prev;var N=C[0],R=C[C.length-1];for(Z=0;Z<C.length;Z+=1)si(C[Z],A,r);for(Z=0;Z<I.length;Z+=1)h.delete(I[Z]);lt(t,N.prev,R.next),lt(t,g,N),lt(t,R,A),u=A,g=R,b-=1,C=[],I=[]}else h.delete(p),si(p,u,r),lt(t,p.prev,p.next),lt(t,p,g===null?t.first:g.next),lt(t,g,p),g=p;continue}for(C=[],I=[];u!==null&&u.k!==m;)(u.e.f&Xe)===0&&(h??(h=new Set)).add(u),I.push(u),u=u.next;if(u===null)continue;p=u}C.push(p),g=p,u=p.next}if(u!==null||h!==void 0){for(var G=h===void 0?[]:xr(h);u!==null;)(u.e.f&Xe)===0&&G.push(u),u=u.next;var V=G.length;if(V>0){var z=(i&cn)!==0&&c===0?r:null;if(a){for(b=0;b<V;b+=1)(fe=G[b].a)==null||fe.measure();for(b=0;b<V;b+=1)(de=G[b].a)==null||de.fix()}ha(t,G,z,d)}}a&&Ht(()=>{var X;if(k!==void 0)for(p of k)(X=p.a)==null||X.apply()}),P.first=t.first&&t.first.e,P.last=g&&g.e}function ga(e,t,r,n){(n&ae)!==0&&$r(e.v,t),(n&mt)!==0?$r(e.i,r):e.i=r}function ai(e,t,r,n,i,o,s,a,l,c){var d=(l&ae)!==0,f=(l&ao)===0,u=d?f?dt(i,!1,!1):xt(i):i,h=(l&mt)===0?s:xt(s),g={i:h,v:u,k:o,a:null,e:null,prev:r,next:n};try{return g.e=tt(()=>a(e,u,h,c),O),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 si(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=Qe(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 dr(e,t,r,n,i){var a;O&&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 ba(e,t,r){O&&Ct();var n=e,i,o;vt(()=>{i!==(i=t())&&(o&&(Ot(o),o=null),i&&(o=tt(()=>r(n,i))))},At),O&&(n=H)}function ut(e,t){Ht(()=>{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 ma(e,t){var r=void 0,n;vt(()=>{r!==(r=t())&&(n&&(ye(n),n=null),r&&(n=tt(()=>{Or(()=>r(e))})))})}function li(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=li(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function wa(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=li(e))&&(n&&(n+=" "),n+=t);return n}function _a(e){return typeof e=="object"?wa(e):e??""}const ui=[...`
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||ui.includes(n[s-1]))&&(a===n.length||ui.includes(n[a]))?n=(s===0?"":n.substring(0,s))+n.substring(a+1):s=a}}return n===""?null:n}function ci(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 Fr(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function ka(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(Fr)),i&&l.push(...Object.keys(i).map(Fr));var c=0,d=-1;const k=e.length;for(var f=0;f<k;f++){var u=e[f];if(a?u==="/"&&e[f-1]==="*"&&(a=!1):o?o===u&&(o=!1):u==="/"&&e[f+1]==="*"?a=!0:u==='"'||u==="'"?o=u:u==="("?s++:u===")"&&s--,!a&&o===!1&&s===0){if(u===":"&&d===-1)d=f;else if(u===";"||f===k-1){if(d!==-1){var h=Fr(e.substring(c,d).trim());if(!l.includes(h)){u!==";"&&f++;var g=e.substring(c,f).trim();r+=" "+g+";"}}c=f+1,d=-1}}}}return n&&(r+=ci(n)),i&&(r+=ci(i,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function xe(e,t,r,n,i,o){var s=e.__className;if(O||s!==r||s===void 0){var a=ya(r,n,o);(!O||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 c=!!o[l];(i==null||c!==!!i[l])&&e.classList.toggle(l,c)}return o}function Yr(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(O||i!==t){var o=ka(t,n);(!O||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else n&&(Array.isArray(n)?(Yr(e,r==null?void 0:r[0],n[0]),Yr(e,r==null?void 0:r[1],n[1],"important")):Yr(e,r,n));return n}function qr(e,t,r=!1){if(e.multiple){if(t==null)return;if(!Qt(t))return Uo();for(var n of e.options)n.selected=t.includes(fi(n));return}for(n of e.options){var i=fi(n);if($o(i,t)){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Ca(e){var t=new MutationObserver(()=>{qr(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ir(()=>{t.disconnect()})}function fi(e){return"__value"in e?e.__value:e.value}const Lt=Symbol("class"),Jt=Symbol("style"),di=Symbol("is custom element"),vi=Symbol("is html");function Ea(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function W(e,t,r,n){var i=hi(e);O&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[_o]=r),r==null?e.removeAttribute(t):typeof r!="string"&&gi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Sa(e,t,r,n,i=!1){var o=hi(e),s=o[di],a=!o[vi];let l=O&&s;l&&Ae(!1);var c=t||{},d=e.tagName==="OPTION";for(var f in t)f in r||(r[f]=null);r.class?r.class=_a(r.class):(n||r[Lt])&&(r.class=null),r[Jt]&&(r.style??(r.style=null));var u=gi(e);for(const m in r){let p=r[m];if(d&&m==="value"&&p==null){e.value=e.__value="",c[m]=p;continue}if(m==="class"){var h=e.namespaceURI==="http://www.w3.org/1999/xhtml";xe(e,h,p,n,t==null?void 0:t[Lt],r[Lt]),c[m]=p,c[Lt]=r[Lt];continue}if(m==="style"){xa(e,p,t==null?void 0:t[Jt],r[Jt]),c[m]=p,c[Jt]=r[Jt];continue}var g=c[m];if(!(p===g&&!(p===void 0&&e.hasAttribute(m)))){c[m]=p;var k=m[0]+m[1];if(k!=="$$")if(k==="on"){const b={},M="$$"+m;let A=m.slice(2);var C=oa(A);if(na(A)&&(A=A.slice(0,-7),b.capture=!0),!C&&g){if(p!=null)continue;e.removeEventListener(A,c[M],b),c[M]=null}if(p!=null)if(C)e[`__${A}`]=p,Ft([A]);else{let Z=function(N){c[m].call(this,N)};c[M]=ti(A,e,Z,b)}else C&&(e[`__${A}`]=void 0)}else if(m==="style")W(e,m,p);else if(m==="autofocus")ea(e,!!p);else if(!s&&(m==="__value"||m==="value"&&p!=null))e.value=e.__value=p;else if(m==="selected"&&d)Ea(e,p);else{var I=m;a||(I=sa(I));var v=I==="defaultValue"||I==="defaultChecked";if(p==null&&!s&&!v)if(o[m]=null,I==="value"||I==="checked"){let b=e;const M=t===void 0;if(I==="value"){let A=b.defaultValue;b.removeAttribute(I),b.defaultValue=A,b.value=b.__value=M?A:null}else{let A=b.defaultChecked;b.removeAttribute(I),b.defaultChecked=A,b.checked=M?A:!1}}else e.removeAttribute(m);else v||u.includes(I)&&(s||typeof p!="string")?e[I]=p:typeof p!="function"&&W(e,I,p)}}}return l&&Ae(!0),c}function Kt(e,t,r=[],n,i=!1,o=kt){const s=r.map(o);var a=void 0,l={},c=e.nodeName==="SELECT",d=!1;if(vt(()=>{var u=t(...s.map(w)),h=Sa(e,a,u,n,i);d&&c&&"value"in u&&qr(e,u.value);for(let k of Object.getOwnPropertySymbols(l))u[k]||ye(l[k]);for(let k of Object.getOwnPropertySymbols(u)){var g=u[k];k.description===ho&&(!a||g!==a[k])&&(l[k]&&ye(l[k]),l[k]=tt(()=>ma(e,()=>g))),h[k]=g}a=h}),c){var f=e;Or(()=>{qr(f,a.value,!0),Ca(f)})}d=!0}function hi(e){return e.__attributes??(e.__attributes={[di]:e.nodeName.includes("-"),[vi]:e.namespaceURI===vo})}var pi=new Map;function gi(e){var t=pi.get(e.nodeName);if(t)return t;pi.set(e.nodeName,t=[]);for(var r,n=e,i=Element.prototype;i!==n;){r=hn(n);for(var o in r)r[o].set&&t.push(o);n=Cr(n)}return t}function bi(e,t){return e===t||(e==null?void 0:e[Re])===t}function ct(e={},t,r,n){return Or(()=>{var i,o;return or(()=>{i=o,o=(n==null?void 0:n())||[],Ue(()=>{e!==r(...o)&&(t(e,...o),i&&bi(r(...i),e)&&t(null,...i))})}),()=>{Ht(()=>{o&&bi(r(...o),e)&&t(null,...o)})}}),e}function Ia(e=!1){const t=q,r=t.l.u;if(!r)return;let n=()=>Qn(t.s);if(e){let i=0,o={};const s=kt(()=>{let a=!1;const l=t.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],a=!0);return a&&i++,i});n=()=>w(s)}r.b.length&&Do(()=>{mi(t,n),Tt(r.b)}),Ur(()=>{const i=Ue(()=>r.m.map(mo));return()=>{for(const o of i)typeof o=="function"&&o()}}),r.a.length&&Ur(()=>{mi(t,n),Tt(r.a)})}function mi(e,t){if(e.l.s)for(const r of e.l.s)w(r);t()}function Zr(e,t,r){if(e==null)return t(void 0),r&&r(void 0),Se;const n=Ue(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const Mt=[];function La(e,t){return{subscribe:vr(e,t).subscribe}}function vr(e,t=Se){let r=null;const n=new Set;function i(a){if(kn(e,a)&&(e=a,r)){const l=!Mt.length;for(const c of n)c[1](),Mt.push(c,e);if(l){for(let c=0;c<Mt.length;c+=2)Mt[c][0](Mt[c+1]);Mt.length=0}}}function o(a){i(a(e))}function s(a,l=Se){const c=[a,l];return n.add(c),n.size===1&&(r=t(i,o)||Se),a(e),()=>{n.delete(c),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function Ma(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 La(r,(s,a)=>{let l=!1;const c=[];let d=0,f=Se;const u=()=>{if(d)return;f();const g=t(n?c[0]:c,s,a);o?s(g):f=typeof g=="function"?g:Se},h=i.map((g,k)=>Zr(g,C=>{c[k]=C,d&=~(1<<k),l&&u()},()=>{d|=1<<k}));return l=!0,u(),function(){Tt(h),f(),l=!1}})}function Na(e){let t;return Zr(e,r=>t=r)(),t}let hr=!1,Jr=Symbol();function ze(e,t,r){const n=r[t]??(r[t]={store:null,source:dt(void 0),unsubscribe:Se});if(n.store!==e&&!(Jr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=Se;else{var i=!0;n.unsubscribe=Zr(e,o=>{i?n.source.v=o:j(n.source,o)}),i=!1}return e&&Jr in r?Na(e):w(n.source)}function Wt(){const e={};function t(){ir(()=>{for(var r in e)e[r].unsubscribe();Nt(e,Jr,{enumerable:!1,value:!0})})}return[e,t]}function za(e){var t=hr;try{return hr=!1,[e(),hr]}finally{hr=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 pr(e,t,r){return new Proxy({props:e,exclude:t},Ta)}const $a={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]=y({get[t](){return e.props[t]}},t,fn)),e.special[t](r),Nn(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),Nn(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 wi(e,t){return new Proxy({props:e,exclude:t,special:{},version:xt(0)},$a)}const Aa={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(zt(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];zt(i)&&(i=i());const o=Ke(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(zt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const i=Ke(n,t);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,t){if(t===Re||t===zr)return!1;for(let r of e.props)if(zt(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props)if(zt(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 _i(...e){return new Proxy({props:e},Aa)}function ja(e){var t;return((t=e.ctx)==null?void 0:t.d)??!1}function y(e,t,r,n){var I;var i=!_t||(r&lo)!==0,o=(r&uo)!==0,s=(r&co)!==0,a=n,l=!0,c=()=>(l&&(l=!1,a=s?Ue(n):n),a),d;if(o){var f=Re in e||zr in e;d=((I=Ke(e,t))==null?void 0:I.set)??(f&&t in e?v=>e[t]=v:void 0)}var u,h=!1;o?[u,h]=za(()=>e[t]):u=e[t],u===void 0&&n!==void 0&&(u=c(),d&&(i&&So(),d(u)));var g;if(i?g=()=>{var v=e[t];return v===void 0?c():(l=!0,v)}:g=()=>{var v=e[t];return v!==void 0&&(a=void 0),v===void 0?a:v},i&&(r&fn)===0)return g;if(d){var k=e.$$legacy;return function(v,m){return arguments.length>0?((!i||!m||k||h)&&d(m?g():v),v):g()}}var C=((r&so)!==0?kt:Sn)(g);return o&&w(C),function(v,m){if(arguments.length>0){const p=m?w(C):i&&o?yt(v):v;return j(C,p),a!==void 0&&(a=p),v}return ja(C)?C.v:w(C)}}function Ua(e){return new Oa(e)}class Oa{constructor(t){ln(this,nt);ln(this,Te);var o;var r=new Map,n=(s,a)=>{var l=dt(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===zr?!0:(w(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return j(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});un(this,Te,(t.hydrate?ca:ni)(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)&&_(),un(this,nt,i.$$events);for(const s of Object.keys(me(this,Te)))s==="$set"||s==="$destroy"||s==="$on"||Nt(this,s,{get(){return me(this,Te)[s]},set(a){me(this,Te)[s]=a},enumerable:!0});me(this,Te).$set=s=>{Object.assign(i,s)},me(this,Te).$destroy=()=>{fa(me(this,Te))}}$set(t){me(this,Te).$set(t)}$on(t,r){me(this,nt)[t]=me(this,nt)[t]||[];const n=(...i)=>r.call(this,...i);return me(this,nt)[t].push(n),()=>{me(this,nt)[t]=me(this,nt)[t].filter(i=>i!==n)}}$destroy(){me(this,Te).$destroy()}}nt=new WeakMap,Te=new WeakMap;let yi;typeof HTMLElement=="function"&&(yi=class extends HTMLElement{constructor(t,r,n){super();Ee(this,"$$ctor");Ee(this,"$$s");Ee(this,"$$c");Ee(this,"$$cn",!1);Ee(this,"$$d",{});Ee(this,"$$r",!1);Ee(this,"$$p_d",{});Ee(this,"$$l",{});Ee(this,"$$l_u",new Map);Ee(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),L(o,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Da(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]=gr(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=Ua({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Ho(()=>{or(()=>{var i;this.$$r=!0;for(const o of er(this.$$c)){if(!((i=this.$$p_d[o])!=null&&i.reflect))continue;this.$$d[o]=this.$$c[o];const s=gr(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]=gr(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 er(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function gr(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 Da(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function te(e,t,r,n,i,o){let s=class extends yi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return er(t).map(a=>(t[a].attribute||a).toLowerCase())}};return er(t).forEach(a=>{Nt(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var f;l=gr(a,l,t),this.$$d[a]=l;var c=this.$$c;if(c){var d=(f=Ke(c,a))==null?void 0:f.get;d?c[a]=l:c.$set({[a]:l})}}})}),n.forEach(a=>{Nt(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}var Ha=se("<a><!></a>"),Va=se("<button><!></button>");const Pa={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,27 +18,70 @@
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 zi(e,t){G(t,!0),ut(e,Ba);let r=y(t,"variant",7,"primary"),n=y(t,"theme",7,"default"),i=y(t,"href",7,null),o=y(t,"disabled",7,!1),s=y(t,"onclick",7),a=y(t,"children",7,null),l=y(t,"size",7,"medium"),c=y(t,"type",7,"button"),f=y(t,"class",7,""),d=wr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","onclick","children","size","type","class"]);const u=re(()=>()=>["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(" ")),h=re(()=>()=>`${m(u)()} ${f()}`.trim());var p=pt(),k=Be(p);{var E=v=>{var w=ja();Gt(w,(b,L)=>({class:b,href:i(),onclick:s(),...d,[Mt]:L}),[()=>m(h)(),()=>({disabled:o()})],"svelte-zftwkm");var g=z(w);Zr(g,()=>a()??Ee),x(w),M(v,w)},S=v=>{var w=Ra();Gt(w,b=>({class:b,type:c(),disabled:o(),onclick:s(),...d}),[()=>m(h)()],"svelte-zftwkm");var g=z(w);Zr(g,()=>a()??Ee),x(w),M(v,w)};oe(k,v=>{i()?v(E):v(S,!1)})}return M(e,p),X({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 c()},set type(v="button"){c(v),_()},get class(){return f()},set class(v=""){f(v),_()}})}Q(zi,{variant:{},theme:{},href:{},disabled:{},onclick:{},children:{},size:{},type:{},class:{}},[],[],!0);function Ei(e,t){G(t,!0);let r=y(t,"variant",7,"primary"),n=y(t,"theme",7,"default"),i=y(t,"href",7,null),o=y(t,"disabled",7,!1),s=y(t,"size",7,"medium"),a=y(t,"type",7,"button"),l=y(t,"onclick",7),c=y(t,"children",7,null),f=y(t,"class",7,""),d=wr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","size","type","onclick","children","class"]);return zi(e,xi({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 c()},get class(){return f()}},()=>d,{$$slots:{default:(u,h)=>{var p=pt(),k=Be(p);gr(k,t,"default",{}),M(u,p)}}})),X({get variant(){return r()},set variant(u="primary"){r(u),_()},get theme(){return n()},set theme(u="default"){n(u),_()},get href(){return i()},set href(u=null){i(u),_()},get disabled(){return o()},set disabled(u=!1){o(u),_()},get size(){return s()},set size(u="medium"){s(u),_()},get type(){return a()},set type(u="button"){a(u),_()},get onclick(){return l()},set onclick(u){l(u),_()},get children(){return c()},set children(u=null){c(u),_()},get class(){return f()},set class(u=""){f(u),_()}})}customElements.define("graymatter-button",Q(Ei,{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 Fa(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 Si(e,t){const r=Fa(e,t),n=pr(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}Si("subNav-selectedId",null);const bt=Si("subNav-selectedTitle","");function Ii(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 Mi(e,t){const r=Ii(e,t),n=pr(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 He=Mi("globalSideNav-isExpanded",!1),wt=Mi("globalSideNav-selectedItem",null),Xr=Na(wt,e=>e==="discover"),De={toggleExpanded:()=>{He.update(e=>!e)},setExpanded:e=>{He.set(e)},setSelectedItem:e=>{wt.set(e),e==="discover"?He.set(!1):Qt&&window.innerWidth>640&&He.set(!0)},handleLayoutTransition:e=>{if(e)He.set(!1);else{const t=Ii("globalSideNav-selectedItem",null);t&&t!=="discover"?(console.log("[NavigationStore] Opening navigation for desktop (non-discover page)"),He.set(!0)):He.set(!1)}}},_r=Object.freeze(Object.defineProperty({__proto__:null,isExpanded:He,isMenuButtonDisabled:Xr,navigationStore:De,selectedItem:wt,selectedSubNavItemTitle:bt},Symbol.toStringTag,{value:"Module"})),Ya=pr(!1);var Za=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 Li(e,t){G(t,!0),ut(e,qa);const[r,n]=Xt(),i=()=>Le(wt,"$selectedItem",r),o=()=>Le(He,"$isExpanded",r),s=()=>Le(Ya,"$subNavReady",r),a=()=>Le(bt,"$selectedSubNavItemTitle",r),l=y(t,"customHeaderText",7,"");let c=!1;const f=re(()=>()=>i()&&i()!=="discover"&&!o()&&!c&&s()),d=re(()=>()=>l()||a());Kt(()=>{const v=g=>{if(typeof window<"u"&&window.innerWidth<=640)return;let b=null;if(typeof window<"u"&&(b=sessionStorage.getItem("subNav-topLevelTitle"),b))try{b=JSON.parse(b)}catch{}if(typeof b=="string"&&b.trim()!=="")bt.set(b),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(b));else{const L=g;L.detail&&L.detail.title&&(bt.set(L.detail.title),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(L.detail.title)))}},w=g=>{const b=g,{isMobile:L}=b.detail;L||(c=!0,setTimeout(()=>{c=!1},300))};return window.addEventListener("sectionVisible",v),window.addEventListener("layoutTransition",w),()=>{window.removeEventListener("sectionVisible",v),window.removeEventListener("layoutTransition",w)}});var u=Za();let h;var p=z(u),k=z(p),E=z(k,!0);x(k),x(p),x(u),ye((v,w)=>{h=Ce(u,1,"global-header svelte-1p8bjnn",null,h,v),Jt(E,w)},[()=>({visible:m(f)()}),()=>m(d)()]),M(e,u);var S=X({get customHeaderText(){return l()},set customHeaderText(v=""){l(v),_()}});return n(),S}Q(Li,{customHeaderText:{}},[],[],!0);function Ni(e,t){G(t,!0);let r=y(t,"customHeaderText",7,"");return Li(e,{get customHeaderText(){return r()}}),X({get customHeaderText(){return r()},set customHeaderText(n=""){r(n),_()}})}customElements.define("graymatter-desktop-header",Q(Ni,{customHeaderText:{attribute:"custom-header-text",reflect:!0,type:"String"}},[],[],!0)),$o();var Ja=q('<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>'),Ka=q('<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>'),Wa=q('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Qr(e,t){G(t,!1);let r=y(t,"isSelected",12,!1);var n=Wa(),i=z(n);{var o=a=>{var l=Ja();M(a,l)},s=a=>{var l=Ka();M(a,l)};oe(i,a=>{r()?a(o):a(s,!1)})}return x(n),M(e,n),X({get isSelected(){return r()},set isSelected(a){r(a),_()}})}Q(Qr,{isSelected:{}},[],[],!0);var Ga=q('<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>'),Xa=q('<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>'),Qa=q('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function en(e,t){G(t,!1);let r=y(t,"isSelected",12,!1);var n=Qa(),i=z(n);{var o=a=>{var l=Ga();M(a,l)},s=a=>{var l=Xa();M(a,l)};oe(i,a=>{r()?a(o):a(s,!1)})}return x(n),M(e,n),X({get isSelected(){return r()},set isSelected(a){r(a),_()}})}Q(en,{isSelected:{}},[],[],!0);var es=q('<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),ts=q('<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),rs=q('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function tn(e,t){G(t,!1);let r=y(t,"isSelected",12,!1);var n=rs(),i=z(n);{var o=a=>{var l=es();Re(3),M(a,l)},s=a=>{var l=ts();Re(3),M(a,l)};oe(i,a=>{r()?a(o):a(s,!1)})}return x(n),M(e,n),X({get isSelected(){return r()},set isSelected(a){r(a),_()}})}Q(tn,{isSelected:{}},[],[],!0);var ns=q('<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),is=q('<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),os=q('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function rn(e,t){G(t,!1);let r=y(t,"isSelected",12,!1);var n=os(),i=z(n);{var o=a=>{var l=ns();Re(2),M(a,l)},s=a=>{var l=is();Re(2),M(a,l)};oe(i,a=>{r()?a(o):a(s,!1)})}return x(n),M(e,n),X({get isSelected(){return r()},set isSelected(a){r(a),_()}})}Q(rn,{isSelected:{}},[],[],!0);var as=q('<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),ss=q('<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),ls=q('<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),us=q('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'),cs=q('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'),ds=q('<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),fs=q("<svg><!></svg>");function nn(e,t){const r=ki(t,["children","$$slots","$$events","$$legacy","$$host"]),n=ki(r,["isDisabled","isHovered","isOpen"]);G(t,!1);let i=y(t,"isDisabled",12,!1),o=y(t,"isHovered",12,!1),s=y(t,"isOpen",12,!1);var a=fs();Gt(a,()=>({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...n}));var l=z(a);{var c=d=>{var u=as(),h=ue(Be(u));ye(()=>J(h,"d",`M${s()?"8.18018":"9.18018"} ${s()?"5.45068":"3.27222"}V${s()?"18.5208":"20.9203"}`)),M(d,u)},f=(d,u)=>{{var h=k=>{var E=pt(),S=Be(E);{var v=g=>{var b=ss();Re(),M(g,b)},w=g=>{var b=ls();Re(),M(g,b)};oe(S,g=>{s()?g(v):g(w,!1)})}M(k,E)},p=k=>{var E=ds(),S=ue(Be(E));{var v=g=>{var b=us();M(g,b)},w=g=>{var b=cs();M(g,b)};oe(S,g=>{s()?g(v):g(w,!1)})}M(k,E)};oe(d,k=>{o()?k(h):k(p,!1)},u)}};oe(l,d=>{i()?d(c):d(f,!1)})}return x(a),M(e,a),X({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),_()}})}Q(nn,{isDisabled:{},isHovered:{},isOpen:{}},[],[],!0);var vs=se('<span class="icon svelte-1x8yhrg"><img alt="" aria-hidden="true" width="20" height="20"/></span>'),hs=se('<button type="button" class="menu-item svelte-1x8yhrg" role="menuitem"><!> <div class="menu-text svelte-1x8yhrg"> </div></button>'),gs=se('<div tabindex="-1" role="menu"></div>'),ps=se('<div style="position: relative; display: inline-block;"><button class="user-profile-button svelte-1x8yhrg" tabindex="0" aria-haspopup="menu"><div class="user-profile-container svelte-1x8yhrg"><div class="user-profile-icon svelte-1x8yhrg" part="user-profile-icon"><span class="user-initials svelte-1x8yhrg"> </span></div></div></button> <!></div>');const bs={hash:"svelte-1x8yhrg",code:`.user-profile-container.svelte-1x8yhrg,
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 ki(e,t){Q(t,!0),ut(e,Pa);let r=y(t,"variant",7,"primary"),n=y(t,"theme",7,"default"),i=y(t,"href",7,null),o=y(t,"disabled",7,!1),s=y(t,"onclick",7),a=y(t,"children",7,null),l=y(t,"size",7,"medium"),c=y(t,"type",7,"button"),d=y(t,"class",7,""),f=pr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","onclick","children","size","type","class"]);const u=re(()=>()=>["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(" ")),h=re(()=>()=>`${w(u)()} ${d()}`.trim());var g=pt(),k=Fe(g);{var C=v=>{var m=Ha();Kt(m,(b,M)=>({class:b,href:i(),onclick:s(),...f,[Lt]:M}),[()=>w(h)(),()=>({disabled:o()})],"svelte-zftwkm");var p=S(m);Br(p,()=>a()??Se),E(m),L(v,m)},I=v=>{var m=Va();Kt(m,b=>({class:b,type:c(),disabled:o(),onclick:s(),...f}),[()=>w(h)()],"svelte-zftwkm");var p=S(m);Br(p,()=>a()??Se),E(m),L(v,m)};ie(k,v=>{i()?v(C):v(I,!1)})}return L(e,g),ee({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 c()},set type(v="button"){c(v),_()},get class(){return d()},set class(v=""){d(v),_()}})}te(ki,{variant:{},theme:{},href:{},disabled:{},onclick:{},children:{},size:{},type:{},class:{}},[],[],!0);function xi(e,t){Q(t,!0);let r=y(t,"variant",7,"primary"),n=y(t,"theme",7,"default"),i=y(t,"href",7,null),o=y(t,"disabled",7,!1),s=y(t,"size",7,"medium"),a=y(t,"type",7,"button"),l=y(t,"onclick",7),c=y(t,"children",7,null),d=y(t,"class",7,""),f=pr(t,["$$slots","$$events","$$legacy","$$host","variant","theme","href","disabled","size","type","onclick","children","class"]);return ki(e,_i({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 c()},get class(){return d()}},()=>f,{$$slots:{default:(u,h)=>{var g=pt(),k=Fe(g);dr(k,t,"default",{}),L(u,g)}}})),ee({get variant(){return r()},set variant(u="primary"){r(u),_()},get theme(){return n()},set theme(u="default"){n(u),_()},get href(){return i()},set href(u=null){i(u),_()},get disabled(){return o()},set disabled(u=!1){o(u),_()},get size(){return s()},set size(u="medium"){s(u),_()},get type(){return a()},set type(u="button"){a(u),_()},get onclick(){return l()},set onclick(u){l(u),_()},get children(){return c()},set children(u=null){c(u),_()},get class(){return d()},set class(u=""){d(u),_()}})}customElements.define("graymatter-button",te(xi,{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 Gt=typeof window<"u";function Ra(e,t){if(Gt&&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 Ci(e,t){const r=Ra(e,t),n=vr(r);return Gt&&n.subscribe(i=>{try{sessionStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to sessionStorage:`,o)}}),n}Ci("subNav-selectedId",null);const gt=Ci("subNav-selectedTitle","");function Ei(e,t){if(Gt&&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 Si(e,t){const r=Ei(e,t),n=vr(r);return Gt&&n.subscribe(i=>{try{localStorage.setItem(e,JSON.stringify(i))}catch(o){console.warn(`Failed to persist ${e} to localStorage:`,o)}}),n}const De=Si("globalSideNav-isExpanded",!1),bt=Si("globalSideNav-selectedItem",null),Kr=Ma(bt,e=>e==="discover"),He={toggleExpanded:()=>{De.update(e=>!e)},setExpanded:e=>{De.set(e)},setSelectedItem:e=>{bt.set(e),e==="discover"?De.set(!1):Gt&&window.innerWidth>640&&De.set(!0)},handleLayoutTransition:e=>{if(e)De.set(!1);else{const t=Ei("globalSideNav-selectedItem",null);t&&t!=="discover"?(console.log("[NavigationStore] Opening navigation for desktop (non-discover page)"),De.set(!0)):De.set(!1)}}},br=Object.freeze(Object.defineProperty({__proto__:null,isExpanded:De,isMenuButtonDisabled:Kr,navigationStore:He,selectedItem:bt,selectedSubNavItemTitle:gt},Symbol.toStringTag,{value:"Module"})),Ba=vr(!1);var Fa=se('<div part="global-header"><div class="header-content svelte-1p8bjnn" part="header-content"><span class="header-text svelte-1p8bjnn"> </span></div></div>');const Ya={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 Ii(e,t){Q(t,!0),ut(e,Ya);const[r,n]=Wt(),i=()=>ze(bt,"$selectedItem",r),o=()=>ze(De,"$isExpanded",r),s=()=>ze(Ba,"$subNavReady",r),a=()=>ze(gt,"$selectedSubNavItemTitle",r),l=y(t,"customHeaderText",7,"");let c=!1;const d=re(()=>()=>i()&&i()!=="discover"&&!o()&&!c&&s()),f=re(()=>()=>l()||a());Zt(()=>{const v=p=>{if(typeof window<"u"&&window.innerWidth<=640)return;let b=null;if(typeof window<"u"&&(b=sessionStorage.getItem("subNav-topLevelTitle"),b))try{b=JSON.parse(b)}catch{}if(typeof b=="string"&&b.trim()!=="")gt.set(b),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(b));else{const M=p;M.detail&&M.detail.title&&(gt.set(M.detail.title),sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(M.detail.title)))}},m=p=>{const b=p,{isMobile:M}=b.detail;M||(c=!0,setTimeout(()=>{c=!1},300))};return window.addEventListener("sectionVisible",v),window.addEventListener("layoutTransition",m),()=>{window.removeEventListener("sectionVisible",v),window.removeEventListener("layoutTransition",m)}});var u=Fa();let h;var g=S(u),k=S(g),C=S(k,!0);E(k),E(g),E(u),Me((v,m)=>{h=xe(u,1,"global-header svelte-1p8bjnn",null,h,v),qt(C,m)},[()=>({visible:w(d)()}),()=>w(f)()]),L(e,u);var I=ee({get customHeaderText(){return l()},set customHeaderText(v=""){l(v),_()}});return n(),I}te(Ii,{customHeaderText:{}},[],[],!0);function Li(e,t){Q(t,!0);let r=y(t,"customHeaderText",7,"");return Ii(e,{get customHeaderText(){return r()}}),ee({get customHeaderText(){return r()},set customHeaderText(n=""){r(n),_()}})}customElements.define("graymatter-desktop-header",te(Li,{customHeaderText:{attribute:"custom-header-text",reflect:!0,type:"String"}},[],[],!0)),zo();var qa=K('<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>'),Za=K('<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>'),Ja=K('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Wr(e,t){Q(t,!1);let r=y(t,"isSelected",12,!1);var n=Ja(),i=S(n);{var o=a=>{var l=qa();L(a,l)},s=a=>{var l=Za();L(a,l)};ie(i,a=>{r()?a(o):a(s,!1)})}return E(n),L(e,n),ee({get isSelected(){return r()},set isSelected(a){r(a),_()}})}te(Wr,{isSelected:{}},[],[],!0);var Ka=K('<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>'),Wa=K('<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>'),Ga=K('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Gr(e,t){Q(t,!1);let r=y(t,"isSelected",12,!1);var n=Ga(),i=S(n);{var o=a=>{var l=Ka();L(a,l)},s=a=>{var l=Wa();L(a,l)};ie(i,a=>{r()?a(o):a(s,!1)})}return E(n),L(e,n),ee({get isSelected(){return r()},set isSelected(a){r(a),_()}})}te(Gr,{isSelected:{}},[],[],!0);var Xa=K('<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),Qa=K('<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),es=K('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Xr(e,t){Q(t,!1);let r=y(t,"isSelected",12,!1);var n=es(),i=S(n);{var o=a=>{var l=Xa();Be(3),L(a,l)},s=a=>{var l=Qa();Be(3),L(a,l)};ie(i,a=>{r()?a(o):a(s,!1)})}return E(n),L(e,n),ee({get isSelected(){return r()},set isSelected(a){r(a),_()}})}te(Xr,{isSelected:{}},[],[],!0);var ts=K('<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),rs=K('<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),ns=K('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');function Qr(e,t){Q(t,!1);let r=y(t,"isSelected",12,!1);var n=ns(),i=S(n);{var o=a=>{var l=ts();Be(2),L(a,l)},s=a=>{var l=rs();Be(2),L(a,l)};ie(i,a=>{r()?a(o):a(s,!1)})}return E(n),L(e,n),ee({get isSelected(){return r()},set isSelected(a){r(a),_()}})}te(Qr,{isSelected:{}},[],[],!0);var is=K('<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),os=K('<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),as=K('<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),ss=K('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'),ls=K('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'),us=K('<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),cs=K("<svg><!></svg>");function en(e,t){const r=wi(t,["children","$$slots","$$events","$$legacy","$$host"]),n=wi(r,["isDisabled","isHovered","isOpen"]);Q(t,!1);let i=y(t,"isDisabled",12,!1),o=y(t,"isHovered",12,!1),s=y(t,"isOpen",12,!1);var a=cs();Kt(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 c=f=>{var u=is(),h=ce(Fe(u));Me(()=>W(h,"d",`M${s()?"8.18018":"9.18018"} ${s()?"5.45068":"3.27222"}V${s()?"18.5208":"20.9203"}`)),L(f,u)},d=(f,u)=>{{var h=k=>{var C=pt(),I=Fe(C);{var v=p=>{var b=os();Be(),L(p,b)},m=p=>{var b=as();Be(),L(p,b)};ie(I,p=>{s()?p(v):p(m,!1)})}L(k,C)},g=k=>{var C=us(),I=ce(Fe(C));{var v=p=>{var b=ss();L(p,b)},m=p=>{var b=ls();L(p,b)};ie(I,p=>{s()?p(v):p(m,!1)})}L(k,C)};ie(f,k=>{o()?k(h):k(g,!1)},u)}};ie(l,f=>{i()?f(c):f(d,!1)})}return E(a),L(e,a),ee({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),_()}})}te(en,{isDisabled:{},isHovered:{},isOpen:{}},[],[],!0);var fs=se('<span class="icon svelte-1x8yhrg"><img alt="" aria-hidden="true" width="20" height="20"/></span>'),ds=se('<button type="button" class="menu-item svelte-1x8yhrg" role="menuitem"><!> <div class="menu-text svelte-1x8yhrg"> </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-1x8yhrg" tabindex="0" aria-haspopup="menu"><div class="user-profile-container svelte-1x8yhrg"><div class="user-profile-icon svelte-1x8yhrg" part="user-profile-icon"><span class="user-initials svelte-1x8yhrg"> </span></div></div></button> <!></div>');const ps={hash:"svelte-1x8yhrg",code:`.user-profile-container.svelte-1x8yhrg,
22
22
  .user-profile-icon.svelte-1x8yhrg {display:flex;align-items:center;justify-content:center;}.user-profile-container.svelte-1x8yhrg,
23
23
  .user-profile-icon.svelte-1x8yhrg {display:flex;align-items:center;justify-content:center;}.user-profile-icon.svelte-1x8yhrg {background:var(--ai-color-blue-800);border-radius:var(--ai-size-4);box-sizing:border-box;height:var(--ai-size-40);padding:var(--ai-size-4);white-space:nowrap;width:var(--ai-size-40);}.user-initials.svelte-1x8yhrg {color:var(--ai-color-white);font-size:var(--ai-size-16);font-style:normal;font-weight:400;line-height:1;overflow:hidden;text-align:center;text-overflow:ellipsis;}.user-profile-button.svelte-1x8yhrg {background:none;border:none;padding:0;cursor:pointer;display:flex;justify-content:center;align-items:center;}.user-profile-button.svelte-1x8yhrg: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-1x8yhrg:focus:not(:focus-visible) {outline:none;}.user-profile-container.svelte-1x8yhrg {width:var(--ai-size-40);height:var(--ai-size-40);aspect-ratio:1/1;}.profile-context-menu.svelte-1x8yhrg {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-1x8yhrg {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-1x8yhrg {top:110%;right:0;left:auto;bottom:auto;margin-left:0;transform:none;}.menu-item.svelte-1x8yhrg {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-1x8yhrg: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-1x8yhrg:focus:not(:focus-visible) {outline:none;}.menu-item.svelte-1x8yhrg:hover {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);}.icon.svelte-1x8yhrg {width:var(--ai-size-20);height:var(--ai-size-20);display:flex;align-items:center;justify-content:center;}.menu-text.svelte-1x8yhrg {color:var(--ai-color-black);font-size:var(--ai-size-14);font-style:normal;font-weight:400;line-height:130%;}`};function on(e,t){G(t,!1),ut(e,bs);let r=y(t,"menuItems",28,()=>[]),n=y(t,"userMeta",12),i=y(t,"ariaLabel",12,"Open profile menu"),o=y(t,"menuAlign",12,"desktop"),s=`profile-menu-${Math.random().toString(36).slice(2,10)}`,a=vt(!1);function l(){A(a,!m(a))}function c(){A(a,!1)}function f(N){try{typeof N=="string"?new Function("return "+N)()():typeof N=="function"?N():console.error("Invalid onClick type:",typeof N)}catch(j){console.error("Error executing onClick function:",j)}}function d(N){const j=N.relatedTarget;(!j||!j.closest(".profile-context-menu"))&&c()}let u=vt(),h=vt([]),p=vt([]);function k(N,j){var ee,W,I;if(N.key==="ArrowDown"){N.preventDefault();const T=(j+1)%r().length;(ee=m(h)[T])==null||ee.focus()}else if(N.key==="ArrowUp"){N.preventDefault();const T=(j-1+r().length)%r().length;(W=m(h)[T])==null||W.focus()}else N.key==="Escape"&&(c(),(I=m(u))==null||I.focus(),N.stopPropagation())}function E(N){var j;m(a)&&N.key==="Escape"&&(c(),(j=m(u))==null||j.focus(),N.stopPropagation())}Kt(()=>(window.addEventListener("keydown",E,!0),()=>{window.removeEventListener("keydown",E,!0)})),Bo(()=>m(p),()=>{A(h,m(p).filter(Boolean))}),Fo(),Ma();var S=ps(),v=z(S),w=z(v),g=z(w),b=z(g),L=z(b,!0);x(b),x(g),x(w),x(v),ct(v,N=>A(u,N),()=>m(u));var U=ue(v,2);{var K=N=>{var j=gs();li(j,7,r,ee=>ee.label,(ee,W,I)=>{var T=hs(),R=z(T);{var ce=te=>{var fe=vs(),nt=z(fe);x(fe),ye(()=>J(nt,"src",(m(W),Ue(()=>m(W).icon)))),M(te,fe)};oe(R,te=>{m(W),Ue(()=>m(W).icon)&&te(ce)})}var ve=ue(R,2),de=z(ve,!0);x(ve),x(T),ct(T,(te,fe)=>Ho(p,m(p)[fe]=te),te=>{var fe;return(fe=m(p))==null?void 0:fe[te]},()=>[m(I)]),ye(()=>Jt(de,(m(W),Ue(()=>m(W).label)))),ie("click",T,()=>{f(m(W).onClick),c()}),ie("keydown",T,te=>k(te,m(I))),M(ee,T)}),x(j),ye(()=>{Ce(j,1,`profile-context-menu ${o()==="desktop"?"desktop-align":"mobile-align"}`,"svelte-1x8yhrg"),J(j,"id",s)}),M(N,j)};oe(U,N=>{m(a)&&N(K)})}return x(S),ye(()=>{J(v,"aria-label",i()),J(v,"aria-expanded",m(a)),J(v,"aria-controls",s),Jt(L,(ri(n()),Ue(()=>{var N;return(N=n())==null?void 0:N.initials})))}),ie("click",v,l),ie("blur",v,d),M(e,S),X({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),_()}})}Q(on,{menuItems:{},userMeta:{},ariaLabel:{},menuAlign:{}},[],[],!0);const ws={};function an(e,t){t||console.warn(`[getAppUrls] Environment variable for ${e} is missing!`)}function Ti(e){const t=ws,r="#",n=t.PUBLIC_CHAT_URL,i=t.PUBLIC_CONSOLE_URL,o=t.PUBLIC_API_URL,s=t.PUBLIC_DISCOVER_URL;return an("chat",n),an("console",i),an("api",o),{chat:n||r,console:i||r,api:o||"/api",discover:s||"/discover"}}var ms=q('<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 $i(e,t){G(t,!1);let r=y(t,"isHovered",12,!1);var n=ms(),i=z(n);return x(n),ye(()=>J(i,"stroke",r()?"#000":"#585C63")),M(e,n),X({get isHovered(){return r()},set isHovered(o){r(o),_()}})}Q($i,{isHovered:{}},[],[],!0);function _s(e,t,r,n){var i;t()||(De.toggleExpanded(),(i=r())==null||i({expanded:n()}))}var ys=(e,t)=>t("discover"),ks=(e,t,r)=>{t(e,"discover"),r(e,0)},xs=(e,t)=>t("chat"),Cs=(e,t,r)=>{t(e,"chat"),r(e,1)},zs=(e,t)=>t("console"),Es=(e,t,r)=>{t(e,"console"),r(e,2)},Ss=(e,t)=>t("api"),Is=(e,t,r)=>{t(e,"api"),r(e,3)},Ms=se('<div class="nav-items svelte-1gw99zg" part="nav-items"><a part="discover-item"><div class="icon-container svelte-1gw99zg" part="discover-icon-container"><div class="icon-wrapper svelte-1gw99zg"><!></div></div> <span class="nav-text svelte-1gw99zg">Discover</span></a> <a part="chat-item"><div class="icon-container svelte-1gw99zg" part="chat-icon-container"><div class="icon-wrapper svelte-1gw99zg"><!></div></div> <span class="nav-text svelte-1gw99zg">Chat</span></a> <a part="console-item"><div class="icon-container svelte-1gw99zg" part="console-icon-container"><div class="icon-wrapper svelte-1gw99zg"><!></div></div> <span class="nav-text svelte-1gw99zg">Console</span></a> <a part="api-item"><div class="icon-container svelte-1gw99zg" part="api-icon-container"><div class="icon-wrapper svelte-1gw99zg"><!></div></div> <span class="nav-text svelte-1gw99zg">API</span></a></div>'),Ls=se('<div class="nav-footer svelte-1gw99zg" part="nav-footer"><div class="nav-footer-icon-container svelte-1gw99zg"><button type="button" class="nav-footer-icon-inner svelte-1gw99zg" tabindex="0" aria-label="Help"><div class="nav-footer-icon-svg-wrapper svelte-1gw99zg"><!></div></button></div> <div class="nav-footer-profile-container svelte-1gw99zg"><!></div></div>'),Ns=se('<div class="drawer-content svelte-1gw99zg" part="drawer-content"><nav aria-label="Sub navigation" part="sub-navigation" class="svelte-1gw99zg"><!></nav></div>'),Ts=se('<div part="side-nav-container"><div class="nav-content svelte-1gw99zg" part="nav-content"><div class="nav-main svelte-1gw99zg" part="nav-main"><div class="menu-section svelte-1gw99zg" part="menu-section"><button><div class="icon-container svelte-1gw99zg" part="icon-container"><div class="icon-wrapper svelte-1gw99zg"><!></div></div></button></div> <!></div> <!></div> <div part="expanded-content"><!></div></div>');const $s={hash:"svelte-1gw99zg",code:`.expanded-content.drawer-anim.svelte-1gw99zg {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-1gw99zg {max-width:12.5rem;pointer-events:auto;}.drawer-content.svelte-1gw99zg {width:12.5rem;height:100%;display:flex;flex-direction:column;padding-top:var(--ai-size-72);}.drawer-content.svelte-1gw99zg nav:where(.svelte-1gw99zg) {flex:1;overflow-y:auto;overflow-x:hidden;}.menu-button.svelte-1gw99zg {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-1gw99zg:disabled,
25
- .menu-button.disabled.svelte-1gw99zg {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-1gw99zg {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-2);height:100%;}.side-nav-container.expanded.svelte-1gw99zg {width:16.875rem;min-width:12.5rem;max-width:16.875rem;height:100%;}.expanded-content.svelte-1gw99zg {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-1gw99zg .expanded-content:where(.svelte-1gw99zg) {width:12.5rem;opacity:1;overflow:hidden;}.side-nav-container.svelte-1gw99zg:not(.expanded) .expanded-content:where(.svelte-1gw99zg) {width:0;opacity:0;}.nav-content.svelte-1gw99zg {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-1gw99zg {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-1gw99zg {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-1gw99zg {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-1gw99zg {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-1gw99zg {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-1gw99zg:focus,
26
- .nav-item.svelte-1gw99zg:focus {outline:none;}.menu-button.svelte-1gw99zg:focus .icon-container:where(.svelte-1gw99zg),
27
- .nav-item.svelte-1gw99zg:focus .icon-container:where(.svelte-1gw99zg) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}
28
-
29
- /* Hide focus outline on click */.menu-button.svelte-1gw99zg:focus:not(:focus-visible) .icon-container:where(.svelte-1gw99zg),
30
- .nav-item.svelte-1gw99zg:focus:not(:focus-visible) .icon-container:where(.svelte-1gw99zg) {outline:none;}.nav-items.svelte-1gw99zg {display:flex;width:var(--ai-size-72);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);}.nav-item.svelte-1gw99zg {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-1gw99zg {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,
31
- border-radius 0.3s ease;}.icon-wrapper.svelte-1gw99zg {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-1gw99zg 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-1gw99zg svg path {stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke 0.3s ease,
24
+ /* aligns bottom of menu with bottom of button */transform:translateY(0);}.profile-context-menu.mobile-align.svelte-1x8yhrg {top:110%;right:0;left:auto;bottom:auto;margin-left:0;transform:none;}.menu-item.svelte-1x8yhrg {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-1x8yhrg: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-1x8yhrg:focus:not(:focus-visible) {outline:none;}.menu-item.svelte-1x8yhrg:hover {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);}.icon.svelte-1x8yhrg {width:var(--ai-size-20);height:var(--ai-size-20);display:flex;align-items:center;justify-content:center;}.menu-text.svelte-1x8yhrg {color:var(--ai-color-black);font-size:var(--ai-size-14);font-style:normal;font-weight:400;line-height:130%;}`};function tn(e,t){Q(t,!1),ut(e,ps);let r=y(t,"menuItems",28,()=>[]),n=y(t,"userMeta",12),i=y(t,"ariaLabel",12,"Open profile menu"),o=y(t,"menuAlign",12,"desktop"),s=`profile-menu-${Math.random().toString(36).slice(2,10)}`,a=dt(!1);function l(){j(a,!w(a))}function c(){j(a,!1)}function d(N){try{typeof N=="string"?new Function("return "+N)()():typeof N=="function"?N():console.error("Invalid onClick type:",typeof N)}catch(R){console.error("Error executing onClick function:",R)}}function f(N){const R=N.relatedTarget;(!R||!R.closest(".profile-context-menu"))&&c()}let u=dt(),h=dt([]),g=dt([]);function k(N,R){var G,V,z;if(N.key==="ArrowDown"){N.preventDefault();const T=(R+1)%r().length;(G=w(h)[T])==null||G.focus()}else if(N.key==="ArrowUp"){N.preventDefault();const T=(R-1+r().length)%r().length;(V=w(h)[T])==null||V.focus()}else N.key==="Escape"&&(c(),(z=w(u))==null||z.focus(),N.stopPropagation())}function C(N){var R;w(a)&&N.key==="Escape"&&(c(),(R=w(u))==null||R.focus(),N.stopPropagation())}Zt(()=>(window.addEventListener("keydown",C,!0),()=>{window.removeEventListener("keydown",C,!0)})),Po(()=>w(g),()=>{j(h,w(g).filter(Boolean))}),Ro(),Ia();var I=hs(),v=S(I),m=S(v),p=S(m),b=S(p),M=S(b,!0);E(b),E(p),E(m),E(v),ct(v,N=>j(u,N),()=>w(u));var A=ce(v,2);{var Z=N=>{var R=vs();oi(R,7,r,G=>G.label,(G,V,z)=>{var T=ds(),Y=S(T);{var fe=oe=>{var le=fs(),Ze=S(le);E(le),Me(()=>W(Ze,"src",(w(V),Ue(()=>w(V).icon)))),L(oe,le)};ie(Y,oe=>{w(V),Ue(()=>w(V).icon)&&oe(fe)})}var de=ce(Y,2),X=S(de,!0);E(de),E(T),ct(T,(oe,le)=>jo(g,w(g)[le]=oe),oe=>{var le;return(le=w(g))==null?void 0:le[oe]},()=>[w(z)]),Me(()=>qt(X,(w(V),Ue(()=>w(V).label)))),ve("click",T,()=>{d(w(V).onClick),c()}),ve("keydown",T,oe=>k(oe,w(z))),L(G,T)}),E(R),Me(()=>{xe(R,1,`profile-context-menu ${o()==="desktop"?"desktop-align":"mobile-align"}`,"svelte-1x8yhrg"),W(R,"id",s)}),L(N,R)};ie(A,N=>{w(a)&&N(Z)})}return E(I),Me(()=>{W(v,"aria-label",i()),W(v,"aria-expanded",w(a)),W(v,"aria-controls",s),qt(M,(Qn(n()),Ue(()=>{var N;return(N=n())==null?void 0:N.initials})))}),ve("click",v,l),ve("blur",v,f),L(e,I),ee({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),_()}})}te(tn,{menuItems:{},userMeta:{},ariaLabel:{},menuAlign:{}},[],[],!0);const gs={};function rn(e,t){t||console.warn(`[getAppUrls] Environment variable for ${e} is missing!`)}function Mi(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 rn("chat",n),rn("console",i),rn("api",o),{chat:n||r,console:i||r,api:o||"/api",discover:s||"/discover"}}function bs(e,t,r,n){var i;t()||(He.toggleExpanded(),(i=r())==null||i({expanded:n()}))}var ms=(e,t)=>t("discover"),ws=(e,t,r)=>{t(e,"discover"),r(e,0)},_s=(e,t)=>t("chat"),ys=(e,t,r)=>{t(e,"chat"),r(e,1)},ks=(e,t)=>t("console"),xs=(e,t,r)=>{t(e,"console"),r(e,2)},Cs=(e,t)=>t("api"),Es=(e,t,r)=>{t(e,"api"),r(e,3)},Ss=se('<div class="nav-items svelte-f08jya" part="nav-items"><a part="discover-item"><div class="icon-container svelte-f08jya" part="discover-icon-container"><div class="icon-wrapper svelte-f08jya"><!></div></div> <span class="nav-text svelte-f08jya">Discover</span></a> <a part="chat-item"><div class="icon-container svelte-f08jya" part="chat-icon-container"><div class="icon-wrapper svelte-f08jya"><!></div></div> <span class="nav-text svelte-f08jya">Chat</span></a> <a part="console-item"><div class="icon-container svelte-f08jya" part="console-icon-container"><div class="icon-wrapper svelte-f08jya"><!></div></div> <span class="nav-text svelte-f08jya">Console</span></a> <a part="api-item"><div class="icon-container svelte-f08jya" part="api-icon-container"><div class="icon-wrapper svelte-f08jya"><!></div></div> <span class="nav-text svelte-f08jya">API</span></a></div>'),Is=se('<div class="nav-footer svelte-f08jya" part="nav-footer"><div class="nav-footer-profile-container svelte-f08jya"><!></div></div>'),Ls=se('<div class="drawer-content svelte-f08jya" part="drawer-content"><nav aria-label="Sub navigation" part="sub-navigation" class="svelte-f08jya"><!></nav></div>'),Ms=se('<div part="side-nav-container"><div class="nav-content svelte-f08jya" part="nav-content"><div class="nav-main svelte-f08jya" part="nav-main"><div class="menu-section svelte-f08jya" part="menu-section"><button><div class="icon-container svelte-f08jya" part="icon-container"><div class="icon-wrapper svelte-f08jya"><!></div></div></button></div> <!></div> <!></div> <div part="expanded-content"><!></div></div>');const Ns={hash:"svelte-f08jya",code:`.expanded-content.drawer-anim.svelte-f08jya {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-f08jya {max-width:12.5rem;pointer-events:auto;}.drawer-content.svelte-f08jya {width:12.5rem;height:100%;display:flex;flex-direction:column;padding-top:var(--ai-size-72);}.drawer-content.svelte-f08jya nav:where(.svelte-f08jya) {flex:1;overflow-y:auto;overflow-x:hidden;}.menu-button.svelte-f08jya {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-f08jya:disabled,
25
+ .menu-button.disabled.svelte-f08jya {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-f08jya {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-2);height:100%;}.side-nav-container.expanded.svelte-f08jya {width:16.875rem;min-width:12.5rem;max-width:16.875rem;height:100%;}.expanded-content.svelte-f08jya {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-f08jya .expanded-content:where(.svelte-f08jya) {width:12.5rem;opacity:1;overflow:hidden;}.side-nav-container.svelte-f08jya:not(.expanded) .expanded-content:where(.svelte-f08jya) {width:0;opacity:0;}.nav-content.svelte-f08jya {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-f08jya {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-f08jya {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-f08jya {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-f08jya {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-f08jya {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-f08jya:focus,
26
+ .nav-item.svelte-f08jya:focus {outline:none;}.menu-button.svelte-f08jya:focus .icon-container:where(.svelte-f08jya),
27
+ .nav-item.svelte-f08jya:focus .icon-container:where(.svelte-f08jya) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}
28
+
29
+ /* Hide focus outline on click */.menu-button.svelte-f08jya:focus:not(:focus-visible) .icon-container:where(.svelte-f08jya),
30
+ .nav-item.svelte-f08jya:focus:not(:focus-visible) .icon-container:where(.svelte-f08jya) {outline:none;}.nav-items.svelte-f08jya {display:flex;width:var(--ai-size-72);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);}.nav-item.svelte-f08jya {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-f08jya {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,
31
+ border-radius 0.3s ease;}.icon-wrapper.svelte-f08jya {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-f08jya 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-f08jya svg path {stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke 0.3s ease,
32
32
  fill 0.3s ease,
33
- stroke-width 0.3s ease;}.nav-text.svelte-1gw99zg {font-size:var(--ai-size-12);text-align:center;color:var(--ai-color-neutral-900);line-height:1.3;}.menu-button.disabled.svelte-1gw99zg:hover .icon-container:where(.svelte-1gw99zg),
34
- .menu-button.svelte-1gw99zg:disabled:hover .icon-container:where(.svelte-1gw99zg) {background:none !important;border-radius:var(--ai-size-4);}.nav-item.hovered.svelte-1gw99zg .icon-container:where(.svelte-1gw99zg),
35
- .nav-item.svelte-1gw99zg:active .icon-container:where(.svelte-1gw99zg),
36
- .nav-item.selected.svelte-1gw99zg .icon-container:where(.svelte-1gw99zg),
37
- .nav-item.selected.hovered.svelte-1gw99zg .icon-container:where(.svelte-1gw99zg),
38
- .menu-button.svelte-1gw99zg:hover .icon-container:where(.svelte-1gw99zg),
39
- .menu-button.svelte-1gw99zg:active .icon-container:where(.svelte-1gw99zg) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-1gw99zg {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-1gw99zg:hover {color:var(--ai-color-neutral-700);}.nav-footer-icon-container.svelte-1gw99zg {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-1gw99zg {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-1gw99zg {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-1gw99zg:hover,
40
- .nav-footer-icon-inner.svelte-1gw99zg:focus {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-footer-icon-inner.svelte-1gw99zg:focus {outline:none;}.nav-footer-icon-inner.svelte-1gw99zg: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-1gw99zg {width:var(--ai-size-24);height:var(--ai-size-24);flex-shrink:0;display:flex;align-items:center;justify-content:center;}`};function Ai(e,t){G(t,!0),ut(e,$s);const[r,n]=Xt(),i=()=>Le(wt,"$selectedItem",r),o=()=>Le(He,"$isExpanded",r),s=()=>Le(Xr,"$isMenuButtonDisabled",r),a=Ti(),l=y(t,"ssrSelectedItem",7,void 0),c=y(t,"onNavToggle",7,void 0),f=y(t,"onNavItemClick",7,void 0),d=y(t,"children",7),u=y(t,"showAppIcons",7,!0),h=y(t,"profileMenuData",7),p=y(t,"apiUrl",7),k=y(t,"chatUrl",7),E=y(t,"consoleUrl",7),S=y(t,"discoverUrl",7);let v=!1,w,g=ge(null),b=ge(!1),L=ge(!1),U=ge(!1),K=ge(null),N=ge(null),j=ge(null),ee=ge(null);function W(C,Y){return v?C:Y}function I(C){return W(i()===C,l()===C)}function T(C){return m(g)===C}const R=re(()=>()=>W(o(),l()?l()!=="discover":!0)),ce=re(()=>()=>W(s(),l()?l()==="discover":!1)),ve=re(()=>()=>W(o(),l()?l()!=="discover":!0)),de=re(()=>()=>m(L)&&m(b)&&!m(ce)());Kt(()=>{if(v=!0,document.documentElement.classList.remove("nav-initially-expanded"),document.documentElement.style.removeProperty("--initial-main-top-padding"),w&&w.classList.add("hydrated"),typeof window<"u"){const C=window.matchMedia("(hover: hover)");A(L,C.matches,!0),C.addEventListener("change",B=>{A(L,B.matches,!0)});const Y=B=>{const le=B,{isMobile:Te}=le.detail;if(Te)De.setExpanded(!1);else{const Ze=i();Ze&&Ze!=="discover"?De.setExpanded(!0):De.setExpanded(!1)}};window.addEventListener("layoutTransition",Y);const $=B=>{const le=document.activeElement;B.key==="Escape"&&o()&&!(le&&le.closest(".profile-context-menu"))&&De.setExpanded(!1)};return window.addEventListener("keydown",$),()=>{window.removeEventListener("layoutTransition",Y),window.removeEventListener("keydown",$)}}});function te(C){var Y;if(C!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),De.setSelectedItem(C),C!=="discover")try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:$})=>{$.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const B=document.getElementById("main-content");if(B){const le=B.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(le&&le.textContent){const Te=le.textContent.trim();$.set(Te),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(Te))}}},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:",$)}(Y=f())==null||Y({item:C,expanded:o()})}function fe(C,Y){(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),te(Y))}function nt(C,Y){var le,Te,Ze,Nt;const $=[m(K),m(N),m(j),m(ee)],B=$.length;if(B)if(C.key==="ArrowDown"){C.preventDefault();const he=(Y+1)%B;(le=$[he])==null||le.focus()}else if(C.key==="ArrowUp"){C.preventDefault();const he=(Y-1+B)%B;(Te=$[he])==null||Te.focus()}else C.key==="Home"?(C.preventDefault(),(Ze=$[0])==null||Ze.focus()):C.key==="End"&&(C.preventDefault(),(Nt=$[B-1])==null||Nt.focus())}var tr=Ts();let qi;var sn=z(tr),ln=z(sn),un=z(ln),Ve=z(un);let Ji;Ve.__click=[_s,s,c,o];var Ki=z(Ve),Wi=z(Ki),rl=z(Wi);const nl=re(()=>m(de)()),il=re(()=>m(ce)()),ol=re(()=>m(ve)());nn(rl,{get isHovered(){return m(nl)},get isDisabled(){return m(il)},get isOpen(){return m(ol)}}),x(Wi),x(Ki),x(Ve),x(un);var al=ue(un,2);{var sl=C=>{var Y=Ms(),$=z(Y);let B;$.__click=[ys,te],$.__keydown=[ks,fe,nt];var le=z($),Te=z(le),Ze=z(Te);const Nt=re(()=>I("discover"));Qr(Ze,{get isSelected(){return m(Nt)}}),x(Te),x(le),Re(2),x($),ct($,it=>A(K,it),()=>m(K));var he=ue($,2);let kr;he.__click=[xs,te],he.__keydown=[Cs,fe,nt];var dt=z(he),Xi=z(dt),vl=z(Xi);const hl=re(()=>I("chat"));en(vl,{get isSelected(){return m(hl)}}),x(Xi),x(dt),Re(2),x(he),ct(he,it=>A(N,it),()=>m(N));var Pe=ue(he,2);let Qi;Pe.__click=[zs,te],Pe.__keydown=[Es,fe,nt];var eo=z(Pe),to=z(eo),gl=z(to);const pl=re(()=>I("console"));tn(gl,{get isSelected(){return m(pl)}}),x(to),x(eo),Re(2),x(Pe),ct(Pe,it=>A(j,it),()=>m(j));var qe=ue(Pe,2);let ro;qe.__click=[Ss,te],qe.__keydown=[Is,fe,nt];var no=z(qe),io=z(no),bl=z(io);const wl=re(()=>I("api"));rn(bl,{get isSelected(){return m(wl)}}),x(io),x(no),Re(2),x(qe),ct(qe,it=>A(ee,it),()=>m(ee)),x(Y),ye((it,ml,_l,yl,kl,xl,Cl,zl)=>{J($,"href",S()||a.discover),B=Ce($,1,"nav-item discover-item svelte-1gw99zg",null,B,it),J($,"aria-current",ml),J(he,"href",k()||a.chat),kr=Ce(he,1,"nav-item chat-item svelte-1gw99zg",null,kr,_l),J(he,"aria-current",yl),J(Pe,"href",E()||a.console),Qi=Ce(Pe,1,"nav-item console-item svelte-1gw99zg",null,Qi,kl),J(Pe,"aria-current",xl),J(qe,"href",p()||a.api),ro=Ce(qe,1,"nav-item api-item svelte-1gw99zg",null,ro,Cl),J(qe,"aria-current",zl)},[()=>({selected:I("discover"),hovered:T("discover")}),()=>I("discover")?"page":void 0,()=>({selected:I("chat"),hovered:T("chat")}),()=>I("chat")?"page":void 0,()=>({selected:I("console"),hovered:T("console")}),()=>I("console")?"page":void 0,()=>({selected:I("api"),hovered:T("api")}),()=>I("api")?"page":void 0]),ie("mouseenter",$,()=>A(g,"discover")),ie("mouseleave",$,()=>A(g,null)),ie("mouseenter",he,()=>A(g,"chat")),ie("mouseleave",he,()=>A(g,null)),ie("mouseenter",Pe,()=>A(g,"console")),ie("mouseleave",Pe,()=>A(g,null)),ie("mouseenter",qe,()=>A(g,"api")),ie("mouseleave",qe,()=>A(g,null)),M(C,Y)};oe(al,C=>{u()&&C(sl)})}x(ln);var ll=ue(ln,2);{var ul=C=>{var Y=Ls(),$=z(Y),B=z($),le=z(B),Te=z(le);$i(Te,{get isHovered(){return m(U)}}),x(le),x(B),x($);var Ze=ue($,2),Nt=z(Ze);const he=re(()=>{var dt;return(dt=h())==null?void 0:dt.userMeta}),kr=re(()=>{var dt;return(dt=h())==null?void 0:dt.menuItems});on(Nt,{get userMeta(){return m(he)},get menuItems(){return m(kr)},ariaLabel:"Open profile menu"}),x(Ze),x(Y),ie("mouseenter",B,()=>A(U,!0)),ie("mouseleave",B,()=>A(U,!1)),ie("focus",B,()=>A(U,!0)),ie("blur",B,()=>A(U,!1)),M(C,Y)};oe(ll,C=>{h()&&C(ul)})}x(sn);var cn=ue(sn,2);let Gi;var cl=z(cn);{var dl=C=>{var Y=Ns(),$=z(Y),B=z($);Zr(B,()=>d()??Ee),x($),x(Y),M(C,Y)};oe(cl,C=>{m(R)()&&C(dl)})}x(cn),x(tr),ct(tr,C=>w=C,()=>w),ye((C,Y,$,B,le)=>{qi=Ce(tr,1,"side-nav-container svelte-1gw99zg",null,qi,C),Ji=Ce(Ve,1,"menu-button svelte-1gw99zg",null,Ji,Y),Ve.disabled=s(),J(Ve,"aria-label",$),J(Ve,"aria-expanded",B),Gi=Ce(cn,1,"expanded-content drawer-anim svelte-1gw99zg",null,Gi,le)},[()=>({expanded:m(R)()}),()=>({disabled:s()}),()=>m(R)()?"Close navigation menu":"Open navigation menu",()=>m(R)()?"true":"false",()=>({open:m(R)()})]),ie("mouseenter",Ve,()=>A(b,!0)),ie("mouseleave",Ve,()=>A(b,!1)),ie("focus",Ve,()=>A(b,!0)),ie("blur",Ve,()=>A(b,!1)),M(e,tr);var fl=X({get ssrSelectedItem(){return l()},set ssrSelectedItem(C=void 0){l(C),_()},get onNavToggle(){return c()},set onNavToggle(C=void 0){c(C),_()},get onNavItemClick(){return f()},set onNavItemClick(C=void 0){f(C),_()},get children(){return d()},set children(C){d(C),_()},get showAppIcons(){return u()},set showAppIcons(C=!0){u(C),_()},get profileMenuData(){return h()},set profileMenuData(C){h(C),_()},get apiUrl(){return p()},set apiUrl(C){p(C),_()},get chatUrl(){return k()},set chatUrl(C){k(C),_()},get consoleUrl(){return E()},set consoleUrl(C){E(C),_()},get discoverUrl(){return S()},set discoverUrl(C){S(C),_()}});return n(),fl}Zt(["click","keydown"]),Q(Ai,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},children:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Ui(e,t){G(t,!0);let r=y(t,"ssrSelectedItem",7),n=y(t,"onNavToggle",7),i=y(t,"onNavItemClick",7),o=y(t,"showAppIcons",7,!0),s=y(t,"profileMenuData",7),a=y(t,"apiUrl",7),l=y(t,"chatUrl",7),c=y(t,"consoleUrl",7),f=y(t,"discoverUrl",7);return Ai(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 c()},get discoverUrl(){return f()},children:(d,u)=>{var h=pt(),p=Be(h);gr(p,t,"default",{}),M(d,h)},$$slots:{default:!0}}),X({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 c()},set consoleUrl(d){c(d),_()},get discoverUrl(){return f()},set discoverUrl(d){f(d),_()}})}customElements.define("graymatter-desktop-side-nav",Q(Ui,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},["default"],[],!0));var As=q('<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>'),Us=q('<svg><path d="M38.1538 13.6118C38.1538 10.3764 35.6038 7.74581 32.4682 7.74581H26.6298C25.6231 7.74581 24.8025 6.90443 24.8025 5.86798C24.8025 4.83153 25.6211 3.99015 26.6298 3.99015H37.2646V0H25.7602C22.6266 0 20.0765 2.63251 20.0765 5.86798C20.0765 9.10345 22.6266 11.736 25.7602 11.736H31.5986C32.6053 11.736 33.4259 12.5773 33.4259 13.6138C33.4259 14.6502 32.6072 15.4916 31.5986 15.4916H20.5603V19.4798H32.4682C35.6038 19.4798 38.1538 16.8473 38.1538 13.6138V13.6118Z"></path><path d="M54.4317 16.4768L54.4591 16.5123L55.4442 19.4798H60.0938L53.6169 0H45.2912L38.8143 19.4778H43.4639L44.4608 16.4768H54.4317ZM48.6129 3.99015H50.2933L50.305 4.02365L53.0861 12.3862H45.822L48.6129 3.99015Z"></path><path d="M18.0224 0H13.6255V10.5438C13.6255 14.2897 11.24 15.6236 9.00924 15.6236C5.98918 15.6236 4.39298 13.866 4.39298 10.5438V0H0V11.3379C0 13.799 0.969472 16.0355 2.72823 17.6355C4.40473 19.1606 6.6355 20 9.01119 20C13.4903 20 18.0224 17.0246 18.0224 11.336V0Z"></path><path d="M67.3965 6.52612H62.2005V19.4798H67.3965V6.52612Z"></path><path d="M70.6978 2.72727C70.5495 2.72727 70.4078 2.71191 70.2726 2.68118C70.1374 2.64789 70.0178 2.59795 69.9138 2.53137C69.8097 2.46223 69.7278 2.37772 69.668 2.27785C69.6082 2.17542 69.5783 2.05506 69.5783 1.91677C69.5783 1.90141 69.5783 1.88604 69.5783 1.87068C69.5809 1.85531 69.5822 1.84379 69.5822 1.83611H70.0932C70.0932 1.84123 70.0919 1.85147 70.0893 1.86684C70.0893 1.87964 70.0893 1.89117 70.0893 1.90141C70.0893 1.98592 70.114 2.0589 70.1634 2.12036C70.2128 2.17926 70.2843 2.22535 70.3779 2.25864C70.4715 2.28937 70.582 2.30474 70.7095 2.30474C70.7953 2.30474 70.8707 2.29962 70.9357 2.28937C71.0033 2.27913 71.0605 2.26504 71.1073 2.24712C71.1567 2.22663 71.197 2.20359 71.2282 2.17798C71.2594 2.14981 71.2815 2.11908 71.2945 2.08579C71.3101 2.0525 71.3179 2.01665 71.3179 1.97823C71.3179 1.90397 71.2945 1.84251 71.2477 1.79385C71.2009 1.7452 71.1372 1.70423 71.0566 1.67093C70.9786 1.63764 70.8889 1.60819 70.7875 1.58259C70.6887 1.55442 70.586 1.52625 70.4793 1.49808C70.3753 1.46991 70.2726 1.43662 70.1712 1.39821C70.0724 1.35723 69.9827 1.30858 69.9021 1.25224C69.824 1.1959 69.7616 1.12548 69.7148 1.04097C69.668 0.953905 69.6446 0.850192 69.6446 0.729833C69.6446 0.606914 69.6706 0.49936 69.7226 0.40717C69.7772 0.314981 69.8526 0.239437 69.9489 0.180538C70.0477 0.119078 70.1621 0.0742637 70.2921 0.0460946C70.4221 0.0153649 70.5638 0 70.7173 0C70.8603 0 70.9942 0.0153649 71.119 0.0460946C71.2464 0.0742637 71.3582 0.120358 71.4545 0.184379C71.5507 0.245839 71.6261 0.325224 71.6807 0.422535C71.7353 0.517286 71.7626 0.631242 71.7626 0.764405V0.810499H71.2594V0.772087C71.2594 0.697823 71.236 0.635083 71.1892 0.583867C71.145 0.53265 71.0813 0.492958 70.9981 0.464789C70.9175 0.43662 70.8226 0.422535 70.7134 0.422535C70.5963 0.422535 70.4962 0.434059 70.413 0.457106C70.3298 0.477593 70.2661 0.509603 70.2219 0.553137C70.1777 0.59411 70.1556 0.645326 70.1556 0.706786C70.1556 0.770807 70.179 0.824584 70.2258 0.868118C70.2726 0.911652 70.335 0.948784 70.413 0.979513C70.4936 1.01024 70.5833 1.03841 70.6822 1.06402C70.7836 1.08963 70.8863 1.1178 70.9903 1.14853C71.0969 1.1767 71.1996 1.20999 71.2984 1.2484C71.3999 1.28681 71.4896 1.33547 71.5676 1.39437C71.6482 1.4507 71.7119 1.52113 71.7587 1.60563C71.8055 1.69014 71.8289 1.79129 71.8289 1.90909C71.8289 2.10627 71.7795 2.26504 71.6807 2.3854C71.5845 2.50576 71.4506 2.59283 71.2789 2.64661C71.1099 2.70038 70.9162 2.72727 70.6978 2.72727Z"></path><path d="M72.3008 2.68118V0.0460946H73.1004L73.5217 1.51344C73.5373 1.56466 73.5529 1.62228 73.5685 1.6863C73.5841 1.75032 73.5984 1.81178 73.6114 1.87068C73.627 1.92958 73.6387 1.98079 73.6465 2.02433H73.6777C73.6829 1.98592 73.6907 1.93854 73.7011 1.8822C73.7115 1.82586 73.7232 1.76568 73.7362 1.70166C73.7518 1.63508 73.7687 1.57106 73.7869 1.5096L74.2082 0.0460946H75V2.68118H74.4929V1.34827C74.4929 1.23047 74.4942 1.11268 74.4968 0.994878C74.4994 0.877081 74.502 0.775928 74.5046 0.691421C74.5098 0.606914 74.5124 0.556978 74.5124 0.541613H74.4812C74.476 0.564661 74.463 0.614597 74.4422 0.691421C74.4214 0.768246 74.3993 0.851472 74.3759 0.941101C74.3525 1.03073 74.3317 1.10755 74.3135 1.17157L73.8727 2.68118H73.4047L72.9639 1.17542C72.9483 1.12164 72.9301 1.05762 72.9093 0.983355C72.8911 0.90653 72.8716 0.828425 72.8508 0.74904C72.8326 0.669654 72.8157 0.600512 72.8001 0.541613H72.7689C72.7715 0.610755 72.7741 0.693982 72.7767 0.791293C72.7793 0.886043 72.7819 0.983355 72.7845 1.08323C72.7871 1.18054 72.7884 1.26889 72.7884 1.34827V2.68118H72.3008Z"></path><path d="M67.4728 0H62.2005V3.98818H67.4728V0Z"></path></svg>');const Os={hash:"svelte-ieg5x",code:"svg.svelte-ieg5x {display:block;}"};function er(e,t){G(t,!0),ut(e,Os);const r=y(t,"isInverted",7,!1),n=y(t,"width",7,102),i=y(t,"height",7,30),o=y(t,"showServiceMark",7,!1),s=wr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height","showServiceMark"]),a=r()?"var(--ai-color-white)":"var(--ai-color-black)";var l=pt(),c=Be(l);{var f=u=>{var h=As();Gt(h,()=>({width:n(),height:i(),viewBox:"0 0 102 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${a};`,...s}),void 0,"svelte-ieg5x"),M(u,h)},d=u=>{var h=Us();Gt(h,()=>({width:n(),height:i(),viewBox:"0 0 75 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${a};`,...s}),void 0,"svelte-ieg5x"),M(u,h)};oe(c,u=>{o()?u(d,!1):u(f)})}return M(e,l),X({get isInverted(){return r()},set isInverted(u=!1){r(u),_()},get width(){return n()},set width(u=102){n(u),_()},get height(){return i()},set height(u=30){i(u),_()},get showServiceMark(){return o()},set showServiceMark(u=!1){o(u),_()}})}Q(er,{isInverted:{},width:{},height:{},showServiceMark:{}},[],[],!0);function Oi(e,t){G(t,!0);let r=y(t,"isInverted",7,!1),n=y(t,"width",7,void 0),i=y(t,"height",7,void 0),o=y(t,"showServiceMark",7,!1),s=wr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height","showServiceMark"]);return er(e,xi({get isInverted(){return r()},get width(){return n()},get height(){return i()},get showServiceMark(){return o()}},()=>s)),X({get isInverted(){return r()},set isInverted(a=!1){r(a),_()},get width(){return n()},set width(a=void 0){n(a),_()},get height(){return i()},set height(a=void 0){i(a),_()},get showServiceMark(){return o()},set showServiceMark(a=!1){o(a),_()}})}customElements.define("graymatter-logo",Q(Oi,{isInverted:{attribute:"is-inverted",reflect:!0,type:"Boolean"},width:{attribute:"width",reflect:!0,type:"Number"},height:{attribute:"height",reflect:!0,type:"Number"},showServiceMark:{attribute:"show-service-mark",reflect:!0,type:"Boolean"}},[],[],!0));function Hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yr={exports:{}},Ds=yr.exports,Hi;function Vs(){return Hi||(Hi=1,function(e,t){(function(r,n,i){e.exports=i(),e.exports.default=i()})("slugify",Ds,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,c=s.trim===void 0?!0:s.trim,f=o.normalize().split("").reduce(function(d,u){var h=a[u];return h===void 0&&(h=r[u]),h===void 0&&(h=u),h===l&&(h=" "),d+h.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(f=f.replace(/[^A-Za-z0-9\s]/g,"")),c&&(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})}(yr)),yr.exports}var Ps=Vs();const Di=Hs(Ps);var js=(e,t,r)=>t(m(r).id),Rs=se('<a><div class="icon svelte-cugc62"><!></div> <span class="label svelte-cugc62"> </span></a>'),Bs=se('<nav class="mobile-bottom-nav" part="mobile-bottom-nav"></nav>');const Fs={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 Vi(e,t){G(t,!0),ut(e,Fs);const[r,n]=Xt(),i=()=>Le(wt,"$selectedItem",r);let o=y(t,"onNavItemClick",7),s=y(t,"showAppIcons",7,!0),a=y(t,"apiUrl",7),l=y(t,"chatUrl",7),c=y(t,"consoleUrl",7),f=y(t,"discoverUrl",7);const d=Ti(),u=[{id:"discover",label:"Discover",icon:Qr,href:f()||d.discover},{id:"chat",label:"Chat",icon:en,href:l()||d.chat},{id:"console",label:"Console",icon:tn,href:c()||d.console},{id:"api",label:"API",icon:rn,href:a()||d.api}];function h(v){var w;if(v!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),De.setSelectedItem(v),v!=="discover")try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:g})=>{g.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const b=document.getElementById("main-content");if(b){const L=b.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(L&&L.textContent){const U=L.textContent.trim();g.set(U),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(U))}}},200)}).catch(g=>{console.log("[MobileBottomNav] Error clearing header state:",g)})}catch(g){console.log("[MobileBottomNav] Import failed for clearing state:",g)}else try{Promise.resolve().then(()=>_r).then(({selectedSubNavItemTitle:g})=>{g.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch(g=>{console.log("[MobileBottomNav] Error clearing header state for Discover:",g)})}catch(g){console.log("[MobileBottomNav] Import failed for clearing Discover state:",g)}(w=o())==null||w({item:v,expanded:!1})}var p=pt(),k=Be(p);{var E=v=>{var w=Bs();li(w,21,()=>u,ga,(g,b)=>{var L=Rs();let U;L.__click=[js,h,b];var K=z(L),N=z(K);const j=re(()=>i()===m(b).id);ma(N,()=>m(b).icon,(I,T)=>{T(I,{get isSelected(){return m(j)}})}),x(K);var ee=ue(K,2),W=z(ee,!0);x(ee),x(L),ye((I,T,R)=>{J(L,"href",m(b).href),U=Ce(L,1,I,"svelte-cugc62",U,T),J(L,"part",R),Jt(W,m(b).label)},[()=>`nav-item ${Di(m(b).id)}-item`,()=>({active:i()===m(b).id}),()=>`${Di(m(b).id)}-item`]),M(g,L)}),x(w),M(v,w)};oe(k,v=>{s()&&v(E)})}M(e,p);var S=X({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 c()},set consoleUrl(v){c(v),_()},get discoverUrl(){return f()},set discoverUrl(v){f(v),_()}});return n(),S}Zt(["click"]),Q(Vi,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Pi(e,t){G(t,!0);let r=y(t,"onNavItemClick",7),n=y(t,"showAppIcons",7,!0),i=y(t,"apiUrl",7),o=y(t,"chatUrl",7),s=y(t,"consoleUrl",7),a=y(t,"discoverUrl",7);return Vi(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()}}),X({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",Q(Pi,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0));var Ys=q('<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 ji(e){var t=Ys();M(e,t)}Q(ji,{},[],[],!0);var Zs=(e,t)=>{(e.key==="Enter"||e.key===" ")&&t()},qs=se('<div class="mobile-overlay" role="button" tabindex="0" aria-label="Close navigation menu (Escape key supported)" part="mobile-overlay"></div>'),Js=se('<a part="logo-link" class="logo-link svelte-130p86v"><!></a>'),Ks=se('<div class="subnav-section svelte-130p86v" part="subnav-section"><!></div>'),Ws=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>'),Gs=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 Xs={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 Ri(e,t){G(t,!0),ut(e,Xs);const[r,n]=Xt(),i=()=>Le(He,"$isExpanded",r),o=()=>Le(wt,"$selectedItem",r);let s,a=null,l=y(t,"logoLinkUrl",7),c=y(t,"logoLinkLabel",7);function f(I){if(a=I.detail.hash,d(),a){const R=document.getElementById(a);if(R){const ce=document.getElementById("main-content-mobile"),ve=ce?ce.querySelector(`[id="${a}"]`):null;if(ve&&ce){const de=ve.getBoundingClientRect(),te=ce.getBoundingClientRect(),fe=ce.scrollTop+de.top-te.top;ce.scrollTo({top:fe,behavior:"auto"}),setTimeout(()=>{var nt;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(nt=ve.textContent)==null?void 0:nt.trim(),id:ve.id}}))},100)}else{let de=R.parentElement;for(;de&&de!==document.body;){const te=window.getComputedStyle(de);if(te.overflowY==="auto"||te.overflowY==="scroll")break;de=de.parentElement}de&&de!==document.body?document.getElementById("main-content")?(R.scrollIntoView({behavior:"auto",block:"start"}),setTimeout(()=>{var fe;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(fe=R.textContent)==null?void 0:fe.trim(),id:R.id}}))},100)):R.scrollIntoView({behavior:"auto",block:"start"}):R.scrollIntoView({behavior:"auto",block:"start"})}}a=null}}Kt(()=>{window.addEventListener("mobileAnchorNavigate",f);const I=()=>{d()};window.addEventListener("closeMobileMenu",I);const T=ce=>{const ve=ce,{isMobile:de}=ve.detail;de&&De.setExpanded(!1)};window.addEventListener("layoutTransition",T);const R=ce=>{const ve=document.activeElement;ce.key==="Escape"&&i()&&!(ve&&ve.closest(".profile-context-menu"))&&d()};return window.addEventListener("keydown",R),()=>{window.removeEventListener("mobileAnchorNavigate",f),window.removeEventListener("closeMobileMenu",I),window.removeEventListener("layoutTransition",T),window.removeEventListener("keydown",R)}});function d(){De.setExpanded(!1)}var u=Gs(),h=Be(u);{var p=I=>{var T=qs();T.__click=d,T.__keydown=[Zs,d],M(I,T)};oe(h,I=>{i()&&I(p)})}var k=ue(h,2);let E;var S=z(k),v=z(S),w=z(v);{var g=I=>{var T=Js(),R=z(T);er(R,{width:75,height:22}),x(T),ye(()=>{J(T,"href",l()),J(T,"aria-label",c())}),M(I,T)},b=I=>{er(I,{width:75,height:22})};oe(w,I=>{l()?I(g):I(b,!1)})}x(v);var L=ue(v,2);L.__click=d;var U=z(L);ji(U),x(L),x(S);var K=ue(S,2),N=z(K);{var j=I=>{var T=Ks(),R=z(T);gr(R,t,"default",{}),x(T),M(I,T)},ee=I=>{var T=Ws();M(I,T)};oe(N,I=>{o()&&o()!=="discover"?I(j):I(ee,!1)})}x(K),x(k),ct(k,I=>s=I,()=>s),ye(I=>E=Ce(k,1,"mobile-side-menu svelte-130p86v",null,E,I),[()=>({open:i()})]),M(e,u);var W=X({get logoLinkUrl(){return l()},set logoLinkUrl(I){l(I),_()},get logoLinkLabel(){return c()},set logoLinkLabel(I){c(I),_()}});return n(),W}Zt(["click","keydown"]),Q(Ri,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0);function Bi(e,t){G(t,!0);let r=y(t,"logoLinkUrl",7),n=y(t,"logoLinkLabel",7);return Ri(e,{get logoLinkUrl(){return r()},get logoLinkLabel(){return n()},children:(i,o)=>{var s=pt(),a=Be(s);gr(a,t,"default",{}),M(i,s)},$$slots:{default:!0}}),X({get logoLinkUrl(){return r()},set logoLinkUrl(i){r(i),_()},get logoLinkLabel(){return n()},set logoLinkLabel(i){n(i),_()}})}customElements.define("graymatter-mobile-side-menu",Q(Bi,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0));function Qs(){De.toggleExpanded()}var el=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 tl={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,
33
+ stroke-width 0.3s ease;}.nav-text.svelte-f08jya {font-size:var(--ai-size-12);text-align:center;color:var(--ai-color-neutral-900);line-height:1.3;}.menu-button.disabled.svelte-f08jya:hover .icon-container:where(.svelte-f08jya),
34
+ .menu-button.svelte-f08jya:disabled:hover .icon-container:where(.svelte-f08jya) {background:none !important;border-radius:var(--ai-size-4);}.nav-item.hovered.svelte-f08jya .icon-container:where(.svelte-f08jya),
35
+ .nav-item.svelte-f08jya:active .icon-container:where(.svelte-f08jya),
36
+ .nav-item.selected.svelte-f08jya .icon-container:where(.svelte-f08jya),
37
+ .nav-item.selected.hovered.svelte-f08jya .icon-container:where(.svelte-f08jya),
38
+ .menu-button.svelte-f08jya:hover .icon-container:where(.svelte-f08jya),
39
+ .menu-button.svelte-f08jya:active .icon-container:where(.svelte-f08jya) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-f08jya {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-f08jya:hover {color:var(--ai-color-neutral-700);}
40
+
41
+ /* .nav-footer-icon-container {
42
+ display: flex;
43
+ padding: 0 var(--ai-size-4);
44
+ flex-direction: column;
45
+ justify-content: center;
46
+ align-items: center;
47
+ gap: var(--ai-size-4);
48
+ align-self: stretch;
49
+ } */.nav-footer-profile-container.svelte-f08jya {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;}
50
+ /* .nav-footer-icon-inner {
51
+ display: flex;
52
+ width: var(--ai-size-40);
53
+ height: var(--ai-size-40);
54
+ padding: var(--ai-size-8);
55
+ justify-content: center;
56
+ align-items: center;
57
+ border-radius: var(--ai-size-4);
58
+ background: none;
59
+ border: none;
60
+ cursor: pointer;
61
+ transition: background-color 0.3s ease, border-radius 0.3s ease;
62
+ } */
63
+ /* .nav-footer-icon-inner:hover,
64
+ .nav-footer-icon-inner:focus {
65
+ background-color: var(--ai-color-steel-300);
66
+ border-radius: var(--ai-size-4);
67
+ }
68
+ .nav-footer-icon-inner:focus {
69
+ outline: none;
70
+ }
71
+ .nav-footer-icon-inner:focus-visible {
72
+ outline: var(--ai-size-2) solid var(--ai-color-blue-600);
73
+ outline-offset: var(--ai-size-2);
74
+ border-radius: var(--ai-size-4);
75
+ }
76
+ .nav-footer-icon-svg-wrapper {
77
+ width: var(--ai-size-24);
78
+ height: var(--ai-size-24);
79
+ flex-shrink: 0;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ } */`};function Ni(e,t){Q(t,!0),ut(e,Ns);const[r,n]=Wt(),i=()=>ze(bt,"$selectedItem",r),o=()=>ze(De,"$isExpanded",r),s=()=>ze(Kr,"$isMenuButtonDisabled",r),a=Mi(),l=y(t,"ssrSelectedItem",7,void 0),c=y(t,"onNavToggle",7,void 0),d=y(t,"onNavItemClick",7,void 0),f=y(t,"children",7),u=y(t,"showAppIcons",7,!0),h=y(t,"profileMenuData",7),g=y(t,"apiUrl",7),k=y(t,"chatUrl",7),C=y(t,"consoleUrl",7),I=y(t,"discoverUrl",7);let v=!1,m,p=he(null),b=he(!1),M=he(!1),A=he(null),Z=he(null),N=he(null),R=he(null);function G(x,F){return v?x:F}function V(x){return G(i()===x,l()===x)}function z(x){return w(p)===x}const T=re(()=>()=>G(o(),l()?l()!=="discover":!0)),Y=re(()=>()=>G(s(),l()?l()==="discover":!1)),fe=re(()=>()=>G(o(),l()?l()!=="discover":!0)),de=re(()=>()=>w(M)&&w(b)&&!w(Y)());Zt(()=>{if(v=!0,document.documentElement.classList.remove("nav-initially-expanded"),document.documentElement.style.removeProperty("--initial-main-top-padding"),m&&m.classList.add("hydrated"),typeof window<"u"){const x=window.matchMedia("(hover: hover)");j(M,x.matches,!0),x.addEventListener("change",J=>{j(M,J.matches,!0)});const F=J=>{const ue=J,{isMobile:$e}=ue.detail;if($e)He.setExpanded(!1);else{const Ce=i();Ce&&Ce!=="discover"?He.setExpanded(!0):He.setExpanded(!1)}};window.addEventListener("layoutTransition",F);const $=J=>{const ue=document.activeElement;J.key==="Escape"&&o()&&!(ue&&ue.closest(".profile-context-menu"))&&He.setExpanded(!1)};return window.addEventListener("keydown",$),()=>{window.removeEventListener("layoutTransition",F),window.removeEventListener("keydown",$)}}});function X(x){var F;if(x!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),He.setSelectedItem(x),x!=="discover")try{Promise.resolve().then(()=>br).then(({selectedSubNavItemTitle:$})=>{$.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const J=document.getElementById("main-content");if(J){const ue=J.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(ue&&ue.textContent){const $e=ue.textContent.trim();$.set($e),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify($e))}}},200)}).catch($=>{console.log("[DesktopSideNav] Error clearing header state:",$)})}catch($){console.log("[DesktopSideNav] Import failed for clearing state:",$)}else try{Promise.resolve().then(()=>br).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=d())==null||F({item:x,expanded:o()})}function oe(x,F){(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),X(F))}function le(x,F){var ue,$e,Ce,wr;const $=[w(A),w(Z),w(N),w(R)],J=$.length;if(J)if(x.key==="ArrowDown"){x.preventDefault();const ge=(F+1)%J;(ue=$[ge])==null||ue.focus()}else if(x.key==="ArrowUp"){x.preventDefault();const ge=(F-1+J)%J;($e=$[ge])==null||$e.focus()}else x.key==="Home"?(x.preventDefault(),(Ce=$[0])==null||Ce.focus()):x.key==="End"&&(x.preventDefault(),(wr=$[J-1])==null||wr.focus())}var Ze=Ms();let Bi;var nn=S(Ze),on=S(nn),an=S(on),Ve=S(an);let Fi;Ve.__click=[bs,s,c,o];var Yi=S(Ve),qi=S(Yi),Qs=S(qi);const el=re(()=>w(de)()),tl=re(()=>w(Y)()),rl=re(()=>w(fe)());en(Qs,{get isHovered(){return w(el)},get isDisabled(){return w(tl)},get isOpen(){return w(rl)}}),E(qi),E(Yi),E(Ve),E(an);var nl=ce(an,2);{var il=x=>{var F=Ss(),$=S(F);let J;$.__click=[ms,X],$.__keydown=[ws,oe,le];var ue=S($),$e=S(ue),Ce=S($e);const wr=re(()=>V("discover"));Wr(Ce,{get isSelected(){return w(wr)}}),E($e),E(ue),Be(2),E($),ct($,it=>j(A,it),()=>w(A));var ge=ce($,2);let Ji;ge.__click=[_s,X],ge.__keydown=[ys,oe,le];var Ki=S(ge),Wi=S(Ki),cl=S(Wi);const fl=re(()=>V("chat"));Gr(cl,{get isSelected(){return w(fl)}}),E(Wi),E(Ki),Be(2),E(ge),ct(ge,it=>j(Z,it),()=>w(Z));var Pe=ce(ge,2);let Gi;Pe.__click=[ks,X],Pe.__keydown=[xs,oe,le];var Xi=S(Pe),Qi=S(Xi),dl=S(Qi);const vl=re(()=>V("console"));Xr(dl,{get isSelected(){return w(vl)}}),E(Qi),E(Xi),Be(2),E(Pe),ct(Pe,it=>j(N,it),()=>w(N));var Je=ce(Pe,2);let eo;Je.__click=[Cs,X],Je.__keydown=[Es,oe,le];var to=S(Je),ro=S(to),hl=S(ro);const pl=re(()=>V("api"));Qr(hl,{get isSelected(){return w(pl)}}),E(ro),E(to),Be(2),E(Je),ct(Je,it=>j(R,it),()=>w(R)),E(F),Me((it,gl,bl,ml,wl,_l,yl,kl)=>{W($,"href",I()||a.discover),J=xe($,1,"nav-item discover-item svelte-f08jya",null,J,it),W($,"aria-current",gl),W(ge,"href",k()||a.chat),Ji=xe(ge,1,"nav-item chat-item svelte-f08jya",null,Ji,bl),W(ge,"aria-current",ml),W(Pe,"href",C()||a.console),Gi=xe(Pe,1,"nav-item console-item svelte-f08jya",null,Gi,wl),W(Pe,"aria-current",_l),W(Je,"href",g()||a.api),eo=xe(Je,1,"nav-item api-item svelte-f08jya",null,eo,yl),W(Je,"aria-current",kl)},[()=>({selected:V("discover"),hovered:z("discover")}),()=>V("discover")?"page":void 0,()=>({selected:V("chat"),hovered:z("chat")}),()=>V("chat")?"page":void 0,()=>({selected:V("console"),hovered:z("console")}),()=>V("console")?"page":void 0,()=>({selected:V("api"),hovered:z("api")}),()=>V("api")?"page":void 0]),ve("mouseenter",$,()=>j(p,"discover")),ve("mouseleave",$,()=>j(p,null)),ve("mouseenter",ge,()=>j(p,"chat")),ve("mouseleave",ge,()=>j(p,null)),ve("mouseenter",Pe,()=>j(p,"console")),ve("mouseleave",Pe,()=>j(p,null)),ve("mouseenter",Je,()=>j(p,"api")),ve("mouseleave",Je,()=>j(p,null)),L(x,F)};ie(nl,x=>{u()&&x(il)})}E(on);var ol=ce(on,2);{var al=x=>{var F=Is(),$=S(F),J=S($);const ue=re(()=>{var Ce;return(Ce=h())==null?void 0:Ce.userMeta}),$e=re(()=>{var Ce;return(Ce=h())==null?void 0:Ce.menuItems});tn(J,{get userMeta(){return w(ue)},get menuItems(){return w($e)},ariaLabel:"Open profile menu",menuAlign:"desktop"}),E($),E(F),L(x,F)};ie(ol,x=>{h()&&x(al)})}E(nn);var sn=ce(nn,2);let Zi;var sl=S(sn);{var ll=x=>{var F=Ls(),$=S(F),J=S($);Br(J,()=>f()??Se),E($),E(F),L(x,F)};ie(sl,x=>{w(T)()&&x(ll)})}E(sn),E(Ze),ct(Ze,x=>m=x,()=>m),Me((x,F,$,J,ue)=>{Bi=xe(Ze,1,"side-nav-container svelte-f08jya",null,Bi,x),Fi=xe(Ve,1,"menu-button svelte-f08jya",null,Fi,F),Ve.disabled=s(),W(Ve,"aria-label",$),W(Ve,"aria-expanded",J),Zi=xe(sn,1,"expanded-content drawer-anim svelte-f08jya",null,Zi,ue)},[()=>({expanded:w(T)()}),()=>({disabled:s()}),()=>w(T)()?"Close navigation menu":"Open navigation menu",()=>w(T)()?"true":"false",()=>({open:w(T)()})]),ve("mouseenter",Ve,()=>j(b,!0)),ve("mouseleave",Ve,()=>j(b,!1)),ve("focus",Ve,()=>j(b,!0)),ve("blur",Ve,()=>j(b,!1)),L(e,Ze);var ul=ee({get ssrSelectedItem(){return l()},set ssrSelectedItem(x=void 0){l(x),_()},get onNavToggle(){return c()},set onNavToggle(x=void 0){c(x),_()},get onNavItemClick(){return d()},set onNavItemClick(x=void 0){d(x),_()},get children(){return f()},set children(x){f(x),_()},get showAppIcons(){return u()},set showAppIcons(x=!0){u(x),_()},get profileMenuData(){return h()},set profileMenuData(x){h(x),_()},get apiUrl(){return g()},set apiUrl(x){g(x),_()},get chatUrl(){return k()},set chatUrl(x){k(x),_()},get consoleUrl(){return C()},set consoleUrl(x){C(x),_()},get discoverUrl(){return I()},set discoverUrl(x){I(x),_()}});return n(),ul}Ft(["click","keydown"]),te(Ni,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},children:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function zi(e,t){Q(t,!0);let r=y(t,"ssrSelectedItem",7),n=y(t,"onNavToggle",7),i=y(t,"onNavItemClick",7),o=y(t,"showAppIcons",7,!0),s=y(t,"profileMenuData",7),a=y(t,"apiUrl",7),l=y(t,"chatUrl",7),c=y(t,"consoleUrl",7),d=y(t,"discoverUrl",7);return Ni(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 c()},get discoverUrl(){return d()},children:(f,u)=>{var h=pt(),g=Fe(h);dr(g,t,"default",{}),L(f,h)},$$slots:{default:!0}}),ee({get ssrSelectedItem(){return r()},set ssrSelectedItem(f){r(f),_()},get onNavToggle(){return n()},set onNavToggle(f){n(f),_()},get onNavItemClick(){return i()},set onNavItemClick(f){i(f),_()},get showAppIcons(){return o()},set showAppIcons(f=!0){o(f),_()},get profileMenuData(){return s()},set profileMenuData(f){s(f),_()},get apiUrl(){return a()},set apiUrl(f){a(f),_()},get chatUrl(){return l()},set chatUrl(f){l(f),_()},get consoleUrl(){return c()},set consoleUrl(f){c(f),_()},get discoverUrl(){return d()},set discoverUrl(f){d(f),_()}})}customElements.define("graymatter-desktop-side-nav",te(zi,{ssrSelectedItem:{},onNavToggle:{},onNavItemClick:{},showAppIcons:{},profileMenuData:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},["default"],[],!0));var zs=K('<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>'),Ts=K('<svg><path d="M38.1538 13.6118C38.1538 10.3764 35.6038 7.74581 32.4682 7.74581H26.6298C25.6231 7.74581 24.8025 6.90443 24.8025 5.86798C24.8025 4.83153 25.6211 3.99015 26.6298 3.99015H37.2646V0H25.7602C22.6266 0 20.0765 2.63251 20.0765 5.86798C20.0765 9.10345 22.6266 11.736 25.7602 11.736H31.5986C32.6053 11.736 33.4259 12.5773 33.4259 13.6138C33.4259 14.6502 32.6072 15.4916 31.5986 15.4916H20.5603V19.4798H32.4682C35.6038 19.4798 38.1538 16.8473 38.1538 13.6138V13.6118Z"></path><path d="M54.4317 16.4768L54.4591 16.5123L55.4442 19.4798H60.0938L53.6169 0H45.2912L38.8143 19.4778H43.4639L44.4608 16.4768H54.4317ZM48.6129 3.99015H50.2933L50.305 4.02365L53.0861 12.3862H45.822L48.6129 3.99015Z"></path><path d="M18.0224 0H13.6255V10.5438C13.6255 14.2897 11.24 15.6236 9.00924 15.6236C5.98918 15.6236 4.39298 13.866 4.39298 10.5438V0H0V11.3379C0 13.799 0.969472 16.0355 2.72823 17.6355C4.40473 19.1606 6.6355 20 9.01119 20C13.4903 20 18.0224 17.0246 18.0224 11.336V0Z"></path><path d="M67.3965 6.52612H62.2005V19.4798H67.3965V6.52612Z"></path><path d="M70.6978 2.72727C70.5495 2.72727 70.4078 2.71191 70.2726 2.68118C70.1374 2.64789 70.0178 2.59795 69.9138 2.53137C69.8097 2.46223 69.7278 2.37772 69.668 2.27785C69.6082 2.17542 69.5783 2.05506 69.5783 1.91677C69.5783 1.90141 69.5783 1.88604 69.5783 1.87068C69.5809 1.85531 69.5822 1.84379 69.5822 1.83611H70.0932C70.0932 1.84123 70.0919 1.85147 70.0893 1.86684C70.0893 1.87964 70.0893 1.89117 70.0893 1.90141C70.0893 1.98592 70.114 2.0589 70.1634 2.12036C70.2128 2.17926 70.2843 2.22535 70.3779 2.25864C70.4715 2.28937 70.582 2.30474 70.7095 2.30474C70.7953 2.30474 70.8707 2.29962 70.9357 2.28937C71.0033 2.27913 71.0605 2.26504 71.1073 2.24712C71.1567 2.22663 71.197 2.20359 71.2282 2.17798C71.2594 2.14981 71.2815 2.11908 71.2945 2.08579C71.3101 2.0525 71.3179 2.01665 71.3179 1.97823C71.3179 1.90397 71.2945 1.84251 71.2477 1.79385C71.2009 1.7452 71.1372 1.70423 71.0566 1.67093C70.9786 1.63764 70.8889 1.60819 70.7875 1.58259C70.6887 1.55442 70.586 1.52625 70.4793 1.49808C70.3753 1.46991 70.2726 1.43662 70.1712 1.39821C70.0724 1.35723 69.9827 1.30858 69.9021 1.25224C69.824 1.1959 69.7616 1.12548 69.7148 1.04097C69.668 0.953905 69.6446 0.850192 69.6446 0.729833C69.6446 0.606914 69.6706 0.49936 69.7226 0.40717C69.7772 0.314981 69.8526 0.239437 69.9489 0.180538C70.0477 0.119078 70.1621 0.0742637 70.2921 0.0460946C70.4221 0.0153649 70.5638 0 70.7173 0C70.8603 0 70.9942 0.0153649 71.119 0.0460946C71.2464 0.0742637 71.3582 0.120358 71.4545 0.184379C71.5507 0.245839 71.6261 0.325224 71.6807 0.422535C71.7353 0.517286 71.7626 0.631242 71.7626 0.764405V0.810499H71.2594V0.772087C71.2594 0.697823 71.236 0.635083 71.1892 0.583867C71.145 0.53265 71.0813 0.492958 70.9981 0.464789C70.9175 0.43662 70.8226 0.422535 70.7134 0.422535C70.5963 0.422535 70.4962 0.434059 70.413 0.457106C70.3298 0.477593 70.2661 0.509603 70.2219 0.553137C70.1777 0.59411 70.1556 0.645326 70.1556 0.706786C70.1556 0.770807 70.179 0.824584 70.2258 0.868118C70.2726 0.911652 70.335 0.948784 70.413 0.979513C70.4936 1.01024 70.5833 1.03841 70.6822 1.06402C70.7836 1.08963 70.8863 1.1178 70.9903 1.14853C71.0969 1.1767 71.1996 1.20999 71.2984 1.2484C71.3999 1.28681 71.4896 1.33547 71.5676 1.39437C71.6482 1.4507 71.7119 1.52113 71.7587 1.60563C71.8055 1.69014 71.8289 1.79129 71.8289 1.90909C71.8289 2.10627 71.7795 2.26504 71.6807 2.3854C71.5845 2.50576 71.4506 2.59283 71.2789 2.64661C71.1099 2.70038 70.9162 2.72727 70.6978 2.72727Z"></path><path d="M72.3008 2.68118V0.0460946H73.1004L73.5217 1.51344C73.5373 1.56466 73.5529 1.62228 73.5685 1.6863C73.5841 1.75032 73.5984 1.81178 73.6114 1.87068C73.627 1.92958 73.6387 1.98079 73.6465 2.02433H73.6777C73.6829 1.98592 73.6907 1.93854 73.7011 1.8822C73.7115 1.82586 73.7232 1.76568 73.7362 1.70166C73.7518 1.63508 73.7687 1.57106 73.7869 1.5096L74.2082 0.0460946H75V2.68118H74.4929V1.34827C74.4929 1.23047 74.4942 1.11268 74.4968 0.994878C74.4994 0.877081 74.502 0.775928 74.5046 0.691421C74.5098 0.606914 74.5124 0.556978 74.5124 0.541613H74.4812C74.476 0.564661 74.463 0.614597 74.4422 0.691421C74.4214 0.768246 74.3993 0.851472 74.3759 0.941101C74.3525 1.03073 74.3317 1.10755 74.3135 1.17157L73.8727 2.68118H73.4047L72.9639 1.17542C72.9483 1.12164 72.9301 1.05762 72.9093 0.983355C72.8911 0.90653 72.8716 0.828425 72.8508 0.74904C72.8326 0.669654 72.8157 0.600512 72.8001 0.541613H72.7689C72.7715 0.610755 72.7741 0.693982 72.7767 0.791293C72.7793 0.886043 72.7819 0.983355 72.7845 1.08323C72.7871 1.18054 72.7884 1.26889 72.7884 1.34827V2.68118H72.3008Z"></path><path d="M67.4728 0H62.2005V3.98818H67.4728V0Z"></path></svg>');const $s={hash:"svelte-ieg5x",code:"svg.svelte-ieg5x {display:block;}"};function Xt(e,t){Q(t,!0),ut(e,$s);const r=y(t,"isInverted",7,!1),n=y(t,"width",7,102),i=y(t,"height",7,30),o=y(t,"showServiceMark",7,!1),s=pr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height","showServiceMark"]),a=r()?"var(--ai-color-white)":"var(--ai-color-black)";var l=pt(),c=Fe(l);{var d=u=>{var h=zs();Kt(h,()=>({width:n(),height:i(),viewBox:"0 0 102 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${a};`,...s}),void 0,"svelte-ieg5x"),L(u,h)},f=u=>{var h=Ts();Kt(h,()=>({width:n(),height:i(),viewBox:"0 0 75 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:`fill: ${a};`,...s}),void 0,"svelte-ieg5x"),L(u,h)};ie(c,u=>{o()?u(f,!1):u(d)})}return L(e,l),ee({get isInverted(){return r()},set isInverted(u=!1){r(u),_()},get width(){return n()},set width(u=102){n(u),_()},get height(){return i()},set height(u=30){i(u),_()},get showServiceMark(){return o()},set showServiceMark(u=!1){o(u),_()}})}te(Xt,{isInverted:{},width:{},height:{},showServiceMark:{}},[],[],!0);function Ti(e,t){Q(t,!0);let r=y(t,"isInverted",7,!1),n=y(t,"width",7,void 0),i=y(t,"height",7,void 0),o=y(t,"showServiceMark",7,!1),s=pr(t,["$$slots","$$events","$$legacy","$$host","isInverted","width","height","showServiceMark"]);return Xt(e,_i({get isInverted(){return r()},get width(){return n()},get height(){return i()},get showServiceMark(){return o()}},()=>s)),ee({get isInverted(){return r()},set isInverted(a=!1){r(a),_()},get width(){return n()},set width(a=void 0){n(a),_()},get height(){return i()},set height(a=void 0){i(a),_()},get showServiceMark(){return o()},set showServiceMark(a=!1){o(a),_()}})}customElements.define("graymatter-logo",te(Ti,{isInverted:{attribute:"is-inverted",reflect:!0,type:"Boolean"},width:{attribute:"width",reflect:!0,type:"Number"},height:{attribute:"height",reflect:!0,type:"Number"},showServiceMark:{attribute:"show-service-mark",reflect:!0,type:"Boolean"}},[],[],!0));function As(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mr={exports:{}},js=mr.exports,$i;function Us(){return $i||($i=1,function(e,t){(function(r,n,i){e.exports=i(),e.exports.default=i()})("slugify",js,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,c=s.trim===void 0?!0:s.trim,d=o.normalize().split("").reduce(function(f,u){var h=a[u];return h===void 0&&(h=r[u]),h===void 0&&(h=u),h===l&&(h=" "),f+h.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),c&&(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})}(mr)),mr.exports}var Os=Us();const Ai=As(Os);var Ds=(e,t,r)=>t(w(r).id),Hs=se('<a><div class="icon svelte-cugc62"><!></div> <span class="label svelte-cugc62"> </span></a>'),Vs=se('<nav class="mobile-bottom-nav" part="mobile-bottom-nav"></nav>');const Ps={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 ji(e,t){Q(t,!0),ut(e,Ps);const[r,n]=Wt(),i=()=>ze(bt,"$selectedItem",r);let o=y(t,"onNavItemClick",7),s=y(t,"showAppIcons",7,!0),a=y(t,"apiUrl",7),l=y(t,"chatUrl",7),c=y(t,"consoleUrl",7),d=y(t,"discoverUrl",7);const f=Mi(),u=[{id:"discover",label:"Discover",icon:Wr,href:d()||f.discover},{id:"chat",label:"Chat",icon:Gr,href:l()||f.chat},{id:"console",label:"Console",icon:Xr,href:c()||f.console},{id:"api",label:"API",icon:Qr,href:a()||f.api}];function h(v){var m;if(v!=="discover"&&typeof window<"u"&&sessionStorage.setItem("navigatingToMainNav","true"),He.setSelectedItem(v),v!=="discover")try{Promise.resolve().then(()=>br).then(({selectedSubNavItemTitle:p})=>{p.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId")),setTimeout(()=>{const b=document.getElementById("main-content");if(b){const M=b.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(M&&M.textContent){const A=M.textContent.trim();p.set(A),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(A))}}},200)}).catch(p=>{console.log("[MobileBottomNav] Error clearing header state:",p)})}catch(p){console.log("[MobileBottomNav] Import failed for clearing state:",p)}else try{Promise.resolve().then(()=>br).then(({selectedSubNavItemTitle:p})=>{p.set(""),typeof window<"u"&&(sessionStorage.removeItem("subNav-selectedTitle"),sessionStorage.removeItem("subNav-selectedId"))}).catch(p=>{console.log("[MobileBottomNav] Error clearing header state for Discover:",p)})}catch(p){console.log("[MobileBottomNav] Import failed for clearing Discover state:",p)}(m=o())==null||m({item:v,expanded:!1})}var g=pt(),k=Fe(g);{var C=v=>{var m=Vs();oi(m,21,()=>u,va,(p,b)=>{var M=Hs();let A;M.__click=[Ds,h,b];var Z=S(M),N=S(Z);const R=re(()=>i()===w(b).id);ba(N,()=>w(b).icon,(z,T)=>{T(z,{get isSelected(){return w(R)}})}),E(Z);var G=ce(Z,2),V=S(G,!0);E(G),E(M),Me((z,T,Y)=>{W(M,"href",w(b).href),A=xe(M,1,z,"svelte-cugc62",A,T),W(M,"part",Y),qt(V,w(b).label)},[()=>`nav-item ${Ai(w(b).id)}-item`,()=>({active:i()===w(b).id}),()=>`${Ai(w(b).id)}-item`]),L(p,M)}),E(m),L(v,m)};ie(k,v=>{s()&&v(C)})}L(e,g);var I=ee({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 c()},set consoleUrl(v){c(v),_()},get discoverUrl(){return d()},set discoverUrl(v){d(v),_()}});return n(),I}Ft(["click"]),te(ji,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0);function Ui(e,t){Q(t,!0);let r=y(t,"onNavItemClick",7),n=y(t,"showAppIcons",7,!0),i=y(t,"apiUrl",7),o=y(t,"chatUrl",7),s=y(t,"consoleUrl",7),a=y(t,"discoverUrl",7);return ji(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()}}),ee({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",te(Ui,{onNavItemClick:{},showAppIcons:{},apiUrl:{},chatUrl:{},consoleUrl:{},discoverUrl:{}},[],[],!0));var Rs=K('<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 Oi(e){var t=Rs();L(e,t)}te(Oi,{},[],[],!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 Di(e,t){Q(t,!0),ut(e,Ks);const[r,n]=Wt(),i=()=>ze(De,"$isExpanded",r),o=()=>ze(bt,"$selectedItem",r);let s,a=null,l=y(t,"logoLinkUrl",7),c=y(t,"logoLinkLabel",7);function d(z){if(a=z.detail.hash,f(),a){const Y=document.getElementById(a);if(Y){const fe=document.getElementById("main-content-mobile"),de=fe?fe.querySelector(`[id="${a}"]`):null;if(de&&fe){const X=de.getBoundingClientRect(),oe=fe.getBoundingClientRect(),le=fe.scrollTop+X.top-oe.top;fe.scrollTo({top:le,behavior:"auto"}),setTimeout(()=>{var Ze;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(Ze=de.textContent)==null?void 0:Ze.trim(),id:de.id}}))},100)}else{let X=Y.parentElement;for(;X&&X!==document.body;){const oe=window.getComputedStyle(X);if(oe.overflowY==="auto"||oe.overflowY==="scroll")break;X=X.parentElement}X&&X!==document.body?document.getElementById("main-content")?(Y.scrollIntoView({behavior:"auto",block:"start"}),setTimeout(()=>{var le;window.dispatchEvent(new CustomEvent("sectionVisible",{detail:{title:(le=Y.textContent)==null?void 0:le.trim(),id:Y.id}}))},100)):Y.scrollIntoView({behavior:"auto",block:"start"}):Y.scrollIntoView({behavior:"auto",block:"start"})}}a=null}}Zt(()=>{window.addEventListener("mobileAnchorNavigate",d);const z=()=>{f()};window.addEventListener("closeMobileMenu",z);const T=fe=>{const de=fe,{isMobile:X}=de.detail;X&&He.setExpanded(!1)};window.addEventListener("layoutTransition",T);const Y=fe=>{const de=document.activeElement;fe.key==="Escape"&&i()&&!(de&&de.closest(".profile-context-menu"))&&f()};return window.addEventListener("keydown",Y),()=>{window.removeEventListener("mobileAnchorNavigate",d),window.removeEventListener("closeMobileMenu",z),window.removeEventListener("layoutTransition",T),window.removeEventListener("keydown",Y)}});function f(){He.setExpanded(!1)}var u=Js(),h=Fe(u);{var g=z=>{var T=Fs();T.__click=f,T.__keydown=[Bs,f],L(z,T)};ie(h,z=>{i()&&z(g)})}var k=ce(h,2);let C;var I=S(k),v=S(I),m=S(v);{var p=z=>{var T=Ys(),Y=S(T);Xt(Y,{width:75,height:22}),E(T),Me(()=>{W(T,"href",l()),W(T,"aria-label",c())}),L(z,T)},b=z=>{Xt(z,{width:75,height:22})};ie(m,z=>{l()?z(p):z(b,!1)})}E(v);var M=ce(v,2);M.__click=f;var A=S(M);Oi(A),E(M),E(I);var Z=ce(I,2),N=S(Z);{var R=z=>{var T=qs(),Y=S(T);dr(Y,t,"default",{}),E(T),L(z,T)},G=z=>{var T=Zs();L(z,T)};ie(N,z=>{o()&&o()!=="discover"?z(R):z(G,!1)})}E(Z),E(k),ct(k,z=>s=z,()=>s),Me(z=>C=xe(k,1,"mobile-side-menu svelte-130p86v",null,C,z),[()=>({open:i()})]),L(e,u);var V=ee({get logoLinkUrl(){return l()},set logoLinkUrl(z){l(z),_()},get logoLinkLabel(){return c()},set logoLinkLabel(z){c(z),_()}});return n(),V}Ft(["click","keydown"]),te(Di,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0);function Hi(e,t){Q(t,!0);let r=y(t,"logoLinkUrl",7),n=y(t,"logoLinkLabel",7);return Di(e,{get logoLinkUrl(){return r()},get logoLinkLabel(){return n()},children:(i,o)=>{var s=pt(),a=Fe(s);dr(a,t,"default",{}),L(i,s)},$$slots:{default:!0}}),ee({get logoLinkUrl(){return r()},set logoLinkUrl(i){r(i),_()},get logoLinkLabel(){return n()},set logoLinkLabel(i){n(i),_()}})}customElements.define("graymatter-mobile-side-menu",te(Hi,{logoLinkUrl:{},logoLinkLabel:{}},["default"],[],!0));function Ws(){He.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,
41
84
  .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);}
42
85
 
43
86
  /* MobileTopNav specific disabled state */.mobile-top-nav.svelte-1ndhol0 .menu-button.disabled:where(.svelte-1ndhol0),
44
- .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 Fi(e,t){G(t,!0),ut(e,tl);const[r,n]=Xt(),i=()=>Le(bt,"$selectedSubNavItemTitle",r),o=()=>Le(Xr,"$isMenuButtonDisabled",r);let s=y(t,"profileMenuData",7);Kt(()=>{const v=b=>{if(window.innerWidth<=640)return;const L=b;L.detail&&L.detail.title&&(bt.set(L.detail.title),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(L.detail.title)))},w=()=>{if(typeof window>"u")return;const b=document.getElementById("main-content");if(!b)return;const L=b.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(L&&L.textContent){const U=L.textContent.trim();i()||(bt.set(U),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(U)))}};window.addEventListener("sectionVisible",v);const g=sessionStorage.getItem("subNav-selectedTitle");return(!g||g==='""'||g==="null")&&setTimeout(()=>{w()},100),()=>{window.removeEventListener("sectionVisible",v)}});var a=el(),l=z(a);let c;l.__click=[Qs];var f=z(l);nn(f,{}),x(l);var d=ue(l,2),u=z(d);er(u,{width:75,height:22});var h=ue(u,2),p=z(h,!0);x(h),x(d);var k=ue(d,2);{var E=v=>{const w=re(()=>{var b;return(b=s())==null?void 0:b.userMeta}),g=re(()=>{var b;return(b=s())==null?void 0:b.menuItems});on(v,{get userMeta(){return m(w)},get menuItems(){return m(g)},ariaLabel:"Open profile menu",menuAlign:"mobile"})};oe(k,v=>{s()&&v(E)})}x(a),ye(v=>{c=Ce(l,1,"menu-button svelte-1ndhol0",null,c,v),l.disabled=o(),Jt(p,i()||"")},[()=>({disabled:o()})]),M(e,a);var S=X({get profileMenuData(){return s()},set profileMenuData(v){s(v),_()}});return n(),S}Zt(["click"]),Q(Fi,{profileMenuData:{}},[],[],!0);function Yi(e,t){G(t,!0);let r=y(t,"profileMenuData",7);return Fi(e,{get profileMenuData(){return r()}}),X({get profileMenuData(){return r()},set profileMenuData(n){r(n),_()}})}customElements.define("graymatter-mobile-top-nav",Q(Yi,{profileMenuData:{}},[],[],!0)),O.Button=Ei,O.DesktopHeader=Ni,O.DesktopSideNav=Ui,O.Logo=Oi,O.MobileBottomNav=Pi,O.MobileSideMenu=Bi,O.MobileTopNav=Yi,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
87
+ .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 Vi(e,t){Q(t,!0),ut(e,Xs);const[r,n]=Wt(),i=()=>ze(gt,"$selectedSubNavItemTitle",r),o=()=>ze(Kr,"$isMenuButtonDisabled",r);let s=y(t,"profileMenuData",7);Zt(()=>{const v=b=>{if(window.innerWidth<=640)return;const M=b;M.detail&&M.detail.title&&(gt.set(M.detail.title),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(M.detail.title)))},m=()=>{if(typeof window>"u")return;const b=document.getElementById("main-content");if(!b)return;const M=b.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");if(M&&M.textContent){const A=M.textContent.trim();i()||(gt.set(A),typeof window<"u"&&sessionStorage.setItem("subNav-selectedTitle",JSON.stringify(A)))}};window.addEventListener("sectionVisible",v);const p=sessionStorage.getItem("subNav-selectedTitle");return(!p||p==='""'||p==="null")&&setTimeout(()=>{m()},100),()=>{window.removeEventListener("sectionVisible",v)}});var a=Gs(),l=S(a);let c;l.__click=[Ws];var d=S(l);en(d,{}),E(l);var f=ce(l,2),u=S(f);Xt(u,{width:75,height:22});var h=ce(u,2),g=S(h,!0);E(h),E(f);var k=ce(f,2);{var C=v=>{const m=re(()=>{var b;return(b=s())==null?void 0:b.userMeta}),p=re(()=>{var b;return(b=s())==null?void 0:b.menuItems});tn(v,{get userMeta(){return w(m)},get menuItems(){return w(p)},ariaLabel:"Open profile menu",menuAlign:"mobile"})};ie(k,v=>{s()&&v(C)})}E(a),Me(v=>{c=xe(l,1,"menu-button svelte-1ndhol0",null,c,v),l.disabled=o(),qt(g,i()||"")},[()=>({disabled:o()})]),L(e,a);var I=ee({get profileMenuData(){return s()},set profileMenuData(v){s(v),_()}});return n(),I}Ft(["click"]),te(Vi,{profileMenuData:{}},[],[],!0);function Pi(e,t){Q(t,!0);let r=y(t,"profileMenuData",7);return Vi(e,{get profileMenuData(){return r()}}),ee({get profileMenuData(){return r()},set profileMenuData(n){r(n),_()}})}customElements.define("graymatter-mobile-top-nav",te(Pi,{profileMenuData:{}},[],[],!0)),U.Button=xi,U.DesktopHeader=Li,U.DesktopSideNav=zi,U.Logo=Ti,U.MobileBottomNav=Ui,U.MobileSideMenu=Hi,U.MobileTopNav=Pi,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});