1import{_ as e}from"./BmpM1YJP.js";import t from"./Cl1lZoUl.js";import a from"./BkwDfBgA.js";import s from"./DXV_qBhN.js";import l from"./D-ckn98p.js";import{a as o}from"./CmT-SLze.js";import{u as r}from"./CkunOhKy.js";import{u as i}from"./CJ_k6NEi.js";import{l as n,v as d,o as c,c as p,j as u,e as f,d as g,t as m,f as y,g as b,h as x,F as k}from"./Bn2wyuiQ.js";const v={class:"group text-blue flex break-inside-avoid-column flex-col justify-between gap-6 rounded-3xl bg-white p-6 outline-white transition group-hover:outline-2 group-hover:outline-blue-100 lg:min-h-70 lg:p-10 print:outline-2 print:outline-blue-100"},h={key:0,class:"flex flex-row justify-between pb-8 lg:pb-10"},w={key:0,class:"text-copy-small self-start rounded-full bg-blue-50 px-4 pt-1.5 pb-2 font-bold"},j={key:1,class:"text-copy-small self-start rounded-full bg-blue-50 px-4 pt-1.5 pb-2 font-bold"},_={key:1,class:"text-intro break-words"},C={key:0,class:"flex flex-col gap-6 border-t border-blue-100 pt-6"},Y={key:0,class:"md:grid md:grid-cols-2"},z={key:0,class:"flex flex-row items-start gap-2"},P={class:"text-copy font-bold"},D={class:"whitespace-pre-wrap"},F={key:0,class:"whitespace-pre-wrap"},M={key:1,class:"flex flex-row items-start gap-2"},V={class:"text-copy font-bold whitespace-pre-wrap"},B={key:1},E={key:2,class:"line-clamp-4"},L={key:3,class:"flex items-start gap-2"}
1,O={key:1,class:"self-end print:hidden"},S=n({__name:"ContentCard",props:{headline:{default:()=>{}},teaser:{default:()=>{}},category:{default:()=>{}},date:{default:()=>{}},index:{default:()=>{}},slug:{default:()=>{}},location:{default:()=>{}},time:{default:()=>{}},info:{default:()=>{}},link:{default:()=>{}},page:{type:Boolean,default:!1}},async setup(n){let S,T;const W=r();function X(e){return W(e).format("DD.MM.YYYY")}const Z=([S,T]=d(()=>i()),S=await S,T(),S);return(r,i)=>{const d=e,S=t,T=a,q=s,A=l;return c(),p(k,null,["podcast"===n.category&&n.link?(c(),u(d,{key:0,to:n.link,title:n.headline??void 0,class:"absolute inset-0"},null,8,["to","title"])):n.link?(c(),u(d,{key:1,to:n.link,title:n.headline??void 0,target:"_blank",class:"absolute inset-0"},null,8,["to","title"])):"seminar"===n.category&&!n.page||"veranstaltung"===n.category&&!n.page?(c(),u(d,{key:2})):(c(),u(d,{key:3,to:f(o)(n.slug??""),title:n.headline??void 0,class:"absolute inset-0"},null,8,["to","title"])),g("div",v,[g("div",null,[n.category?(c(),p("div",h,[n.category||n.date?(c(),p("p",w,m("press_release"===n.category?"Pressemitteilung":f(Z)[n.category]?f(Z)[n.category]:"podcast"===n.category?"Podcast":"Thema"),1)):y("",!0),n.date?(c(),p("p",j,m(X(n.date)),1)):y("",!0)])):y("",!0),n.headline?(c(),p("p",_,m(n.headline),1)):y("",!0)]),"seminar"===n.category||"event"===n.category||"podcast"===n.category||n.info||n.teaser?(c(),p("div",C,["seminar"===n.category||"event"===n.category?(c(),p("div",Y,[n.date?(c(),p("div",z,[b(S,{class:"mt-0.5 !size-5 shrink-0"}),g("div",P,[g("p",D,m((G=n.date,W(G).format("dddd")))+", "+m(X(n.date)),1),n.time?(c(),p("p",F,m(n.time),1)):y("",!0)])])):y("",!0),n.location?(c(),p("div",M,[b(T,{class:"mt-0.5 !size-5 shrink-0"}),g("p",V,m(n.location),1)])):y("",!0)])):y("",!0),n.info?(c(),p("p",B,m(n.info),1)):y("",!0),n.teaser&&"seminar"!==n.category&&"event"!==n.category?(c(),p("p",E,m(n.teaser),1)):y("",!0),"podcast"===n.category?(c(),p("div",L,[b(q,{class:"text-secondary mt-0.5"}),i[0]||(i[0]=g("span",null,"Für Eigentümer und Vermieter im Ländle",-1))])):y("",!0)])):y("",!0),n.page?(c(),p("div",O,[b(d,{to:f(o)(n.slug??""),title:n.headline??void 0,class:"text-secondary group-hover:bg-secondary group-hover:border-secondary text-blue border-secondary text-button flex inline-flex items-center rounded-full border-2 p-3 transition group-hover:text-white"},{default:x(()=>[b(A,{class:"!size-5"})]),_:1},8,["to","title"])])):y("",!0)])],64);var G}}}),T=Object.assign(S,{__name:"ContentCard"});export{T as _};
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.