PageSourceSearch

https://frncubo.com/assets/content-CGl8rUty.js

js frncubo.com collected 2026-10-08 09:06:33 UTC 6,514 bytes, 2 lines download raw bytes

1import{t as e}from"./jsx-runtime-KJkY8l8U.js";import{t}from"./link-D3nZUjiA.js";import{h as n}from"./index-DD07JO8K.js";import{a as r,i,n as a,o,r as s,t as c}from"./post-display-CQIT75eY.js";import{n as l}from"./media-url-G8Cv3Gci.js";var u=e();function d({text:e}){let t=/\[([^\]]+)\]\(([^)\s]+)\)|\*\*([^*]+)\*\*|__([^_]+)__|(?<!\w)_([^_]+)_(?!\w)|`([^`]+)`/g,n=[],r=0,i,a=0;for(;(i=t.exec(e))!==null;){if(i.index>r&&n.push(e.slice(r,i.index)),i[1]&&i[2]){let e=i[2],t=/^https?:\/\//.test(e)&&!e.includes(`frncubo.com`);n.push((0,u.jsx)(`a`,{href:e,...t?{target:`_blank`,rel:`noopener noreferrer`}:{},className:`text-brand-mint underline decoration-brand-mint/40 underline-offset-4 transition-colors hover:decoration-brand-mint`,children:i[1]},a++))}else i[3]||i[4]?n.push((0,u.jsx)(`strong`,{className:`font-semibold text-foreground/85`,children:i[3]??i[4]},a++)):i[5]?n.push((0,u.jsx)(`em`,{children:i[5]},a++)):i[6]&&n.push((0,u.jsx)(`code`,{className:`rounded bg-foreground/10 px-1 py-0.5 font-mono text-[13px]`,children:i[6]},a++));r=t.lastIndex}return r<e.length&&n.push(e.slice(r)),(0,u.jsx)(u.Fragment,{children:n})}function f({md:e}){return e?(0,u.jsx)(`div`,{className:`max-w-3xl space-y-6`,children:e.split(/\n{2,}/).filter(e=>e.trim().length>0).map((e,t)=>{let n=e.split(`
2`).filter(e=>e.trim().length>0),r=/^!\[([^\]]*)\]\(([^)\s]+)(?:\s+"[^"]*")?\)$/.exec(e.trim());if(r){let e=l(r[2]);return e?(0,u.jsx)(`img`,{src:e,alt:r[1]??``,loading:`lazy`,className:`w-full rounded-xl border border-white/10 object-cover`},t):null}if(n.every(e=>e.trim().startsWith(`- `)))return(0,u.jsx)(`ul`,{className:`space-y-3 border-l border-border pl-6`,children:n.map((e,t)=>(0,u.jsx)(`li`,{className:`text-[15px] leading-relaxed text-foreground/65`,children:(0,u.jsx)(d,{text:e.replace(/^\s*-\s*/,``)})},t))},t);let i=n[0]??``,a=/^#{2,4}\s+(.*)$/.exec(i);if(a){let e=n.slice(1).join(` `);return(0,u.jsxs)(`div`,{className:`space-y-3 pt-4`,children:[(0,u.jsx)(`h2`,{className:`font-display text-2xl font-bold tracking-tight`,children:(0,u.jsx)(d,{text:a[1]??``})}),e&&(0,u.jsx)(`p`,{className:`text-[15px] leading-relaxed text-foreground/65`,children:(0,u.jsx)(d,{text:e})})]},t)}return(0,u.jsx)(`p`,{className:`text-[15px] leading-relaxed text-foreground/65`,children:(0,u.jsx)(d,{text:n.join(` `)})},t)})}):null}function p({post:e,className:t=``,eager:n=!1}){let i=a(e);return(0,u.jsxs)(`span`,{className:`relative block overflow-hidden bg-brand-muted ${t}`,children:[r(e.cover_url)?(0,u.jsx)(`img`,{src:r(e.cover_url),alt:``,loading:n?`eager`:`lazy`,className:`size-full object-cover transition-transform duration-[900ms] ease-out group-hover:scale-[1.06]`}):(0,u.jsxs)(`span`,{"aria-hidden":!0,className:`relative grid size-full place-items-center transition-transform duration-[900ms] ease-out group-hover:scale-[1.06]`,style:i.style,children:[(0,u.jsx)(`span`,{className:`absolute inset-0 opacity-[0.18]`,style:{backgroundImage:`repeating-linear-gradient(var(--angle), color-mix(in oklab, var(--color-brand-mint) 60%, transparent) 0 1px, transparent 1px 14px)`,"--angle":`${i.angle}deg`}}),(0,u.jsx)(`span`,{className:`relative font-display text-4xl font-black tracking-tight text-brand-mint/25`,children:`FRN³`})]}),(0,u.jsx)(`span`,{className:`pointer-events-none absolute inset-0 bg-gradient-to-t from-brand-navy/70 via-transparent to-transparent`})]})}function m({post:e,eager:r=!1}){let a=n(e.published_at),l=c(e.author_name),d=i(e),f=s(e,170);return(0,u.jsx)(`article`,{className:`group relative flex h-full flex-col bg-brand-navy outline-1 -outline-offset-1 outline-border transition-colors duration-500 hover:bg-brand-muted/40`,children:(0,u.jsxs)(t,{to:`/$`,params:{_splat:e.path.replace(/^\//,``)},className:`flex h-full flex-col focus-visible:outline-2 focus-visible:outline-brand-mint`,children:[(0,u.jsx)(p,{post:e,eager:r,className:`aspect-[16/10] w-full`}),(0,u.jsxs)(`span`,{className:`flex flex-1 flex-col p-6 md:p-7`,children:[(0,u.jsxs)(`span`,{className:`flex items-center gap-3 text-[10px] font-bold uppercase tracking-[0.2em] text-brand-mint`,children:[e.kind===`case`?`Case`:o(e),a&&(0,u.jsx)(`span`,{className:`font-medium text-foreground
2/35`,children:a})]}),(0,u.jsx)(`h3`,{className:`mt-4 font-display text-lg font-bold leading-snug tracking-tight transition-colors group-hover:text-brand-mint md:text-xl`,children:e.title}),f&&(0,u.jsx)(`span`,{className:`mt-3 line-clamp-3 text-sm leading-relaxed text-foreground/50`,children:f}),(0,u.jsxs)(`span`,{className:`mt-auto flex items-center justify-between gap-4 pt-6 text-[10px] uppercase tracking-widest text-foreground/35`,children:[(0,u.jsx)(`span`,{className:`truncate`,children:l?`Por ${l}`:`FRN³`}),d&&(0,u.jsx)(`span`,{className:`shrink-0`,children:d})]})]})]})})}function h({posts:e}){return e.length?(0,u.jsx)(`div`,{className:`grid gap-px bg-white/5 sm:grid-cols-2 lg:grid-cols-3`,children:e.map((e,t)=>(0,u.jsx)(m,{post:e,eager:t<3},e.id))}):null}function g({post:e,index:r}){let a=n(e.published_at),s=i(e);return(0,u.jsxs)(t,{to:`/$`,params:{_splat:e.path.replace(/^\//,``)},className:`group flex items-start gap-5 border-b border-border py-5 last:border-b-0`,children:[typeof r==`number`&&(0,u.jsx)(`span`,{className:`mt-1 font-display text-xs font-bold tabular-nums text-foreground/25 transition-colors group-hover:text-brand-mint`,children:String(r+1).padStart(2,`0`)}),(0,u.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,u.jsx)(`span`,{className:`text-[10px] font-bold uppercase tracking-[0.2em] text-brand-mint`,children:o(e)}),(0,u.jsx)(`span`,{className:`mt-2 block font-display text-[15px] font-bold leading-snug tracking-tight transition-colors group-hover:text-brand-mint`,children:e.title}),(0,u.jsxs)(`span`,{className:`mt-2 flex gap-4 text-[10px] uppercase tracking-widest text-foreground/30`,children:[a&&(0,u.jsx)(`span`,{children:a}),s&&(0,u.jsx)(`span`,{children:s})]})]}),(0,u.jsx)(p,{post:e,className:`hidden size-16 shrink-0 sm:block`})]})}function _({kicker:e,title:t,subtitle:n}){return(0,u.jsx)(`section`,{className:`border-b border-border px-6 pt-20 pb-16 md:pt-28 md:pb-24`,children:(0,u.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[e&&(0,u.jsx)(`span`,{className:`mb-6 frn-eyebrow`,children:e}),(0,u.jsx)(`h1`,{className:`max-w-4xl font-display text-4xl font-extrabold leading-[1.08] tracking-tight md:text-6xl`,children:t}),n&&(0,u.jsx)(`p`,{className:`mt-6 max-w-2xl text-lg leading-relaxed text-foreground/55`,children:n})]})})}export{g as a,h as i,m as n,f as o,p as r,_ 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.