Drupal,Drupal.behaviors.navigation={attach:function(){document.querySelectorAll(".navigation--primary .menu__item.is-expanded").forEach((function(t){var e=document.createElement("button");e.appendChild(document.createTextNode("Toggle")),e.setAttribute("type","button"),e.classList.add("menu__toggle"),e.addEventListener("click",(function(t){return t.target.parentElement.classList.toggle("is-open")})),t.classList.contains("active-trail")&&t.classList.add("is-open"),t.insertBefore(e,t.lastElementChild)}))}};