         ${t=>t.isDarkMode?t.toastDataProps.freDarkModeBackground||D:t.toastDataProps.freLightModeBackground||P}
            <div> 
                <output role="alert">${(0,Z.g)((t=>t.toastDataProps.freTitle),(t=>(t=>S.d`
    <div class="fre-title" tabindex="0">
        ${t.toastDataProps.freTitle}
    </div>
`)(t)))}</output>
                ${(0,Z.g)((t=>t.toastDataProps.freSubtitle),(t=>(t=>S.d`
    <div class="fre-subtitle">
        ${t.toastDataProps.freSubtitle}
    </div>
`)(t)))}
                ${(0,Z.g)((t=>t.toastDataProps.freImage),(t=>(t=>S.d`
    <div class="fre-image">
        ${t.toastDataProps.freImage}
    </div>
`)(t)))}
                ${(0,Z.g)((t=>t.toastDataProps.freButton),(t=>(t=>S.d`
    <div class="fre-button">
        ${t.toastDataProps.freButton}
    </div>
`)(t)))}
                ${(0,Z.g)((t=>t.toastDataProps.hasCloseButton),(t=>(t=>S.d`
    <fluent-button
        data-t=${t=>K(t.strings)}
        class="fre-close-button"
        @click=${()=>t.closeFreToast()}
        title="${t.strings.toastCloseButtonTitle}"
        aria-label="${t.strings.toastCloseButtonTitle}"
        role="button">
        ${'<svg width="12" height="12" viewBox="0 0 12 12"><path d="M.59.72.65.65a.5.5 0 0 1 .63-.06l.07.06L6 5.29 10.65.65a.5.5 0 0 1 .7.7L6.71 6l4.64 4.65c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L6 6.71l-4.65 4.64a.5.5 0 0 1-.7-.7L5.29 6 .65 1.35A.5.5 0 0 1 .59.72L.65.65.59.72Z"/></svg>'}
    </fluent-button>
`)(t)))}
            </div> 
        </div> 
    </div>
`,Pt=t=>S.d`<div
        class="${(t=>{const{toastDataProps:e}=t||{};return e.toastType===w.p.WindowsInformation})(t)?"toast-root-wrapper-windows":"toast-root-wrapper"}${t.useEnhancedToastMessages?" enhanced-toast":""}"
        style="bottom: ${$t(t)+(t.enableBottomPositionOverride?54:0)}px; ${Mt(t)} ${t.useEnhancedToastMessages?(t=>`--fill-color: ${A(!0,t.toastDataProps.toastType)}; --neutral-foreground-rest: ${L(!0)}; --accent-foreground-rest: ${(0,x.Y)()?"#63ADE5":"#006CBE"}`)(t):""}">
        <msn-toast :focusBack=${t=>t.focusBack} ${(0,V.i)("toast")} data-t=${t.toastDataProps.moduleTelemetryTags||et(t.toastDataProps.toastType)}>
            <output role="alert">${(t=>{const{toastDataProps:e,useEnhancedToastMessages:o}=t;if(!e)return;const{toastType:s}=e;let a;switch(s){case w.p.Save:a=o?lt:rt;break;case w.p.Unsave:a=ct;break;case w.p.Mute:a=dt;break;case w.p.Follow:a=ut;break;case w.p.Unfollow:a=ht;break;case w.p.InterestFailure:a=ft;break;case w.p.ShowMore:case w.p.ShowFewer:a=pt;break;case w.p.Hide:a=gt;break;case w.p.RecommendedInterestsFailure:a=mt;break;case w.p.HideTopic:a=bt;break;case w.p.UnhideTopic:a=Ct;break;case w.p.HideSource:a=vt;break;case w.p.UnhideSource:a=xt;break;case w.p.WindowsInformation:return Tt;case w.p.ConnectionError:return yt;default:a=kt}return o?S.d`<div class="enhanced-toast-content">${wt}${a}</div>`:a})(t)}</output>
            ${(t=>t.toastDataProps&&t.toastDataProps.buttonText&&t.toastDataProps.toastType===w.p.Mute?S.d`
        <a
            aria-label="${t.toastDataProps.buttonText}"
            class="toast-navigation-link"
            data-t="${tt(t.strings)}"
            @click=${(e,o)=>t.executeAndClose(o.event)}
            @keypress=${(e,o)=>t.executeAndClose(o.event)}
            role="link"
            tabindex="0"
        >
        ${t.toastDataProps.buttonText}
        </a>`:t.toastDataProps&&t.toastDataProps.buttonText?S.d`
        <fluent-button class="lightweight toast-navigation-button"
            slot="actions"
            data-t="${tt(t.strings)}"
            @click=${(e,o)=>t.executeAndClose(o.event)}
        > ${t.toastDataProps.buttonText}
        </fluent-button>`:"")(t)}
            <fluent-button
                data-t=${t=>K(t.strings)}
                class="toast-close-button"
                slot="close-button"
                appearance="stealth"
                @click=${()=>t.closeToast()}
                title="${t.strings.toastCloseButtonTitle}"
                aria-label="${t.strings.toastCloseButtonTitle}"
                role="button">
                <svg width="12" height = "12" viewBox = "0 0 12 12" xmlns = "http://www.w3.org/2000/svg" > <path d="M6.84961 6L12 11.1504L11.1504 12L6 6.84961L0.849609 12L0 11.1504L5.15039 6L0 0.849609L0.849609 0L6 5.15039L11.1504 0L12 0.849609L6.84961 6Z" /> </svg>
            </fluent-button>
        </msn-toast>
    </div>`,Dt=S.d`
    ${(0,Z.g)((t=>t.toastDataProps&&!t.isFreToast),(t=>Pt(t)))}
    ${(0,Z.g)((t=>t.toastDataProps&&t.isFreToast),(t=>St(t)))}
`,It={experienceConfigSchema:u};(0,s.z)().withShadowRootMode("closed").withElementDisambiguation((()=>n.h.ignoreDuplicate)).register((0,a.hb)())},23539:function(t,e,o){var s,a,n,i,r,l,c;o.d(e,{q:function(){return i}}),function(t){t.Article="article",t.Gallery="gallery",t.Video="video",t.Win32="win32",t.UWP="uwp",t[t.Module=8]="Module",t[t.ActionButton=11]="ActionButton",t[t.Navigation=14]="Navigation",t[t.WebView=31]="WebView",t[t.SmartList=35]="SmartList"}(s||(s={})),function(t){t[t.Taboola=0]="Taboola",t[t.Outbrain=1]="Outbrain",t[t.MediaNet=2]="MediaNet",t[t.Editor=3]="Editor",t[t.Personalization=4]="Personalization",t[t.Autocuration=5]="Autocuration"}(a||(a={})),function(t){t[t.MUID=0]="MUID",t[t.ANID=1]="ANID",t[t.AAD=2]="AAD"}(n||(n={})),function(t){t.StartPage="startpage",t.SpartanDhp="default",t.SpartanNtp="default",t.ArticleVnext="article_vnext",t.GalleryVnext="gallery_vnext",t.GalleryClassic="gallery_classic",t.GalleryFlex="gallery_flex",t.ArticleFlex="article_flex",t.StockDetailsPage="stockdetails",t.TeamStatsPage="teamstats",t.Xfeed="xfeed",t.Interests="cinterests"}(i||(i={})),function(t){t.DHP="dhp",t.NTP="ntp",t.Article="article",t.Gallery="gallery",t.Video="video"}(r||(r={})),function(t){t.Emmx="emmx",t.Prime="prime",t.Spartan="spartan",t.ChromeExt="chromeext",t.IEExt="ieext"}(l||(l={})),function(t){t[t.Empty=0]="Empty",t[t.SearchBox=1]="SearchBox",t[t.TopSites=2]="TopSites",t[t.Suggested=4]="Suggested",t[t.ContentFeed=8]="ContentFeed",t[t.WinFRE=16]="WinFRE"}(c||(c={}))},43037:function(t,e,o){o.d(e,{WL:function(){return n},mY:function(){return i}});let s=!0;const a=[];function n(t){s=t;for(const t of a)t(s)}function i(t){a.push(t)}},66925:function(t,e,o){o.d(e,{h:function(){return i}});var s=o(65135),a=o(68364),n=o(26415);class i{static renderToast(t){this.renderToastCallback?this.renderToastCallback(t):s.M0.sendAppErrorEvent((0,a.Tr)(n.PMq,"Undefined toast render callback function"))}static setRenderToastCallback(t){this.renderToastCallback=t,this.readyResolveFn()}static expireToast(t){this.expireToastCallback?this.expireToastCallback(t):s.M0.sendAppErrorEvent((0,a.Tr)(n.hxo,"Undefined toast expire callback function"))}static setExpireToastCallback(t){this.expireToastCallback=t}static setCurrentToast(t,e){this.currentToastId!==t&&(this.currentToastId=t,this.renderToastCallback=e,this.currentToastIdChangeCallbacks.forEach((e=>e(t))),this.renderToast())}static addCurrentToastIdChangeCallback(t){t&&this.currentToastIdChangeCallbacks.push(t)}}i.ready=new Promise((t=>i.readyResolveFn=t)),i.currentToastIdChangeCallbacks=[]},85334:function(t,e,o){var s;o.d(e,{p:function(){return s}}),function(t){t.Save="Save",t.Unsave="Unsave",t.Mute="Mute",t.Follow="Follow",t.Unfollow="Unfollow",t.InterestFailure="InterestFailure",t.ShowMore="ShowMore",t.ShowFewer="ShowFewer",t.Hide="Hide",t.DisableNotification="DisableNotification",t.EnableNotification="EnableNotification",t.RecommendedInterestsFailure="RecommendedInterestsFailure",t.Refresh="Refresh",t.Pin="Pin",t.Unpin="Unpin",t.HideTopic="HideTopic",t.UnhideTopic="UnhideTopic",t.HideSource="HideSource",t.UnhideSource="UnhideSource",t.WindowsInformation="WindowsInformation",t.Error="Error",t.Default="Default",t.ConnectionError="ConnectionError",t.Fre="Fre",t.TuneYourFeed="TuneYourFeed"}(s||(s={}))},40810:function(t,e,o){o.d(e,{a:function(){return s},H:function(){return r}});var s,a=o(26415),n=o(65135);class i extends Map{constructor(t){super(),this.identifier=t,this.subscriptions=new Map}set(t,e){super.set(t,e);const o=this.subscriptions.get(t);return o&&o.size?(o.forEach((o=>{try{o&&o(e)}catch(e){n.M0.sendAppErrorEvent(Object.assign(Object.assign({},a.fG_),{message:"Failed to execute subscription callback",pb:Object.assign(Object.assign({},a.fG_.pb),{customMessage:`Error executing subscription callback for key [${t}]`,instanceId:this.identifier,errorMessage:e&&e.message})}))}})),this):this}subscribe(t,e){if(!e||"function"!=typeof e)return;let o=this.subscriptions.get(t);o||(this.subscriptions.set(t,new Set),o=this.subscriptions.get(t)),o.add(e),this.has(t)&&e(this.get(t))}unsubscribe(t,e){const o=this.subscriptions.get(t);o&&o.delete(e)}}!function(t){t[t.IsSignedIn=1]="IsSignedIn",t[t.CookieConsentStatus=2]="CookieConsentStatus",t[t.OnetrustActiveCookieGroups=3]="OnetrustActiveCookieGroups",t[t.IsDarkMode=4]="IsDarkMode",t[t.ColumnArrangement=5]="ColumnArrangement",t[t.CurrentRoute=6]="CurrentRoute",t[t.TopicData=7]="TopicData",t[t.IsDocumentVisible=8]="IsDocumentVisible",t[t.IsSingleColumn=9]="IsSingleColumn"}(s||(s={}));const r=new class extends i{subscribe(t,e){this.has(t)||(t===s.IsDarkMode&&this.initBrowserThemeListener(),t===s.IsDocumentVisible&&this.initBrowserVisibilityListener()),super.subscribe(t,e)}initBrowserThemeListener(){const t=matchMedia("(prefers-color-scheme:dark)");this.set(s.IsDarkMode,t.matches),t.onchange=t=>{this.set(s.IsDarkMode,t.matches)}}initBrowserVisibilityListener(){this.set(s.IsDocumentVisible,"visible"===document.visibilityState),document.addEventListener("visibilitychange",(()=>{this.set(s.IsDocumentVisible,"visible"===document.visibilityState)}))}}("AppState")},35928:function(t,e,o){o.d(e,{Nd:function(){return u}});const s=Object.freeze(function(){const t=JSON.parse(document.head.dataset.clientSettings||"{}"),e={activityId:t.aid||"",appType:t.apptype,categoryKey:t.categoryKey,pageType:t.pagetype,verticalKey:t.verticalKey||t.vk,ocid:t.ocid};try{if(t.locale)e.market=`${t.locale.language}-${t.locale.market}`;else{const t=location.pathname.split("/");t&&t[1]&&(e.market=t[1].toLowerCase())}}catch(t){}return e}());var a,n=o(40810);!function(t){t[t.Router=0]="Router",t[t.ExternalLink=2]="ExternalLink",t[t.PrimeExternalLink=3]="PrimeExternalLink"}(a||(a={}));var i=o(38156),r=o(60483),l=o(16517);const c="spapage",d=["ocid","item","pcsonly","fdhead"];const u=new class{constructor(){this.contextualNavMap=new Map,this.hamburgerMenuMap=new Map,this.market=s.market,this.currentUrl=new URL(location.href.toLowerCase()),this.currentSearchParams=new URLSearchParams(location.search.toLowerCase()),this.refIds=[]}init(t){if(this.options||!t)return;this.options=t,this.config=t.config,this.options.localizedStrings=this.options.localizedStrings||{},"/"===location.pathname&&(location.pathname=`/${this.market}${t.basePath||""}`);const e=this.currentUrl.searchParams.get(c);this.currentPath=e?`/${this.market}${t.basePath}/${e}`:this.currentUrl.pathname,this.currentUrl.searchParams.delete(c),this.currentSearchParams.forEach(((t,e)=>{-1===d.indexOf(e)&&this.currentUrl.searchParams.delete(e)})),this.setRoutes(this.config),this.currentRoute&&(n.H.set(n.a.CurrentRoute,this.currentRoute),window.history.replaceState(this.currentRoute,"",e||location.port?this.currentRoute.destinationUrl:location.href)),window.addEventListener("popstate",(t=>{t.state&&t.state.disableCurrentRouteUpdate||n.H.set(n.a.CurrentRoute,t.state||this.contextualNavMap.get("myfeed"))}))}subscribe(t){(t||"function"==typeof t)&&n.H.subscribe(n.a.CurrentRoute,t)}getCurrentRoute(){return n.H.get(n.a.CurrentRoute)}navigate(t,e){const o=n.H.get(n.a.CurrentRoute);if(o&&o.id===t)return;const s=this.getRouteById(t),a=new URL(s.destinationUrl);if(a.hash&&(a.hash="",s.destinationUrl=decodeURIComponent(a.toString())),!s)return;const i=Object.assign(Object.assign({},s),{dynamicContext:e});history.pushState(i,s.display,s.destinationUrl),n.H.set(n.a.CurrentRoute,i),window.dispatchEvent(new CustomEvent("header-route-changed",{detail:{route:s}}))}getRouteById(t){return this.contextualNavMap.get(t)||this.hamburgerMenuMap.get(t)}preserveQueryParams(t){const e=t.searchParams;this.currentUrl.search&&this.currentUrl.searchParams.forEach(((o,s)=>{s=s.toLowerCase(),-1===e.getAll(s).indexOf(o)&&t.searchParams.append(s,o)})),!t.searchParams.get("ocid")&&this.options.ocid&&t.searchParams.set("ocid",this.options.ocid)}getUrlInfo(t){const{renderType:e,path:o,externalUrl:s}=t.renderInfo;if(e===a.Router){if(t.id===this.config.homeNavigationItem.id)return this.getHomePageUrl();const e=`${0===o.indexOf("personalize")?"":"/interest"}/${o}`;return{url:`${location.origin}/${this.market}/feed${e}${this.currentUrl.search}${location.hash}`,path:`/${this.market}/feed${e}`}}let n=new URL(s);return-1===n.hostname.indexOf(".msn.com")&&-1===n.hostname.indexOf(".msn.cn")||(n.hostname!==location.hostname&&(n=new URL(`${n.pathname}${n.search}`,location.origin)),this.preserveQueryParams(n)),{url:decodeURIComponent(n.toString()),path:n.pathname,searchParams:n.searchParams}}setRoutes(t){if(!t)return;const{contextualNavItems:e=[],hamburgerMenuItems:o=[],homeNavigationItem:s,interestsNavigationItem:a}=t;s&&o.length&&e.length&&(this.buildNavMap(this.contextualNavMap,s),this.mapChildItems(this.hamburgerMenuMap,o),this.mapChildItems(this.contextualNavMap,e),this.buildNavMap(this.contextualNavMap,a),this.refIds.length&&this.refIds.forEach((t=>{const e=`${t}-ref`;this.contextualNavMap.set(e,Object.assign(Object.assign({},this.getRouteById(t)),{id:e}))})))}processRoute(t,e){const{id:o,display:s,displayKey:a}=t,n=a?this.options.localizedStrings[a]:s,l=this.getUrlInfo(t),c=decodeURIComponent(l.url),d=Object.assign(Object.assign({},t),{display:n,destinationUrl:c,parentId:e,telemetryMetadata:new r.D({name:n,action:i.Aw.Click,behavior:i.wu.Navigate,content:{headline:n},destinationUrl:c,overrideDestinationUrl:c,feed:{id:o,name:n,type:"category filter"}}).getMetadata()});return this.detectCurrentRoute(d,l.path,l.searchParams),d}detectCurrentRoute(t,e="",o){if(e=e.toLowerCase(),this.currentPath===e||this.currentPath===`${e}/`){let e=!1;if(o&&o.toString()&&o.forEach(((t,o)=>{o=o.toLowerCase(),-1===this.currentSearchParams.getAll(o).indexOf(t.toLowerCase())&&(e=!0)})),e)return;this.currentRoute=t}}buildNavMap(t,e){if(!e)return;const{id:o,children:s=[],navRefId:a}=e;a?this.refIds.push(a):(t.set(o,this.processRoute(e)),this.mapChildItems(t,s,e.id))}mapChildItems(t,e=[],o){e.forEach((e=>{if(e.navRefId)return void this.refIds.push(e.navRefId);t.set(e.id,this.processRoute(e,o));const{children:s}=e;s&&s.length&&this.mapChildItems(t,s,e.id)}))}getHomePageUrl(){const t=this.currentSearchParams.get("ocid");return t||this.options.ocid?{url:`${location.origin}/${this.market}/feed${this.currentUrl.search}`,path:`/${this.market}/feed`}:["direct","mailsignout"].includes(t)||l.jG.isMobile?{url:`https://www.msn.${location.hostname.endsWith(".cn")?"cn":"com"}/${this.market}${this.currentUrl.search}`,path:this.market}:{url:`${location.origin}/${this.market}${this.currentUrl.search}`,path:this.market}}}},16859:function(t,e,o){o.d(e,{Y:function(){return l}});var s=o(32804),a=o(78125),n=o(97186),i=o(60279);const r=(0,o(9791).Z)((t=>{let e=(0,n.in)(t);if(null!==e)return e;if(e=(0,n.hg)(t),null!==e)return e;throw new Error(`${t} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class l{constructor(t,e){this.cache=new WeakMap,this.light=t,this.dark=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t);e&&s.IfY.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new c(this.light,this.dark,t),o=s.IfY.getValueFor(t);s.IfY.subscribe(e,t),e.attach(o),this.cache.set(t,e)}}class c{constructor(t,e,o){this.light=t,this.dark=e,this.source=o,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){const e=(o=t.toColorString(),(0,i.hM)(r(o))<=a.h.DarkMode?"dark":"light");var o;this.attached!==this[e]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[e],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}}}]);A
Eo