MSN <![CDATA[ window["_webWorkerBundle"] = "/bundles/v1/homePage/latest/web-worker.9eca2fc5031461714bdc.js"; window["_authCookieName"] = "ace"; !function(){"use strict";var e={},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}let o,i,s,r;function a(){if(i)return i;const e=document.head.getAttribute("data-info");return i=((/f:s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),i}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){if(void 0!==n){const t=n.e,o={};var e;document.head.getAttribute("data-info");n.e=function(i){return t(i).catch((function(t){const s=o.hasOwnProperty(i)?o[i]:2;if(void 0===e&&(e=!1),e&&2===s&&(n.p=n.p.replace("/assets.","/assets2.")),sthis.maxLength&&this.list.shift()}get data(){return this.list}};function g(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p.Alert;try{const s=function(){if(!o){const e=document.head.getAttribute(“data-client-settings”);e&&(o=JSON.parse(e))}return o}(),c=a(),l=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=!t||[“prod”,”prod-ssr”,”prod-ssrntp”].includes(t.env);r=i?”browser.events.data.msn.com”:”events-sandbox.data.msn.com”;return{cors:”true”,”content-type”:”application/x-json-stream”,”client-id”:”NO_AUTH”,”client-version”:”1DS-Web-JS-2.2.2″,apikey:i?”0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279″:”f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028″,”upload-time”:o,w:”0″,anoncknm:”app_anon”}}return null}(s);let u=””;l&&l.apikey&&””!==l.apikey&&(u=function(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(l.apikey));const g=function(e,t,n,o,i,s){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:p.Alert;if(n){i=i||{};const{apptype:c,audienceMode:l,pagetype:u,pageGenTime:p,bundleInfo:h,deviceFormFactor:g=””,fd_muid:w,os:f}=n;i.pageGenTime=p,i.build=h&&h.v,i.appType=c;const b=function(e,t,n){const o=n&&”phone”===n.toLowerCase(),i=t&&”enterprise”===t;return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:i?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”}[e]}(c,l,g),v=b||c,y=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let k,S=””,A=”muid”;try{if(“edgeChromium”===c&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);k=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===l?k=”entnewsntp”:”xbox”===f&&(k=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(S=d(“muid”))}catch{}S||(S=n.aid,A=”aid”);const C={name:”MS.News.Web.AppError”,time:p,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:v,type:m(u),content:{category:”standaloneError”},ocid:k},browser:{clientId:S,clientIdType:A},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:w},locale:{mkt:y},extSchema:{id:e,severity:r,pb:i,message:t}}};var a;if(S&&”muid”===A)C.ext={…null==C?void 0:C.ext,user:{…null==C||null===(a=C.ext)||void 0===a?void 0:a.user,localId:`t:${S}`}};return C.data.flight.tmpl=””,i.isSSRScope&&(C.data.flight.tmpl+=”ssrscope:1″),”object”==typeof window&&(window.isSSREnabled&&(C.data.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(C.data.flight.tmpl+=”;ssr-completed:1″)),C?JSON.stringify(C):null}return null}(t,e,s,u,n,c,i);if(l&&g){console.error(g),h.push(g);const e=”https://”+r+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(l);navigator.sendBeacon(e,g)}}catch{}}function m(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”}return t}const w=”visibilitychange”;function f(){return”visible”===document.visibilityState?Promise.resolve():new Promise((e=>{document.addEventListener(w,(()=>{“visible”===document.visibilityState&&e()}))}))}function b(e){const t=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&f().then((()=>{t.logLoadingError(e)}))}function v(e){try{if(e)return JSON.parse(e)}catch(e){}return null}function y(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}const k=”Authorization”;var S,A;!function(e){e.Presentation=”presentation”}(S||(S={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(A||(A={}));var C,x;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(C||(C={})),function(e){e.Init=”init”,e.Config=”config”,e.Targeted=”targeted”,e.Sticky=”sticky”,e.NoSticky=”no_sticky”,e.Admin=”admin”,e.Forced=”forced”,e.Manual=”manual”}(x||(x={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const _=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),I=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));function q(){var e;return y()?v(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}const E=”feed/personalize/settings”;function N(e,t){const n=t.replace(/[[]]/g,”\$&”),o=new RegExp(“[?&]”+n+”(=([^&#]*)|&|#|$)”).exec(e);if(!o)return null;const i=o[2];return decodeURIComponent(i.replace(/+/g,” “))||””}let O=new class{constructor(){y()?(this.isDebugEnabled=(N(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1}||”vp”===(N(window.location.href,”reqsrc”)||””).toLowerCase(),this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){return null}isDebug(){return this.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTags(e){}log(e,t){this.isDebug()&&console.info(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.info(e())}logObjects(){this.isDebug()&&console.log(…arguments)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};class T{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=v(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}keys(){return this.supported?Object.keys(this.storage):[]}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return v(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw”Attempted to store null/undefined value: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;O.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get length(){if(this.supported)return this.storage.length}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}clear(){this.supported&&this.storage.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n{n=!1,t=void 0}},o}!function(e){e.NotAvailable=”notAvailable”,e.Expired=”expired”,e.Valid=”valid”}(M||(M={}));const j=”currentaccount”,B=H((()=>{const e=d(j,!0),t=e&&v(e),{login_hint:n}=t||{};return n&&t})),$=H((()=>!!d(j)));let G=new Map;const J=Object.freeze({set(e,t){return G.set(e,t),this},get:function(e,t){let n=G.get(e);return void 0===n&&t&&(n=t(),G.set(e,n)),n},clear(){G.clear()},delete:e=>G.delete(e),has:e=>G.has(e)});const V=”__RequestDataInstance__”;class z{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=X(“OSATE”,this.cookie),t=!!e&&”1″===e,n=X(“OSAT”,this.cookie);if(t&&n||!e&&!n)return this.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer ${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?”interactiveLogin”:e&&!n?”missOSAT”:”missOSATE”}}static getInstance(){const e=J.get(V);return e||(n.g.TEST_ENV?K({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):K({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new z(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return J.set(V,t),t}}function X(e,t){if(t&&e){const n=new RegExp(“\b”+e+”\s*=\s*([^;]*)”,”i”).exec(t);return n&&n.length>1?n[1]:null}return null}const K=z.resetInstance,Y=()=>z.getInstance();function Z(){try{return localStorage}catch(e){return null}}const Q=”__PageExperimentInstance__”;function ee(e){J.set(Q,e)}function te(e){if(!J.has(Q)&&y()){var t,n;ee(ne(document.head.dataset.info||(null===(t=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===t||null===(n=t.dataset)||void 0===n?void 0:n.info)||””))}const o=J.get(Q);return o&&o.has(e)}function ne(e){const t=(e||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(t)}const oe=”uxlogin”,ie=”uxlogout”,se=”uxedit”,re=”useRedirect”,ae=”uxswitch”,ce=H((()=>{const e=Z();return e&&”1″===e.getItem(oe)||y()&&location.search&&location.search.includes(`${oe}=1`)}));const de=H((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(ie)}));const le=H((()=>{const e=Z();return e&&”1″===e.getItem(se)}));const ue=H((()=>{const e=Z(),t=!te(“prg-noredirect”)&&e&&”1″===e.getItem(re)&&function(){const e=document.head.dataset.clientSettings||””,{browser:t}=v(e)||{},{browserType:n=””}=t||{};return!!/safari/i.test(n)}();return t}));const pe=H((()=>{const e=Z();return e&&”1″===e.getItem(ae)}));const he={outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,moto:”moto”,winMoneyApp:”finance-app-win”},ge=”superappdhp”,me=[“ios”,”android”,”ipados”];let we=Ie(“ocid”).toLowerCase(),fe=Ie(“chpltfm”),[be,ve]=fe.toLowerCase().split(“-“);function ye(){if(!y())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!o)}function ke(){const e=fe&&”outlook”===be&&me.includes(ve),t=we===he.outlookMobile.toLowerCase();return e||t}function Se(){const e=fe&&[“office”,”union”].includes(be)&&me.includes(ve),t=we===he.officeMobile.toLowerCase();return e||t}function Ae(){const e=we===he.skype.toLowerCase()||”skype”===be;return y()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function Ce(){return ye()||we===he.sapphire.toLowerCase()||we===ge.toLowerCase()}function xe(){return”3rdp”===be||we.startsWith(he.xiaomiApp)||we===he.moto.toLowerCase()}const _e=H((()=>ye()||Ae()||Se()||ke()||Ce()||we===he.winWeatherApp.toLowerCase()||we===he.winMoneyApp.toLowerCase()||function(){const e=Ie(“edge”);return(“emmx”===be||”1″===e)&&Ce()}()||xe()));function Ie(e){try{return new URL(location.href).searchParams.get(e)||””}catch(e){return””}}const qe=q()||{},Ee={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1,mmx:1,edgeMobile:1},Ne={edgeChromium:1},Oe={winWidgets:1},Te={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1},Pe={edge:1,edgeChromium:1,channel:1,cgHomePage:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1},Le=H((()=>qe&&qe.apptype)),Me=(H((()=>y()&&Le()in Oe)),H((()=>y()&&!_e()&&!(Le()in Ee)&&!De()&&!Ue()))),Re=H((()=>Me()&&!(Le()in Ne)));H((()=>Me()&&(!(Le()in Ne)||!$()))),H((()=>Me()&&!Be()&&!$e()));function We(){return $e()||Be()}const De=H((()=>{const e=!(Le()in Te)&&Ge()&&function(){const e=new URLSearchParams(y()?window.location.search:Y().url.search).get(“ocid”)||(null==qe?void 0:qe.ocid),t=null==e?void 0:e.toLowerCase(),n=!I.has(t)&&”homePage”!==Le()&&!_.has(t);return n}()&&!function(){const e=”windows”==Le()&&”windowshp”==(qe&&qe.pagetype)&&(y()?window.location.href:Y().url.href).includes(`${E}`);return e}();return e})),Ue=()=>y()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0,Fe=H((()=>te(“prg-1s-workid”)));H((()=>Le()in Pe||De()));function He(){const e=W;if(e)return O.log(“dual-auth: tryGet1SAuthToken returned live tokens”),e;const t=D();if(t)return O.log(`dual-auth: tryGet1SAuthToken returned cached tokens that are ${U()}`),t;O.log(“dual-auth: tryGet1SAuthToken returned empty tokens”)}function je(e){const t={};return e&&(t[k]=`Bearer ${e}`),t}function Be(){return Re()&&ce()||function(){const e=Re()&&!ce()&&B()&&(“expired”==U()||le());return e}()||de()||ue()}function $e(){return Re()&&!B()&&pe()}const Ge=H((()=>{const{browser:e}=qe,{browserType:t=””}=e||{};return!!/edgeChromium/i.test(t)}));H((()=>Re()&&!De()));const Je=”__core_auth_authHeaderPromiseParts__”,Ve=()=>J.get(Je);var ze;!function(){let e;const t={promise:new Promise((t=>e=t)),resolver:e};J.set(Je,t)}(),function(e){e.GLOBAL=”GLOBAL”,e.GCC_MODERATE=”GCC_MODERATE”}(ze||(ze={}));let Xe;function Ke(){return Xe}function Ye(e){const t=e||Ke()||”al_app_anon”,n=Ze();return!!(n&&([“anon”,”al_anon”].includes(t)&&n.AL_ANON||[“app_anon”,”al_app_anon”].includes(t)&&n.AL_APP_ANON))}const Ze=H((()=>v(d(“AL_STATE”,!0))));var Qe,et,tt;!function(e){e[e.Unknown=0]=”Unknown”,e[e.NotSignedIn=1]=”NotSignedIn”,e[e.SignedIn=2]=”SignedIn”}(Qe||(Qe={})),function(e){e.MSA=”MSA”,e.AAD=”AAD”,e.UNSUPPORTED_SOVEREIGNTY=”UNSUPPORTED_SOVEREIGNTY”}(et||(et={})),function(e){e[e.NonAadAccount=0]=”NonAadAccount”,e[e.AadAccount=1]=”AadAccount”,e[e.Unknown=2]=”Unknown”}(tt||(tt={}));const nt=()=>{const e=d(“elt”,!0),t=e&&v(e),{access_token:n,account_type:o,login_hint:i,region_scope:s}=t||{};return(n||o||i||s)&&t};var ot;function it(e){if(“undefined”==typeof window||!window.document||window.isRenderServiceEnv)return;const t=window.trustedTypes;if(!t||!t.createPolicy)return;const n=window.trustedTypePolicies||(window.trustedTypePolicies={});if(n[e])return n[e];const o=t.createPolicy(e,{createScriptURL:e=>{const t=function(e){const t=[“ntp.msn.com”,”ntp.msn.cn”,”assets.msn.cn”,”assets.msn.com”,”www.bing.com”,”assets2.msn.com”,”assets2.msn.cn”,”www.clarity.ms”,”int.msn.com”,”r.bing.com”,”business.bing.com”,document.location.hostname];let n;try{n=new URL(e,location.origin)}catch(e){return”about:blank#error”}if(n.hostname&&!t.includes(n.hostname))return”about:blank#error”;return e}(e);return t}});return n[e]=o,o}!function(e){e.Adult=”adult”,e.Enterprise=”enterprise”,e.Kids=”kids”}(ot||(ot={}));function st(e){return new Promise((t=>setTimeout(t,e)))}const rt=document.head.attributes[“data-info”].value;let at;if(rt){const e=rt.split(“;”).find((e=>e.startsWith(“f:”)));e&&(at=e.substring(2),at.indexOf(“1sw-pcsreturnhp”)>-1&&g(“PCS returned. Executing inline JS.”,8e4,{customMessage:location.href},p.NoAlert))}(new class{constructor(){this.childCookieName=”child”,this.domInfo=document.head.dataset.info,this.command=”command”}init(e,t){this.clientSettings=e||q(),this.authCookieName=Ke()||window._authCookieName||””,this.bundle=window._webWorkerBundle||””,t=t||{};const n=this.buildWebWorkerUrl(this.clientSettings,t),o=this.getFlightList(),i=this.clientSettings.apptype;let s;if(o&&o.includes(“prg-ttntp”)&&i&&”edgeChromium”===i){if(s=this.tryGetWebWorkerUsingPolicy(n,”webWorkerUrlPolicy”),!s)return void console.warn(“Error in creating trusted types compliant web worker”)}else s=window.webWorker=new Worker(n,{name:”web-worker”});const r=window.webWorkerMessages=[];s.onmessage=e=>{r.push(e.data)};const a=window.webWorkerErrors=[];if(s.onerror=e=>{a.push(e)},window.chrome){const e=this.getAudienceMode(this.clientSettings),t=window.webWorker&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&”function”==typeof t.getPref&&(t.getPref(“ntp.news_feed_display”,(e=>{e&&e.value&&s.postMessage({id:”FeedDisplaySetting”,type:this.command,payload:e.value})})),t.getPref(“ntp.layout_mode”,(e=>{e&&e.value&&s.postMessage({id:”LayoutModeSetting”,type:this.command,payload:e.value})})),t.getPref(“ntp.user_nurturing”,(e=>{let t=!1;e&&e.value&&e.value.length&&(t=this.getSingleColRequest(e.value)),s.postMessage({id:”RenderSingleColumn”,type:this.command,payload:t})})),t.getPref(“new_device_fre.has_user_seen_new_fre”,(e=>{e&&s.postMessage({id:”NewUserFre”,type:this.command,payload:e.value})}))),t&&”function”==typeof t.getConfigData&&t.getConfigData((e=>{const t=(null==e?void 0:e.enabledFeatures)||[];t.includes(“msReducedNtpAdsForNewDevice_stage1″)&&s.postMessage({id:”EdgeNoAds”,type:this.command,payload:!0}),t.includes(“msReducedNtpAdsForNewDevice_stage2″)&&s.postMessage({id:”EdgeReduceAds”,type:this.command,payload:!0})})),e===ot.Enterprise&&this.clientSettings.browser&&”edgeChromium”===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87?this.getEnterpriseAccessToken().then((e=>{e&&s.postMessage({id:”AuthTokenEnterprise”,type:this.command,payload:je(e)})})):s.postMessage({id:”AuthTokenEnterprise”,type:this.command,payload:{}}),e!==ot.Adult&&e!==ot.Enterprise||this.sendPageConfiguration()}We()&&Ve().promise.then((e=>s.postMessage({id:”AuthHeaders”,type:this.command,payload:e||{}})))}buildWebWorkerUrl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return(this.bundle||””)+”#”+this.qsFromDocument()+this.qsFromCookies()+this.qsFromDataAttribute(e||this.clientSettings)+this.qsMisc(t)+this.qsAuth(e||this.clientSettings)+this.qsFromUrl()+this.qsFromServiceWorker()+this.qsSelectedPivot()+this.qsXboxXToken()}qs(e,t,n){return e?t+”=”+(n||e)+”&”:””}qsFromDocument(){var e;return this.qs(document.getElementsByTagName(“html”)[0].getAttribute(“lang”),”lang”)+this.qs(encodeURIComponent(window.location.href),”adsReferer”)+this.qs(null===(e=y()?window.devicePixelRatio:Y().devicePixelRatio)||void 0===e?void 0:e.toString(),”devicePixelRatio”)}qsFromServiceWorker(){if(!navigator.serviceWorker||!navigator.serviceWorker.controller)return””;const e=navigator.serviceWorker.controller;if(“activated”!==e.state||!e.scriptURL)return””;if(e.scriptURL){const t=new URL(e.scriptURL).searchParams.toString();return t?”&”+t+”&”:””}return””}qsFromCookies(){return this.qs(u(this.authCookieName),”aace”,”1″)+this.qs(u(“muid”),”muid”)+this.qs(u(this.childCookieName),”child”)+this.qs(u(“cbypass”),”cbypass”)+this.qs(this.cookieBannerConsentRequired().toString(),”ccRequired”)+this.qs(u(“ecasession”),”ecasession”)+this.qs(u(“TOptOut”),”browserOptOut”)}qsFromDataAttributeHelper(e,t){return e&&e.featureFlags&&e.featureFlags.wpoEnabled&&t&&!t.includes(“remwpofltww”)&&(t=this.appendWpoFlightsToInfo(e,t)),this.qs(e.pcsInfo&&e.pcsInfo.env||e.env,”env”)+this.qs(e.aid,”aid”)+this.qs(e.apptype,”apptype”)+this.qs(e.pagetype,”pagetype”)+this.qs(e.audienceMode,”audienceMode”)+this.qs(e.configIndexDocId,”configIndexDocId”)+this.qs(e.deviceFormFactor,”deviceFormFactor”)+this.qs(e.domain,”domain”)+this.qs(e.configRootUrl,”configRootUrl”)+this.qs(this.getHighestCbid(e.cbid,e.apptype),”cbid”)+this.qs(e.ocid,”ocid”)+this.qs(e.os,”os”)+this.qs(JSON.stringify(e.locale),”locale”)+this.qs(e.geo_lat,”lat”)+this.qs(e.geo_long,”long”)+this.qs(JSON.stringify(e.featureFlags),”featureFlags”)+this.qs(JSON.stringify(e.browser),”browser”)+this.qs(JSON.stringify(e.servicesEndpoints),”servicesEndpoints”)+this.qs(e.bundleInfo&&e.bundleInfo.v||””,”buildVersion”)+this.qs(t,”dataInfo”)}qsSelectedPivot(){const e=”selectedPivot”;let t;try{const n=Z();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting pivot id from local storage. “+e)}return this.qs(t,e)}qsXboxXToken(){const e=”xboxXTokenId”;let t;try{const n=Z();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting xbox XToken from local storage. “+e)}return this.qs(t,e)}appendWpoFlightsToInfo(e,t){const n=this.getWpoFlightsFromLocalStorage(e);if(n&&n.length){const e=”;”,o=t.split(e);for(let e=0;ee.id))}}catch(e){console.warn(`Error getting wpo flights from ls for ${o} Error:${e}`)}return null}getHighestCbid(e,t){try{const n=Z(),o=parseInt(e),i=parseInt(JSON.parse(n.getItem(`cbid_${t||””}`)));let s;if(o&&!isNaN(o)&&i&&!isNaN(i)&&(s=o>i?o:i),s=s||o||i,s)return window._cbid=s.toString()}catch(e){console.warn(“Error getting highest CBID”+e)}}getAudienceMode(e){Z();const t=d(this.authCookieName),n=d(this.childCookieName),{child:o}=t&&JSON.parse(t)||{};return t&&(1===o||n)?”kids”:e.audienceMode||ot.Adult}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=d&&d(“pglt-edgeChromium-“+e);if(t)return void window.webWorker.postMessage({id:”PageConfiguration”,type:this.command,payload:t})}window.webWorker.postMessage({id:”PageConfiguration”,type:this.command,payload:!1})}qsFromDataAttribute(e){let t,n;const o=Z();if(o){const i=JSON.parse(o.getItem(“shd_”+e.pagetype)||null);i&&i.clientSettings&&i.info&&(t={…i.clientSettings,bundleInfo:e.bundleInfo},n=i.info)}return(!t||!n||e.pageGenTime>=t.pageGenTime)&&(t=e,n=this.domInfo),t.audienceMode=this.getAudienceMode(t),this.qsFromDataAttributeHelper(t,n)}qsFromUrl(){const e=location.search;return e&&e.length?e.substring(1,e.length):””}getEnterpriseAccessToken(){return new Promise((e=>{window.chrome&&window.chrome.authPrivate?window.chrome.authPrivate.getPrimaryAccountInfo((t=>{t&&”GCC_MODERATE”!==t.region_scope||e(“”);const n={account_id:t.account_id,account_type:t.account_type,client_id:”d7b530a4-7680-4c23-a8bf-c52c121d2e87″,scope_or_resource:”https://enterprisenews.microsoft.com”};window.chrome.authPrivate.acquireAccessTokenSilently(n,(t=>{t.is_success?e(t.access_token):e(“”)}))})):e(“”)}))}qsMisc(e){return this.qs(performance.timeOrigin&&performance.timeOrigin.toString(),”mainTimeOrigin”)+this.qs(e.disableWWConfig&&”1″,”disableWWConfig”)}qsAuth(e){let t=this.qs(Re()&&”1″,”disableWWAuth”);if(!We()){const e=Re()&&He()||{};t+=this.qs(encodeURIComponent(JSON.stringify(je(e.accessToken))),”authHeaders”)}return t+=this.qs(Ye()&&”1″,”isAccountLinked”),t+=this.qs(this.shouldFetchAppAnonCookie()&&”1″,”fetchAppAnonCookie”),t}getSingleColRequest(e){const t=”render_single_column”,n=”feed_layout”;let o,i;for(const s of e){const{key:e,value:r}=s;e===t?o=r:e===n&&(i=r)}return”boolean”==typeof o?o:!!i&&(i&&”single”===i.type)}cookieBannerConsentRequired(){const e=null!=document.getElementById(“consent-banner-container”)&&null===d(“MSCC”),t=null!=document.getElementById(“onetrust-sdk”)&&null===d(“eupubconsent-v2”);return e||t}shouldFetchAppAnonCookie(){if(!Ge())return!0;const e=(()=>{const e=nt();if(e){if(“MSA”===e.account_type)return et.MSA;if(“AAD”===e.account_type)return et.AAD}})();return e===et.MSA||l(“lt”)?!l(“aace”):e===et.AAD?Ye()&&!Fe():void 0}tryGetWebWorkerUsingPolicy(e,t){const n=it(t);if(n){const t=n.createScriptURL(e),o=t&&t.toString();if(!o||”about:blank#error”===o)return;window.webWorker=new Worker(t,{name:”web-worker”})}else window.webWorker=new Worker(e,{name:”web-worker”});return window.webWorker}getFlightList(){return((/^f:s*([^;]+)/i.exec(this.domInfo)||{})[1]||””).toLowerCase().split(“,”)}}).init(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[“vendors”,”common”,”microsoft”],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”Error when loading bundle(s): “,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5e5,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;f().then((()=>{setTimeout((()=>{const n=window.webpackJsonp;if(n){const s=n.length,r=e.length+1;if(s{t.length&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)}))}b(20202),g(t+e.toString(),20202,{}),i&&(b(o),i(o,{customMessage:e.toString()}))}}}),n)}))}();const ct=’n n msn_logon n n n n n n ‘,dt=300;function lt(){return document.body.querySelector(“entry-point”)||document.body.querySelector(“entry-point-hp-mobile”)}function ut(e){var t,n;return((null===(t=document.head)||void 0===t||null===(n=t.getAttribute(“data-info”))||void 0===n?void 0:n.split(“;”).find((e=>e.startsWith(“f:”))))||””).includes(e)}!function(){if(!((null===(e=at)||void 0===e?void 0:e.indexOf(“prg-hp-nsl”))>=0)){var e;class n extends HTMLElement{constructor(){super(),this.attachShadow({mode:”open”})}connectedCallback(){const e=document.createElement(“style”);e.innerHTML=’n :host {n font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, sans-serif !important;n display: flex;n height: 100vh;n width: 100vw;n position: fixed;n background: #e0e0e0;n top: 0;n left: 0;n justify-content: center;n color: #000;n z-index: 99999;n }n .container {n display: flex;n margin-top: 200px;n flex-direction: column;n user-select: none;n -moz-user-select: none;n -webkit-user-select: none;n -ms-user-select: none;n align-items: center;n }n .logo {n margin: 0 0 15px;n font-size: 38px;n letter-spacing: 2px;n word-spacing: -5px;n opacity: 1;n }n .logo svg {n color: #000;n display: inline-block;n height: 35px;n position: relative;n top: 3px;n }n .loading-bar {n display: block;n height: 2px;n width: 100px;n background: #fff;n overflow: hidden;n border-radius: 2px;n }n .loading-bar:before {n content: “”;n display: block;n height: 2px;n width: 40px;n background: #000;n left: -20px;n position: relative;n animation: loading-bar 1.5s infinite;n }n @keyframes loading-bar {n 0 {n left: -20px;n }n 50% {n left: 80px;n }n 100% {n left: -20px;n }n }n ‘;const t=`n
Try Adsterra Earnings, it’s 100% Authentic to make money more and more.
n ${ct} msnn n n `,n=document.createElement(“div”);n.className=”container”,n.innerHTML=t,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(n)}}customElements.get(“msn-hp-loading-indicator”)||customElements.define(“msn-hp-loading-indicator”,n),setTimeout((()=>{lt()||function(){const e=document.body;if(e)t();else{const n=new MutationObserver((function(){e&&(n.disconnect(),t())}));n.observe(document.documentElement,{childList:!0})}}()}),dt)}function t(){const e=document.createElement(“msn-hp-loading-indicator”);e.id=”loader”,document.body.appendChild(e);const t=new MutationObserver((function(){lt()&&(t.disconnect(),document.body.querySelector(“msn-hp-loading-indicator”).remove())}));t.observe(document.body,{childList:!0})}}(),(ut(“prg-sdkpreload”)||ut(“prg-renderoptimize”))&&async function(){window.apntag=window.apntag||{anq:[]},window.apntag.anq=window.apntag.anq||[],await async function(e){if(!y())return;const{src:t,id:n,async:o=!0,container:i=document.head,retryNumber:s=0,retryDelayMs:r=0}=e;try{await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if(t3&&void 0!==arguments[3])||arguments[3];return new Promise(((i,s)=>{const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:”anonymous”,i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;if(!y())throw new Error(“createScriptTag is unsupported server side. This call should be wrapped in canUseDOM().”);const r=document.createElement(“script”);return t&&(r.id=t),i&&r.setAttribute(“class”,i),s&&(r.onload=s),r.type=”text/javascript”,e&&(r.src=e,r.async=n,r.crossOrigin=o),window&&window.NONCE_ID&&(r.nonce=window.NONCE_ID),r}(e,t,o,void 0,void 0,(()=>i(!0)));r.crossOrigin=void 0,r.onerror=s,n.prepend(r)}))}(t,n,i,o)),s,r)}catch(e){g(“Failed to download Static JS”,11103,{scriptId:n,scriptSrc:t},p.Alert)}}({id:”display-sdk”,src:”https://acdn.adnxs.com/ast/ast.js”,container:document.head,retryDelayMs:200,retryNumber:5})}()}(); ]]>
{t=o,s=e}),window._idbConfigOpenPromise=(()=>{try{const d=o.open(“wwConfigs”,1);return new Promise((o,c)=>{d.onerror=(()=>{c(new Error(“Config IDB preload open failure: “+d.error))}),d.onsuccess=(()=>{r[n+”open-End”]=performance.now();const c=d.result;o(c),r[n+”getAllObjects-Start”]=performance.now();const a=c.transaction(e,”readonly”).objectStore(e).openCursor();a.onsuccess=function(){const o=this.result;o?(i[o.key]=o.value,o.continue()):(r[n+”getAllObjects-End”]=performance.now(),t())},a.onerror=(()=>{s(new Error(“Config IDB preload read failure”))})}),d.onupgradeneeded=(()=>{d.result.createObjectStore(e)})})}catch(o){return Promise.reject(new Error(“Config IDB preload open failure: “+o))}})()}preloadConfigIDB(); ]]> onErrorHandler(s.src);s.nonce=””;s.crossOrigin=”anonymous”;document.body.appendChild(s);} ]]>
Source