1"use strict";(self.webpackChunktv24app=self.webpackChunktv24app||[]).push([["src_app_pages_last-push-news-page_last-push-news-page_module_ts-src_app_pipes_date-formatter_-e6bfe3"],{67473:(x,g,e)=>{e.d(g,{D:()=>t});var l=e(96814),p=e(65879);let t=(()=>{class h{static{this.\u0275fac=function(a){return new(a||h)}}static{this.\u0275mod=p.oAB({type:h})}static{this.\u0275inj=p.cJS({imports:[l.ez]})}}return h})()},91346:(x,g,e)=>{e.r(g),e.d(g,{LastPushNewsPageModule:()=>C});var l=e(96814),p=e(64190),t=e(65879),h=e(26306),M=e(58504),y=e(46703),a=e(21155),E=e(77705),i=e(31579),c=e(47354);function u(n,O){if(1&n&&(t.ynx(0),t._UZ(1,"app-news-item",8),t.BQk()),2&n){const o=O.$implicit;t.xp6(1),t.Q6J("mode","without-photo")("news",o)("newsFooterPlace","bottom")("eyeIconColor","red")("dateFormat","HHmmddMM")("withDivider",!0)}}const w=[{path:"",component:(()=>{class n{constructor(o,r,f,_,D,S){this.newsService=o,this.errorProcessorService=r,this.languageService=f,this.seoService=_,this.locale=D,this.cdr=S,this.quantity=10}ngOnInit(){this.newsService.getLastPushNews(this.quantity,this.languageService.tv24langName).pipe((0,h.K)(o=>(this.errorProcessorService.processByResponse(o),this.cdr.markForCheck(),(0,M._)(()=>o)))).subscribe(o=>{this.newsList=o,this.cdr.markForCheck()}),this.initPageData()}initPageData(){const o="\u041E\u0441\u0442\u0430\u043D\u043D\u0456 \u0432\u0430\u0436\u043B\u0438\u0432\u0456 \u043D\u043E\u0432\u0438\u043D\u0438 - 24 \u041A\u0430\u043D\u0430\u043B",r="\u041E\u0441\u0442\u0430\u043D\u043D\u0456 \u0432\u0430\u0436\u043B\u0438\u0432\u0456 \u043D\u043E\u0432\u0438\u043D\u0438";this.seoService.initCommonPageData("en"===this.locale?"/en/last-push-news":"ru"===this.locale?"/ru/last-push-news":"/last-push-news",o,r)}static{this.\u0275fac=function(r){return new(r||n)(t.Y36(y.Y),t.Y36(a.T),t.Y36(E.T),t.Y36(i.v),t.Y36(t.soG),t.Y36(t.sBO))}}static{this.\u0275cmp=t.Xpm({type:n,selectors:[["app-last-push-news-page"]],decls:9,vars:1,consts:function(){let o;return o="\u0412\u0430\u0436\u043B\u0438\u0432\u0456 \u043D\u043E\u0432\u0438\u043D\u0438",[[1,"grid-container","padding-collapse"],[1,"title"],o,[1,"cell"],[1,"news-list-wrapper"],[1,"block-title","block-title_live"],[1,"news-list","oink"],[4,"ngFor","ngForOf"],[3,"mode","news","newsFooterPlace","eyeIconColor","dateFormat","withDivider"]]},template:function(r,f){1&r&&(t.TgZ(0,"div",0)(1,"h1",1),t.SDv(2,2),t.qZA(),t.TgZ(3,"main",3)(4,"section",4)(5,"h2",5),t._uU(6,"LIVE"),t.qZA(),t.TgZ(7,"div",6),t.YNc(8,u,2,6,"ng-container",7),t.qZA()()()()),2&r&&(t.xp6(8),t.Q6J("ngForOf",f.newsList))},dependencies:[l.sg,c.U],styles:["[_nghost-%COMP%] .nts-video-label{display:none}.title[_ngcontent-%COMP%]{font-size:40px;line-height:32px;color:var(--font-color);margin-bottom:20px;text-transform:none}.block-title[_ngcontent-%COMP%]{font-weight:700;font-size:18px;line-height:100%;letter-spacing:.04em;text-transform:uppercase;color:var(--white);background:var(--primary-color);padding:9px 15px 7px;flex:1;flex-basis:100%;margin:0}.block-title_video[_ngcontent-%COMP%]{background:#F5F5F5;color:#8f9090}.block-title_live[_ngcontent-%COMP%]{background:#FDF6F7;color:var(--primary-color)}main[_ngcontent-%COMP%]{border-right:1px solid #E8E8E8;border-left:1px solid #E8E8E8}.news-list[_ngcontent-%COMP%]{padding:20px 35px 0}[_nghost-%COMP%] app-news-item .simple-news-item .news-content .news-title{font-size:26px;line-height:32px}[_nghost-%COMP%] app-news-item .simple-news-item .news-content .news-info{font-size:14px}[_nghost-%COMP%] app-news-item.big .simple-news-item .news-content .news-title{font-size:36px;line-height:42px}[_nghost-%COMP%] app-news-item.small .simple-news-item{height:100%}[_nghost-%COMP%] app-news-item.small .simple-news-item .news-content{height:100%;justify-content:space-between}[_nghost-%COMP%] app-news-item.small .simple-news-item .news-content .news-title{font-size:18px;line-height:24px}@media screen and (max-width: 768px){main[_ngcontent-%COMP%]{border:none}.padding-collapse[_ngcontent-%COMP%]{padding:0}.title[_ngcontent-%COMP%]{margin-left:15px;font-size:30px;line-height:32px;text-transform:none}.news-list[_ngcontent-%COMP%]{padding:20px 15px}[_nghost-%COMP%] app-news-item .simple-news-item .news-content .news-title{font-size:20px;line-height:24px}[_nghost-%COMP%] app-news-item.big .simple-news-item .news-content .news-title{font-size:24px;line-height:27px}[_nghost-%COMP%] app-news-item.small .simple-news-item{height:100%}[_nghost-%COMP%] app-news-item.small .simple-news-item .news-content{height:100%;justify-content:space-between;row-gap:36px}[_nghost-%COMP%] app-news-item.small .simple-news-item .news-content .news-title{font-size:20px;line-height:24px}}"],changeDetection:0})}}return n})()}];let s=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.oAB({type:n})}static{this.\u0275inj=t.cJS({imports:[p.Bz.forChild(w),p.Bz]})}}return n})();var m=e(70714),P=e(39353),v=e(67473);let C=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=t.oAB({type:n})}static{this.\u0275inj=t.cJS({imports:[l.ez,s,m.r,P.N,v.D]})}}return n})()},76643:(x,g,e)=>{e.d(g,{Q:()=>M,l:()=>h});var l=e(65879),p=e(39536),t=e(73441);let h=(()=>{class a{constructor(i){this.locale=i}transform(i,c=!0,u=!1,d=!1,w=!1){if(!i)return"";const s=new Date(i),m=function y(a){return p.g.getTranslationsByLanguage(a)}(this.locale),P=c?m.monthsShort[s.getMonth()]:m.months[s.getMonth()],v=(0,t.WU)(new Date(Date.now()-864e5),"yyyy-MM-dd"),C=(new Date).getFullYear()===s.getFullYear();if(w)return`${m.days[s.getDay()-1]}, ${(0,t.WU)(s,"d")} ${P} ${(0,t.WU)(s,"yyyy")}`;if(v===(0,t.WU)(s,"yyyy-MM-dd")&&u)return m.yesterday;if((0,t.WU)(new Date,"yyyy-MM-dd")===(0,t.WU)(s,"yyyy-MM-dd")&&u)return m.today;if(!C&&!d)return`${(0,t.WU)(s,"d")} ${P} ${c?"":(0,t.WU)(s,"yyyy")}`;let n=`${(0,t.WU)(s,"d")} ${P}${d?" "+(0,t.WU)(s,"yyyy"):""}`;return u&&(n+=`${m[s.getDay()]}`),n}
1static{this.\u0275fac=function(c){return new(c||a)(l.Y36(l.soG,16))}}static{this.\u0275pipe=l.Yjl({name:"dateFormatter",type:a,pure:!0,standalone:!0})}}return a})(),M=(()=>{class a{constructor(i){this.locale=i}transform(i,c,u){if(!i)return"";switch(c){case"day":return i.split(" ")[0]||"";case"month":return i.split(" ")[1]||"";case"year":return i.split(" ")[2]||"";case"dayName":if(!u)return"";const d=new Date(u),w=p.g.getTranslationsByLanguage(this.locale),s=(d.getDay()+6)%7;return w.days[s]||"";default:return i}}static{this.\u0275fac=function(c){return new(c||a)(l.Y36(l.soG,16))}}static{this.\u0275pipe=l.Yjl({name:"extractDatePart",type:a,pure:!0,standalone:!0})}}return 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.