1import{_ as x}from"./C_hTnhxs.js";import{_ as C}from"./CZvGlBXJ.js";import{_ as F,c as t,o,b as i,f as S,H as B,a as r,p as y,q as _,m as e,w as g,Q as h,F as H,d as b,t as k}from"./DbE8x6y3.js";import{_ as q}from"./Ddbbicy8.js";import{g as I,u as L}from"./CCasBS42.js";const M={},N=["aria-label"];function R(s,n){const a=C;return o(),t("button",{type:"button",class:"play-button","aria-label":s.$t("play_video"),onClick:n[0]||(n[0]=c=>s.$emit("click"))},[i(a,{class:"play-button__icon",name:"play"})],8,N)}const D=F(M,[["render",R]]),E={class:"section section--filled video-section"},P={class:"container container--medium video-section__inner"},Q=["innerHTML"],j={class:"video-section__media"},z={key:0,class:"video-section__content"},A=["innerHTML"],G={key:1,class:"video-section__video-wrapper"},Y=S({__name:"video-section-record",props:{h1:{type:Boolean},section:{}},setup(s){const n=I(` 2 fragment VideoSectionRecord on VideoSectionRecord { 3 title 4 body(markdown: true) 5 videoTitle 6 videoSubtitle(markdown: true) 7 requiredVideo: video { 8 ...VideoFileField 9 } 10 poster { 11 ...Image 12 responsiveImage(imgixParams: { w: 800, auto: [compress, format] }) { 13 ...ResponsiveImage 14 } 15 } 16 } 17`),a=s,{title:c,body:d,poster:l,requiredVideo:V,videoTitle:m,videoSubtitle:p}=L(n,a.section),u=B(!1);return(v,f)=>{const $=x,w=D,T=q;return o(),t("section",E,[r("div",P,[e(c)?(o(),y(h(v.h1?"h1":"h2"),{key:0,class:"h2"},{default:g(()=>[b(k(e(c)),1)]),_:1})):_("",!0),e(d)?(o(),t("div",{key:1,class:"video-section__body",innerHTML:e(d)},null,8,Q)):_("",!0),r("div",j,[e(u)?(o(),t("div",G,[i(T,{video:e(V),autoplay:!0,controls:!0,loop:!1,muted:!1},null,8,["video"])])):(o(),t(H,{key:0},[i($,{image:e(l),"responsive-image":e(l).responsiveImage,class:"video-section__poster"},null,8,["image","responsive-image"]),i(w,{class:"video-section__play-button",onClick:f[0]||(f[0]=J=>u.value=!0)}),e(m)||e(p)?(o(),t("div",z,[(o(),y(h(v.h1?"h2":"h3"),{class:"h3 video-section__video-title"},{default:g(()=>[b(k(e(m)),1)]),_:1})),r("div",{class:"video-section__video-subtitle",innerHTML:e(p)},null,8,A)])):_("",!0)],64))])])])}}});export{Y as _};
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.