1import{_ as C}from"./B0PV79rs.js";import{_ as L}from"./ZTts5OdE.js";import{d as N,c as o,i as s,p as g,F as T,K as V,q as c,j as h,M as $,N as z,e as l,f as i,t as d,Q as b,L as F,_ as P,b as a,u as j,h as v}from"./P1OR0oCP.js";import{_ as B}from"./BVCbigmt.js";import M from"./DjqFAcO3.js";import{u as D}from"./BtxREKPP.js";const U={class:"container grid gap grid-cols-1 md:grid-cols-12 lg:items-center relative"},q={key:0,loading:"lazy",preload:"none",loop:"",muted:"",playsinline:"",class:"bg-black w-full !h-full object-cover"},H=["src","type"],E={key:1,class:"bg-highlight-light p-5 rounded-md mb-8"},G={class:"font-semibold"},J=N({__name:"T3CeMaskTripMediaImage",props:{header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{},summary:{},image:{},bodytext:{},invert:{},suitable:{},buttontext:{},button:{}},setup(e){const m=e,{getVideoLink:f}=D();return(n,I)=>{const u=C,y=L,p=P,_=B,x=M,k=v("autoplay"),r=v("in-viewport");return a(),o("div",U,[s((a(),o("div",{class:g(["col-span-1 rounded overflow-hidden",[e.invert!=="0"?"order-2 md:col-start-7 md:col-span-6 ":"order-1 md:col-start-1 md:col-span-6",n.aspect==="1/1"?"aspect-ratio-square":"aspect-ratio-3/4"]])},[(a(!0),o(T,null,V(m.image,(t,w)=>(a(),o("figure",{key:w,class:"relative h-full group"},[t.properties.type=="video"?s((a(),o("video",q,[c("source",{src:j(f)(t?.publicUrl),type:t?.properties?.mimeType},null,8,H)])),[[k]]):n.aspect==="1/1"?(a(),l(u,{key:1,class:"!h-full overflow-hidden",image:t,loading:"lazy",imageClass:{"object-cover relative w-full !h-full":!0,"transition-transform duration-300 transform group-hover:scale-105":t?.properties?.link},aspect:{xs:"1/1",sm:"1/1",md:"1/1",lg:"1/1",xl:"1/1","2xl":"1/1","3xl":"1/1"},width:{xs:550,sm:700,md:470,lg:580,xl:695,"2xl":820,"3xl":995}},null,8,["image","imageClass"])):(a(),l(u,{key:2,class:"!h-full overflow-hidden",image:t,loading:"lazy",imageClass:{"object-cover relative w-full !h-full":!0,"transition-transform duration-300 transform group-hover:scale-105":t?.properties?.link},aspect:{xs:"3/4",sm:"3/4",md:"3/4",lg:"3/4",xl:"3/4","2xl":"3/4","3xl":"3/4"},width:{xs:550,sm:700,md:470,lg:580,xl:695,"2xl":820,"3xl":995}},null,8,["image","imageClass"])),h(y,{image:t},null,8,["image"]),t?.properties?.link?(a(),l(p,{key:3,to:t?.properties?.link,"aria-label":`Move to ${t?.properties?.link}`,class:"absolute left-0 top-0 w-full h-full opacity-0"},null,8,["to","aria-label"])):i("",!0)]))),128))],2)),[[r]]),c("div",{class:g(["col-span-1 md:col-span-5",e.invert!=="0"?"order-1 md:col-start-1":"order-2 md:col-start-8"])},[s(h(_,$(z(m)),null,16),[[r]]),e.bodytext?s((a(),l(x,{key:0,content:e.bodytext},null,8,["content"])),[[r]]):i("",!0),e.suitable?s((a(),o("p",E,[c("span",G,d(n.$t("suitableFor"))+":",1),b(" "+d(e.suitable),1)])),[[r]]):i("",!0),e.button?s((a(),l(p,{key:2,to:e.button,class:"btn btn-primary",target:e.button.startsWith("http")?"_blank":""},{default:F(()=>[b(d(e.buttontext),1)]),_:1},8,["to","target"])),[[r]]):i("",!0)],2)])}}});export{J 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.