1const s=document.querySelector(".header"),a=document.querySelector(".hero, .location-map");let o=window.scrollY,l=window.innerHeight*.9;function t(e){s&&(s.classList.remove("header--default","header--transparent"),s.classList.add(`header--${e}`))}function r(){l=window.innerHeight*1.5}function d(e){const n=a?a.offsetHeight+20:window.innerWidth*.5625;window.scrollY<n?t(e?"transparent":"default"):t("default")}function f(){const e=window.scrollY,n=e>o,c=!document.body.classList.contains("off-canvas-open"),i=s.classList.contains("header--visible")===!1;e>l?n&&!i&&c?s.classList.remove("header--visible"):!n&&i&&s.classList.add("header--visible"):i&&s.classList.add("header--visible"),o=e}if(s){let e=!1;a&&(e=!0),d(e),window.addEventListener("scroll",()=>{d(e)}),setTimeout(()=>{s.classList.add("header--visible","header--initialised")},100),r(),window.addEventListener("scroll",f),window.addEventListener("resize",r)}
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.