1import{S as t}from"./splide.esm-CYkjo6qj.js";const e=()=>{const e=document.querySelectorAll(".expertise_splide_carousel");!e.length>0||e.forEach(e=>{const o=e.id,n=document.getElementById(o);let r=new t(`#${o}`,{pagination:!1,arrows:!1,snap:!1});r.mount(),function(t,e,o){const n=e.querySelector(".splide__list"),r=n.querySelectorAll(".splide__slide"),s=n.offsetHeight,i=window.innerHeight-s;let a=0;const l=8,d=92;let c=0,m=0;o.on("move",()=>{setTimeout(()=>{const t=window.getComputedStyle(n).transform.match(/matrix\([\d.\-,\s]+, ([\d.\-]+), [\d.\-]+\)/);t&&(c=parseFloat(t[1]))},360)}),setTimeout(()=>{a=function(t,e){const o=window.getComputedStyle(t),n=window.getComputedStyle(e[0]),r=Math.round(parseFloat(n.marginRight)),s=Math.round(parseFloat(o.width));let i=0;return e.forEach((t,e)=>{0!==e&&(i+=r),i+=t.offsetWidth}),i-=s,i}(n,r)},500),window.addEventListener("scroll",()=>{const t=n.getBoundingClientRect(),e=t.top;if(e>window.innerHeight||t.bottom<0)return;const o=function(t,e){const o=(e-t)/e*100;return Math.max(0,Math.min(100,o))}(e,i),r=(o-(s=l))/(d-s);var s;const u=Math.max(0,Math.min(1,r)),p=(a*u).toFixed(0);if(e<m){if(parseFloat(p)<parseFloat(c))return}else if(parseFloat(p)>parseFloat(c))return;m=e,c=p,n.style.transform=`translateX(-${c}px)`})}(0,n,r)})};export{e as init};
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.