1import{_ as p}from"./CkjFgSEW.js";import{u as _}from"./Cmwpsbzs.js";import{d,m as f,w as A,c as k,o as w,b as y,e as h,n as b,i as l,u as S,a as c,g as x}from"./inRouC80.js";import{u as B}from"./CwmhyrO5.js";import{a as v,b as C}from"./BbgD64r4.js";import"./DhdJPyET.js";import"./B_tYv93t.js";import"./DM5jvuen.js";import"./CJLFrdXp.js";import"./C6TBuN9m.js";import"./Dz-Y5zTk.js";import"./D4ebpbr4.js";import"./CgF3q_iM.js";import"./Re9rJSKi.js";import"./D6rFk8DM.js";import"./DTEIAu8A.js";import"./Bchbi_pn.js";import"./Cv0bB5Wk.js";const Q=d({__name:"[slug]",async setup($){let t,o;const s=f().params.slug,{data:a,error:n}=([t,o]=A(async()=>S(`article-${s}`,async()=>{const[r,i]=await Promise.all([c().getEntryBySlug("articles",s),c().getSuggested("articles",s)]);return{article:r,suggestedArticles:i}})),t=await t,o(),t);if(n.value||!a.value?.article)throw k({statusCode:404,statusMessage:"pageNotFound"});const e=a.value?.article,u=a.value?.suggestedArticles,m=[{title:"Startseite",link:"/"},{title:"Alle Artikel",link:v()},{title:e.article_channel?.title??"Bereich",link:C(`${e.article_channel?.slug}`)},{title:"Artikel",link:`/a/${e.slug}/`}];return w(()=>{_(e.page_tracking_type??"Article Detail")}),y(e?{title:e.seo_title??e.title,description:e.seo_description??"",ogTitle:e.og_title??e.title,ogDescription:e.og_description??"",ogImage:e.og_image?h(e.og_image,!0):"",robots:B({seo_noindex:e.seo_noindex,seo_nofollow:e.seo_nofollow})}:{}),(r,i)=>{const g=p;return x(),b(g,{article:l(e),"suggested-article":l(u),breadcrumbs:m,"is-news-page":!1},null,8,["article","suggested-article"])}}});export{Q 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.