PageSourceSearch

https://www.dansac.dk/sites/public/design/refactor/scripts/campaignSlider-3328cbf8.js

js dansac.dk collected 2026-09-26 17:48:04 UTC 1,039 bytes, 2 lines download raw bytes

1var p=Object.defineProperty;var r=(e,t,s)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var o=(e,t,s)=>(r(e,typeof t!="symbol"?t+"":t,s),s);import{a as u}from"./vendor-58675f0b.js";import{S as l}from"./swiper-core-6e5642fd.js";import{A as d}from"./autoplay-60ba15be.js";/* empty css               */class w extends u{constructor(s){super(s);o(this,"swiper");this.init()}setupDefaults(){this.dom={slider:this.el.querySelector(".swiper"),playPauseButton:this.el.querySelector(".campaign-slider__play-pause-button")}}addListeners(){var s;(s=this.dom.playPauseButton)==null||s.addEventListener("click",()=>{var a,i;this.swiper.autoplay.running?(this.swiper.autoplay.stop(),(a=this.dom.playPauseButton)==null||a.classList.add("paused")):(this.swiper.autoplay.start(),(i=this.dom.playPauseButton)==null||i.classList.remove("paused"))})}init(){this.swiper=new l(this.dom.slider,{modules:[d],autoplay:!0,loop:!0,speed:1500,simulateTouch:!1})}}export{w as default};
2//# sourceMappingURL=campaignSlider-3328cbf8.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.