1import{_ as z}from"./DgAK1XwS.js";import{u as N}from"./DEocnPsA.js";import{S as V,a as B}from"./DuNVY9II.js";import{N as P}from"./DKVxH17m.js";import{P as D}from"./DgigsDtj.js";/* empty css */import{d as E,m as T,z as F,B as L,n as M,o as a,f as i,h as u,j as c,v as f,t as w,p as n,G as h,i as d,g as W,F as g,r as b,k as r,e as o,s as j,_ as G}from"./Bk_0yVAb.js";const I={class:"content"},q={class:"content__image"},A=["srcset"],H=["srcset"],J=["src","alt"],K={key:2,class:n("content__buttons font-white ")},O={key:1,class:"swiper-navigations-cards"},Q=E({__name:"CardsSection",props:{id:{},data:{}},setup(y){const k=y,m=[P,D],{width:v}=N(),l=T(!1);F(()=>{typeof window<"u"&&(l.value=!(window.innerWidth>890))}),L(v,()=>{v.value>890?l.value=!1:l.value=!0});const p=k.id;return(e,_)=>{const C=z,x=M("dompurify-html");return a(),i("div",{class:n(["cards-section full-section",e.data.backgroundColor||"primary"])},[e.data.title?(a(),u(h(e.data.titleTag||"p"),{key:0,class:n(["cards-section__title title1 font-regular",{"font-primary":e.data.backgroundColor==="white","font-white":e.data.backgroundColor==="primary"}])},{default:c(()=>[f(w(e.data.title),1)]),_:1},8,["class"])):d("",!0),W(o(B),{class:"swiper--navigation-cards",modules:m,navigation:{enabled:!0,prevEl:`.swiper-${o(p)}-button-prev`,nextEl:`.swiper-${o(p)}-button-next`},breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2.1},1440:{slidesPerView:3.2}},"space-between":o(l)?10:20},{default:c(()=>[(a(!0),i(g,null,b(e.data.items,(s,S)=>(a(),u(o(V),{key:S},{default:c(()=>[r("div",I,[r("div",q,[r("picture",null,[r("source",{type:"image/webp",media:"(min-width: 769px)",srcset:`${s.images.desktop.src}`,sizes:"(min-width: 1201px) 33vw, (min-width: 769px) 50vw"},null,8,A),r("source",{type:"image/webp",media:"(max-width: 768px)",srcset:`${s.images.mobile.src}`,sizes:"100vw, (min-width: 576px) 50vw,"},null,8,H),r("img",{fetchpriority:"high",width:"656",height:"495",loading:"lazy",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",src:s.images.desktop.src,alt:s.images.desktop.alt},null,8,J)])]),s.title?(a(),u(h(s.titleTag||"p"),{key:0,class:n(["content__title font-regular",{subtitle2:o(l),title3:!o(l),"font-primary":e.data.backgroundColor==="white","font-white":e.data.backgroundColor==="primary"}])},{default:c(()=>[f(w(s.title),1)]),_:2},1032,["class"])):d("",!0),s.description?j((a(),i("div",{key:1,class:n(["content__description text-regular",{"font-dark":e.data.backgroundColor==="white","font-white":e.data.backgroundColor==="primary",body3:o(l)}])},null,2)),[[x,s.description]]):d("",!0),s.ctas?(a(),i("div",K,[(a(!0),i(g,null,b(s.ctas,(t,$)=>(a(),i(g,{key:$},[t!=null&&t.cta.link?(a(),u(C,{key:0,class:n(`btn btn--${(t==null?void 0:t.cta.type)||"primary"}`),to:t==null?void 0:t.cta.link,target:t==null?void 0:t.cta.target},{default:c(()=>[f(w(t.cta.text),1)]),_:2},1032,["class","to","target"])):t!=null&&t.cta.text?(a(),i("button",{key:1,class:n(`btn btn--${(t==null?void 0:t.cta.type)||"primary"}`),type:"button"},w(t==null?void 0:t.cta.text),3)):d("",!0)],64))),128))])):d("",!0)])]),_:2},1024))),128))]),_:1},8,["navigation","space-between"]),e.data.items.length>1?(a(),i("div",O,[r("div",{class:n(`swiper-${o(p)}-button-prev swiper-button-prev swiper-button`)},null,2),r("div",{class:n(`swiper-${o(p)}-button-next swiper-button-next swiper-button`)},null,2)])):d("",!0),_[0]||(_[0]=r("div",{class:"spacer"},null,-1))],2)}}}),at=G(Q,[["__scopeId","data-v-025b7949"]]);export{at as default};
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.