1"use strict";(self.webpackChunkbolero=self.webpackChunkbolero||[]).push([[325],{4843(se,st,l){l.d(st,{$:()=>R});var y=l(17705),I=l(35547),T=l(85802);let R=(()=>{var v;class k{constructor(){this._elRef=(0,T.WQX)(I.aKT),this._renderer=(0,T.WQX)(I.sFG),this.taImageFallback=y.hFB.required()}loadFallbackImage(){this._elRef.nativeElement.src=this.taImageFallback()||"/assets/img/shell/general/placeholder--v2.png",this._renderer.addClass(this._elRef.nativeElement,"image-placeholder")}static#t=v=()=>(this.\u0275fac=function(X){return new(X||k)},this.\u0275dir=I.FsC({type:k,selectors:[["","taImageFallback",""]],hostBindings:function(X,H){1&X&&I.bIt("error",function(){return H.loadFallbackImage()})},inputs:{taImageFallback:[1,"taImageFallback"]},standalone:!1}))}return v(),k})()},56902(se,st,l){l.d(st,{U:()=>pt});var ft,y=l(31635),I=l(17705),T=l(85802),R=l(89417),v=l(9955),k=l(14804),P=l(4741),x=l(69130),X=l(59640),H=l(41780),lt=l(21413),rt=l(23294),S=l(5964),mt=l(96354),yt=l(25558),gt=l(96697),bt=l(88141),e=l(35547),j=l(49769),c=l(71602),E=l(92994),m=l(77177),ct=l(78445),G=l(70029),$=l(81281),t=l(70500),ht=l(50655),Y=l(63601),It=l(55413),Mt=l(70713),xt=l(81655),Ft=l(76381),Dt=l(77479),V=l(93989),L=l(22600),vt=l(69164),Rt=l(37648),Et=l(47149),$t=l(44940),At=l(13076),kt=l(31986),Lt=l(99190),_t=l(69124),Bt=l(69876),h=l(46873),Pt=l(83712);const dt=(p,_)=>({topics:p,searchContent:_}),Z=()=>({alignLabelLeft:!0}),jt=p=>({total:p}),N=()=>[],Gt=p=>({filesize:p}),q=p=>({title:p});function W(p,_){1&p&&(e.j41(0,"div",2)(1,"p",15),e.EFF(2,"analysis_insights.content_screener.messages.no_keyword"),e.k0s()())}function b(p,_){if(1&p&&(e.j41(0,"ta-option",26),e.EFF(1),e.nI1(2,"atlasText"),e.k0s()),2&p){const r=_.$implicit;e.Y8G("value",r.uuid),e.R7$(),e.SpI(" ",e.bMT(2,2,r.name)," ")}}function it(p,_){if(1&p){const r=e.RV6();e.j41(0,"div",16)(1,"div",19)(2,"header",20)(3,"h3",21),e.EFF(4,"analysis_insights.content_screener.labels.filter"),e.k0s()(),e.j41(5,"div",22)(6,"form",23),e.bIt("submit",function(){T.eBV(r);const C=e.XpG(3);return T.Njj(C.filter())}),e.j41(7,"ta-form-element",24)(8,"ta-label"),e.EFF(9),e.nI1(10,"translate"),e.nI1(11,"uppercase"),e.k0s(),e.j41(12,"ta-radio-group",25)(13,"ta-radio-button",26),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"ta-radio-button",26),e.EFF(17),e.nI1(18,"translate"),e.k0s()()(),e.j41(19,"ta-form-element",24)(20,"ta-select",27),e.nI1(21,"translate"),e.Z7z(22,b,3,4,"ta-option",26,e.fX1),e.k0s()(),e.j41(24,"ta-form-element",24)(25,"ta-label"),e.EFF(26),e.nI1(27,"translate"),e.nI1(28,"uppercase"),e.k0s(),e.j41(29,"ta-checkbox-group",28)(30,"ta-checkbox",29),e.EFF(31,"nl"),e.k0s(),e.j41(32,"ta-checkbox",30),e.EFF(33,"fr"),e.k0s()()(),e.j41(34,"ta-label"),e.EFF(35),e.nI1(36,"translate"),e.nI1(37,"uppercase"),e.k0s(),e.j41(38,"ta-form-element")(39,"ta-label"),e.EFF(40),e.nI1(41,"translate"),e.nI1(42,"uppercase"),e.k0s(),e.j41(43,"ta-input-group"),e.nrm(44,"input",31)(45,"ta-datepicker-toggle",32)(46,"ta-datepicker",null,0),e.k0s()(),e.j41(48,"ta-form-element")(49,"ta-label"),e.EFF(50),e.nI1(51,"translate"),e.nI1(52,"uppercase"),e.k0s(),e.j41(53,"ta-input-group"),e.nrm(54,"input",33)(55,"ta-datepicker-toggle",32)(56,"ta-datepicker",null,1),e.k0s()(),e.j41(58,"button",34),e.EFF(59),e.nI1(60,"translate"),e.k0s(),e.j41(61,"button",35),e.bIt("click",function(){T.eBV(r);const C=e.XpG(3);return T.Njj(C.resetFilters())}),e.EFF(62),e.nI1(63,"translate"),e.k0s()()()()()}if(2&p){let r,u;const C=e.sdS(47),A=e.sdS(57),F=e.XpG(2),f=e.XpG();e.R7$(6),e.Y8G("formGroup",f.searchForm),e.R7$(),e.Y8G("options",e.lJ4(57,Z)),e.R7$(2),e.JRh(e.bMT(11,28,e.bMT(10,26,"analysis_insights.content_screener.labels.topics"))),e.R7$(4),e.Y8G("value",!0),e.R7$(),e.JRh(e.i5U(15,30,"analysis_insights.content_screener.labels.all_available",e.eq3(58,jt,(null==F.searchContent||null==F.searchContent.data||null==F.searchContent.data.topics?null:F.searchContent.data.topics.length)||0))),e.R7$(2),e.Y8G("value",!1),e.R7$(),e.SpI("",e.bMT(18,33,"analysis_insights.content_screener.labels.select_topics"),":"),e.R7$(2),e.Y8G("options",e.lJ4(60,Z)),e.R7$(),e.Y8G("compareWith",f.compareSelectOptions())("placeholder",e.bMT(21,35,"analysis_insights.content_screener.labels.topics_placeholder")),e.R7$(2),e.Dyx((null==F.searchContent||null==F.searchContent.data?null:F.searchContent.data.topics)??e.lJ4(61,N)),e.R7$(2),e.Y8G("options",e.lJ4(62,Z)),e.R7$(2),e.JRh(e.bMT(28,39,e.bMT(27,37,"analysis_insights.content_screener.labels.language"))),e.R7$(4),e.Y8G("formControl",f.searchForm.get("languages.nl")),e.R7$(2),e.Y8G("formControl",f.searchForm.get("languages.fr")),e.R7$(3),e.JRh(e.bMT(37,43,e.bMT(36,41,"analysis_insights.content_screener.labels.date"))),e.R7$(5),e.JRh(e.bMT(42,47,e.bMT(41,45,"anal
1ysis_insights.content_screener.labels.date_from"))),e.R7$(4),e.Y8G("taDatepicker",C)("max",null==(r=f.searchForm.get("endDate"))?null:r.value),e.R7$(),e.Y8G("for",C),e.R7$(5),e.JRh(e.bMT(52,51,e.bMT(51,49,"analysis_insights.content_screener.labels.date_to"))),e.R7$(4),e.Y8G("taDatepicker",A)("min",null==(u=f.searchForm.get("startDate"))?null:u.value),e.R7$(),e.Y8G("for",A),e.R7$(3),e.Y8G("disabled",f.isLoading()),e.R7$(),e.JRh(e.bMT(60,53,"analysis_insights.content_screener.buttons.filter")),e.R7$(3),e.SpI("",e.bMT(63,55,"analysis_insights.content_screener.buttons.reset_filters")," ")}}function at(p,_){1&p&&(e.j41(0,"div")(1,"div",19)(2,"div",22)(3,"p",21),e.EFF(4,"analysis_insights.content_screener.messages.no_results"),e.k0s()()()())}function tt(p,_){if(1&p&&(e.j41(0,"h3",37),e.EFF(1),e.nI1(2,"atlasText"),e.nI1(3,"taNumber"),e.k0s()),2&p){const r=e.XpG().$implicit;e.R7$(),e.Lme("",e.bMT(2,2,r.title)," (",e.i5U(3,4,r.total,0),")")}}function w(p,_){if(1&p&&(e.j41(0,"h3",37)(1,"span"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&p){const r=e.XpG().$implicit;e.R7$(2),e.JRh(e.bMT(3,1,r.title))}}function O(p,_){if(1&p&&(e.j41(0,"a",45),e.nI1(1,"taArticleUrl"),e.EFF(2),e.nI1(3,"atlasText"),e.k0s()),2&p){const r=e.XpG().$implicit,u=e.XpG().$implicit;e.Y8G("taRouterLink",e.i5U(1,2,r,r.topic||u)),e.R7$(2),e.JRh(e.bMT(3,5,r.title))}}function K(p,_){if(1&p&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"atlasText"),e.k0s()),2&p){const r=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,r.title))}}function Ct(p,_){if(1&p&&(e.nrm(0,"p",46),e.nI1(1,"linky")),2&p){const r=e.XpG().$implicit;e.Y8G("innerHTML",e.bMT(1,1,r.content),e.npT)}}function wt(p,_){if(1&p&&(e.j41(0,"div",16)(1,"a",47),e.nI1(2,"atlasText"),e.EFF(3),e.nI1(4,"taFileSize"),e.nI1(5,"translate"),e.k0s()()),2&p){const r=e.XpG().$implicit;e.R7$(),e.Y8G("href",e.bMT(2,2,r.reference),e.B4B),e.R7$(2),e.SpI(" ",e.i5U(5,6,"analysis_insights.content_screener.buttons.download_file",e.eq3(9,Gt,e.bMT(4,4,r.filesize)))," ")}}function Ot(p,_){if(1&p&&(e.j41(0,"div",2)(1,"div",42)(2,"p",43),e.EFF(3),e.nI1(4,"date"),e.k0s()(),e.j41(5,"div",44),e.nVh(6,O,4,7,"a",45),e.nI1(7,"atlasText"),e.nVh(8,K,3,3,"span"),e.nI1(9,"atlasText"),e.nrm(10,"br"),e.nVh(11,Ct,2,3,"p",46),e.k0s(),e.nVh(12,wt,6,11,"div",16),e.k0s()),2&p){const r=_.$implicit,u=e.XpG().$implicit,C=e.XpG(5);e.R7$(3),e.JRh(e.ii3(4,6,r.publicationDate.value,"dd LLL yyyy - HH:mm",void 0,C.locale())),e.R7$(2),e.Y8G("ngClass",r.reference?"ta-col--7":"ta-col--10"),e.R7$(),e.vxM("most-relevant"!==e.bMT(7,11,u.uuid)||r.topic?6:-1),e.R7$(2),e.vxM("most-relevant"!==e.bMT(9,13,u.uuid)||r.topic?-1:8),e.R7$(3),e.vxM(r.content?11:-1),e.R7$(),e.vxM(r.reference?12:-1)}}function Ut(p,_){if(1&p){const r=e.RV6();e.j41(0,"div",39)(1,"button",48),e.bIt("click",function(){T.eBV(r);const C=e.XpG().$implicit,A=e.XpG(5);return T.Njj(A.showTopic(C.uuid))}),e.j41(2,"span"),e.EFF(3),e.nI1(4,"atlasText"),e.nI1(5,"translate"),e.nrm(6,"i",49),e.k0s()()()}if(2&p){const r=e.XpG().$implicit;e.R7$(3),e.SpI("",e.i5U(5,3,"analysis_insights.content_screener.labels.see_all",e.eq3(6,q,e.bMT(4,1,r.title)))," ")}}function Vt(p,_){if(1&p){const r=e.RV6();e.j41(0,"ta-paginator",50),e.bIt("onPageChange",function(C){T.eBV(r);const A=e.XpG(6);return T.Njj(A.onPageChange(C))}),e.k0s()}if(2&p){const r=e.XpG().$implicit;e.Y8G("pages",r.pages)("currentPage",r.page)("visibleCount",8)}}function Xt(p,_){if(1&p&&(e.j41(0,"div",36),e.nI1(1,"atlasText"),e.j41(2,"div",3),e.nVh(3,tt,4,7,"h3",37),e.nVh(4,w,4,3,"h3",37),e.j41(5,"div",38),e.Z7z(6,Ot,13,15,"div",2,e.BUC().trackByRowId,!0),e.nVh(8,Ut,7,8,"div",39),e.k0s(),e.j41(9,"div",40),e.nVh(10,Vt,1,3,"ta-paginator",41),e.k0s()()()),2&p){const r=_.$implicit,u=e.XpG(5);e.Y8G("id",e.bMT(1,5,r.uuid)),e.R7$(3),e.vxM(r.translated?3:-1),e.R7$(),e.vxM(r.translated?-1:4),e.R7$(2),e.Dyx(r.rows),e.R7$(2),e.vxM(u.detailView()||r.fixed||!r.showSeeAll?-1:8),e.R7$(2),e.vxM(u.detailView()?10:-1)}}function St(p,_){if(1&p&&(e.j41(0,"div",19)(1,"div",22),e.Z7z(2,Xt,11,7,"div",36,e.BUC().trackByTopicUuid,!0),e.k0s()()),2&p){const r=e.XpG(3);e.R7$(2),e.Dyx(null==r.topics?null:r.topics.topics)}}function Yt(p,_){if(1&p&&(e.j41(0,"div"),e.nVh(1,St,4,0,"div",19),e.k0s()),2&p){const r=e.XpG(2);e.R7$(),e.vxM(null!=r.topics&&r.topics.hasData?1:-1)}}function Nt(p,_){if(1&p&&(e.j41(0,"div",2),e.nVh(1,it,64,63,"div",16),e.j41(2,"div",17),e.nVh(3,at,5,0,"div"),e.DNE(4,Yt,2,1,"div",18),e.k0s()()),2&p){const r=e.XpG(),u=e.XpG();e.R7$(),e.vxM(u.showFilter()&&u.searchForm&&(null!=r.searchContent&&null!=r.searchContent.data&&null!=r.searchContent.data.rows&&r.searchContent.data.rows.length||u.filtering())?1:-1),e.R7$(),e.HbH("ta-col--"+(u.showFilter()&&u.searchForm&&(null!=r.searchContent&&null!=r.searchContent.data&&null!=r.searchContent.data.rows&&r.searchContent.data.rows.length||u.filtering())?"9":"12")),e.Y8G("taLoaderResult",r.topics),e.R7$(),e.vxM(null!=r.topics&&r.topics.hasData||null!=r.topics&&r.topics.loading?-1:3)}}function Wt(p,_){if(1&p&&e.nVh(0,Nt,5,5,"div",2),2&p){const r=e.XpG();e.vxM(r.showNoKeyword()?-1:0)}}let pt=(class qt{constructor(){this._fb=(0,T.WQX)(R.ok),this._store=(0,T.WQX)(X.il),this._translate=(0,T.WQX)(H.c$),this._mostRelevantTopicName="most-relevant",this._activeFilters={}
1,this.showFilter=(0,I.hFB)(!0),this.initialKeyword=(0,I.hFB)(),this.keywordSubject=new lt.B,this.detailView=(0,T.vPA)(void 0),this.isLoading=(0,T.vPA)(!1),this.showNoKeyword=(0,T.vPA)(!0),this.contentScreenerForm=this._fb.group({keyword:[]}),this.locale=(0,T.vPA)(`${this._translate.currentLang}-BE`),this.searchForm=this._fb.group({}),this.filtering=(0,T.vPA)(!1),this.searchContent$=this._store.select((0,x.im)(this._mostRelevantTopicName)),this.topics$=this._store.select(x.pj).pipe((0,S.p)(r=>r&&Object.keys(r).length>0),(0,mt.T)(r=>{const u=Object.values(r);this.isLoading.set(u.some(f=>f.loading));const C=r[this._mostRelevantTopicName];if(!this.isLoading()&&C.data.rows&&0===C.data.rows.length)return{loading:!1,hasData:!1};if(1===u.length&&u[0].data.rows&&u[0].data.rows.length>0)return{loading:!0};if(this.isLoading())return{loading:this.isLoading()};const A={loading:!1,topics:[],hasData:C.data.rows&&C.data.rows.length>0};this.detailView()||A.topics.push({...C.data,translated:!1,fixed:!0,title:"analysis_insights.content_screener.labels.most_relevant"});const F=Object.keys(r).filter(f=>f!==this._mostRelevantTopicName&&(!this.detailView()||this.detailView()?.equals(new v.EY(f)))).reduce((f,et)=>{const M=r[et].data,D=C.data.topics?.find(ot=>ot.uuid.equals(M.uuid)),J=M.rows&&M.rows.length>0;if(f.hasData=(f.hasData||J)??!1,J&&D){const ot={...M,...D,rows:M.rows,total:M.total,title:D.name,translated:!0,fixed:!1,pages:M.pages,page:M.page,showSeeAll:!!M.rows&&!!M.total&&v.fz.lt(new v.Ww(M.rows.length.toString()),M.total)};if(!this.detailView()){const[Tt]=f.topics;f.topics[0]={...Tt,rows:Tt.rows?.map(nt=>nt.topic?nt:ot.rows?.find(Kt=>Kt.uuid.equals(nt.uuid))?{...nt,topic:D}:nt)}}f.topics.push(ot)}return f},A);return F.topics=[...F.topics].sort((f,et)=>f.uuid?.equals(new v.EY(this._mostRelevantTopicName))||v.fz.gte(f.total,et.total)?-1:1),F})),this.compareSelectOptions=(0,T.vPA)((r,u)=>r&&u&&r.equals(u));let _=!1;(0,T.QZP)(()=>{const r=this.initialKeyword();r&&(_&&(this._keyword=void 0),_=!0,this.keywordSubject.next(r))}),this.keywordSubject.asObservable().pipe((0,rt.F)((r,u)=>r&&u&&r.equals(u)),(0,S.p)(Boolean),(0,yt.n)(r=>this._store.select((0,P.am)("q")).pipe((0,gt.s)(1),(0,bt.M)(u=>this._handleKeywordChange(r,u)))),(0,k.pQ)(this)).subscribe(),this._store.select((0,P.am)("q")).pipe((0,rt.F)(),(0,S.p)(Boolean),(0,k.pQ)(this)).subscribe(r=>this.keywordSubject.next(new v.EY(r)))}ngOnInit(){if(this.searchContent$.pipe((0,S.p)(({data:_,loading:r})=>!!_&&!r),(0,S.p)(({data:{topics:_}})=>!!_&&_.length>0),(0,k.pQ)(this)).subscribe(({data:{topics:_}})=>{_?.forEach(r=>this._store.dispatch((0,x.O7)({...this._activeFilters,languages:this._getLanguagesOrDefault(),perPage:new v.Ww("6"),text:this._keyword||this.initialKeyword(),topics:r.uuid})))}),this.showFilter()){const r=this._getDefaultLanguages(this._translate.currentLang);this.searchForm=this._fb.group({allTopics:[!0],topics:[{value:void 0,disabled:!0}],languages:this._fb.group({nl:[r.nl],fr:[r.fr]}),startDate:[],endDate:[]}),this.searchForm.controls.allTopics.valueChanges.pipe((0,k.pQ)(this)).subscribe(u=>this.searchForm.controls.topics[u?"disable":"enable"]())}}search(){const{keyword:_}=this.contentScreenerForm.value;if(!_||v.EY.isText(_&&v.l5.isEmpty(_)))return void this.showNoKeyword.set(!0);this._activeFilters={},this.detailView.set(void 0),this.filtering.set(!1);const u=this._getDefaultLanguages(this._translate.currentLang);this.searchForm?.patchValue({topics:[],allTopics:!0,languages:u,startDate:null,endDate:null}),this._keyword?.equals(_)?this._updateViewAndDispatch():this.keywordSubject.next(_)}trackByTopicUuid(_,{uuid:r}){return r.asString()}trackByRowId(_,{rowId:r}){return r.asString()}
1showTopic(_){this.detailView.set(_),this._store.dispatch((0,x.O7)({...this._activeFilters,languages:this._getLanguagesOrDefault(),perPage:new v.Ww("20"),text:this._keyword||this.initialKeyword(),topics:_})),this.searchForm&&(this.searchForm.get("allTopics")?.patchValue(!1),this.searchForm.get("topics")?.patchValue([_]))}onPageChange(_){this._store.dispatch((0,x.O7)({...this._activeFilters,languages:this._getLanguagesOrDefault(),perPage:new v.Ww("20"),text:this._keyword||this.initialKeyword(),topics:this.detailView(),page:new v.Ww(_.toString())}))}filter(){this.detailView.set(void 0);let{languages:_,allTopics:r}=this.searchForm.value;const{topics:u,languages:{nl:C,fr:A},startDate:F,endDate:f}=this.searchForm.value;C?.asBoolean()||A?.asBoolean()||(_=this._getDefaultLanguages(this._translate.currentLang)),(!u||Array.isArray(u)&&0===u.length)&&(r=!0);const et=new v.EY(Object.keys(_).reduce((D,J)=>(_[J]?.asBoolean()&&D.push(J),D),[]).join(",")),M=new v.EY(u?.map(D=>D.asString()).join(",")||"");this._activeFilters={topics:r?void 0:M,languages:et,startDate:F,endDate:f},this.filtering.set(!0),this._updateFormFromFilters(),this._store.dispatch((0,x.x7)()),this._store.dispatch((0,x.O7)({...this._activeFilters,languages:this._getLanguagesOrDefault(),perPage:new v.Ww("3"),text:this._keyword||this.initialKeyword()}))}resetFilters(){const r=this._getDefaultLanguages(this._translate.currentLang);this._activeFilters={},this._updateFormFromFilters(),this.searchForm?.patchValue({languages:r}),this.detailView.set(void 0)}_updateFormFromFilters(){this.searchForm?.patchValue({topics:this._activeFilters.topics?this.searchForm.value.topics:[],allTopics:!this._activeFilters.topics,languages:{nl:-1===this._activeFilters.languages?.asString().indexOf("nl")?v.v8.FALSE:v.v8.TRUE,fr:-1===this._activeFilters.languages?.asString().indexOf("fr")?v.v8.FALSE:v.v8.TRUE},startDate:this._activeFilters.startDate,endDate:this._activeFilters.endDate})}_updateViewAndDispatch(){(this._keyword||this.initialKeyword())&&(this.contentScreenerForm.patchValue({keyword:this._keyword||this.initialKeyword()}),this.showNoKeyword.set(!1),this.detailView.set(void 0),this._store.dispatch((0,x.O7)({perPage:new v.Ww("3"),languages:this._getDefaultLanguagesString(),text:this._keyword||this.initialKeyword()})))}_getDefaultLanguages(_){const r="nl"===_,u="fr"===_;return{nl:r||!u?v.v8.TRUE:v.v8.FALSE,fr:u||!r?v.v8.TRUE:v.v8.FALSE}}_getDefaultLanguagesString(){const _=this._translate.currentLang;return new v.EY("nl"===_?"nl":"fr"===_?"fr":"nl,fr")}_getLanguagesOrDefault(){return this._activeFilters.languages??this._getDefaultLanguagesString()}_handleKeywordChange(_,r){const u=_.asString();r!==u&&this._store.dispatch((0,P.Go)({path:[],extras:{queryParams:{q:u},queryParamsHandling:"merge"}})),this._keyword=_,this.resetFilters(),this._updateViewAndDispatch()}static#t=ft=()=>(this.\u0275fac=function(r){return new(r||qt)},this.\u0275cmp=e.VBU({type:qt,selectors:[["ta-content-screener"]],inputs:{showFilter:[1,"showFilter"],initialKeyword:[1,"initialKeyword"]},standalone:!1,decls:24,vars:17,consts:[["startDatePicker",""],["endDatePicker",""],[1,"ta-row"],[1,"ta-col--12"],[1,"box"],[1,"box__content","no-padding--bottom"],["name","contentForm","novalidate","",3,"submit","formGroup"],[1,"no-margin"],[1,"ta-label--big"],[1,"ta-row","no-padding"],[1,"ta-col--8"],["taInput","","atlasText","","formControlName","keyword"],[1,"hidden--lg"],[1,"ta-col--4"],["taButton","","taButtonType","fixed-width-small","type","submit",3,"disabled"],["translate","",1,"text--body","text--med","padding--left"],[1,"ta-col--3"],["taLoader","","taLoaderIgnoreEmpty","",3,"taLoaderResult"],[4,"taLoaderContent"],[1,"box","box--gray"],[1,"box__header"],["translate",""],[1,"box__content"],[3,"submit","formGroup"],[3,"options"],["formControlName","allTopics"],[3,"value"],["formControlName","topics","multiple","",1,"margin--bottom",3,"compareWith","placeholder"],["horizontal",""],["value","nl",3,"formControl"],["value","fr",3,"formControl"],["taInput","","formControlName","startDate","tabindex","-1",3,"taDatepicker","max"],[3,"for"],["taInput","","formControlName","endDate","tabindex","-1",3,"taDatepicker","min"],["type","submit","taButton","",1,"full-width",3,"disabled"],["taButton","","taButtonType","tertiary",1,"full-width",3,"click"],[1,"ta-row",3,"id"],[1,"margin--bottom--sm"],[1,"border-bottom-gray-light"],[1,"clearfix"],[1,"padding--sm","text--center"],["hideIfOnePage","",3,"pages","currentPage","visibleCount"],[1,"ta-col--2"],[1,"text--gray","no-margin"],[3,"ngClass"],[3,"taRouterLink"],[3,"innerHTML"],["taButton","","taButtonType","download","target","_blank",3,"href"],["type","button",1,"link","pull--right","margin--bottom","text--left",3,"click"],[1,"icon-traderapp-arrow--right","text--small"],["hideIfOnePage","",3,"onPageChange","pages","currentPage","visibleCount"]],template:function(r,u){if(1&r&&(e.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"form",6),e.bIt("submit",function(){return u.search()}),e.j41(5,"ta-form-element",7)(6,"ta-label",8),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"div",9)(10,"div",10),e.nrm(11,"input",11),e.k0s(),e.nrm(12,"br",12),e.j41(13,"div",13)(14,"button",14),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.nrm(17,"br",12),e.k0s()()()()()()(),e.j41(18,"div",2)(19,"div",3),e.nVh(20,W,3,0,"div",2),e.nVh(21,Wt,1,1),e.nI1(22,"async"),e.nI1(23,"async"),e.k0s()()),2&r){let C;e.R7$(4),e.Y8G("formGroup",u.contentScreenerForm),e.R7$(3),e.JRh(e.bMT(8,6,"analysis_insights.content_screener.labels.enter_keyword")),e.R7$(7),e.Y8G("disabled",u.isLoading()),e.R7$(),e.JRh(e.bMT(16,8,"analysis_insights.content_screener.buttons.search")),e.R7$(5),e.vxM(u.showNoKeyword()?20:-1),e.R7$(),e.vxM((C=e.l_i(14,dt,e.bMT(22,10,u.topics$),e.bMT(23,12,u.searchContent$)))?21:-1,C
1)}},dependencies:[j.YU,c.A,R.qT,R.me,R.BC,R.cb,R.l_,R.j4,R.JD,E.lD,m.f,ct.Ad,ct.qY,G.S,G.O,$.U,H.Mm,t.ZD,t.nE,ht.V,Y.q,It.Q,Mt.h,xt.d,Ft.Y,Dt.$,V.wB,L.PO,vt.PY,Rt.c,Et.c,$t.O,At.w,kt.A,j.Jj,j.Pc,j.vh,H.D9,Lt.Li,_t.u,Bt.s,h.G,Pt.o],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] em{font-weight:700}[_nghost-%COMP%] .form-label-content{padding-left:0}"]}),this)},ft());pt=(0,y.Cg)([(0,k.dN)()],pt)},62325(se,st,l){l.d(st,{z:()=>li,AnalysisInsightsModule:()=>ni});var vt,y=l(49769),I=l(89417),T=l(93049),R=l(70500),v=l(53108),k=l(22649),P=l(94692),x=l(6972),X=l(89825),H=l(65002),lt=l(23876),rt=l(82405),S=l(76060),mt=l(14542),yt=l(57070),gt=l(92284),bt=l(32956),e=l(41780),j=l(31635),c=l(85802),E=l(14804),m=l(16237),ct=l(99070),G=l(4741),$=l(59640),t=l(35547),ht=l(37702),Y=l(55413),It=l(14309),Mt=l(76957),xt=l(38321),Ft=l(11262),Dt=l(14536),V=l(64672),L=l(99190);function Rt(i,a){if(1&i&&(t.j41(0,"div",14)(1,"div",16)(2,"a",17),t.nI1(3,"taEnsurePublicSite"),t.j41(4,"h3",5),t.EFF(5,"analysis_insights.banners.academy.title"),t.k0s(),t.nrm(6,"p",18),t.nI1(7,"translate"),t.nrm(8,"i",19),t.k0s()()()),2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("href",t.bMT(3,2,"/"+n.locale()+"/academy"),t.B4B),t.R7$(4),t.Y8G("innerHTML",t.bMT(7,4,"analysis_insights.banners.academy.text"),t.npT)}}function Et(i,a){1&i&&(t.j41(0,"p",15),t.EFF(1,"analysis_insights.messages.disclaimer"),t.k0s())}function $t(i,a){if(1&i&&(t.nrm(0,"div",20),t.nI1(1,"atlasText")),2&i){const n=t.XpG().$implicit;t.Y8G("innerHTML",t.bMT(1,1,n.content),t.npT)}}function At(i,a){if(1&i&&(t.j41(0,"p",21),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i){const n=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,n.content))}}function kt(i,a){if(1&i&&(t.j41(0,"div"),t.nVh(1,$t,2,3,"div",20),t.nVh(2,At,3,3,"p",21),t.k0s()),2&i){const n=a.$implicit,o=t.XpG(2);t.R7$(),t.vxM(n.translated&&n.content?1:-1),t.R7$(),t.vxM(!n.translated&&n.content&&o.hasTranslation(n.content)?2:-1)}}function Lt(i,a){if(1&i&&(t.j41(0,"section",13),t.nVh(1,Rt,9,6,"div",14),t.j41(2,"div",14)(3,"div",2),t.nVh(4,Et,2,0,"p",15),t.Z7z(5,kt,3,2,"div",null,t.fX1),t.k0s()()()),2&i){const n=t.XpG();t.R7$(),t.vxM(n.showAnalysisInsightsBanner()&&n.isAcademyLocale()?1:-1),t.R7$(3),t.vxM(n.hasTranslation("analysis_insights.messages.disclaimer")?4:-1),t.R7$(),t.Dyx(n.disclaimerExtras())}}let _t=(class te{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this.banners$=this._store.select(ct.Oh),this.disclaimerExtras=(0,c.vPA)([]),this.showAnalysisInsightsBanner=(0,c.vPA)(!1),this.locale=(0,c.vPA)(this._translate.currentLang)}ngOnInit(){this.resetDisclaimer(),this._store.dispatch((0,ct.Ib)({slots:["analysis_insights"]})),this._store.select((0,G.NL)("articleId"),(0,E.pQ)(this)).subscribe(a=>{this.showAnalysisInsightsBanner.set(!!a)}),this._store.select(m.eF).pipe((0,E.pQ)(this)).subscribe(({data:a})=>{this.resetDisclaimer(),a?.disclaimer&&this.disclaimerExtras().push({content:a.disclaimer,translated:!0})})}hasTranslation(a){return this._translate.instant(a)!==a}isAcademyLocale(){return P.nI.academyLocales.includes(this._translate.currentLang)}resetDisclaimer(){this.disclaimerExtras.set([{content:"analysis_insights.overview.messages.disclaimer_extra",translated:!1}])}static#t=vt=()=>(this.\u0275fac=function(n){return new(n||te)},this.\u0275cmp=t.VBU({type:te,selectors:[["ng-component"]],standalone:!1,decls:26,vars:13,consts:[[1,"content-main__header"],[1,"ta-row--inline","content-main__header-inner"],[1,"ta-col--12"],["taTip","analysis_insights.analysis_insights"],[1,"icon-traderapp-analysis-insights","icon--left"],["translate",""],["taButton","","taButtonType","hollow","taShowHelp","analysis_insights",1,"pull--right","hidden--sm","visible--md"],["taButton","","taButtonType","hollow","taShowTips","",1,"pull--right","hidden--sm","visible--md"],[1,"content-main__body"],[1,"ta-row--inline"],["route","/analysis-and-insights/topics"],["route","/analysis-and-insights/content-screener"],["taTip","analysis_insights.content_screener_nav"],[1,"banner-bar"],[1,"ta-row","ta-row--fixed"],["translate","",1,"text","padding--left","padding--right"],[1,"ta-col--6"],[1,"banner--custom","banner--academy",3,"href"],[3,"innerHTML"],[1,"icon-traderapp-arrow--right","banner__arrow"],[1,"text","padding--left","padding--right",3,"innerHTML"],[1,"text","padding--left","padding--right"]],template:function(n,o){1&n&&(t.j41(0,"header",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.nrm(4,"i",4),t.j41(5,"span",5),t.EFF(6,"anal
1ysis_insights.title"),t.k0s()(),t.j41(7,"button",6),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"button",7),t.EFF(11),t.nI1(12,"translate"),t.k0s()()()(),t.j41(13,"section",8)(14,"section",9)(15,"div",2)(16,"ta-tab-bar")(17,"ta-tab",10),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.j41(20,"ta-tab",11)(21,"span",12),t.EFF(22),t.nI1(23,"translate"),t.k0s()()()()(),t.nrm(24,"router-outlet"),t.nVh(25,Lt,7,2,"section",13),t.k0s()),2&n&&(t.R7$(8),t.JRh(t.bMT(9,5,"common.buttons.need_help")),t.R7$(3),t.JRh(t.bMT(12,7,"common.buttons.show_tips")),t.R7$(7),t.SpI(" ",t.bMT(19,9,"analysis_insights.tabs.overview")," "),t.R7$(4),t.SpI(" ",t.bMT(23,11,"analysis_insights.tabs.content_screener")," "),t.R7$(3),t.vxM(o.hasTranslation("analysis_insights.messages.disclaimer")||o.disclaimerExtras.length>0?25:-1))},dependencies:[ht.n3,e.Mm,Y.Q,It.j,Mt.y,xt.z,Ft.V,Dt.S,V.Z,e.D9,L.Li],encapsulation:2}),this)},vt());_t=(0,j.Cg)([(0,E.dN)()],_t);var Bt=l(56902),h=l(9955),Pt=l(29154),ft=l(69130),dt=l(84572),Z=l(5964),jt=l(23294),N=l(96354),Gt=l(25558),q=l(96697),W=l(71602),b=l(17705),it=l(88141),at=l(4843),tt=l(27886),w=l(50655),O=l(63601),K=l(83712);const Ct=i=>({name:i}),wt=(i,a)=>({analysts:i,topic:a}),Ot=i=>["analysis-and-insights","topics",i];function Ut(i,a){if(1&i&&t.nrm(0,"ta-page-parts",5),2&i){const n=t.XpG(2);t.Y8G("parts",n.data.pageParts)}}function Vt(i,a){if(1&i&&(t.nrm(0,"img",14),t.nI1(1,"atlasText"),t.nI1(2,"atlasText"),t.nI1(3,"atlasText")),2&i){const n=t.XpG().$implicit;t.Y8G("src",t.bMT(1,3,n.logo),t.B4B),t.BMQ("title",t.bMT(2,5,n.name))("alt",t.bMT(3,7,n.name))}}function Xt(i,a){if(1&i&&(t.j41(0,"h5",15),t.EFF(1),t.nI1(2,"atlasText"),t.k0s()),2&i){const n=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,n.name))}}function St(i,a){if(1&i&&(t.j41(0,"li",13),t.nVh(1,Vt,4,9,"img",14),t.nVh(2,Xt,3,3,"h5",15),t.k0s()),2&i){const n=a.$implicit;t.R7$(),t.vxM(n.logo?1:-1),t.R7$(),t.vxM(n.logo?-1:2)}}function Yt(i,a){if(1&i&&(t.j41(0,"div",3)(1,"div",2)(2,"h4",11),t.EFF(3),t.nI1(4,"atlasText"),t.nI1(5,"translate"),t.k0s(),t.j41(6,"ul",12),t.Z7z(7,St,3,2,"li",13,t.BUC().trackByCompanyId,!0),t.k0s()()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(t.i5U(5,3,"analysis_insights.analysts.detail.labels.followed_companies_with_name",t.eq3(6,Ct,t.bMT(4,1,n.data.title)))),t.R7$(4),t.Dyx(n.data.companies)}}function Nt(i,a){if(1&i&&(t.j41(0,"section",9)(1,"div",16),t.nrm(2,"img",17),t.nI1(3,"taEnsurePublicSite"),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("src",t.bMT(3,1,n.data.image),t.B4B)}}function Wt(i,a){if(1&i&&(t.j41(0,"section",9)(1,"h4",18),t.EFF(2,"analysis_insights.analysts.detail.labels.job_title"),t.k0s(),t.j41(3,"p"),t.EFF(4),t.nI1(5,"atlasText"),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(4),t.JRh(t.bMT(5,1,n.data.jobTitle))}}function pt(i,a){if(1&i&&(t.j41(0,"li"),t.EFF(1),t.nI1(2,"atlasText"),t.k0s()),2&i){const n=a.$implicit;t.R7$(),t.JRh(t.bMT(2,1,n.name))}}function p(i,a){if(1&i&&(t.j41(0,"section",9)(1,"h4",18),t.EFF(2,"analysis_insights.analysts.detail.labels.followed_companies"),t.k0s(),t.j41(3,"ul"),t.Z7z(4,pt,3,3,"li",null,t.BUC().trackByCompanyId,!0),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(4),t.Dyx(n.data.companies)}}function _(i,a){if(1&i&&(t.j41(0,"li",21)(1,"a",24),t.nI1(2,"taArticleUrl"),t.j41(3,"div",25),t.nrm(4,"img",26),t.nI1(5,"taEnsurePublicSite"),t.k0s(),t.EFF(6),t.nI1(7,"atlasText"),t.k0s()()),2&i){const n=a.$implicit,o=t.XpG(2);t.R7$(),t.Y8G("taRouterLink",t.i5U(2,3,n,null==o.topic?null:o.topic.data)),t.R7$(3),t.Y8G("src",t.bMT(5,6,n.headerImage),t.B4B),t.R7$(2),t.SpI(" ",t.bMT(7,8,n.title)," ")}}function r(i,a){if(1&i&&(t.j41(0,"div",2)(1,"div",7)(2,"header",8)(3,"h3",19),t.EFF(4,"analysis_insights.analysts.detail.labels.other_analysts"),t.k0s()(),t.j41(5,"section",9)(6,"ul",20),t.Z7z(7,_,8,10,"li",21,t.BUC().trackByUuid,!0),t.k0s()(),t.j41(9,"footer",22)(10,"a",23),t.nI1(11,"atlasText"),t.EFF(12,"analysis_insights.analysts.detail.buttons.all_analysts"),t.k0s()()()()),2&i){const n=t.XpG(),o=t.XpG(3);t.R7$(7),t.Dyx(null==n.analysts||null==n.analysts.data?null:n.analysts.data.rows),t.R7$(3),t.Y8G("taRouterLink",t.eq3(3,Ot,t.bMT(11,1,o.topicId())))}}function u(i,a){1&i&&(t.j41(0,"section",10),t.DNE(1,r,13,5,"div",1),t.k0s()),2&i&&t.Y8G("taLoaderResult",a.analysts)}function C(i,a){if(1&i&&(t.j41(0,"div",2)(1,"section",3)(2,"div",4)(3,"div",3)(4,"div",2),t.nVh(5,Ut,1,1,"ta-page-parts",5),t.k0s()(),t.nVh(6,Yt,9,8,"div",3),t.k0s(),t.j41(7,"div",6)(8,"section",3)(9,"div",2)(10,"div",7)(11,"header",8)(12,"h3"),t.EFF(13),t.nI1(14,"atlasText"),t.nI1(15,"translate"),t.k0s()(),t.nVh(16,Nt,4,3,"section",9),t.nVh(17,Wt,6,3,"section",9),t.nVh(18,p,6,0,"section",9),t.k0s()()(),t.nVh(19,u,2,1,"section",10),t.nI1(20,"async"),t.nI1(21,"async"),t.k0s()()()),2&i){let n;const o=t.XpG(),s=t.XpG();t.R7$(5),t.vxM(null!=o.data.pageParts&&o.data.pageParts.length?5:-1),t.R7$(),t.vxM(null!=o.data.companies&&o.data.companies.length?6:-1),t.R7$(7),t.JRh(t.i5U(15,9,"analysis_insights.analysts.detail.labels.about",t.eq3(16,Ct,t.bMT(14,7,o.data.title)))),t.R7$(3),t.vxM(o.data.image?16:-1),t.R7$(),t.vxM(o.data.jobTitle?17:-1),t.R7$(),t.vxM(null!=o.data.companies&&o.data.companies.length?18:-1),t.R7$(),t.vxM((n=t.l_i(18,wt,t.bMT(20,12,s.analysts$),t.bMT(21,14,s.topic$)))?19:-1,n)}}function A(i,a){1&i&&(t.j41(0,"section",0),t.DNE(1,C,22,21,"div",1),t.k0s()),2&i&&t.Y8G("taLoaderResult",a)}let F=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this.articleId=b.hFB.required(),this.topicId=(0,b.hFB)(),this.onArticleUpdate=(0,b.CGW)(),this.analysts$=this._store.select(m.UP).pipe((0,N.T)(({data:o,error:s,loading:d})=>s||d?{error:s,loading:d,data:o}:{error:s,loading:d,data:{...o,rows:this._shuffle((o.rows||[]).filter(g=>!g.uuid.equals(this.articleId()))).slice(0,4)}})),this.topic$=this._store.select(m.eF),this.analyst$=this._store.select(m.lx).pipe((0,it.M)(o=>this.onArticleUpdate.emit(o)))}ngOnChanges(o){"articleId"in o&&(this._store.dispatch((0,m.Cj)()),this._store.dispatch((0,m.hG)({uuid:this.articleId()})))}ngOnDestroy(){this._store.dispatch((0,m.s4)())}trackByCompanyId(o,{id:s}){return s?.asString()}trackByUuid(o,{uuid:s}){return s.asString()}_shuffle(o){let d,s=o.length;for(;0!==s;)d=Math.floor(Math.random()*s),s--,[o[s],o[d]]=[o[d],o[s]];return o}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-article-analyst"]],inputs:{articleId:[1,"articleId"],topicId:[1,"topicId"]},outputs:{onArticleUpdate:"onArticleUpdate"},standalone:!1,features:[t.OA$],decls:2,vars:3,consts:[["taLoader","","taLoaderIgnoreEmpty","",1,"ta-row","analyst-detail",3,"taLoaderResult"],["class","ta-col--12",4,"taLoaderContent"],[1,"ta-col--12"],[1,"ta-row"],[1,"ta-col--9","margin--bottom"],[3,"parts"],[1,"ta-col--3"],[1,"box","box--gray","background--gray-lighter"],[1,"box__header"],[1,"box__content"],["taLoader","",1,"ta-row",3,"taLoaderResult"],[1,"text--purple","margin--bottom"],[1,"analyst-companies"],[1,"analyst-companies__item"],[1,"analyst-companies__img",3,"src"],[1,"analyst-companies__name"],[1,"img--analyst__wrapper"],[1,"img--analyst",3,"src"],["translate","",1,"text--purple","margin--bottom--md"],["translate",""],[1,"analyst-list"],[1,"analyst-list__item"],[1,"box__footer","text--center"],["taButton","","translate","",3,"taRouterLink"],[1,"analyst-list__link",3,"taRouterLink"],[1,"analyst-list__img-wrapper"],["taImageFallback","",1,"analyst-list__img",3,"src"]],template:function(s,d){if(1&s&&(t.nVh(0,A,2,1,"section",0),t.nI1(1,"async")),2&s){let g;t.vxM((g=t.bMT(1,1,d.analyst$))?0:-1,g)}},dependencies:[at.$,W.A,tt.l,e.Mm,w.V,O.q,Y.Q,y.Jj,V.Z,e.D9,L.Li,K.o],styles:["[_nghost-%COMP%] h4, [_nghost-%COMP%] .page-part h4, [_nghost-%COMP%] li, [_nghost-%COMP%] p, [_nghost-%COMP%] .page-part p, [_nghost-%COMP%] .page-part--text, [_nghost-%COMP%] .page-part--text p{font-size:15px;font-size:1.1538461538rem}[_nghost-%COMP%] .page-part--intro p, [_nghost-%COMP%] .page-part--intro-text p{font-size:17px;font-size:1.3076923077rem}.analyst-companies__item[_ngcontent-%COMP%]{position:relative;overflow:hidden;display:inline-block;width:280px;width:21.5384615385rem;height:110px;height:8.4615384615rem;margin:0 15px 15px 0;margin:0rem 1.1538461538rem 1.1538461538rem 0rem;border:1px solid #F5F6F8;border-radius:5px}.analyst-companies__img[_ngcontent-%COMP%]{width:100%;max-height:100%}.analyst-companies__name[_ngcontent-%COMP%]{padding:20px;padding:1.5384615385rem}.analyst-list__item[_ngcontent-%COMP%]{margin:0 0 10px;margin:0rem 0rem .7692307692rem}.analyst-list__link[_ngcontent-%COMP%]{position:relative;display:block;min-height:55px;min-height:4.2307692308rem;padding:15px 0 0 65px;padding:1.1538461538rem 0rem 0rem 5rem;vertical-align:middle}.analyst-list__img-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:0;overflow:hidden;width:55px;width:4.2307692308rem;height:55px;height:4.2307692308rem;background:#fff;border-radius:50%;text-align:center}.analyst-list__img[_ngcontent-%COMP%]{display:inline-block;height:100%}"]}))}return i(),a})();var J,f=l(54452),et=l(33543),M=l(70376),D=l(46873);const ot=(i,a)=>({article:i,topic:a}),Tt=i=>({loading:i}),nt=i=>
1["analysis-and-insights","topics",i];function Kt(i,a){if(1&i&&t.nrm(0,"ta-video",5),2&i){const n=t.XpG(2),o=t.XpG();t.Y8G("taVideoId",null==n.article||null==n.article.data?null:n.article.data.youtubeId)("taVideoProvider",o.youtube())("taVideoPlaceholder",null==n.article||null==n.article.data?null:n.article.data.image)}}function me(i,a){if(1&i&&(t.nrm(0,"p",6),t.nI1(1,"linky")),2&i){const n=t.XpG(2);t.Y8G("innerHTML",t.bMT(1,1,null==n.article||null==n.article.data?null:n.article.data.content),t.npT)}}function ge(i,a){if(1&i&&t.nrm(0,"ta-page-parts",7),2&i){const n=t.XpG(2);t.Y8G("parts",null==n.article||null==n.article.data?null:n.article.data.pageParts)}}function he(i,a){if(1&i&&(t.j41(0,"a",8),t.nI1(1,"taArticleUrl"),t.EFF(2,"analysis_insights.timeline.detail.buttons.previous_video"),t.k0s()),2&i){const n=t.XpG(2);t.Y8G("href",t.i5U(1,1,a,null==n.topic?null:n.topic.data),t.B4B)}}function ve(i,a){if(1&i){const n=t.RV6();t.j41(0,"ta-calendar",15),t.bIt("monthSelected",function(s){c.eBV(n);const d=t.XpG(4);return c.Njj(d.monthSelected(s))})("selectedChange",function(s){c.eBV(n);const d=t.XpG(4);return c.Njj(d.dateSelected(s))}),t.k0s()}if(2&i){let n,o;const s=t.XpG(4);t.Y8G("selected",null==(n=s.selectedDate())?null:n.value)("startAt",null==(o=s.initialDate())?null:o.value)("dateDisabled",s.isDateDisabled())}}function fe(i,a){if(1&i&&(t.j41(0,"div",9)(1,"div",10)(2,"section",11),t.DNE(3,ve,1,3,"ta-calendar",12),t.k0s(),t.j41(4,"footer",13)(5,"a",14),t.nI1(6,"atlasText"),t.EFF(7,"analysis_insights.timeline.detail.buttons.full_archive"),t.k0s()()()()),2&i){let n;const o=t.XpG(3);t.R7$(2),t.Y8G("taLoaderResult",t.eq3(4,Tt,null==(n=o.calendarDates())?null:n.loading)),t.R7$(3),t.Y8G("taRouterLink",t.eq3(6,nt,t.bMT(6,2,o.topicId())))}}function Ce(i,a){if(1&i&&(t.j41(0,"div",2)(1,"section",3)(2,"div",4)(3,"div"),t.nVh(4,Kt,1,3,"ta-video",5),t.nVh(5,me,2,3,"p",6),t.nVh(6,ge,1,1,"ta-page-parts",7),t.k0s(),t.nVh(7,he,3,4,"a",8),t.nI1(8,"async"),t.k0s(),t.nVh(9,fe,8,8,"div",9),t.k0s()()),2&i){let n;const o=t.XpG(),s=t.XpG();t.R7$(4),t.vxM(null!=o.article&&null!=o.article.data&&o.article.data.youtubeId?4:-1),t.R7$(),t.vxM(null!=o.article&&null!=o.article.data&&o.article.data.pageParts&&0!==(null==o.article||null==o.article.data||null==o.article.data.pageParts?null:o.article.data.pageParts.length)||null==o.article||null==o.article.data||!o.article.data.content?-1:5),t.R7$(),t.vxM(null!=o.article&&null!=o.article.data&&o.article.data.pageParts&&null!=o.article&&null!=o.article.data&&null!=o.article.data.pageParts&&o.article.data.pageParts.length?6:-1),t.R7$(),t.vxM((n=t.bMT(8,5,s.previousVideo$))?7:-1,n),t.R7$(2),t.vxM(s.initialDate()?9:-1)}}function Te(i,a){1&i&&(t.j41(0,"section",0),t.DNE(1,Ce,10,7,"div",1),t.k0s()),2&i&&t.Y8G("taLoaderResult",a.article)}let Jt=(class ee{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this._datePipe=(0,c.WQX)(y.vh),this.articleId=b.hFB.required(),this.topicId=(0,b.hFB)(),this.params=(0,b.hFB)(),this.language=(0,b.hFB)(),this.initialDate=(0,c.vPA)(void 0),this.selectedDate=(0,c.vPA)(void 0),this.youtube=(0,c.vPA)(new h.EY("youtube")),this.onArticleUpdate=(0,b.CGW)(),this.topic$=this._store.select(m.eF),this.article$=this._store.select(m.YL).pipe((0,it.M)(a=>{if(this.onArticleUpdate.emit({...a,data:{...a.data,title:this._datePipe.transform(new Date(this.articleId().asString()).getTime(),"EEE dd LLL yyyy",void 0,`${this._translate.currentLang}-BE`)}}),a?.data?.publicationDate){this.selectedDate.set(a.data.publicationDate);const n=this.topicId();n&&this._store.dispatch((0,m.xj)({topicId:n,includePageParts:h.v8.FALSE,perPage:new h.Ww("1"),page:new h.Ww("1"),endDate:a?.data?.publicationDate&&new f.n9((0,P.fj)(a?.data?.publicationDate.value,-1,P.tj.DAY).getTime()),module:"previous",language:this.language()}))}})),this.previousVideo$=this._store.select((0,m.te)("previous")).pipe((0,Z.p)(({loading:a,error:n})=>!(a||n)),(0,N.T)(({data:a})=>a.rows?.length&&a.rows[0]||void 0)),this.calendarDates=(0,c.vPA)(void 0),this.isDateDisabled=(0,c.vPA)(a=>{const n=`${a.getFullYear()}-${a.getMonth()}-${a.getDate()}`;return!this.calendarDates()?.data[n]}),this._store.select((0,m.te)("calendar")).pipe((0,E.pQ)(this)).subscribe(({loading:a,error:n,data:o})=>{this.calendarDates.set({loading:a,error:n,data:(o?.rows||[]).reduce((s,d)=>{const g=`${d.publicationDate.value.getFullYear()}-${d.publicationDate.value.getMonth()}-${d.publicationDate.value.getDate()}`;return s[g]||(s[g]=d),s},{})})})}ngOnChanges(a){const n=this.articleId();a.articleId?.currentValue&&this.monthSelected(new Date(n.asString()));const o=this.params();if((o?.video||a.articleId?.firstChange||!a.articleId?.previousValue.equals(a.articleId.currentValue))&&a.articleId?.currentValue)if(o?.video){const s=this.topicId();s&&this._store.dispatch((0,m.Q4)({topic:s,uuid:new h.EY(o?.video),language:this.language()})),this._store.dispatch((0,G.Go)({path:["analysis-and-insights","topics",s?.asString(),n.asString()]}))}else{const s=new f.n9(new Date(n.asString()).setHours(0,0,0,0)),d=new f.n9(new Date(n.asString()).setHours(23,59,59,999)),g=this.topicId();g&&this._store.dispatch((0,m.K7)({startDate:s,endDate:d,topicId:g}))}}trackByCompanyId(a,{id:n}){return n.asString()}trackByUuid(a,{uuid:n}){return n.asString()}monthSelected(a){const n=new f.n9(Date.UTC(a.getFullYear(),a.getMonth(),1)),o=new f.n9(Date.UTC(a.getFullYear(),a.getMonth()+1,0)),s=this.topicId();s&&(this._store.dispatch((0,m.xj)({topicId:s,includePageParts:h.v8.FALSE,perPage:new h.Ww("10"),page:new h.Ww("1"),startDate:n,endDate:o,module:"calendar"})),this.initialDate.set(n))}dateSelected(a){this._store.dispatch((0,G.Go)({path:["analysis-and-insights","topics",this.topicId()?.asString(),`${a.getFullYear()}-${(a.getMonth()+1).toString().padStart(2,"0")}-${a.getDate().toString().padStart(2,"0")}`]}))}static#t=J=()=>(this.\u0275fac=function(n){return new(n||ee)},this.\u0275cmp=t.VBU({type:ee,selectors:[["ta-article-video"]],inputs:{articleId:[1,"articleId"],topicId:[1,"topicId"],params:[1,"params"],language:[1,"language"]},outputs:{onArticleUpdate:"onArticleUpdate"},standalone:!1,features:[t.OA$],decls:3,vars:8,consts:[["taLoader","","taLoaderIgnoreEmpty","",1,"ta-row",3,"taLoaderResult"],["class","ta-col--12",4,"taLoaderContent"],[1,"ta-col--12"],[1,"ta-row"],[1,"ta-col--8"],["taVideoFluid","",3,"taVideoId","taVideoProvider","taVideoPlaceholder"],[3,"innerHTML"],[3,"parts"],["taButton","","taButtonType","download","translate","",3,"href"],[1,"ta-col--4"],[1,"box"],["taLoader","","taLoaderIgnoreEmpty","",1,"box__content","no-padding","ta-loader__overlay-container",3,"taLoaderResult"],["footerDisabled","",3,"selected","startAt","dateDisabled","monthSelected","selectedChange",4,"taLoaderContent"],[1,"box__footer"],["taButton","","translate","",3,"taRouterLink"],["footerDisabled","",3,"monthSelected","selectedChange","selected","startAt","dateDisabled"]],template:function(n,o){if(1&n&&(t.nVh(0,Te,2,1,"section",0),t.nI1(1,"async"),t.nI1(2,"async")),2&n){let s;t.vxM((s=t.l_i(5,ot,t.bMT(1,1,o.article$),t.bMT(2,3,o.topic$)))?0:-1,s)}},dependencies:[W.A,tt.l,e.Mm,w.V,O.q,et.d,Y.Q,M.S,y.Jj,L.Li,D.G,K.o],styles:["ta-calendar[_ngcontent-%COMP%]{display:block;max-width:300px;max-width:23.0769230769rem}"]}),this)},J());Jt=(0,j.Cg)([(0,E.dN)()],Jt);var ye=l(60153),be=l(69876);const Ie=(i,a)=>({articles:i,topic:a}),le=()=>[],Me=i=>({filesize:i}),xe=i=>
1["analysis-and-insights","topics",i];function Fe(i,a){if(1&i&&t.nrm(0,"ta-instruments",5),2&i){const n=t.XpG(2);t.Y8G("instruments",n.data.instruments)}}function De(i,a){if(1&i&&t.nrm(0,"ta-page-parts",6),2&i){const n=t.XpG(2);t.Y8G("parts",n.data.pageParts)}}function Re(i,a){if(1&i){const n=t.RV6();t.j41(0,"a",10),t.bIt("click",function(){const s=c.eBV(n).$index,d=t.XpG(4);return c.Njj(d.scroll("publication-"+s))}),t.EFF(1),t.nI1(2,"atlasText"),t.k0s()}if(2&i){const n=a.$implicit;t.Y8G("routerLink",t.lJ4(4,le)),t.R7$(),t.JRh(t.bMT(2,2,n.title))}}function Ee(i,a){if(1&i&&t.nrm(0,"ta-page-parts",6),2&i){const n=t.XpG().$implicit;t.Y8G("parts",n.parts)}}function $e(i,a){if(1&i&&(t.j41(0,"h2",11),t.EFF(1),t.nI1(2,"atlasText"),t.k0s(),t.nVh(3,Ee,1,1,"ta-page-parts",6)),2&i){const n=a.$implicit;t.Y8G("id","publication-"+a.$index),t.R7$(),t.JRh(t.bMT(2,3,n.title)),t.R7$(2),t.vxM(n.parts&&n.parts.length>0?3:-1)}}function Ae(i,a){if(1&i&&(t.j41(0,"div",8),t.Z7z(1,Re,3,5,"a",9,t.fX1),t.k0s(),t.Z7z(3,$e,4,5,null,null,t.fX1)),2&i){const n=t.XpG(2);t.R7$(),t.Dyx(n.data.publication),t.R7$(2),t.Dyx(n.data.publication)}}function ke(i,a){if(1&i&&(t.j41(0,"a",7),t.nI1(1,"atlasText"),t.EFF(2),t.nI1(3,"taFileSize"),t.nI1(4,"translate"),t.k0s()),2&i){const n=t.XpG(2);t.Y8G("href",t.bMT(1,2,n.data.reference),t.B4B),t.R7$(2),t.JRh(t.i5U(4,6,"analysis_insights.timeline.detail.buttons.download_file",t.eq3(9,Me,t.bMT(3,4,n.data.filesize))))}}function Le(i,a){if(1&i&&(t.j41(0,"div",3)(1,"p",4)(2,"time"),t.nI1(3,"date"),t.EFF(4),t.nI1(5,"date"),t.k0s()(),t.nVh(6,Fe,1,1,"ta-instruments",5),t.nVh(7,De,1,1,"ta-page-parts",6),t.nVh(8,Ae,5,0),t.j41(9,"div"),t.nVh(10,ke,5,11,"a",7),t.k0s()()),2&i){const n=t.XpG(),o=t.XpG();t.R7$(2),t.BMQ("datetime",t.ii3(3,6,n.data.publicationDate.value,"dd LLL yyyy - HH:mm",void 0,o.locale())),t.R7$(2),t.JRh(t.ii3(5,11,n.data.publicationDate.value,"dd LLL yyyy - HH:mm",void 0,o.locale())),t.R7$(2),t.vxM(null!=n.data.instruments&&n.data.instruments.length?6:-1),t.R7$(),t.vxM(n.data.pageParts&&n.data.pageParts.length>0?7:-1),t.R7$(),t.vxM(n.data.publication&&n.data.publication.length>0?8:-1),t.R7$(2),t.vxM(n.data.reference?10:-1)}}function Be(i,a){if(1&i&&(t.nrm(0,"img",23),t.nI1(1,"taEnsurePublicSite")),2&i){const n=t.XpG().$implicit;t.Y8G("src",t.bMT(1,1,n.image),t.B4B)}}function Pe(i,a){1&i&&(t.j41(0,"div",24),t.nrm(1,"img",27),t.k0s())}function je(i,a){if(1&i&&(t.j41(0,"li",18)(1,"a",21),t.nI1(2,"taArticleUrl"),t.j41(3,"div",22),t.nVh(4,Be,2,3,"img",23),t.nVh(5,Pe,2,0,"div",24),t.k0s(),t.j41(6,"p",25),t.EFF(7),t.nI1(8,"atlasText"),t.k0s(),t.j41(9,"p",26)(10,"time"),t.nI1(11,"date"),t.EFF(12),t.nI1(13,"date"),t.k0s()()()()),2&i){const n=a.$implicit,o=t.XpG(2),s=t.XpG(2);t.R7$(),t.Y8G("href",t.i5U(2,6,n,null==o.topic?null:o.topic.data),t.B4B),t.R7$(3),t.vxM(n.image?4:-1),t.R7$(),t.vxM(n.image?-1:5),t.R7$(2),t.JRh(t.bMT(8,9,n.title)),t.R7$(3),t.BMQ("datetime",t.ii3(11,11,n.publicationDate.value,"dd LLL yyyy - HH:mm",void 0,s.locale())),t.R7$(2),t.JRh(t.ii3(13,16,n.publicationDate.value,"dd LLL yyyy - HH:mm",void 0,s.locale()))}}function Ge(i,a){if(1&i&&(t.j41(0,"div",13)(1,"header",14)(2,"h3",15),t.EFF(3,"analysis_insights.timeline.detail.labels.recent_articles"),t.k0s()(),t.j41(4,"section",16)(5,"ul",17),t.Z7z(6,je,14,21,"li",18,t.fX1),t.k0s()(),t.j41(8,"footer",19)(9,"a",20),t.nI1(10,"atlasText"),t.EFF(11,"analysis_insights.timeline.detail.buttons.full_archive"),t.k0s()()()),2&i){const n=t.XpG(),o=t.XpG(2);t.R7$(6),t.Dyx((null==n.articles||null==n.articles.data?null:n.articles.data.rows)??t.lJ4(3,le)),t.R7$(3),t.Y8G("taRouterLink",t.eq3(4,xe,t.bMT(10,1,o.topicId())))}}function we(i,a){1&i&&(t.j41(0,"div",2),t.DNE(1,Ge,12,6,"div",12),t.k0s()),2&i&&t.Y8G("taLoaderResult",a.articles)}function Oe(i,a){if(1&i&&(t.j41(0,"section",0),t.DNE(1,Le,11,16,"div",1),t.nVh(2,we,2,1,"div",2),t.nI1(3,"async"),t.nI1(4,"async"),t.k0s()),2&i){let n;const o=t.XpG();t.Y8G("taLoaderResult",a),t.R7$(2),t.vxM((n=t.l_i(6,Ie,t.bMT(3,2,o.articles$),t.bMT(4,4,o.topic$)))?2:-1,n)}}let Ue=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this.articleId=b.hFB.required(),this.topicId=(0,b.hFB)(),this.language=(0,b.hFB)(),this.onArticleUpdate=(0,b.CGW)(),this.article$=this._store.select(m.YL).pipe((0,it.M)(o=>this.onArticleUpdate.emit(o))),this.articles$=this._store.select((0,m.te)()),this.topic$=this._store.select(m.eF),this.locale=(0,c.vPA)(`${this._translate.currentLang}-BE`)}ngOnInit(){const o=this.topicId();o&&this._store.dispatch((0,m.xj)({topicId:o,page:new h.Ww("1"),perPage:new h.Ww("5"),includePageParts:h.v8.FALSE,language:this.language()}))}ngOnChanges(o){const s=this.topicId();"articleId"in o&&s&&this._store.dispatch((0,m.Q4)({topic:s,uuid:new h.EY(this.articleId().asString().split("-")[0]),language:this.language()}))}scroll(o){document.getElementById(o).scrollIntoView({behavior:"smooth"})}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-article-content"]],inputs:{articleId:[1,"articleId"],topicId:[1,"topicId"],language:[1,"language"]},outputs:{onArticleUpdate:"onArticleUpdate"},standalone:!1,features:[t.OA$],decls:2,vars:3,consts:[["taLoader","","taLoaderIgnoreEmpty","",1,"ta-row",3,"taLoaderResult"],["class","ta-col--8 padding--bottom",4,"taLoaderContent"],["taLoader","",1,"ta-col--4",3,"taLoaderResult"],[1,"ta-col--8","padding--bottom"],[1,"text--bold"],[3,"instruments"],[1,"margin--bottom",3,"parts"],["target","_blank","taButton","","taButtonType","download",3,"href"],[1,"publication-titles"],[3,"routerLink"],[3,"click","routerLink"],[3,"id"],["class","box box--gray background--gray-lighter",4,"taLoaderContent"],[1,"box","box--gray","background--gray-lighter"],[1,"box__header"],["translate",""],[1,"box__content","ta-page-parts"],[1,"page-part--related"],[1,"page-part--related__item"],[1,"box__footer","text--center"],["taButton","","translate","",3,"taRouterLink"],[1,"page-part--related__link",3,"href"],[1,"page-part--related__img-wrapper"],["taImageFallback","",1,"page-part--related__img",3,"src"],[1,"placeholder--white","page-part--related__img"],[1,"page-part--related__title"],[1,"page-part--related__date"],["src","/assets/img/shell/general/placeholder--white--v2.png",1,"placeholder__img"]],template:function(s,d){if(1&s&&(t.nVh(0,Oe,5,9,"section",0),t.nI1(1,"async")),2&s){let g;t.vxM((g=t.bMT(1,1,d.article$))?0:-1,g)}},dependencies:[at.$,T.Wk,W.A,tt.l,e.Mm,w.V,O.q,Y.Q,ye.u,y.Jj,y.vh,V.Z,e.D9,L.Li,be.s,K.o],styles:[".publication-titles[_ngcontent-%COMP%]{display:flex;row-gap:1em;column-gap:2em;flex-wrap:wrap;margin-bottom:2em}"]}))}return i(),a})();function Ve(i,a){if(1&i&&(t.nrm(0,"p",8),t.nI1(1,"linky")),2&i){const n=t.XpG(2);t.Y8G("innerHTML",t.bMT(1,1,n.data.content),t.npT)}}function Xe(i,a){if(1&i&&t.nrm(0,"ta-page-parts",9),2&i){const n=t.XpG(2);t.Y8G("parts",n.data.pageParts)}}function Se(i,a){if(1&i&&(t.j41(0,"div",2)(1,"div",3)(2,"p",4)(3,"time"),t.nI1(4,"date"),t.EFF(5),t.nI1(6,"date"),t.k0s()(),t.j41(7,"div",5)(8,"div",6)(9,"p",7)(10,"time"),t.nI1(11,"date"),t.EFF(12),t.nI1(13,"date"),t.k0s()(),t.nVh(14,Ve,2,3,"p",8),t.nVh(15,Xe,1,1,"ta-page-parts",9),t.k0s()()()()),2&i){const n=t.XpG(),o=t.XpG();t.R7$(3),t.BMQ("datetime",t.ii3(4,6,n.data.publicationDate.value,"EEE dd LLL yyyy",void 0,o.locale())),t.R7$(2),t.JRh(t.ii3(6,11,n.data.publicationDate.value,"EEE dd LLL yyyy",void 0,o.locale())),t.R7$(5),t.BMQ("datetime",t.i5U(11,16,n.data.publicationDate.value,"HH:mm")),t.R7$(2),t.JRh(t.i5U(13,19,n.data.publicationDate.value,"HH:mm")),t.R7$(2),t.vxM(n.data.pageParts&&0!==n.data.pageParts.length||!n.data.content?-1:14),t.R7$(),t.vxM(n.data.pageParts&&n.data.pageParts.length>0?15:-1)}}function Ye(i,a){1&i&&(t.j41(0,"section",0),t.DNE(1,Se,16,22,"div",1),t.k0s()),2&i&&t.Y8G("taLoaderResult",a)}let Ne=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this.articleId=b.hFB.required(),this.topicId=(0,b.hFB)(),this.language=(0,b.hFB)(),this.onArticleUpdate=(0,b.CGW)(),this.article$=this._store.select(m.YL).pipe((0,it.M)(o=>this.onArticleUpdate.emit(o))),this.locale=(0,c.vPA)(`${this._translate.currentLang}-BE`)}ngOnInit(){const o=this.topicId();o&&this._store.dispatch((0,m.Q4)({topic:o,uuid:new h.EY(this.articleId().asString().split("-")[0]),language:this.language()}))}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-article-blog"]],inputs:{articleId:[1,"articleId"],topicId:[1,"topicId"],language:[1,"language"]},outputs:{onArticleUpdate:"onArticleUpdate"},standalone:!1,decls:2,vars:3,consts:[["taLoader","","taLoaderIgnoreEmpty","",1,"ta-row",3,"taLoaderResult"],["class","ta-col--12",4,"taLoaderContent"],[1,"ta-col--12"],[1,"blog"],[1,"blog__date"],[1,"blog__items"],[1,"blog__item"],[1,"blog__time"],[3,"innerHTML"],[3,"parts"]],template:function(s,d){if(1&s&&(t.nVh(0,Ye,2,1,"section",0),t.nI1(1,"async")),2&s){let g;t.vxM((g=t.bMT(1,1,d.article$))?0:-1,g)}},dependencies:[tt.l,w.V,O.q,y.Jj,y.vh,D.G],encapsulation:2}))}return i(),a})();var re;const We=(i,a,n,o)=>({topic:i,articleId:a,language:n,params:o}),Ke=i=>
1["analysis-and-insights","topics",i];function Je(i,a){if(1&i&&(t.j41(0,"section",0)(1,"div",1)(2,"ul",2)(3,"li",3)(4,"a",4),t.nI1(5,"atlasText"),t.EFF(6),t.nI1(7,"atlasText"),t.k0s()(),t.j41(8,"li",5),t.nrm(9,"i",6),t.k0s(),t.j41(10,"li",3),t.EFF(11),t.nI1(12,"atlasText"),t.k0s()()()()),2&i){const n=t.XpG(),o=t.XpG();t.R7$(4),t.Y8G("taRouterLink",t.eq3(9,Ke,t.bMT(5,3,null==n.topic||null==n.topic.data?null:n.topic.data.uuid))),t.R7$(2),t.JRh(t.bMT(7,5,null==n.topic||null==n.topic.data?null:n.topic.data.title)),t.R7$(5),t.SpI(" ",t.bMT(12,7,o.article().data.title)," ")}}function Qe(i,a){if(1&i){const n=t.RV6();t.j41(0,"ta-article-analyst",10),t.bIt("onArticleUpdate",function(s){c.eBV(n);const d=t.XpG(3);return c.Njj(d.article.set(s))}),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("articleId",n.articleId)("topicId",null==n.topic||null==n.topic.data?null:n.topic.data.uuid)}}function ze(i,a){if(1&i){const n=t.RV6();t.j41(0,"ta-article-video",11),t.bIt("onArticleUpdate",function(s){c.eBV(n);const d=t.XpG(3);return c.Njj(d.article.set(s))}),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("articleId",n.articleId)("topicId",null==n.topic||null==n.topic.data?null:n.topic.data.uuid)("params",n.params??void 0)("language",(null==n?null:n.language)??void 0)}}function He(i,a){if(1&i){const n=t.RV6();t.j41(0,"ta-article-content",12),t.bIt("onArticleUpdate",function(s){c.eBV(n);const d=t.XpG(3);return c.Njj(d.article.set(s))}),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("articleId",n.articleId)("topicId",null==n.topic||null==n.topic.data?null:n.topic.data.uuid)("language",(null==n?null:n.language)??void 0)}}function Ze(i,a){if(1&i){const n=t.RV6();t.j41(0,"ta-article-blog",12),t.bIt("onArticleUpdate",function(s){c.eBV(n);const d=t.XpG(3);return c.Njj(d.article.set(s))}),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("articleId",n.articleId)("topicId",null==n.topic||null==n.topic.data?null:n.topic.data.uuid)("language",(null==n?null:n.language)??void 0)}}function qe(i,a){if(1&i&&(t.j41(0,"section",0),t.nVh(1,Qe,1,2,"ta-article-analyst",7),t.nI1(2,"atlasText"),t.vZN(3,ze,1,4,"ta-article-video",8)(4,He,1,3,"ta-article-content",9)(5,Ze,1,3,"ta-article-blog",9),t.k0s()),2&i){let n;const o=t.XpG();t.R7$(),t.vxM("analyst"===(n=t.bMT(2,1,null==o.topic||null==o.topic.data?null:o.topic.data.articleType))?1:"video"===n?3:"content"===n?4:"blog"===n?5:-1)}}function tn(i,a){if(1&i&&(t.nVh(0,Je,13,11,"section",0),t.nVh(1,qe,6,3,"section",0)),2&i){const n=a,o=t.XpG();t.vxM(o.article().loading||o.article().error?-1:0),t.R7$(),t.vxM(null!=n.topic&&null!=n.topic.data&&n.topic.data.articleType&&n.articleId?1:-1)}}let Qt=(class ne{constructor(){this._store=(0,c.WQX)($.il),this.article=(0,c.vPA)({loading:!0}),this.topic$=this._store.select(m.eF),this.articleId$=this._store.select((0,G.NL)("articleId")).pipe((0,Z.p)(Boolean),(0,jt.F)(),(0,N.T)(a=>new h.EY(a))),this.queryParams$=this._store.select(G.hk),this.language$=this.articleId$.pipe((0,Gt.n)(a=>{const n=new h.EY(a.asString().split("-")[0]);return(0,dt.z)([this._store.select(m.DU).pipe((0,q.s)(1)),this._store.select((0,m.te)()).pipe((0,q.s)(1)),this._store.select(ft.pj).pipe((0,q.s)(1))]).pipe((0,N.T)(([o,s,d])=>{let g;return g=o.data.rows?.map(B=>B.articles??[])?.reduce((B,z)=>B.concat(z),[])?.find(B=>B.uuid?.equals(n))?.language,g||(g=s?.data?.rows?.find(z=>z.uuid?.equals(n))?.language,g||(g=Object.values(d)?.map(ut=>ut.data.rows??[])?.reduce((ut,ri)=>ut.concat(ri),[])?.find(ut=>ut.uuid?.equals(n))?.language)),g?new h.EY(g.asString().toLowerCase()):void 0}))}))}ngOnInit(){(0,dt.z)([this._store.select((0,G.NL)("topicId")).pipe((0,Z.p)(Boolean),(0,q.s)(1)),this.language$.pipe((0,q.s)(1))]).pipe((0,E.pQ)(this)).subscribe(([a,n])=>{this._store.dispatch((0,m.I5)({topicId:new h.EY(a),language:n&&new h.EY(n.asString().toLowerCase())}))})}ngOnDestroy(){this._store.dispatch((0,m.Tn)()),this._store.dispatch((0,Pt.qm)())}static#t=re=()=>(this.\u0275fac=function(n){return new(n||ne)},this.\u0275cmp=t.VBU({type:ne,selectors:[["ng-component"]],standalone:!1,decls:5,vars:14,consts:[[1,"ta-row"],[1,"ta-col--12","padding--top"],[1,"breadcrumbs"],[1,"breadcrumbs__item"],[3,"taRouterLink"],[1,"breadcrumbs__divider"],[1,"icon-traderapp-arrow--full--right","breadcrumbs__divider"],[3,"articleId","topicId"],[3,"articleId","topicId","params","language"],[3,"articleId","topicId","language"],[3,"onArticleUpdate","articleId","topicId"],[3,"onArticleUpdate","articleId","topicId","params","language"],[3,"onArticleUpdate","articleId","topicId","language"]],template:function(n,o){if(1&n&&(t.nVh(0,tn,2,2),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"async"),t.nI1(4,"async")),2&n){let s;t.vxM((s=t.ziG(9,We,t.bMT(1,1,o.topic$),t.bMT(2,3,o.articleId$),t.bMT(3,5,o.language$),t.bMT(4,7,o.queryParams$)))?0:-1,s)}},dependencies:[W.A,F,Jt,Ue,Ne,y.Jj,L.Li],encapsulation:2}),this)},re());Qt=(0,j.Cg)([(0,E.dN)()],Qt);var Q=l(75617);const en=(i,a)=>({topic:i,topicArticles:a}),nn=()=>[];function an(i,a){if(1&i&&(t.nrm(0,"p",14),t.nI1(1,"linky")),2&i){const n=t.XpG().$implicit;t.Y8G("innerHTML",t.bMT(1,1,n.content),t.npT)}}function on(i,a){if(1&i&&t.nrm(0,"ta-page-parts",5),2&i){const n=t.XpG().$implicit;t.Y8G("parts",n.pageParts)}}function sn(i,a){if(1&i&&(t.j41(0,"li",11)(1,"p",12)(2,"time",9),t.nI1(3,"date"),t.EFF(4),t.nI1(5,"date"),t.k0s()(),t.j41(6,"h4",13),t.EFF(7),t.nI1(8,"atlasText"),t.k0s(),t.nVh(9,an,2,3,"p",14),t.nVh(10,on,1,1,"ta-page-parts",5),t.k0s()),2&i){const n=a.$implicit;t.Y8G("id",t.VkB("post-",n.uuid)),t.R7$(2),t.Y8G("dateTime",t.i5U(3,7,n.publicationDate.value,"H:mm")),t.R7$(2),t.JRh(t.i5U(5,10,n.publicationDate.value,"H:mm")),t.R7$(3),t.JRh(t.bMT(8,13,n.title)),t.R7$(2),t.vxM(0===(null==n.pageParts?null:n.pageParts.length)&&n.content?9:-1),t.R7$(),t.vxM(((null==n.pageParts?null:n.pageParts.length)??0)>0?10:-1)}}function ln(i,a){if(1&i&&(t.j41(0,"p",8)(1,"time",9),t.nI1(2,"date"),t.EFF(3),t.nI1(4,"date"),t.k0s()(),t.j41(5,"ul",10),t.Z7z(6,sn,
111,15,"li",11,t.BUC().trackById,!0),t.k0s()),2&i){const n=a.$implicit,o=t.XpG(3);t.R7$(),t.Y8G("dateTime",t.ii3(2,2,n.date.value,"EEE dd LLL yyyy",void 0,o.locale())),t.R7$(2),t.JRh(t.ii3(4,7,n.date.value,"EEE dd LLL yyyy",void 0,o.locale())),t.R7$(3),t.Dyx(n.articles)}}function rn(i,a){if(1&i){const n=t.RV6();t.j41(0,"button",15),t.bIt("click",function(){c.eBV(n);const s=t.XpG(3);return c.Njj(s.loadMorePosts())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("taButtonLoading",null==n.topicArticles?null:n.topicArticles.loadingMore),t.R7$(),t.SpI(" ",t.bMT(2,2,"analysis_insights.blog.buttons.load_more")," ")}}function cn(i,a){if(1&i&&(t.j41(0,"div",6),t.Z7z(1,ln,8,12,null,null,t.BUC().trackByDate,!0),t.nVh(3,rn,3,4,"button",7),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Dyx((null==n.topicArticles||null==n.topicArticles.data?null:n.topicArticles.data.days)??t.lJ4(1,nn)),t.R7$(2),t.vxM(null!=n.topicArticles&&n.topicArticles.canLoadMore?3:-1)}}function _n(i,a){if(1&i&&(t.j41(0,"section",0)(1,"div",1)(2,"section",0)(3,"div",2),t.DNE(4,cn,4,2,"div",3),t.k0s(),t.j41(5,"div",4),t.nrm(6,"ta-page-parts",5),t.k0s()()()()),2&i){const n=a;t.R7$(3),t.Y8G("taLoaderResult",n.topicArticles),t.R7$(3),t.Y8G("parts",null==n.topic||null==n.topic.data?null:n.topic.data.pageParts)}}let dn=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this._page=h.fz.ONE,this.locale=(0,c.vPA)(`${this._translate.currentLang}-BE`),this.topic$=this._store.select(m.eF),this.topicArticles$=this._store.select((0,m.te)()).pipe((0,N.T)(({data:o,...s})=>{const d=[];return o?.rows&&o.rows.forEach(g=>{let U=d.findIndex(B=>B.date.equals(g.publicationDate));-1===U&&(d.push({date:g.publicationDate,articles:[]}),U=d.length-1),d[U]={...d[U],articles:[g,...d[U].articles].sort((B,z)=>z.publicationDate.value.getTime()-B.publicationDate.value.getTime())}}),{data:{...o,days:d},...s}})),this.topicId=(0,b.hFB)()}ngOnInit(){this._loadArticles()}loadMorePosts(){this._page=h.fz.plus(this._page,h.fz.ONE),this._loadArticles()}trackByDate(o,s){return s.date}trackById(o,s){return s.uuid.toString()}_loadArticles(){const o=this.topicId();o&&this._store.dispatch((0,m.xj)({topicId:o,includePageParts:h.v8.TRUE,perPage:new h.Ww("6"),page:this._page}))}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-topic-blog"]],inputs:{topicId:[1,"topicId"]},standalone:!1,decls:3,vars:8,consts:[[1,"ta-row"],[1,"ta-col--12"],["taLoader","","taLoaderIgnoreEmpty","",1,"ta-col--9","margin--bottom",3,"taLoaderResult"],["class","blog",4,"taLoaderContent"],[1,"ta-col--3"],[3,"parts"],[1,"blog"],["taButton","",1,"blog__load-more",3,"taButtonLoading"],[1,"blog__date"],[3,"dateTime"],[1,"blog__items"],[1,"blog__item",3,"id"],[1,"blog__time"],[1,"blog__title"],[3,"innerHTML"],["taButton","",1,"blog__load-more",3,"click","taButtonLoading"]],template:function(s,d){if(1&s&&(t.nVh(0,_n,7,2,"section",0),t.nI1(1,"async"),t.nI1(2,"async")),2&s){let g;t.vxM((g=t.l_i(5,en,t.bMT(1,1,d.topic$),t.bMT(2,3,d.topicArticles$)))?0:-1,g)}},dependencies:[tt.l,w.V,O.q,Y.Q,y.Jj,y.vh,e.D9,L.Li,D.G],encapsulation:2}))}return i(),a})();const pn=(i,a)=>({analysts:i,topic:a}),un=()=>[];function mn(i,a){if(1&i&&(t.j41(0,"div",4)(1,"a",5),t.nI1(2,"taArticleUrl"),t.j41(3,"h3",6),t.EFF(4),t.nI1(5,"atlasText"),t.k0s(),t.j41(6,"section",7),t.nrm(7,"img",8),t.nI1(8,"taEnsurePublicSite"),t.nrm(9,"div",9),t.k0s(),t.j41(10,"section",10),t.nrm(11,"p",11),t.nI1(12,"atlasText"),t.k0s()()()),2&i){const n=a.$implicit,o=t.XpG(2);t.R7$(),t.Y8G("href",t.i5U(2,4,n,null==o.topic?null:o.topic.data),t.B4B),t.R7$(3),t.JRh(t.bMT(5,7,n.title)),t.R7$(3),t.Y8G("src",t.bMT(8,9,n.headerImage),t.B4B),t.R7$(4),t.Y8G("innerHTML",t.bMT(12,11,n.description),t.npT)}}function gn(i,a){if(1&i&&(t.j41(0,"div")(1,"div",3),t.Z7z(2,mn,13,13,"div",4,t.fX1),t.k0s()()),2&i){const n=t.XpG();t.R7$(2),t.Dyx((null==n.analysts||null==n.analysts.data?null:n.analysts.data.rows)??t.lJ4(0,un))}}function hn(i,a){1&i&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,gn,4,1,"div",2),t.k0s()()),2&i&&(t.R7$(),t.Y8G("taLoaderResult",a.analysts))}let vn=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this.analysts$=this._store.select(m.UP),this.topic$=this._store.select(m.eF)}ngOnInit(){this._store.dispatch((0,m.Cj)())}trackByUuid(o,{uuid:s}){return s.asString()}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-topic-analysts"]],standalone:!1,decls:3,vars:8,consts:[[1,"ta-col--12"],["taLoader","",1,"ta-row","ta-row--fixed","overview-grid",3,"taLoaderResult"],[4,"taLoaderContent"],["taEqualHeightContainer","(min-width:480px)"],["taEqualHeight","",1,"ta-col--4","overview-grid__item"],[3,"href"],[1,"overview-grid__title"],[1,"overview-grid__img-wrapper"],["taImageFallback","",1,"overview-grid__img",3,"src"],[1,"overview-grid__img-bg"],[1,"overview-grid__content"],[1,"overview-grid__description",3,"innerHTML"]],template:function(s,d){if(1&s&&(t.nVh(0,hn,3,1,"div",0),t.nI1(1,"async"),t.nI1(2,"async")),2&s){let g;t.vxM((g=t.l_i(5,pn,t.bMT(1,1,d.analysts$),t.bMT(2,3,d.topic$)))?0:-1,g)}},dependencies:[at.$,w.V,O.q,Q.i,Q.p,y.Jj,V.Z,L.Li,K.o],encapsulation:2}))}return i(),a})();var fn=l(44940),Cn=l(13076),Tn=l(31986),yn=l(77177),ce=l(78445),_e=l(70029),bn=l(81281);const In=(i,a)=>({articles:i,topic:a}),Mn=()=>[];function xn(i,a){if(1&i){const n=t.RV6();t.j41(0,"section",2)(1,"div",5)(2,"div",13)(3,"header",14)(4,"h3",15),t.EFF(5,"analysis_insights.timeline.overview.labels.filter_by_date"),t.k0s()(),t.j41(6,"section",16)(7,"form",17),t.bIt("submit",function(){c.eBV(n);const s=t.XpG(2);return c.Njj(s.filter())}),t.j41(8,"ta-form-element")(9,"ta-label"),t.EFF(10),t.nI1(11,"translate"),t.nI1(12,"uppercase"),t.k0s(),t.j41(13,"ta-input-group"),t.nrm(14,"input",18)(15,"ta-datepicker-toggle",19)(16,"ta-datepicker",null,0),t.k0s()(),t.j41(18,"ta-form-element")(19,"ta-label"),t.EFF(20),t.nI1(21,"translate"),t.nI1(22,"uppercase"),t.k0s(),t.j41(23,"ta-in
1put-group"),t.nrm(24,"input",20)(25,"ta-datepicker-toggle",19)(26,"ta-datepicker",null,1),t.k0s()(),t.j41(28,"button",21),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.j41(31,"button",22),t.bIt("click",function(){c.eBV(n);const s=t.XpG(2);return c.Njj(s.resetFilters())}),t.EFF(32),t.nI1(33,"translate"),t.k0s()()()()()()}if(2&i){const n=t.sdS(17),o=t.sdS(27),s=t.XpG(2);t.R7$(7),t.Y8G("formGroup",s.filterForm),t.R7$(3),t.JRh(t.bMT(12,13,t.bMT(11,11,"analysis_insights.timeline.overview.labels.date_from"))),t.R7$(4),t.Y8G("taDatepicker",n)("max",s.filterForm.controls.endDate.value),t.R7$(),t.Y8G("for",n),t.R7$(5),t.JRh(t.bMT(22,17,t.bMT(21,15,"analysis_insights.timeline.overview.labels.date_to"))),t.R7$(4),t.Y8G("taDatepicker",o)("min",s.filterForm.controls.startDate.value),t.R7$(),t.Y8G("for",o),t.R7$(4),t.JRh(t.bMT(30,19,"analysis_insights.timeline.overview.buttons.filter")),t.R7$(3),t.SpI("",t.bMT(33,21,"analysis_insights.timeline.overview.buttons.reset_filters")," ")}}function Fn(i,a){if(1&i&&(t.nrm(0,"img",29),t.nI1(1,"taEnsurePublicSite")),2&i){const n=t.XpG().$implicit;t.Y8G("src",t.bMT(1,1,n.image),t.B4B)}}function Dn(i,a){1&i&&(t.j41(0,"div",30),t.nrm(1,"img",34),t.k0s())}function Rn(i,a){if(1&i&&(t.j41(0,"li",24)(1,"time",26),t.nI1(2,"date"),t.EFF(3),t.nI1(4,"date"),t.k0s(),t.j41(5,"div",27)(6,"div",28),t.nVh(7,Fn,2,3,"img",29),t.nVh(8,Dn,2,0,"div",30),t.k0s(),t.j41(9,"div",31)(10,"a",32),t.nI1(11,"taArticleUrl"),t.nI1(12,"atlasText"),t.EFF(13),t.nI1(14,"atlasText"),t.k0s(),t.j41(15,"p"),t.EFF(16),t.nI1(17,"atlasText"),t.k0s(),t.j41(18,"a",33),t.nI1(19,"taArticleUrl"),t.EFF(20),t.nI1(21,"atlasText"),t.nI1(22,"translate"),t.k0s()()()()),2&i){const n=a.$implicit,o=t.XpG(2),s=t.XpG();t.R7$(),t.BMQ("datetime",t.ii3(2,10,n.publicationDate.value,"dd LLL yyyy - H:mm",void 0,s.locale())),t.R7$(2),t.SpI(" ","timeline"===s.type()?t.ii3(4,15,n.publicationDate.value,"dd LLL yyyy - H:mm",void 0,s.locale()):"\xa0"," "),t.R7$(4),t.vxM(n.image?7:-1),t.R7$(),t.vxM(n.image?-1:8),t.R7$(2),t.Y8G("href",t.i5U(11,20,n,null==o.topic?null:o.topic.data),t.B4B),t.BMQ("title",t.bMT(12,23,n.title)),t.R7$(3),t.JRh(t.bMT(14,25,n.title)),t.R7$(3),t.JRh(t.bMT(17,27,n.description)),t.R7$(2),t.Y8G("href",t.i5U(19,29,n,null==o.topic?null:o.topic.data),t.B4B),t.R7$(2),t.JRh(t.bMT(22,34,"analysis_insights.timeline.overview.buttons."+("video"===t.bMT(21,32,null==o.topic||null==o.topic.data?null:o.topic.data.articleType)?"watch_video":"read_more")))}}function En(i,a){if(1&i){const n=t.RV6();t.j41(0,"div",25)(1,"button",35),t.bIt("click",function(){c.eBV(n);const s=t.XpG(3);return c.Njj(s.loadMorePosts())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}if(2&i){const n=t.XpG(2);t.R7$(),t.Y8G("taButtonLoading",null==n.articles?null:n.articles.loadingMore),t.R7$(),t.JRh(t.bMT(3,2,"analysis_insights.timeline.overview.buttons.load_more"))}}function $n(i,a){if(1&i&&(t.j41(0,"div")(1,"ul",23),t.Z7z(2,Rn,23,36,"li",24,t.BUC().trackByUuid,!0),t.k0s(),t.nVh(4,En,4,4,"div",25),t.k0s()),2&i){const n=t.XpG();t.R7$(2),t.Dyx((null==n.articles||null==n.articles.data?null:n.articles.data.rows)??t.lJ4(1,Mn)),t.R7$(2),t.vxM(null!=n.articles&&n.articles.canLoadMore?4:-1)}}function An(i,a){if(1&i&&(t.j41(0,"div",2)(1,"div",3),t.nVh(2,xn,34,23,"section",2),t.j41(3,"section",4)(4,"div",5)(5,"div",6)(6,"h3",7),t.EFF(7,"analysis_insights.timeline.overview.labels.more_advanced_filters"),t.k0s(),t.j41(8,"a",8),t.EFF(9,"analysis_insights.timeline.overview.messages.go_to_content_screener"),t.k0s()()()()(),t.j41(10,"div",9)(11,"div",10)(12,"div",11),t.DNE(13,$n,5,2,"div",12),t.k0s()()()()),2&i){const n=t.XpG();t.R7$(2),t.vxM("timeline"===n.type()?2:-1),t.R7$(10),t.Y8G("taLoaderResult",a.articles)}}let kn=(()=>{var i;class a{constructor(){this._store=(0,c.WQX)($.il),this._translate=(0,c.WQX)(e.c$),this._fb=(0,c.WQX)(I.ok),this._page=h.fz.ONE,this.topicId=(0,b.hFB)(),this.type=(0,b.hFB)("timeline"),this.articles$=this._store.select((0,m.te)()),this.topic$=this._store.select(m.eF),this.locale=(0,c.vPA)(`${this._translate.currentLang}-BE`),this.filterForm=this._fb.group({startDate:[],endDate:[]})}ngOnInit(){this._loadArticles()}loadMorePosts(){this._page=h.fz.plus(this._page,h.fz.ONE),this._loadArticles()}trackByUuid(o,{uuid:s}){return s.asString()}filter(){this._page=h.fz.ONE,this._loadArticles()}resetFilters(){this._page=h.fz.ONE,this.filterForm.reset(),this._loadArticles()}_loadArticles(){this._store.dispatch((0,m.xj)({topicId:this.topicId(),includePageParts:h.v8.FALSE,perPage:new h.Ww("6"),page:this._page,descriptionWords:new h.Ww("15"),...this.filterForm.value}))}static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275cmp=t.VBU({type:a,selectors:[["ta-topic-timeline"]],inputs:{topicId:[1,"topicId"],type:[1,"type"]},standalone:!1,decls:3,vars:8,consts:[["startDate",""],["endDate",""],[1,"ta-row"],[1,"ta-col--3"],[1,"ta-row","padding--bottom"],[1,"ta-col--12"],[1,"info","border-radius"],["translate","",1,"info__header","text--left"],["taRouterLink","/analysis-and-insights/content-screener","translate","",1,"text--left"],[1,"ta-col--9"],[1,"box"],["taLoader","",1,"box__content","no-padding--top",3,"taLoaderResult"],[4,"taLoaderContent"],[1,"box","box--gray"],[1,"box__header"],["translate",""],[1,"box__content"],[3,"submit","formGroup"],["taInput","","formControlName","startDate","tabindex","-1",3,"taDatepicker","max"],[3,"for"],["taInput","","formControlName","endDate","tabindex","-1",3,"taDatepicker","min"],["taButton","","type","submit",1,"full-width"],["taButton","","taButtonType","tertiary",1,"full-width",3,"click"],[1,"timeline"],[1,"timeline-item"],[1,"text--center","no-padding--bottom"],[1,"timeline-item__date"],["taEqualHeightContainer","",1,"timeline-item__content"],["taEqualHeight","",1,"timeline-item__logo"],["taImageFallback","",3,"src"],[1,"placeholder--white","page-part--related__img"],["taEqualHeight",""],[3,"href"],["taButton","","taButtonType","secondary",3,"href"],["src","/assets/img/shell/general/placeholder--white--v2.png",1,"image-placeholder"],["taButton","","taButtonType","fixed-width-small",3,"click","taButtonLoading"]],template:function(s,d){if(1&s&&(t.nVh(0,An,14,2,"div",2),t.nI1(1,"async"),t.nI1(2,"async")),2&s){let g;t.vxM((g=t.l_i(5,In,t.bMT(1,1,d.articles$),t.bMT(2,3,d.topic$)))?0:-1,g)}},dependencies:[at.$,W.A,e.Mm,R.ZD,w.V,O.q,Q.i,Q.p,Y.Q,fn.O,Cn.w,Tn.A,I.qT,I.me,I.BC,I.cb,I.j4,I.JD,yn.f,ce.Ad,ce.qY,_e.S,_e.O,bn.U,y.Jj,y.Pc,y.vh,V.Z,e.D9,L.Li,K.o],encapsulation:2}))}return i(),a})();var de;const Ln=i=>({"ta-row--fixed":i}),Bn=i=>({"intro--img":i});function Pn(i,a){if(1&i&&(t.j41(0,"a",7),t.nrm(1,"i",14),t.k0s()),2&i){const n=t.XpG(3);t.Y8G("href",n.feedUrl(),t.B4B)}}function jn(i,a){if(1&i&&(t.nrm(0,"p",8),t.nI1(1,"atlasText")),2&i){const n=t.XpG(2);t.Y8G("innerHTML",t.bMT(1,1,n.data.description),t.npT)}}function Gn(i,a){if(1&i&&(t.j41(0,"div",9),t.nrm(1,"img",15),t.nI1(2,"taEnsurePublicSite"),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("src",t.bMT(2,1,n.data.detailImage),t.B4B)}}function wn(i,a){if(1&i&&t.nrm(0,"ta-topic-blog",11),2&i){const n=t.XpG(2);t.Y8G("topicId",n.data.uuid)}}function On(i,a){1&i&&t.nrm(0,"ta-topic-analysts")}
1function Un(i,a){if(1&i&&t.nrm(0,"ta-topic-timeline",12),2&i){const n=t.XpG(2);t.Y8G("topicId",n.data.uuid)}}function Vn(i,a){if(1&i&&t.nrm(0,"ta-topic-timeline",13),2&i){const n=t.XpG(2);t.Y8G("topicId",n.data.uuid)}}function Xn(i,a){if(1&i&&(t.j41(0,"div")(1,"section",2),t.nI1(2,"atlasText"),t.j41(3,"div",3)(4,"div",4)(5,"div",5)(6,"h2",6),t.EFF(7),t.nI1(8,"atlasText"),t.nVh(9,Pn,2,1,"a",7),t.nI1(10,"atlasText"),t.k0s(),t.nVh(11,jn,2,3,"p",8),t.k0s(),t.nVh(12,Gn,3,3,"div",9),t.k0s()()(),t.j41(13,"section",10),t.nVh(14,wn,1,1,"ta-topic-blog",11),t.nI1(15,"atlasText"),t.vZN(16,On,1,0,"ta-topic-analysts")(17,Un,1,1,"ta-topic-timeline",12)(18,Vn,1,1,"ta-topic-timeline",13),t.k0s()()),2&i){let n;const o=t.XpG();t.R7$(),t.Y8G("ngClass",t.eq3(15,Ln,"analysts"===t.bMT(2,7,o.data.type))),t.R7$(2),t.Y8G("ngClass",t.eq3(17,Bn,o.data.detailImage)),t.R7$(4),t.SpI(" ",t.bMT(8,9,o.data.title)," "),t.R7$(2),t.vxM("blog"===t.bMT(10,11,o.data.uuid)?9:-1),t.R7$(2),t.vxM(o.data.description?11:-1),t.R7$(),t.vxM(o.data.detailImage?12:-1),t.R7$(2),t.vxM("blog"===(n=t.bMT(15,13,o.data.type))?14:"analysts"===n?16:"timeline"===n?17:"list"===n?18:-1)}}function Sn(i,a){1&i&&(t.j41(0,"div",0),t.DNE(1,Xn,19,19,"div",1),t.k0s()),2&i&&t.Y8G("taLoaderResult",a)}let zt=(class ie{constructor(){this._store=(0,c.WQX)($.il),this._env=(0,c.WQX)(P.Li),this.feedUrl=(0,c.vPA)(this._env.feedUrl),this.topic$=this._store.select(m.eF)}static#t=de=()=>(this.\u0275fac=function(n){return new(n||ie)},this.\u0275cmp=t.VBU({type:ie,selectors:[["ng-component"]],standalone:!1,decls:2,vars:3,consts:[["taLoader","","taLoaderIgnoreEmpty","",3,"taLoaderResult"],[4,"taLoaderContent"],[1,"ta-row","no-padding--bottom",3,"ngClass"],[1,"ta-col--12","intro",3,"ngClass"],["taEqualHeightContainer",""],["taEqualHeight",""],[1,"intro__title"],[1,"intro__title__rss",3,"href"],[1,"intro__description",3,"innerHTML"],["taEqualHeight","",1,"intro__img-wrapper"],[1,"ta-row--inline"],[3,"topicId"],["type","timeline",3,"topicId"],["type","list",3,"topicId"],[1,"icon-traderapp-rss"],[1,"intro__img",3,"src"]],template:function(n,o){if(1&n&&(t.nVh(0,Sn,2,1,"div",0),t.nI1(1,"async")),2&n){let s;t.vxM((s=t.bMT(1,1,o.topic$))?0:-1,s)}},dependencies:[y.YU,w.V,O.q,Q.i,Q.p,dn,vn,kn,y.Jj,V.Z,L.Li],styles:[".intro[_ngcontent-%COMP%]{position:relative;padding:25px 0 0;padding:1.9230769231rem 0rem 0rem}.intro__title[_ngcontent-%COMP%]{max-width:700px;max-width:53.8461538462rem}.intro__title__rss[_ngcontent-%COMP%]{margin:0 0 0 10px;margin:0rem 0rem 0rem .7692307692rem;display:inline-block}.intro__title__rss[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;font-size:1.2307692308rem}.intro__title__rss[_ngcontent-%COMP%]:hover{color:#f60}.intro__description[_ngcontent-%COMP%]{max-width:700px;max-width:53.8461538462rem;padding:0 0 32px;padding:0rem 0rem 2.4615384615rem;font-size:16px;font-size:1.2307692308rem;line-height:200%}.intro__img-wrapper[_ngcontent-%COMP%]{position:absolute;bottom:0;right:5px;right:.3846153846rem;display:none;max-width:300px;max-width:23.0769230769rem}.intro__img[_ngcontent-%COMP%]{display:block;width:100%}@media(min-width:768px){.intro--img[_ngcontent-%COMP%]{padding:25px 300px 0 0;padding:1.9230769231rem 23.0769230769rem 0rem 0rem}.intro__img-wrapper[_ngcontent-%COMP%]{display:block}}"]}),this)},de());var pe;zt=(0,j.Cg)([(0,E.dN)()],zt);let Ht=(class ae{constructor(){this._store=(0,c.WQX)($.il),this.topic$=this._store.select(m.eF)}ngOnInit(){(0,dt.z)([this._store.select((0,G.NL)("topicId")).pipe(),this._store.select((0,G.NL)("articleId")).pipe()]).pipe((0,E.pQ)(this)).subscribe(([a,n])=>{!n&&a&&this._store.dispatch((0,m.I5)({topicId:new h.EY(a)}))})}ngOnDestroy(){this._store.dispatch((0,m.Tn)())}static#t=pe=()=>(this.\u0275fac=function(n){return new(n||ae)},this.\u0275cmp=t.VBU({type:ae,selectors:[["ng-component"]],standalone:!1,decls:1,vars:0,template:function(n,o){1&n&&t.nrm(0,"router-outlet")},dependencies:[ht.n3],encapsulation:2}),this)},pe());var ue;Ht=(0,j.Cg)([(0,E.dN)()],Ht);const Yn=i=>({"filter-bar__item--active":i}),Nn=i=>({"overview-grid__list-item--with-date":i});function Wn(i,a){if(1&i){const n=t.RV6();t.j41(0,"li",7)(1,"button",8),t.bIt("click",function(){const s=c.eBV(n).$implicit,d=t.XpG(3);return c.Njj(d.toggleTag(s))}),t.EFF(2),t.nI1(3,"atlasText"),t.k0s()()}if(2&i){const n=a.$implicit,o=t.XpG(3);t.Y8G("ngClass",t.eq3(4,Yn,o.isTagActive(n))),t.R7$(2),t.JRh(t.bMT(3,2,n.name))}}function Kn(i,a){if(1&i&&(t.j41(0,"section",3)(1,"div",4)(2,"ul",5)(3,"li",6),t.EFF(4,"analysis_insights.overview.labels.show_only"),t.k0s(),t.Z7z(5,Wn,4,6,"li",7,t.BUC().trackByTagId,!0),t.k0s()()()),2&i){let n;const o=t.XpG(2);t.R7$(5),t.Dyx(null==(n=o.filteredTopics())||null==n.data?null:n.data.tags)}}function Jn(i,a){if(1&i&&(t.j41(0,"a",11),t.nI1(1,"atlasText"),t.nrm(2,"i",20),t.k0s()),2&i){const n=t.XpG(4);t.Y8G("href",t.mNQ(t.bMT(1,2,n.feedUrl())),t.B4B)}}function Qn(i,a){if(1&i&&(t.j41(0,"time",21),t.nI1(1,"date"),t.EFF(2),t.nI1(3,"date"),t.k0s()),2&i){const n=t.XpG().$implicit;t.Y8G("dateTime",t.i5U(1,2,n.publicationDate.value,"dd-MM-yyyy")),t.R7$(2),t.SpI(" ",t.i5U(3,5,n.publicationDate.value,"dd-MM-yyyy")," ")}}function zn(i,a){if(1&i&&(t.j41(0,"li",19),t.nVh(1,Qn,4,8,"time",21),t.nI1(2,"atlasText"),t.j41(3,"a",22),t.nI1(4,"taArticleUrl"),t.EFF(5),t.nI1(6,"atlasText"),t.k0s()()),2&i){const n=a.$implicit,o=t.XpG().$implicit;
1t.Y8G("ngClass",t.eq3(12,Nn,"analysts"!==o.type.asString())),t.R7$(),t.vxM("analysts"!==t.bMT(2,5,o.type)?1:-1),t.R7$(2),t.Y8G("href",t.mNQ(t.i5U(4,7,n,o)),t.B4B),t.R7$(2),t.JRh(t.bMT(6,10,n.title))}}function Hn(i,a){if(1&i&&(t.j41(0,"div",10),t.nVh(1,Jn,3,4,"a",11),t.nI1(2,"atlasText"),t.j41(3,"a",12)(4,"h3",13),t.EFF(5),t.nI1(6,"atlasText"),t.k0s(),t.j41(7,"section",14),t.nrm(8,"img",15),t.nI1(9,"taEnsurePublicSite"),t.nrm(10,"div",16),t.k0s()(),t.j41(11,"section",17)(12,"ul",18),t.Z7z(13,zn,7,14,"li",19,t.BUC().trackByUuid,!0),t.k0s()()()),2&i){const n=a.$implicit,o=t.XpG(3);t.R7$(),t.vxM("blog"===t.bMT(2,5,n.uuid)?1:-1),t.R7$(2),t.Y8G("taRouterLink",o.topicUrl(n)),t.R7$(2),t.JRh(t.bMT(6,7,n.title)),t.R7$(3),t.Y8G("src",t.mNQ(t.bMT(9,9,n.image)),t.B4B),t.R7$(5),t.Dyx(n.articles)}}function Zn(i,a){if(1&i&&(t.j41(0,"section",9),t.Z7z(1,Hn,15,11,"div",10,t.BUC().trackByUuid,!0),t.k0s()),2&i){let n;const o=t.XpG(2);t.R7$(),t.Dyx(null==(n=o.filteredTopics())?null:n.data.rows)}}function qn(i,a){if(1&i&&(t.j41(0,"div",0),t.DNE(1,Kn,7,0,"section",1)(2,Zn,3,0,"section",2),t.k0s()),2&i){const n=t.XpG();t.Y8G("taLoaderResult",n.filteredTopics())}}let Zt=(class oe{constructor(){this._store=(0,c.WQX)($.il),this._env=(0,c.WQX)(P.Li),this.feedUrl=(0,c.vPA)(void 0),this.activeTags=[],this.filteredTopics=(0,c.vPA)(void 0)}ngOnInit(){this._store.dispatch((0,m.lq)()),this.feedUrl.set(this._env.feedUrl),this._store.select(m.DU).pipe((0,N.T)(({data:a,loading:n,error:o})=>{const s=[];return a.rows&&a.rows.map(d=>d.tags).filter(d=>!!d).forEach(d=>{d.forEach(g=>{s.find(U=>g.id.equals(U.id))||s.push(g)})}),{data:{...a,rows:a.rows?.map(d=>({...d,articles:d.articles?.filter((g,U,B)=>B.findIndex(z=>z.uuid.equals(g.uuid))===U)})),tags:s},loading:n,error:o}}),(0,E.pQ)(this)).subscribe(a=>{this._topics=a.data,this.filteredTopics.set(a)})}trackByTagId(a,n){return n.id.asString()}trackByUuid(a,n){return n.uuid.asString()}isTagActive(a){return this.activeTags.find(n=>n.id.equals(a.id))}toggleTag(a){this.isTagActive(a)?this.activeTags.splice(this.activeTags.indexOf(a),1):this.activeTags.push(a),this.filteredTopics.set({...this.filteredTopics(),data:{...this.filteredTopics()?.data,rows:this._topics.rows.filter(n=>0===this.activeTags.length||n.tags&&!!n.tags.find(o=>!!this.activeTags.find(s=>s.id.equals(o.id))))}})}topicUrl(a){return"news"===a.type.asString()?["markets-and-news","news"]:["analysis-and-insights","topics",a.uuid.asString()]}static#t=ue=()=>(this.\u0275fac=function(n){return new(n||oe)},this.\u0275cmp=t.VBU({type:oe,selectors:[["ng-component"]],standalone:!1,decls:1,vars:1,consts:[["taLoader","","taLoaderIgnoreEmpty","",3,"taLoaderResult"],["class","ta-row",4,"taLoaderContent"],["class","ta-row ta-row--fixed overview-grid","taEqualHeightContainer","(min-width:480px)",4,"taLoaderContent"],[1,"ta-row"],[1,"ta-col--12"],[1,"filter-bar"],["translate","",1,"filter-bar__item","filter-bar__label"],[1,"filter-bar__item",3,"ngClass"],["type","button",1,"filter-bar__link",3,"click"],["taEqualHeightContainer","(min-width:480px)",1,"ta-row","ta-row--fixed","overview-grid"],["taEqualHeight","","taTtip","analysis_insights.overview_topic_block",1,"ta-col--3","overview-grid__item"],[1,"overview-grid__title-icon",3,"href"],[3,"taRouterLink"],[1,"overview-grid__title"],[1,"overview-grid__img-wrapper"],[1,"overview-grid__img",3,"src"],[1,"overview-grid__img-bg"],[1,"overview-grid__content"],[1,"overview-grid__list"],[1,"overview-grid__list-item",3,"ngClass"],[1,"icon-traderapp-rss"],[1,"overview-grid__list-date",3,"dateTime"],[3,"href"]],template:function(n,o){1&n&&t.nVh(0,qn,3,1,"div",0),2&n&&t.vxM(o.filteredTopics()?0:-1)},dependencies:[y.YU,W.A,e.Mm,w.V,O.q,Q.i,Q.p,y.vh,V.Z,L.Li,K.o],styles:[".filter-bar[_ngcontent-%COMP%]{padding:0 0 10px;padding:0rem 0rem .7692307692rem;margin:0;border-bottom:1px solid #EDEEF1;text-align:right;list-style:none}.filter-bar__item[_ngcontent-%COMP%]{display:inline-block;padding:10px;padding:.7692307692rem;margin:0 0 0 10px;margin:0rem 0rem 0rem .7692307692rem}.filter-bar__item[_ngcontent-%COMP%]:first-child{margin:0}.filter-bar__item--active[_ngcontent-%COMP%]{background:#5e6980;border-radius:5px}.filter-bar__item--active[_ngcontent-%COMP%] .filter-bar__link[_ngcontent-%COMP%], .filter-bar__item--active[_ngcontent-%COMP%] .filter-bar__link[_ngcontent-%COMP%]:hover{color:#fff}.filter-bar__label[_ngcontent-%COMP%]{font-family:Bolero MG,Helvetica,Arial,sans-serif;font-size:12px;font-size:.9230769231rem;color:#4e627d;font-weight:600;text-transform:uppercase}.filter-bar__link[_ngcontent-%COMP%]{font-family:Gilroy,serif;text-align:right;color:#822782;font-size:16px;
1font-size:1.2307692308rem}.filter-bar__link[_ngcontent-%COMP%]:hover{color:#5e6980}"]}),this)},ue());Zt=(0,j.Cg)([(0,E.dN)()],Zt);const ti=[{path:"",component:_t,children:[{path:"",redirectTo:"topics",pathMatch:"full"},{path:"topics",component:Zt,data:{state:"topics/overview"}},{path:"topics/:topicId",component:Ht,children:[{path:"",pathMatch:"full",component:zt,data:{languageSensitive:!0,overviewState:"/analysis-and-insights/topics",state:"topics.detail.content"}},{path:":articleId",component:Qt,data:{languageSensitive:!0,overviewState:"/analysis-and-insights/topics",state:"topics.detail.article"}}]},{path:"content-screener",component:Bt.U,data:{state:"content_screener"}}]}];let ei=(()=>{var i;class a{static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=c.G2t({imports:[y.MD,T.iI.forChild(ti),T.iI]}))}return i(),a})(),ni=(()=>{var i;class a{static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=c.G2t({imports:[k.MD,y.MD,T.iI,x.iI,v.SX,e.h,R.aZ,gt.iZ,rt.Ui,X.E,P.Ui,lt.C,ei,bt.N6,H.yu,S.xD,I.X1,mt.YN,yt.oV]}))}return i(),a})();var ii=l(74200),ai=l(795),oi=l(25322),si=l(31144);let li=(()=>{var i;class a{static#t=i=()=>(this.\u0275fac=function(s){return new(s||a)},this.\u0275mod=t.$C({type:a}),this.\u0275inj=c.G2t({imports:[y.MD,x.iI,I.X1,mt.YN,e.h,R.aZ,gt.iZ,rt.Ui,X.E,P.Ui,lt.C,ii.I,ai.Xl,oi.py,si.r9,S.xD]}))}return i(),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.