import{A as g,B as _,E as h,G as u,H as p,I as a,y as t,Z as o,Y as v,K as w,M as y,N as c,O as s,P as b,ar as V,a1 as k,ab as l,L as d,a0 as x,_ as C}from"./index-lCRwTiBk.js";import{G as B,_ as I}from"./BlogAuthorAndMetaInfo.vue_vue_type_script_setup_true_lang-CuSY_8pt.js";import{u as A}from"./vue.f36acd1f-DPCG9g2X.js";import{V as m}from"./VContainer-Dh2-a32C.js";const H=g({__name:"SinglePostView",setup(N){const n=_(),f=new B({url:"https://areaone.digitalpress.blog",key:"123be14cd41620afc3577a54a0",version:"v5.0"}),e=h({authors:"",custom_excerpt:"",description:"",feature_image:"",html:"",image:"",published_at:"",tags:[{name:""}],title:"",updated_at:""});return f.posts.read({slug:n.params.slug},{include:["tags","authors"]}).then(r=>{e.value=r}).catch(r=>{console.error(r)}),A({link:[{rel:"canonical",href:"https://www.areaone.io/blog/"+n.params.slug+"/"}],title:e.value.title,meta:[{name:"description",content:"Finde Auswertungen und Guidelines zur Suche von Häusern und Wohnungen. Egal ob Mieten oder Kaufen, wir bieten dir Informationen, die dich weiterbringen und die du bei unserer Immobiliensuche direkt anwenden kannst."},{property:"og:title",content:e.value.title},{property:"og:image",content:e.value.image},{property:"og:description",content:e.value.description},{property:"og:locale",content:"de"},{property:"og:site_name",content:"AreaOne.io"},{property:"og:type",content:"article"},{property:"og:url",content:"https://www.areaone.io/blog/"+n.params.slug+"/"},{property:"article:published_time",content:e.value.published_at},{property:"article:modified_time",content:e.value.updated_at},{property:"twitter:card",content:"summary"},{property:"twitter:site",content:"@areaoneio"},{property:"twitter:image",content:e.value.image},{property:"twitter:url",content:"https://www.areaone.io/blog/"+n.params.slug+"/"},{property:"twitter:title",content:e.value.title},{property:"twitter:description",content:e.value.description},{property:"robots",content:"index,follow"}]}),(r,i)=>(u(),p(m,{class:"pl-1 pr-0 pt-6 ma-0",fluid:""},{default:a(()=>[t(o,{align:"center",justify:"center"},{default:a(()=>[e.value.authors?(u(),p(v,{key:0,class:"v-col-10 v-col-lg-5"},{default:a(()=>[t(o,{class:"justify-start pb-2"},{default:a(()=>[t(w,{class:"text-none pl-0",plain:"",variant:"text",onClick:i[0]||(i[0]=G=>r.$router.push("/blog/"))},{default:a(()=>[t(y,{class:"mr-2"},{default:a(()=>[c(s(b(V)),1)]),_:1}),c(" "+s(r.$t("common.backButton")),1)]),_:1})]),_:1}),t(o,null,{default:a(()=>[t(k,{eager:!0,src:e.value.feature_image,class:"customBorder","lazy-src":"https://picsum.photos/id/11/10/6","max-height":"50vh"},null,8,["src"])]),_:1}),t(I,{post:e.value,class:"pt-5 v-col-12 v-col-md-8"},null,8,["post"]),t(o,null,{default:a(()=>[t(l,{flat:""},{default:a(()=>[d("h1",null,s(e.value.title),1)]),_:1})]),_:1}),t(o,{class:"pt-5"},{default:a(()=>[t(l,{flat:""},{default:a(()=>[d("p",null,s(e.value.custom_excerpt),1)]),_:1})]),_:1}),t(o,{class:"mt-10"},{default:a(()=>[t(l,{flat:"",innerHTML:e.value.html},null,8,["innerHTML"])]),_:1})]),_:1})):x("",!0)]),_:1}),t(o,{class:"mb-16"},{default:a(()=>[t(m)]),_:1})]),_:1}))}}),$=C(H,[["__scopeId","data-v-110f0bb0"]]);export{$ as default};