PageSourceSearch

https://www.campaya.com/js/topMenu.min.js?v=PLPGnDXJqNKNoCKWqs-lx0IlqpK-tAms3hIEBc4TF04

js campaya.com collected 2026-10-01 23:47:34 UTC 1,359 bytes, 1 lines download raw bytes

1const clickableElements=document.querySelectorAll("[data-menu-toggle]");let lastScrollTop=0;const SCROLL_THRESHOLD=150;clickableElements.forEach((function(element){element.addEventListener("click",(function(){const isOpen=element.classList.contains("open");clickableElements.forEach((function(el){closeOpenState(el)}));if(!isOpen){element.classList.toggle("open");element.nextElementSibling.classList.toggle("dropdown-open")}}))}));document.addEventListener("click",(event=>{closeOpenState(event)}));const closeOpenState=event=>{if(event.target!==""){const closestTrigger=event.target.closest("[data-menu-toggle]");clickableElements.forEach((function(el){if(el.classList.contains("open")&&el!==closestTrigger){el.classList.remove("open");el.nextElementSibling.classList.remove("dropdown-open")}}))}};const onScroll=()=>{let currentScroll=window.scrollY;const element=document.getElementById("bottomMenu");let open;for(const element of clickableElements){if(element.classList.contains("open")){open=true}}if(currentScroll>lastScrollTop&&currentScroll>SCROLL_THRESHOLD&&!open){element.classList.add("hidden-bottom-bar")}else if(currentScroll<lastScrollTop||currentScroll<=SCROLL_THRESHOLD){element.classList.remove("hidden-bottom-bar")}lastScrollTop=currentScroll};window.addEventListener("scroll",onScroll);document.body.addEventListener("touchmove",onScroll);

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.