import{S as G,i as K,s as Q,e as F,b as I,$ as J,h as b,D as M,E as H,F as T,k as O,q as S,a as R,a2 as p,l as D,m as y,r as V,c as j,a3 as L,n,H as c,I as q,J as m,u as C,O as z}from"./index.224851d7.js";import{w as U}from"./index.fd964a74.js";function W(l){let e,i,s,u,t,d,g,v,_,f=l[0]&&N(l),r=[{"aria-atomic":"true"},{"aria-labelledby":l[4]},{"aria-live":_=l[1]?"assertive":"off"},l[6]],k={};for(let o=0;o{e=H(H({},e),T(r)),i(6,t=M(e,u)),"small"in r&&i(0,d=r.small),"active"in r&&i(1,g=r.active),"withOverlay"in r&&i(2,v=r.withOverlay),"description"in r&&i(3,_=r.description),"id"in r&&i(4,f=r.id)},l.$$.update=()=>{l.$$.dirty&1&&i(5,s=d?"42":"44")},[d,g,v,_,f,s,t]}class x extends G{constructor(e){super(),K(this,e,Z,Y,Q,{small:0,active:1,withOverlay:2,description:3,id:4})}}const ae=x,{subscribe:$,update:ee}=U({hash:"",onHashChange(l,e){const i=this.hash.replace(/^#!/,"").match(l);i!=null&&e(i.groups||{})}}),re={subscribe:$,set(l){ee(e=>(e.hash=l,e))}};export{ae as L,re as u};