1import{a as k}from"./chunk-BPOYHNOQ.js";import{c as E,l as b}from"./chunk-IUCSSG42.js";import{$a as u,Ab as P,Bb as s,Da as r,Hb as O,Ib as h,Kb as y,Mb as w,R as g,Ra as _,Tb as x,ab as f,ib as i,jb as a,kb as m,mb as C,rb as v,sb as M,za as p,zb as d}from"./chunk-3COEIBHW.js";function N(t,e){if(t&1&&m(0,"img",2),t&2){let l=M();C("src",h("",l.url,"/assets/",l.data().image,"?quality=25"),p)("alt",O("Bild von ",l.data().title))}}function S(t,e){t&1&&m(0,"img",3)}var A=(()=>{let e=class e{constructor(){this.data=x({announcement:"",article:"",id:0,image:"",date_start:"",title:"",status:"",author:""}),this.router=g(b),this.url=k.cmsUrl}navigateTo(o){this.router.navigateByUrl(o)}openDetails(o){this.router.navigateByUrl(`/news/news-details/${o}`)}};e.\u0275fac=function(c){return new(c||e)},e.\u0275cmp=_({type:e,selectors:[["app-news-card"]],inputs:{data:[1,"data"]},decls:14,vars:7,consts:[["tabindex","0",1,"card",3,"click","keyup.enter"],[1,"card-image"],[3,"src","alt"],["src","./assets/placeholder.jpg","alt",""],[1,"card-content"],[1,"title"],[1,"date"],[1,"announcement"],[1,"details"]],template:function(c,n){c&1&&(i(0,"div",0),v("click",function(){return n.openDetails(n.data().id)})("keyup.enter",function(){return n.openDetails(n.data().id)}),i(1,"div",1),u(2,N,1,5,"img",2)(3,S,1,0,"img",3),a(),i(4,"div",4)(5,"div",5),d(6),a(),i(7,"div",6),d(8),y(9,"date"),a(),i(10,"p",7),d(11),a(),i(12,"div",8),d(13,"zum Artikel"),a()()()),c&2&&(r(2),f(n.data().image?2:3),r(4),P(n.data().title),r(2),s(" ",w(9,4,n.data().date_start,"dd.MM.yyyy")," "),r(3),s(" ",n.data().announcement," "))},dependencies:[E],styles:['.card[_ngcontent-%COMP%]{width:100%;background-color:var(--white);overflow:hidden;border-radius:var(--border-radius);filter:drop-shadow(0 4px 4px rgba(0,0,0,.25));transition:var(--transition);cursor:pointer;height:100%;display:flex;flex-direction:column}.card[_ngcontent-%COMP%]:hover, .card[_ngcontent-%COMP%]:focus{filter:drop-shadow(0 6px 6px rgba(0,0,0,.5))}.card[_ngcontent-%COMP%]:focus-visible{outline-offset:0rem}.card[_ngcontent-%COMP%] .card-image[_ngcontent-%COMP%]{position:relative}.card[_ngcontent-%COMP%] .card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:10rem;object-fit:cover}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:.75rem;height:100%;display:flex;flex-direction:column}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.5rem;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{font-size:.875rem;color:var(--gray-800);margin-bottom:.5rem;font-style:italic}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .announcement[_ngcontent-%COMP%]{margin:.5rem 0 1rem}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{width:fit-content;margin-top:auto;margin-right:auto;color:var(--secondary);font-weight:700;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;transition:var(--transition);position:relative}.card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]:after{transition:var(--transition);content:"";display:block;position:absolute;left:0;bottom:-.125rem;width:0;height:.125rem;background-color:var(--secondary)}:is(.card[_ngcontent-%COMP%]:hover, .card[_ngcontent-%COMP%]:focus) .card-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]:after{width:100%}']});let t=e;return t})();export{A as a};
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.