Drupal.behaviors.themekitMobileMainNavigation={attach:function(e){var t=document.body,i=e.classList&&e.classList.contains("region-header")?e:e.querySelector(".region-header");if(i){var a=i.querySelector(".menu--main");if(a){var o=once("search-popup-toggle",i.querySelectorAll(".menu--main__toggle"),e);o.length&&o.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),t.classList.toggle("is-overflow"),a.classList.toggle("is-active")}))}))}}}};