import{_ as k}from"./RssLZfLx.js";import{_ as v,ap as _,e as l,c as i,d as n,t as r,n as o,g as c,w as a,T,U as w,E as d,f as x,V as C,Z as $}from"./CSGWN0Ke.js";import{_ as B}from"./Dci3BOLr.js";import"./CoNkNGrd.js";import"./BITtZpNW.js";import"./00Wz9xmJ.js";import"./DCT9NofI.js";const V={props:{slice:{type:Object,required:!0,default(){return{}}}},data(){return{options:{perPage:3,start:0,arrows:!1,pagination:!1,autoHeight:!0,autoWidth:!0,gap:0,breakpoints:{767:{gap:25,perPage:1,autoWidth:!1,fixedWidth:"80%"}}}}},computed:{backgroundColour(){return this.slice.primary.backgroundColour||"Black #000000"}}},q=["id"],N={key:0,class:"relative aspect-5/6 overflow-hidden mb-4 md:mb-8"},I={class:"absolute top-0 left-0 w-full h-full focus:outline-gbl"},L={muted:"",autoplay:"","plays-inline":"",loop:"",controls:!1,class:"h-full max-w-none"},W=["src"],D=["srcset"],E=["src","alt"];function P(e,j,s,z,m,p){const u=k,g=$,f=_("splide-slide"),y=_("splide"),h=B;return l(),i("section",{id:"uniqueId"in s.slice.primary&&s.slice.primary.uniqueId!=""?s.slice.primary.uniqueId:"",class:o(["n-column-cta__section",e.$styling("n-column-cta__section",p.backgroundColour)])},[n("h1",{class:o(["n-column-cta__header",e.$styling("n-column-cta__header")])},r(e.$prismic.asText(s.slice.primary.title)),3),c(h,null,{default:a(()=>[c(y,{options:m.options,class:o(["n-column-cta__cards",e.$styling("n-column-cta__cards")])},{default:a(()=>[(l(!0),i(T,null,w(s.slice.items,(t,b)=>(l(),d(f,{key:t.title+b,class:o(["n-column-cta__card",e.$styling("n-column-cta__card")])},{default:a(()=>[t.card_video?(l(),i("div",N,[n("div",I,[n("video",L,[n("source",{type:"video/mp4",src:t.card_video},null,8,W)])])])):t.buttonText&&"mediumorientport"in t.image?(l(),d(u,{key:1,document:t.buttonLink,class:o(["n-column-cta__image",e.$styling("n-column-cta__image")])},{default:a(()=>[n("picture",null,[n("source",{srcset:t.image.mediumorientport.url,media:"(max-width: 1366px)"},null,8,D),n("img",{src:t.image.largeorientport?t.image.largeorientport.url:t.image.mediumorientport.url,alt:t.image.alt||e.$prismic.asText(t.title)},null,8,E)])]),_:2},1032,["document","class"])):x("",!0),n("h2",{class:o(["n-column-cta__card-title",e.$styling("n-column-cta__card-title")])},r(e.$prismic.asText(t.title)),3),c(g,{btnstyle:"alternative"},{default:a(()=>[c(u,{document:t.buttonLink,class:o(["n-column-cta__button",e.$styling("n-column-cta__button","button__alternative")]),slice_type:s.slice.slice_type},{default:a(()=>[C(r(e.$prismic.asText(t.buttonText)),1)]),_:2},1032,["document","class","slice_type"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1},8,["options","class"])]),_:1})],10,q)}const G=v(V,[["render",P]]);export{G as default};