1import{_ as $,o as n,c as r,a as p,e as t,F as w,y as h,d as B,$ as P,n as c,u as e,t as f,i as l,w as o,f as V,a9 as j,s as E,z as _,L as I,j as z,k as b}from"./yAOBIpJB.js";import{S as A,N as F,A as L,P as T,_ as M,b as O}from"./D5xsdjN2.js";/* empty css */const q={},D={class:"hidden grid-cols-2 gap-6 md:grid xl:hidden"},G={class:"hidden grid-cols-3 gap-6 xl:grid"};function H(u,d){return n(),r("div",null,[d[2]||(d[2]=p('<div class="grid grid-cols-1 gap-6 md:hidden" data-v-f499d980><div class="skeleton-shimmer dark-card-shadow h-[475px] w-full overflow-hidden rounded-md bg-white-50/90" data-v-f499d980><div class="h-[311px] w-full bg-white-200" data-v-f499d980></div><div class="space-y-4 p-5" data-v-f499d980><div class="mb-4 h-4 w-1/2 bg-white-200" data-v-f499d980></div><div class="h-4 w-3/4 bg-white-200" data-v-f499d980></div><div class="h-4 w-full bg-white-200" data-v-f499d980></div></div></div></div>',1)),t("div",D,[(n(),r(w,null,h(2,i=>t("div",{key:`skeleton-slider-${i}`,class:"skeleton-shimmer dark-card-shadow h-[475px] w-full overflow-hidden rounded-md bg-white-50/90"},[...d[0]||(d[0]=[p('<div class="h-[311px] w-full bg-white-200" data-v-f499d980></div><div class="space-y-4 p-5" data-v-f499d980><div class="mb-4 h-4 w-1/2 bg-white-200" data-v-f499d980></div><div class="h-4 w-3/4 bg-white-200" data-v-f499d980></div><div class="h-4 w-full bg-white-200" data-v-f499d980></div></div>',2)])])),64))]),t("div",G,[(n(),r(w,null,h(3,i=>t("div",{key:i,class:"skeleton-shimmer dark-card-shadow h-[475px] w-full overflow-hidden rounded-md bg-white-50/90"},[...d[1]||(d[1]=[p('<div class="h-[311px] w-full bg-white-200" data-v-f499d980></div><div class="space-y-4 p-5" data-v-f499d980><div class="mb-4 h-4 w-1/2 bg-white-200" data-v-f499d980></div><div class="h-4 w-3/4 bg-white-200" data-v-f499d980></div><div class="h-4 w-full bg-white-200" data-v-f499d980></div></div>',2)])])),64))])])}const J=$(q,[["render",H],["__scopeId","data-v-f499d980"]]),K={class:"overflow-hidden xl:overflow-visible"},Q={class:"flex items-end justify-end gap-4"},R=["src","alt"],Y=B({__name:"Slider",props:{items:{},prevNavClass:{default:"btn-prev-choose"},nextNavClass:{default:"btn-next-choose"},cardType:{default:"padding-box"},paddingBottom:{default:"pb-16"},swiperClasses:{},contentClasses:{}},setup(u){const d=[F,L,T],i=E(0),s=u,x=_(()=>b("slider-button-wrapper flex flex-col justify-between gap-4 sm:flex-row",{variants:{}})()),m=_(()=>b("flex h-10 w-10 flex-col items-center justify-center rounded-full border border-white-300 bg-white-50 hover:bg-white-100",{variants:{}})());return(y,v)=>{const g=z,C=J,k=M,N=I;return n(),r("div",K,[t("div",{class:c(e(f)(e(x),s.paddingBottom))},[P(y.$slots,"text"),t("div",Q,[t("button",{class:c(e(f)(e(m),s.prevNavClass))},[l(g,{name:"material-symbols:chevron-left-rounded",class:"h-7 w-7"})],2),t("button",{class:c(e(f)(e(m),s.nextNavClass))},[l(g,{name:"material-symbols:chevron-right-rounded",class:"h-7 w-7"})],2)])],2),l(N,null,{fallback:o(()=>[l(C)]),default:o(()=>[l(e(A),{class:"!overflow-visible",modules:d,navigation:{prevEl:`.${s.prevNavClass}`,nextEl:`.${s.nextNavClass}`},scrollbar:{draggable:!0},initialSlide:e(i),spaceBetween:24,breakpoints:{320:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},watchSlidesProgress:!0,onNavigationNext:v[0]||(v[0]=a=>i.value++),onNavigationPrev:v[1]||(v[1]=a=>i.value--)},{default:o(()=>[(n(!0),r(w,null,h(s.items,(a,S)=>(n(),V(e(O),{key:`slider-${S}`,class:c(e(f)("pb-10",s.swiperClasses))},{default:o(()=>[l(k,{title:a.title,description:a.description,type:s.cardType,href:a.href,contentClasses:`${s.contentClasses} pb-8`},j({_:2},[a.imagePath?{name:"image",fn:o(()=>[t("img",{src:a.imagePath,alt:a.alt||`${a.title} Image`,class:"w-full overflow-hidden object-cover"},null,8,R)]),key:"0"}:void 0]),1032,["title","description","type","href","contentClasses"])]),_:2},1032,["class"]))),128))]),_:1},8,["navigation","initialSlide"])]),_:1})])}}});export{Y as _,J as a};
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.