1import{aa as k}from"#entry";import v from"./C6IdLlbC.js";import{y as _,ai as g,$ as c,a0 as h,ag as r,D as a,aq as x,_ as i,A as y,a5 as w}from"./D0rPpKiU.js";import"./D_gTWDL9.js";import"./BNv_LDjD.js";import"./DAt9BhtR.js";import"./DDOY1lLW.js";import"./DSOapIjz.js";const C={key:1,class:"absolute top-6 left-6 inline-flex items-center justify-center w-fit h-10 px-5 button-text rounded-full bg-transparent border-2 border-white text-white transition-colors duration-200 group-hover:bg-white group-hover:text-purple-600"},B=_({__name:"HubCard",props:{blok:{}},setup(l){const o=l,n=a(()=>o.blok?.link?.url||o.blok?.link?.cached_url||""),s=a(()=>o.blok?.link?.target||"_self"),m=a(()=>s.value==="_blank"?"noopener noreferrer":void 0),u=a(()=>{const e=o.blok?.desktop_image;if(!e?.filename)return null;const t=o.blok?.mobile_image;return{_uid:`${o.blok._uid}-img`,component:"Image",image:e,mobile_image:t?.filename?t:void 0,alt:o.blok.label||"",styling:"w-full object-cover",aspect_ratio:"custom",lazy:!0,width:b(e.filename),height:d(e.filename)}});function b(e){const t=e.match(/\/f\/\d+\/(\d+)x\d+\//);return t?parseInt(t[1],10):400}function d(e){const t=e.match(/\/f\/\d+\/\d+x(\d+)\//);return t?parseInt(t[1],10):400}return(e,t)=>{const p=k,f=x("editable");return n.value?g((i(),c(p,{key:0,to:n.value,target:s.value,rel:m.value,class:"group block relative rounded-2xl overflow-hidden transition-opacity duration-200 ease-in-out hover:opacity-85 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-purple-600","aria-label":l.blok.label},{default:h(()=>[u.value?(i(),c(v,{key:0,blok:u.value},null,8,["blok"])):r("",!0),l.blok.label?(i(),y("span",C,w(l.blok.label),1)):r("",!0)]),_:1},8,["to","target","rel","aria-label"])),[[f,l.blok]]):r("",!0)}}}),A=Object.assign(B,{__name:"HubCard"});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.