PageSourceSearch

https://shop.aids.ch/cdn/shop/t/9/compiled_assets/scripts.js?v=92639720314247067671778592885

js aids.ch collected 2026-09-24 19:47:18 UTC 3,752 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(__sections__["announcement-bar"])try{class AnnouncementBar extends HTMLElement{constructor(){super(),this.elements={button:this.querySelector("button"),bar:this.querySelector(".announcement-bar")},this.elements.button.addEventListener("click",this.setHide.bind(this)),sessionStorage.getItem("announcement-bar")==="hidden"||(this.elements.bar.style.display="block")}setHide(event){this.elements.bar.style.display="none",sessionStorage.setItem("announcement-bar","hidden")}}customElements.define("annoucement-bar",AnnouncementBar)}catch(e){console.error(e)}})(),(function(){if(__sections__["header-bottom"])try{let scrolllock=!1;const dataMainMenuItems=document.querySelectorAll("[data-main-menu-item]"),headerBottom=document.querySelector(".header-bottom"),menuDesktop=document.querySelector(".header-bottom-menu"),menuMobile=document.querySelector(".header-bottom-menu-mobile"),menuMobileButton=document.querySelector(".header-bottom-meta-menu-mobile-button"),flyoutCart=document.querySelector(".header-bottom-flyout-cart"),flyoutCartButton=document.querySelector(".header-bottom-flyout-cart-button"),flyoutCartButtonClose=document.querySelector(".header-bottom-flyout-cart-button-close"),setInputDevice=device=>{dataMainMenuItems.forEach(item=>{item.dataset.inputDevice=device})},setSize=()=>{if(scrolllock)return;scrolllock=!0;const rect=headerBottom.getBoundingClientRect(),offset=rect.top+rect.height;headerBottom.style.cssText=`--offset: ${offset}px`,menuDesktop.style.cssText=`--offset: ${offset}px`,menuMobile.style.cssText=`--offset: ${offset}px`,scrolllock=!1},setToggleMenuMobile=()=>{if(console.log("toggle menu mobile"),menuMobile.open){menuMobile.close(),menuMobileButton.dataset.open=!1;return}menuMobile.show(),menuMobileButton.dataset.open=!0},setCloseFlyoutCart=()=>flyoutCart.close(),setShowFlyoutCart=()=>flyoutCart.show();dataMainMenuItems.forEach(item=>{item.addEventListener("mouseenter",()=>setInputDevice("mouse")),item.addEventListener("focusin",()=>setInputDevice("keyboard"))}),menuMobileButton.addEventListener("click",setToggleMenuMobile),flyoutCartButtonClose.addEventListener("click",setCloseFlyoutCart),flyoutCartButton.addEventListener("click",setShowFlyoutCart),window.addEventListener("scroll",()=>setSize(),{passive:!0}),window.addEventListener("resize",()=>setSize(),{passive:!0}),window.addEventListener("load",()=>setSize(),{passive:!0}),window.location.hash==="#show-cart"&&setShowFlyoutCart()}catch(e){console.error(e)}})(),(function(){if(__sections__.product)try{window.onload=()=>new Splide(".splide",{type:"loop",arrows:!1,classes:{pagination:"splide__pagination slider-pagination",page:"splide__pagination__page slider-pagination-page"}}).mount();const handleIntersection=(entries,observer2)=>{if(!entries[0].isIntersecting)return;observer2.unobserve(productRecommendationsSection);const url=productRecommendationsSection.dataset.url;fetch(url).then(response=>response.text()).then(text=>{const html=document.createElement("div");html.innerHTML=text;const recommendations=html.querySelector(".product-recommendations");recommendations&&recommendations.innerHTML.trim().length&&(productRecommendationsSection.innerHTML=recommendations.innerHTML)}).catch(e=>{console.error(e)})},productRecommendationsSection=document.querySelector(".product-recommendations");new IntersectionObserver(handleIntersection,{rootMargin:"0px 0px 200px 0px"}).observe(productRecommendationsSection)}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/9/compiled_assets/scripts.js.map?v=92639720314247067671778592885

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.