var gallery_animating=!1;(function(){if('scroll-snap-type' in document.body.style||CSS.supports("scroll-snap-type","x mandatory")){if(document.querySelector('.splide_gallery')){var e=document.getElementsByClassName('splide_gallery');for(var i=0;i1);this.querySelectorAll('li').forEach(function(el,i){if(el.offsetLeftel.parentNode.parentNode.parentNode.scrollLeft-10){el.classList.add("active");el.parentNode.parentNode.parentNode.parentNode.parentNode.querySelector(".splide-caption").innerHTML=el.querySelector(".caption")?el.querySelector(".caption").innerHTML:""}else el.classList.remove("active")})},{passive:!0})}}}else{if(document.querySelector('.splide_gallery')){var e=document.getElementsByClassName('splide_gallery');for(var i=0;i