PageSourceSearch

https://firstwave.com/_nuxt/BfwAt70-.js

js firstwave.com collected 2026-10-03 20:53:24 UTC 4,585 bytes, 1 lines download raw bytes

1import{_ as N}from"./DzZvi41q.js";import{_ as V}from"./1kWmgulE.js";import{_ as j}from"./BTNLlJ42.js";import{_ as O}from"./qSjSWm5d.js";import{A as T,t as W,u as U}from"./B0HrFjiD.js";import{f as E}from"./DshUPuI0.js";import{d as q,O as z,C as I,M,aj as b,ak as J,av as K,u as G,K as Q,c as n,b as o,j as f,y as e,t as m,f as k,F,r as R,H as x,al as B,a as i,E as L}from"./b5sV-y6P.js";import{q as g}from"./oRh36QaD.js";import{a as X}from"./DMiKU1r9.js";import"./D2H0z9Fj.js";const Y={class:"bg-white py-24 dark:bg-gray-900 sm:py-32"},Z={class:"mx-auto max-w-7xl px-6 lg:px-8"},tt={class:"lg:grid lg:grid-cols-[14rem_minmax(0,1fr)] lg:gap-x-16"},et={class:"lg:sticky lg:top-24 lg:self-start"},at=["src","alt"],st={class:"mt-5 text-2xl font-semibold tracking-tight text-gray-900 dark:text-white"},ot={key:0,class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},it={class:"mt-12 lg:mt-0"},rt={key:0,class:"prose prose-gray max-w-none dark:prose-invert"},lt={class:"mt-12 border-t border-gray-200 pt-10 dark:border-white/10"},nt={class:"text-xl font-semibold text-gray-900 dark:text-white"},ct={class:"mt-1 font-mono text-xs text-gray-500 dark:text-gray-500"},dt={class:"mt-8 grid grid-cols-1 gap-8 sm:grid-cols-2"},mt={key:1,class:"mt-16 border-t border-gray-200 pt-10 dark:border-white/10"},ut={class:"text-xl font-semibold text-gray-900 dark:text-white"},gt={class:"mt-8 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3"},Ct=q({__name:"[slug]",async setup(ht){let s,r;const w=z(),y=I(),{locale:A}=M(),c=w.params.slug,{data:d}=([s,r]=b(()=>B(`author-${c}`,()=>g("authors").path(`/authors/${c}`).first())),s=await s,r(),s);if(!d.value||d.value.kind==="organization")throw J({statusCode:404,message:"Author not found"});const a=x(()=>W(d.value)),{resolveAuthor:C}=([s,r]=b(()=>U()),s=await s,r(),s),{data:h}=([s,r]=b(async()=>B(`author-archive-${c}`,async()=>{const[l,S,_]=await Promise.all([g("blog").order("date","DESC").all(),g("news").order("date","DESC").all(),g("videos").order("date","DESC").all()]),v=[...l.map(t=>({item:t,kind:"Blog",bar:"bg-firstwave-light-blue"})),...S.map(t=>({item:t,kind:"News",bar:"bg-firstwave-yellow"})),..._.map(t=>({item:t,kind:"Video",bar:"bg-firstwave-red"}))].filter(t=>C(t.item.author)?.slug===c),u=l.filter(t=>C(t.author)?.slug!==c).slice(0,3);return{mine:v.sort((t,H)=>String(H.item.date??"").localeCompare(String(t.item.date??""))).map(t=>({path:t.item.path,title:t.item.title,description:t.item.description,image:t.item.image??t.item.thumbnail,date:t.item.date,kind:t.kind,bar:t.bar})),latest:u.map(t=>({path:t.path,title:t.title,description:t.description,image:t.image,date:t.date}))}})),s=await s,r(),s),p=x(()=>h.value?.mine??[]),P=x(()=>p.value.length<3),{siteUrl:$}=K();return G({title:`${a.value.name} | FirstWave`,ogTitle:a.value.name,description:a.value.tagline||`Articles, announcements and videos by ${a.value.name} at FirstWave.`,ogDescription:a.value.tagline||`Articles, announcements and videos by ${a.value.name} at FirstWave.`,ogImage:a.value.avatar!==T?a.value.avatar:void 0}),Q({script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"ProfilePage",mainEntity:X(a.value,void 0,$),url:`${$}${a.value.path}`})}]}),(l,S)=>{const _=N,D=V,v=j,u=O;return i(),n("div",Y,[o("div",Z,[f(_,{crumbs:[{title:"Authors",path:"/authors/"},{title:e(a).name,path:e(w).path}],class:"mb-10"},null,8,["crumbs"]),o("div",tt,[o("aside",et,[o("img",{src:e(a).avatar,alt:e(a).name,width:"112",height:"112",class:"h-28 w-28 rounded-full bg-athens-gray object-cover dark:bg-white/10"},null,8,at),o("h1",st,m(e(a).name),1),e(a).role?(i(),n("p",ot,m(e(a).role),1)):k("",!0),f(D,{links:e(a).links,size:18,class:"mt-5"},null,8,["links"])]),o("div",it,[e(d)?.body?.value?.length?(i(),n("div",rt,[f(v,{value:e(d)},null,8,["value"])])):k("",!0),o("div",lt,[o("h2",nt,m(l.$t("authors.publishedWork")),1),o("p",ct,m(l.$t("authors.itemCount",e(p).length)),1),o("div",dt,[(i(!0),n(F,null,R(e(p),t=>(i(),L(u,{key:t.path,href:e(y)(t.path+"/"),title:t.title,description:t.description,image:t.image,badge:t.kind,"accent-bar-class":t.bar,meta:e(E)(t.date,e(A))},null,8,["href","title","description","image","badge","accent-bar-class","meta"]))),128))])]),e(P)&&e(h)?.latest?.length?(i(),n("div",mt,[o("h2",ut,m(l.$t("authors.latestFrom")),1),o("div",gt,[(i(!0),n(F,null,R(e(h).latest,t=>
1(i(),L(u,{key:t.path,href:e(y)(t.path+"/"),title:t.title,description:t.description,image:t.image,meta:e(E)(t.date,e(A))},null,8,["href","title","description","image","meta"]))),128))])])):k("",!0)])])])])}}});export{Ct 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.