1"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3482],{6648:(x,S,e)=>{e.d(S,{M:()=>w});var y=e(6895),n=e(4650),d=e(6058),b=e(2113);function I(h,C){if(1&h){const u=n.EpF();n.TgZ(0,"div",1),n.NdJ("afterViewportCatch",function(m){n.CHM(u);const t=n.oxw();return n.KtG(m?t.afterShow.emit():null)}),n.qZA()}}let w=(()=>{class h{constructor(){this.byScroll=!1,this.afterShow=new n.vpe}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=n.Xpm({type:h,selectors:[["app-show-more"]],inputs:{byScroll:"byScroll"},outputs:{afterShow:"afterShow"},standalone:!0,features:[n.jDz],decls:1,vars:1,consts:[["class","show-more","appInViewport","",3,"afterViewportCatch",4,"ngIf"],["appInViewport","",1,"show-more",3,"afterViewportCatch"]],template:function(u,T){1&u&&n.YNc(0,I,1,0,"div",0),2&u&&n.Q6J("ngIf",T.byScroll)},dependencies:[y.ez,y.O5,d.f,b.w],styles:[".show-more[_ngcontent-%COMP%]{height:1px}"],changeDetection:0}),h})()},2113:(x,S,e)=>{e.d(S,{w:()=>t});var y=e(655),n=e(4650),d=e(9933),b=e(9841),I=e(3601),w=e(704),h=e(7579),C=e(1135),u=e(6895);let T=(()=>{class g{constructor(c,o){this.appService=c,this.platformId=o,this.dispatch=new h.x,this.enableStatus=new C.X(!0),this.window=window,this.windowResize=this.appService.windowResize,this.windowScroll=this.appService.windowScroll}getDispatchEvent(){return this.dispatch.asObservable()}getEnableStatus(){return this.enableStatus.asObservable()}setEnableStatus(c){this.enableStatus.next(c)}forceDispatch(){this.dispatch.next(!0)}resetAnimationInContainer(c,o,p=300){this.setEnableStatus(!1);const V=c.querySelectorAll("."+o);for(const D of Array.from(V))D.classList.remove(o);setTimeout(()=>{this.setEnableStatus(!0),this.forceDispatch()},p)}checkIsInViewport(c,o=0,p=!1,V=!1){if((0,u.PM)(this.platformId))return!0;const B=(c.clientHeight||c.offsetHeight)>0;if(V){const s=c.getBoundingClientRect().left,i=s+c.getBoundingClientRect().width;return B&&s<this.window.innerWidth+o&&!(p&&i<0)}{const s=c.getBoundingClientRect().top,i=s+c.getBoundingClientRect().height+o;return B&&s<this.window.innerHeight+o&&!(p&&i<0)}}}return g.\u0275fac=function(c){return new(c||g)(n.LFG(w.z),n.LFG(n.Lbi))},g.\u0275prov=n.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();var m;let t=((m=class{constructor(f,c,o,p){this.appService=f,this.elRef=c,this.ngZone=o,this.viewportInActionService=p,this.padding=0,this.afterViewportCatch=new n.vpe,this.className="in-viewport"}ngOnInit(){const f=this.appService.windowResize,c=this.appService.windowScroll;this.ngZone.runOutsideAngular(()=>{(0,b.a)([f,c]).pipe((0,I.e)(200)).pipe((0,d.t)(this)).subscribe(()=>{if(this.onceTime&&this.isInViewport)return;const o=this.elRef.nativeElement,p=this.viewportInActionService.checkIsInViewport(o,this.padding,!0);this.isInViewport!==p&&(p?o.classList.add(this.className):o.classList.remove(this.className),this.afterViewportCatch.emit(p)),this.isInViewport=p})})}}).\u0275fac=function(f){return new(f||m)(n.Y36(w.z),n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(T))},m.\u0275dir=n.lG2({type:m,selectors:[["","appInViewport",""]],inputs:{onceTime:"onceTime",padding:"padding"},outputs:{afterViewportCatch:"afterViewportCatch"}}),m);t=(0,y.gn)([(0,d.c)()],t)},6210:(x,S,e)=>{e.r(S),e.d(S,{BlockComponentPublicationsCatalogComponent:()=>B});var y=e(655),n=e(6895),d=e(9933),b=e(6188),I=e(1135),w=e(9841),h=e(4004),C=e(3900),u=e(5111),T=e(9339),m=e(329),t=e(4650);let g=(()=>{class s{transform(a,r){return r.filter(l=>l.tags?.includes(a)).length}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275pipe=t.Yjl({name:"publicationsCountByTag",type:s,pure:!0,standalone:!0}),s})();var o,f=e(7322),c=e(502);const p=["tagsListRef"];function V(s,i){if(1&s){const a=t.EpF();t.TgZ(0,"section")(1,"div",1)(2,"app-tags-filter",2),t.NdJ("afterChangeTag",function(l){t.CHM(a);const v=t.oxw(2);return t.KtG(v.currentTagData$.next(l))}),t.qZA(),t._UZ(3,"app-publications-grid",3),t.qZA()()}if(2&s){const a=i.ngIf,r=t.oxw().ngIf;t.xp6(2),t.Q6J("items",r),t.xp6(1),t.Q6J("items",a)}}function D(s,i){if(1&s&&(t.ynx(0),t.YNc(1,V,4,2,"section",0),t.ALo(2,"async"),t.BQk()),2&s){const a=t.oxw();
1t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,a.publicationsFiltered$))}}let B=((o=class{constructor(i,a,r){this.backendService=i,this.metaService=a,this.translateService=r,this.type="new",this.type$=new I.X(this.type),this.publications$=(0,w.a)([this.type$,this.backendService.getData("publications.getItemsShort",{generalList:!0})]).pipe((0,h.U)(([l,v])=>v.filter(P=>P.type===l)),(0,u.ZB)()),this.empty$=this.publications$.pipe((0,u.rX)()),this.currentTagData$=new I.X(void 0),this.publicationsFiltered$=this.currentTagData$.pipe((0,C.w)(l=>this.publications$.pipe((0,h.U)(v=>v.filter(P=>!l||P.tags?.includes(l.id)))))),this.setTitle()}ngOnChanges(i){"type"in i&&this.type$.next(this.type)}setTitle(){const i=this.translateService.get("news.page-title");(0,w.a)([i,this.currentTagData$]).pipe((0,d.t)(this)).subscribe(([r,l])=>{const v=l?.name?l.name[0].toLowerCase()+l.name.slice(1):"";this.metaService.setTitle(v?`${r} (${v})`:r)})}}).\u0275fac=function(i){return new(i||o)(t.Y36(f.v),t.Y36(c.R),t.Y36(b.sK))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-block-component-publications-catalog"]],viewQuery:function(i,a){if(1&i&&t.Gf(p,5),2&i){let r;t.iGM(r=t.CRH())&&(a.tagsListRef=r.first)}},inputs:{type:"type"},standalone:!0,features:[t._Bn([g]),t.TTD,t.jDz],decls:2,vars:3,consts:[[4,"ngIf"],[1,"container-xxl"],[1,"tags",3,"items","afterChangeTag"],[3,"items"]],template:function(i,a){1&i&&(t.YNc(0,D,3,3,"ng-container",0),t.ALo(1,"async")),2&i&&t.Q6J("ngIf",t.lcZ(1,1,a.publications$))},dependencies:[n.ez,n.O5,n.Ov,m.U,T.S,b.aw],styles:['@charset "UTF-8";.tags[_ngcontent-%COMP%]{margin-bottom:calc(var(--bs-gutter) * 2)}'],changeDetection:0}),o);B=(0,y.gn)([(0,d.c)()],B)}}]);
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.