MSN 香港 | 首頁 - Afghanistan - Danh mục thế giới nói tiếng Việt

MSN 香港 | 首頁

  • 2021-12-31Ngày thu
  • 2022-02-15Đã cập nhật
MSN 香港 | 首頁
  • Địa chỉ trang web:www.msn.com
  • IP máy chủ:204.79.197.203
  • Mô tả trang web:透過MSN 香港可自訂收看時事、娛樂、生活、財經、體育等新聞,並使用Hotmail/Outlook電郵、Skype,以及選購Microsoft網上商店產品。

tên miền:www.msn.comĐịnh giá

Về 500000~10000000

tên miền:www.msn.comlưu lượng

376

tên miền:www.msn.comTốt hay xấu

An khang thịnh vượng. Pepsi Thịnh vượng

trang mạng:MSN 香港 | 首頁Trọng lượng

4

trang mạng:MSN 香港 | 首頁IP

204.79.197.203

trang mạng:MSN 香港 | 首頁Nội dung

MSNtry{window._peTimings=window._peTimings||{};window._peTimings["TTJSStart"]=Math.round(performance.now());}catch(e){console.error("ErrorinaddingTTJSStartmarker");}functiongetCookieConsentRequired(){returntrue;}window._ssrServiceEntryUrl="/bundles/v1/homePe/latest/SSR-service-entry.caf6aafdd693b2aa3f83.js";window["_webWorkerBundle"]="/bundles/v1/homePe/latest/web-worker.5d4ba023c0e513ad132b.js";window["_authCookieName"]="ace";!function(){"usestrict";vare={},t={};functionn(o){vari=t[o];if(void0!==i)returni.exports;vars=t[o]={exports:{}};returne[o](s,s.exports,n),s.exports}leto,i;functions(){if(i)returni;conste=document.head.getAttribute("data-info");returni=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),i}functionr(e){vart;return((null===(t=document.head)||void0===t||null===(t=t.getAttribute("data-info"))||void0===t?void0:t.split(";").find((e=>e.startsWith("f:"))))||"").includes(e)}n.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("returnthis")()}catch(e){if("object"==typeofwindow)returnwindow}}(),function(){if(void0!==n){constt=n.e,o={};vare;document.head.getAttribute("data-info");n.e=function(i){returnt(i).catch((function(t){consts=o.hasOwnProperty(i)?o[i]:2;if(void0===e&&(e=!1),e&&2===s&&(n.p=n.p.replace("/assets.","/assets2.")),s{n=!1,t=void0}},o}constl={bingHomepeMobile:"binghomepemobile",outlookMobile:"OnOOutlookMobile",officeMobile:"OnOOfficeMobile",sapphire:"OnOStartApp",skype:"OnOSkype",freFullPe:"emmxFre",winWeatherApp:"weather-app-win",xiaomiApp:"xmweather-",launcher:"launcherntp",launcherInterests:"launcherInterests",moto:"moto",swiftKey:"swiftKey",winMoneyApp:"finance-app-win"},u="superappdhp",p=["ios","android","ipados"];leth=x("ocid").toLowerCase(),g=x("chpltfm"),[w,m]=g.toLowerCase().split("-");functionf(){if(!c()||E())return!1;conste=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messeHandlers&&t.messeHandlers.send&&t.messeHandlers.send.postMesse;return!(!n&&!o)}functionb(){conste=g&&"outlook"===w&&p.includes(m),t=h===l.outlookMobile.toLowerCase();returne||t}functionv(){conste=g&&["office","union"].includes(w)&&p.includes(m),t=h===l.officeMobile.toLowerCase();returne||t}functiony(){conste=h===l.skMSN 香港 | 首頁ype.toLowerCase()||"skype"===w;returnc()&&(null===(t=window.skypeWebviewBridge)||void0===t?void0:t.isSkype)||e;vart}functionk(){return!(!c()||E())&&(f()||h===l.sapphire.toLowerCase()||h===u.toLowerCase())}functionS(){conste=x("edge");return("emmx"===w||"1"===e)&&k()||"mmx"===h}functionC(){return"3rdp"===w||h.startsWith(l.xiaomiApp)||A()||E()}functionA(){returnh===l.moto.toLowerCase()}functionI(){return[l.launcher.toLowerCase(),l.launcherInterests.toLowerCase()].includes(h)&&k()}functionE(){returnh.toLowerCase()===l.swiftKey.toLowerCase()||"swiftkey"==w.toLowerCase()}function_(){return-1!==location.href.indexOf("huawei")||-1!==location.href.indexOf("airfind")||-1!==location.href.indexOf("aloha")||"vivo"===h&&C()}constq=d((()=>f()||y()||v()||b()||k()||h===l.winWeatherApp.toLowerCase()||h===l.winMoneyApp.toLowerCase()||S()||C()||I()||E()||_()||-1!==location.href.indexOf("metaos=true")));functionx(e){try{returnnewURL(location.href).searchParams.get(e)||""}catch(e){return""}}functionT(e){try{returndecodeURIComponent(e)}catch(e){}}letL,P;functionO(e,t){if(!e)returnnull;if(t)returnN(e);if(!L){conste="undefined"!=typeofdocument&&document.cookie.split(";");L={};constt=e&&e.length;for(letn=0;n0&&void0!==arguments[0]?arguments[0]:20;this.maxLength=e,this.list=[]}push(e){this.list.push(e),this.list.length>this.maxLength&&this.list.shift()}getdata(){returnthis.list}};functionD(e,t,n){leti=arguments.length>3&&void0!==arguments[3]?arguments[3]:W.Alert,r=arguments.length>4?arguments[4]:void0,a=arguments.length>5?arguments[5]:void0;try{constd=function(){if(!o){conste=document.head.getAttribute("data-client-settings");e&&(o=JSON.parse(e))}returno}(),l=s(),u=function(e){if(e){const{pcsInfo:t,peGenTime:n}=e,o=newDate(n).getTime(),i=!t||["prod","prod-ssr","prod-ssrntp"].includes(t.env);P=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?"0ded60c75eaa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafee-7279":"f8857dedc6f54ca8962cfb713e01e7d7-e-fe0b-446f-95ae-f98c-7028","upload-time":o,w:"0",anoncknm:"app_anon"}}returnnull}(d);letp="";u&&u.apikey&&""!==u.apikey&&(p=function(e){if(e){constt=e.indexOf("-");if(t>0)returne.substring(0,t)}return""}(u.apikey));consth=function(e,t,n,o,i,s){letr=arguments.length>6&&void0!==arguments[6]?arguments[6]:W.Alert;if(n){i=i||{};const{apptype:d,audienceMode:l,petype:u,peGenTime:p,bundleInfo:h,deviceFormFactor:g="",fd_muid:w,os:m}=n;i.peGenTime=p,i.build=h&&h.v,i.appType=d;constf=function(e,t,n){consto=n&&"phone"===n.toLowerCase(),i=t&&"enterprise"===t;lets="Edge";E()?s="swiftKey":A()?s="moto":I()?s="Launcher":function(){vare;if(!c())return!1;constt=document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void0===e?void0:e.getAttribute("data-client-settings"));if(t){conste=JSON.parse(t);returne&&e.petype&&"bingHomepeMobile"===e.petype}return!1}()&&(s="bingHomepeMobile");return{bingHomepe:"binghomepe",mmx:"emmx",edge:"spartan",edgeChromium:i?"entnews":"anaheim",hybrid:"spartan",hub:o?"prime_mobile":"prime",microsoftNews:"msnews",office:"entnews",views:o?"prime_mobile":"prime",homePe:o?"prime_mobile":"prime",windowsShell:"windowsshell",edgeMobile:s}[e]}(d,l,g),b=f||d,v=document.getElementsByTName("html")[0].getAttribute("lang");lety,k="",S="muid";try{if("edgeChromium"===d&&"object"==typeofwindow&&window.location&&window.location.search){conste=newURLSearchParams(window.location.search);y=e.has("startpe")?"msedgdhp":"msedgntp","enterprise"===l?y="entnewsntp":"xbox"===m&&(y="xboxntp")}window&&window.getCookieConsentRequired&&"function"==typeofwindow.getCookieConsentRequired&&window.getCookieConsentRequired()||(k=O("muid"))}catch{}k||(k=n.aid,S="aid");constC={name:"MS.News.Web.AppError",time:p,ver:"4.0",iKey:`o:${o}`,data:{baseData:{},baseType:"MS.News.Web.Base",pe:{name:"default",product:b,type:F(u),content:U[d]??{category:"standaloneError"},ocid:y},browser:{clientId:k,clientIdType:S},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:w},locale:{mkt:v},extSchema:{id:e,severity:r,pb:i,messe:t}}};vara;if(k&&"muid"===S)C.ext={...null==C?void0:C.ext,user:{...null==C||null===(a=C.ext)||void0===a?void0:a.user,localId:`t:${k}`}};returnC.data.flight.tmpl="","object"==typeofwindow&&(window.isSSREnabled&&(C.data.flight.tmpl+=";ssr-enabled:1"),window.isSSRCompleted&&(C.data.flight.tmpl+=";ssr-completed:1")),C?JSON.stringify(C):null}returnnull}(t,e,d,p,n,l,i);if(a&&!function(e){if(null==e)return!1;returne.startsWith("1")||e.startsWith("2")||e.startsWith("3")||e.startsWith("4")}(null==d?void0:d.aid))returnconsole.error(h),voidconsole.error(`ThisApperrorId:${t}willnotbesentduetoapperrorsampling!`);if(u&&h){console.error(h),M.push(h);conste=""+P+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){returnt+"="+encodeURIComponent(e[t])})).join("&")}(u);if(r&&!performance.getEntriesByType("visibility-state").some((e=>"visible"===e.name))){constt=()=>{"visible"===document.visibilityState&&nigator.sendBeacon(e,h)};document.addEventListener("visibilitychange",t,{once:!0})}elsenigator.sendBeacon(e,h)}}catch{}}constU={homePe:{vertical:"homepe",category:"",id:"",domainId:"",title:"undefined"!=typeofdocument?:""}};functionF(e){lett=e;switch(e){case"windowsshellhp":t="dhp";break;case"video":t="watch";break;case"EdgeMobile":t=S()?"ntp":"dhp"}returnt}const$="visibilitychange";functionB(){return"visible"===document.visibilityState?Promise.resolve():newPromise((e=>{document.addEventListener($,(()=>{"visible"===document.visibilityState&&e()}),{once:!0})}))}functionH(e){constt=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&B().then((()=>{t.logLoadingError(e)}))}functionj(e){if("undefined"==typeofwindow||!window.document||window.isRenderServiceEnv)return;constt=window.trustedTypes;if(!t||!t.createPolicy)return;constn=window.trustedTypePolicies||(window.trustedTypePolicies={});if(n[e])returnn[e];consto=t.createPolicy(e,{createScriptURL:e=>{constt=function(e){constt=["ntp.msn.com","ntp.msn.cn","assets.msn.cn","assets.msn.com","","assets2.msn.com","assets2.msn.cn","","int.msn.com","r.bing.com","business.bing.com","staticview.msn.com","staticview.msn.cn",document.location.hostname];letn;try{n=newURL(e,location.origin)}catch(e){return"about:blank#error"}if(n.hostname&&!t.includes(n.hostname))return"about:blank#error";returne}(e);returnt}});returnn[e]=o,o}constJ=,G=;functionV(e,t){constn=j(t);if(n){constt=n.createScriptURL(e),o=t&&t.toString();returnt&&"about:blank#error"!==o?t:(D("URLisnottrustedtypescompliant.",G,{customMesse:"FailedURLis:"+e},W.Deprecated,!0),e)}returnD("Trustedtypespolicyisnotailable.",J,{},W.Deprecated,!0),e}constK={},X=3;functionz(e){constt=document.createElement("script");returnt.type="text/jascript",t.crossOrigin="anonymous",t.src=V(e,"fallbackBundleUrlPolicy"),t.onerror=()=>Q(t),t.onload=e=>function(e){constt=e.target.src,n=t.substring(t.lastIndexOf("/")+1).split(".")[0]||"",o=window._peTimings.retriedBundles;window._peTimings.retriedBundles=o?`${o},${n}`:n}(e),t}functionQ(e){if(!e)return;constt=e.src;letn=K[t]||1;if(ne.replaceWith(o)),100)}elseD("Errorwhenloadingbundle:"+t,,{retryCount:n,timeElapsed:Math.round(performance.now()),nType:a()},W.Deprecated)}constY="experience";functionZ(){conste=["vendors","microsoft","common"];window.addEventListener("load",(()=>{window._peTimings.nType=a(),window.requestIdleCallback((()=>{constt=function(e){constt=window.homePeWebpackChunks;if(!t)return[...e,Y];if(t.length>e.length)return[];t.forEach((t=>e.splice(e.indexOf(t[0][0]),1)));constn=te(Y);t.push===Array.prototype.push&&n.responseEnd>0&&e.push(Y);returne}(e);varn;t.length&&(r("msn-bndl-irtry")?t.forEach(ee):Promise.race([B(),(n=5e5,newPromise((e=>setTimeout((()=>e("timeout")),n))))]).then((()=>{t.forEach(ee)})))}))}),{once:!0})}functionee(e){constt=te(e);t&&(t.responseEnd>0?Q(Array.from(document.scripts).find((e=>e.src===t.name))):setTimeout((()=>{window.requestIdleCallback((()=>{ee(e)}))}),100))}functionte(e){constt=performance.getEntriesByType("resource").filter((t=>"script"===t.initiatorType&&t.name.indexOf(`/${e}.`)>-1));returnt[t.length-1]}functionne(e){D("Errorwhenloadingbundle:"+e,,{...arguments.length>1&&void0!==arguments[1]?arguments[1]:{}})}functionoe(e,t,n,o,i){D("JSException",,{source:t,customMesse:e,line:n,column:o,stack:i&&i.stack})}functionie(e){D("JSException",,{customMesse:e&&e.reason&&e.reason.messe,stack:e&&e.reason&&e.reason.stack})}functionse(e){try{if(e)returnJSON.parse(e)}catch(e){}returnnull}"undefined"!=typeofwindow&&window.document&&window.document.createElement&&(window._peTimings=window._peTimings||{},window.requestIdleCallback=window.requestIdleCallback||window.setTimeout);constre="Authorization";varae,ce;!function(e){e.Presentation="presentation"}(ae||(ae={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(ce||(ce={}));varde,le;!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}(de||(de={})),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"}(le||(le={}));newSet(["winp0dash","winp1taskbar","winp1taskbarent","winp1taskbardirect","winp1taskbardirectent","winp1taskbarent","winp2juntaskbar","winp2juntaskbarent","winp2","winp2ent","winp2fp","winp2fpent","winp2fptaskbar","winp2fptaskbarent","winp2fptaskbarhover","winp2fptaskbarhoverent","winp2widget","winp2widgetent"]);constue=newSet(["finance-app-win","weather-app-win","winpstoreapp"]),pe=(newSet(["msedgdhp","msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]),newSet(["hpmsn"]));newSet(["chromentpnews"]);functionhe(){vare;returnc()?se(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void0===e?void0:e.getAttribute("data-client-settings"))):null}constge="feed/personalize/settings";functionwe(e,t){constn=t.replace(/[[\]]/g,"\\$&"),o=newRegExp("[?&]"+n+"(=([^]*)|&|#|$)").exec(e);if(!o)returnnull;consti=o[2];returndecodeURIComponent(i.replace(/\+/g,""))||""}letme=newclass{constructor(){c()?(this.isDebugEnabled=(we(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1}||"vp"===(we(window.location.href,"reqsrc")||"").toLowerCase(),this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){returnnull}isDebug(){returnthis.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTs(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)}};classfe{getsupported(){return!!this.store}constructor(e){this.store=e}getItem(e){if(this.supported)returnthis.store.getItem(e)}getObject(e,t){constn=this.getItem(e);if(null!=n){conste=se(n);if(null!=e)returne}returnt}key(e){if(this.supported&&e>=0)returnthis.store.key(e)}keys(){returnthis.supported?Object.keys(this.store):[]}setObject(e,t){void0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){constt=this.removeItem(e);if(null!=t)returnse(t)}setItem(e,t){letn=!(arguments.length>2&&void0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw"Attemptedtostorenull/undefinedvalue:"+t;this.store.setItem(e,t)}catch(e){if(!n)throwe;me.logError(e)}elseif(!n)thrownewError("WebStorenotsupported")}getlength(){if(this.supported)returnthis.store.length}removeItem(e){if(this.supported){constt=this.getItem(e);returnthis.store.removeItem(e),t}}clear(){this.supported&&this.store.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;constt=[];for(letn=0;n{conste=O(Ee,!0),t=e&&se(e),{login_hint:n}=t||{};returnn&&t})),qe=d((()=>!!O(Ee)));letxe=newMap;constTe=Object.freeze({set(e,t){returnxe.set(e,t),this},get:function(e,t){leMSN 香港 | 首頁tn=xe.get(e);returnvoid0===n&&t&&(n=t(),xe.set(e,n)),n},clear(){xe.clear()},delete:e=>xe.delete(e),has:e=>xe.has(e)});constLe="__RequestDataInstance__";classPe{constructor(e,t){if(this.url=newURL(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.userent=e.userent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)returnJSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){conste=Oe("OSATE",this.cookie),t=!!e&&"1"===e,n=Oe("OSAT",this.cookie);if(t&&n||!e&&!n)returnthis.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"interactiveLogin":e&&!n?"missOSAT":"missOSATE"}}staticgetInstance(){conste=Te.get(Le);returne||(n.g.TEST_ENV?Ne({href:"httplocalhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}):Ne({href:"httplocalhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}))}staticresetInstance(e){constt=newPe(e,arguments.length>1&&void0!==arguments[1]&&arguments[1]);returnTe.set(Le,t),t}}functionOe(e,t){if(t&&e){constn=newRegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);returnn&&n.length>1?n[1]:null}returnnull}constNe=Pe.resetInstance,Re=()=>Pe.getInstance();functionWe(){try{returnlocalStore}catch(e){returnnull}}constMe="__PeExperimentInstance__";functionDe(e){Te.set(Me,e)}functionUe(e){if(!Te.has(Me)&&c()){vart;De(Fe(document.head.dataset.info||(null===(t=window.document.getElementsByClassName("peregrine-widget-settings")[0])||void0===t||null===(t=t.dataset)||void0===t?void0:t.info)||""))}constn=Te.get(Me);returnn&&n.has(e)}functionFe(e){constt=(e||"").replace(/(^f:|;.*$)/g,"").split(",");returnnewSet(t)}const$e="uxlogin",Be="uxlogout",He="uxedit",je="useRedirect",Je="uxswitch",Ge=d((()=>{conste=We();returne&&"1"===e.getItem($e)||c()&&location.search&&location.search.includes(`${$e}=1`)}));constVe=d((()=>{conste=function(){try{returnsessionStore}catch(e){returnnull}}();returne&&!!e.getItem(Be)}));constKe=d((()=>{conste=We();returne&&"1"===e.getItem(He)}));constXe=d((()=>{conste=We(),t=!Ue("prg-noredirect")&&e&&"1"===e.getItem(je)&&function(){conste=document.head.dataset.clientSettings||"",{browser:t}=se(e)||{},{browserType:n=""}=t||{};return!!/safari/i.test(n)}();returnt}));constze=d((()=>{conste=We();returne&&"1"===e.getItem(Je)}));constQe=he()||{},Ye={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,wMSN 香港 | 首頁indowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channeldesktop:1,channelmobile:1,edgeMobile:1},Ze={edgeChromium:1},et={winWidgets:1},tt={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1},nt={edgeChromium:1,channeldesktop:1,channelmobile:1,cgHomePe:1,distribution:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},ot=d((()=>Qe&&Qe.apptype)),it=(d((()=>c()&&ot()inet)),d((()=>c()&&!q()&&!(ot()inYe)&&!at()&&!ct()))),st=d((()=>it()&&!(ot()inZe)));d((()=>it()&&(!(ot()inZe)||!qe()))),d((()=>it()&&!pt()&&!ht()));constrt=d((()=>ht()||pt())),at=d((()=>{conste=!(ot()intt)&>()&&function(){conste=newURLSearchParams(c()?window.location.search:Re().url.search).get("ocid")||(null==Qe?void0:Qe.ocid),t=null==e?void0:e.toLowerCase(),n=!pe.has(t)&&"homePe"!==ot()&&!ue.has(t);returnn}()&&!function(){conste="windows"==ot()&&"windowshp"==(Qe&&Qe.petype)&&(c()?window.location.href:Re().url.href).includes(`${ge}`);returne}();returne})),ct=()=>c()&&document&&document.body&&document.body.getElementsByClassName("peregrine-widgets").length>0,dt=d((()=>Ue("prg-1s-workid")||Ue("prg-1s-sm-workid")||Ue("prg-1s-twid")||Ue("prg-1s-mm-wid-t")));d((()=>ot()innt||at()));functionlt(){conste=Se;if(e)returnme.log("dual-auth:tryGet1SAuthTokenreturnedlivetokens"),e;constt=Ce();if(t)returnme.log(`dual-auth:tryGet1SAuthTokenreturnedcachedtokensthatare${Ae()}`),t;me.log("dual-auth:tryGet1SAuthTokenreturnedemptytokens")}functionut(e){constt={};returne&&(t[re]=`Bearer${e}`),t}functionpt(){returnst()&&Ge()||function(){conste=st()&&!wt()&&!Ge()&&_e()&&("expired"==Ae()||Ke());returne}()||Ve()||Xe()}functionht(){returnst()&&!_e()&&ze()}constgt=d((()=>{const{browser:e}=Qe,{browserType:t="",detected:n={}}=e||{},{browserType:o=""}=n||{};return/edgeChromium/i.test(t)||/edgeAndroid/i.test(t)||/edgeiOS/i.test(t)||/edge/i.test(o)}));d((()=>st()&&!at()));constwt=()=>{conste=_e();if(!e)return!1;lett;switch(e.account_type){case"MSA":t=st()?"ace":"aace";break;case"AAD":t=st()?"WID":"APP_WID";break;default:return!1}return!!O(t)};constmt="__core_auth_authHeaderPromiseParts__",ft=()=>Te.get(mt);varbt;!function(){lete;constt={promise:newPromise((t=>e=t)),resolver:e};Te.set(mt,t)}(),function(e){e.GLOBAL="GLOBAL",e.GCC_MODERATE="GCC_MODERATE"}(bt||(bt={}));letvt;functionyt(){returnvt}functionkt(e){constt=e||yt()||"al_app_anon",n=St();return!!(n&&(["anon","al_anon"].includes(t)&&n.AL_ANON||["app_anon","al_app_anon"].includes(t)&&n.AL_APP_ANON))}constSt=d((()=>se(O("AL_STATE",!0))));constCt=()=>{conste=O("elt",!0),t=e&&se(e),{access_token:n,account_type:o,login_hint:i,region_scope:s}=t||{};return(n||o||i||s)&&t};classAt{constructor(){this.childCookieName="child",this.domInfo=document.head.dataset.info,this.command="command"}init(e,t){this.clientSettings=e||he(),this.authCookieName=yt()||window._authCookieName||"",this.bundle=window._webWorkerBundle||"",t=t||{};constn=this.buildWebWorkerUrl(this.clientSettings,t),o=this.clientSettings.apptype;leti;if(o&&"edgeChromium"===o){if(i=this.tryGetWebWorkerUsingPolicy(n,"webWorkerUrlPolicy"),!i)returnvoidconsole.warn("Errorincreatingtrustedtypescompliantwebworker")}elsei=window.webWorker=newWorker(n,{name:"web-worker"});consts=window.webWorkerMesses=[];i.onmesse=e=>{s.push(e.data)};constr=window.webWorkerErrors=[];if(i.onerror=e=>{r.push(e)},window.chrome){conste=this.getAudienceMode(this.clientSettings),t=window.webWorker&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&"function"==typeoft.getPref&&(t.getPref("ntp.news_feed_display",(e=>{e&&e.value&&i.postMesse({id:"FeedDisplaySetting",type:this.command,payload:e.value})})),t.getPref("ntp.layout_mode",(e=>{e&&e.value&&i.postMesse({id:"LayoutModeSetting",type:this.command,payload:e.value})})),t.getPref("new_device_fre.has_user_seen_new_fre",(e=>{e&&i.postMesse({id:"NewUserFre",type:this.command,payload:e.value})}))),t&&"function"==typeoft.getConfigData&&t.getConfigData((e=>{constt=(null==e?void0:e.enabledFeatures)||[];t.includes("msReducedNtpAdsForNewDevice_ste1")&&i.postMesse({id:"EdgeNoAds",type:this.command,payload:!0}),t.includes("msReducedNtpAdsForNewDevice_ste2")&&i.postMesse({id:"EdgeReduceAds",type:this.command,payload:!0})})),"enterprise"===e&&this.clientSettings.browser&&"edgeChromium"===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87?this.getEnterpriseAccessToken().then((e=>{e&&i.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:ut(e)})})):i.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:{}}),"adult"!==e&&"enterprise"!==e||this.sendPeConfiguration()}rt()&&ft().promise.then((e=>i.postMesse({id:"AuthHeaders",type:this.command,payload:e||{}})))}buildWebWorkerUrl(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void0;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){returne?t+"="+(n||e)+"&":""}qsFromDocument(){vare;returnthis.qs(document.getElementsByTName("html")[0].getAttribute("lang"),"lang")+this.qs(encodeURIComponent(window.location.href),"adsReferer")+this.qs(null===(e=c()?window.devicePixelRatio:Re().devicePixelRatio)||void0===e?void0:e.toString(),"devicePixelRatio")}qsFromServiceWorker(){if(!nigator.serviceWorker||!nigator.serviceWorker.controller)return"";conste=nigator.serviceWorker.controller;if("activated"!==e.state||!e.scriptURL)return"";if(e.scriptURL){constt=newURL(e.scriptURL).searchParams.toString();returnt?"&"+t+"&":""}return""}qsFromCookies(){returnthis.qs(R(this.authCookieName),"aace","1")+this.qs(R("muid"),"muid")+this.qs(R(this.childCookieName),"child")+this.qs(R("cbypass"),"cbypass")+this.qs(this.cookieBannerConsentRequired().toString(),"ccRequired")+this.qs(R("ecasession"),"ecasession")+this.qs(R("TOptOut"),"browserOptOut")}qsFromDataAttributeHelper(e,t){returne&&e.featureFls&&e.featureFls.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.petype,"petype")+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.featureFls),"featureFls")+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(){conste="selectedPivot";lett;try{constn=We();n&&(t=n.getItem(e))}catch(e){console.warn("Errorgettingpivotidfromlocalstore."+e)}returnthis.qs(t,e)}qsXboxXToken(){conste="xboxXTokenId";lett;try{constn=We();n&&(t=n.getItem(e))}catch(e){console.warn("ErrorgettingxboxXTokenfromlocalstore."+e)}returnthis.qs(t,e)}appendWpoFlightsToInfo(e,t){constn=this.getWpoFlightsFromLocalStore(e);if(n&&n.length){conste=";",o=t.split(e);for(lete=0;ee.id))}}catch(e){console.warn(`Errorgettingwpoflightsfromlsfor${o}Error:${e}`)}returnnull}getHighestCbid(e,t){try{constn=We(),o=parseInt(e),i=parseInt(JSON.parse(n.getItem(`cbid_${t||""}`)));lets;if(o&&!isNaN(o)&&i&&!isNaN(i)&&(s=o>i?o:i),s=s||o||i,s)returnwindow._cbid=s.toString()}catch(e){console.warn("ErrorgettinghighestCBID"+e)}}getAudienceMode(e){We();constt=O(this.authCookieName),n=O(this.childCookieName),{child:o}=t&&JSON.parse(t)||{};returnt&&(1===o||n)?"kids":e.audienceMode||"adult"}sendPeConfiguration(){conste=this.clientSettings.petype;if(e){constt=O&&O("pglt-edgeChromium-"+e);if(t)returnvoidwindow.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:t})}window.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:!1})}qsFromDataAttribute(e){lett,n;consto=We();if(o){consti=JSON.parse(o.getItem("shd_"+e.petype)||null);i&&i.clientSettings&&i.info&&(t={...i.clientSettings,bundleInfo:e.bundleInfo},n=i.info)}return(!t||!n||e.peGenTime>=t.peGenTime)&&(t=e,n=this.domInfo),t.audienceMode=this.getAudienceMode(t),this.qsFromDataAttributeHelper(t,n)}qsFromUrl(){conste=location.search;returne&&e.length?e.substring(1,e.length):""}getEnterpriseAccessToken(){returnnewPromise((e=>{window.chrome&&window.chrome.authPrivate?window.chrome.authPrivate.getPrimaryAccountInfo((t=>{t&&"GCC_MODERATE"!==t.region_scope||e("");constn={account_id:t.account_id,account_type:t.account_type,client_id:"d7b530a4-7680-4c23-a8bf-c52c121d2e87",scope_or_resource:"enterprisenews.microsoft.com"};window.chrome.authPrivate.acquireAccessTokenSilently(n,(t=>{t.is_success?e(t.access_token):e("")}))})):e("")}))}qsMisc(e){returnthis.qs(performance.timeOrigin&&performance.timeOrigin.toString(),"mainTimeOrigin")+this.qs(e.disableWWConfig&&"1","disableWWConfig")}qsAuth(e){lett=this.qs(st()&&"1","disableWWAuth");if(!rt()){conste=st()&<()||{};t+=this.qs(encodeURIComponent(JSON.stringify(ut(e.accessToken))),"authHeaders")}returnt+=this.qs(kt()&&"1","isAccountLinked"),t+=this.qs(this.shouldFetchAppAnonCookie()&&"1","fetchAppAnonCookie"),t}getSingleColRequest(e){constt="render_single_column",n="feed_layout";leto,i;for(constsofe){const{key:e,value:r}=s;e===t?o=r:e===n&&(i=r)}return"boolean"==typeofo?o:!!i&&(i&&"single"===i.type)}cookieBannerConsentRequired(){conste=null!=document.getElementById("consent-banner-container")&&null===O("MSCC"),t=null!=document.getElementById("onetrust-sdk")&&null===O("eupubconsent-v2");returne||t}shouldFetchAppAnonCookie(){if(!gt())return!0;conste=(()=>{conste=Ct();if(e){if("MSA"===e.account_type)return"MSA";if("AAD"===e.account_type)return"AAD"}})();return"MSA"===e||N("lt")?!N("aace"):"AAD"===e?kt()&&!dt():void0}tryGetWebWorkerUsingPolicy(e,t){constn=j(t);if(n){constt=n.createScriptURL(e),o=t&&t.toString();if(!o||"about:blank#error"===o)return;window.webWorker=newWorker(t,{name:"web-worker"})}elsewindow.webWorker=newWorker(e,{name:"web-worker"});returnwindow.webWorker}getFlightList(){return((/^f:\s*([^;]+)/i.exec(this.domInfo)||{})[1]||"").toLowerCase().split(",")}}functionIt(e){returnnewPromise((t=>setTimeout(t,e)))}varEt,_t;!function(e){e.Anon="ANON",e.AppAnon="APP_ANON",e.Unknown=""}(Et||(Et={})),function(e){e.AnonCookieExists="ace",e.AppAnonCookieExists="aace"}(_t||(_t={}));constqt="child";functionxt(e,t){if(e){constn=newRegExp("\\b"+t+"\\s*=\\s*([^;]*)","i").exec(e);returnn&&n.length>1?n[1]:null}returnnull}constTt="prg-pw-",Lt="prg-",Pt="prg-1sw-",Ot="prg1flights";functionNt(e){lett=arguments.length>1&&void0!==arguments[1]?arguments[1]:Lt;constn=t.length,o=[];returne&&e.length&&(e.forEach((e=>{consti=e&&e.trim();i&&i.length>=n&&i.substring(0,n).toLowerCase()===t&&o.push(i.toLowerCase())})),o.sort()),o}functionRt(e){vart;returndocument.head.dataset[e]||(null===(t=Mt())||void0===t?void0:t.dataset[e])}letWt;functionMt(){returnvoid0===Wt&&(Wt=document.getElementsByClassName("peregrine-widget-settings")[0]||null),Wt}!function(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};constt={};try{varn,o,i;if(!c())returnt;consts=se(Rt("clientSettings"))||{};letr=null===(n=s.apptype)||void0===n?void0:n.toLocaleLowerCase();consta=e.crsOptions||{};"winwidgets"!==r&&"homepe"!==r||(a.crsPrefetch=!0),null!==(o=s.widgetAttributes)&&void0!==o&&null!==(o=o.clientPerf)&&void0!==o&&o.earlyCRSCall&&(a.crsPrefetch=!0),"edgechromium"===r&&(r="edgechr");constd=!(null===(i=s.widgetAttributes)||void0===i||null===(i=i.clientPerf)||void0===i||!i.shouldUsePWOnlyFlights),{all:l,prg:u}=function(){lete=arguments.length>0&&void0!==arguments[0]&&arguments[0],t=arguments.length>1&&void0!==arguments[1]?arguments[1]:"";constn=Rt("info"),o=(n&&n.match(/f:\s*([^;]+)/i)||[])[1]||"",i=o.split(","),s=function(e){lett=arguments.length>2&&void0!==arguments[2]?arguments[2]:"",n=Lt;returnarguments.length>1&&void0!==arguments[1]&&arguments[1]?n=Tt:e&&e.includes(Ot)&&(t.toLocaleLowerCase()==="windowsShell".toLocaleLowerCase()||t.toLocaleLowerCase()==="windowsShellV2".toLocaleLowerCase())&&(n=Pt),n}(i,e,t),r=Nt(i,s);return{all:i,prg:r}}(d,r);(a.crsPrefetch||l.includes("inlinecrscall")||l.includes(`icrscall-${r}`))&&(!function(e,t,n){consto=function(e,t){letn;consto=decodeURIComponent(xt(e,"aace")),{child:i}=o&&se(o)||{},s=xt(e,qt);returnn=o&&(1===i||s)?"kids":t.audienceMode||"adult",n}(document.cookie,e),{apptype:i,browser:s,domain:r,bundleInfo:{v:a}={},deviceFormFactor:d,locale:{content:l,display:u}={},ocid:p,os:h,petype:g,servicesEndpoints:{crs:w}={}}=e,m=(Mt()?c()?window.location.hostname:Re().url.hostname:r)||"";if(!i||!a||!w)return;constf={audienceMode:o,browser:s,deviceFormFactor:d,domain:m,locale:{content:l,display:u},ocid:p,os:h,platform:"web",peType:g,peExperiments:t},b=newURLSearchParams([["expType","AppConfig"],["expInstance","default"],["apptype",i],["v",a]]),v=`${w.path}${w.v}/config/?${b}&targetScope=${JSON.stringify(f)}`,y=e=>{constt=newURL(`${e}${v}`),{timeout:o=5e3}=n;leti;if(window.crsRequestData={url:t.toString()},o>=0){conste=newAbortController;setTimeout((()=>e.abort()),o),i=e.signal}returnfetch(t,{signal:i})},k="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:S}=w,C=S&&newURL(S).host;letA=y(C||`assets.${k}`);n.disableFallback||(A=A.catch((()=>{const{hostname:e}=location,t=e.match(/\.msn\.(com|cn)$/)?e:`${k}`;returny(t)})));window.crsPromise=A}(s,u,a),t.inlineCRS=!0)}catch(e){console.error("InlineHeadCommon:"+e)}}();constDt=document.head.attributes["data-info"].value;letUt;if(Dt){conste=Dt.split(";").find((e=>e.startsWith("f:")));e&&(Ut=e.substring(2),Ut.indexOf("1sw-pcsreturnhp")>-1&&D("PCSreturned.ExecutinginlineJS.",8e4,{customMesse:location.href},W.Deprecated))}functionFt(e){vart;return((null===(t=document.head)||void0===t||null===(t=t.getAttribute("data-info"))||void0===t?void0:t.split(";").find((e=>e.startsWith("f:"))))||"").includes(e)}Ft("hp-noww")||(newAt).init(),window.onerror=oe,void0!==window.onunhandledrejection&&(window.onunhandledrejection=ie),window.onErrorHandler=ne,function(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:["vendors","common","microsoft"],t=arguments.length>1&&void0!==arguments[1]?arguments[1]:"Errorwhenloadingbundle(s):",n=arguments.length>2&&void0!==arguments[2]?arguments[2]:5e5,o=arguments.length>3?arguments[3]:void0,i=arguments.length>4?arguments[4]:void0;r("msn-bndl-rtry")||r("msn-bndl-irtry")?Z():B().then((()=>{setTimeout((()=>{constn=window.homePeWebpackChunks;if(n){consts=n.length,r=e.length+1;if(s{t.length&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)}))}H(),D(t+e.toString(),,{}),i&&(H(o),i(o,{customMesse:e.toString()}))}}}),n)}))}(),(Ft("prg-sdkpreload")||Ft("prg-renderoptimize"))&&asyncfunction(){window.apnt=window.apnt||{anq:[]},window.apnt.anq=window.apnt.anq||[],awaitasyncfunction(e){if(!c())return;const{src:t,id:n,async:o=!0,container:i=document.head,retryNumber:s=0,retryDelayMs:r=0}=e;try{awaitasyncfunction(e){lett=arguments.length>1&&void0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void0!==arguments[2]?arguments[2]:100;if(t3&&void0!==arguments[3])||arguments[3];returnnewPromise(((i,s)=>{constr=function(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:void0,t=arguments.length>1&&void0!==arguments[1]?arguments[1]:void0,n=!(arguments.length>2&&void0!==arguments[2])||arguments[2],o=arguments.length>3&&void0!==arguments[3]?arguments[3]:"anonymous",i=arguments.length>4?arguments[4]:void0,s=arguments.length>5?arguments[5]:void0;if(!c())thrownewError("createScriptTisunsupportedserverside.ThiscallshouldbewrappedincanUseDOM().");constr=document.createElement("script");returnt&&(r.id=t),i&&r.setAttribute("class",i),s&&(r.onload=s),r.type="text/jascript",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,void0,void0,(()=>i(!0)));r.crossOrigin=void0,r.onerror=s,n.prepend(r)}))}(t,n,i,o)),s,r)}catch(e){D("FailedtodownloadStaticJS",,{scriptId:n,scriptSrc:t},W.Alert)}}({id:"display-sdk",src:"acdn.adnxs.com/ast/ast.js",container:document.head,retryDelayMs:200,retryNumber:5})}()}(); if(matchMedia("(prefers-color-scheme:dark)").matches){consts=document.createElement("style");document.head.appendChild(s);s.type="text/css";s.appendChild(document.createTextNode("body{background:#}"));}const_clientSettings=JSON.parse(document.head.dataset.clientSettings);functionpreloadConfigIDB(){consto=window.indexedDB;if(!o)return;conste="Configurations_12",n="IndexedDB-"+e+".",r=window._appTimings||(window._appTimings={});r[n+"open-Start"]=performance.now(),window._idbConfigLookup={};consti=window._idbConfigLookup;lett,s;window._idbConfigReadPromise=newPromise((o,e)=>{t=o,s=e}),window._idbConfigOpenPromise=(()=>{try{constd=o.open("wwConfigs",1);returnnewPromise((o,c)=>{d.onerror=(()=>{c(newError("ConfigIDBpreloadopenfailure:"+d.error))}),d.onsuccess=(()=>{r[n+"open-End"]=performance.now();constc=d.result;o(c),r[n+"getAllObjects-Start"]=performance.now();consta=c.transaction(e,"readonly").objectStore(e).openCursor();a.onsuccess=function(){consto=this.result;o?(i[o.key]=o.value,o.continue()):(r[n+"getAllObjects-End"]=performance.now(),t())},a.onerror=(()=>{s(newError("ConfigIDBpreloadreadfailure"))})}),d.onupgradeneeded=(()=>{d.result.createObjectStore(e)})})}catch(o){returnPromise.reject(newError("ConfigIDBpreloadopenfailure:"+o))}})()}preloadConfigIDB();functionappendProtocolQSP(url){returnurl;}functionappendScript(url,async,defer,fetchPriority=""){lets=document.createElement("script");s.type="text/jascript";constakmurl=appendProtocolQSP(url);constw=window.trustedTypesURLValidation;s.src=w?w(akmurl,"bundleUrlPolicy"):akmurl;if(async){s.async=true;}if(defer){s.defer=true;}if(fetchPriority){s.fetchPriority=fetchPriority;}s.onerror=()=>onErrorHandler(s.src);s.nonce="";s.crossOrigin="anonymous";document.body.appendChild(s);}

Địa điểm:MSN 香港 | 首頁Báo cáo

Nếu có vi phạm trang web, vui lòng nhấp vào Báo cáoBáo cáo

Thông tin đề xuất

Trang web được đề xuất