PageSourceSearch

https://www.liverpoolphil.com/dist/assets/gallery-carousel-BvCTd27i.js

js liverpoolphil.com collected 2026-09-24 18:09:58 UTC 2,050 bytes, 2 lines download raw bytes

1import{S as g,C as m}from"./carousel.es-tTuTHa0Q.js";import{b as c,c as i,o as s,i as d,a as n,M as o,F as f,j as h,e as v,d as x,T as S,r as u,l as _}from"./app-B4T4g0-b.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={name:"v-gallery-carousel",components:{Carousel:m,Slide:g},data(){return{currentIndex:0}},props:{slideData:{type:String},paginationData:{type:String},captionData:{type:String}},computed:{slidesArray:function(){return this.slideData?JSON.parse(this.slideData):null},paginationArray:function(){return this.paginationData?JSON.parse(this.paginationData):null},captionArray:function(){return this.captionData?JSON.parse(this.captionData):null}},methods:{prev(r){this.$refs.carousel.prev(r)},next(r){this.$refs.carousel.next(r)},handleSlideEnd(r){this.currentIndex=r.currentSlideIndex}}},C={class:"c-gallery c-gallery--carousel"},N=["innerHTML"],k={class:"c-gallery__footer"},A=["innerHTML"],L={class:"c-gallery__nav"},M=["innerHTML"];function H(r,t,I,b,l,e){const p=c("slide"),y=c("carousel");return s(),i("div",C,[d(y,{onSlideEnd:e.handleSlideEnd,ref:"carousel",class:"c-gallery__carousel"},{default:o(()=>[(s(!0),i(f,null,h(e.slidesArray,a=>(s(),v(p,{key:a},{default:o(()=>[n("div",{class:"carousel__item",innerHTML:a},null,8,N)]),_:2},1024))),128))]),_:1},8,["onSlideEnd"]),n("div",k,[d(S,null,{default:o(()=>[e.captionArray[l.currentIndex]?(s(),i("div",{key:0,class:"c-gallery__caption",innerHTML:e.captionArray[l.currentIndex],"aria-hidden":"true"},null,8,A)):x("",!0)]),_:1}),n("nav",L,[n("button",{onClick:t[0]||(t[0]=(...a)=>e.prev&&e.prev(...a)),"aria-label":"Previous",class:"c-gallery__prev"},[u(r.$slots,"prev",{},()=>[_("←")])]),n("div",{class:"c-gallery__count",innerHTML:e.paginationArray[l.currentIndex],"aria-hidden":"true"},null,8,M),n("button",{onClick:t[1]||(t[1]=(...a)=>e.next&&e.next(...a)),"aria-label":"Next",class:"c-gallery__next"},[u(r.$slots,"next",{},()=>[_("→")])])])])])}const J=D(T,[["render",H]]);export{J as default};
2//# sourceMappingURL=gallery-carousel-BvCTd27i.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.