PageSourceSearch

https://vale.sh/_app/immutable/chunks/PostCard.ZLrYDEWv.js

js vale.sh collected 2026-09-25 18:42:43 UTC 3,042 bytes, 1 lines download raw bytes

1import{t as g,a as p}from"./disclose-version.DE-liGRC.js";import{p as V,c as e,r as a,s as r,t as d,g as o,d as W,a as X,n as Y}from"./runtime.vEvs2zhv.js";import{s as l,i as C}from"./props.CdrK0jyI.js";import{s as S}from"./Icon.VaO0A4Wf.js";import{C as $}from"./copy.BcV599FY.js";import{P as tt,r as et}from"./lint.Ce7dyNqv.js";import{a as A,P as at}from"./PostTags.D1C0F_Zb.js";var rt=g('<span class="rounded-full border border-amber-500/40 px-2 py-0.5 text-xs font-medium text-amber-500">Draft</span>'),st=g('<span class="flex items-center gap-1 text-lime-600 dark:text-lime-400"><!> 0 alerts</span>'),ot=g('<span class="text-rose-400"> </span>'),nt=g('<p class="mt-4 flex flex-wrap items-center gap-x-4 gap-y-1 font-mono text-xs tabular-nums text-muted-foreground"><!> <span> </span> <span> </span> <span> </span></p>'),lt=g('<article class="group relative flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-all hover:-translate-y-0.5 hover:shadow-md"><div class="border-b border-border"><!></div> <div class="flex grow flex-col p-6"><p class="flex flex-wrap items-center gap-x-2 gap-y-2 text-sm text-muted-foreground"><img alt="" width="20" height="20" class="h-5 w-5 rounded-full border border-border"> <span class="text-foreground"> </span> <span class="text-muted-foreground/50">·</span> <time> </time> <!></p> <h2 class="mt-2 text-xl font-semibold tracking-tight"><a class="after:absolute after:inset-0 hover:underline"> </a></h2> <p class="mt-3 grow text-sm leading-6 text-muted-foreground"> </p> <!> <!></div></article>');function ut(B,t){V(t,!0);const s=W(()=>et.posts[t.post.slug]),O=n=>new Date(`${n}T00:00:00Z`).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"});var u=lt(),c=e(u),j=e(c);tt(j,{get seed(){return t.post.slug},get image(){return t.post.image},get values(){return t.post.poster},get motif(){return t.post.motif},get alt(){return t.post.imageAlt},class:"h-32 w-full"}),a(c);var D=r(c,2),x=e(D),T=e(x);d(()=>S(T,"src",A(t.post).avatar));var _=r(T,2),q=e(_,!0);d(()=>l(q,A(t.post).name)),a(_);var f=r(_,4),z=e(f,!0);d(()=>l(z,O(t.post.date))),a(f);var E=r(f,2);{var F=n=>{var v=rt();p(n,v)};C(E,n=>{t.post.draft&&n(F)})}a(x);var h=r(x,2),b=e(h),G=e(b,!0);a(b),a(h);var w=r(h,2),H=e(w,!0);a(w);var U=r(w,2);at(U,{get post(){return t.post},class:"mt-4"});var I=r(U,2);{var J=n=>{var v=nt(),L=e(v);{var K=m=>{var i=st(),k=e(i);$(k,{class:"h-3 w-3"}),Y(),a(i),p(m,i)},M=m=>{var i=ot(),k=e(i);a(i),d(()=>l(k,`${o(s).errors+o(s).warnings+o(s).suggestions} alerts`)),p(m,i)};C(L,m=>{o(s).errors+o(s).warnings+o(s).suggestions===0?m(K):m(M,!1)})}var y=r(L,2),N=e(y);a(y);var P=r(y,2),Q=e(P);d(()=>l(Q,`${o(s).words.toLocaleString("en-US")??""} words`)),a(P);var Z=r(P,2),R=e(Z);a(Z),a(v),d(()=>
1{l(N,`grade ${o(s).grade??""}`),l(R,`${o(s).minutes??""} min`)}),p(n,v)};C(I,n=>{o(s)&&n(J)})}a(D),a(u),d(()=>{S(f,"datetime",t.post.date),S(b,"href",`/blog/${t.post.slug}`),l(G,t.post.title),l(H,t.post.description)}),p(B,u),X()}export{ut as P};

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.