document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelectorAll(".awt-header-block");e.length&&(e.forEach(e=>{const t=e.querySelector(".mobile-toggle-btn"),n=e.querySelector(".mobile-menu");t&&n&&t.addEventListener("click",e=>{e.preventDefault(),n.classList.toggle("hidden");const o=!n.classList.contains("hidden");t.setAttribute("aria-expanded",o)})}),document.addEventListener("click",t=>{e.forEach(e=>{const n=e.querySelector(".mobile-toggle-btn"),o=e.querySelector(".mobile-menu");o&&n&&(e.contains(t.target)||o.classList.contains("hidden")||(o.classList.add("hidden"),n.setAttribute("aria-expanded","false")))})}))});