PageSourceSearch

https://www.dentaltix.com/_nuxt/BJAWxzNM.js

js dentaltix.com collected 2026-09-24 22:06:57 UTC 4,942 bytes, 1 lines download raw bytes

1import{_ as H}from"./fNOEZ1sw.js";import{d as N,m as i,b as f,F as $,p as B,f as s,a as C,g as O,s as S,t as c,y as P,M as V,D as T,U as j,x as z,O as D,bx as A,e as t,af as E,h as o,i as y,c as h,by as R,bz as Z}from"#entry";import{_ as q}from"./C5mR4VYj.js";import{_ as J}from"./yewt7Bo3.js";import{messages as W}from"./DHXrQU4S.js";import"./BveF7C0p.js";import"./Bx9gnSIf.js";const G={key:0,"aria-label":"Categorías relacionadas",class:"flex flex-col gap-3"},K=N({__name:"index",props:{links:{}},setup(u){return(g,m)=>{const d=P;return u.links?.length?(s(),i("nav",G,[(s(!0),i($,null,B(u.links,l=>(s(),C(d,{key:`${l.url}-${l.text}`,to:l.url,class:"block text-secondary font-bold text-sm leading-snug hover:underline"},{default:O(()=>[S(c(l.text),1)]),_:2},1032,["to"]))),128))])):f("",!0)}}}),Q=Object.assign(K,{__name:"BlogCategoryLinks"}),X={key:0,class:"container mx-auto px-4 py-8 max-w-4xl animate-pulse"},Y={key:1},ee={class:"relative container mx-auto px-4 py-8 max-w-4xl"},te={class:"mb-8"},ae={class:"text-primary font-bold text-3xl md:text-4xl leading-tight mb-4"},ne=["datetime"],se={class:"flex flex-wrap gap-2 mt-4"},oe=["innerHTML"],ie={key:0,class:"mt-10 border-t border-gray-100 pt-6 min-[1400px]:absolute min-[1400px]:top-8 min-[1400px]:right-full min-[1400px]:mr-8 min-[1400px]:mt-0 min-[1400px]:w-52 min-[1400px]:border-t-0 min-[1400px]:pt-0"},re={key:2,class:"container mx-auto px-4 py-16 text-center"},le={class:"text-2xl font-bold text-gray-600 mb-4"},ve=N({__name:"index",setup(u){const g=V(),{t:m}=T({messages:W}),{locale:d}=T(),l=h(()=>g.params.slug),{data:w,status:U}=j(()=>`/api/blog/${encodeURIComponent(l.value)}?lang=${d.value}`,"$ZrkDp48Aq1"),n=h(()=>w.value?.data);function I(e){return new Date(e).toLocaleDateString(d.value,{day:"2-digit",month:"long",year:"numeric",timeZone:"Europe/Madrid"})}const p=z(),M=p.public.siteUrl,_=p.public.siteName,k=p.public.logoUrl,a=h(()=>{const e=n.value;if(!e)return null;const r=e.title,v=R(e.excerpt),x=`${M}${g.path}`,b=e.image.src||k;return{a:e,fullTitle:r,description:v,canonical:x,image:b}});return D(()=>{const e=a.value;return e?{title:e.fullTitle,link:[{rel:"canonical",href:e.canonical}]}:{}}),A({description:()=>a.value?.description,ogTitle:()=>a.value?.fullTitle,ogDescription:()=>a.value?.description,ogImage:()=>a.value?.image,ogImageAlt:()=>a.value?.a.image.alt,ogType:"article",ogUrl:()=>a.value?.canonical,ogSiteName:_,ogLocale:()=>Z(d.value),articlePublishedTime:()=>a.value?.a.date,twitterCard:"summary_large_image",twitterSite:"@Dentaltix",twitterTitle:()=>a.value?.fullTitle,twitterDescription:()=>a.value?.description,twitterImage:()=>a.value?.image}),D(()=>{const e=a.value;if(!e)return{};const r={"@context":"https://schema.org","@type":"BlogPosting",headline:e.a.title,description:e.a.excerpt,image:e.image,datePublished:e.a.date,author:{"@type":"Organization",name:_},publisher:{"@type":"Organization",name:_,logo:{"@type":"ImageObject",url:k}},mainEntityOfPage:{"@type":"WebPage","@id":e.canonical}};return{script:[{type:"application/ld+json",innerHTML:JSON.stringify(r)}]}}),(e,r)=>{const v=H,x=Q,b=q,F=J;return t(U)==="pending"?(s(),i("div",X,[...r[0]||(r[0]=[E('<div class="h-4 bg-gray-200 rounded w-28 mb-4"></div><div class="h-8 bg-gray-200 rounded w-full mb-2"></div><div class="h-8 bg-gray-200 rounded w-3/4 mb-4"></div><div class="h-4 bg-gray-200 rounded w-40 mb-4"></div><div class="flex gap-2 mb-8"><div class="h-6 bg-gray-200 rounded w-20"></div><div class="h-6 bg-gray-200 rounded w-24"></div><div class="h-6 bg-gray-200 rounded w-16"></div></div><div class="aspect-[16/9] bg-gray-200 rounded-lg mb-8"></div><div class="space-y-4"><div class="h-4 bg-gray-200 rounded w-full"></div><div class="h-4 bg-gray-200 rounded w-full"></div><div class="h-4 bg-gray-200 rounded w-5/6"></div><div class="h-4 bg-gray-200 rounded w-full"></div><div class="h-4 bg-gray-200 rounded w-4/5"></div><div class="h-6 bg-gray-200 rounded w-1/2 mt-8"></div><div class="h-4 bg-gray-200 rounded w-full"></div><div class="h-4 bg-gray-200 rounded w-full"></div><div class="h-4 bg-gray-200 rounded w-3/4"></div></div>',7)])])):t(w)?.ok&&t(n)?(s(),i("div",Y,[t(n).breadcrumbs?.length?(s(),C(v,{key:0,items:t(n).breadcrumbs},null,8,["items"])):f("",!0),o("div",ee,[o("article",null,[o("header",te,[o("h1",ae,c(t(n).title),1),o("time",{class:"text-gray-500 text-sm",datetime:t(n).date}
1,c(I(t(n).date)),9,ne),o("div",se,[(s(!0),i($,null,B(t(n).tags,L=>(s(),i("span",{key:L,class:"text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded"},c(L),1))),128))])]),o("div",{class:"prose prose-lg max-w-none blog-content legacy-content",innerHTML:t(n).content},null,8,oe)]),t(n).categoryLinks?.length?(s(),i("aside",ie,[y(x,{links:t(n).categoryLinks},null,8,["links"])])):f("",!0)]),y(b)])):(s(),i("div",re,[o("h1",le,c(t(m)("notFound")),1),y(F,{to:"/blog",class:"text-primary hover:underline"},{default:O(()=>[S(c(t(m)("backToBlog")),1)]),_:1})]))}}});export{ve 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.