1import{d as p,c as g,e as i,o as s,w as h,k as a,l as k,an as _,H as w,u as o,a as l,t as c}from"./D2m4VKhv.js";import{_ as b}from"./zXJSMoTk.js";import{m as x}from"./DXLr5XTO.js";const C={class:"flex flex-col justify-center min-w-0"},y={key:0,class:"font-bold text-md mb-2xs truncate foreground-1"},B={key:1,class:"text-xs truncate foreground-2"},A=p({__name:"Interlinking",props:{image:{},imageRatio:{default:"16:9"},title:{},subtitle:{default:void 0},source:{}},setup(u){const t=u,m=g(()=>{switch(t.imageRatio){case"16:9":return"aspect-16-9";case"4:3":return"aspect-4-3";case"1:1":return"aspect-1-1";default:return""}}),n=x(t==null?void 0:t.source);return(e,j)=>{const d=_,f=b;return s(),i(f,{to:o(n).url,"is-external":o(n).isExternal,class:"border-sm color-stroke-2 rounded-ui-sm p-md flex gap-sm w-full background-1"},{default:h(()=>{var r;return[(r=e.image)!=null&&r.src?(s(),i(d,{key:0,src:e.image.src,alt:e.image.alt,width:e.image.width,height:e.image.height,class:w(["flex justify-center shrink-0 h-full w-auto object-contain max-h-3xl",o(m)])},null,8,["src","alt","width","height","class"])):a("",!0),k("div",C,[e.title?(s(),l("h3",y,c(e.title),
11)):a("",!0),e.subtitle?(s(),l("div",B,c(e.subtitle),1)):a("",!0)])]}),_:1},8,["to","is-external"])}}});export{A 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.