<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{d as q,ah as j,ai as A,q as L,m as P,aj as B,o as a,c as i,f as n,e as y,w as u,F as C,r as O,g as l,h as z,a9 as R,x as g,v as D,a8 as E,t as H,i as G,__tla as J}from"./entry.adad8ab2.js";import{_ as N,__tla as Q}from"./nuxt-link.9ba53298.js";import{_ as K,__tla as W}from"./Container.vue.df23169e.js";import{u as X,__tla as Y}from"./useFiles.73054c76.js";import{u as Z,__tla as tt}from"./useTranslations.f797a621.js";import{u as et,__tla as at}from"./useDirectus.9c478fa1.js";let I,f,lt=Promise.all([(()=&gt;{try{return J}catch{}})(),(()=&gt;{try{return Q}catch{}})(),(()=&gt;{try{return W}catch{}})(),(()=&gt;{try{return Y}catch{}})(),(()=&gt;{try{return tt}catch{}})(),(()=&gt;{try{return at}catch{}})()]).then(async()=&gt;{let v,w,b,x,k,$,T,V,F;v={class:"mx-auto overflow-hidden flex flex-col items-center"},w={class:"w-full video-slider"},b={class:"relative"},x=n("div",{class:"bg-[#00000077] absolute top-0 bottom-0 h-full w-full z-0"},null,-1),k=["innerHTML"],$=["src","alt"],f=q({__name:"TVideoSlider",props:{videos:{type:Array,required:!0},showTitles:{type:Boolean,default:!1}},setup(o){const m=o,{thirdPartyCookies:d}=j(),{videos:p}=A(m),h=L(d.value?"https://www.youtube.com":"https://www.youtube-nocookie.com"),r=P(()=&gt;p.value.length&gt;=2),c={rewind:!0,heightRatio:.5625,video:{host:h.value,playerOptions:{htmlVideo:{controlsList:"nodownload"}}},arrows:r.value,pagination:r.value,breakpoints:{768:{arrows:!1}},classes:{pagination:"splide__pagination bottom-0 mt-5"}},e=L({Video:B}),s=_=&gt;_.replace(/^(.+?):(.+)$/,'&lt;span class="lg:typography-heading-1"&gt;$1:&lt;/span&gt;&lt;br&gt;$2');return(_,S)=&gt;(a(),i("div",v,[n("div",w,[y(l(E),{"aria-labelledby":"dih-video-slider",options:c,extensions:l(e),class:D(l(r)?"md:!px-14 md:!py-8":"")},{default:u(()=&gt;[(a(!0),i(C,null,O(l(p),(t,M)=&gt;(a(),z(l(R),{key:t.youtubeId??t.videoUrl,"data-splide-youtube":t.youtubeId,"data-splide-html-video":t.videoUrl,class:"pl-0"},{default:u(()=&gt;{var U;return[n("div",b,[x,o.showTitles&amp;&amp;((U=t.title)!=null&amp;&amp;U.length)?(a(),i("div",{key:0,class:"pl-[2%] lg:pl-[8%] py-2 lg:py-7 pr-[8%] max-w-[90%] bg-gradient-to-r from-50% from-magenta-800 to-transparent typography-heading-5 lg:typography-heading-2 absolute left-0 bottom-[5%] w-full text-white text-center whitespace-pre-wrap",innerHTML:s(t.title)},null,8,k)):g("",!0),t.poster?(a(),i("img",{key:1,class:"my-0",src:t.poster,alt:t.title?t.title:`Video content ${M+1}`},null,8,$)):g("",!0)])]}),_:2},1032,["data-splide-youtube","data-splide-html-video"]))),128))]),_:1},8,["extensions","class"])])]))}}),T={class:"typography-heading-4 md:typography-heading-1 text-center pb-10 dark:text-white"},V={key:0},F={class:"text-center"},I=q({__name:"VideoSlider",props:{title:{type:String,default:""},pageFilter:{type:String,default:"frontpage"}},setup(o){const m=o,{fileUrl:d}=X(),{localizedField:p}=Z(),h=`reference_videos?sort=-date_created&amp;fields=*,translations.*${`&amp;filter[show_on_page][pages_id][page_name][_eq]=${m.pageFilter}`}`,{data:r}=et(`/items/${h}`),c=P(()=&gt;{var e;return((e=r.value)==null?void 0:e.data.map(s=&gt;({videoUrl:d(s.video),poster:d(s.preview_image),title:p(s,"title")})))??[]});return(e,s)=&gt;{const _=f,S=N,t=K;return a(),z(t,{"max-breakpoint":"3xl",class:"mt-10 pb-10 md:pb-20"},{default:u(()=&gt;[n("h2",T,H(o.title||e.$t("section.our_references.title")),1),l(c).length&gt;0?(a(),i("div",V,[y(_,{videos:l(c),"show-titles":"",class:"md:mb-6"},null,8,["videos"])])):g("",!0),n("div",F,[y(S,{to:e.localePath({name:"references"}),class:"btn btn-black-outline btn-medium"},{default:u(()=&gt;[G(H(e.$t("reference_videos.watch_all")),1)]),_:1},8,["to"])])]),_:1})}}})});export{I as _,lt as __tla,f as a};
</pre></body></html>