1import{j as e,m as r}from"./vendor-motion-1V737ylI.js";import{h as m,N as d,L as p}from"./vendor-react-BxT8pxNE.js";import{c as a,u as x,S as g,H as h,F as u}from"./index-C_GaFF9z.js";import{g as y,C as f}from"./blogPosts-CUh6cQXx.js";import{C as b}from"./clock-CLG2QsHA.js";import"./vendor-query-KuO_nU1i.js";import"./vendor-supabase-Hcsneau6.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const j=a("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const N=a("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),w={es:"es-AR",en:"en-US",pt:"pt-BR"};function R(){const{slug:i}=m(),{t:o,language:s}=x(),t=y(s).find(c=>c.slug===i);if(!t)return e.jsx(d,{to:"/blog",replace:!0});const n={"@context":"https://schema.org","@type":"Article",headline:t.title,image:[`https://deepagro.com${t.image}`],datePublished:t.date,dateModified:t.date,author:[{"@type":"Person",name:t.author,jobTitle:t.authorRole,sameAs:"https://www.linkedin.com/in/juanmanuelbaruffaldi/"}],publisher:{"@id":"https://deepagro.com/#organization"},abstract:t.excerpt,breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Inicio",item:"https://deepagro.com"},{"@type":"ListItem",position:2,name:"Blog",item:"https://deepagro.com/blog"},{"@type":"ListItem",position:3,name:t.title,item:`https://deepagro.com/blog/${t.slug}`}]}},l=()=>{navigator.share&&navigator.share({title:t.title,text:t.excerpt,url:window.location.href}).catch(console.error)};return e.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[e.jsx(g,{title:`${t.title} | Blog DeepAgro®`,description:t.excerpt,canonical:`/blog/${t.slug}`,structuredData:n}),e.jsx(h,{}),e.jsx("main",{className:"flex-grow pt-24 pb-20",children:e.jsxs("article",{className:"container mx-auto px-4 max-w-4xl",children:[e.jsxs(p,{to:"/blog",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-primary transition-colors mb-8",children:[e.jsx(j,{className:"w-4 h-4"}),o.blog.backToBlog]}),e.jsxs("header",{className:"mb-12",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-sm text-muted-foreground mb-6",children:[e.jsx("span",{className:"bg-primary/10 text-primary font-bold px-3 py-1 rounded-full border border-primary/20",children:t.category}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(f,{className:"w-4 h-4"}),new Date(t.date).toLocaleDateString(w[s]||"es-AR",{day:"numeric",month:"long",year:"numeric"})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(b,{className:"w-4 h-4"}),t.readTime]})]}),e.jsx(r.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground leading-tight mb-8",children:t.title}),e.jsxs(r.div,{initial:{opacity:0}
11,animate:{opacity:1},transition:{delay:.2},className:"flex items-center justify-between py-6 border-y border-border/50",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary font-bold text-lg uppercase",children:t.author.charAt(0)}),e.jsxs("div",{children:[e.jsx("p",{className:"font-bold text-foreground text-lg",children:t.author}),e.jsx("p",{className:"text-muted-foreground text-sm",children:t.authorRole})]})]}),e.jsx("button",{onClick:l,className:"w-10 h-10 rounded-full bg-secondary flex items-center justify-center text-foreground hover:bg-primary hover:text-primary-foreground transition-colors",title:o.blog.shareArticle,children:e.jsx(N,{className:"w-5 h-5"})})]})]}),e.jsx(r.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{delay:.3},className:"rounded-3xl overflow-hidden mb-12 aspect-[21/9] bg-card",children:e.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover",loading:"lazy"})}),e.jsx(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:`prose prose-lg prose-invert max-w-none 12 prose-headings:text-foreground prose-headings:font-bold prose-headings:tracking-tight 13 prose-h2:text-4xl prose-h2:mt-16 prose-h2:mb-8 prose-h2:text-primary/90 14 prose-h3:text-2xl prose-h3:mt-10 prose-h3:mb-6 prose-h3:text-foreground/90 15 prose-p:text-muted-foreground prose-p:leading-loose prose-p:mb-8 prose-p:text-lg 16 prose-a:text-primary prose-a:no-underline hover:prose-a:underline 17 prose-ul:text-muted-foreground prose-ul:mb-8 prose-ul:text-lg prose-ul:leading-loose 18 prose-li:mb-3 19 prose-strong:text-foreground prose-strong:font-bold`,dangerouslySetInnerHTML:{__html:t.content}})]})}),e.jsx(u,{})]})}export{R 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.