1import{_ as H}from"./MGAAtEI_.js";import{_ as J}from"./CQsfnirg.js";import{m as O,q,d as W,s as X,U as P,r as Z,o as K,W as Q,D as _,w as s,a5 as Y,V as tt,e as n,g as c,Z as u,a0 as et,c as v,F as w,a1 as U,a2 as nt,h as f,f as ot,$ as at,aa as st,af as ct,a9 as it,R as rt}from"./D6yLKn2g.js";import lt from"./DAQwD15F.js";import{_ as _t}from"./ENaXhr1K.js";import{_ as ut}from"./CrcHNOgv.js";import"./WAsIgjOF.js";import"./C-v3KzvZ.js";import"./CxYJgpPD.js";const mt=()=>{const m=O("team",()=>[]);async function o(){if(!m.value.length)try{const a=await q("/_team").where({_extension:"md"}).without(["excerpt"]).find();m.value=a.map(i=>({...i,pinyin:i._file.split(".")[1]}))}catch(a){return m.value=[],a}}return{team:m,fetchList:o}},dt={class:"mt-4 flex items-center justify-center gap-1.5"},ft={class:"prose dark:prose-invert max-w-full px-6 py-2"},pt={key:1},gt={class:"mt-4 flex items-center justify-center gap-2"},vt={class:"overflow-hidden rounded-sm"},ht=["src"],jt=W({__name:"team",async setup(m){let o,a;const i=X(),{data:d}=([o,a]=P(()=>tt(i.path,()=>q(i.path).findOne(),"$jX_h_qjJvS")),o=await o,a(),o),C=d.value.title,$=d.value.description,b=d.value.colleges;function A(r){return"/assets/favicons/"+b.find(l=>l.abbr===r).favicon}function N(r){return b.find(l=>l.abbr===r).name}const{fetchList:S,team:h}=mt(),p=Z(h.value.map(()=>!1));return K(()=>{var r;if((r=i.query)!=null&&r.cv){const l=h.value.findIndex(y=>y.pinyin===i.query.cv);l!==-1&&(p.value[l]=!0)}}),Q({title:C,description:$,ogDescription:$,ogTitle:C}),[o,a]=P(()=>S()),await o,a(),(r,l)=>{const y=H,D=J,L=rt,x=at,M=lt,R=ct,T=it,F=nt,I=et,z=_t,E=ut,G=Y;return n(),_(G,null,{default:s(()=>{var V,j;return[c(y,{title:(V=u(d))==null?void 0:V.title,description:(j=u(d))==null?void 0:j.description,align:"center"},null,8,["title","description"]),c(D),c(E,null,{default:s(()=>[c(z,null,{default:s(()=>[c(I,{class:"xl:grid-cols-4"},{default:s(()=>[(n(!0),v(w,null,U(u(h),(t,g)=>(n(),_(F,{key:g,title:t.name,description:t.position,class:"!bg-transparent",ui:{title:"justify-center",description:"text-center"}},{icon:s(()=>[c(L,{src:`/assets/profiles/${t._file.split(".")[1]}.jpg`,size:"3xl",alt:t.name,class:"mx-auto"},null,8,["src","alt"])]),default:s(()=>{var B;return[f("div",dt,[(n(!0),v(w,null,U(t.links,(e,k)=>(n(),_(x,st({key:k,color:"gray",variant:"link",target:"_blank",ref_for:!0},e),null,16))),128)),c(x,{color:"gray",variant:"link",icon:"i-ph-envelope-simple-duotone",to:`mailto:${t.email}`},null,8,["to"]),(B=t.body)!=null&&B.children.length?(n(),_(x,{key:0,color:"gray",variant:"link",icon:"i-ph-read-cv-logo-duotone",onClick:e=>u(p)[g]=!0},null,8,["onClick"])):ot("",!0),c(R,{modelValue:u(p)[g],"onUpdate:modelValue":e=>u(p)[g]=e,ui:{width:"w-full sm:max-w-3xl"}},{default:s(()=>{var e;return[f("div",ft,[(e=t.body)!=null&&e.children.length?(n(),_(M,{key:0,value:t},null,8,["value"])):(n(),v("span",pt,"è¿ä½åå¿å¤ªæäºï¼æªåç«é¿æä¾ä¸ªäººèµæã"))])]}),_:2},1032,["modelValue","onUpdate:modelValue"])]),f("div",gt,[(n(!0),v(w,null,U(t.colleges,(e,k)=>(n(),_(T,{key:k,text:N(e)},{default:s(()=>[f("div",vt,[f("img",{class:"h-4",src:A(e)},null,8,ht)])]),_:2},1032,["text"]))),128))])]}),_:2},1032,["title","description"]))),128))]),_:1})]),_:1})]),_:1})]}),_:1})}}});
1export{jt 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.