PageSourceSearch

https://parkvillage.co.uk/assets/dist/mainSite.gallery.59eaf035a9fec380373f.js

js parkvillage.co.uk collected 2026-10-04 13:11:46 UTC 2,908 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkJoshAttwoodTemplate=self.webpackChunkJoshAttwoodTemplate||[]).push([[3543],{9425:(e,t,l)=>{l.r(t),l.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var a=l(1236),n=l(4889);const __WEBPACK_DEFAULT_EXPORT__=()=>{let e,t=document.getElementsByClassName("gallery");for(e=0;e<t.length;e++){console.log("galleryGO");let l=t[e].getAttribute("data-galleryType");if("hoverFade"==l){let i=t[e].getAttribute("data-id"),o="#gallery-"+i,s=".swiper-button-next-"+i,d=".swiper-button-prev-"+i,r=".swiper-pagination-"+i,p=500,g=new a.A(o,{modules:[n.Vx,n.dK,n.Ij,n._R],loop:!0,init:!1,effect:"fade",crossFade:!0,autoplay:{delay:p},preloadImages:!1,speed:300,parallax:!0,slidesPerView:1,watchSlidesVisibility:!0,centeredSlides:!0,spaceBetween:0,pagination:{el:r},navigation:{nextEl:s,prevEl:d}});t[e].addEventListener("mouseover",(function(e){g.autoplay.start()})),t[e].addEventListener("mouseout",(function(e){g.autoplay.stop()})),g.on("afterInit",(function(){console.log("Gallery gone"),g.autoplay.stop()})),g.init()}else if("rollingSlider"==l){let c,u=t[e].getAttribute("data-id"),w="#gallery-"+u,h=".swiper-button-next-"+u,y=".swiper-button-prev-"+u,m=".swiper-pagination-"+u,f=new a.A(w,{modules:[n.Vx,n.dK,n.Ij,n._R,n.zE,n.s3],loop:!0,init:!1,preloadImages:!1,speed:300,keyboard:!0,parallax:!0,hashNavigation:{watchState:!0},slidesPerView:1,watchSlidesVisibility:!0,centeredSlides:!0,spaceBetween:0,pagination:{el:m},navigation:{nextEl:h,prevEl:y}});f.on("afterInit",(function(){console.log("Gallery gone")})),f.init();let b=document.getElementsByClassName("openGallery");if(b.length>0)for(c=0;c<b.length;c++)b[c].addEventListener("click",(function(e){document.getElementsByClassName("rollingGallery")[0].classList.remove("hidden");let t=e.target.closest(".openGallery").getAttribute("data-hash"),l=document.getElementById("rollingSlide--"+t);window.location.hash=t;let a=l.getAttribute("data-swiper-slide-index");console.log(a)}));if(""!=window.location.hash&&null!=window.location.hash&&"-"!=window.location.hash){document.getElementsByClassName("rollingGallery")[0].classList.remove("hidden")}}else if("inlineSlider"==l){let v=t[e].getAttribute("data-id"),E="#gallery-"+v,C=".swiper-button-next-"+v,x=".swiper-button-prev-"+v,A=".swiper-pagination-"+v,I=new a.A(E,{modules:[n.Vx,n.dK,n.Ij,n._R,n.zE],loop:!0,init:!1,preloadImages:!1,speed:300,parallax:!0,slidesPerView:1,watchSlidesVisibility:!0,centeredSlides:!0,spaceBetween:0,pagination:{el:A},navigation:{nextEl:C,prevEl:x}});function slideHasChangedCap(){let e="galleryCaption-"+v,t=document.getElementsByClassName(e);if(t.length>0){let e=I.activeIndex,l=I.slides[e].getAttribute("data-caption");t[0].innerHTML=l}}I.on("afterInit",(function(){console.log("Gallery gone"),slideHasChangedCap()})),I.init(),I.on("slideChange",(function(){slideHasChangedCap()}))}}}}}]);
2//# sourceMappingURL=mainSite.gallery.59eaf035a9fec380373f.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.