' ; ?>

MSN

[]
MSN this.maxLength&&this.listing.shift()}get information(){return this.listing}};perform g(e,t,n){let i=arguments.size>3&&void 0!==arguments[3]?arguments[3]:p.Alert;attempt{const s=perform(){if(!o){const e=doc.head.getAttribute(“data-client-settings”);e&&(o=JSON.parse(e))}return o}(),c=a(),l=perform(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,o=new Date(n).getTime(),i=!t||[“prod”,”prod-ssr”,”prod-ssrntp”].contains(t.env);r=i?”browser.occasions.information.msn.com”:”events-sandbox.information.msn.com”;return{cors:”true”,”content-type”:”utility/x-json-stream”,”client-id”:”NO_AUTH”,”client-version”:”1DS-Internet-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=perform(e){if(e){const t=e.indexOf(“-“);if(t>0)return e.substring(0,t)}return””}(l.apikey));const g=perform(e,t,n,o,i,s){let r=arguments.size>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:m,os:f}=n;i.pageGenTime=p,i.construct=h&&h.v,i.appType=c;const b=perform(e,t,n){const o=n&&”cellphone”===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”,workplace:”entnews”,views:o?”prime_mobile”:”prime”,windowsShell:”windowsshell”}[e]}(c,l,g),v=b||c,y=doc.getElementsByTagName(“html”)[0].getAttribute(“lang”);let ok,S=””,A=”muid”;attempt{if(“edgeChromium”===c&&”object”==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);ok=e.has(“startpage”)?”msedgdhp”:”msedgntp”,”enterprise”===l?ok=”entnewsntp”:”xbox”===f&&(ok=”xboxntp”)}window&&window.getCookieConsentRequired&&”perform”==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(S=d(“muid”))}catch{}S||(S=n.assist,A=”assist”);const C={identify:”MS.Information.Internet.AppError”,time:p,ver:”4.0″,iKey:`o:${o}`,information:{baseData:{},baseType:”MS.Information.Internet.Base”,web page:{identify:”default”,product:v,sort:w(u),content material:{class:”standaloneError”},ocid:ok},browser:{clientId:S,clientIdType:A},flight:{id:s},request:{activityId:n.assist,requestId:n.assist,afdMuid:m},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,person:{…null==C||null===(a=C.ext)||void 0===a?void 0:a.person,localId:`t:${S}`}};return C.information.flight.tmpl=””,i.isSSRScope&&(C.information.flight.tmpl+=”ssrscope:1″),”object”==typeof window&&(window.isSSREnabled&&(C.information.flight.tmpl+=”;ssr-enabled:1″),window.isSSRCompleted&&(C.information.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″+perform(e){return”?”+Object.keys(e).map((perform(t){return t+”=”+encodeURIComponent(e[t])})).be part of(“&”)}(l);navigator.sendBeacon(e,g)}}catch{}}perform w(e){let t=e;change(e){case”windowsshellhp”:t=”dhp”;break;case”video”:t=”watch”}return t}const m=”visibilitychange”;perform f(){return”seen”===doc.visibilityState?Promise.resolve():new Promise((e=>{doc.addEventListener(m,(()=>{“seen”===doc.visibilityState&&e()}))}))}perform b(e){const t=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&f().then((()=>{t.logLoadingError(e)}))}perform v(e){attempt{if(e)return JSON.parse(e)}catch(e){}return null}perform y()const ok=”Authorization”;var S,A;!perform(e){e.Presentation=”presentation”}(S||(S={})),perform(e){e.Unknown=”Unknown”,e.Portrait=”Portrait”,e.Panorama=”Panorama”}(A||(A={}));var C,x;!perform(e){e[e.Undefined=0]=”Undefined”,e[e.Basic=1]=”Fundamental”,e[e.Advanced=2]=”Superior”,e[e.Premium=3]=”Premium”}(C||(C={})),perform(e){e.Init=”init”,e.Config=”config”,e.Focused=”focused”,e.Sticky=”sticky”,e.NoSticky=”no_sticky”,e.Admin=”admin”,e.Compelled=”pressured”,e.Guide=”handbook”}(x||(x={}));new Set([“winp0dash”,”winp1taskbar”,”winp1taskbarent”,”winp1taskbardirect”,”winp1taskbardirectent”,”winp1taskbarent”,”winp2juntaskbar”,”winp2juntaskbarent”,”winp2″,”winp2ent”,”winp2fp”,”winp2fpent”,”winp2fptaskbar”,”winp2fptaskbarent”,”winp2fptaskbarhover”,”winp2fptaskbarhoverent”,”winp2widget”,”winp2widgetent”]);const I=new Set([“finance-app-win”,”weather-app-win”,”winpstoreapp”]),_=(new Set([“msedgdhp”,”msedgdhphdr”,”msedgntphdr”,”msedgntp”,”msedgdhp”,”entnewsntp”]),new Set([“hpmsn”]));perform q()const E=”feed/personalize/settings”;perform O(e,t)””let N=new class{constructor(){y()?(this.isDebugEnabled=(O(window.location.href,”debug”)||””).toLowerCase()in{1:1,true:1}||”vp”===(O(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.data(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.data(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.size>2&&void 0!==arguments[2])||arguments[2];if(this.supported)attempt{if(!t)throw”Tried to retailer null/undefined worth: “+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;N.logError(e)}else if(!n)throw new Error(“WebStorage not supported”)}get size(){if(this.supported)return this.storage.size}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}!perform(e){e.NotAvailable=”notAvailable”,e.Expired=”expired”,e.Legitimate=”legitimate”}(R||(R={}));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:perform(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=perform(e){attempt{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=Ok(“OSATE”,this.cookie),t=!!e&&”1″===e,n=Ok(“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?X({href:”http://localhost:8080/”,innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:”0″,cookie:””,userAgent:””,referer:””,oneServiceHeaders:””}):X({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.size>1&&void 0!==arguments[1]&&arguments[1]);return J.set(V,t),t}}perform Ok(e,t){if(t&&e){const n=new RegExp(“b”+e+”s*=s*([^;]*)”,”i”).exec(t);return n&&n.size>1?n[1]:null}return null}const X=z.resetInstance,Y=()=>z.getInstance();perform Z(){attempt{return localStorage}catch(e){return null}}const Q=”__PageExperimentInstance__”;perform ee(e){J.set(Q,e)}perform te(e){if(!J.has(Q)&&y())””))const n=J.get(Q);return n&&n.has(e)}perform ne(e);.*$)/g,””).cut up(“,”);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.contains(`${oe}=1`)}));const de=H((()=>{const e=perform(){attempt{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)&&perform(){const e=doc.head.dataset.clientSettings||””,{browser:t}=v(e)||{},{browserType:n=””}=t||{};return!!/safari/i.check(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-“,launcher:”launcherntp”,launcherInterests:”launcherInterests”,moto:”moto”,swiftKey:”swiftKey”,winMoneyApp:”finance-app-win”},ge=”superappdhp”,we=[“ios”,”android”,”ipados”];let me=qe(“ocid”).toLowerCase(),fe=qe(“chpltfm”),[be,ve]=fe.toLowerCase().cut up(“-“);perform ye(){if(!y())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.ship,o=t&&t.messageHandlers&&t.messageHandlers.ship&&t.messageHandlers.ship.postMessage;return!(!n&&!o)}perform ke()perform Se()perform Ae()perform Ce()perform xe()perform Ie()const _e=H((()=>ye()||Ae()||Se()||ke()||Ce()||me===he.winWeatherApp.toLowerCase()||me===he.winMoneyApp.toLowerCase()||perform()”1″===e)&&Ce()()||xe()||[he.launcher.toLowerCase(),he.launcherInterests.toLowerCase()].contains(me)&&Ce()||Ie()));perform qe(e){attemptcatch(e){return””}}const Ee=q()||{},Oe={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},Te={winWidgets:1},Le={edgeChromium:1,buying: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},Re=H((()=>Ee&&Ee.apptype)),Me=(H((()=>y()&&Re()in Te)),H((()=>y()&&!_e()&&!(Re()in Oe)&&!De()&&!Fe()))),We=H((()=>Me()&&!(Re()in Ne)));H((()=>Me()&&(!(Re()in Ne)||!$()))),H((()=>Me()&&!$e()&&!Ge()));perform Ue()$e()const De=H((()=>{const e=!(Re()in Le)&&Je()&&perform()(null==Ee?void 0:Ee.ocid),t=null==e?void 0:e.toLowerCase(),n=!_.has(t)&&”homePage”!==Re()&&!I.has(t);return n()&&!perform(){const e=”home windows”==Re()&&”windowshp”==(Ee&&Ee.pagetype)&&(y()?window.location.href:Y().url.href).contains(`${E}`);return e}();return e})),Fe=()=>y()&&doc&&doc.physique&&doc.physique.getElementsByClassName(“peregrine-widgets”).size>0,He=H((()=>te(“prg-1s-workid”)||te(“prg-1s-sm-workid”)||te(“prg-1s-twid”)||te(“prg-1s-mm-wid-t”)));H((()=>Re()in Pe||De()));perform je(){const e=W;if(e)return N.log(“dual-auth: tryGet1SAuthToken returned reside tokens”),e;const t=U();if(t)return N.log(`dual-auth: tryGet1SAuthToken returned cached tokens which are ${D()}`),t;N.log(“dual-auth: tryGet1SAuthToken returned empty tokens”)}perform Be(e){const t={};return e&&(t[k]=`Bearer ${e}`),t}perform $e()perform()le());return e()perform Ge(){return We()&&!B()&&pe()}const Je=H((()=>{const{browser:e}=Ee,{browserType:t=””,detected:n={}}=e||{},{browserType:o=””}=n||{};return/edgeChromium/i.check(t)||/edge/i.check(o)}));H((()=>We()&&!De()));const Ve=”__core_auth_authHeaderPromiseParts__”,ze=()=>J.get(Ve);var Ke;!perform(){let e;const t={promise:new Promise((t=>e=t)),resolver:e};J.set(Ve,t)}(),perform(e){e.GLOBAL=”GLOBAL”,e.GCC_MODERATE=”GCC_MODERATE”}(Ke||(Ke={}));let Xe;perform Ye(){return Xe}perform Ze(e)const Qe=H((()=>v(d(“AL_STATE”,!0))));var et,tt,nt;!perform(e){e[e.Unknown=0]=”Unknown”,e[e.NotSignedIn=1]=”NotSignedIn”,e[e.SignedIn=2]=”SignedIn”}(et||(et={})),perform(e){e.MSA=”MSA”,e.AAD=”AAD”,e.UNSUPPORTED_SOVEREIGNTY=”UNSUPPORTED_SOVEREIGNTY”}(tt||(tt={})),perform(e){e[e.NonAadAccount=0]=”NonAadAccount”,e[e.AadAccount=1]=”AadAccount”,e[e.Unknown=2]=”Unknown”}(nt||(nt={}));const ot=()=>{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 it;perform st(e){if(“undefined”==typeof window||!window.doc||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=perform(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;attempt{n=new URL(e,location.origin)}catch(e){return”about:clean#error”}if(n.hostname&&!t.contains(n.hostname))return”about:clean#error”;return e}(e);return t}});return n[e]=o,o}!perform(e){e.Grownup=”grownup”,e.Enterprise=”enterprise”,e.Youngsters=”children”}(it||(it={}));perform rt(e){return new Promise((t=>setTimeout(t,e)))}const at=doc.head.attributes[“data-info”].worth;let ct;if(at){const e=at.cut up(“;”).discover((e=>e.startsWith(“f:”)));e&&(ct=e.substring(2),ct.indexOf(“1sw-pcsreturnhp”)>-1&&g(“PCS returned. Executing inline JS.”,8e4,{customMessage:location.href},p.NoAlert))}(new class{constructor(){this.childCookieName=”youngster”,this.domInfo=doc.head.dataset.data,this.command=”command”}init(e,t){this.clientSettings=e||q(),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 sorts compliant internet employee”)}else i=window.webWorker=new Employee(n,{identify:”web-worker”});const s=window.webWorkerMessages=[];i.onmessage=e=>{s.push(e.information)};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&&”perform”==typeof t.getPref&&(t.getPref(“ntp.news_feed_display”,(e=>{e&&e.worth&&i.postMessage({id:”FeedDisplaySetting”,sort:this.command,payload:e.worth})})),t.getPref(“ntp.layout_mode”,(e=>{e&&e.worth&&i.postMessage({id:”LayoutModeSetting”,sort:this.command,payload:e.worth})})),t.getPref(“ntp.user_nurturing”,(e=>{let t=!1;e&&e.worth&&e.worth.size&&(t=this.getSingleColRequest(e.worth)),i.postMessage({id:”RenderSingleColumn”,sort:this.command,payload:t})})),t.getPref(“new_device_fre.has_user_seen_new_fre”,(e=>{e&&i.postMessage({id:”NewUserFre”,sort:this.command,payload:e.worth})}))),t&&”perform”==typeof t.getConfigData&&t.getConfigData((e=>{const t=(null==e?void 0:e.enabledFeatures)||[];t.contains(“msReducedNtpAdsForNewDevice_stage1″)&&i.postMessage({id:”EdgeNoAds”,sort:this.command,payload:!0}),t.contains(“msReducedNtpAdsForNewDevice_stage2″)&&i.postMessage({id:”EdgeReduceAds”,sort:this.command,payload:!0})})),e===it.Enterprise&&this.clientSettings.browser&&”edgeChromium”===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.model)>=87?this.getEnterpriseAccessToken().then((e=>{e&&i.postMessage({id:”AuthTokenEnterprise”,sort:this.command,payload:Be(e)})})):i.postMessage({id:”AuthTokenEnterprise”,sort:this.command,payload:{}}),e!==it.Grownup&&e!==it.Enterprise||this.sendPageConfiguration()}Ue()&&ze().promise.then((e=>i.postMessage({id:”AuthHeaders”,sort:this.command,payload:e||{}})))}buildWebWorkerUrl()this.clientSettings)+this.qsFromUrl()+this.qsFromServiceWorker()+this.qsSelectedPivot()+this.qsXboxXToken()qs(e,t,n)e)+”&”:””qsFromDocument()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),”youngster”)+this.qs(u(“cbypass”),”cbypass”)+this.qs(this.cookieBannerConsentRequired().toString(),”ccRequired”)+this.qs(u(“ecasession”),”ecasession”)+this.qs(u(“TOptOut”),”browserOptOut”)}qsFromDataAttributeHelper(e,t)qsSelectedPivot(){const e=”selectedPivot”;let t;attempt{const n=Z();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting pivot id from native storage. “+e)}return this.qs(t,e)}qsXboxXToken(){const e=”xboxXTokenId”;let t;attempt{const n=Z();n&&(t=n.getItem(e))}catch(e){console.warn(“Error getting xbox XToken from native storage. “+e)}return this.qs(t,e)}appendWpoFlightsToInfo(e,t){const n=this.getWpoFlightsFromLocalStorage(e);if(n&&n.size){const e=”;”,o=t.cut up(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){attempti,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),{youngster:o}=t&&JSON.parse(t)||{};return t&&(1===o||n)?”children”:e.audienceMode||it.Grownup}sendPageConfiguration(){const e=this.clientSettings.pagetype;if(e){const t=d&&d(“pglt-edgeChromium-“+e);if(t)return void window.webWorker.postMessage({id:”PageConfiguration”,sort:this.command,payload:t})}window.webWorker.postMessage({id:”PageConfiguration”,sort: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.data&&(t={…i.clientSettings,bundleInfo:e.bundleInfo},n=i.data)}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.size?e.substring(1,e.size):””}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(efficiency.timeOrigin&&efficiency.timeOrigin.toString(),”mainTimeOrigin”)+this.qs(e.disableWWConfig&&”1″,”disableWWConfig”)}qsAuth(e){let t=this.qs(We()&&”1″,”disableWWAuth”);if(!Ue()){const e=We()&&je()||{};t+=this.qs(encodeURIComponent(JSON.stringify(Be(e.accessToken))),”authHeaders”)}return t+=this.qs(Ze()&&”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,worth:r}=s;e===t?o=r:e===n&&(i=r)}return”boolean”==typeof o?o:!!i&&(i&&”single”===i.sort)}cookieBannerConsentRequired()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||l(“lt”)?!l(“aace”):e===tt.AAD?Ze()&&!He():void 0}tryGetWebWorkerUsingPolicy(e,t){const n=st(t);if(n){const t=n.createScriptURL(e),o=t&&t.toString();if(!o||”about:clean#error”===o)return;window.webWorker=new Employee(t,{identify:”web-worker”})}else window.webWorker=new Employee(e,{identify:”web-worker”});return window.webWorker}getFlightList(){return((/^f:s*([^;]+)/i.exec(this.domInfo)||{})[1]||””).toLowerCase().cut up(“,”)}}).init(),perform(){let e=arguments.size>0&&void 0!==arguments[0]?arguments[0]:[“vendors”,”common”,”microsoft”],t=arguments.size>1&&void 0!==arguments[1]?arguments[1]:”Error when loading bundle(s): “,n=arguments.size>2&&void 0!==arguments[2]?arguments[2]:5e5,o=arguments.size>3?arguments[3]:void 0,i=arguments.size>4?arguments[4]:void 0;f().then((()=>{setTimeout((()=>{const n=window.webpackJsonp;if(n){const s=n.size,r=e.size+1;if(s{t.size&&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 dt=’n n msn_logon n n n n n n ‘,lt=300;perform ut()void 0===t?void 0:t.name(e,”entry-point”))perform pt(e)!perform(){if(!((null===(e=ct)||void 0===e?void 0:e.indexOf(“prg-hp-nsl”))>=0)){var e;class n extends HTMLElement{constructor(){tremendous(),this.attachShadow({mode:”open”})}connectedCallback(){const e=doc.createElement(“model”);e.innerHTML=’n :host {n font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, sans-serif !necessary;n show: flex;n peak: 100vh;n width: 100vw;n place: mounted;n background: #e0e0e0;n prime: 0;n left: 0;n justify-content: heart;n shade: #000;n z-index: 99999;n }n .container {n show: 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: heart;n }n .emblem {n margin: 0 0 15px;n font-size: 38px;n letter-spacing: 2px;n word-spacing: -5px;n opacity: 1;n }n .emblem svg {n shade: #000;n show: inline-block;n peak: 35px;n place: relative;n prime: 3px;n }n .loading-bar {n show: block;n peak: 2px;n width: 100px;n background: #fff;n overflow: hidden;n border-radius: 2px;n }n .loading-bar:earlier than {n content material: “”;n show: block;n peak: 2px;n width: 40px;n background: #000;n left: -20px;n place: 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

n ${dt} msnn n n `,n=doc.createElement(“div”);n.className=”container”,n.innerHTML=t,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(n)}}customElements.get(“msn-hp-loading-indicator”)||customElements.outline(“msn-hp-loading-indicator”,n),setTimeout((()=>{ut()||perform(){const e=doc.physique;if(e)t();else{const n=new MutationObserver((perform(){e&&(n.disconnect(),t())}));n.observe(doc.documentElement,{childList:!0})}}()}),lt)}perform t(){const e=doc.createElement(“msn-hp-loading-indicator”);e.id=”loader”,doc.physique.appendChild(e);const t=new MutationObserver((perform(){ut()&&(t.disconnect(),doc.physique.querySelector(“msn-hp-loading-indicator”).take away())}));t.observe(doc.physique,{childList:!0})}}(),(pt(“prg-sdkpreload”)||pt(“prg-renderoptimize”))&&async perform(){window.apntag=window.apntag||{anq:[]},window.apntag.anq=window.apntag.anq||[],await async perform(e){if(!y())return;const{src:t,id:n,async:o=!0,container:i=doc.head,retryNumber:s=0,retryDelayMs:r=0}=e;attempt{await async perform(e){let t=arguments.size>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.size>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 rt(n)}}while(!o&&++ifunction(e,t,n){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return new Promise(((i,s)=>{const r=perform()arguments[2],o=arguments.size>3&&void 0!==arguments[3]?arguments[3]:”nameless”,i=arguments.size>4?arguments[4]:void 0,s=arguments.size>5?arguments[5]:void 0;if(!y())throw new Error(“createScriptTag is unsupported server facet. This name must be wrapped in canUseDOM().”);const r=doc.createElement(“script”);return t&&(r.id=t),i&&r.setAttribute(“class”,i),s&&(r.onload=s),r.sort=”textual content/javascript”,e&&(window&&window.trustedTypesURLValidation?r.src=window.trustedTypesURLValidation(e,”scriptSrcUrlPolicy”):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(“Didn’t obtain Static JS”,11103,{scriptId:n,scriptSrc:t},p.Alert)}}({id:”display-sdk”,src:”https://acdn.adnxs.com/ast/ast.js”,container:doc.head,retryDelayMs:200,retryNumber:5})}()}(); ]]>

{t=o,s=e}),window._idbConfigOpenPromise=(()=>{attempt{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”]=efficiency.now();const c=d.outcome;o(c),r[n+”getAllObjects-Start”]=efficiency.now();const a=c.transaction(e,”readonly”).objectStore(e).openCursor();a.onsuccess=perform(){const o=this.outcome;o?(i[o.key]=o.worth,o.proceed()):(r[n+”getAllObjects-End”]=efficiency.now(),t())},a.onerror=(()=>{s(new Error(“Config IDB preload learn failure”))})}),d.onupgradeneeded=(()=>{d.outcome.createObjectStore(e)})})}catch(o){return Promise.reject(new Error(“Config IDB preload open failure: “+o))}})()}preloadConfigIDB(); ]]> onErrorHandler(s.src);s.nonce=””;s.crossOrigin=”nameless”;doc.physique.appendChild(s);} ]]>

You May Also Like

답글 남기기

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

WP Twitter Auto Publish Powered By : XYZScripts.com