1import{t as e}from"./jsx-runtime-HC-ndtLe.js";import{t}from"./link-XQCdB9FV.js";import{t as n}from"./compiler-runtime-dqjeFjjZ.js";import{t as r}from"./dist-CKH86hv4.js";import{t as i}from"./icon-lk6ZX6ey.js";import{t as a}from"./link-BuREisTX.js";import{t as o}from"./image-loader-Dj4yocPn.js";import{n as s}from"./data-vXvpHEjo.js";var c=n(),l=e();function u(e){let t=(0,c.c)(6),{authors:n}=e,r,i;if(t[0]!==n){let e=s(n);r=`inline-flex`,i=e.map(d),t[0]=n,t[1]=r,t[2]=i}else r=t[1],i=t[2];let a;return t[3]!==r||t[4]!==i?(a=(0,l.jsx)(`ul`,{className:r,children:i}),t[3]=r,t[4]=i,t[5]=a):a=t[5],a}function d(e){return(0,l.jsx)(`li`,{children:e.name},e.id)}function f(e){let t=(0,c.c)(8),{post:n,className:i}=e,a;t[0]===i?a=t[1]:(a=r(`text-muted-foreground text-sm`,i),t[0]=i,t[1]=a);let o;t[2]===n.authors?o=t[3]:(o=(0,l.jsx)(u,{authors:n.authors}),t[2]=n.authors,t[3]=o);let s;return t[4]!==n.formattedDate||t[5]!==a||t[6]!==o?(s=(0,l.jsxs)(`div`,{className:a,children:[n.formattedDate,` · `,o]}),t[4]=n.formattedDate,t[5]=a,t[6]=o,t[7]=s):s=t[7],s}function p(e){let t=(0,c.c)(16),{src:n,alt:a,className:s,width:u,eager:d}=e;if(!n){let e;t[0]===s?e=t[1]:(e=r(`bg-muted flex h-full w-full items-center justify-center text-stone-300`,s),t[0]=s,t[1]=e);let n;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,l.jsx)(i,{name:`image`,className:`size-8`}),t[2]=n):n=t[2];let a;return t[3]===e?a=t[4]:(a=(0,l.jsx)(`div`,{className:e,"aria-hidden":!0,children:n}),t[3]=e,t[4]=a),a}let f;t[5]!==n||t[6]!==u?(f=o({src:n,width:u}),t[5]=n,t[6]=u,t[7]=f):f=t[7];let p=a??``,m;t[8]===s?m=t[9]:(m=r(`h-full w-full object-cover`,s),t[8]=s,t[9]=m);let h=d?`eager`:`lazy`,g=d?`sync`:`async`,_;return t[10]!==f||t[11]!==p||t[12]!==m||t[13]!==h||t[14]!==g?(_=(0,l.jsx)(`img`,{src:f,alt:p,className:m,loading:h,decoding:g}),t[10]=f,t[11]=p,t[12]=m,t[13]=h,t[14]=g,t[15]=_):_=t[15],_}function m(e){let t=(0,c.c)(22),{post:n}=e,r;t[0]===n.formattedDate?r=t[1]:(r=(0,l.jsx)(`div`,{className:`text-muted-foreground text-sm`,children:n.formattedDate}),t[0]=n.formattedDate,t[1]=r);let i;t[2]!==n.title||t[3]!==n.url?(i=(0,l.jsx)(`h2`,{className:`text-3xl font-semibold tracking-[-0.02em] text-balance transition-opacity group-hover:opacity-70`,children:(0,l.jsx)(a,{className:`stretched-link`,href:n.url,children:n.title})}),t[2]=n.title,t[3]=n.url,t[4]=i):i=t[4];let o;t[5]===n.description?o=t[6]:(o=n.description&&(0,l.jsx)(`p`,{className:`text-muted-foreground mt-3 text-pretty`,children:n.description}),t[5]=n.description,t[6]=o);let s;t[7]===n.authors?s=t[8]:(s=(0,l.jsx)(`div`,{className:`text-muted-foreground mt-4 text-sm`,children:(0,l.jsx)(u,{authors:n.authors})}),t[7]=n.authors,t[8]=s);let d;t[9]!==i||t[10]!==o||t[11]!==s?(d=(0,l.jsxs)(`div`,{children:[i,o,s]}),t[9]=i,t[10]=o,t[11]=s,t[12]=d):d=t[12];let f;t[13]!==r||t[14]!==d?(f=(0,l.jsxs)(`div`,{className:`order-2 flex flex-col justify-between gap-8 md:order-1`,children:[r,d]}),t[13]=r,t[14]=d,t[15]=f):f=t[15];let m;t[16]!==n.image||t[17]!==n.title?(m=(0,l.jsx)(`div`,{className:`order-1 aspect-[16/9] self-end overflow-hidden rounded-lg md:order-2`,children:(0,l.jsx)(p,{src:n.image,alt:n.title,width:1600,eager:!0})}),t[16]=n.image,t[17]=n.title,t[18]=m):m=t[18];let h;return t[19]!==f||t[20]!==m?(h=(0,l.jsxs)(`article`,{className:`group relative grid gap-8 md:grid-cols-[minmax(0,1fr)_minmax(0,1.5fr)] lg:gap-12`,children:[f,m]}),t[19]=f,t[20]=m,t[21]=h):h=t[21],h}function h(e){let t=(0,c.c)(15),{post:n}=e,r;t[0]!==n.image||t[1]!==n.title?(r=(0,l.jsx)(`div`,{className:`mb-4 aspect-[3/2] overflow-hidden rounded-lg`,children:(0,l.jsx)(p,{src:n.image,alt:n.title,width:1200})}),t[0]=n.image,t[1]=n.title,t[2]=r):r=t[2];let i;t[3]!==n.title||t[4]!==n.url?(i=(0,l.jsx)(`h3`,{className:`text-xl font-semibold tracking-[-0.02em] text-balance transition-opacity group-hover:opacity-70`,children:(0,l.jsx)(a,{className:`stretched-link`,href:n.url,children:n.title})}),t[3]=n.title,t[4]=n.url,t[5]=i):i=t[5];let o;t[6]===n.description?o=t[7]:(o=n.description&&(0,l.jsx)(`p`,{className:`text-muted-foreground mt-1.5 line-clamp-2 text-pretty`,children:n.description}),t[6]=n.description,t[7]=o);let s;t[8]===n?s=t[9]:(s=(0,l.jsx)(f,{post:n,className:`mt-2`}),t[8]=n,t[9]=s);let u;return t[10]!==r||t[11]!==i||t[12]!==o||t[13]!==s?(u=(0,l.jsxs)(`article`,{className:`group relative`,children:[r,i,o,s]}),t[10]=r,t[11]=i,t[12]=o,t[13]=s,t[14]=u):u=t[14],u}function g(e){let n=(0,c.c)(10),{entries:r}=e,i,a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`h2`,{className:`text-2xl font-semibold tracking-tight`,children:`From the changelog`}),a=(0,l.jsx)(`p`,{className:`text-muted-foreground mt-1 mb-8`,children:`Features and improvements weâve recently shipped.`}),n[0]=i,n[1]=a):(i=n[0],a=n[1]);let o;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,l.jsx)(`div`,{className:`from-border absolute top-[3px] right-0 left-0 h-px bg-gradient-to-r from-85% to-transparent`,"aria-hidden":!0}),n[2]=o):o=n[2];let s;n[3]===r?s=n[4]:(s=r.map(_),n[3]=r,n[4]=s);let u;n[5]===s?u=n[6]:(u=(0,l.jsxs)(`div`,{className:`relative`,children:[o,(0,l.jsx)(`ul`,{className:`grid grid-cols-2 gap-8 md:grid-cols-3 lg:grid-cols-4`,children:s})]}),n[5]=s,n[6]=u);let d;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,l.jsx)(t,{to:`/changelog`,className:`text-muted-foreground hover:text-text mt-8 inl
1ine-block text-sm font-medium transition-colors`,children:`View all updates â`}),n[7]=d):d=n[7];let f;return n[8]===u?f=n[9]:(f=(0,l.jsxs)(`section`,{children:[i,a,u,d]}),n[8]=u,n[9]=f),f}function _(e,t){return(0,l.jsx)(`li`,{className:r({"hidden md:block":t===2,"hidden lg:block":t===3}),children:(0,l.jsxs)(`a`,{href:e.url,className:`group block transition-opacity hover:opacity-70`,children:[(0,l.jsx)(`span`,{className:`ring-bg relative block size-[7px] rounded-full bg-stone-400 ring-4`,"aria-hidden":!0}),(0,l.jsxs)(`div`,{className:`mt-4`,children:[(0,l.jsx)(`h3`,{className:`line-clamp-1 text-sm font-medium`,children:e.title}),(0,l.jsx)(`p`,{className:`text-muted-foreground mt-1 line-clamp-3 text-sm text-pretty`,children:e.description}),(0,l.jsx)(`div`,{className:`text-muted-foreground/70 mt-2 text-sm tabular-nums`,children:v(e.date)})]})]})},e.slug)}function v(e){return new Date(e).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`})}export{m as i,u as n,g as r,h as t};
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.