1const s=document.querySelector("#main_menu.have-mega-menu");var r;if(s){const o=s.classList.contains("mega-menu-click-to-open"),i=Array.from(s.querySelectorAll(".mega-menu > li")),l=e=>{const t=s.querySelector(".mega-menu");e.classList.contains("active")?s.classList.add("open"):(t&&(t.style.height="auto"),s.classList.remove("open"))},m=e=>{var n;e.preventDefault();const t=e.currentTarget;Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).filter(a=>a!==t).forEach(a=>a.classList.remove("active")),t.classList.toggle("active"),l(t)},u=500;let c=null;const v=e=>{var n;c&&(clearTimeout(c),c=null);const t=e.currentTarget;Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).filter(a=>a!==t).forEach(a=>a.classList.remove("active")),t.classList.add("active"),l(t)},d=e=>{const t=e.currentTarget;c=setTimeout(()=>{t.classList.remove("active"),l(t),c=null},u)};i.forEach(e=>{o?e.addEventListener("click",m):(e.addEventListener("mouseenter",v),e.addEventListener("mouseleave",d))}),(r=s.querySelector(".mega-menu-close"))==null||r.addEventListener("click",()=>{const e=s.querySelector(".mega-menu");e==null||e.querySelectorAll("li.active").forEach(t=>t.classList.remove("active")),e&&(e.style.height="auto"),s.classList.remove("open")})}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.