PageSourceSearch

https://www.xantus-drinksafe.de/cdn/shop/t/7/assets/animated-image-collage.js?v=49508120289702086471744287869

js xantus-drinksafe.de collected 2026-10-09 23:17:30 UTC 3,224 bytes, 2 lines download raw bytes

1(function(){const initSlider=section=>{let sliders,horizontalSlider,slidersWrapper;document.currentScript?(sliders=document.currentScript.parentElement.querySelectorAll(".aic__marquee"),horizontalSlider=document.currentScript.parentElement.querySelector(".aic__marquee-horizontal"),slidersWrapper=document.currentScript.parentElement.querySelector(".aic__marquees")):(sliders=section.querySelectorAll(".aic__marquee"),horizontalSlider=section.querySelector(".aic__marquee-horizontal"),slidersWrapper=section.querySelector(".aic__marquees"));const evenSliders=[],oddSliders=[];if(sliders.length>0&&(sliders.forEach((slider,i)=>{i%2===0?oddSliders.push(slider):evenSliders.push(slider)}),oddSliders.forEach(oddSlider=>{if(!oddSlider.querySelector(".js-marquee-wrapper")){let duration=5e4;oddSlider.closest(".aic--right")&&(duration=4e4),oddSlider.classList.add("marquee-down"),$(oddSlider).marquee({delayBeforeStart:0,direction:"down",allowCss3Support:!0,startVisible:!0,duplicated:!0,duration,gap:0})}}),evenSliders.forEach(evenSlider=>{if(!evenSlider.querySelector(".js-marquee-wrapper")){let duration=5e4;evenSlider.closest(".aic--right")&&(duration=4e4),evenSlider.classList.add("marquee-up"),$(evenSlider).marquee({delayBeforeStart:0,direction:"up",allowCss3Support:!0,startVisible:!0,duplicated:!0,duration,gap:0})}})),horizontalSlider&&!horizontalSlider.querySelector(".js-marquee-wrapper")){const width=horizontalSlider.scrollWidth,speed=document.documentElement.clientWidth>575?Math.round(document.documentElement.clientWidth*.03):Math.round(document.documentElement.clientWidth*.08);horizontalSlider.classList.add("marquee");const $horizontalSlider=$(horizontalSlider);$horizontalSlider.marquee({delayBeforeStart:0,direction:"left",allowCss3Support:!0,startVisible:!0,speed,gap:0}),new ResizeObserver(entries=>{const[entry]=entries,speed2=entry.contentRect.width>575?Math.round(entry.contentRect.width*.03):Math.round(entry.contentRect.width*.08);$horizontalSlider.marquee("destroy"),$horizontalSlider.marquee({direction:"left",allowCss3Support:!0,startVisible:!0,speed:speed2,gap:0})}).observe(slidersWrapper)}},checkImagesLazyLoaded=()=>{const lazyImages=document.querySelectorAll(".aic__slide img"),options={root:null,rootMargin:"0px",threshold:.1},imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{entry.isIntersecting&&(entry.target.removeAttribute("loading"),observer.unobserve(entry.target))})},options);lazyImages.forEach(image=>{imagesObserver.observe(image)});const checkVisibility=()=>{lazyImages.forEach(image=>{const rect=image.getBoundingClientRect();rect.top<window.innerHeight&&rect.bottom>0&&image.removeAttribute("loading")}),requestAnimationFrame(checkVisibility)};requestAnimationFrame(checkVisibility)};initSlider(),checkImagesLazyLoaded(),document.addEventListener("DOMContentLoaded",checkImagesLazyLoaded),document.addEventListener("shopify:section:load",function(section){initSlider(section.target),checkImagesLazyLoaded()}),document.addEventListener("shopify:section:reorder",function(section){initSlider(section.target),checkImagesLazyLoaded()})})();
2//# sourceMappingURL=/cdn/shop/t/7/assets/animated-image-collage.js.map?v=49508120289702086471744287869

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.