1"use strict";(self.webpackChunkegap_web_portal=self.webpackChunkegap_web_portal||[]).push([[475],{655:(J,y,l)=>{l.d(y,{U:()=>S});var h=l(7702),a=l(5879),b=l(6809),w=l(6814),m=l(711);function t(s,u){if(1&s&&(a.TgZ(0,"figure",10),a._UZ(1,"img",11),a.qZA()),2&s){const d=a.oxw();a.xp6(1),a.Q6J("src",null==d.data?null:d.data.photo,a.LSH)("alt",null==d.data?null:d.data.title)}}function M(s,u){if(1&s&&(a.TgZ(0,"div",12),a._uU(1),a.ALo(2,"transloco"),a.qZA()),2&s){const d=a.oxw();a.xp6(1),a.hij(" ",a.lcZ(2,1,"news.item.label."+d.type)," ")}}const f=function(s,u){return[s,"news",u]};function k(s,u){if(1&s&&(a._UZ(0,"a",13),a.ALo(1,"transloco")),2&s){const d=a.oxw();a.Q6J("routerLink",a.WLB(4,f,a.lcZ(1,2,"langPrefix"),null==d.data?null:d.data.slug))("innerHTML",null==d.data?null:d.data.title,a.oJD)}}function O(s,u){if(1&s&&a._UZ(0,"a",14),2&s){const d=a.oxw();a.Q6J("href",null==d.data?null:d.data.link,a.LSH)("innerHTML",null==d.data?null:d.data.title,a.oJD)}}function T(s,u){if(1&s&&(a.TgZ(0,"div",12),a._uU(1),a.ALo(2,"transloco"),a.qZA()),2&s){const d=a.oxw();a.xp6(1),a.hij(" ",a.lcZ(2,1,"news.item.label."+d.type)," ")}}function x(s,u){1&s&&(a.TgZ(0,"div",15),a._uU(1),a.ALo(2,"transloco"),a.qZA()),2&s&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"news.item.english-available")," "))}let S=(()=>{class s{constructor(){this.viewMode="tile",this.NewsType=h.D}static#t=this.\u0275fac=function(L){return new(L||s)};static#e=this.\u0275cmp=a.Xpm({type:s,selectors:[["app-news-item"]],inputs:{data:"data",type:"type",viewMode:"viewMode"},decls:15,vars:14,consts:[["class","block__image-wrapper",4,"ngIf"],[1,"block__info"],[1,"block__info-top"],["class","block__label",4,"ngIf"],[1,"block__title"],[3,"routerLink","innerHTML",4,"ngIf","ngIfElse"],["externalLink",""],[1,"block__info-bottom","d-flex","justify-content-between"],[1,"block__date"],["class","block__english-label",4,"ngIf"],[1,"block__image-wrapper"],[1,"block__image",3,"src","alt"],[1,"block__label"],[3,"routerLink","innerHTML"],["target","_blank",3,"href","innerHTML"],[1,"block__english-label"]],template:function(L,p){if(1&L&&(a.TgZ(0,"article"),a.YNc(1,t,2,2,"figure",0),a.TgZ(2,"div",1)(3,"div",2),a.YNc(4,M,3,3,"div",3),a.TgZ(5,"h3",4),a.YNc(6,k,2,7,"a",5),a.YNc(7,O,1,2,"ng-template",null,6,a.W1O),a.YNc(9,T,3,3,"div",3),a.qZA()(),a.TgZ(10,"div",7)(11,"div",8),a._uU(12),a.ALo(13,"date"),a.qZA(),a.YNc(14,x,3,3,"div",9),a.qZA()()()),2&L){const N=a.MAs(8);a.MT6("block ",p.viewMode," ",p.type,""),a.xp6(1),a.Q6J("ngIf","tile"===p.viewMode),a.xp6(3),a.Q6J("ngIf","tile"===p.viewMode&&(p.type===p.NewsType.Media||p.type===p.NewsType.Analytic)),a.xp6(2),a.Q6J("ngIf",p.type===p.NewsType.General||p.type===p.NewsType.Analytic&&(null==p.data?null:p.data.hasPage))("ngIfElse",N),a.xp6(3),a.Q6J("ngIf","list"===p.viewMode&&(p.type===p.NewsType.Media||p.type===p.NewsType.Analytic)),a.xp6(3),a.Oqu(a.xi3(13,11,null==p.data?null:p.data.publishedAt,"dd.MM.yyyy")),a.xp6(2),a.Q6J("ngIf",p.type===p.NewsType.Media&&p.data.isAvailableEng)}},dependencies:[b.rH,w.O5,w.uU,m.Ot],styles:['.block[_ngcontent-%COMP%]{box-shadow:0 4px 10px #0000001a;border-radius:16px;overflow:hidden;background:white;position:relative;min-height:550px;height:100%;display:flex;flex-direction:column;max-width:523px}@media (max-width: 991.98px){.block[_ngcontent-%COMP%]{min-height:unset}}@media (max-width: 639.98px){.block[_ngcontent-%COMP%]{max-width:unset}}.block__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:24px}@media (max-width: 991.98px){.block__info[_ngcontent-%COMP%]{min-height:210px;padding:24px 16px 16px}}@media (max-width: 991.98px){.block__info-bottom[_ngcontent-%COMP%]{flex-direction:column}}.block__image[_ngcontent-%COMP%]{position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:cover}.block__image-wrapper[_ngcontent-%COMP%]{width:100%;position:relative;padding-bottom:67%;margin:0;overflow:hidden}@media (max-width: 991.98px){.block__image-wrapper[_ngcontent-%COMP%]{padding-bottom:76.1%}}.block__label[_ngcontent-%COMP%]{margin-bottom:16px;border-radius:32px;background-color:#dee1e3;padding:4px 10px;font-weight:600;font-size:14px;line-height:16px;letter-spacing:.02em;text-align:center;width:-moz-fit-content;width:fit-content}.block__title[_ngcontent-%COMP%]{font-size:clamp(24px,1.56vw,30px);line-height:123%;letter-spacing:.02em;margin-bottom:32px}@media (max-width: 991.98px){.block__title[_ngcontent-%COMP%]{margin-bottom:16px;font-size:24px;line-height:29px}}.block__title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}@media (min-width: 992px){.block__title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}}.block__title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{position:absolute;display:block;inset:0;width:100%;height:100%;content:""}.block__subtitle[_ngcontent-%COMP%]{letter-spacing:0;font-weight:400;font-size:16px;line-height:150%;margin-bottom:9px;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@media (max-width: 991.98px){.block__subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:150%;margin-bottom:16px;
1-webkit-line-clamp:5}}.block__date[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:150%;letter-spacing:normal}.block__english-label[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:150%;letter-spacing:normal;color:#0006;display:flex;align-items:center}@media (max-width: 991.98px){.block__english-label[_ngcontent-%COMP%]{margin-top:8px}}.block__english-label[_ngcontent-%COMP%]:after{content:"";background:url(united-kingdom.0e0e9e5bd75c2bcc.svg) no-repeat center/contain;height:24px;width:24px;margin-left:8px}.block.list[_ngcontent-%COMP%]{box-shadow:none;display:block;height:unset;max-width:unset;min-height:unset}.block.list[_ngcontent-%COMP%] .block__info[_ngcontent-%COMP%]{padding:24px 32px;min-height:unset!important}@media (max-width: 991.98px){.block.list[_ngcontent-%COMP%] .block__info[_ngcontent-%COMP%]{padding:16px}}.block.list[_ngcontent-%COMP%] .block__info-top[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:2px solid #e30613;margin-bottom:16px}.block.list[_ngcontent-%COMP%] .block__title[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:16px}@media (max-width: 991.98px){.block.list[_ngcontent-%COMP%] .block__title[_ngcontent-%COMP%]{flex-direction:column;align-items:start}}.block.list[_ngcontent-%COMP%] .block__title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:last-child){margin-right:16px}.block.list[_ngcontent-%COMP%] .block__title[_ngcontent-%COMP%] .block__label[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 991.98px){.block.list[_ngcontent-%COMP%] .block__title[_ngcontent-%COMP%] .block__label[_ngcontent-%COMP%]{order:-1;margin-bottom:16px}}.block.list[_ngcontent-%COMP%] .block__subtitle[_ngcontent-%COMP%]{max-width:577px;margin:0}.block.analytic[_ngcontent-%COMP%] .block__image[_ngcontent-%COMP%]{opacity:.8}.block.analytic[_ngcontent-%COMP%] .block__image-wrapper[_ngcontent-%COMP%]{background:#000}']})}return s})()},475:(J,y,l)=>{l.r(y),l.d(y,{NewsModule:()=>Yt});var h=l(6814),a=l(9656),b=l(6809),w=l(9525),m=l(7702),t=l(5879),M=l(9404),f=l(6593),k=l(9907),O=l(8767),T=l(9334),x=l(8644),S=l(5384),s=l(5619),u=l(8645),d=l(9397),L=l(3620),p=l(4664),N=l(5177),j=l(7398),q=l(7922),I=l(465),B=l(9862);let R=(()=>{class n extends q.s{constructor(e,o){super(e,o),this.http=e,this.langService=o,this._state={page:1,pageSize:12,searchTerm:"",tags:[],type:m.D.General,dateFrom:"",dateTo:""},this._loading$=new s.X(!0),this._state$=new s.X(null),this._list$=new s.X([]),this._total$=new s.X(0),this._search$=new u.x,this._search$.pipe((0,d.b)(()=>this._loading$.next(!0)),(0,L.b)(200),(0,p.w)(()=>this._search()),(0,N.g)(200),(0,d.b)(()=>this._loading$.next(!1))).subscribe(i=>{(JSON.stringify(this._state.tags)!==JSON.stringify(this.lastTags)||this._state.searchTerm!==this.lastQuery||this._state.type!==this.lastType||this._state.dateTo!==this.lastDateTo||this._state.dateFrom!==this.lastDateFrom)&&(this._state.page=1),this._list$.next(i.data),this._total$.next(i.meta.total),this._state$.next(this._state),this.lastTags=this._state.tags,this.lastQuery=this._state.searchTerm,this.lastType=this._state.type,this.lastDateFrom=this._state.dateFrom,this.lastDateTo=this._state.dateTo}),this._search$.next()}get list$(){return this._list$.asObservable()}get total$(){return this._total$.asObservable()}get loading$(){return this._loading$.asObservable()}get state$(){return this._state$.asObservable()}get page(){return this._state.page}set page(e){this._set({page:e})}get tags(){return this._state.tags}set tags(e){this._filterSet({page:1}),this._set({tags:e}),this._list$.next([])}get searchTerm(){return this._state.searchTerm}set searchTerm(e){this._filterSet({page:1}),this._set({searchTerm:e}),this._list$.next([])}get dateTo(){return this._state.dateTo}set dateTo(e){this._filterSet({page:1}),this._set({dateTo:e}),this._list$.next([])}get dateFrom(){return this._state.dateFrom}set dateFrom(e){this._filterSet({page:1}),this._set({dateFrom:e}),this._list$.next([])}get type(){return this._state.type}set type(e){this._filterSet({page:1}),this._set({type:e}),this._list$.next([])}_set(e){Object.assign(this._state,e),this._search$.next()}_filterSet(e){Object.assign(this._state,e)}_search(){const e=JSON.parse(JSON.stringify(this._state));return e?.searchTerm||delete e?.searchTerm,e?.dateFrom||delete e?.dateFrom,e?.dateTo||delete e?.dateTo,e?.pageSize&&(e.limit=e.pageSize),this.http.get(`${this.apiUrl}/news`,{params:(0,I.BA)((0,I.HO)(e))}).pipe((0,j.U)(o=>{let i={...o?.meta};return{data:m.r.fromJsonArray(o?.data,this.langService),meta:i}}))}
1static#t=this.\u0275fac=function(o){return new(o||n)(t.LFG(B.eN),t.LFG(k.C))};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var E=l(6113),G=l(3943),C=l(8230),D=l(711);function V(n,r){1&n&&(t.TgZ(0,"div",6),t._uU(1),t.ALo(2,"transloco"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"news.date")))}function K(n,r){if(1&n&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.getDateLabel(e.fromDate))}}function W(n,r){if(1&n&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.AsE(" ",e.getDateLabel(e.fromDate)," - ",e.getDateLabel(e.toDate)," ")}}function X(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",7),t.NdJ("click",function(){const c=t.CHM(e).$implicit,g=t.oxw();return t.KtG(g.onDateSelection(c))})("mouseenter",function(){const c=t.CHM(e).$implicit,g=t.oxw();return t.KtG(g.hoveredDate=c)}),t._uU(1),t.qZA()}if(2&n){const e=r.$implicit,o=t.oxw();t.ekj("range",o.isRange(e))("first",o.isFirst(e))("last",o.isLast(e))("filled",!o.isFirst(e)&&!o.isLast(e))("today",o.isToday(e))("future",o.isFuture(e)),t.xp6(1),t.hij(" ",e.day," ")}}let tt=(()=>{class n{constructor(e,o,i){this.langService=e,this.i18n=o,this.calendar=i,this.rangeChanged=new t.vpe,this.hoveredDate=null,this.fromDate=null,this.toDate=null}ngOnInit(){this.i18n.setLocale(this.langService.lang),this.langSub$=this.langService.langChanged.subscribe(e=>{this.i18n.setLocale(e)}),this.today=this.calendar.getToday()}ngOnChanges(e){if(e.range?.currentValue){const{fromDate:o,toDate:i}=e.range.currentValue;o&&(!this.fromDate||this.getISOFormatedDate(this.fromDate)!==o)&&(this.fromDate=this.getNgbDate(o)),i&&(!this.toDate||this.getISOFormatedDate(this.toDate)!==i)&&(i===o?this.hoveredDate=this.getNgbDate(i):this.toDate=this.getNgbDate(i))}}onDateSelection(e){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&e.after(this.fromDate)?(this.toDate=e,this.rangeChanged.emit({dateFrom:this.getISOFormatedDate(this.fromDate),dateTo:this.getISOFormatedDate(this.toDate)})):this.fromDate&&e.equals(this.fromDate)?this.clearAll():(this.toDate=null,this.fromDate=e,this.rangeChanged.emit({dateFrom:this.getISOFormatedDate(this.fromDate),dateTo:this.getISOFormatedDate(this.fromDate)})):(this.fromDate=e,this.rangeChanged.emit({dateFrom:this.getISOFormatedDate(this.fromDate),dateTo:this.getISOFormatedDate(this.fromDate)}))}isHovered(e){return this.fromDate&&!this.toDate&&this.hoveredDate&&e.after(this.fromDate)&&e.before(this.hoveredDate)}isInside(e){return this.toDate&&this.fromDate&&e.after(this.fromDate)&&e.before(this.toDate)}isRange(e){return this.fromDate&&e.equals(this.fromDate)||this.toDate&&e.equals(this.toDate)||this.isInside(e)||this.isHovered(e)||this.fromDate&&!this.toDate&&e.after(this.fromDate)&&this.hoveredDate&&e.equals(this.hoveredDate)}isFirst(e){return this.fromDate&&e.equals(this.fromDate)}isLast(e){return this.toDate&&e.equals(this.toDate)||!this.toDate&&this.isRange(e)&&this.hoveredDate&&e.equals(this.hoveredDate)||!this.toDate&&this.fromDate&&e.equals(this.fromDate)&&this.hoveredDate&&e.after(this.hoveredDate)}isToday(e){return this.today.equals(e)}isFuture(e){return e.after(this.today)}getISOFormatedDate(e){return e?`${e.year}-${e.month.toString().padStart(2,"0")}-${e.day.toString().padStart(2,"0")}`:""}getNgbDate(e){if(!e)return null;const o=e.split("-");if(3!==o.length)return null;const[i,c,g]=o.map(Number);return new C.qj(i,c,g)}getDateLabel(e){return e?`${e.day.toString().padStart(2,"0")}.${e.month.toString().padStart(2,"0")}.${e.year}`:""}clearAll(){this.fromDate=null,this.toDate=null,this.rangeChanged.emit({dateFrom:"",dateTo:""})}static#t=this.\u0275fac=function(o){return new(o||n)(t.Y36(k.C),t.Y36(C.wf),t.Y36(C.vL))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-date-range-picker"]],inputs:{range:"range"},outputs:{rangeChanged:"rangeChanged"},features:[t.TTD],decls:9,vars:9,consts:[[1,"block"],["ngbDatepicker","","outsideDays","hidden","readonly","",3,"autoClose","dayTemplate","click"],["d","ngbDatepicker"],["class","block__label",4,"ngIf"],[1,"block__icon",3,"click"],["t",""],[1,"block__label"],[1,"custom-day",3,"click","mouseenter"]],template:function(o,i){if(1&o){const c=t.EpF();t.TgZ(0,"div",0)(1,"input",1,2),t.NdJ("click",function(){t.CHM(c);const _=t.MAs(2);
1return t.KtG(_.toggle())}),t.qZA(),t.YNc(3,V,3,3,"div",3),t.YNc(4,K,2,1,"div",3),t.YNc(5,W,2,2,"div",3),t.TgZ(6,"button",4),t.NdJ("click",function(){t.CHM(c);const _=t.MAs(2);return t.KtG(i.fromDate?i.clearAll():_.toggle())}),t.qZA(),t.YNc(7,X,2,13,"ng-template",null,5,t.W1O),t.qZA()}if(2&o){const c=t.MAs(2),g=t.MAs(8);t.xp6(1),t.ekj("opened",c.isOpen()),t.Q6J("autoClose","outside")("dayTemplate",g),t.xp6(2),t.Q6J("ngIf",!i.fromDate),t.xp6(1),t.Q6J("ngIf",i.fromDate&&!i.toDate||i.fromDate&&i.fromDate.equals(i.toDate)),t.xp6(1),t.Q6J("ngIf",i.fromDate&&i.toDate&&!i.fromDate.equals(i.toDate)),t.xp6(1),t.ekj("clear",i.fromDate)}},dependencies:[h.O5,C.J4,D.Ot],styles:[".block[_ngcontent-%COMP%]{position:relative}@media (max-width: 639.98px){.block[_ngcontent-%COMP%]{margin-bottom:24px}}.block[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-radius:16px;background-color:#fff;padding:16px 0 20px;border:none;min-width:277px;color:transparent;cursor:pointer}@media (max-width: 991.98px){.block[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-width:260px}}@media (max-width: 639.98px){.block[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-width:unset;width:100%;padding:16px 0}}.block[_ngcontent-%COMP%] input.opened[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.block__label[_ngcontent-%COMP%]{position:absolute;top:0;height:100%;width:100%;display:flex;align-items:center;padding:0 24px;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.02em;color:#000;pointer-events:none}.block__icon[_ngcontent-%COMP%]{background:url(calendar.884817fb879bcf0d.svg) no-repeat center/contain;height:24px;width:24px;position:absolute;top:16px;right:24px}@media (max-width: 991.98px){.block__icon[_ngcontent-%COMP%]{right:16px}}@media (max-width: 639.98px){.block__icon[_ngcontent-%COMP%]{right:24px;top:14px}}.block__icon.clear[_ngcontent-%COMP%]{background:url(map-close.0784df0ab8780036.svg) no-repeat center/contain;opacity:.7}.block[_ngcontent-%COMP%] ngb-datepicker{left:0;right:0;width:100%;top:calc(100% + 56px)!important;bottom:unset!important;transform:translateY(-56px)!important;border:none;border-top:1.5px solid rgba(26,26,26,.2);border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:10px 8px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header{padding:0;height:34px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation{display:flex;justify-content:center;align-items:center}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-arrow{flex:none;width:24px;height:34px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-arrow button{margin:0;padding:0;color:#000;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-arrow button .ngb-dp-navigation-chevron{border:none;transform:unset;width:8px;height:16px;background:url(arrow-left.e29f9373edccae11.svg) no-repeat center/contain;margin:0}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:scale(-1)!important}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-navigation-select{flex:unset;height:34px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-navigation-select select{appearance:none;background:#fff;border:none;outline:none;cursor:pointer;padding:0;font-weight:600;height:100%;font-size:16px;line-height:24.22px;letter-spacing:normal;text-align:center;color:#1a1a1a;text-align-last:center}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-header ngb-datepicker-navigation .ngb-dp-navigation-select select:not(:last-child){margin-right:3px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-month{padding:0 8px 3px;width:100%}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week{justify-content:space-between;align-items:center;padding:0;height:36px}
1.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week.ngb-dp-weekdays{height:37px;border-bottom:.76px solid #f5f5f5}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-weekday{font-weight:600;font-size:14px;letter-spacing:normal;font-style:normal;color:#1a1a1a;width:100%}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-weekday:nth-last-child(1), .block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-weekday:nth-last-child(2){color:#e30613}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-day{width:100%;height:100%;font-weight:400;font-size:14px;letter-spacing:normal;text-align:center;color:#1a1a1a;line-height:36px}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-day:nth-last-child(1), .block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-day:nth-last-child(2){color:#e30613}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-day:last-child .custom-day.range{border-bottom-right-radius:50%!important;border-top-right-radius:50%!important}.block[_ngcontent-%COMP%] ngb-datepicker .ngb-dp-week .ngb-dp-day:first-child .custom-day.range{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.block[_ngcontent-%COMP%] .custom-day[_ngcontent-%COMP%]{height:100%;width:100%;text-align:center;cursor:pointer}.block[_ngcontent-%COMP%] .custom-day.range[_ngcontent-%COMP%]{background-color:#1a1a1a;color:#fff}.block[_ngcontent-%COMP%] .custom-day.range.filled[_ngcontent-%COMP%]{border-radius:0}.block[_ngcontent-%COMP%] .custom-day.range.last[_ngcontent-%COMP%]{border-radius:0 50% 50% 0/0px 50% 50% 0px}.block[_ngcontent-%COMP%] .custom-day.range.first[_ngcontent-%COMP%]{border-radius:50% 0 0 50%/50% 0px 0px 50%}.block[_ngcontent-%COMP%] .custom-day.range.first.last[_ngcontent-%COMP%]{border-radius:50%}.block[_ngcontent-%COMP%] .custom-day.today[_ngcontent-%COMP%]:not(.range){border-radius:50%;background-color:#eff0f4}.block[_ngcontent-%COMP%] .custom-day.future[_ngcontent-%COMP%]{pointer-events:none;opacity:.35}"]})}return n})();var A=l(6223),et=l(655);const nt=["tabsComp"],it=function(n){return[n]};function ot(n,r){if(1&n&&(t.TgZ(0,"a",26),t.ALo(1,"transloco"),t._uU(2),t.ALo(3,"transloco"),t.qZA()),2&n){const e=t.oxw().$implicit;t.Q6J("routerLink",t.VKq(6,it,t.lcZ(1,2,"langPrefix")+e.link)),t.xp6(2),t.hij(" ",t.lcZ(3,4,e.label)," ")}}function at(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2).$implicit,c=t.oxw();return t.KtG(c.listService.type=i.value)}),t._uU(1),t.ALo(2,"transloco"),t.qZA()}if(2&n){const e=t.oxw(2).$implicit,o=t.oxw();t.ekj("active",e.value===o.listService.type),t.xp6(1),t.hij(" ",t.lcZ(2,3,e.label)," ")}}function lt(n,r){if(1&n&&t.YNc(0,at,3,5,"button",27),2&n){const e=t.oxw().$implicit;t.Q6J("ngIf",e.value)}}function st(n,r){if(1&n&&(t.ynx(0),t.YNc(1,ot,4,8,"a",24),t.YNc(2,lt,1,1,"ng-template",null,25,t.W1O),t.BQk()),2&n){const e=r.$implicit,o=t.MAs(3);t.xp6(1),t.Q6J("ngIf",e.link)("ngIfElse",o)}}function ct(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"app-nav-tabs",4),t.NdJ("tabSelected",function(i){t.CHM(e);const c=t.oxw();return t.KtG(c.listService.type=i)}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("tabList",e.isAnalytic?e.publicationTabs:e.newsTypes)}}function rt(n,r){if(1&n){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",30)(2,"button",31),t.NdJ("click",function(){const c=t.CHM(e).$implicit,g=t.oxw(2);return t.KtG(g.toggleTag(c))}),t.ALo(3,"async"),t.TgZ(4,"span"),t._uU(5),t.qZA()()(),t.BQk()}if(2&n){const e=r.$implicit,o=t.oxw(2);let i;t.xp6(2),t.uIk("aria-pressed",null!=(i=t.lcZ(3,2,o.listService.state$))&&i.tags.includes(e.id)?"true":"false"),t.xp6(3),t.hij(" ",null==e?null:e.title,"")}}function gt(n,r){if(1&n&&(t.TgZ(0,"div",29),t.YNc(1,rt,6,4,"ng-container",3),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.tagList)}}function pt(n,r){if(1&n&&(t.TgZ(0,"p",32),t._uU(1),t.ALo(2,"transloco"),t.TgZ(3,"b"),t._uU(4),t.ALo(5,"async"),t.qZA()()),2&n){const e=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,2,"label.found"),":"),t.xp6(3),t.hij(" ",t.lcZ(5,4,e.total$),"")}}function dt(n,r){if(1&n&&t._UZ(0,"app-news-item",33),2&n){const e=r.$implicit,o=t.oxw();t.Q6J("data",e)("viewMode",o.viewMode)("type",o.listService.type)}}function _t(n,r){if(1&n&&(t.TgZ(0,"div",34),t.ALo(1,"async"),t.TgZ(2,"div",35),t._UZ(3,"div",36),t.qZA()()),2&n){const e=t.oxw();t.Q6J("@toggleOpacity",t.lcZ(1,1,e.listService.loading$))}}function mt(n,r){1&n&&(t.TgZ(0,"p",37),t._uU(1),t.ALo(2,"transloco"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"search.not-found")," "))}function ht(n,r){1&n&&(t.TgZ(0,"div",38),t._UZ(1,"span",39),t.TgZ(2,"span",40),t._uU(3),t.ALo(4,"transloco"),t.qZA()()),2&n&&(t.xp6(3),t.Oqu(t.lcZ(4,1,"label.prev-page")))}function bt(n,r){1&n&&(t.TgZ(0,"div",41)(1,"span",40),t._uU(2),t.ALo(3,"transloco"),t.qZA(),t._UZ(4,"span",39),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"label.next-page")))}const ut=function(n,r){return{fromDate:n,toDate:r}};let xt=(()=>{class n{constructor(e,o,i,c,g){this.ssrService=e,this.listService=o,this.router=i,this.route=c,this.location=g,this.window=window,this.isAnalytic=!1,this.isLoaded=!1,this.newsTypes=[{id:1,value:m.D.General,label:"news.type.general"},{id:2,value:m.D.Media,label:"news.type.media"}],this.publicationTabs=[{id:2,value:m.D.Analytic,label:"news.type.analytic"},{link:"/story",label:"breadcrumbs.story"}],this.list$=o.list$,this.total$=o.total$}ngOnInit(){this.route.queryParams.subscribe(e=>{this.queryParamsToState(e),this.tabsComp&&(this.tabsComp.selectedTab=this.tabsComp.tabList.find(o=>o.value===this.listService.type))}),this.total$.subscribe(e=>{!this.isLoaded&&e&&(this.ssrService.isBrowser&&(this.subscriptionListState=this.listService.state$.subscribe(o=>{if(o){const{tags:i,page:c,searchTerm:g,type:_,dateFrom:v,dateTo:P}=o,Z={...i.length?{tags:i}:{},...c>1?{page:c}:{},...g?{searchTerm:g}:{},..._!==m.D.General?{type:_}:{},...v?{dateFrom:v}:{},...P?{dateTo:P}:{}};this.updateQueryParams(Z)}})),this.queryParamsToState(this.route.snapshot.queryParams),this.isLoaded=!0)})}ngAfterViewInit(){this.tabsComp&&(this.tabsComp.selectedTab=this.tabsComp.tabList.find(e=>e.value===this.listService.type))}toggleTag(e){this.listService.tags=this.listService.tags.find(o=>o===e.id)?[...this.listService.tags.filter(o=>o!==e.id)]:[...this.listService.tags,e.id]}queryParamsToState(e){let{tags:o,page:i,searchTerm:c,type:g,dateFrom:_,dateTo:v}=e;o&&"string"==typeof o&&(o=[o]),Object.assign(this.listService,{tags:o?.length?[...o?.map(P=>Number(P))]:[],searchTerm:c||null,type:g||"general",dateFrom:_||null,dateTo:v||null,page:Number(i)>1?Number(i):1})}navigateByQueryParams(e){JSON.stringify(this.route.snapshot.queryParams)!==JSON.stringify(e)&&this.router.navigate([],{replaceUrl:!0,relativeTo:this.route,queryParams:e})}updateQueryParams(e){const o=this.router?.createUrlTree([],{relativeTo:this.route,queryParams:e});if(this.router&&o){const i=this.router?.serializeUrl(o);this.location?.go(i)}}ngOnDestroy(){this.subscriptionListState?.unsubscribe()}onDateRangeChange(e){this.listService.dateFrom=e.dateFrom,this.listService.dateTo=e.dateTo}static#t=this.\u0275fac=function(o){return new(o||n)(t.Y36(M.o),t.Y36(R),t.Y36(b.F0),t.Y36(b.gz),t.Y36(h.Ye))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-news-home-list"]],viewQuery:function(o,i){if(1&o&&t.Gf(nt,5),2&o){let c;t.iGM(c=t.CRH())&&(i.tabsComp=c.first)}},inputs:{tagList:"tagList",isAnalytic:"isAnalytic"},decls:46,vars:78,consts:[[1,"block"],[1,"block__top"],[1,"block__tabs","d-none","d-tb-flex"],[4,"ngFor","ngForOf"],[1,"d-tb-none",3,"tabList","tabSelected"],["tabsComp",""],["class","d-tb-none",3,"tabList","tabSelected",4,"ngIf"],["class","block__tags",4,"ngIf"],[1,"block__filters","d-flex"],[3,"range","rangeChanged"],[1,"block__search"],[1,"block__search-btn"],["type","search",1,"block__search-input",3,"placeholder","ngModel","ngModelChange"],[3,"viewChanged"],["class","block__top-total",4,"ngIf"],[1,"block__grid"],[3,"data","viewMode","type",4,"ngFor","ngForOf"],["class","loader-wrapper",4,"ngIf"],["class","block__grid-empty",4,"ngIf"],[1,"block__pagination"],[3,"collectionSize","page","pageSize","maxSize","rotate","directionLinks","pageChange"],["pagination",""],["ngbPaginationPrevious",""],["ngbPaginationNext",""],["class","block__tabs-item text-decoration-none",3,"routerLink",4,"ngIf","ngIfElse"],["tabBtn",""],[1,"block__tabs-item","text-decoration-none",3,"routerLink"],["class","block__tabs-item",3,"active","click",4,"ngIf"],[1,"block__tabs-item",3,"click"],[1,"block__tags"],[1,"block__tags-item"],[1,"tag",3,"click"],[1,"block__top-total"],[3,"data","viewMode","type"],[1,"loader-wrapper"],[1,"loader"],[1,"spinner-border"],[1,"block__grid-empty"],[1,"item","left"],[1,"arrow"],[1,"label"],[1,"item","right"]],template:function(o,i){if(1&o&&(t.TgZ(0,"section",0)(1,"div",1)(2,"div",2),t.YNc(3,st,4,2,"ng-container",3),t.qZA(),t.TgZ(4,"app-nav-tabs",4,5),t.NdJ("tabSelected",function(g){return i.listService.type=g}),t.qZA(),t.YNc(6,ct,1,1,"app-nav-tabs",6),t.TgZ(7,"div"),t.ALo(8,"async"),t.ALo(9,"async"),t.YNc(10,gt,2,1,"div",7),t.TgZ(11,"div",8)(12,"app-date-range-picker",9),t.NdJ("rangeChanged",function(g){return i.onDateRangeChange(g)}),t.qZA(),t.TgZ(13,"div",10),t._UZ(14,"button",11),t.ALo(15,"transloco"),t.TgZ(16,"input",12),t.
1NdJ("ngModelChange",function(g){return i.listService.searchTerm=g}),t.ALo(17,"transloco"),t.qZA()(),t.TgZ(18,"app-view-toggle",13),t.NdJ("viewChanged",function(g){return i.viewMode=g}),t.qZA()()(),t.YNc(19,pt,6,6,"p",14),t.ALo(20,"async"),t.ALo(21,"async"),t.ALo(22,"async"),t.qZA(),t.TgZ(23,"div",15),t.ALo(24,"async"),t.ALo(25,"async"),t.ALo(26,"async"),t.ALo(27,"async"),t.YNc(28,dt,1,3,"app-news-item",16),t.ALo(29,"async"),t.YNc(30,_t,4,3,"div",17),t.ALo(31,"async"),t.YNc(32,mt,3,3,"p",18),t.ALo(33,"async"),t.ALo(34,"async"),t.qZA(),t.TgZ(35,"div",19),t.ALo(36,"async"),t.ALo(37,"async"),t.ALo(38,"async"),t.TgZ(39,"ngb-pagination",20,21),t.NdJ("pageChange",function(g){return i.listService.page=g}),t.ALo(41,"async"),t.ALo(42,"async"),t.ALo(43,"async"),t.YNc(44,ht,5,3,"ng-template",22),t.YNc(45,bt,5,3,"ng-template",23),t.qZA()()()),2&o){let c,g,_,v,P,Z,z,Y;t.xp6(3),t.Q6J("ngForOf",i.isAnalytic?i.publicationTabs:i.newsTypes),t.xp6(1),t.ekj("d-none",i.isAnalytic),t.Q6J("tabList",i.newsTypes),t.xp6(2),t.Q6J("ngIf",i.isAnalytic),t.xp6(1),t.Gre("block__top-row ",i.isAnalytic?"justify-content-end":"",""),t.ekj("mb-0",!(null!=(c=t.lcZ(8,33,i.listService.state$))&&null!=c.tags&&c.tags.length||null!=(c=t.lcZ(9,35,i.listService.state$))&&c.searchTerm)),t.xp6(3),t.Q6J("ngIf",!i.isAnalytic),t.xp6(2),t.Q6J("range",t.WLB(75,ut,i.listService.dateFrom,i.listService.dateTo)),t.xp6(2),t.uIk("aria-label",t.lcZ(15,37,"label.search")),t.xp6(2),t.Q6J("placeholder",t.lcZ(17,39,"label.search"))("ngModel",i.listService.searchTerm),t.xp6(3),t.Q6J("ngIf",!1===t.lcZ(20,41,i.listService.loading$)&&((null==(g=t.lcZ(21,43,i.listService.state$))||null==g.tags?null:g.tags.length)||(null==(g=t.lcZ(22,45,i.listService.state$))?null:g.searchTerm))),t.xp6(4),t.ekj("list","list"===i.viewMode)("m-0",t.lcZ(24,47,i.total$)<=(null==(_=t.lcZ(25,49,i.listService.state$))?null:_.pageSize))("empty",i.isLoaded&&!(null!=(v=t.lcZ(26,51,i.list$))&&v.length)&&!1===t.lcZ(27,53,i.listService.loading$)),t.xp6(5),t.Q6J("ngForOf",t.lcZ(29,55,i.list$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(31,57,i.listService.loading$)),t.xp6(2),t.Q6J("ngIf",i.isLoaded&&!(null!=(P=t.lcZ(33,59,i.list$))&&P.length)&&!1===t.lcZ(34,61,i.listService.loading$)),t.xp6(3),t.ekj("d-none",!i.isLoaded||!(null!=(Z=t.lcZ(36,63,i.list$))&&Z.length)||t.lcZ(37,65,i.total$)<=(null==(Z=t.lcZ(38,67,i.listService.state$))?null:Z.pageSize)),t.xp6(4),t.Q6J("collectionSize",t.lcZ(41,69,i.total$))("page",null==(z=t.lcZ(42,71,i.listService.state$))?null:z.page)("pageSize",null==(Y=t.lcZ(43,73,i.listService.state$))?null:Y.pageSize)("maxSize",4)("rotate",!0)("directionLinks",!0)}},dependencies:[E.F,G.O,tt,b.rH,h.sg,h.O5,C.N9,C.GZ,C.ju,A.Fj,A.JJ,A.On,et.U,h.Ov,D.Ot],styles:['.block__tabs[_ngcontent-%COMP%]{display:flex;width:100%;border-bottom:2px solid rgba(26,26,26,.2);margin-bottom:48px}.block__tabs-item[_ngcontent-%COMP%]{position:relative;font-weight:500;font-size:30px;line-height:100%;letter-spacing:normal;transition:.5s ease color;padding-bottom:32px}@media (max-width: 991.98px){.block__tabs-item[_ngcontent-%COMP%]{font-size:24px}}.block__tabs-item[_ngcontent-%COMP%]:not(:last-child){margin-right:42px}.block__tabs-item[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;border-bottom:2px solid #e30613;bottom:-2px;width:100%;opacity:0;transition:.5s ease opacity}.block__tabs-item.active[_ngcontent-%COMP%]{color:#e30613}.block__tabs-item.active[_ngcontent-%COMP%]:after{opacity:1}.block__tabs-item[_ngcontent-%COMP%]:hover{color:#e30613}.block[_ngcontent-%COMP%] app-tabs[_ngcontent-%COMP%] .tabs__wrapper{margin-bottom:30px}.block[_ngcontent-%COMP%] app-tabs[_ngcontent-%COMP%] .tab-title{font-weight:600;font-size:18px;line-height:100%;letter-spacing:normal;text-align:center}.block[_ngcontent-%COMP%] app-tabs[_ngcontent-%COMP%] .scroll-line{height:3px}.block[_ngcontent-%COMP%] app-tabs[_ngcontent-%COMP%] .control.prev .arrow{margin-left:-16px}.block[_ngcontent-%COMP%] app-tabs[_ngcontent-%COMP%] .control.next .arrow{margin-right:-16px}.block__top[_ngcontent-%COMP%]{padding-bottom:40px;border-bottom:2px solid rgba(26,26,26,.2);margin-bottom:39px}@media (max-width: 1440.98px){.block__top[_ngcontent-%COMP%]{padding-bottom:32px;margin-bottom:31px}}@media (max-width: 639.98px){.block__top[_ngcontent-%COMP%]{margin-bottom:22px;padding-bottom:23px}}.block__top-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:38px}@media (max-width: 1279.98px){.block__top-row[_ngcontent-%COMP%]{display:block;margin-bottom:25px}}.block__top-total[_ngcontent-%COMP%]{white-space:nowrap;padding-left:24px;text-align:right;font-weight:400;font-size:18px;line-height:150%;letter-spacing:.02em}@media (max-width: 991.98px){.block__top-total[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:150%;letter-spacing:.02em;text-align:unset;padding:0}}.block__filters[_ngcontent-%COMP%]{justify-content:flex-end}@media (max-width: 639.98px){.block__filters[_ngcontent-%COMP%]{flex-direction:column}}.block__search[_ngcontent-%COMP%]{position:relative;height:-moz-fit-content;height:fit-content;margin-left:8px;margin-right:32px}@media (max-width: 991.98px){.block__search[_ngcontent-%COMP%]{margin-right:8px}}@media (max-width: 639.98px){.block__search[_ngcontent-%COMP%]{order:-1;width:100%;margin-bottom:8px;margin-inline:0}}.block__search-btn[_ngcontent-%COMP%]{background:url(search.a32c2e45c83a8cdb.svg) no-repeat center/contain;min-width:24px;height:100%;position:absolute;top:0;right:24px}.block__search-input[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:125%;letter-spacing:.02em;background:white;border-radius:16px;padding:18px 66px 18px 24px;border:unset;
1color:#1a1a1a;min-width:390px;text-overflow:ellipsis}@media (max-width: 1440.98px){.block__search-input[_ngcontent-%COMP%]{min-width:310px}}@media (max-width: 991.98px){.block__search-input[_ngcontent-%COMP%]{min-width:unset;width:100%}}@media (max-width: 639.98px){.block__search-input[_ngcontent-%COMP%]{padding:16px 24px}}.block__search-input[_ngcontent-%COMP%]::placeholder{color:#1a1a1a}.block__tags[_ngcontent-%COMP%]{display:flex;flex-flow:wrap;margin:-8px}@media (max-width: 1279.98px){.block__tags[_ngcontent-%COMP%]{flex-flow:nowrap;overflow:scroll;width:calc(100% + 32px);transform:translate(-8px);padding:0 16px;margin-bottom:24px;-ms-overflow-style:none;scrollbar-width:none}.block__tags[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}}.block__tags-item[_ngcontent-%COMP%]{padding:8px}@media (max-width: 991.98px){.block__tags-item[_ngcontent-%COMP%]{padding:0}.block__tags-item[_ngcontent-%COMP%]:not(:last-child){padding-right:16px}}.block__tags-item[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{border-radius:16px;background:#f7f8fa;font-weight:400;color:#1a1a1a;font-size:16px;line-height:125%;text-align:center;letter-spacing:.02em;padding:16px 24px;display:flex;align-items:center;justify-content:center;transition:.5s ease background-color,.5s ease color,.5s ease width;position:relative}@media (max-width: 991.98px){.block__tags-item[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{white-space:nowrap}}@media (min-width: 992px){.block__tags-item[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]:focus-visible{outline:2px solid!important}}@media (max-width: 639.98px){.block__tags-item[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{font-size:14px;line-height:20px;padding:16px 20px}}.block__tags-item[_ngcontent-%COMP%] .tag[aria-pressed=true][_ngcontent-%COMP%]{background:#1a1a1a;color:#fff;font-weight:500}@media (max-width: 991.98px){.block__tags-item[_ngcontent-%COMP%] .tag[aria-pressed=true][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{transform:translate(-8px)}}@media (max-width: 639.98px){.block__tags-item[_ngcontent-%COMP%] .tag[aria-pressed=true][_ngcontent-%COMP%]{font-weight:400}}.block__tags-item[_ngcontent-%COMP%] .tag[aria-pressed=true][_ngcontent-%COMP%]:after{content:"";min-width:8px;height:8px;background:url(tag-close.c736027c361d2743.svg) no-repeat center/contain;margin-left:16px}@media (max-width: 991.98px){.block__tags-item[_ngcontent-%COMP%] .tag[aria-pressed=true][_ngcontent-%COMP%]:after{position:absolute;right:11px}}.block__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 16px;margin-bottom:72px;position:relative;min-height:400px}@media (max-width: 1440.98px){.block__grid[_ngcontent-%COMP%]{margin-bottom:57px}}@media (max-width: 1279.98px){.block__grid[_ngcontent-%COMP%]{gap:24px 16px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:32px}}@media (max-width: 639.98px){.block__grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr);gap:24px;margin-bottom:48px}}.block__grid.list[_ngcontent-%COMP%]{grid-template-columns:1fr;row-gap:24px}.block__grid.empty[_ngcontent-%COMP%]{min-height:calc(100vh - 630px);display:flex;align-items:center;justify-content:center}@media (max-width: 1440.98px){.block__grid.empty[_ngcontent-%COMP%]{min-height:calc(100vh - 587px)}}@media (max-width: 991.98px){.block__grid.empty[_ngcontent-%COMP%]{min-height:calc(100vh - 610px)}}@media (max-width: 639.98px){.block__grid.empty[_ngcontent-%COMP%]{min-height:calc(100vh - 493px)}}.block__grid-empty[_ngcontent-%COMP%]{font-weight:600;font-size:24px;line-height:140%;letter-spacing:.02em;opacity:.5;text-align:center}@media (max-width: 1440.98px){.block__grid-empty[_ngcontent-%COMP%]{font-size:19px}}@media (max-width: 639.98px){.block__grid-empty[_ngcontent-%COMP%]{font-size:18px}}.block__grid[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:400px;position:sticky;top:0}.block__grid[_ngcontent-%COMP%] .loader-wrapper[_ngcontent-%COMP%]{position:absolute;display:block;inset:0;width:100%;height:100%;background:rgba(239,240,244,.6784313725)}.block__grid[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%] .spinner-border[_ngcontent-%COMP%]{color:#000;width:40px;height:40px;border-width:7px}.block__pagination[_ngcontent-%COMP%]{border-top:2px solid #1a1a1a;padding-top:24px}'],data:{animation:[S.X]}})}return n})();
1const ft=function(n){return{label:n}},kt=function(n){return[n]};let wt=(()=>{class n extends w.y{constructor(e,o,i,c,g){super(),this.ssrService=e,this.titleService=o,this.metaService=i,this.route=c,this.langService=g,this.NewsType=m.D,this.subscriptionRoute=this.route.data.subscribe(_=>{this.page=_?.bundle?.page,this.tagList=_?.bundle?.tags,this.page&&this.renderPageMeta()}),this.langSub$=this.langService.langChanged.subscribe(()=>{this.renderPageMeta()})}ngOnDestroy(){this.subscriptionRoute.unsubscribe(),this.langSub$&&this.langSub$.unsubscribe()}get isAnalytic(){return this.route.snapshot.queryParams.type===m.D.Analytic}static#t=this.\u0275fac=function(o){return new(o||n)(t.Y36(M.o),t.Y36(f.Dx),t.Y36(f.h_),t.Y36(b.gz),t.Y36(k.C))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-news-home"]],features:[t.qOj],decls:14,vars:12,consts:[[1,"block"],[1,"container"],[1,"row"],[1,"col-12"],[1,"block__top"],[1,"block__breadcrumbs",3,"items"],[1,"h2","block__title"],[1,"block__grid"],[3,"tagList","isAnalytic"]],template:function(o,i){1&o&&(t._UZ(0,"app-header"),t.TgZ(1,"main",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),t._UZ(6,"app-breadcrumbs",5),t.ALo(7,"transloco"),t.TgZ(8,"h1",6),t._uU(9),t.ALo(10,"transloco"),t.qZA()(),t.TgZ(11,"div",7),t._UZ(12,"app-news-home-list",8),t.qZA()()()()(),t._UZ(13,"app-footer")),2&o&&(t.xp6(6),t.Q6J("items",t.VKq(10,kt,t.VKq(8,ft,i.isAnalytic?t.lcZ(7,4,"news.type.analytic"):null==i.page||null==i.page.contentData?null:i.page.contentData.title))),t.xp6(3),t.hij(" ",i.isAnalytic?t.lcZ(10,6,"news.type.analytic"):null==i.page||null==i.page.contentData?null:i.page.contentData.title," "),t.xp6(3),t.Q6J("tagList",i.tagList)("isAnalytic",i.isAnalytic))},dependencies:[O.c,T.G,x.n,xt,D.Ot],styles:[".block[_ngcontent-%COMP%]{background:#eff0f4;padding:40px 0 120px}@media (max-width: 1440.98px){.block[_ngcontent-%COMP%]{padding:32px 0 96px}}@media (max-width: 639.98px){.block[_ngcontent-%COMP%]{padding:16px 0 72px}}.block__breadcrumbs[_ngcontent-%COMP%]{margin-bottom:24px}@media (max-width: 639.98px){.block__breadcrumbs[_ngcontent-%COMP%]{margin-bottom:16px}}.block__title[_ngcontent-%COMP%]{line-height:120%;margin-bottom:48px}@media (max-width: 1440.98px){.block__title[_ngcontent-%COMP%]{margin-bottom:38px}}@media (max-width: 639.98px){.block__title[_ngcontent-%COMP%]{margin-bottom:32px}}"]})}return n})();var Ct=l(9802),Mt=l(2296);const Ot=["textRef"];function vt(n,r){if(1&n&&(t._UZ(0,"time",18),t.ALo(1,"dateFormatPipe")),2&n){const e=t.oxw();t.Q6J("innerHTML",t.Dn7(1,1,null==e.data?null:e.data.publishedAt,"literal-date",e.langService.lang),t.oJD)}}function Pt(n,r){if(1&n&&(t.ynx(0),t._UZ(1,"div",20),t.ALo(2,"safe"),t.BQk()),2&n){const e=t.oxw(),o=e.last,i=e.$implicit;t.xp6(1),t.ekj("last",o),t.Q6J("innerHTML",t.xi3(2,3,null==i?null:i.htmlText,"html"),t.oJD)}}function yt(n,r){if(1&n&&t._UZ(0,"cite",22),2&n){const e=t.oxw(2).$implicit;t.Q6J("innerHTML",null==e?null:e.author,t.oJD)}}function Tt(n,r){if(1&n&&(t.ynx(0),t.TgZ(1,"div",21)(2,"blockquote"),t._UZ(3,"p",22),t.YNc(4,yt,1,1,"cite",23),t.qZA()(),t.BQk()),2&n){const e=t.oxw(),o=e.last,i=e.$implicit;t.xp6(2),t.ekj("mb-0",o),t.xp6(1),t.Q6J("innerHTML",null==i?null:i.text,t.oJD),t.xp6(1),t.Q6J("ngIf",null==i?null:i.author)}}function Lt(n,r){if(1&n&&(t.ynx(0),t.TgZ(1,"div",24)(2,"figure")(3,"div",25),t._UZ(4,"img",26),t.qZA(),t._UZ(5,"figcaption",22),t.qZA()(),t.BQk()),2&n){const e=t.oxw(),o=e.last,i=e.$implicit;t.xp6(1),t.ekj("mb-0",o),t.xp6(2),t.ekj("image-wrapper-ratio--auto",i.autoHeight),t.xp6(1),t.Q6J("src",i.imgSrc,t.LSH)("alt",null==i?null:i.label),t.xp6(1),t.Q6J("innerHTML",null==i?null:i.label,t.oJD)}}function Zt(n,r){if(1&n&&(t.ynx(0),t.TgZ(1,"div",27),t._UZ(2,"h2",22),t.TgZ(3,"a",28),t._uU(4),t.ALo(5,"transloco"),t.qZA()(),t.BQk()),2&n){const e=t.oxw(),o=e.last,i=e.$implicit;t.xp6(1),t.ekj("mb-0",o),t.xp6(1),t.Q6J("innerHTML",null==i?null:i.label,t.oJD),t.xp6(1),t.Q6J("href",null==i?null:i.pdfSrc,t.LSH),t.xp6(1),t.Oqu(t.lcZ(5,5,"news.view.pdf"))}}function Dt(n,r){if(1&n&&(t.ynx(0),t.YNc(1,Pt,3,6,"ng-container",19),t.YNc(2,Tt,5,4,"ng-container",19),t.YNc(3,Lt,6,7,"ng-container",19),t.YNc(4,Zt,6,7,"ng-container",19),t.BQk()),2&n){const e=r.$implicit;t.xp6(1),t.Q6J("ngIf","html"===(null==e?null:e.type)&&(null==e?null:e.htmlText)),t.xp6(1),t.Q6J("ngIf","quote"===(null==e?null:e.type)&&((null==e?null:e.author)||(null==e?null:e.text))),t.xp6(1),t.Q6J("ngIf","image"===(null==e?null:e.type)&&(null==e?null:e.imgSrc)),t.xp6(1),t.Q6J("ngIf","pdf"===(null==e?null:e.type)&&(null==e?null:e.label)&&(null==e?null:e.pdfSrc))}}function At(n,r){if(1&n&&(t.TgZ(0,"div",29),t._UZ(1,"h2",22),t.TgZ(2,"a",28),t._uU(3),t.ALo(4,"transloco"),t.qZA()()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("innerHTML",null==e.data?null:e.data.title,t.oJD),t.xp6(1),t.Q6J("href",null==e.data?null:e.data.link,t.LSH),t.xp6(1),t.Oqu(t.lcZ(4,3,"news.view.pdf"))}}const St=function(n,r){return[n,"news",r]};function Nt(n,r){if(1&n&&(t._UZ(0,"a",33),t.ALo(1,"transloco")),2&n){const e=t.oxw().$implicit;t.Q6J("routerLink",t.WLB(4,St,t.lcZ(1,2,"langPrefix"),null==e?null:e.slug))("innerHTML",null==e?null:e.title,t.oJD)}}function Jt(n,r){if(1&n&&t._UZ(0,"a",34),2&n){const e=t.oxw().$implicit;t.Q6J("href",null==e?null:e.link,t.LSH)("innerHTML",null==e?null:e.title,t.oJD)}}function It(n,r){if(1&n&&(t.TgZ(0,"li",30),t.YNc(1,Nt,2,7,"a",31),t.YNc(2,Jt,1,2,"ng-template",null,32,t.W1O),t.qZA()),2&n){const e=r.$implicit,o=t.MAs(3);t.xp6(1),t.Q6J("ngIf",!(null!=e&&e.link)||(null==e?null:e.hasPage))("ngIfElse",o)}}const $t=function(n,r){return{label:n,link:r}},$=function(n){return{label:n}},F=function(n,r){return[n,r]},Ft=function(n){return{label:n,link:"/news"}};let Ht=(()=>{class n extends w.y{constructor(e,o,i,c,g){super(),this.ssrService=e,this.titleService=o,this.metaService=i,this.route=c,this.langService=g,this.NewsType=m.D,this.subscriptionRoute=this.route.data.subscribe(_=>{this.page=_?.news,this.data=_?.news,this.page&&this.renderPageMeta()}),this.langSub$=this.langService.langChanged.subscribe(()=>{this.renderPageMeta()})}ngOnDestroy(){this.subscriptionRoute.unsubscribe(),this.langSub$&&this.langSub$.unsubscribe()}static#t=this.\u0275fac=function(o){return new(o||n)(t.Y36(M.o),t.Y36(f.Dx),t.Y36(f.h_),t.Y36(b.gz),t.Y36(k.C))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-news-view"]],viewQuery:function(o,i){if(1&o&&t.Gf(Ot,5),2&o){let c;t.iGM(c=t.CRH())&&(i.textRef=c.first)}},features:[t.qOj],decls:26,vars:28,consts:[[1,"block"],[1,"container"],[1,"row"],[1,"col-12"],[1,"block__top"],[1,"block__breadcrumbs",3,"items"],[1,"block__grid","top"],[1,"block__grid-main"],[1,"h2","block__title"],["class","block__date",3,"innerHTML",4,"ngIf"],[1,"block__grid"],[1,"block__content"],[4,"ngFor","ngForOf"],["class","content pdf mb-0",4,"ngIf"],[1,"block__grid-aside"],[1,"aside__title"],[1,"aside__list"],["class","aside__list-item",4,"ngFor","ngForOf"],[1,"block__date",3,"innerHTML"],[4,"ngIf"],[1,"content","html",3,"innerHTML"],[1,"content"],[3,"innerHTML"],[3,"innerHTML",4,"ngIf"],[1,"content","image"],[1,"image-wrapper-ratio"],[3,"src","alt"],[1,"content","pdf"],["target","_blank",3,"href"],[1,"content","pdf","mb-0"],[1,"aside__list-item"],[3,"routerLink","innerHTML",4,"ngIf","ngIfElse"],["externalLink",""],[3,"routerLink","innerHTML"],["target","_blank",3,"href","innerHTML"]],template:function(o,i){1&o&&(t._UZ(0,"app-header"),t.TgZ(1,"main",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),t._UZ(6,"app-breadcrumbs",5),t.ALo(7,"transloco"),t.ALo(8,"transloco"),t.TgZ(9,"div",6)(10,"div",7)(11,"h1",8),t._uU(12),t.qZA(),t.YNc(13,vt,2,5,"time",9),t.qZA()()(),t.TgZ(14,"div",10)(15,"section",7)(16,"div",11),t.YNc(17,Dt,5,4,"ng-container",12),t.YNc(18,At,5,5,"div",13),t.qZA()(),t.TgZ(19,"aside",14)(20,"h3",15),t._uU(21),t.ALo(22,"transloco"),t.qZA(),t.TgZ(23,"ul",16),t.YNc(24,It,4,2,"li",17),t.qZA()()()()()()(),t._UZ(25,"app-footer")),2&o&&(t.xp6(6),t.Q6J("items","si_asistent_na_portali_diya"===i.data.slug?t.WLB(18,F,t.WLB(13,$t,t.lcZ(7,7,"news.type.analytic"),"/news?type="+i.NewsType.Analytic),t.VKq(16,$,null==i.data?null:i.data.title)):t.WLB(25,F,t.VKq(21,Ft,t.lcZ(8,9,"breadcrumbs.news")),t.VKq(23,$,null==i.data?null:i.data.title))),t.xp6(6),t.Oqu(null==i.data?null:i.data.title),t.xp6(1),t.Q6J("ngIf",null==i.data?null:i.data.publishedAt),t.xp6(4),t.Q6J("ngForOf",null==i.data||null==i.data.contentData?null:i.data.contentData.blocks),t.xp6(1),t.Q6J("ngIf",null==i.data?null:i.data.link),t.xp6(3),t.hij(" ",t.lcZ(22,11,"news.view.read-also")," "),t.xp6(3),t.Q6J("ngForOf",i.data.relevantList))},dependencies:[O.c,T.G,x.n,b.rH,h.sg,h.O5,Ct.y,Mt.E,D.Ot],styles:['.block[_ngcontent-%COMP%]{overflow:hidden;background:#eff0f4;padding:40px 0 114px}@media (max-width: 1440.98px){.block[_ngcontent-%COMP%]{padding:32px 0 96px}}@media (max-width: 639.98px){.block[_ngcontent-%COMP%]{padding:16px 0 72px}}.block__top[_ngcontent-%COMP%]{padding-bottom:40px;border-bottom:2px solid #c4c5c8;margin-bottom:38px}@media (max-width: 1440.98px){.block__top[_ngcontent-%COMP%]{padding-bottom:32px;margin-bottom:30px}}@media (max-width: 639.98px){.block__top[_ngcontent-%COMP%]{margin-bottom:24px;padding-bottom:22px}}.block__breadcrumbs[_ngcontent-%COMP%]{margin-bottom:24px}@media (max-width: 639.98px){.block__breadcrumbs[_ngcontent-%COMP%]{margin-bottom:16px}}.block__title[_ngcontent-%COMP%]{line-height:120%;margin-bottom:24px}@media (max-width: 1440.98px){.block__title[_ngcontent-%COMP%]{margin-bottom:38px}}@media (max-width: 639.98px){.block__title[_ngcontent-%COMP%]{margin-bottom:16px}}.block__date[_ngcontent-%COMP%]{font-weight:400;font-size:18px;line-height:140%;margin:0}@media (max-width: 639.98px){.block__date[_ngcontent-%COMP%]{font-size:14px;line-height:150%}}.block__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 451px;gap:223px}@media (max-width: 1440.98px){.block__grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr) 360px;gap:70px}}@media (max-width: 1279.98px){.block__grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr);gap:40px}}.block__grid-aside[_ngcontent-%COMP%]{background-color:#ffffff80;border-radius:16px;padding:20px 40px 40px 24px;height:-moz-fit-content;height:fit-content}.block__grid-aside[_ngcontent-%COMP%] .aside__title[_ngcontent-%COMP%]{font-weight:600;font-size:20px;line-height:24px;letter-spacing:.02em;margin-bottom:40px}.block__grid-aside[_ngcontent-%COMP%] .aside__list[_ngcontent-%COMP%]{display:block;padding:0;margin:0}.block__grid-aside[_ngcontent-%COMP%] .aside__list-item[_ngcontent-%COMP%]{display:block;font-size:20px;line-height:24px;letter-spacing:.02em;border-bottom:2px solid;padding-bottom:24px}.block__grid-aside[_ngcontent-%COMP%] .aside__list-item[_ngcontent-%COMP%]:not(:last-child){margin-bottom:32px}.block__grid-aside[_ngcontent-%COMP%] .aside__list-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;padding-right:16px;display:block}@media (min-width: 992px){.block__grid-aside[_ngcontent-%COMP%] .aside__list-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .block__grid-aside[_ngcontent-%COMP%] .aside__list-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}}.block__grid.top[_ngcontent-%COMP%]{gap:88px}.block__content[_ngcontent-%COMP%] h2{font-size:32px;line-height:122%;margin-bottom:32px}@media (max-width: 1440.98px){.block__content[_ngcontent-%COMP%] h2{font-size:25px;margin-bottom:25px}}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] h2{font-size:24px;line-height:120%;margin-bottom:24px}}.block__content[_ngcontent-%COMP%] >.content>p{font-weight:400;font-size:18px;line-height:140%;margin-bottom:24px;letter-spacing:.02em}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] >.content>p{font-size:16px;line-height:137%}}.block__content[_ngcontent-%COMP%] >.content>p:last-child{margin-bottom:32px}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] >.content>p:last-child{margin-bottom:16px}}.block__content[_ngcontent-%COMP%] >.content>blockquote{font-weight:400;font-size:16px;line-height:140%;letter-spacing:.02em;margin-bottom:32px}.block__content[_ngcontent-%COMP%] blockquote{padding-left:84px;position:relative;font-style:italic}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] blockquote{padding:0}}.block__content[_ngcontent-%COMP%] blockquote:before{content:"";position:absolute;width:56px;height:56px;left:0;top:0;background:url(quote.116c79b63a3b48b1.svg) no-repeat center/contain}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] blockquote:before{position:static;display:block;margin:0 auto 16px;width:48px;height:48px}}.block__content[_ngcontent-%COMP%] blockquote p{margin-bottom:32px}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] blockquote p{margin-bottom:16px}}.block__content[_ngcontent-%COMP%] blockquote cite{margin-top:54px;text-align:right;display:block;font:inherit}.block__content[_ngcontent-%COMP%] .content.image{margin-bottom:32px}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] .content.image{margin-bottom:24px}}.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio{border-radius:16px;overflow:hidden;margin-bottom:24px;position:relative;padding-bottom:55.6%}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio{padding-bottom:69.6%;margin-bottom:16px}}.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio img{position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:cover}.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio--auto{padding-bottom:0}.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio--auto img{position:static;width:auto;height:auto;max-width:min(100%,50vw);inset:unset;border-radius:16px}@media (max-width: 1279.98px){.block__content[_ngcontent-%COMP%] .content.image figure .image-wrapper-ratio--auto img{max-width:100%}}.block__content[_ngcontent-%COMP%] .content.image figure figcaption{font-weight:400;font-size:16px;line-height:150%;letter-spacing:.02em;color:#626264}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] .content.image figure figcaption{font-size:14px}}.block__content[_ngcontent-%COMP%] a{color:#3498db}
1.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%]{background-color:#fff;padding:32px 32px 48px;border-radius:16px;margin-top:40px}@media (max-width: 639.98px){.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%]{padding:24px 24px 32px}}.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:500;line-height:130%;letter-spacing:.02em;padding-bottom:24px;border-bottom:2px solid #e30613;margin-bottom:24px}.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:24px;line-height:140%;letter-spacing:.02em;text-decoration:underline;max-width:-moz-fit-content;max-width:fit-content}@media (max-width: 1440.98px){.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:19px}}@media (min-width: 992px){.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{text-decoration:none}}@media (max-width: 991.98px){.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px;line-height:130%;letter-spacing:.015em}}.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{content:"";min-width:48px;height:48px;display:block;background:url(/assets/img/icons/link-black.svg) no-repeat center/contain;margin-right:24px}@media (max-width: 1440.98px){.block__content[_ngcontent-%COMP%] .content.pdf[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:16px}}']})}return n})();var H=l(2096),Q=l(6306),U=l(2304);const Qt=[{path:"",component:wt,resolve:{bundle:(()=>{class n{constructor(e,o){this.router=e,this.newsApiService=o}resolve(e,o){return this.newsApiService.getNewsBundle().pipe((0,Q.K)(i=>(this.router.navigateByUrl("/404",{skipLocationChange:!0}),(0,H.of)({}))))}static#t=this.\u0275fac=function(o){return new(o||n)(t.LFG(b.F0),t.LFG(U.I))};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()}},{path:":slug",component:Ht,resolve:{news:(()=>{class n{constructor(e,o){this.router=e,this.newsApiService=o}resolve(e,o){return this.newsApiService.getItemBySlug(e.params.slug||null).pipe((0,Q.K)(c=>(this.router.navigateByUrl("/404",{skipLocationChange:!0}),(0,H.of)({}))))}static#t=this.\u0275fac=function(o){return new(o||n)(t.LFG(b.F0),t.LFG(U.I))};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()}}];let Ut=(()=>{class n{static#t=this.\u0275fac=function(o){return new(o||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[b.Bz.forChild(Qt),b.Bz]})}return n})();var zt=l(9469);let Yt=(()=>{class n{static#t=this.\u0275fac=function(o){return new(o||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[a.x,Ut,h.ez,zt.I,D.y4,C.IJ,A.u5]})}return n})()},2304:(J,y,l)=>{l.d(y,{I:()=>T});var h=l(7398),a=l(7922),b=l(465),w=l(7582),m=l(37),t=l(6750);class f extends m.H{}(0,w.gn)([(0,m.O)(t.L)],f.prototype,"page",void 0),(0,w.gn)([(0,m.O)(class M extends m.H{})],f.prototype,"tags",void 0);var k=l(7702),O=l(5879);let T=(()=>{class x extends a.s{getNewsList(s=null){return s=JSON.parse(JSON.stringify(s)),(s?.query||s?.id)&&(s.query=s.id??s.query,s[s.filter]=s.query),delete s?.query,delete s?.id,s&&(s=(0,b.BA)(s)),this.http.get(`${this.apiUrl}/news`,{params:s}).pipe((0,h.U)(u=>k.r.fromJsonArray(u?.data,this.langService)))}getNewsBundle(){return this.http.get(`${this.apiUrl}/bundle/news`).pipe((0,h.U)(s=>f.fromJson(s,this.langService)))}getItemBySlug(s){return this.http.get(`${this.apiUrl}/news/${s}`).pipe((0,h.U)(u=>k.r.fromJson(u?.data,this.langService)))}static#t=this.\u0275fac=function(){let s;return function(d){return(s||(s=O.n5z(x)))(d||x)}}();static#e=this.\u0275prov=O.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()}}]);
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.