1"use strict";(self.webpackChunkiexexchanger=self.webpackChunkiexexchanger||[]).push([[172],{49172:($,g,c)=>{c.r(g),c.d(g,{newsRoutingModule:()=>J});var h=c(74411),f=c(86820),n=c(54438);c(97586);const P=new n.nKC("NGX_MOMENT_OPTIONS");let w=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:P,useValue:{...e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.$C({type:t}),t.\u0275inj=n.G2t({}),t})();var d=c(74788),p=c(16195),b=c(5964),F=c(96354),u=c(30803),v=c(18360),U=c(29340),M=c(345),_=c(73955),C=c(60177),y=c(75840);function E(t,r){if(1&t&&(n.j41(0,"div",2),n.nrm(1,"ng-lottie",3),n.k0s()),2&t){const e=n.XpG();n.R7$(),n.Y8G("height",e.iEXConfig.lottie_height)("options",e.animation_loading)}}function S(t,r){if(1&t&&(n.j41(0,"mat-grid-tile")(1,"div",7)(2,"figure",8),n.nrm(3,"img",9),n.k0s(),n.j41(4,"div",10)(5,"div",11),n.EFF(6),n.k0s(),n.j41(7,"a",12)(8,"h2"),n.EFF(9),n.k0s()()()()()),2&t){const e=r.$implicit;n.R7$(2),n.Y8G("routerLink","/news/"+e.slug),n.R7$(),n.Y8G("ngSrc",e.image.middle)("title",e.title)("alt",e.title)("width",400)("height",250),n.R7$(3),n.JRh(e.created_at),n.R7$(),n.Y8G("title",e.title)("routerLink","/news/"+e.slug),n.R7$(2),n.JRh(e.title)}}function N(t,r){1&t&&(n.j41(0,"h3",6),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&t&&(n.R7$(),n.JRh(n.bMT(2,1,"news.notData")))}function R(t,r){if(1&t){const e=n.RV6();n.j41(0,"div",4)(1,"mat-grid-list",5),n.bIt("scrolled",function(){n.eBV(e);const s=n.XpG();return n.Njj(s.onScrollDown())}),n.Z7z(2,S,10,10,"mat-grid-tile",null,n.Vm6,!1,N,3,3,"h3",6),n.k0s()()}if(2&t){const e=n.XpG();n.R7$(),n.Y8G("cols",e.isMobileVersion?1:3)("rowHeight","400px")("infiniteScrollDistance",1)("infiniteScrollThrottle",50)("infiniteScrollDisabled",e.scrollDisabled)("fromRoot",!0),n.R7$(),n.Dyx(e.items)}}let I=(()=>{class t{constructor(e,i,s,a,l,m){this.route=e,this.apiProvider=i,this.media=s,this.router=a,this.titleService=l,this.translate=m,this.animation_loading={path:d.B.lottie_path+d.B.lottie_loading_name},this.isMobileVersion=!1,this.items=[],this.iEXConfig=d.B,this.translate.get("titles.news").subscribe(G=>{this.titleService.setTitle(G)})}ngOnInit(){this.media.asObservable().pipe((0,b.p)(e=>e.length>0),(0,F.T)(e=>e[0])).subscribe(e=>{this.isMobileVersion="xs"==e.mqAlias||"sm"==e.mqAlias||"md"==e.mqAlias}),this.sub=this.route.params.subscribe(e=>{this.loading=!1,this.currentPage=1,this.count=0,this.title="...",this.items=[],this.id=e.id,this.scrollDisabled=!1,this.getNews(this.currentPage,i=>{this.items=this.items.concat(i.results),this.title=void 0===e.id?"\u0412\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438":e.id,this.count=i.count,this.loading=!0})})}onScrollDown(){this.getNews(this.currentPage,e=>{this.items=this.items.concat(e.results)})}getNews(e=1,i){let s;return void 0===this.id&&(s=this.apiProvider.getNews(e)),s.subscribe(a=>{this.scrollDisabled=null==a.next,this.currentPage++,i(a)},a=>{404===a.status&&(this.scrollDisabled=!0)})}ngOnDestroy(){this.sub.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(n.rXU(u.nX),n.rXU(v.K),n.rXU(U.nJ),n.rXU(u.Ix),n.rXU(M.hE),n.rXU(_.c$))};static#t=this.\u0275cmp=n.VBU({type:t,selectors:[["news-page"]],standalone:!0,features:[n.aNF],decls:4,vars:1,consts:[[1,"default-wrapper"],["id","container",1,"news__container"],[1,"preloading-page"],[3,"height","options"],[1,"news__items"],["gutterSize","15px","data-infinite-scroll","",3,"scrolled","cols","rowHeight","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollDisabled","fromRoot"],[1,"empty"],[1,"news__item"],[1,"news-item__image",3,"routerLink"],["alt","",3,"ngSrc","title","alt","width","height"],[1,"news-item__body"],[1,"last-editor"],[3,"title","routerLink"]],template:function(i,s){1&i&&(n.j41(0,"div",0)(1,"div",1),n.DNE(2,E,2,2,"div",2)(3,R,5,7),n.k0s()()),2&i&&(n.R7$(2),n.vxM(2,s.loading?3:2))},dependencies:[h.G,C.kt,u.Wk,y.xm,_.D9,f.eO,f.DP,w,p.Fe,p.B_,p.NS],styles:[".news__container[_ngcontent-%COMP%] .mat-grid-tile{background-color:var(--iex-page-bg);border-radius:var(--iex-account-radius);box-shadow:var(--iex-default-shadow)}.news__container[_ngcontent-%COMP%] .mat-grid-tile .mat-grid-tile-content{align-items:flex-start}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%]{width:100%;margin:15px 15px 0}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none!important}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] .news-item__image[_ngcontent-%COMP%]{outline:none;cursor:pointer;margin:0 auto;height:250px;text-align:center}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] .news-item__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:230px;width:100%;border-radius:30px;object-fit:cover}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] .news-item__body[_ngcontent-%COMP%]{height:90px}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] .news-item__body[_ngcontent-%COMP%] .last-editor[_ng
1content-%COMP%]{font-size:13px;color:var(--iex-news-time-color);margin-bottom:8px}.news__container[_ngcontent-%COMP%] .news__item[_ngcontent-%COMP%] .news-item__body[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--iex-news-title-color);font-size:18px;font-weight:600;line-height:normal;word-wrap:break-word;white-space:normal}"]})}return t})();var X=c(18295);function L(t,r){if(1&t&&(n.j41(0,"div",2),n.nrm(1,"ng-lottie",3),n.k0s()),2&t){const e=n.XpG();n.R7$(),n.Y8G("height",e.iEXConfig.lottie_height)("options",e.animation_loading)}}function A(t,r){if(1&t&&(n.j41(0,"div",4)(1,"h1"),n.EFF(2),n.k0s(),n.nrm(3,"div",5),n.nI1(4,"safeHtml"),n.k0s()),2&t){const e=n.XpG();n.R7$(2),n.JRh(e.item.title),n.R7$(),n.Y8G("innerHtml",n.bMT(4,2,e.item.body),n.npT)}}const J=[{path:"",component:I},{path:":id",component:(()=>{class t{constructor(e,i,s,a,l){this.route=e,this.router=i,this.apiProvider=s,this.element=a,this.titleService=l,this.animation_loading={path:d.B.lottie_path+d.B.lottie_loading_name},this.single_tag=null,this.feeds=[],this.isLoading=!0,this.iEXConfig=d.B,this.currentPage=1,this.scrollUp=this.router.events.subscribe(()=>{a.nativeElement.scrollIntoView(),this.currentPage=1})}ngOnInit(){this.sub=this.route.params.subscribe(e=>{this.isLoading=!0,this.scrollUp=this.apiProvider.getNewsId(e.id).subscribe(i=>{this.item=i.results,this.titleService.setTitle(this.item.title),this.isLoading=!1})})}ngOnDestroy(){this.sub.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(n.rXU(u.nX),n.rXU(u.Ix),n.rXU(v.K),n.rXU(n.aKT),n.rXU(M.hE))};static#t=this.\u0275cmp=n.VBU({type:t,selectors:[["news-item-page"]],standalone:!0,features:[n.aNF],decls:4,vars:1,consts:[[1,"default-wrapper"],["id","container",1,"news-item__container"],[1,"preloading-page"],[3,"height","options"],[1,"default-page-inner"],[1,"news-item__content",3,"innerHtml"]],template:function(i,s){1&i&&(n.j41(0,"div",0)(1,"div",1),n.DNE(2,L,2,2,"div",2)(3,A,5,4),n.k0s()()),2&i&&(n.R7$(2),n.vxM(2,s.isLoading?2:3))},dependencies:[h.G,y.xm,f.eO,w,X.$],styles:[".news-item__container[_ngcontent-%COMP%] .default-page-inner[_ngcontent-%COMP%]{padding:var(--default-padding-main)}.news-item__container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:600;font-size:25px;color:var(--iex-news-title-color);padding-bottom:2rem;line-height:1.4}.news-item__container[_ngcontent-%COMP%] .news-item__content[_ngcontent-%COMP%]{margin-top:30px;padding:0 30px}.news-item__container[_ngcontent-%COMP%] .news-item__content[_ngcontent-%COMP%] p{margin-bottom:2rem;line-height:1.6;font-size:1.5rem}"]})}return t})()}]}}]);
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.