PageSourceSearch

https://www.sogeti.ie/wp-content/themes/sogeti2024/public/dist/header-scroll-anim.build.js

js sogeti.ie collected 2026-10-04 13:31:51 UTC 1,663 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksogeti=self.webpackChunksogeti||[]).push([[380],{302(e,s,t){function i(){const e=document.querySelector("header");if(!e)return;const s=e.querySelector("header .header-wrapper"),i=e.querySelector(".header-mobile"),r=document.querySelector("header .sub-navigation-wrapper"),o=r?r.querySelector(".sub-navigation"):null,n=()=>{if(!o||!r)return;if(!window.matchMedia("(min-width: 1200px)").matches)return void o.classList.remove("fixed");const e=r.getBoundingClientRect().top+window.scrollY-(()=>{const e=document.querySelector("#wpadminbar");return e?e.offsetHeight:0})();window.scrollY>e?o.classList.add("fixed"):o.classList.remove("fixed")};Promise.resolve().then(t.t.bind(t,352,23)).then(r=>{const o=r.default||r.gsap||r;Promise.resolve().then(t.t.bind(t,774,23)).then(t=>{const r=t.ScrollTrigger||t.default||t;o.registerPlugin(r),e&&s&&s.classList.contains("is-transparent")&&o.to("header",{scrollTrigger:{trigger:"header",start:"top top",scrub:1,onLeave:e=>{s.classList.contains("is-scrolling")||s.classList.add("is-scrolling")},onLeaveBack:e=>{s.classList.contains("is-scrolling")&&s.classList.remove("is-scrolling")}},background:"#fff"}),i&&o.to(".header-mobile",{scrollTrigger:{trigger:".header-mobile",start:"top top",scrub:1,onLeave:e=>{i.classList.contains("is-scrolling")||i.classList.add("is-scrolling")},onLeaveBack:e=>{i.classList.contains("is-scrolling")&&i.classList.remove("is-scrolling")}},background:"#fff"}),n(),window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n),window.addEventListener("load",n)})})}t.d(s,{default:()=>i})}}]);
2//# sourceMappingURL=header-scroll-anim.build.js.map

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.