1import{C as e,G as t,S as n,T as r,en as i,g as a,h as o,kt as s,lt as c,p as l}from"./ZF-X9Wo2.js";import{p as u}from"./DyCQboRv.js";import{n as d,u as f}from"./CbZ43dOe.js";import{i as p}from"./Dn6q9IFc.js";import{n as m}from"./BXx7t8K-.js";import{n as h,r as g,t as _}from"./C28phzkq.js";import{t as v}from"./4gR_byFE.js";import{t as y}from"./BU1OV2WM.js";import{t as b}from"./Cq7nC5aJ.js";import{t as x}from"./DYd1Fpe0.js";import{t as S}from"./BFUsE0YO.js";import{v as C}from"./C7mayVos.js";function w(e,n){return t(),a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"stroke-width":`1.5`,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`},[l(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z`})])}var T={key:0,class:`pt-24 pb-8 lg:pt-32 lg:pb-10`},E={class:`mx-auto max-w-3xl px-6`},D={class:`mb-6 flex flex-wrap items-center gap-3`},O={class:`inline-flex items-center gap-1.5 rounded-full border border-brand-500/20 bg-brand-500/10 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-brand-400`},k={class:`flex items-center gap-1.5 text-sm text-neutral-500`},A={key:0,class:`flex items-center gap-1.5 text-sm text-neutral-500`},j={key:1,class:`flex items-center gap-1.5 text-sm text-neutral-500`},M={class:`mb-6 text-balance text-3xl font-bold tracking-tight text-white sm:text-4xl`},N={key:0,class:`text-lg leading-relaxed text-neutral-300`},P=Object.assign(r({__name:`BlogHead`,setup(r){let P=u(),F=g(),I=f(),L=p(),{locale:R}=m(),{localized:z,resolveImage:B}=h(),{resource:V,description:H}=C();function U(e){let t=new URL(`/`,F.url||I.origin).toString();return new URL(L(e,R.value),t).toString()}let W=`/resources/${String(P.params.type??`blog`)}/${String(P.params.slug??``)}`;if(V.value){let e=B(V.value.seo?.imageKey??`resources`);new URL(V.value.seo?.image??e.src,F.url||I.origin).toString(),V.value.authors?.map(e=>({name:e})),U(W),_({path:W,seo:V.value.seo,title:V.value.title,description:H.value,imageKey:`resources`,ogType:`article`,datePublished:V.value.date,dateModified:V.value.dateModified})}return(r,u)=>{let f=d;return s(V)?(t(),a(`section`,T,[l(`div`,E,[e(f,{to:s(L)(`/resources`),class:`mb-8 inline-flex items-center gap-2 text-sm text-neutral-400 transition-colors hover:text-brand-400`},{default:c(()=>[e(s(v),{class:`size-5 rotate-180`}),S(r.$slots,`back-label`,{mdcUnwrap:`p`})]),_:3},8,[`to`]),l(`div`,D,[l(`span`,O,[e(s(x),{class:`size-3.5`}),S(r.$slots,`label`,{mdcUnwrap:`p`})]),l(`span`,k,[e(s(y),{class:`size-4`}),n(` `+i(s(V).date),1)]),s(V).readTime?(t(),a(`span`,A,[e(s(b),{class:`size-4`}),n(` `+i(s(V).readTime),1)])):o(``,!0),s(V).authors?.length?(t(),a(`span`,j,[e(s(w),{class:`size-4`}),n(` `+i(s(V).authors.join(`, `)),1)])):o(``,!0)]),l(`h1`,M,i(s(V).title),1),s(H)?(t(),a(`p`,N,i(s(H)),1)):o(``,!0)])])):o(``,!0)}}}),{__name:`BlogHead`});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.