1"use strict";(self.webpackChunkmisbar=self.webpackChunkmisbar||[]).push([["src_app_layout_components_landing-pages_analytics-page_analytics-page_module_ts"],{4395:(N,y,a)=>{a.d(y,{b:()=>S});var s=a(7393),A=a(3637);function S(l,u=A.P){return t=>t.lift(new v(l,u))}class v{constructor(u,t){this.dueTime=u,this.scheduler=t}call(u,t){return t.subscribe(new h(u,this.dueTime,this.scheduler))}}class h extends s.L{constructor(u,t,E){super(u),this.dueTime=t,this.scheduler=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(u){this.clearDebounce(),this.lastValue=u,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(d,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:u}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(u)}}clearDebounce(){const u=this.debouncedSubscription;null!==u&&(this.remove(u),u.unsubscribe(),this.debouncedSubscription=null)}}function d(l){l.debouncedNext()}},7519:(N,y,a)=>{a.d(y,{x:()=>A});var s=a(7393);function A(h,d){return l=>l.lift(new S(h,d))}class S{constructor(d,l){this.compare=d,this.keySelector=l}call(d,l){return l.subscribe(new v(d,this.compare,this.keySelector))}}class v extends s.L{constructor(d,l,u){super(d),this.keySelector=u,this.hasKey=!1,"function"==typeof l&&(this.compare=l)}compare(d,l){return d===l}_next(d){let l;try{const{keySelector:t}=this;l=t?t(d):d}catch(t){return this.destination.error(t)}let u=!1;if(this.hasKey)try{const{compare:t}=this;u=t(this.key,l)}catch(t){return this.destination.error(t)}else this.hasKey=!0;u||(this.key=l,this.destination.next(d))}}},744:(N,y,a)=>{a.r(y),a.d(y,{AnalyticsPageModule:()=>At});var s=a(8583),A=a(5469),S=a(2028),v=a(5283),h=a(3679),d=a(4666),l=a(985),u=a(2181),t=a(7716);let E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[s.ez,l.U,h.UX,h.u5,d.Bz,A.aw,u.mZ]]}),n})();var x=a(588),P=a(9075),w=a(5319),B=a(20),U=a(8104),O=a(2959),I=a(7448),p=a(4395),L=a(7519);const r=["class","app-analytics-header"];function _(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"li"),t.TgZ(1,"a",20),t.NdJ("click",function(){const g=t.CHM(e).$implicit;return t.oxw().openPublisher(g.alias)}),t.TgZ(2,"div",21),t.TgZ(3,"div",22),t._UZ(4,"img",23),t.qZA(),t.TgZ(5,"div",24),t._UZ(6,"div",25),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(4),t.Q6J("defaultImage","/assets/images/default.png")("lazyLoad",i.prefix+e.path)("alt",e.name),t.xp6(2),t.Q6J("innerHTML",i.markSourceLink(e.slug),t.oJD)}}function T(n,o){if(1&n&&(t.TgZ(0,"picture"),t._UZ(1,"source",32),t._UZ(2,"source",33),t._UZ(3,"source",34),t._UZ(4,"img",35),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.uIk("lazyLoad",i.prefix+e.path),t.xp6(1),t.uIk("lazyLoad",i.prefix+e.path),t.xp6(1),t.uIk("lazyLoad",i.prefix+e.path),t.xp6(1),t.Q6J("defaultImage","/assets/images/default.png")("lazyLoad",i.prefix+e.path)("alt",e.name)}}function Z(n,o){if(1&n&&(t.TgZ(0,"picture"),t._UZ(1,"source",36),t._UZ(2,"
1source",37),t._UZ(3,"source",38),t._UZ(4,"img",39),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.Q6J("srcset",i.prefix+e.path,t.LSH),t.xp6(1),t.Q6J("srcset",i.prefix+e.path,t.LSH),t.xp6(1),t.Q6J("srcset",i.prefix+e.path,t.LSH),t.xp6(1),t.Q6J("src",e.path?i.prefix+e.path:"/assets/images/default.png",t.LSH)("alt",e.name)}}function Y(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",26),t.NdJ("click",function(){const g=t.CHM(e).$implicit;return t.oxw().openPublisher(g.alias)}),t.TgZ(1,"div",27),t.YNc(2,T,5,6,"picture",28),t.YNc(3,Z,5,5,"picture",28),t.qZA(),t.TgZ(4,"div",29),t.TgZ(5,"span",30),t._uU(6),t.qZA(),t.qZA(),t.TgZ(7,"div",31),t._uU(8),t.qZA(),t.qZA()}if(2&n){const e=o.$implicit,i=o.index,c=t.oxw();t.Tol("bubble b"+(i+1)),t.xp6(2),t.Q6J("ngIf",!c.isServer),t.xp6(1),t.Q6J("ngIf",c.isServer),t.xp6(3),t.Oqu(i+1),t.xp6(2),t.Oqu(e.name)}}const G=function(n){return[n]},tt=function(n){return{display:n}};class it{constructor(o,e,i){this.toRotate=e,this.el=o,this.loopNum=0,this.period=parseInt(i,10)||2e3,this.txt="",this.tick(),this.isDeleting=!1}tick(){const e=this.toRotate[this.loopNum%this.toRotate.length];this.txt=e.substring(0,this.isDeleting?this.txt.length-1:this.txt.length+1),this.el.innerHTML='<span class="wrap">'+this.txt+"</span>";let i=200-100*Math.random();this.isDeleting&&(i/=2),this.isDeleting||this.txt!==e?this.isDeleting&&""===this.txt&&(this.isDeleting=!1,this.loopNum++,i=500):(i=this.period,this.isDeleting=!0),setTimeout(()=>{this.tick()},i)}}let nt=(()=>{class n{constructor(e,i,c,g){this._router=e,this.translationService=i,this.platformId=c,this._DataService=g,this.searchInputFocus=!1,this.searchInputListDisplay="none",this.routesEnum=x.X,this.searchInput=null,this.searchItemsList=[],this.inputLostFocus=function(n,o){let e;return function(...i){const c=this;clearTimeout(e),e=setTimeout(()=>n.apply(c,i),200)}}(this.inputLostFocus.bind(this)),this.searchForm=new h.cw({search:new h.NI("")}),this.searchForm.get("search").valueChanges.pipe((0,p.b)(500),(0,L.x)()).subscribe(f=>{this.searchInput=f,this.searchInputListDisplay="block",this._makeSearch()}),this.dir=this.translationService.dir,""!==this._DataService.imagePrefix&&(this.prefix=this._DataService.imagePrefix),this.isBrowser=(0,s.NF)(this.platformId)}ngOnInit(){}ngAfterViewInit(){if(this.isBrowser){const e=document.getElementsByClassName("typewrite");for(let i=0;i<e.length;i++){const c=e[i].getAttribute("data-type"),g=e[i].getAttribute("data-period");c&&new it(e[i],JSON.parse(c),g)}}}openPublisher(e){this._router.navigateByUrl(e)}inputLostFocus(){this.searchInputFocus=!1,this.searchInputListDisplay="none"}markSourceLink(e){const i=this.searchInput.toLowerCase(),c=this.searchInput.toUpperCase();let g=e.replace(i,"<mark>"+i+"</mark>");return g=g.replace(c,"<mark>"+c+"</mark>"),g}_makeSearch(){this._DataService.getStatisticsAutocompleteListSources(this.searchInput).subscribe(e=>{this.searchItemsList=e.sources})}getLangRoute(){return this.translationService.isEn()?"/en/":"/"}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.F0),t.Y36(B.D),t.Y36(t.Lbi),t.Y36(U.D))},n.\u0275cmp=t.Xpm({type:n,selectors:[["",8,"app-analytics-header"]],inputs:{sourcesBubblesList:"sourcesBubblesList",isServer:"isServer"},attrs:r,decls:31,vars:31,consts:[[1,"landing-pages"],[1,"title-and-breadcrumb"],[1,"title-landing"],[1,"breadcrumb-new",3,"dir"],[3,"routerLink"],[1,"search-section"],[1,"search-box","col","col-12","col-lg-7"],[1,"search-box-title"],[1,"typewrite"],[1,"search-orange"],[1,"search-box-input"],[1,"search-box-input-div"],[3,"formGroup"],["type","search","autocomplete","off",1,"search-input",3,"placeholder","formControlName","focus","blur"],[1,"search-input-list",3,"ngStyle"],[1,"search-input-list-box"],[1,"search-input-list-ul"],[4,"ngFor","ngForOf"],[1,"fake-sites","col","col-12","col-lg-5"],[3,"class","click",4,"ngFor","ngForOf"],[1,"search-input-list-a",3,"click"],[1,"row","p-0","pb-1"],[1,"a-icon","p-0","m-0"],[3,"defaultImage","lazyLoad","alt"],[1,"a-link","p-0","m-0"],[1,"search-input-list-item-url",3,"innerHTML"],[3,"click"],[1,"bubble-img-div"],[4,"ngIf"],[1,"bubble-badge-div"],[1,"bubble-badge"],[1,"bubble-badge-title"],["media","all and (min-width: 992px)"],["media","all and (min-width: 768px) and (max-width: 991px)"],["media","all and (max-width: 767px)"],[1,"bubble-img",3,"defaultImage","lazyLoad","alt"],["media","all and (min-width: 992px)",3,"srcset"],["media","all and (min-width: 768px) and (max-width: 991px)",3,"srcset"],["media","all and (max-width: 767px)",3,"srcset"],[1,"bubble-img",3,"src","alt"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"h1",2),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"div",3),t.TgZ(6,"a",4),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"a",4),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(12,"section",5),t.TgZ(13,"div",6),t.TgZ(14,"div",7),t.TgZ(15,"p",8),t._uU(16),t.ALo(17,"translate"),t.qZA(),t.TgZ(18,"p",9),t._uU(19,"\u0644\u0641\u062d\u0635 \u0627\u0644\u062d\u0642\u064a\u0642\u0629 \u0648\u0643\u0634\u0641 \u0627\u0644\u0643\u0630\u0628 \u0641\u064a \u0627\u0644\u0641\u0636\u0627\u0621 \u0627\u0644\u0639\u0645\u0648\u0645\u064a"),t.qZA(),t.qZA(),t.TgZ(20,"div",10),t.TgZ(21,"div",11),t.TgZ(22,"form",12),t.TgZ(23,"input",13),t.NdJ("focus",function(){return i.searchInputFocus=!0})("blur",function(){return i.inputLostFocus()}),t.ALo(24,"translate"),t.qZA(),t.qZA(),t.TgZ(25,"div",14),t.TgZ(26,"div",15),t.TgZ(27,"ul",16),t.YNc(28,_,7,4,"li",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(29,"div",18),t.YNc(30,Y,9,6,"div",19),t.qZA(),t.qZA()),2&e&&(t.xp6(3),t.Oqu(t.lcZ(4,15,"ANALYTICS")),t.xp6(2),t.Q6J("dir",i.dir),t.xp6(1),t.Q6J("routerLink",t.VKq(25,G,i.getLangRoute()+i.routesEnum.HOME)),t.xp6(1),t.Oqu(t.lcZ(8,17,"HOME")),t.xp6(2),t.Q6J("routerLink",t.VKq(27,G,i.getLangRoute()+i.routesEnum.ANALYTICS_PAGES.ANALYTICS)),t.xp6(1),t.Oqu(t.lcZ(11,19,"ANALYTICS")),t.xp6(6),t.Oqu(t.lcZ(17,21,"FAKE_NEWS")),t.xp6(6),t.Q6J("formGroup",i.searchForm),t.xp6(1),t.ekj("search-input-rtl",i.translationService.isAr()),t.Q6J("placeholder",t.lcZ(24,23,"ANALYTICS_HEADER_SEARCH"))("formControlName","search"),t.xp6(2),t.Q6J("ngStyle",t.VKq(29,tt,i.searchInputListDisplay)),t.xp6(3),t.Q6J("ngForOf",i.searchItemsList),t.xp6(2),t.Q6J("ngForOf",i.sourcesBubblesList))},directives:[d.yS,h._Y,h.JL,h.sg,h.Fj,h.JJ,h.u,s.PC,s.sg,u.z1,s.O5],pipes:[A.X$],encapsulation:2}),n})();const st=["class","app-analytics-page"];function at(n,o){1&n&&t._UZ(0,"div")}const D=function(){return[970,90]},M=function(){return[728,90]},J=function(){return[320,100]},R=function(n,o,e){return[n,o,e]},K=function(){return[990,0]},m=function(n){return[n]},b=function(n,o){return[n,o]},q=function(){return[768,0]},F=function(){return[576,0]},H=function(){return[0,0]},k=function(n,o,e,i){return[n,o,e,i]}
1,Q=function(){return[!0,!0]},V=function(){return{sandbox:!0}},j=function(){return["1"]},W=function(n){return{Position:n}},z=function(){return{adsense_test_mode:"on"}},rt=function(n,o,e,i,c,g,f){return{unitPath:n,id:"div-gpt-ad-leaderboard-1",size:o,sizeMapping:e,categoryExclusion:"1",collapseEmptyDiv:i,forceSafeFrame:!0,safeFrameConfig:c,targeting:g,adsense:f}};function ot(n,o){if(1&n&&(t.ynx(0),t.YNc(1,at,1,0,"div",12),t.BQk()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("dfpAd",t.Hh0(47,rt,e.isArabic?"/270638763/Misbar_Leaderboard":"/270638763/Misbar_English_Leaderboard",t.kEZ(4,R,t.DdM(1,D),t.DdM(2,M),t.DdM(3,J)),t.l5B(36,k,t.WLB(12,b,t.DdM(8,K),t.VKq(10,m,t.DdM(9,D))),t.WLB(19,b,t.DdM(15,q),t.VKq(17,m,t.DdM(16,M))),t.WLB(26,b,t.DdM(22,F),t.VKq(24,m,t.DdM(23,J))),t.WLB(33,b,t.DdM(29,H),t.VKq(31,m,t.DdM(30,J)))),t.DdM(41,Q),t.DdM(42,V),t.VKq(44,W,t.DdM(43,j)),t.DdM(46,z)))}}function lt(n,o){if(1&n&&(t.TgZ(0,"div",11),t.YNc(1,ot,2,55,"ng-container",5),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.isBrowser)}}function ct(n,o){1&n&&t._UZ(0,"div")}const C=function(){return[300,250]},dt=function(n,o,e,i,c,g,f){return{unitPath:n,id:"div-gpt-ad-billboard-1",size:o,sizeMapping:e,categoryExclusion:"1",collapseEmptyDiv:i,forceSafeFrame:!0,safeFrameConfig:c,targeting:g,adsense:f}};function ut(n,o){if(1&n&&(t.ynx(0),t.YNc(1,ct,1,0,"div",12),t.BQk()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("dfpAd",t.Hh0(47,dt,e.isArabic?"/270638763/Misbar_Billboard":"/270638763/Misbar_English_Billboard",t.kEZ(4,R,t.DdM(1,D),t.DdM(2,M),t.DdM(3,C)),t.l5B(36,k,t.WLB(12,b,t.DdM(8,K),t.VKq(10,m,t.DdM(9,D))),t.WLB(19,b,t.DdM(15,q),t.VKq(17,m,t.DdM(16,M))),t.WLB(26,b,t.DdM(22,F),t.VKq(24,m,t.DdM(23,C))),t.WLB(33,b,t.DdM(29,H),t.VKq(31,m,t.DdM(30,C)))),t.DdM(41,Q),t.DdM(42,V),t.VKq(44,W,t.DdM(43,j)),t.DdM(46,z)))}}function gt(n,o){1&n&&t._UZ(0,"div")}const ht=function(){return["2"]},pt=function(n,o,e,i,c,g,f){return{unitPath:n,id:"div-gpt-ad-billboard-2",size:o,sizeMapping:e,categoryExclusion:"2",collapseEmptyDiv:i,forceSafeFrame:!0,safeFrameConfig:c,targeting:g,adsense:f}};function _t(n,o){if(1&n&&(t.ynx(0),t.YNc(1,gt,1,0,"div",12),t.BQk()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("dfpAd",t.Hh0(47,pt,e.isArabic?"/270638763/Misbar_Billboard":"/270638763/Misbar_English_Billboard",t.kEZ(4,R,t.DdM(1,D),t.DdM(2,M),t.DdM(3,C)),t.l5B(36,k,t.WLB(12,b,t.DdM(8,K),t.VKq(10,m,t.DdM(9,D))),t.WLB(19,b,t.DdM(15,q),t.VKq(17,m,t.DdM(16,M))),t.WLB(26,b,t.DdM(22,F),t.VKq(24,m,t.DdM(23,C))),t.WLB(33,b,t.DdM(29,H),t.VKq(31,m,t.DdM(30,C)))),t.DdM(41,Q),t.DdM(42,V),t.VKq(44,W,t.DdM(43,ht)),t.DdM(46,z)))}}const mt=function(){return{exact:!0}},X=(0,P.Cb)("analytics_header-api"),$=(0,P.Cb)("analytics_meta_header-api"),vt=[{path:"",component:(()=>{class n{constructor(e,i,c,g,f,Tt,bt,yt){this._TranslationService=e,this.dfp=i,this._DataService=c,this.renderer=g,this.transferState=f,this.platformId=Tt,this.document=bt,this._MetaService=yt,this.isServer=!1,this.section="",this.routesEnum=x.X,this.showLoaderContent=!0,this.analyticsHeaderSubscribtion=new w.w,this.metaSubscribtion=new w.w,this.sourcesBubblesList=[],this.dir=this._TranslationService.dir,this.hostname="https://"+this.document.location.hostname,this.url=this.hostname+"/analytics",this.isArabic=!!this._TranslationService.isAr(),""!==this._DataService.imagePrefix&&(this.prefix=this._DataService.imagePrefix),this.isBrowser=(0,s.NF)(this.platformId),this.isServer=(0,s.PM)(this.platformId)}ngOnInit(){var e,i;this.isBrowser&&"undefined"!=typeof googletag&&null!=(null==googletag?void 0:googletag.cmd)&&(null===(e=this.dfp)||void 0===e||e.cmd(()=>{null==googletag||googletag.pubads().collapseEmptyDivs(),null==googletag||googletag.pubads().setTargeting("Page",["landing-page"]).setTargeting("Section",["analytics"]).setTargeting("lang",[""+this._TranslationService.getLang()]),null==googletag||googletag.pubads().enableLazyLoad({fetchMarginPercent:100,renderMarginPercent:100,mobileScaling:1}),null==googletag||googletag.enableServices()}),this.adsRefresh=setInterval(()=>{this.refreshAllAds()},9e4)),null!=this.transferState.get(X,null)&&null!=this.transferState.get($,null)?(this.isServer=!0,this.sourcesBubblesList=null===(i=this.transferState.get(X,null))||void 0===i?void 0:i.sources):(this.getAnalyticsHeader(),this.getMeta())}getMeta(){this.metaSubscribtion=this._DataService.getMeta("analytics").subscribe(e=>{(0,s.PM)(this.platformId)&&this.transferState.set($,e),this.updateMeta({title:null==e?void 0:e.title,description:null==e?void 0:e.description,image:"/images/ar.jpg"})},e=>{console.log(e)})}getAnalyticsHeader(){this.analyticsHeaderSubscribtion=this._DataService.getStatisticsListSource().subscribe(e=>{(0,s.PM)(this.platformId)&&this.transferState.set(X,e),this.sourcesBubblesList=e.sources},e=>{console.log(e)})}refreshAllAds(){var e;"undefined"!=typeof googletag&&null!=(null==googletag?void 0:googletag.cmd)&&(null===(e=null==googletag?void 0:googletag.cmd)||void 0===e||e.push(()=>{const i=null==googletag?void 0:googletag.pubads().getSlots();null==googletag||googletag.pubads().refresh(i)}))}ngOnDestroy(){this.analyticsHeaderSubscribtion.unsubscribe(),this.metaSubscribtion.unsubscribe(),this.document.querySelectorAll('link[rel="alternate"]').forEach(i=>i.remove()),clearInterval(this.adsRefresh)}updateMeta(e){var i,c,g;(0,s.PM)(this.platformId)||this.removeJsonLdScripts(),this._MetaService.updateTitle(null==e?void 0:e.title),this.updateCanonical(this.url),this._MetaService.updateDescription(null===(i=null==e?void 0:e.description)||void 0===i?void 0:i.substring(0,160)),this._MetaService.updateOgUrl(this.url),this._MetaService.updateOgTitle(null==e?void 0:e.title),this._MetaService.updateOgDescription(null===(c=null==e?void 0:e.description)||void 0===c?void 0:c.substring(0,160)),this._MetaService.updateOgImage(this.prefix+(null==e?void 0:e.image)),this._MetaService.updateOgImageUrl(this.prefix+(null==e?void 0:e.image)),this._MetaService.updateOgImageAlt(null==e?void 0:e.title),this._MetaService.updateOgType("article"),this._MetaService.updateTwitterUrl(this.url),this._MetaService.updateTwitterDomain(this.url),this.updateHrefLangAr(this.url),this._MetaService.updateTwitterTitle(null==e?void 0:e.title),this._MetaService.updateTwitterDescription(null===(g=null==e?void 0:e.description)||void 0===g?void 0:g.substring(0,160)),this._MetaService.updateTwitterImage(this.prefix+(null==e?void 0:e.image)),this._MetaService.updateTwitterImageAlt(null==e?void 0:e.title);const f=this.document.createElement("script");f.type="application/ld+json",f.innerHTML='{\n "@context": "http://schema.org",\n "@type": "WebPage",\n "name": "\u0627\u0644\u0645\u0624\u0634\u0631 | \u0645\u0624\u0634\u0631 \u0645\u0633\u0628\u0627\u0631",\n "description": "\u0641\u062d\u0635 \u0627\u0644\u062d\u0642\u064a\u0642\u0629 \u0648\u0643\u0634\u0641 \u0627\u0644\u0643\u0630\u0628 \u0641\u064a \u0627\u0644\u0641\u0636\u0627\u0621 \u0627\u0644\u0639\u0645\u0648\u0645\u064a"\n }',this.document.head.appendChild(f)}updateHrefLangAr(e){const i=this.renderer.createElement("link");this.renderer.setAttribute(i,"rel","alternate"),this.renderer.setAttribute(i,"hreflang","ar"),this.renderer.appendChild(this.document.head,i),this.renderer.setAttribute(i,"href",e.includes("/en/")?e.replace("/en/","/"):e)}removeJsonLdScripts(){const e=this.document.head.getElementsByTagName("script");for(let i=e.length-1;i>=0;i--){const c=e[i];"application/ld+json"===c.getAttribute("type")&&c.remove()}}getLangRoute(){return this._TranslationService.isEn()?"/en/":"/"}getRoutePrefix(){return"/"+x.X.ANALYTICS_PAGES.ANALYTICS+"/"}updateCanonical(e){let i=this.document.querySelector('link[rel="canonical"]');i||(i=this.renderer.createElement("link"),this.renderer.setAttribute(i,"rel","canonical"),this.renderer.appendChild(this.document.head,i)),this.renderer.setAttribute(i,"href",e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(B.D),t.Y36(v.G6),t.Y36(U.D),t.Y36(t.Qsj),t.Y36(P.ki),t.Y36(t.Lbi),t.Y36(s.K0),t.Y36(O.R))},n.\u0275cmp=t.Xpm({type:n,selectors:[["",8,"app-analytics-page"]],attrs:st,decls:31,vars:42,consts:[["class","ad-leaderboard",4,"ngIf"],[1,"app-trending-now"],[1,"container"],[1,"app-analytics-header",3,"sourcesBubblesList","isServer"],[1,"ad-billboard"],[4,"ngIf"],[1,"tabs-section"],[1,"nav","nav-pad"],[1,"nav-item"],[1,"nav-link",3,"routerLink","routerLinkActiveOptions","routerLinkActive"],[1,"nav-link",3,"routerLink","routerLinkActive"],[1,"ad-leaderboard"],[4,"dfpAd"]],template:function(e,i){1&e&&(t.YNc(0,lt,2,1,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2),t._UZ(3,"div",3),t.TgZ(4,"div",4),t.YNc(5,ut,2,55,"ng-container",5),t.qZA(),t.TgZ(6,"section",6),t.TgZ(7,"ul",7),t.TgZ(8,"li",8),t.TgZ(9,"a",9),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.qZA(),t.TgZ(12,"li",8),t.TgZ(13,"a",10),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.qZA(),t.TgZ(16,"li",8),t.TgZ(17,"a",10),t._uU(18),t.ALo(19,"translate"),t.qZA(),t.qZA(),t.TgZ(20,"li",8),t.TgZ(21,"a",10),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.qZA(),t.TgZ(24,"li",8),t.TgZ(25,"a",10),t._uU(26),t.ALo(27,"translate"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(28,"router-outlet"),t.TgZ(29,"div",4),t.YNc(30,_t,2,55,"ng-container",5),t.qZA(),t.qZA()),2&e&&(t.Q6J("ngIf",!i.isArabic),t.xp6(3),t.Q6J("sourcesBubblesList",i.sourcesBubblesList)("isServer",i.isServer),t.xp6(2),t.Q6J("ngIf",i.isBrowser),t.xp6(4),t.Q6J("routerLink",t.VKq(31,m,i.getRoutePrefix()))("routerLinkActiveOptions",t.DdM(33,mt))("routerLinkActive","active"),t.xp6(1),t.Oqu(t.lcZ(11,21,"TAB_ANALYTICS")),t.xp6(3),t.Q6J("routerLink",t.VKq(34,m,i.getRoutePrefix()+i.routesEnum.ANALYTICS_PAGES.ABOUT))("routerLinkActive","active"),t.xp6(1),t.Oqu(t.lcZ(15,23,"TAB_ABOUT")),t.xp6(3),t.Q6J("routerLink",t.VKq(36,m,i.getRoutePrefix()+i.routesEnum.ANALYTICS_PAGES.SOURCES))("routerLinkActive","active"),t.xp6(1),t.Oqu(t.lcZ(19,25,"TAB_SOURCES")),t.xp6(3),t.Q6J("routerLink",t.VKq(38,m,i.getRoutePrefix()+i.routesEnum.ANALYTICS_PAGES.COUNTRIES))("routerLinkActive","active"),t.xp6(1),t.Oqu(t.lcZ(23,27,"TAB_COUNTRIES")),t.xp6(3),t.Q6J("routerLink",t.VKq(40,m,i.getRoutePrefix()+i.routesEnum.ANALYTICS_PAGES.MONTHLY))("routerLinkActive","active"),t.xp6(1),t.Oqu(t.lcZ(27,29,"TAB_MONTHLY")),t.xp6(4),t.Q6J("ngIf",i.isBrowser))},directives:[s.O5,I.A,nt,d.yS,d.Od,d.lC,v.aO],pipes:[A.X$],encapsulation:2}),n})(),children:[{path:"",pathMatch:"full",data:{preload:!0},loadChildren:()=>Promise.all([a.e("default-node_modules_ng2-charts___ivy_ngcc___fesm2015_ng2-charts_js-src_app_shared_enums_sub--5a09a2"),a.e("default-src_app_layout_components_landing-pages_analytics-page_components_landing_components_-b9f873"),a.e("src_app_layout_components_landing-pages_analytics-page_components_landing_landing_module_ts")]).then(a.bind(a,5643)).then(n=>n.AnalyticsLandingModule)},{path:x.X.ANALYTICS_PAGES.ABOUT,loadChildren:()=>a.e("src_app_layout_components_landing-pages_analytics-page_components_about_about_module_ts").then(a.bind(a,5009)).then(n=>n.AnalyticsAboutModule)},{path:x.X.ANALYTICS_PAGES.SOURCES,loadChildren:()=>a.e("src_app_layout_components_landing-pages_analytics-page_components_sources_sources_module_ts").then(a.bind(a,1402)).then(n=>n.AnalyticsSourcesModule)},{path:x.X.ANALYTICS_PAGES.COUNTRIES,loadChildren:()=>Promise.all([a.e("default-node_modules_ng2-charts___ivy_ngcc___fesm2015_ng2-charts_js-src_app_shared_enums_sub--5a09a2"),a.e("src_app_layout_components_landing-pages_analytics-page_components_countries_countries_module_ts")]).then(a.bind(a,213)).then(n=>n.AnalyticsCountriesModule)},{path:x.X.ANALYTICS_PAGES.MONTHLY,loadChildren:()=>a.e("src_app_layout_components_landing-pages_analytics-page_components_monthly_monthly_module_ts").then(a.bind(a,6377)).then(n=>n.AnalyticsMonthlyModule)}]}];let ft=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[d.Bz.forChild(vt)],d.Bz]}),n})(),At=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[s.ez,ft,A.aw,S.k,v.sn,E]]}),n})()},7448:(N,y,a)=>{a.d(y,{A:()=>I});var s=a(7716),A=a(588),S=a(5319),v=a(8583),h=a(9075),d=a(8104),l=a(20),u=a(4666),t=a(5469);const E=["class","app-trending-now"];function x(p,L){if(1&p){const r=s.EpF();
1s.TgZ(0,"div",3),s.TgZ(1,"a",4),s.NdJ("click",function(){return s.CHM(r),s.oxw().trackBannerClick()}),s.TgZ(2,"picture"),s._UZ(3,"source",5),s._UZ(4,"source",6),s._UZ(5,"source",7),s._UZ(6,"img",8),s.qZA(),s.qZA(),s.qZA()}}const P=function(p){return[p]};function w(p,L){if(1&p&&(s.TgZ(0,"li",16),s.TgZ(1,"a",17),s.TgZ(2,"span",18),s._uU(3),s.qZA(),s.qZA(),s.qZA()),2&p){const r=s.oxw().$implicit,_=s.oxw(2);s.xp6(1),s.Q6J("routerLink",s.VKq(2,P,_.getLangRoute()+(null==r?null:r.alias))),s.xp6(2),s.Oqu(null==r||null==r.search_phrase?null:r.search_phrase.name)}}function B(p,L){if(1&p&&(s.ynx(0),s.YNc(1,w,4,4,"li",15),s.BQk()),2&p){const r=L.$implicit;s.xp6(1),s.Q6J("ngIf",null==r||null==r.search_phrase?null:r.search_phrase.name)}}function U(p,L){if(1&p&&(s.TgZ(0,"div",9),s.TgZ(1,"div",10),s.TgZ(2,"div",11),s.TgZ(3,"span",12),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"ul",13),s.YNc(7,B,2,1,"ng-container",14),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&p){const r=s.oxw();s.xp6(3),s.Q6J("dir",r.dir),s.xp6(1),s.Oqu(s.lcZ(5,3,"TRENDING_NOW")),s.xp6(3),s.Q6J("ngForOf",r.trendingNow)}}const O=(0,h.Cb)("trending-now-api");let I=(()=>{class p{constructor(r,_,T,Z,Y){this._DataService=r,this.transferState=_,this.isMobileToken=T,this.platformId=Z,this._TranslationService=Y,this.trendingNowStatus=!1,this.routesEnum=A.X,this.trendingNowSubscribtion=new S.w,this.isMobile=!1,this.isArabic=!1,this.dir=this._TranslationService.dir,this.isArabic=!!this._TranslationService.isAr()}epicFunction(){this.isMobile=this.isMobileToken,(0,v.NF)(this.platformId)&&(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener))}onResize(){const r=window.innerWidth<992;this.isMobile=r}getLangRoute(){return this._TranslationService.isEn()?"/en/":"/"}ngOnInit(){var r;null!=this.transferState.get(O,null)?(this.trendingNow=this.transferState.get(O,null),null===(r=this.trendingNow)||void 0===r||r.map(_=>{var T;return(null===(T=null==_?void 0:_.search_phrase)||void 0===T?void 0:T.name)?this.trendingNowStatus=!0:""})):this.getTrendingNow()}getTrendingNow(){this.trendingNowSubscribtion=this._DataService.getTrending().subscribe(r=>{var _;(null==r?void 0:r.items)&&((0,v.PM)(this.platformId)&&this.transferState.set(O,null==r?void 0:r.items),this.trendingNow=null==r?void 0:r.items,null===(_=this.trendingNow)||void 0===_||_.map(T=>{var Z;return(null===(Z=null==T?void 0:T.search_phrase)||void 0===Z?void 0:Z.name)?this.trendingNowStatus=!0:""}))},r=>{console.log(r)},()=>{this.trendingNowSubscribtion.unsubscribe()})}formatTitle(r){return null==r?void 0:r.trim().replace(/ /g,"-")}trackBannerClick(){(0,v.NF)(this.platformId)&&(window.dataLayer=window.dataLayer||[]).push({event:"interactive_story_banner_click"})}}return p.\u0275fac=function(r){return new(r||p)(s.Y36(d.D),s.Y36(h.ki),s.Y36("IS_MOBILE"),s.Y36(s.Lbi),s.Y36(l.D))},p.\u0275cmp=s.Xpm({type:p,selectors:[["",8,"app-trending-now"]],attrs:E,decls:3,vars:2,consts:[["class","interactive-story-banner",4,"ngIf"],[1,"trending-now-wrraper"],["class","trending-now",4,"ngIf"],[1,"interactive-story-banner"],["href","/interactive-stories/story/index.html","target","_blank",3,"click"],["srcset","/assets/images/interative_story.png","media","all and (min-width: 992px)"],["srcset","/assets/images/interative_story_mob.png","media","all and (min-width: 768px) and (max-width: 991px)"],["srcset","/assets/images/interative_story_mob.png","media","all and (max-width: 767px)"],["src","/assets/images/interative_story.png","alt","bannar","width","970","height","90"],[1,"trending-now"],[1,"container"],[1,"trending-now-wrapper-inner"],[1,"trending-now-main-title",3,"dir"],[1,"trending-now-list"],[4,"ngFor","ngForOf"],["class","trending-now-item",4,"ngIf"],[1,"trending-now-item"],[1,"trending-now-link",3,"routerLink"],[1,"trending-now-title"]],template:function(r,_){1&r&&(s.YNc(0,x,7,0,"div",0),s.TgZ(1,"div",1),s.YNc(2,U,8,5,"div",2),s.qZA()),2&r&&(s.Q6J("ngIf",_.isArabic),s.xp6(2),s.Q6J("ngIf",_.trendingNowStatus))},directives:[v.O5,v.sg,u.yS],pipes:[t.X$],encapsulation:2}),p})()},2028:(N,y,a)=>{a.d(y,{k:()=>d});var s=a(8583),A=a(4666),S=a(5469),v=a(985),h=a(7716);let d=(()=>{class l{}return l.\u0275fac=function(t){return new(t||l)},l.\u0275mod=h.oAB({type:l}),l.\u0275inj=h.cJS({imports:[[s.ez,A.Bz,S.aw,v.U]]}),l})()}}]);
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.