https://www.rookvrijegeneratie.nl/wp-content/themes/rookvrijegeneratie/dist/assets/index-DTynswGv.js
1var l=Object.defineProperty;var n=(s,e,i)=>e in s?l(s,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[e]=i;var t=(s,e,i)=>n(s,typeof e!="symbol"?e+"":e,i);import{a as r}from"./main-BThlQzEG.js";import{S as o,N as a}from"./navigation-TokMGBuU.js";import"./_commonjsHelpers-D6Ya60D-.js";class m{constructor(e){t(this,"init",()=>{this.resize()});t(this,"createSwiper",()=>{this.nextEl=this.element.closest(".ll-section").querySelector(".js-button-next"),this.prevEl=this.element.closest(".ll-section").querySelector(".js-button-prev"),this.swiper=new o(this.element,{modules:[a],slidesPerView:"auto",slidesOffsetAfter:this.margin,slidesOffsetBefore:this.margin,spaceBetween:this.gap,watchOverflow:!0,touchEventsTarget:"container",navigation:{nextEl:this.nextEl,prevEl:this.prevEl}}),this.swiper.isLocked?this.lockSlides():this.unlockSlides(),this.element.classList.add("ll-swiper-active"),this.bindSwiperEvents()});t(this,"bindSwiperEvents",()=>{this.swiper.on("resize",()=>{this.swiper.params.slidesOffsetAfter=this.margin,this.swiper.params.slidesOffsetBefore=this.margin,this.swiper.params.spaceBetween=this.gap,this.swiper.update()}),this.swiper.on("lock",this.lockSlides),this.swiper.on("unlock",this.unlockSlides)});t(this,"lockSlides",()=>{this.element.classList.add("ll-locked")});t(this,"unlockSlides",()=>{this.element.classList.remove("ll-locked")});t(this,"resize",()=>{const e=parseInt(getComputedStyle(document.documentElement).getPropertyValue("font-size"));this.margin=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--ll-grid-margin"))*e,this.gap=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--ll-grid-gap"))*e,this.checkSwiper()});t(this,"checkSwiper",()=>{window.innerWidth>=this.screenMd&&this.isMobile?(this.isMobile=!1,this.destroy()):window.innerWidth<this.screenMd&&!this.isMobile&&(this.isMobile=!0,this.createSwiper())});t(this,"destroy",()=>{var e;(e=this.swiper)==null||e.destroy(!0,!0),this.swiper=null,this.element.classList.remove("ll-swiper-active")});this.element=e,this.screenMd=r.theme.screens.md?parseInt(r.theme.screens.md):800,this.init()}}export{m as default};
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.