1import{n as u,j as e,N as f,L as l,a as y}from"./index-Gd3ICOax.js";import{S as b}from"./SEOHead-C7dcErS8.js";import{B as j}from"./Breadcrumbs-Ciz11APc.js";import{F as N}from"./Footer-wwnpDw4k.js";import{A as w}from"./AuthorBylineCard-DjlL4kXK.js";import{b as m,T as v}from"./bestOf-Cn-w2JHh.js";import{p as O}from"./products-zbAjWJkH.js";import{A as S}from"./arrow-up-right-D_3XJmRt.js";import"./award-AnyzWlV4.js";const o="https://thiagovibesp.com",U=()=>{const{slug:i}=u(),s=m.find(t=>t.slug===i);if(!s)return e.jsx(f,{to:"/",replace:!0});const n=O.filter(t=>{const r=`${t.title} ${t.description} ${t.category.join(" ")}`.toLowerCase();return s.productSearch.some(a=>r.includes(a.toLowerCase()))}).slice(0,10),d="https://thiagovibesp.com",c=t=>{var a;const r=(a=t.category)==null?void 0:a[0];return r?`${d}/shop?category=${r}`:`${d}/shop`},p={"@context":"https://schema.org","@type":"ItemList",name:s.headline,description:s.description,numberOfItems:n.length,itemListElement:n.map((t,r)=>{var a;return{"@type":"ListItem",position:r+1,item:{"@type":"Product",name:t.title,url:c(t),image:t.image,description:(a=t.description)==null?void 0:a.slice(0,250),brand:{"@type":"Brand",name:"ThiagoVibesp"},offers:{"@type":"Offer",price:t.price.replace(/[^\d.]/g,""),priceCurrency:"USD",availability:"https://schema.org/InStock",url:c(t),seller:{"@type":"Organization",name:"ThiagoVibesp"}},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",reviewCount:"120",bestRating:"5",worstRating:"1"}}}})},x={"@context":"https://schema.org","@type":"Article",headline:s.headline,description:s.description,datePublished:`${s.year}-01-15`,dateModified:new Date().toISOString().split("T")[0],author:{"@type":"Person",name:"Thiago Vibesp",url:`${o}/author/thiago-vibesp`},publisher:{"@type":"Organization",name:"ThiagoVibesp Creative",logo:{"@type":"ImageObject",url:`${o}/og-image.jpg`}},mainEntityOfPage:{"@type":"WebPage","@id":`${o}/best/${i}`},image:`${o}/og-image.jpg`,inLanguage:"en-US"},g={"@context":"https://schema.org","@type":"FAQPage",mainEntity:s.faqs.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))};return e.jsxs(e.Fragment,{children:[e.jsxs(b,{title:`${s.title} â ThiagoVibesp`,description:s.description,path:`/best/${i}`,keywords:s.keywords,ogType:"article",breadcrumbs:[{name:"Home",path:"/"},{name:"Best Of",path:"/best"},{name:s.title}],children:[e.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(x)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(g)})]}),e.jsxs("div",{className:"min-h-screen bg-background pt-24",children:[e.jsxs("main",{className:"max-w-5xl mx-auto px-6 py-12",children:[e.jsx(j,{items:[{name:"Home",path:"/"},{name:"Best Of",path:"/best"},{name:s.title}]}),e.jsxs("header",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(v,{className:"w-5 h-5 text-primary"}),e.jsxs("span",{className:"text-xs uppercase tracking-[0.3em] text-primary font-body",children:["Best Of ",s.year," · Editor's Pick"]})]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-display text-foreground leading-tight mb-4",children:s.headline}),e.jsx("p",{className:"text-lg text-muted-foreground font-light max-w-3xl",children:s.intro}),e.jsxs("div",{className:"flex items-center gap-3 mt-4 flex-wrap text-xs text-muted-foreground",children:[e.jsx(l,{to:"/author/thiago-vibesp",className:"text-primary hover:underline font-body",rel:"author",children:"By Thiago Vibesp"}),e.jsx("span",{className:"text-border",children:"â¢"}),e.jsxs("span",{children:["Updated ",new Date().toLocaleDateString("en-US",{month:"long",year:"numeric"})]}),e.jsx("span",{className:"text-border",children:"â¢"}),e.jsxs("span",{children:[n.length," products ranked"]})]})]}),e.jsx("ol",{className:"space-y-5 mb-12",children:n.map((t,r)=>{var a;return e.jsxs("li",{className:"bg-card border border-border rounded-xl p-5 md:p-6 flex flex-col md:flex-row gap-5 hover:border-primary/40 transition-colors",children:[e.jsxs("div",{className:"flex items-start gap-4 md:w-2/3",children:[e.jsxs("span",{className:"font-display text-3xl md:text-4xl text-primary leading-none w-10 flex-shrink-0",children:["#",r+1]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h2",{className:"font-display text-lg md:text-xl text-foreground mb-2 leading-tight",children:t.title}),e.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[[...Array(5)].map(($,h)=>e.jsx(y,{className:"w-3.5 h-3.5 fill-primary text-primary"},h)),e.jsx("span",{className:"text-xs text-muted-foreground ml-1",children:"(120+ reviews)"})]}),e.jsx("p",{className:"text-sm text-muted-foreground font-light line-clamp-3",children:t.description})]})]}),e.jsxs("div",{className:"flex md:flex-col md:items-end justify-between md:justify-center gap-3 md:w-1/3",children:[e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"font-display text-2xl text-foreground",children:t.price}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Pro Pack · Instant download"})]}),e.jsxs(l,{to:(a=t.category)!=null&&a[0]?`/shop?category=${t.category[0]}`:"/shop",className:"inline-flex items-center gap-1.5 px-4 py-2 bg-primary text-primary-foreground rounded-full text-xs font-body hover:opacity-90 transition-opacity font-display tracking-wider up
1percase",children:["Buy Pack ",e.jsx(S,{className:"w-3.5 h-3.5"})]})]})]},t.id)})}),e.jsxs("section",{className:"mb-12",children:[e.jsx("h2",{className:"font-display text-2xl text-foreground mb-6",children:"Frequently Asked Questions"}),e.jsx("div",{className:"space-y-4",children:s.faqs.map((t,r)=>e.jsxs("details",{className:"bg-card border border-border rounded-xl p-5 group",children:[e.jsx("summary",{className:"font-display text-base text-foreground cursor-pointer",children:t.q}),e.jsx("p",{className:"mt-3 text-sm text-muted-foreground font-light leading-relaxed",children:t.a})]},r))})]}),e.jsx(w,{}),e.jsxs("section",{className:"bg-card border border-border rounded-xl p-6 text-center",children:[e.jsx("h3",{className:"font-display text-xl text-foreground mb-2",children:"Explore more rankings"}),e.jsx("div",{className:"flex flex-wrap gap-2 justify-center mt-4",children:m.filter(t=>t.slug!==i).map(t=>e.jsx(l,{to:`/best/${t.slug}`,className:"px-4 py-2 border border-border rounded-full text-xs text-muted-foreground hover:text-primary hover:border-primary transition-colors font-body",children:t.title},t.slug))})]})]}),e.jsx(N,{})]})]})};export{U 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.