Weather forecast | MSN Weather

[]
Weather forecast | MSN Weather i.delete(e),has:e=>i.has(e)});const r=”__RequestDataInstance__”;class a{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=c(“OSATE”,this.cookie),t=!!e&&”1″===e,n=c(“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(r);return e||(n.g.TEST_ENV?d({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):d({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new a(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return s.set(r,t),t}}function c(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 d=a.resetInstance,l=()=>a.getInstance();var u,p;!function(e){e.Anon=”ANON”,e.AppAnon=”APP_ANON”,e.Unknown=””}(u||(u={})),function(e){e.AnonCookieExists=”ace”,e.AppAnonCookieExists=”aace”}(p||(p={}));const h=”child”;function g(e,t){if(e){const n=new RegExp(“\b”+t+”\s*=\s*([^;]*)”,”i”).exec(e);return n&&n.length>1?n[1]:null}return null}function w(e){try{if(e)return JSON.parse(e)}catch(e){}return null}var m;!function(e){e.Adult=”adult”,e.Enterprise=”enterprise”,e.Kids=”kids”}(m||(m={}));const f=”prg-“;function b(e){const t=f.length,n=[];return e&&e.length&&(e.forEach((e=>{const o=e&&e.trim();o&&o.length>=t&&o.substring(0,t).toLowerCase()===f&&n.push(o.toLowerCase())})),n.sort()),n}function v(e){var t;return document.head.dataset[e]||(null===(t=S())||void 0===t?void 0:t.dataset[e])}let y;function S(){return void 0===y&&(y=document.getElementsByClassName(“peregrine-widget-settings”)[0]||null),y}const k=”Authorization”;var A,C;!function(e){e.Presentation=”presentation”}(A||(A={})),function(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Landscape=”Landscape”}(C||(C={}));var I,_;!function(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Basic”,e[e.Advanced=2]=”Advanced”,e[e.Premium=3]=”Premium”}(I||(I={})),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”}(_||(_={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const R=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),T=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));function E(){var e;return o()?w(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===e?void 0:e.getAttribute(“data-client-settings”))):null}const q=”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 x=new class{constructor(){o()?(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 O{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=w(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 w(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;x.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{const e=B(z,!0),t=e&&w(e),{login_hint:n}=t||{};return n&&t})),X=V((()=>!!B(z)));function Y(){try{return localStorage}catch(e){return null}}const Q=”__PageExperimentInstance__”;function Z(e){s.set(Q,e)}function ee(e){if(!s.has(Q)&&o()){var t;Z(te(document.head.dataset.info||(null===(t=window.document.getElementsByClassName(“peregrine-widget-settings”)[0])||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.info)||””))}const n=s.get(Q);return n&&n.has(e)}function te(e){const t=(e||””).replace(/(^f:|;.*$)/g,””).split(“,”);return new Set(t)}const ne=”uxlogin”,oe=”uxlogout”,ie=”uxedit”,se=”useRedirect”,re=”uxswitch”,ae=V((()=>{const e=Y();return e&&”1″===e.getItem(ne)||o()&&location.search&&location.search.includes(`${ne}=1`)}));const ce=V((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(oe)}));const de=V((()=>{const e=Y();return e&&”1″===e.getItem(ie)}));const le=V((()=>{const e=Y(),t=!ee(“prg-noredirect”)&&e&&”1″===e.getItem(se)&&function(){const e=document.head.dataset.clientSettings||””,{browser:t}=w(e)||{},{browserType:n=””}=t||{};return!!/safari/i.test(n)}();return t}));const ue=V((()=>{const e=Y();return e&&”1″===e.getItem(re)}));const pe={outlookMobile:”OnOOutlookMobile”,officeMobile:”OnOOfficeMobile”,sapphire:”OnOStartApp”,skype:”OnOSkype”,winWeatherApp:”weather-app-win”,xiaomiApp:”xmweather-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,moto:”moto”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},he=”superappdhp”,ge=[“ios”,”android”,”ipados”];let we=Te(“ocid”).toLowerCase(),me=Te(“chpltfm”),[fe,be]=me.toLowerCase().split(“-“);function ve(){if(!o())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,i=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!i)}function ye(){const e=me&&”outlook”===fe&&ge.includes(be),t=we===pe.outlookMobile.toLowerCase();return e||t}function Se(){const e=me&&[“office”,”union”].includes(fe)&&ge.includes(be),t=we===pe.officeMobile.toLowerCase();return e||t}function ke(){const e=we===pe.skype.toLowerCase()||”skype”===fe;return o()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function Ae(){return ve()||we===pe.sapphire.toLowerCase()||we===he.toLowerCase()}function Ce(){const e=Te(“edge”);return(“emmx”===fe||”1″===e)&&Ae()||”mmx”===we}function Ie(){return”3rdp”===fe||we.startsWith(pe.xiaomiApp)||we===pe.moto.toLowerCase()||we===pe.swiftKey.toLowerCase()}function _e(){return-1!==location.href.indexOf(“huawei”)||-1!==location.href.indexOf(“airfind”)||-1!==location.href.indexOf(“aloha”)||”vivo”===we&&Ie()}const Re=V((()=>ve()||ke()||Se()||ye()||Ae()||we===pe.winWeatherApp.toLowerCase()||we===pe.winMoneyApp.toLowerCase()||Ce()||Ie()||[pe.launcher.toLowerCase(),pe.launcherInterests.toLowerCase()].includes(we)&&Ae()||_e()));function Te(e){try{return new URL(location.href).searchParams.get(e)||””}catch(e){return””}}const Ee=E()||{},qe={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1,channeldesktop:1,channelmobile:1,mmx:1,edgeMobile:1},Ne={edgeChromium:1},xe={winWidgets:1},Oe={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1},Pe={edgeChromium:1,channel:1,channeldesktop:1,channelmobile:1,cgHomePage:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},Le=V((()=>Ee&&Ee.apptype)),Me=(V((()=>o()&&Le()in xe)),V((()=>o()&&!Re()&&!(Le()in qe)&&!Fe()&&!Ue()))),We=V((()=>Me()&&!(Le()in Ne)));V((()=>Me()&&(!(Le()in Ne)||!X()))),V((()=>Me()&&!Be()&&!Ge()));function De(){return Ge()||Be()}const Fe=V((()=>{const e=!(Le()in Oe)&&Je()&&function(){const e=new URLSearchParams(o()?window.location.search:l().url.search).get(“ocid”)||(null==Ee?void 0:Ee.ocid),t=null==e?void 0:e.toLowerCase(),n=!T.has(t)&&”homePage”!==Le()&&!R.has(t);return n}()&&!function(){const e=”windows”==Le()&&”windowshp”==(Ee&&Ee.pagetype)&&(o()?window.location.href:l().url.href).includes(`${q}`);return e}();return e})),Ue=()=>o()&&document&&document.body&&document.body.getElementsByClassName(“peregrine-widgets”).length>0,He=V((()=>ee(“prg-1s-workid”)||ee(“prg-1s-sm-workid”)||ee(“prg-1s-twid”)||ee(“prg-1s-mm-wid-t”)));V((()=>Le()in Pe||Fe()));function $e(){const e=D;if(e)return x.log(“dual-auth: tryGet1SAuthToken returned live tokens”),e;const t=U();if(t)return x.log(`dual-auth: tryGet1SAuthToken returned cached tokens that are ${H()}`),t;x.log(“dual-auth: tryGet1SAuthToken returned empty tokens”)}function je(e){const t={};return e&&(t[k]=`Bearer ${e}`),t}function Be(){return We()&&ae()||function(){const e=We()&&!ae()&&K()&&(“expired”==H()||de());return e}()||ce()||le()}function Ge(){return We()&&!K()&&ue()}const Je=V((()=>{const{browser:e}=Ee,{browserType:t=””,detected:n={}}=e||{},{browserType:o=””}=n||{};return/edgeChromium/i.test(t)||/edge/i.test(o)}));V((()=>We()&&!Fe()));const Ve=”__core_auth_authHeaderPromiseParts__”,ze=()=>s.get(Ve);var Ke;!function(){let e;const t={promise:new Promise((t=>e=t)),resolver:e};s.set(Ve,t)}(),function(e){e.GLOBAL=”GLOBAL”,e.GCC_MODERATE=”GCC_MODERATE”}(Ke||(Ke={}));let Xe;function Ye(){return Xe}function Qe(e){const t=e||Ye()||”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=V((()=>w(B(“AL_STATE”,!0))));var et,tt,nt;!function(e){e[e.Unknown=0]=”Unknown”,e[e.NotSignedIn=1]=”NotSignedIn”,e[e.SignedIn=2]=”SignedIn”}(et||(et={})),function(e){e.MSA=”MSA”,e.AAD=”AAD”,e.UNSUPPORTED_SOVEREIGNTY=”UNSUPPORTED_SOVEREIGNTY”}(tt||(tt={})),function(e){e[e.NonAadAccount=0]=”NonAadAccount”,e[e.AadAccount=1]=”AadAccount”,e[e.Unknown=2]=”Unknown”}(nt||(nt={}));const ot=()=>{const e=B(“elt”,!0),t=e&&w(e),{access_token:n,account_type:o,login_hint:i,region_scope:s}=t||{};return(n||o||i||s)&&t};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}class st{constructor(){this.childCookieName=”child”,this.domInfo=document.head.dataset.info,this.command=”command”}init(e,t){this.clientSettings=e||E(),this.authCookieName=Ye()||window._authCookieName||””,this.bundle=window._webWorkerBundle||””,t=t||{};const n=this.buildWebWorkerUrl(this.clientSettings,t),o=this.clientSettings.apptype;let i;if(o&&”edgeChromium”===o){if(i=this.tryGetWebWorkerUsingPolicy(n,”webWorkerUrlPolicy”),!i)return void console.warn(“Error in creating trusted types compliant web worker”)}else i=window.webWorker=new Worker(n,{name:”web-worker”});const s=window.webWorkerMessages=[];i.onmessage=e=>{s.push(e.data)};const r=window.webWorkerErrors=[];if(i.onerror=e=>{r.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&&i.postMessage({id:”FeedDisplaySetting”,type:this.command,payload:e.value})})),t.getPref(“ntp.layout_mode”,(e=>{e&&e.value&&i.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)),i.postMessage({id:”RenderSingleColumn”,type:this.command,payload:t})})),t.getPref(“new_device_fre.has_user_seen_new_fre”,(e=>{e&&i.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″)&&i.postMessage({id:”EdgeNoAds”,type:this.command,payload:!0}),t.includes(“msReducedNtpAdsForNewDevice_stage2″)&&i.postMessage({id:”EdgeReduceAds”,type:this.command,payload:!0})})),e===m.Enterprise&&this.clientSettings.browser&&”edgeChromium”===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87?this.getEnterpriseAccessToken().then((e=>{e&&i.postMessage({id:”AuthTokenEnterprise”,type:this.command,payload:je(e)})})):i.postMessage({id:”AuthTokenEnterprise”,type:this.command,payload:{}}),e!==m.Adult&&e!==m.Enterprise||this.sendPageConfiguration()}De()&&ze().promise.then((e=>i.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=o()?window.devicePixelRatio:l().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(J(this.authCookieName),”aace”,”1″)+this.qs(J(“muid”),”muid”)+this.qs(J(this.childCookieName),”child”)+this.qs(J(“cbypass”),”cbypass”)+this.qs(this.cookieBannerConsentRequired().toString(),”ccRequired”)+this.qs(J(“ecasession”),”ecasession”)+this.qs(J(“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=Y();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=Y();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=Y(),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){Y();const t=B(this.authCookieName),n=B(this.childCookieName),{child:o}=t&&JSON.parse(t)||{};return t&&(1===o||n)?”kids”:e.audienceMode||m.Adult}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=B&&B(“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=Y();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(We()&&”1″,”disableWWAuth”);if(!De()){const e=We()&&$e()||{};t+=this.qs(encodeURIComponent(JSON.stringify(je(e.accessToken))),”authHeaders”)}return t+=this.qs(Qe()&&”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===B(“MSCC”),t=null!=document.getElementById(“onetrust-sdk”)&&null===B(“eupubconsent-v2”);return e||t}shouldFetchAppAnonCookie(){if(!Je())return!0;const e=(()=>{const e=ot();if(e){if(“MSA”===e.account_type)return tt.MSA;if(“AAD”===e.account_type)return tt.AAD}})();return e===tt.MSA||G(“lt”)?!G(“aace”):e===tt.AAD?Qe()&&!He():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(“,”)}}const rt=Object.freeze({AIDRequestHeaderName:”pcs-aid”,Product:Object.freeze({mmx:”emmx”,edge:”spartan”,edgeChromium:”anaheim”,hybrid:”spartan”,hub:”prime”,microsoftNews:”msnews”,office:”entnews”,weather:”prime”,views:”prime”}),PageTimings:Object.freeze({inlineStart:”page.inlineStart”,fragmentFetchStart:”ssr.fragmentFetching”,fragmentFetchEnd:”ssr.fragmentFetched”,fragmentFetchStatusCode:”ssr.fragmentFetchStatusCode”,fragmentBrowserCached:”ssr.fragmentBrowserCached”,fragmentCDNCached:”ssr.fragmentCDNCached”,injectingDOM:”ssr.injectingDOM”,awaitingRAF:”ssr.awaitingRAF”,markersSet:”ssr.markersSet”,completed:”ssr.completed”,CSRTimeout:”ssr.CSRTimeout”,CSROnly:”ssr.csrOnly”,didSSR:”ssr.isSSRPagePresent”,riverEnabled:”ssr.riverEnabled”,ssrState:”ssr.state”,pageTTVR:”TTVR”,fetchDelayReason:”ssr.fetchDelayReason”,awaitingInnerWidthTime:”ssr.awaitingInnerWidthTime”,skipDueToHiddenReason:”ssr.skipDueToHiddenReason”,pssrRejectedReason:”ssr.pssrRejected”,ssrResponseSize:”ssr.responseSize”,inlineBodyStart:”ssr.inlineBodyStart”,pcsEnv:”pcsEnv”}),pauseThresholdMS:1200,oneServiceHeaders:”1s-headers”,edgeNTPHeader:”sec-edge-ntp”,defaultSSRFeedLayout:”multi”});var at,ct,dt;!function(e){e[e.Mmx=0]=”Mmx”,e[e.Hub=1]=”Hub”,e[e.Homepage=2]=”Homepage”,e[e.Edge=3]=”Edge”,e[e.Weather=4]=”Weather”,e[e.Finance=5]=”Finance”,e[e.Community=6]=”Community”,e[e.Views=7]=”Views”,e[e.Gaming=8]=”Gaming”,e[e.Sports=9]=”Sports”,e[e.Health=10]=”Health”,e[e.Shopping=11]=”Shopping”,e[e.CgHomePage=12]=”CgHomePage”}(at||(at={})),function(e){e[e.documentHidden=0]=”documentHidden”,e[e.hasPaused=1]=”hasPaused”,e[e.invalidInnerWidth=2]=”invalidInnerWidth”,e[e.slowFetchStart=3]=”slowFetchStart”}(ct||(ct={})),function(e){e.JSON=”application/json;charset=UTF-8″,e.HTML=”text/html;charset=UTF-8″}(dt=dt||(dt={}));function lt(){return o()?window._pageTimings||(window._pageTimings={}):s.get(“__diagnostics_pageTimings”,(()=>({})))}function ut(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now(),n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=lt();e in o||(o[e]=n?Math.round(t):t)}function pt(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];window.performance.mark(e),t&&ut(e)}let ht,gt,wt;function mt(){if(gt)return gt;const e=document.head.getAttribute(“data-info”);return gt=((/f:s*([^;]+)/i.exec(e)||{})[1]||””).toLowerCase(),gt}var ft;!function(e){e[e.Alert=0]=”Alert”,e[e.NoAlert=1]=”NoAlert”,e[e.HighImpact=2]=”HighImpact”,e[e.Critical=3]=”Critical”}(ft||(ft={}));const bt=new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;this.maxLength=20,this.list=[],this.maxLength=e}push(e){this.list.push(e),this.list.length>this.maxLength&&this.list.shift()}get data(){return this.list}};function vt(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ft.Alert;try{const i=function(){if(!ht){const e=document.head.getAttribute(“data-client-settings”);e&&(ht=JSON.parse(e))}return ht}(),s=mt(),r=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);wt=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}(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){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:ft.Alert;if(n){i=i||{};const{apptype:c,audienceMode:d,pagetype:l,pageGenTime:u,bundleInfo:p,deviceFormFactor:h=””,fd_muid:g,os:w}=n;i.pageGenTime=u,i.build=p&&p.v,i.appType=c;const m=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,d,h),f=m||c,b=document.getElementsByTagName(“html”)[0].getAttribute(“lang”);let v,y=””,S=”muid”;try{if(“edgeChromium”===c&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);v=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===d?v=”entnewsntp”:”xbox”===w&&(v=”xboxntp”)}window&&window.getCookieConsentRequired&&”function”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(y=B(“muid”))}catch{}y||(y=n.aid,S=”aid”);const k={name:”MS.News.Web.AppError”,time:u,ver:”4.0″,iKey:`o:${o}`,data:{baseData:{},baseType:”MS.News.Web.Base”,page:{name:”default”,product:f,type:yt(l),content:{category:”standaloneError”},ocid:v},browser:{clientId:y,clientIdType:S},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:g},locale:{mkt:b},extSchema:{id:e,severity:r,pb:i,message:t}}};var a;if(y&&”muid”===S)k.ext={…null==k?void 0:k.ext,user:{…null==k||null===(a=k.ext)||void 0===a?void 0:a.user,localId:`t:${y}`}};return 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),bt.push(c);const e=”https://”+wt+”/OneCollector/1.0″+function(e){return”?”+Object.keys(e).map((function(t){return t+”=”+encodeURIComponent(e[t])})).join(“&”)}(r);navigator.sendBeacon(e,c)}}catch{}}function yt(e){let t=e;switch(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”}return t}const St=”visibilitychange”;function kt(){return”visible”===document.visibilityState?Promise.resolve():new Promise((e=>{document.addEventListener(St,(()=>{“visible”===document.visibilityState&&e()}))}))}function At(e){const t=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&kt().then((()=>{t.logLoadingError(e)}))}function Ct(e){return new Promise((t=>setTimeout(t,e)))}pt(rt.PageTimings.inlineStart,!0);const{inlineCRS:It}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={};try{var n;if(!o())return t;const{all:i,prg:s}=function(){const e=v(“info”),t=(e&&e.match(/f:s*([^;]+)/i)||[])[1]||””,n=t.split(“,”);return{all:n,prg:b(n)}}(),r=w(v(“clientSettings”))||{},a=null===(n=r.apptype)||void 0===n?void 0:n.toLocaleLowerCase(),c=e.crsOptions||{};”winwidgets”===a&&(c.crsPrefetch=!0);(c.crsPrefetch||i.includes(“inlinecrscall”)||i.includes(`icrscall-${a}`))&&(!function(e,t,n){const i=function(e,t){let n;const o=decodeURIComponent(g(e,”aace”)),{child:i}=o&&w(o)||{},s=g(e,h);return n=o&&(1===i||s)?m.Kids:t.audienceMode||m.Adult,n}(document.cookie,e),{apptype:s,browser:r,domain:a=””,bundleInfo:{v:c}={},deviceFormFactor:d=””,locale:{content:u,display:p}={},ocid:f,os:b=””,pagetype:v=””,servicesEndpoints:{crs:y}={}}=e,k=(S()?o()?window.location.hostname:l().url.hostname:a)||””;if(!s||!c||!y)return;const A={audienceMode:i,browser:r,deviceFormFactor:d,domain:k,locale:{content:u,display:p},ocid:f,os:b,platform:”web”,pageType:v,pageExperiments:t},C=new URLSearchParams([[“expType”,”AppConfig”],[“expInstance”,”default”],[“apptype”,s],[“v”,c]]),I=`${y.path}${y.v}/config/?${C}&targetScope=${JSON.stringify(A)}`,_=e=>{const t=new URL(`https://${e}${I}`),{timeout:o=5e3}=n;let i;if(window.crsRequestData={url:t.toString()},o>=0){const e=new AbortController;setTimeout((()=>e.abort()),o),i=e.signal}return fetch(t,{signal:i})},R=”msn.”+(function(e,t){return!!(e.hostname.toLowerCase().endsWith(“.cn”)||t.isChinaCompliance||t.useCnDomain||e.search.match(/item=revip:cn/))}(location,e)?”cn”:”com”),{domain:T}=y,E=T&&new URL(T).host;let q=_(E||`assets.${R}`);n.disableFallback||(q=q.catch((()=>{const{hostname:e}=location,t=e.match(/.msn.(com|cn)$/)?e:`www.${R}`;return _(t)})));window.crsPromise=q}(r,s,c),t.inlineCRS=!0)}catch(e){console.error(“InlineHeadCommon: “+e)}return t}(),_t=E();function Rt(e){var t;return((null===(t=document)||void 0===t||null===(t=t.head)||void 0===t||null===(t=t.getAttribute(“data-info”))||void 0===t?void 0:t.split(“;”).find((e=>e.startsWith(“f:”))))||””).includes(e)}window._clientSettings=_t,Rt(“prg-wx-nowebworker”)||(new st).init(_t,{disableWWConfig:It}),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;kt().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)}))}At(20202),vt(t+e.toString(),20202,{}),i&&(At(o),i(o,{customMessage:e.toString()}))}}}),n)}))}(),Rt(“prg-wx-psdawc”)&&async function(){window.apntag=window.apntag||{anq:[]},window.apntag.anq=window.apntag.anq||[],await async function(e){if(!o())return;const{src:t,id:n,async:i=!0,container:s=document.head,retryNumber:r=0,retryDelayMs:a=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(t<=1)return e();let o,i=1;do{try{o=await e()}catch(e){if(i===t)throw e&&e.message&&(e.message=`${e.message} after ${i} attempts`),e;await Ct(n)}}while(!o&&++ifunction(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return new Promise(((s,r)=>{const a=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],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:”anonymous”,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0;if(!o())throw new Error(“createScriptTag is unsupported server side. This call should be wrapped in canUseDOM().”);const a=document.createElement(“script”);return t&&(a.id=t),s&&a.setAttribute(“class”,s),r&&(a.onload=r),a.type=”text/javascript”,e&&(window&&window.trustedTypesURLValidation?a.src=window.trustedTypesURLValidation(e,”scriptSrcUrlPolicy”):a.src=e,a.async=n,a.crossOrigin=i),window&&window.NONCE_ID&&(a.nonce=window.NONCE_ID),a}(e,t,i,void 0,void 0,(()=>s(!0)));a.crossOrigin=void 0,a.onerror=r,n.prepend(a)}))}(t,n,s,i)),r,a)}catch(e){vt(“Failed to download Static JS”,11103,{scriptId:n,scriptSrc:t},ft.Alert)}}({id:”display-sdk”,src:”https://acdn.adnxs.com/ast/ast.js”,container:document.head,retryDelayMs:200,retryNumber:5})}()}(); ]]> onErrorHandler(s.src);s.nonce=””;s.crossOrigin=”anonymous”;document.body.appendChild(s);} ]]> `${e}=${this.searchParams[e]}`)).join(“&”):””}parseQueryString(e){if(!e)return;const t=e.indexOf(“?”);t>-1&&(e=e.substring(t+1)),e.split(“&”).forEach((e=>{const t=e.split(“=”),n=t[0];this.get(n)||(this.searchParams[n]=t[1])}))}}!function(e){e.JSON=”application/json;charset=UTF-8″,e.HTML=”text/html;charset=UTF-8″}(e=e||(e={}));const s=”prg-“;const r=Object.freeze({AIDRequestHeaderName:”pcs-aid”,Product:Object.freeze({mmx:”emmx”,edge:”spartan”,edgeChromium:”anaheim”,hybrid:”spartan”,hub:”prime”,microsoftNews:”msnews”,office:”entnews”,weather:”prime”,views:”prime”}),PageTimings:Object.freeze({inlineStart:”page.inlineStart”,fragmentFetchStart:”ssr.fragmentFetching”,fragmentFetchEnd:”ssr.fragmentFetched”,fragmentFetchStatusCode:”ssr.fragmentFetchStatusCode”,fragmentBrowserCached:”ssr.fragmentBrowserCached”,fragmentCDNCached:”ssr.fragmentCDNCached”,injectingDOM:”ssr.injectingDOM”,awaitingRAF:”ssr.awaitingRAF”,markersSet:”ssr.markersSet”,completed:”ssr.completed”,CSRTimeout:”ssr.CSRTimeout”,CSROnly:”ssr.csrOnly”,didSSR:”ssr.isSSRPagePresent”,riverEnabled:”ssr.riverEnabled”,ssrState:”ssr.state”,pageTTVR:”TTVR”,fetchDelayReason:”ssr.fetchDelayReason”,awaitingInnerWidthTime:”ssr.awaitingInnerWidthTime”,skipDueToHiddenReason:”ssr.skipDueToHiddenReason”,pssrRejectedReason:”ssr.pssrRejected”,ssrResponseSize:”ssr.responseSize”,inlineBodyStart:”ssr.inlineBodyStart”,pcsEnv:”pcsEnv”}),pauseThresholdMS:1200,oneServiceHeaders:”1s-headers”,edgeNTPHeader:”sec-edge-ntp”,defaultSSRFeedLayout:”multi”});var i,a,o,c;!function(e){e[e.Mmx=0]=”Mmx”,e[e.Hub=1]=”Hub”,e[e.Homepage=2]=”Homepage”,e[e.Edge=3]=”Edge”,e[e.Weather=4]=”Weather”,e[e.Finance=5]=”Finance”,e[e.Community=6]=”Community”,e[e.Views=7]=”Views”,e[e.Gaming=8]=”Gaming”,e[e.Sports=9]=”Sports”,e[e.Health=10]=”Health”,e[e.Shopping=11]=”Shopping”,e[e.CgHomePage=12]=”CgHomePage”}(i||(i={})),function(e){e[e.documentHidden=0]=”documentHidden”,e[e.hasPaused=1]=”hasPaused”,e[e.invalidInnerWidth=2]=”invalidInnerWidth”,e[e.slowFetchStart=3]=”slowFetchStart”}(a||(a={})),function(e){e.NotStarted=”NotStarted”,e.Fetching=”Fetching”,e.InsertingDOM=”InsertingDOM”,e.Completed=”Completed”,e.HasFetchError=”HasFetchError”,e.HasError=”HasError”,e.SkipDueToCSROnly=”SkipDueToCSROnly”,e.SkipDueToHidden=”SkipDueToHidden”,e.SkipForEarlyAuth=”SkipForEarlyAuth”,e.PssrRejected=”PssrRejected”}(o||(o={})),function(e){e.PureSSR=”pssr”,e.DSSR=”dssr”}(c||(c={}));const d={WeatherMapRoot:”weather-map-root”,MapContainer:”mapContainer”,MapLayoutRoot:”map-layout-root”,WeatherPageRoot:”weather-page-root”,MapPreContainer:”weathermap-2d-container”},h=”119px”;function l(){return!(“undefined”==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}let u=new Map;const p=Object.freeze({set(e,t){return u.set(e,t),this},get:function(e,t){let n=u.get(e);return void 0===n&&t&&(n=t(),u.set(e,n)),n},clear(){u.clear()},delete:e=>u.delete(e),has:e=>u.has(e)});const g=”__RequestDataInstance__”;class m{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=w(“OSATE”,this.cookie),t=!!e&&”1″===e,n=w(“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=p.get(g);return e||(t.g.TEST_ENV?f({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):f({href:”http://localhost:8080/”,innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}))}static resetInstance(e){const t=new m(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return p.set(g,t),t}}function w(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 f=m.resetInstance,S=()=>m.getInstance();function v(e,t){const n=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],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:”anonymous”,r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(!l())throw new Error(“createScriptTag is unsupported server side. This call should be wrapped in canUseDOM().”);const a=document.createElement(“script”);return t&&(a.id=t),r&&a.setAttribute(“class”,r),i&&(a.onload=i),a.type=”text/javascript”,e&&(window&&window.trustedTypesURLValidation?a.src=window.trustedTypesURLValidation(e,”scriptSrcUrlPolicy”):a.src=e,a.async=n,a.crossOrigin=s),window&&window.NONCE_ID&&(a.nonce=window.NONCE_ID),a}(e,void 0,!0,null,null,t);(function(e){if(!l())throw new Error(“getDocumentElementsByTagName is unsupported server side. This call should be wrapped in canUseDOM().”);return window.document.getElementsByTagName(e)})(“head”)[0].appendChild(n)}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l()?window.navigator.userAgent:S().userAgent;return!!e&&(-1!==e.indexOf(“bingbot”)||-1!==e.indexOf(“msnbot”)||-1!==e.indexOf(“facebook”)||-1!==e.indexOf(“LinkedInBot”)||-1!==e.indexOf(“Twitterbot”))}function R(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];window.performance.mark(e),t&&T(e)}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now(),n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const s=window._pageTimings||(window._pageTimings={});e in s||(s[e]=n?Math.round(t):t)}function b(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null!==e&&”object”==typeof e&&!1===Array.isArray(e))for(const[n,s]of Object.entries(e||{}))”number”==typeof s&&T(n,s,t)}const E=window._clientSettings,P=(function(e){return t=e&&e.queryparams,s=window.location.search,t=(t||””).substring(1),s=(s||””).substring(1),new n(t+”&”+s);var t,s}(E),function(e,t){const n=document.head.dataset.info;let r=((/f:s*([^;]+)/i.exec(n)||{})[1]||””).toLowerCase().split(“,”);return r=function(e){const t=s.length,n=[];return e&&e.length&&(e.forEach((e=>{const r=e&&e.trim();r&&r.length>=t&&r.substring(0,t).toLowerCase()===s&&n.push(r.toLowerCase())})),n.sort()),n}(r),r}());window._clientSettings=E,window.flights=P;const C=E.pcsInfo&&E.pcsInfo.env;window.pcsEnv=C,R(r.PageTimings.inlineBodyStart,!0),T(r.PageTimings.pcsEnv,C,!1);var O;if(“weather”===(O=E.pagetype)||”weather::weathertoday”===O||”weather::weathermonthlyforecast”===O||”weather::weatherpollen”===O||”weather::weatherlife”===O||”weather::weatherrecordsandaverages”===O||”weather::weathermaps”===O&&y()){window.RENDER=!0,window.SSRONLY=-1!=window.location.search.indexOf(“ssronly=true”);const e=document.getElementById(“root”);if(e&&e.childElementCount>0&&!window.PSSR_REJECT){window.SSR=o.Completed;T(“scrollHeight”,e.scrollHeight,!1);const t=window.TTVR_FLAGS;t&&function(e){for(let t=0;te.json()))}(),function(){if(!k&&”weather::weathermaps”!==E.pagetype)return;if(function(){const e=document.createElement(“div”);e.id=d.MapPreContainer,e.style.zIndex=”0″,e.style.position=”absolute”,e.style.bottom=”0px”,e.style.width=”100vw”,e.style.height=`calc(100vh – ${h})`,e.style.display=”none”,document.body.appendChild(e)}(),!k){const e=M.searchParams.getAll(“item”);for(const t of e)if(t.startsWith(“spalink:”)&&t.endsWith(“/debug”)){k=!0;break}}let e=(I?”cn”:”www”)+”.bing.com”;const t=”loadMapV9″;let n=`https://{maphostPlaceholder}/maps/mapcontrol/v9?callback=${t}&key=Amv7GjvH_3R9-dVs4O0Epgwa2db0nfN4X2ueUMSmiOP-xmgW8c0ECBaP9IR_v26t&styleset=custom&clientid=weather&enableInstrumentation=false`;if(k){n+=”&uncrunched=1&features=addresourcekey”;const t=M.searchParams.get(“mapdev”);t&&(e=t);const s=M.searchParams.get(“features”);s&&s.length>1&&(n+=”,”+s)}else n+=”&uncrunched=0″;n=n.replace(“{maphostPlaceholder}”,e),P.includes(“prg-wxcache”)&&(n=”https://assets.msn.com/weathermapdata/1/static/bingmapv9.js”),H.v9BundlePrz=new Promise((e=>{window[t]=()=>{const t=”WeatherMap.Map_Lib_Ready”;T(t),performance&&performance.measure&&performance.measure(t),e(0)}})),T(“WeatherMap.Map_Script_Add”),v(n,(()=>{T(“WeatherMap.Map_Script_Load”)}))}()}();]]>
Want a minute-by-minute forecast? MSN Weather tracks it all, from precipitation predictions to severe weather warnings, air quality updates, and even wildfire alerts.

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다