1import{h as D,n as G}from"./chunk-XTZKRUO6.js";import{b as W,r as z}from"./chunk-NHALPIJI.js";import{Ca as i,Gb as p,Hb as C,Ib as x,Mb as E,Nb as b,Pa as S,Pb as P,Q as h,Rb as k,Ta as I,Tb as R,W as y,X as L,Ya as u,Za as s,_a as l,bb as A,cb as F,db as c,eb as o,fb as _,gb as f,kb as O,la as v,qb as m,tb as $,vb as r,za as w}from"./chunk-B6JJDYZC.js";var X=e=>["/news",e],U=(e,a)=>a.documentId;function V(e,a){if(e&1&&f(0,"img",15),e&2){let t=r();c("src",a,w)("alt",t.title);}}function Y(e,a){if(e&1&&(o(0,"time",18),p(1),b(2,"date"),_()),e&2){let t=r(),n=r(2);u("datetime",t.published),i(),x(" ",P(2,2,t.published,n.dateFormat())," ");}}function q(e,a){if(e&1&&(o(0,"p",20),p(1),_()),e&2){let t=r();i(),C(t.abstract);}}function H(e,a){if(e&1&&(o(0,"article",10)(1,"div",14),s(2,V,1,2,"img",15),o(3,"span",16),m(4,1),_()(),o(5,"div",17),s(6,Y,3,5,"time",18),o(7,"h2",19),p(8),_(),s(9,q,2,1,"p",20),_()()),e&2){let t,n=a,d=r(2);c("routerLink",E(5,X,n.slug)),i(2),l((t=d.cms.resolveMediaUrl(n.media))?2:-1,t),i(4),l(n.published?6:-1),i(2),C(n.title),i(),l(n.abstract?9:-1);}}
1function J(e,a){if(e&1&&(o(0,"div",22),f(1,"img",28),_()),e&2){let t=r().$implicit;i(),c("src",a,w)("alt",t.title);}}function K(e,a){if(e&1&&(o(0,"time",24),p(1),b(2,"date"),_()),e&2){let t=r().$implicit,n=r(3);u("datetime",t.published),i(),x(" ",P(2,2,t.published,n.dateFormat())," ");}}function Q(e,a){if(e&1&&(o(0,"p",26),p(1),_()),e&2){let t=r().$implicit;i(),C(t.abstract);}}function Z(e,a){if(e&1&&(o(0,"article",21),s(1,J,2,2,"div",22),o(2,"div",23),s(3,K,3,5,"time",24),o(4,"h3",25),p(5),_(),s(6,Q,2,1,"p",26),o(7,"a",27),m(8,2),_()()()),e&2){let t,n=a.$implicit,d=r(3);i(),l((t=d.cms.resolveMediaUrl(n.media))?1:-1,t),i(2),l(n.published?3:-1),i(2),C(n.title),i(),l(n.abstract?6:-1),i(),c("routerLink",E(5,X,n.slug));}}function ee(e,a){if(e&1&&(o(0,"div",11),A(1,Z,9,7,"article",21,U),_()),e&2){let t=r(2);i(),F(t.rest());}}function te(e,a){if(e&1){let t=O();o(0,"div",29),$("intersecting",function(){y(t);let d=r(2);return L(d.loadMore());}),_();}}function ne(e,a){e&1&&(o(0,"p",13),m(1,3),_());}function ie(e,a){if(e&1&&(s(0,H,10,7,"article",10),s(1,ee,3,0,"div",11),s(2,te,1,0,"div",12),s(3,ne,2,0,"p",13)),e&2){let t,n=r();l((t=n.featured())?0:-1,t),i(),l(n.rest().length?1:-1),i(),l(n.hasMore()?2:-1),i(),l(n.loading()?3:-1);}}function oe(e,a){e&1&&(o(0,"div",9)(1,"h2"),m(2,4),_(),o(3,"p"),m(4,5),_()());}var j=(()=>{class e extends G{localeId=h(k);dateFormat=R(()=>this.localeId.toLowerCase().startsWith("hu")?"yyyy.MM.dd.":"mediumDate");static ɵfac=(()=>{let t;return function(d){return(t||(t=v(e)))(d||e);};})();static ɵcmp=S({type:e,selectors:[["fea-news-list"]],features:[I],decls:6,vars:1,consts:()=>{let t;t="News";let n;n="Featured news";let d;d=" Read more \u2192 ";let M;M=" Loading more news\u2026 ";let T;T="No news articles yet";let N;return N=" We're working on bringing you the latest updates. Please check back soon. ",[t,n,d,M,T,N,["aria-labelledby","news-heading",1,"news-page"],[1,"news-page__header"],["id","news-heading"],["role","status","aria-live","polite",1,"news-empty"],[1,"news-featured",3,"routerLink"],[1,"news-grid"],["libInfiniteScroll","","aria-hidden","true",1,"news-sentinel"],["role","status","aria-live","polite",1,"news-loading"],[1,"news-featured__media"],["loading","eager","decoding","async",3,"src","alt"],[1,"news-featured__badge"],[1,"news-featured__body"],[1,"news-featured__date"],[1,"news-featured__title"],[1,"news-featured__abstract"],[1,"news-card"],[1,"news-card__media"],[1,"news-card__body"],[1,"news-card__date"],[1,"news-card__title"],[1,"news-card__abstract"],[1,"news-card__btn",3,"routerLink"],["loading","lazy","decoding","async",3,"src","alt"],["libInfiniteScroll","","aria-hidden","true",1,"news-sentinel",3,"intersecting"]];},template:function(n,d){n&1&&(o(0,"section",6)(1,"header",7)(2,"h1",8),m(3,0),_()(),s(4,ie,4,4)(5,oe,5,0,"div",9),_()),n&2&&(i(4),l(d.articles().length?4:5));},dependencies:[z,D,W],styles:['@charset "UTF-8";.news-page[_ngcontent-%COMP%]{padding:3rem 1.5rem 4rem;max-width:1280px;margin:0 auto}.news-page__header[_ngcontent-%COMP%]{text-align:center;margin-bottom:2.5rem}.news-page__header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;color:#063a4d}.news-featured[_ngcontent-%COMP%]{display:flex;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 24px #0000001a;margin-bottom:3rem;cursor:pointer;text-decoration:none;color:inherit;transition:box-shadow .2s ease,transform .2s ease}.news-featured[_ngcontent-%COMP%]:hover{box-shadow:0 8px 32px #00000026;transform:translateY(-2px)}.news-featured__media[_ngcontent-%COMP%]{position:relative;flex:0 0 50%;min-height:280px;overflow:hidden}.news-featured__media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}.news-featured__badge[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem;background:#e8f5e0;color:#70c14a;font-size:.9375rem;font-weight:700;padding:.35rem .9rem;border-radius:8px;white-space:nowrap}.news-featured__body[_ngcontent-%COMP%]{flex:1;padding:2rem 2.25rem;display:flex;flex-direction:column;justify-content:center}.news-featured__date[_ngcontent-%COMP%]{display:inline-block;align-self:flex-start;font-size:.8125rem;font-weight:600;color:#063a4d;background:#eef0f2;padding:.4rem .9rem;border-radius:9999px;margin-bottom:.9rem}.news-featured__title[_ngcontent-%COMP%]{margin:0 0 .9rem;font-size:clamp(1.1rem,2vw,1.4rem);font-weight:800;line-height:1.35;color:#063a4d;text-align:justify}.news-featured__abstract[_ngcontent-%COMP%]{margin:0;font-size:.9375rem;line-height:1.7;color:#444748;text-align:justify;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.news-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.news-card[_ngcontent-%COMP%]{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 24px #0000001a;display:flex;flex-direction:column;
1transition:box-shadow .2s ease,transform .2s ease}.news-card[_ngcontent-%COMP%]:hover{box-shadow:0 8px 32px #00000026;transform:translateY(-2px)}.news-card__media[_ngcontent-%COMP%]{aspect-ratio:16/9;overflow:hidden}.news-card__media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}.news-card__body[_ngcontent-%COMP%]{padding:1.5rem;display:flex;flex-direction:column;flex:1}.news-card__date[_ngcontent-%COMP%]{display:inline-block;font-size:.8125rem;font-weight:600;color:#063a4d;background:#eef0f2;padding:.4rem .9rem;border-radius:9999px;margin-bottom:.75rem;align-self:flex-start}.news-card__title[_ngcontent-%COMP%]{margin:0 0 .6rem;font-size:1rem;font-weight:700;line-height:1.4;color:#063a4d;text-align:justify}.news-card__abstract[_ngcontent-%COMP%]{color:#444748;font-size:.9375rem;line-height:1.65;text-align:justify;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;flex:1;margin:0 0 1.25rem}.news-card__btn[_ngcontent-%COMP%]{display:inline-block;padding:.7rem 1.5rem;background:#70c14a;color:#fff;font-size:.9375rem;font-weight:600;border-radius:9999px;text-decoration:none;align-self:flex-start;transition:background .2s ease}.news-card__btn[_ngcontent-%COMP%]:hover, .news-card__btn[_ngcontent-%COMP%]:focus-visible{background:#5ba03b}.news-card__btn[_ngcontent-%COMP%]:focus-visible{outline:2px solid #70c14a;outline-offset:2px}.news-empty[_ngcontent-%COMP%]{text-align:center;padding:4rem 1rem;color:#666}@media(max-width:1024px){.news-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.news-featured[_ngcontent-%COMP%]{flex-direction:column}.news-featured__media[_ngcontent-%COMP%]{flex:none;min-height:220px}.news-featured__body[_ngcontent-%COMP%]{padding:1.5rem}.news-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}'],changeDetection:0});}return e;})();var pe=(()=>{class e{static ɵfac=function(n){return new(n||e)();};static ɵcmp=S({type:e,selectors:[["app-news"]],decls:1,vars:1,consts:[[3,"pageSize"]],template:function(n,d){n&1&&f(0,"fea-news-list",0),n&2&&c("pageSize",12);},dependencies:[j],encapsulation:2,changeDetection:0});}return e;})();export{pe as default};/**i18n:0e4247f1d6c7a55aa66a1c5585411754ea11b71bf92f6aa34cfedb7036922b80*/
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.