import{_ as t,r as e,t as o,i as n,n as a,e as c}from"./chunk-vendor.mc6jfcsc.js";import{c as s}from"./chunk-decorators.fgdrg4ok.js";let i=class extends n{createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.sectionToggles.forEach(t=>{t.addEventListener("click",this.onClickSectionToggle.bind(this))})}onClickSectionToggle(t){const e=t.target,o=e.closest("[data-navi-footer-section]");o&&(o.toggleAttribute("data-open"),e.setAttribute("aria-expanded",o.hasAttribute("data-open")?"true":"false"))}};t([e("[data-toggle] [data-navi-footer-section-toggle]")],i.prototype,"sectionToggles",void 0),i=t([o("navi-footer")],i);let r=class extends n{constructor(){super()}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.button?.addEventListener("click",this.onClick.bind(this))}onClick(){const t=this.context??"header";document.dispatchEvent(new CustomEvent("navi:drawer:laenderswitch:open",{detail:{context:t}}))}};t([a({attribute:"data-context"})],r.prototype,"context",void 0),t([c("button")],r.prototype,"button",void 0),r=t([s("navi-laenderswitch-button")],r);