1import{f as B,g as $,U as V,c as z,o as A,b as s,a as e,w as k,X as P,q as a,e as T,d as v,t as n}from"./Btabc4Lo.js";import{_ as q}from"./Dr6TijVb.js";const D={class:"relative"},E={class:"absolute bottom-0 block w-[282px] rounded-bl-2xl rounded-br-2xl p-4 pb-10"},F={class:"text-left"},M={class:"truncate text-xl font-bold"},S={class:"inline-flex items-center gap-1.5 truncate"},U={class:"lowercase first-letter:capitalize leading-tight"},X={class:"inline-block lowercase first-letter:capitalize"},G={class:"flex items-center truncate text-sm"},H={class:"truncate leading-tight"},K=B({__name:"NewMentorCard",props:{mentor:{},country:{}},setup(y){const r=y,j=$(()=>{var t;return V({folder:"profile",url:(t=r.mentor)==null?void 0:t.photo})}),l=$(()=>r.country);return(t,i)=>{var m,d,p,u,_,f,b;const C=P,c=T;return A(),z("figure",D,[s(c,{class:"card__img block w-[282px]",to:`/mentor/${(m=t.mentor)==null?void 0:m.slug}`},{default:k(()=>{var o,h,g,x,N,w;return[s(C,{alt:`${(o=t.mentor)==null?void 0:o.firstName} ${(h=t.mentor)==null?void 0:h.lastName}`,title:`${(g=t.mentor)==null?void 0:g.firstName} ${(x=t.mentor)==null?void 0:x.lastName}`,src:a(j),"aria-label":`${(N=t.mentor)==null?void 0:N.firstName} ${(w=t.mentor)==null?void 0:w.lastName}`,class:"mentor-card__img h-[340px] md:h-[440px] w-full cursor-pointer rounded-xl object-cover object-center"},null,8,["alt","title","src","aria-label"])]}),_:1},8,["to"]),s(c,{class:"gradient-mentor-card absolute left-0 top-0 h-full w-full cursor-pointer rounded-tl-xl rounded-tr-xl transition-all duration-300 hover:bg-black/20 sm:bottom-[203px]",to:`/mentor/${(d=t.mentor)==null?void 0:d.slug}`},null,8,["to"]),e("figcaption",E,[e("div",F,[e("div",M,[e("div",S,[e("h1",U,[v(n((p=t.mentor)==null?void 0:p.firstName)+" ",1),e("span",X,n((u=t.mentor)==null?void 0:u.lastName),1)]),e("span",null,[s(q,{name:(f=(_=a(l))==null?void 0:_.name)==null?void 0:f.common,class:"!text-xl"},{default:k(()=>{var o;return[v(n((o=a(l))==null?void 0:o.flag),1)]}),_:1},8,["name"])])])]),e("div",G,[e("p",H,n((b=t.mentor)==null?void 0:b.jobTitle),1)])])]),i[0]||(i[0]=e("span",{class:"absolute right-4 top-4 inline-flex items-center justify-center rounded-[4px] bg-white px-[8px] py-0.5 text-xs font-bold uppercase text-darkest shadow-lg"}," Available ",-1))])}}});export{K 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.