1import{_ as c}from"./B8rYVOQo.js";import{ba as f,bG as m,b6 as i,b5 as g,bx as o,bH as v,br as y,bv as a,bP as p,bs as l,bt as n,bu as e}from"./B2aMFkuz.js";import{_ as w}from"./DUQ65iy0.js";const x={class:"w-full h-full flex flex-col justify-between relative group overflow-hidden"},h={class:"relative min-h-96 h-full w-full rounded-lg overflow-hidden"},k={class:"absolute top-3 left-3 z-30 flex gap-4"},_={class:"bg-primary-500/10 text-primary-500 rounded px-4 py-1 w-fit flex items-center justify-center"},z={class:"absolute top-0 right-0 p-4 rounded-bl-xl bg-background border-t-2 border-r-2 border-zinc-950 rounded-tr-lg z-30 flex gap-4"},B={class:"w-full absolute bottom-0 p-4 z-30"},N={class:"text-primary-500 uppercase font-medium text-xl font-title-bold"},j={class:"text-2xl font-title-bold my-2"},C={__name:"BlogStudycaseCard",props:{studycase:Object,slug:String},setup(s){const{locale:S}=f();return(q,t)=>{const r=c,d=p,u=w,b=m("editable");return i(),g(u,null,{error:o(()=>[...t[8]||(t[8]=[l("div",{class:"w-full h-full overflow-hidden rounded-lg"},[l("div",{class:"bg-gray-800 animate-pulse aspect-square h-96 pointer-events-none rounded-lg"}),e(),l("div",{class:"w-full p-4"},[l("div",{class:"bg-gray-800 animate-pulse h-6 w-32 mb-2 rounded"}),e(),l("div",{class:"bg-gray-800 animate-pulse h-8 w-full mb-3 rounded"}),e(),l("div",{class:"bg-gray-800 animate-pulse h-4 w-full mb-2 rounded"}),e(),l("div",{class:"bg-gray-800 animate-pulse h-4 w-5/6 mb-2 rounded"})])],-1)])]),default:o(()=>[v((i(),y("div",{key:s.slug,class:"w-full h-full overflow-hidden"},[a(d,{to:`/${s.slug}`,class:"w-full h-full rounded-lg"},{default:o(()=>[l("div",x,[l("div",h,[l("div",k,[l("span",_,n(s.studycase?.category??"Study case"),1)]),t[0]||(t[0]=e()),l("div",z,[a(r,{src:s.studycase?.company_logo?.filename,alt:s.studycase?.company_logo?.alt,height:"40",provider:"storyblok",quality:"80",format:"webp",class:"h-10 max-w-32 object-contain rounded-lg",loading:"lazy"},null,8,["src","alt"])]),t[1]||(t[1]=e()),t[2]||(t[2]=l("div",{class:"w-full h-full absolute inset-0 bg-gradient-to-t from-black/90 via-black/60 md:via-black/75 to-transparent z-10 group-hover:via-black/30 transition duration-250"},null,-1)),t[3]||(t[3]=e()),t[4]||(t[4]=l("div",{class:"w-full h-full absolute inset-0 bg-gradient-to-b from-black/70 via-transparent z-10 group-hover:from-transparent transition duration-250"},null,-1)),t[5]||(t[5]=e()),a(r,{src:s.studycase?.image?.filename,alt:s.studycase?.image?.alt,height:"384",provider:"storyblok",quality:"80",format:"webp",class:"rounded-lg min-h-96 h-full w-full object-cover transition duration-250 absolute",loading:"lazy"},null,8,["src","alt"])]),t[7]||(t[7]=e()),l("div",B,[l("span",N,n(s.studycase?.company_name),1),t[6]||(t[6]=e()),l("h3",j,n(s.studycase?.title),1)])])]),_:1},8,["to"])])),[[b,s.studycase]]),t[9]||(t[9]=e())]),_:1})}}};export{C 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.