1import{_ as $}from"./L4vNAyAB.js";import{u as I}from"./DAtiyERP.js";import{d as R,j as C,i as s,c as r,m as L,C as j,F as B,E as D,l as o,k as N,t as E,b as F,f as z}from"./D7u2dyT6.js";const G=["href","data-description"],M=["srcset"],P=["srcset"],S=["srcset"],T=["srcset"],U=["srcset"],q=["srcset"],A=["src","alt","title","data-copyright","width","height"],H=o("div",{class:"absolute left-0 top-0 w-full h-full bg-black/20"},null,-1),J={class:"absolute left-0 top-0 w-full h-full flex justify-center items-center transition-colors duration-500 hover:bg-primary/30 group"},K={type:"button",class:"btn-play transition-all duration-400 outline-none group-hover:w-32 group-hover:h-32 group-hover:outline-white/60 group-hover:outline-1px block relative"},O=o("span",{class:"i-custom-play transition duration-400 opacity-100 scale-100 group-hover:opacity-0 group-hover:scale-0 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"},null,-1),Q={class:"transition duration-400 opacity-0 scale-0 whitespace-nowrap group-hover:opacity-100 group-hover:scale-100 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 text-16px font-semibold"},ee=R({__name:"T3CeMaskVideo",props:{header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{},summary:{},media:{},video:{}},setup(W){const{getVideoLink:b}=I();return(t,X)=>{var a,l,n,i,c,p,h;const x=$,V=C("parallax");return t.video[0]&&t.media&&t.media.length?(s(),r("a",{key:0,"aria-label":"Video",href:F(b)((a=t.video[0])==null?void 0:a.publicUrl),"data-description":((n=(l=t.mediaitem)==null?void 0:l.properties)!=null&&n.description?(c=(i=t.mediaitem)==null?void 0:i.properties)==null?void 0:c.description:"")+((h=(p=t.mediaitem)==null?void 0:p.properties)!=null&&h.copyright?`<span>© ${t.mediaitem.properties.copyright}</span>`:""),class:"glightbox w-full aspect-16/9 max-h-screen overflow-hidden relative block"},[L(x,null,{default:j(()=>[(s(!0),r(B,null,D(t.media,(e,k)=>{var d,u,f,g,w,v,_,y;return s(),r("picture",{key:k,class:"w-full !h-150% min-h-50vh max-h-screen"},[o("source",{srcset:t.$gowestImages({file:e,cropVariant:"sm",width:767,fit:"cover",selectedRatio:"5:4"}),media:"(min-width: 640px) and (max-width:767.999px)"},null,8,M),o("source",{srcset:t.$gowestImages({file:e,cropVariant:"md",width:1023,fit:"cover",selectedRatio:"4:3"}),media:"(min-width: 768px) and (max-width: 1023.999px)"},null,8,P),o("source",{srcset:t.$gowestImages({file:e,cropVariant:"lg",width:1280,fit:"cover",selectedRatio:"16:10"}),media:"(min-width: 1024px) and (max-width: 1279.999px)"},null,8,S),o("source",{srcset:t.$gowestImages({file:e,cropVariant:"xl",width:1535,fit:"cover",selectedRatio:"16:10"}),media:"(min-width: 1280px) and (max-width: 1535.999px)"},null,8,T),o("source",{srcset:t.$gowestImages({file:e,cropVariant:"2xl",width:1920,fit:"cover",selectedRatio:"16:10"}),media:"(min-width: 1536px) and (max-width: 1920px)"},null,8,U),o("source",{srcset:t.$gowestImages({file:e,cropVariant:"2xl",width:2560,fit:"cover",selectedRatio:"16:10"}),media:"(min-width: 1920.01px)"},null,8,q),N(o("img",{loading:"lazy",class:"w-full !h-full object-cover",src:t.$gowestImages({file:e,cropVariant:"xs",width:640,fit:"cover",selectedRatio:"1:1"}),alt:((d=e==null?void 0:e.properties)==null?void 0:d.alternative)||((u=e==null?void 0:e.properties)==null?void 0:u.filename),title:(f=e==null?void 0:e.properties)==null?void 0:f.title,"data-copyright":(g=e==null?void 0:e.properties)==null?void 0:g.copyright,width:(v=(w=e==null?void 0:e.properties)==null?void 0:w.dimensions)==null?void 0:v.width,height:(y=(_=e==null?void 0:e.properties)==null?void 0:_.dimensions)==null?void 0:y.height},null,8,A),[[V]])])}),128))]),_:1}),H,o("div",J,[o("button",K,[O,o("span",Q,E(t.$t("watchVideo")),1)])])],8,G)):z("",!0)}}});export{ee 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.