1import{B as e,G as t,Jt as n,Tt as r,Yt as i,ct as a,d as o,f as s,l as c,p as l,r as u,st as d,u as f,v as p,vt as m,x as h,y as g}from"./BVN7IQ2v.js";import{t as _}from"./C3JVTZdO.js";import{t as v}from"./D8DhCsYB.js";import{t as y}from"./CWPIwpfo.js";import{n as b,t as x}from"./BIxG0Ear.js";import{n as S}from"./DJM0_bDx.js";import{t as C}from"./CtG-M9R2.js";import{t as w}from"./D5HZIse4.js";import{t as T}from"./DJjTa3EW.js";import{t as E}from"./B2nDQmVg.js";import{t as D}from"./DzrFyY0a.js";import{t as O}from"./-hE_dVvC.js";import{t as k}from"./DYn-LKFK.js";import{t as A}from"./AESHnLNE.js";import{t as j}from"./DzXUofIH.js";import{t as M}from"./SBtKk4qb.js";var N={class:`relative mb-4`},P={key:0,class:`w-full`},F={class:`absolute bottom-[26px] right-[40px] z-[2] flex gap-3`},I=[`modules`,`navigation`],L={class:`absolute bottom-[60px] px-4`},R={class:`mb-3 text-white`},z={class:`mb-2`},B={key:0,class:`mt-4`},V=Object.assign(h({__name:`CarouselColumn`,props:{fields:{}},async setup(h){let V,H,U=h,W=c(()=>U.fields.promos.map(e=>e?.sys.id)),{data:G}=([V,H]=d(()=>S(`/api/promos`,{query:{promoIds:W},transform:v},`$CYfo5ywE1A`)),V=await V,H(),V),K=c(()=>G.value?.items),q=m(),J=m();return(c,d)=>{let m=A,v=T,S=w,V=_,H=k,U=O,W=E,G=C;return e(),l(`div`,N,[g(v,{class:``},{default:a(()=>[h.fields.displaySectionTitle?(e(),l(`div`,P,[g(m,null,{default:a(()=>[p(i(h.fields.title),1)]),_:1})])):s(``,!0)]),_:1}),f(`div`,F,[f(`div`,{ref_key:`buttonPrev`,ref:q},[g(S,{name:`fairr:button-arrow`,size:`40`,class:`rotate-180 cursor-pointer text-light-royal-blue`})],512),f(`div`,{ref_key:`buttonNext`,ref:J},[g(S,{name:`fairr:button-arrow`,size:`40`,class:`cursor-pointer text-light-royal-blue`})],512)]),g(G,null,{default:a(()=>[f(`swiper-container`,{modules:[r(j),r(M)],loop:!0,"centered-slides":!1,"slides-per-group":1,"space-between":0,"free-mode":{enabled:!0,sticky:!0},navigation:{nextEl:r(J),prevEl:r(q)},breakpoints:{320:{slidesPerView:1},420:{slidesPerView:2},1024:{slidesPerView:4},1920:{slidesPerView:5}},class:`h-[420px] md:h-[550px]`},[(e(!0),l(u,null,t(r(K),(n,d)=>(e(),l(`swiper-slide`,{key:d,class:`border-r border-white/20`},[f(`div`,L,[g(V,{to:n.fields.link?(`getUrl`in c?c.getUrl:r(y))(n.fields.link):``},{default:a(()=>[f(`h3`,R,i(n.fields.title),1)]),_:2},1032,[`to`]),(e(!0),l(u,null,t(n.fields.themeOrTopic?.filter(e=>!!e),t=>(e(),l(`div`,{key:t?.fields.title,class:``},[f(`div`,z,[t?(e(),o(H,{key:0,topic:t,colour:`navy`,"badge-colour":r(b)(t)?t.fields.colour:r(x)(t)?t.fields.theme?.fields.colour:``},null,8,[`topic`,`badge-colour`])):s(``,!0)])]))),128)),n.fields.followContent?(e(),l(`div`,B,[g(U,{entry:n.fields.followContent,type:`follow`,colour:`white`},null,8,[`entry`])])):s(``,!0)]),n.fields.backgroundImage?(e(),o(W,{key:0,src:n.fields.backgroundImage.fields.file?.url,alt:n.fields.backgroundImage.fields.title,width:511,height:734,fit:`contain`,class:`w-full`,loading:`lazy`},null,8,[`src`,`alt`])):s(``,!0)]))),128))],8,I)]),_:1}),f(`div`,{class:`after:absolute after:bottom-[-12px] after:left-0 after:h-[12px] after:w-full after:content-[''] after:[background-image:linear-gradient(to_bottom,var(--color-white)_0_2px,var(--color-dark-blue-grey-two)_2px_4px,var(--color-white)_4px_6px,var(--color-dark-blue-grey-two)_6px_8px,var(--color-white)_8px_10px,var(--color-dark-blue-grey-two)_10px_12px)] sm:w-full`,style:n({"--color-white":r(D).colors.white,"--color-dark-blue-grey-two":r(D).colors[`dark-blue-grey-two`]})},null,4)])}}}),{__name:`CarouselColumn`});export{V as default}; 2//# sourceMappingURL=BNRagQOY.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.