[]
MSN window.innerWidth},innerHeight:{clientValue:()=>window.innerHeight},outerWidth:{clientValue:()=>window.outerWidth},breakpoint:{clientValue:()=>function(e,t){for(let n=t.length-1;n>=0;n–)if(e>=t[n])return n}(window.innerWidth,i)},locationHash:{clientValue:()=>window.location.hash},locationHref:{clientValue:()=>window.location.href},locationHost:{clientValue:()=>window.location.host},locationHostName:{clientValue:()=>window.location.hostname},locationOrigin:{clientValue:()=>window.location.origin},locationPathName:{clientValue:()=>window.location.pathname},locationProtocol:{clientValue:()=>window.location.protocol},locationSearch:{clientValue:()=>window.location.search},screenTop:{clientValue:()=>window.screenTop},screenY:{clientValue:()=>window.screenY},canUseCssGrid:{clientValue:()=>window.CSS&&window.CSS.supports&&CSS.supports(“display”,”grid”)||!1},devicePixelRatio:{clientValue:()=>window.devicePixelRatio},language:{clientValue:()=>document.documentElement.lang},direction:{clientValue:()=>document.documentElement.dir}}};Object.assign({},s.spec);function r(e){try{if(e)return JSON.parse(e)}catch(e){}return null}function a(e){try{return decodeURIComponent(e)}catch(e){}}function c(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}const u=”Authorization”;var d,l;!function(e){e.Presentation=”presentation”}(d||(d={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(l||(l={}));var p,h;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(p||(p={})),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”}(h||(h={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const g=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]);new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]);var w;!function(e){e.outlookMobile=”OnOOutlookMobile”,e.officeMobile=”OnOOfficeMobile”,e.sapphire=”OnOStartApp”,e.skype=”OnOSkype”}(w||(w={}));const m=new Set([“hpmsn”]);new Set([“emmx”,”vivo”]);function f(){var e;return c()?r(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}function b(e,t,n,o){return new(n||(n=Promise))((function(i,s){function r(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}c((o=o.apply(e,t||[])).next())}))}Object.create;Object.create;let y=new Map;const S=Object.freeze({set(e,t){return y.set(e,t),this},get:function(e,t){let n=y.get(e);return void 0===n&&t&&(n=t(),y.set(e,n)),n},clear(){y.clear()},delete:e=>y.delete(e),has:e=>y.has(e)});const v=”__RequestDataInstance__”;class k{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=A(“OSATE”,this.cookie),t=!!e&&”1″===e,n=A(“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=S.get(v);return e||(o.g.TEST_ENV?C({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):C({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e,t=!1){const n=new k(e,t);return S.set(v,n),n}}function A(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 C=k.resetInstance,O=()=>k.getInstance();let I,P,E,_;function q(){if(P)return P;const e=document.head.getAttribute(“data-info”);return P=((/f:s*([^;]+)/i.exec(e)||{})[1]||””).toLowerCase(),P}function x(e,t){if(!e)return null;if(t)return function(e){var t;const n=null===(t=document.cookie)||void 0===t?void 0:t.match(`\b${e}=([^;]*)`);return n?a(n[1]):null}(e);if(!E){const e=”undefined”!=typeof document&&document.cookie.split(“; “);E={};const t=e&&e.length;for(let n=0;nthis.maxLength&&this.list.shift()}get data(){return this.list}};function D(e,t,n,o=T.Alert){try{const i=function(){if(!I){const e=document.head.getAttribute(“data-client-settings”);e&&(I=JSON.parse(e))}return I}(),s=q(),r=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=[“prod”,”prod-ssr”,”prod-ssrntp”],s=!t||i.includes(t.env);_=s?”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:s?”0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279″:”f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028″,”upload-time”:o,w:”0″,anoncknm:”app_anon”}}return null}(i);let a=””;r&&r.apikey&&””!==r.apikey&&(a=function(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(r.apikey));const c=function(e,t,n,o,i,s,r=T.Alert){var a;if(n){i=i||{};const{apptype:c,audienceMode:u,pagetype:d,pageGenTime:l,bundleInfo:p,deviceFormFactor:h=””,fd_muid:g,os:w}=n;i.pageGenTime=l,i.build=p&&p.v,i.appType=c;const m=function(e,t,n){const o=n&&”phone”===n.toLowerCase();return{bingHomepage:”binghomepage”,mmx:”emmx”,edge:”spartan”,edgeChromium:t&&”enterprise”===t?”entnews”:”anaheim”,hybrid:”spartan”,hub:o?”prime_mobile”:”prime”,microsoftNews:”msnews”,office:”entnews”,views:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”}[e]}(c,u,h),f=m||c,b=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let y,S=””,v=”muid”;try{if(“edgeChromium”===c&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);y=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===u?y=”entnewsntp”:”xbox”===w&&(y=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(S=x(“muid”))}catch(e){}S||(S=n.aid,v=”aid”);const k={name:”MS.News.Web.AppError”,time:l,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:f,type:L(d),content:{category:”standaloneError”},ocid:y},browser:{clientId:S,clientIdType:v},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:g},locale:{mkt:b},extSchema:{id:e,severity:r,pb:i,message:t}}};return S&&”muid”===v&&(k.ext=Object.assign(Object.assign({},null==k?void 0:k.ext),{user:Object.assign(Object.assign({},null===(a=null==k?void 0:k.ext)||void 0===a?void 0:a.user),{localId:`t:${S}`})})),k.data.flight.tmpl=””,i.isSSRScope&&(k.data.flight.tmpl+=”ssrscope:1″),”object”==typeof window&&(window.isSSREnabled&&(k.data.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(k.data.flight.tmpl+=”;ssr-completed:1″)),k?JSON.stringify(k):null}return null}(t,e,i,a,n,s,o);if(r&&c){console.error(c),R.push(c);const e=”https://”+_+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(r);navigator.sendBeacon(e,c)}}catch(e){}}function L(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”}return t}function M(e){return new Promise((t=>setTimeout(t,e)))}function F(){return b(this,void 0,void 0,(function*(){window.apntag=window.apntag||{anq:[]},window.apntag.anq=window.apntag.anq||[],yield function(e){return b(this,void 0,void 0,(function*(){if(!c())return;const{src:t,id:n,async:o=!0,container:i=document.head,retryNumber:s=0,retryDelayMs:r=0}=e;try{yield function(e,t=3,n=100){return b(this,void 0,void 0,(function*(){if(t<=1)return e();let o,i=1;do{try{o=yield e()}catch(e){if(i===t)throw e&&e.message&&(e.message=`${e.message} after ${i} attempts`),e;yield M(n)}}while(!o&&++ifunction(e,t,n,o=!0){return new Promise(((i,s)=>{const r=function(e,t,n=!0,o=”anonymous”,i,s){if(!c())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){D(“Failed to download Static JS”,11103,{scriptId:n,scriptSrc:t},T.Alert)}}))}({id:”display-sdk”,src:”https://acdn.adnxs.com/ast/ast.js”,container:document.head,retryDelayMs:200,retryNumber:5})}))}var W,U;!function(e){e.Article=”article”,e.ArticleFullScreen=”articlefullscreen”,e.CasualGames=”casualgames”,e.CasualGamesPlay=”casualgamesplay”,e.ChannelSource=”channel::source”,e.ChannelTopic=”channel::topic”,e.CmsExperience=”shopping::cms”,e.CmsBaseExperience=”shopping::cmsbase”,e.DHP=”dhp”,e.EdgeWelcome=”edgewelcome”,e.ForumDealsPage=”shopping::buydirect::superdeals”,e.Gallery=”gallery”,e.GalleryFullScreen=”galleryfullscreen”,e.Homepage=”hp”,e.Launcher=”launcher”,e.Lenovo=”lenovo”,e.MMX=”mmx”,e.NewsAndInterests=”newsandinterestshp”,e.Newsbar=”newsbar”,e.NewsbarUpsell=”newsbarupsell”,e.NewsCoronavirus=”news::coronavirus”,e.NewsVLP=”news”,e.NTP=”ntp”,e.Sidebar=”sidebar”,e.Story=”story”,e.Shopping=”shopping”,e.ShoppingDealsCategory=”shopping::deals-category”,e.ShoppingProductDetails=”shopping::product”,e.ShoppingExpressCheckout=”shopping::express-checkout”,e.ShoppingForumCheckout=”shopping::buydirect::checkout”,e.ShoppingForumProductPage=”shopping::buydirect::product”,e.ShoppingForumcheckoutWidget=”shopping::buydirect::checkout::widget”,e.ShoppingForumProductDetails=”shopping::buydirect::product1″,e.ShoppingForumCancelOrder=”shopping::buydirect::cancel-order”,e.ShoppingForumReturnDetails=”shopping::buydirect::return-details”,e.ShoppingForumReturnOrder=”shopping::buydirect::return-orders”,e.ShoppingForumRefundDetails=”shopping::buydirect::refund-details”,e.ShoppingForumRefundOrder=”shopping::buydirect::refund-orders”,e.ShoppingLiveDetails=”shoppinglivedetails”,e.ShoppingLiveInmobiDetails=”shoppingliveinmobidetails”,e.ShoppingLiveEmbed=”shopping::live::embed”,e.ShoppingLiveFeed=”shopping::live”,e.ShoppingLiveBase=”shopping::live”,e.ShoppingMomentInTime=”shopping::mit”,e.ShoppingExplore=”shopping::explore”,e.ShoppingExploreHalloween=”shopping::explore::halloween”,e.ShoppingCouponsPage=”shopping::coupons”,e.ShoppingDealsHomePage=”shopping::deals::coupons”,e.ShoppingStoreCouponsPage=”shopping::store-coupons”,e.ShoppingStyles=”shopping::styles”,e.ShoppingStylesHomePage=”shopping::style-ideas”,e.ShoppingLanding=”shopping::buydirect”,e.ShoppingSearchResult=”shopping::buydirect::search”,e.ShoppingCart=”shopping::buydirect::cart”,e.ShoppingOrders=”shopping::buydirect::orders”,e.ShoppingForumOrderConfirmation=”shopping::buydirect::order-confirmation”,e.ShoppingForumOrderDetails=”shopping::buydirect::order-details”,e.ShoppingForumHome=”shopping::buydirect::home”,e.Source=”source”,e.Sports=”sports”,e.Topic=”topic”,e.Travel=”travel”,e.TravelPlaces=”travel::places”,e.TravelCollections=”travel::collections”,e.Video=”video”,e.VideoInf=”videoinf”,e.WebContent=”webcontent”,e.Widget=”widget”,e.Windows=”windowshp”,e.WindowsShellHP=”windowsshellhp”,e.ShoppingAllStoresPage=”shopping::stores::popular”,e.ShoppingLiveProductDetailsPage=”shopping::live::product”,e.ShoppingForumSellerPage=”shopping::buydirect::stores”,e.ShoppingForumFavorites=”shopping::buydirect::favorites”,e.ShoppingBlackjackPage=”shopping::deals”,e.ShoppingBlackjackDealPage=”shopping::deals::product”,e.ShoppingSearch=”shopping::search”,e.ShoppingBingProductDetails=”shopping::product-details”,e.ShoppingInspiration=”shopping::inspire”,e.ShoppingBuyingGuide=”shopping::buying-guide”,e.ShoppingAssistant=”shopping::ai”,e.ShoppingShopDeals=”shopping::shopdeals”,e.ShoppingArticlePage=”shopping::shop-article”,e.ShoppingGuidesPage=”shopping::shop-guides”,e.ShoppingDebugPage=”shopping::debug”}(W||(W={})),function(e){e.Adult=”adult”,e.Enterprise=”enterprise”,e.Kids=”kids”}(U||(U={}));const H=”feed/personalize/settings”;var j,V,B;function G(e){let t,n=!1;const o=function(){return n||(n=!0,t=e()),t};return o.cache={clear:()=>{n=!1,t=void 0}},o}!function(e){e[e.Unknown=0]=”Unknown”,e[e.NotSignedIn=1]=”NotSignedIn”,e[e.SignedIn=2]=”SignedIn”}(j||(j={})),function(e){e.MSA=”MSA”,e.AAD=”AAD”,e.UNSUPPORTED_SOVEREIGNTY=”UNSUPPORTED_SOVEREIGNTY”}(V||(V={})),function(e){e[e.NonAadAccount=0]=”NonAadAccount”,e[e.AadAccount=1]=”AadAccount”,e[e.Unknown=2]=”Unknown”}(B||(B={}));const $=”currentaccount”,J=G((()=>{const e=x($,!0),t=e&&r(e),{login_hint:n}=t||{};return n&&t})),X=G((()=>!!x($)));let z=new class{constructor(){c()?(this.isDebugEnabled=(function(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,” “))||””}(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1},this.isDebugEnabled&&!o.g.TEST_ENV&&(window.webpackRequire=o)):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(…e){this.isDebug()&&console.log(…e)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};let K=new class extends class{constructor(e){this.storage=e}get supported(){return!!this.storage}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=r(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 r(t)}setItem(e,t,n=!0){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;z.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