PageSourceSearch

https://www.harbersgroup.nl/dist/vendor-overlay-menu-Cb-PBtFI.js

js harbersgroup.nl collected 2026-10-09 22:44:45 UTC 1,707 bytes, 1 lines download raw bytes

1import{t as g,a as N}from"./vendor-domUtils-D5gtA9RQ.js";const h="Menu",A="",l=document.querySelector("[data-navheading]");var u;(f=>{function m(p,E,S,y){const o=document.querySelector(p),s=document.querySelector(E),i=document.querySelector(S),L=document.querySelectorAll(y),d=(e,t)=>{var n,a,c,r;g(e,"active",t),(n=e.parentElement)!=null&&n.parentElement&&g((a=e.parentElement)==null?void 0:a.parentElement,"child-active",t),t&&((r=(c=e.parentElement)==null?void 0:c.parentElement)==null||r.scrollTo(0,0)),e.previousElementSibling&&N(e.previousElementSibling,"aria-expanded",t.toString())},v=(e,t)=>{var n;if(l){const a=t!=null?t:h,c=(n=e==null?void 0:e.getAttribute("href"))!=null?n:A,r=c!==""&&c!=="#";l.innerText=a,l.href=c,l.classList.toggle("inactive",!r),l.tabIndex=r?0:-1}};L.forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const n=t.currentTarget;v(n,n.dataset.next),d(n.nextElementSibling,!0),s==null||s.classList.remove("hidden")})}),i==null||i.addEventListener("click",()=>{o==null||o.addEventListener("transitionend",()=>{const e=document.getElementsByClassName("nested-menu active");Array.from(e).forEach(t=>{d(t,!1)}),s==null||s.classList.add("hidden")},{once:!0})}),s==null||s.addEventListener("click",()=>{var c,r;const e=document.getElementsByClassName("nested-menu active"),t=e[e.length-1];d(t,!1);const n=(r=(c=t.parentElement)==null?void 0:c.parentElement)!=null?r:null,a=(n==null?void 0:n.previousElementSibling)!=null?n.previousElementSibling:null;v(a,a==null?void 0:a.dataset.next),e.length===0&&s.classList.add("hidden")})}f.setup=m})(u||(u={}));function x(){u.setup(".c-overlaymenu","#back-btn",'[data-button="closeOverlayMenu"]',"[data-next]")}export{x as default};

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.