PageSourceSearch

https://luma.org/hubfs/hub_generated/module_assets/1/219849392333/1785238552024/module_Menu_principal.min.js

js luma.org collected 2026-10-02 04:58:36 UTC 2,697 bytes, 2 lines download raw bytes

1var module_219849392333=function(){function moveBookmark(){const logo=document.querySelector(".logo"),bookmark=document.querySelector(".bookmark");if(window.innerWidth<=991)logo&&bookmark&&!logo.contains(bookmark)&&logo.parentNode.insertBefore(bookmark,logo.nextSibling);else{const ctaCart=document.querySelector(".cta-cart");ctaCart&&bookmark&&!ctaCart.contains(bookmark)&&ctaCart.insertBefore(bookmark,ctaCart.firstChild)}}window.addEventListener("scroll",function(){document.querySelectorAll("header").forEach(header=>{window.scrollY>45?header.classList.add("sticky"):header.classList.remove("sticky")})}),document.addEventListener("DOMContentLoaded",function(){var ctaElement=document.querySelector(".botttom-header .cta-cart .cta"),cartElement=document.querySelector(".botttom-header .cta-cart .cart"),targetContainer=document.querySelector(".botttom-header .bottom-inner .hs-menu-wrapper");if(ctaElement&&cartElement&&targetContainer){var wrapperDiv=document.createElement("div");wrapperDiv.classList.add("menu-btn-wraper");var ctaClone=ctaElement.cloneNode(!0),cartClone=cartElement.cloneNode(!0);wrapperDiv.appendChild(ctaClone),wrapperDiv.appendChild(cartClone),targetContainer.appendChild(wrapperDiv)}}),window.addEventListener("DOMContentLoaded",moveBookmark),window.addEventListener("resize",moveBookmark),document.addEventListener("DOMContentLoaded",function(){document.querySelector(".custom-menu-primary").classList.add("js-enabled");let menuWrapper=document.querySelector(".custom-menu-primary .hs-menu-wrapper"),mobileTrigger=document.createElement("div");mobileTrigger.className="mobile-trigger",mobileTrigger.innerHTML='Menu <i class="fa fa-angle-right" aria-hidden="true"></i>',menuWrapper.parentNode.insertBefore(mobileTrigger,menuWrapper),document.querySelector(".mobile-trigger").addEventListener("click",function(event){let menu=document.querySelector(".custom-menu-primary .hs-menu-wrapper");menu.style.display="block"===menu.style.display?"none":"block",document.body.classList.toggle("mobile-open"),event.preventDefault()});const overlay=document.getElementById("BookmarkPopupOverlay"),closeBtn=document.getElementById("BookmarkPopupClose"),closeBtnCta=document.getElementById("BookmarkPopupCloseButton");closeBtn&&closeBtn.addEventListener("click",function(){overlay.classList.remove("active")}),closeBtnCta&&closeBtnCta.addEventListener("click",function(){overlay.classList.remove("active")}),overlay&&overlay.addEventListener("click",function(e){e.target===overlay&&overlay.classList.remove("active")})})}();
2//# sourceURL=https://25747658.fs1.hubspotusercontent-eu1.net/hubfs/25747658/hub_generated/module_assets/1/219849392333/1785238552024/module_Menu_principal.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.