import{s as C,c as I,u as L,g as S,b as A,o as H,d as N}from"./scheduler.56725da7.js";import{S as q,i as B,e as _,c as D,s as M,a as g,f as v,g as P,d as p,b as V,k as u,m as j,l as b,n as z,u as F,t as y,o as E,p as G}from"./index.18a26576.js";import{g as J}from"./globals.7f7f1b26.js";import{I as K}from"./MermaidChart.svelte_svelte_type_style_lang.bfeb55ce.js";const{window:O}=J;function Q(o){let s,t,f,r,h,c,i,d,n;r=new K({props:{classNames:"text-smd"}});const m=o[4].default,a=I(m,o,o[3],null);return{c(){s=_("div"),t=_("a"),f=_("span"),D(r.$$.fragment),c=M(),a&&a.c(),this.h()},l(e){s=g(e,"DIV",{class:!0});var l=v(s);t=g(l,"A",{id:!0,class:!0,href:!0});var w=v(t);f=g(w,"SPAN",{});var k=v(f);P(r.$$.fragment,k),k.forEach(p),w.forEach(p),c=V(l),a&&a.l(l),l.forEach(p),this.h()},h(){u(t,"id",o[0]),u(t,"class","header-link block pr-0.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(t,"href",h=`#${o[0]}`),u(s,"class","relative group rounded-md")},m(e,l){j(e,s,l),b(s,t),b(t,f),z(r,f,null),b(s,c),a&&a.m(s,null),o[5](s),i=!0,d||(n=F(O,"hashchange",o[2]),d=!0)},p(e,[l]){(!i||l&1)&&u(t,"id",e[0]),(!i||l&1&&h!==(h=`#${e[0]}`))&&u(t,"href",h),a&&a.p&&(!i||l&8)&&L(a,m,e,e[3],i?A(m,e[3],l,null):S(e[3]),null)},i(e){i||(y(r.$$.fragment,e),y(a,e),i=!0)},o(e){E(r.$$.fragment,e),E(a,e),i=!1},d(e){e&&p(s),G(r),a&&a.d(e),o[5](null),d=!1,n()}}}const $="bg-yellow-50 dark:bg-[#494a3d]";function R(o,s,t){let{$$slots:f={},$$scope:r}=s,{anchor:h}=s,c;function i(){const{hash:n}=window.location,m=n.substring(1);c&&c.classList.remove(...$.split(" ")),m===h&&c.classList.add(...$.split(" "))}H(()=>{i()});function d(n){N[n?"unshift":"push"](()=>{c=n,t(1,c)})}return o.$$set=n=>{"anchor"in n&&t(0,h=n.anchor),"$$scope"in n&&t(3,r=n.$$scope)},[h,c,i,r,f,d]}class Y extends q{constructor(s){super(),B(this,s,R,Q,C,{anchor:0})}}export{Y as E};
