import{D as i,E as n,av as o,J as r,x as t,h as a,T as p,k as g,l,m as c,Z as m}from"./C_P7tFaH.js";const d=n({name:"LappsetSlider",components:{Splide:o},props:["title","paginationSettings"],computed:{getSliderOptions(){return{rewind:!0,keyboard:!1,pagination:!1,hasSliderWrapper:!1,perPage:this.paginationSettings?this.paginationSettings.largeScreenItemsPerPage:3,gap:5,perMove:this.paginationSettings?this.paginationSettings.perMove:1,classes:{arrows:`splide__arrows ${this.paginationSettings.arrowsBottom?"custom-arrows-class":""}`,pagination:`splide__pagination ${this.paginationSettings.arrowsBottom?"custom-pagination-class":""}`},breakpoints:{1279:{gap:5},1024:{perPage:this.paginationSettings?this.paginationSettings.mediumScreenItemsPerPage:3},767:{perPage:this.paginationSettings?this.paginationSettings.smallScreenItemsPerPage:2},480:{perPage:this.paginationSettings?this.paginationSettings.extraSmallScreenItemsPage:1}}}}}},"$cPgmJ2yiHm"),S={class:"max-w-screen-xl mx-auto"},h={key:0,class:"heading"};function u(e,_,f,P,w,$){const s=r("Splide");return t(),a("div",S,[e.title?(t(),a("h3",h,p(e.title),1)):g("",!0),l(s,{options:e.getSliderOptions},{default:c(()=>[m(e.$slots,"default")]),_:3},8,["options"])])}const x=i(d,[["render",u]]);export{x as default};