1"use strict";(globalThis.webpackChunk_xwp_express||=[]).push([[897],{8968(e,t,s){const c={init(){const e=document.querySelectorAll(".js-carousel");e&&e.forEach(e=>{c.create(e)})},create(e){const t=e.querySelector(".js-carousel__track"),s=e.querySelector('[data-scroll-direction="left"]'),l=e.querySelector('[data-scroll-direction="right"]');e.dataset.isBeginning=!0,e.dataset.isEnd=t.scrollWidth===t.offsetWidth,s.addEventListener("click",()=>c.scroll(e,-1)),l.addEventListener("click",()=>c.scroll(e,1))},scroll(e,t){const s=e.querySelector(".js-carousel__track"),c=t*s.offsetWidth/2;e.dataset.isBeginning=s.scrollLeft+c<40,e.dataset.isEnd=s.scrollLeft+c>s.scrollWidth-s.offsetWidth-40,s.scrollLeft+=c}};s.d(t,["Carousel",0,c])}}]);
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.