PageSourceSearch

https://www.lightspeedhq.be/wp-content/themes/ls/dist/js/image_slider.chunk.dc3dff534c437166e3f8.js

js lightspeedhq.be collected 2026-09-26 02:01:36 UTC 4,014 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunklightspeed_marketing=globalThis.webpackChunklightspeed_marketing||[]).push([[1442,2539,2667,4547,7648],{36949(e,t,i){i.r(t),i.d(t,{default:()=>s});var n=i(73889),o=i(74735);n.A.use([o.Vx,o.Jq,o.FJ,o.s3]);const s=e=>{const t=e.querySelector("[data-affiliate-nine-slider=next-button]"),i=e.querySelector("[data-affiliate-nine-slider=prev-button]"),o=e.querySelectorAll("[data-affiliate-nine-slide-counter]"),s=window.matchMedia("(prefers-reduced-motion: reduce)").matches,r=e=>{const t=e.slides[e.activeIndex],i=t.dataset.slideIndex,n=t.dataset.totalSlides;o.forEach(e=>{e.textContent="".concat(i,"/").concat(n)})};new n.A(e,{direction:"horizontal",loop:!1,slidesPerView:1,centeredSlides:!0,spaceBetween:20,allowTouchMove:!0,grabCursor:!0,longSwipes:!1,effect:s?"fade":"slide",speed:s?0:300,fadeEffect:{crossFade:!0},edgeSwipeDetection:"prevent",navigation:{nextEl:t,prevEl:i},mousewheel:{forceToAxis:!0,invert:!0},keyboard:{onlyInViewport:!0},on:{init:function(t){r(t),e.classList.remove("tw:invisible")},slideChange:function(e){r(e)}}})}},10241(e,t,i){i.r(t),i.d(t,{default:()=>r});var n=i(73889),o=i(74735),s=i(81785);n.A.use([o.Vx,o.Jq,o.FJ,o.s3]);const r=e=>{var t;const i=window.matchMedia("(prefers-reduced-motion: reduce)").matches,o=null===(t=e.querySelector("h2"))||void 0===t?void 0:t.textContent,r=e=>{s.d.sendEvent({event_action:"swipe_slider_".concat(e,"_navigation"),placement:"body",slider_title:null!=o?o:""})};new n.A(e,{direction:"horizontal",loop:!1,slidesPerView:1.15,centeredSlides:!1,spaceBetween:16,allowTouchMove:!0,grabCursor:!0,longSwipes:!1,effect:i?"fade":"slide",speed:i?0:300,fadeEffect:{crossFade:!0},edgeSwipeDetection:"prevent",mousewheel:{forceToAxis:!0,invert:!0},keyboard:{onlyInViewport:!0},breakpoints:{640:{slidesPerView:1.5,spaceBetween:24}},on:{slideNextTransitionStart:function(){r("next")},slidePrevTransitionStart:function(){r("previous")},init:function(){s.d.sendEvent({event_action:"slider_loaded",placement:"body",slider_title:null!=o?o:""})}}})}},90803(e,t,i){i.r(t),i.d(t,{default:()=>r});var n=i(73889),o=i(74735),s=i(81785);n.A.use([o.Vx,o.Jq,o.FJ,o.s3]);const r=e=>{var t;if(!e)return;const i=e.dataset.flexibleCardCarouselDesktopCount||"",o=i&&1===parseFloat(i)?1.2:parseFloat(i),r=null===(t=e.querySelector("h2"))||void 0===t?void 0:t.textContent,l=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=e.querySelector("[data-flexible-card-carousel=next-button]"),d=e.querySelector("[data-flexible-card-carousel=prev-button]"),c=e=>{s.d.sendEvent({event_action:"click_slider_".concat(e,"_navigation"),placement:"body",slider_title:r})};let u=[];const v=e=>{if(0===u.length)return"N/A";const t=e.every((e,t)=>e>u[t]),i=e.every((e,t)=>e<u[t]);return t?"next":i?"previous":"N/A"},p=e=>{if(!e.slides||0===e.slides.length)return;const t=Math.floor(e.params.slidesPerView||0),{visibleSlides:i,visibleSlidesIndexes:n}=e;s.d.sendEvent({event_action:"slides_visible",placement:"body",slider_title:r,swiper_direction:v(n||[]),number_of_visible_slides:t,visible_slide_titles:i.map(e=>{var t;return(null===(t=e.querySelector("h3"))||void 0===t?void 0:t.textContent)||"N/A"}),visible_slide_positions:i.map(e=>e.ariaLabel||"N/A")}),u=n||[]};new n.A(e,{direction:"horizontal",loop:!1,slidesPerView:1.15,centeredSlides:!1,spaceBetween:16,allowTouchMove:!0,grabCursor:!0,longSwipes:!1,watchSlidesProgress:!0,effect:l?"fade":"slide",speed:l?0:300,fadeEffect:{crossFade:!0},edgeSwipeDetection:"prevent",navigation:{nextEl:a,prevEl:d},mousewheel:{forceToAxis:!0,invert:!0},keyboard:{onlyInViewport:!0},breakpoints:{640:{slidesPerView:2.1,spaceBetween:20},960:{slidesPerView:o||3,spaceBetween:24}},on:{navigationNext:function(){c("next")},navigationPrev:function(){c("previous")},init:function(e){s.d.sendEvent({event_action:"slider_loaded",placement:"body",slider_title:r}),p(e)},slideChange:function(e){p(e)}}})}},73889(e,t,i){i.d(t,{A:()=>n.S});var n=i(21463)}}]);
2//# sourceMappingURL=image_slider.chunk.dc3dff534c437166e3f8.js.map

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.