PageSourceSearch

https://www.infopluscommerce.com/hubfs/hub_generated/module_assets…/1781646681473/module_Header.min.js

js infopluscommerce.com collected 2026-10-02 05:59:41 UTC 4,171 bytes, 2 lines download raw bytes

1var module_175364300908=function(){function updateSpacerHeight(){const headerInner=document.querySelector(".header-inner"),headerSpacer=document.querySelector(".header-spacer");if(headerInner&&headerSpacer){const height=headerInner.offsetHeight;headerSpacer.style.height=`${height}px`}}document.addEventListener("DOMContentLoaded",function(){const searchToggle=document.querySelector("[data-toggle-search]"),searchContainer=document.querySelector(".search-container"),searchClose=document.querySelector(".search-close"),searchInput=document.querySelector(".hs-search-field__input");searchToggle&&searchToggle.addEventListener("click",function(event){event.preventDefault(),event.stopPropagation(),searchContainer.style.display="block"===searchContainer.style.display?"none":"block","block"===searchContainer.style.display&&setTimeout(()=>{searchInput.focus()},100)}),searchClose&&searchClose.addEventListener("click",function(event){event.preventDefault(),searchContainer.style.display="none"}),document.addEventListener("click",function(event){if(searchContainer){searchContainer.contains(event.target)||searchToggle&&searchToggle.contains(event.target)||"block"!==searchContainer.style.display||(searchContainer.style.display="none")}}),searchContainer&&searchContainer.addEventListener("click",function(event){event.stopPropagation()})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".custom-menu-primary ul > li > a").forEach(item=>{const icon=document.createElement("i");icon.classList.add("fa-solid","fa-chevron-down"),item.appendChild(icon)})}),document.addEventListener("DOMContentLoaded",function(){const menuItems=document.querySelectorAll(".custom-menu-primary ul > li"),dropdownMenus=document.querySelectorAll(".dropdown-menus .dropdown-menu");menuItems.forEach((menuItem,index)=>{menuItem.classList.add("menu-li");const menuClass=`menu-li${index+1}`;menuItem.classList.add(menuClass);const dropdownMenu=dropdownMenus[index];dropdownMenu&&menuItem.appendChild(dropdownMenu)})}),document.addEventListener("DOMContentLoaded",function(){const toggleButton=document.querySelector(".navbar-toggle"),openIcon=toggleButton.querySelector(".fa-bars"),closeIcon=toggleButton.querySelector(".fa-times"),customMenu=document.querySelector(".custom-menu-primary");toggleButton.addEventListener("click",function(){openIcon.classList.contains("show")?(openIcon.classList.remove("show"),closeIcon.classList.add("show")):(closeIcon.classList.remove("show"),openIcon.classList.add("show")),customMenu.classList.contains("active")?customMenu.classList.remove("active"):customMenu.classList.add("active")})}),document.addEventListener("DOMContentLoaded",function(){const menuItems=document.querySelectorAll(".custom-menu-primary ul > li.menu-li");menuItems.forEach(menuItem=>{menuItem.addEventListener("click",function(){menuItems.forEach(item=>{if(item!==menuItem){const dropdownMenu=item.querySelector(".dropdown-menu"),chevronIcon=item.querySelector("a i");dropdownMenu&&dropdownMenu.classList.remove("show"),chevronIcon&&(chevronIcon.classList.remove("fa-chevron-up"),chevronIcon.classList.add("fa-chevron-down")),item.classList.remove("menu-li-active")}});const dropdownMenu=menuItem.querySelector(".dropdown-menu");dropdownMenu&&dropdownMenu.classList.toggle("show");const chevronIcon=menuItem.querySelector("a i");chevronIcon&&(chevronIcon.classList.toggle("fa-chevron-down"),chevronIcon.classList.toggle("fa-chevron-up")),menuItem.classList.toggle("menu-li-active")})})}),document.addEventListener("DOMContentLoaded",function(){const headerInner=document.querySelector(".header-inner");window.addEventListener("scroll",function(){window.scrollY>200?headerInner.classList.add("sticky"):headerInner.classList.remove("sticky")})}),window.addEventListener("load",updateSpacerHeight),window.addEventListener("resize",function(func,wait){let timeout;return function(...args){clearTimeout(timeout),timeout=setTimeout(()=>{clearTimeout(timeout),func(...args)},wait)}}(updateSpacerHeight,200))}();
2//# sourceURL=https://518731.fs1.hubspotusercontent-na1.net/hubfs/518731/hub_generated/module_assets/1/175364300908/1781646681473/module_Header.js

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.