1import{O as _,bk as g,bM as h,y as n,u as t,b4 as i,F as b,aP as f,w as v,bf as y,aF as a,v as m,bN as k,f as w,aW as o,_ as C}from"./DLnm4rEh.js";import{p as M}from"./BXA8g3O5.js";const A={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"},N={key:0,class:"grid sm:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-10"},O={class:"flex items-center gap-3.5 mb-3"},B={class:"w-12 h-12 rounded-full overflow-hidden flex items-center justify-center text-lg font-display font-semibold bg-[var(--surface-2)] border border-[var(--border-color)] text-[var(--accent-600)] shrink-0"},F={key:1},$={class:"font-display text-xl leading-tight text-[var(--text-primary)] group-hover:text-[var(--accent-700)] transition-colors"},V={class:"mo-meta tabular-nums"},W={class:"text-[15px] leading-relaxed line-clamp-3 text-[var(--text-secondary)]"},P=_({__name:"index",async setup(j){let r,c;g({title:"Authors â Microbe Online",meta:[{name:"description",content:"Meet the authors contributing to Microbe Online."}]});const{data:l}=([r,c]=h(()=>y("/api/content/authors","$Xcg6xPSVuh")),r=await r,c(),r);function d(p){const e=p.image;return e?e.startsWith("http")||e.startsWith("/")?e:`/authors/${e}`:""}return(p,e)=>{const x=w,u=C;return a(),n("div",A,[e[0]||(e[0]=t("div",{class:"mb-12"},[t("div",{class:"mo-kicker mb-3"},"Contributors"),t("h1",{class:"font-display text-4xl md:text-5xl text-[var(--text-primary)]"},"Authors"),t("p",{class:"text-[15px] mt-3 max-w-2xl text-[var(--text-secondary)]"}," The specialists and educators contributing peer-reviewed articles to Microbe Online. ")],-1)),i(l)?.length?(a(),n("div",N,[(a(!0),n(b,null,f(i(l),(s,E)=>(a(),m(u,{key:s.slug,to:`/author/${s.slug}/`,class:"group block border-t pt-5",style:{"border-color":"var(--text-primary)"}},{default:k(()=>[t("div",O,[t("div",B,[d(s)?(a(),m(x,{key:0,src:d(s),alt:s.name,class:"h-full w-full object-cover",format:"webp",width:"48",height:"48"},null,8,["src","alt"])):(a(),n("span",F,o(s.name.charAt(0).toUpperCase()),1))]),t("div",null,[t("h2",$,o(s.name),1),t("span",V,o(s.postCount)+" articles",1)])]),t("p",W,o(i(M)(s.description,220)||"Contributing laboratory specialist and scientific author at Microbe Online."),1)]),_:2},1032,["to"]))),128))])):v("",!0)])}}});export{P 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.