1import{v as N,d as y,y as v,N as w,s as u}from"./vendor-react-DXl5yvHO.js";import{u as e}from"./vendor-framer-ClXEPeNH.js";import{ah as B,ai as S,aj as k,e as A,ak as q,D as I,q as L,al as P,H as _,$ as j,aa as C,am as T,R as z,r as D,an as H,h as M,F as G,s as R,n as U,ao as $,z as F,a4 as O,ap as Z,Z as E,l as g,A as K}from"./vendor-ui-CZZJDXB1.js";import{a as V}from"./index-CC6RSyUP.js";import{L as J}from"./Layout-DJR8T1D8.js";import{S as Q}from"./SEO-CCrcJd73.js";import{B as W}from"./Button-ChatavpA.js";import X from"./NotFound-Bt-QomFT.js";import{c as h,l as Y,d as ee,a as ae}from"./blog-Cj9KIjMR.js";import{t as te}from"./Footer-wBc3kKVx.js";import"./utils-BpA9bqt-.js";import"./index-ChMn77nr.js";const re=Object.freeze(Object.defineProperty({__proto__:null,Bot:B,Brain:S,Building2:k,Calendar:A,Cpu:q,DollarSign:I,GraduationCap:L,Headphones:P,Heart:_,Lightbulb:j,MessageSquare:C,Network:T,Rocket:z,Settings:D,Shield:H,ShoppingCart:M,Sparkles:G,Star:R,Target:U,TrendingUp:$,Trophy:F,Users:O,UtensilsCrossed:Z,Zap:E},Symbol.toStringTag,{value:"Module"})),fe=()=>{const{language:f}=V(),a=te(f),{slug:i=""}=N(),t=h(a,i),d=t?void 0:h(a==="es"?"en":"es",i),[l,x]=y(null),n=t?.id;if(v(()=>{if(!n)return;let s=!0;return Y(a,n).then(o=>{s&&x(o)}),()=>{s=!1}},[n,a]),d)return e(w,{to:d[a].pathname,replace:!0});if(!t)return e(X,{});const r={...t[a],...l??{}},c=ee(a,t.id),m=t.heroIcon?re[t.heroIcon]:void 0,b=a==="es"?"Volver al blog":"Back to blog",p=t.heroImage??(t.heroGradient?void 0:t.image);return e(J,{children:[e(Q,{title:r.seoTitle,description:r.excerpt,keywords:r.keywords,canonicalUrl:`https://www.teamroma.ai${r.pathname}`,image:t.ogImage||t.image,type:"article",publishDate:t.date,modifiedDate:t.updated,category:r.category,faqItems:r.faq?.length?r.faq:void 0}),e("div",{className:"container mx-auto px-4 pt-32 pb-20",children:e("article",{className:"max-w-4xl mx-auto",children:[e("header",{className:"mb-10",children:[e("h1",{className:"text-4xl md:text-5xl font-bold text-romaBlue mb-6",children:r.title}),e("div",{className:"flex items-center text-gray-600 mb-6",children:[e("span",{className:"mr-4",children:[ae(t.date,a),e("span",{"aria-hidden":"true",children:" · "}),r.readingMinutes," min ",a==="es"?"de lectura":"read"]}),r.category&&e("span",{className:"bg-romaAccent-purple text-white text-sm px-3 py-1 rounded-full",children:r.category})]}),p?e("img",{src:p,alt:r.title,width:"1600",height:"800",className:"w-full aspect-[2/1] object-cover rounded-xl mb-8"}):t.heroGradient&&e("div",{className:`w-full aspect-[2/1] rounded-xl overflow-hidden mb-8 bg-gradient-${t.heroGradient} flex items-center justify-center`,children:e("div",{className:"text-center px-4",children:[m&&e(m,{className:"w-24 h-24 text-white mx-auto mb-4"}),e("span",{className:"text-white text-2xl font-bold",children:r.title})]})})]}),l?e("div",{className:"prose prose-lg max-w-none prose-headings:text-romaBlue prose-a:text-romaAccent-purple prose-strong:text-gray-900 prose-table:text-sm",dangerouslySetInnerHTML:{__html:l.html??""}}):e("div",{className:"space-y-4","aria-hidden":"true",children:[...Array(6)].map((s,o)=>e("div",{className:"h-4 bg-gray-100 rounded animate-pulse",style:{width:`${90-o*6}%`}},o))}),r.faq?.length>0&&e("section",{className:"mt-16",children:[e("h2",{className:"text-2xl font-bold text-romaBlue mb-6",children:a==="es"?"Preguntas frecuentes":"Frequently asked questions"}),e("dl",{className:"space-y-6",children:r.faq.map(s=>e("div",{className:"border-b border-gray-100 pb-6 last:border-0",children:[e("dt",{className:"font-semibold text-romaBlue mb-2",children:s.question}),e("dd",{className:"text-gray-600",children:s.answer})]},s.question))})]}),c.length>0&&e("section",{className:"mt-16 border-t border-gray-100 pt-10",children:[e("h2",{className:"mb-6 text-xl font-bold text-romaBlue",children:a==="es"?"Seguà leyendo":"Keep reading"}),e("div",{className:"grid gap-6 sm:grid-cols-3",children:c.map(s=>e(u,{to:s[a].pathname,className:"group flex flex-col rounded-xl border border-gray-100 bg-white p-5 transition-shadow hover:shadow-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-romaAccent-purple",children:[e("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wider text-romaAccent-purple",children:s[a].category}),e("h3",{className:"line-clamp-3 font-bold leading-snug text-romaBlue group-hover:underline",children:s[a].title}),e("div",{className:"mt-4 flex items-center pt-2 text-xs text-gray-500",children:[s[a].readingMinutes," min",e(g,{size:14,className:"ml-auto text-romaAccent-purple transition-transform motion-safe:group-hover:translate-x-1"})]})]},s.id))})]}),e("div",{className:"mt-16 pt-10 border-t border-gray-100 flex flex-col sm:flex-row items-center justify-between gap-6",children:[e(u,{to:a==="es"?"/blog":"/en/blog",className:"inline-flex items-center font-medium text-romaAccent-purple hover:underline",children:[e(K,{size:16,className:"mr-1"}),b]}),e(W,{variant:"accent",isAnimated:!0,onClick:()=>{window.location.href=a==="es"?"/agendar-demo":"/en/schedule-demo"},children:[a==="es"?"Agendar una demo":"Schedule a demo",e(g,{size:16,className:"ml-2"})]})]})]})})]})};export{fe 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.