import{S as s,i,a as n,b as a,s as e,e as t,c as o,n as r,f as l,g as u,m as c,h as m,o as h,q as d}from"./index-04d7984b.js";function p(s){let i,n,e,h,d,p,f,b,g,v;return{c(){i=t("header"),n=t("a"),n.innerHTML=' \n Libertarian socialists',e=o(),h=t("input"),d=o(),p=t("label"),p.innerHTML='',f=o(),b=t("nav"),b.innerHTML='',this.c=r,l(n,"id","logo-container"),l(n,"href","/"),l(h,"type","checkbox"),l(h,"id","side-menu"),l(p,"id","hamb"),l(p,"for","side-menu"),l(b,"id","nav"),l(i,"id","navbar")},m(t,o){a(t,i,o),u(i,n),u(i,e),u(i,h),s[3](h),u(i,d),u(i,p),u(i,f),u(i,b),s[4](i),g||(v=c(h,"click",s[2]),g=!0)},p:r,i:r,o:r,d(n){n&&m(i),s[3](null),s[4](null),g=!1,v()}}}function f(s,i,n){let a,e;return h((()=>{})),[a,e,function(){a.checked?n(1,e.style.background="white",e):setTimeout((()=>{n(1,e.style.position="relative",e),n(1,e.style.background="",e),n(1,e.style.boxShadow="",e)}),510)},function(s){d[s?"unshift":"push"]((()=>{a=s,n(0,a)}))},function(s){d[s?"unshift":"push"]((()=>{e=s,n(1,e)}))}]}class b extends s{constructor(s){super(),this.shadowRoot.innerHTML="",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},f,p,e,{},null),s&&s.target&&a(s.target,this,s.anchor)}}customElements.define("navbar-component",b);export{b as default};