PageSourceSearch

https://medsurgurgentcare.com/assets/es.blogs._slug-BtxJ1j7H.js

js medsurgurgentcare.com collected 2026-10-08 07:16:04 UTC 4,026 bytes, 9 lines download raw bytes

1import{a9 as m,E as a,j as e,L as n,C as d,I as c}from"./index-D3hGzRGa.js";import{C as i}from"./chevron-right-ChCNb7Af.js";import{U as p}from"./user-qS7fPrEg.js";function b(){const{post:t}=m.useLoaderData(),r=`${a}/es/blogs/${t.slug}`,l={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Inicio",item:a},{"@type":"ListItem",position:2,name:"Recursos para pacientes",item:`${a}/es/patient-resources`},{"@type":"ListItem",position:3,name:"Blog",item:`${a}/es/blogs`},{"@type":"ListItem",position:4,name:t.title,item:r}]},o={"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.metaDescription??t.summary,image:t.image?[t.image]:[],author:{"@type":"Organization",name:t.author},publisher:{"@type":"Organization",name:"MedSurg Urgent Care",logo:{"@type":"ImageObject",url:`${a}/medsurg-logo.png`}},datePublished:t.publishedAt,dateModified:t.updatedAt??t.publishedAt,mainEntityOfPage:{"@type":"WebPage","@id":r}};return e.jsxs(e.Fragment,{children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}}),e.jsx("nav",{"aria-label":"Ruta de navegación",className:"bg-surface border-b border-border",children:e.jsxs("div",{className:"container-page py-3 text-sm text-muted-foreground flex items-center gap-1.5 flex-wrap",children:[e.jsx(n,{to:"/es",className:"hover:text-foreground",children:"Inicio"}),e.jsx(i,{className:"h-3.5 w-3.5"}),e.jsx(n,{to:"/es/patient-resources",className:"hover:text-foreground",children:"Recursos para pacientes"}),e.jsx(i,{className:"h-3.5 w-3.5"}),e.jsx(n,{to:"/es/blogs",className:"hover:text-foreground",children:"Blog"}),e.jsx(i,{className:"h-3.5 w-3.5"}),e.jsx("span",{className:"text-foreground font-medium truncate max-w-[200px] sm:max-w-xs",children:t.title})]})}),e.jsxs("article",{className:"container-page py-12 md:py-16 max-w-3xl",children:[e.jsx("span",{className:"pill",children:t.category}),e.jsx("h1",{className:"mt-4 text-3xl md:text-4xl lg:text-5xl font-bold leading-tight",children:t.title}),e.jsxs("div",{className:"mt-5 flex flex-wrap items-center gap-4 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"h-4 w-4"}),g(t.publishedAt)]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(p,{className:"h-4 w-4"}),t.author]})]}),e.jsx("p",{className:"mt-6 text-sm text-muted-foreground",children:"Nota: Este artículo está disponible en inglés. La navegación de la página se muestra en español."}),t.image&&e.jsx("img",{src:t.image,alt:t.title,width:1200,height:675,className:"mt-6 w-full rounded-xl border border-border object-cover"}),e.jsx("div",{className:`mt-6 max-w-none text-foreground leading-relaxed
2            [&_h2]:text-xl [&_h2]:font-bold [&_h2]:mt-8 [&_h2]:mb-3
3            [&_p]:mb-4
4            [&_a]:text-primary [&_a]:underline
5            [&_table]:w-full [&_table]:my-6 [&_table]:text-sm [&_table]:border [&_table]:border-border
6            [&_th]:border [&_th]:border-border [&_th]:bg-surface [&_th]:p-2 [&_th]:text-left
7            [&_td]:border [&_td]:border-border [&_td]:p-2
8            [&_ul]:list-disc [&_ul]:pl-5 [&_ul]:space-y-1 [&_ul]:mb-4
9            [&_li]:mb-1`,dangerouslySetInnerHTML:{__html:t.content}}),e.jsxs("div",{className:"mt-12 pt-8 border-t border-border",children:[e.jsx("h2",{className:"text-xl font-bold",children:"Más del blog"}),e.jsx("div",{className:"mt-4 grid gap-3 sm:grid-cols-2",children:c.filter(s=>s.slug!==t.slug).slice(0,2).map(s=>e.jsx(n,{to:"/es/blogs/$slug",params:{slug:s.slug},className:"card-surface p-4 text-sm font-medium hover:border-primary/40",children:s.title},s.slug))})]})]})]})}function g(t){const[r,l,o]=t.split("-").map(Number);return new Date(Date.UTC(r,(l??1)-1,o??1)).toLocaleDateString("es-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}export{b as component};

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.