;var de=a(22674),le=a(40082),ce=a(53046);const he=ce.i`
    .event-card a{
        color: var(--event-text-color-dark, --neutral-foreground-rest);
    }
`,ue=ce.i`
`,pe=ce.i`
`,ge=ce.i` cs-sd-card::part(title){font-weight:600}horizontal-card-slider-v2{--viewport-height:calc(100% - 200px);--viewport-width:268px;--card-height:200px;--card-width:268px;--element-gap:16px}fluent-card{box-shadow:none;background:transparent}msn-shopping-card{background:transparent}.event-card{height:200px;display:flex;flex-direction:column;justify-content:space-around;padding-bottom:50px}.event-card img{width:var(--card-width);display:block}.event-card a{font-weight:600;text-decoration:none;white-space:pre-line;display:block;width:var(--card-width);color:var(--event-text-color,--neutral-foreground-rest)}.event-card a:hover{text-decoration:underline}.store-container{--card-height:63px;--store-logo-width:63px;--store-card-padding:0px;--store-card-background:rgba(255,255,255,0.36);--store-card-background-dark:rgba(0,0,0,0.36)}.store-container fluent-card:not(first-child){margin-top:5px}:host([fallback]) horizontal-card-slider-v2::part(flipper-container){display:none}`.withBehaviors((0,le.Uu)(he),new de.O(ue,pe)),ve={experienceConfigSchema:s};(0,v.z)().withShadowRootMode("closed").withElementDisambiguation((()=>g.h.ignoreDuplicate)).register((0,m.QT)(),(0,f.hb)(),(0,y.q$)(),(0,b.H5)(),(0,w.WE)(),(0,u.ay)()),(0,p.D)().withShadowRootMode("open").withElementDisambiguation((()=>g.h.ignoreDuplicate)).withPrefix("cs").register((0,l.l7)(),(0,c.QZ)(),(0,h.RM)(),(0,C.J)(),(0,k.G)())},30113:function(e,t,a){"use strict";var r;a.d(t,{m:function(){return r}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(r||(r={}))},11708:function(e,t,a){"use strict";var r;a.d(t,{f:function(){return r}}),function(e){e.AiCharacter="aicharacterCardEnabled",e.AutosMarketplaceCard="autosmarketplaceCardEnabled",e.HoroscopeCard="horoscopeCardEnabled",e.WeatherCard="weatherCardEnabled",e.SportsCard="sportsCardEnabled",e.MoneyCard="moneyCardEnabled",e.FinanceCard="financeCardEnabled",e.OnThisDayCard="onthisdayCardEnabled",e.ShoppingCard="shoppingCardEnabled",e.ShoppingEventCard="eventSDCardShoppingEnabled",e.TrafficCard="trafficCardEnabled",e.EsportsCard="esportsCardEnabled",e.EsportsStreamsCard="esportsStreamsCardEnabled",e.ElectionsCard="genericelectionCardEnabled",e.LotteryCard="lotteryCardEnabled",e.QnaCard="qnaCardEnabled",e.RecipesCard="recipeCardEnabled",e.InspirationCard="inspirationCardEnabled",e.TravelCard="travelCardEnabled",e.HealthCard="healthCardEnabled",e.TopStoriesCard="topstoriesCardEnabled",e.TrendingTopics="TrendingTopicsUpsellEnabled",e.LocalGuideCard="localGuideCardEnabled",e.GroceryCard="groceryCardEnabled",e.RewardsCard="rewardsCardEnabled",e.RecommendedSearchesCard="recommendedSearchesCardEnabled",e.PersonalizedOffersCard="personalizedoffersCardEnabled",e.PollsCard="pollsCardEnabled",e.MarketPlaceCard="marketplaceCardEnabled",e.QuizCard="quizCardEnabled",e.CasualGamesCard="esportsCardEnabled",e.CommuteCard="commuteCardEnabled",e.Crypto="CryptoCard",e.MarketBrief="MarketBriefCard"}(r||(r={}))},83152:function(e,t,a){"use strict";var r;a.d(t,{L:function(){return r}}),function(e){e.Location="Location",e.Weather="Weather",e.Finance="Finance",e.Team="Team",e.League="League",e.Player="Player",e.Traffic="Traffic",e.Widget="Widget",e.TopicFeed="TopicFeed"}(r||(r={}))},791:function(e,t,a){"use strict";a.d(t,{N:function(){return b}});var r=a(33940),i=a(33954),o=a(26415),n=a(68364),s=a(33799),d=a(16517),l=a(94788),c=a(67267),h=a(63535),u=a(87298),p=a(83152),g=a(11708),v=a(30113),m=a(65135),f=a(33379),y=a(51671);const b=new class extends class{constructor(e){this.fetchImpl=e,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},a=(0,h.PH)(this.locationsServiceEndPoint);let i;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{i=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: getUserDefaultLocation}`;throw new Error(t)}return e}))),"getUserDefaultLocation")}catch(e){return i}return i}))}addToFavoriteLocation(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const a="Location",i="Follow",o={method:"POST",body:JSON.stringify({actionType:i,targetType:a,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,h.PH)(this.pdpServiceEndpoint);let l;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{l=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,a={},i){return(0,r.mG)(this,void 0,void 0,(function*(){const o=p.L.Location,n="Follow",l=yield this.getRequestInit({method:"POST"},a);l.body=JSON.stringify({actionType:n,targetType:o,definitionName:t,degree:"DefaultLocation",metaData:e});const g=(0,h.PH)(this.pdpServiceEndpoint);return((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=i?i:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,l);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(o),!0}))}updateTrafficMyRoutes(e,t,a,o,n,s){return(0,r.mG)(this,void 0,void 0,(function*(){const d=a.replace(/[^a-zA-Z0-9\-.,_]/g,""),l=p.L.Traffic,h="Follow",g={method:"POST",body:JSON.stringify({actionType:h,targetType:l,targetId:d,degree:e,definitionName:t,metadata:o,createdDateTime:s}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},v=yield this.getTrafficPdpUrl(null,null,n);try{yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(v.href,g);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${l}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(l)}catch(e){return i.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,a){return(0,r.mG)(this,void 0,void 0,(function*(){const i={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,t,a);try{yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,i);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var a;return(0,r.mG)(this,void 0,void 0,(function*(){const i={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,i);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"getTrafficFromPdp");return null===(a=yield e.json())||void 0===a?void 0:a.value}catch(e){return null}}))}getTrafficPdpUrl(e,t,a){return(0,r.mG)(this,void 0,void 0,(function*(){const r=(0,h.PH)(this.pdpServiceEndpoint),i=(yield(0,y.XJ)())===s.Hy.SignedIn,o=(0,d.Yq)().UserId,n=i?c.$.getOneServiceParamsWithAuth(o,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(o,this.ocid,!this.ocidOverride);if(e||t){const a=`targetType eq '${p.L.Traffic}'`,i=e?`degree eq '${e}'`:"",o=t?`definitionName eq '${t}'`:"";r.searchParams.set("$filter",`actionType eq 'Follow' and (${a})${i?` and (${i})`:""}${o?` and (${o})`:""}`)}return[...n,...a||[]].forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)})),r}))}addToWatchList(e,t=0,a={},i={}){return(0,r.mG)(this,void 0,void 0,(function*(){const o=p.L.Finance,n="Follow",l={method:"POST",body:JSON.stringify({actionType:n,targetType:o,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},i)}),headers:yield this.getOneserviceHeaders(a),credentials:"include"},g=(0,h.PH)(this.pdpServiceEndpoint),v="zh-cn"!==(0,d.Yq)().CurrentMarket;let m;((yield(0,y.XJ)())===s.Hy.SignedIn&&v?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{m=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,l);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(o)}catch(e){return!1}return!0}))}addListToWatchList(e,t={},a={}){return(0,r.mG)(this,void 0,void 0,(function*(){const i=p.L.Finance,o="Follow",n={method:"POST",body:JSON.stringify(e.map((e=>({actionType:o,targetType:i,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},a)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},l=(0,h.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,d.Yq)().CurrentMarket;let v;((yield(0,y.XJ)())===s.Hy.SignedIn&&g?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&l.searchParams.set(e.key,e.value)}));try{v=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(l.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${i}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(i)}catch(e){return!1}return!0}))}generateUUID(){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const a=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?a:3&a|8).toString(16)}))}sortWatchList(e,t={}){var a;return(0,r.mG)(this,void 0,void 0,(function*(){const i=p.L.Finance,o="Follow",n=yield b.readPdpWithTargetType(p.L.Finance,!0,200,t),l=n&&(null===(a=n.value)||void 0===a?void 0:a.filter((e=>e.actionType===o&&e.targetId)));if(!l||l.length<e.length)return!1;const g={};let v=e.length;l.forEach((t=>{let a=e.findIndex((e=>e===t.targetId));a<0&&(a=v,v++),g[t.targetId]=JSON.stringify({actionType:o,targetId:t.targetId,targetType:i,rank:a,metadata:t.metadata})}));const m={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(t),credentials:"include"},f=(0,h.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&f.searchParams.set(e.key,e.value)}));try{yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(f.href,m);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${i}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,a,o={},n){return(0,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Weather,r={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:a}}}}),headers:yield this.getOneserviceHeaders(o),credentials:"include"},l=(0,h.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&l.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(l.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather interests call`;throw new Error(t)}}catch(e){return i.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,a={},i){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let r="";r=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const o=yield this.getRequestInit({method:"POST"},a);o.body=r;const n=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=i?i:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));const l=yield this.fetchImpl(n.href,o);if(l.status>=400){const e=`OneService returned error response. Status: ${l.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},a=JSON.stringify(t),r=yield this.getRequestInit({method:"POST"});r.body=a;const i=(0,h.PH)(this.userUpdateEndpoint),o="zh-cn"!==(0,d.Yq)().CurrentMarket;((yield(0,y.XJ)())===s.Hy.SignedIn&&o?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));const n=yield this.fetchImpl(i.href,r);if(n.status>=400){const e=`OneService returned error response. Status: ${n.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},a){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const r=[];let o;for(o in e)null!=e[o]&&r.push('"'+o+'": '+JSON.stringify(e[o]));const n='{"userSettings":{'+r.join(", ")+"}}",l=yield this.getRequestInit({method:"POST"},t);l.body=n;const u=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&u.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(u.href,l);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather setting call`;throw new Error(t)}}catch(e){return i.k.logError(e.message),!1}return!0}))}getPdpUserPreference(e,t={},a){return(0,r.mG)(this,void 0,void 0,(function*(){const o=yield this.getRequestInit({method:"GET"},t),n=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(a||(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(a||(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{const e=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,o);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!e.ok&&404!=e.status)throw Error(`code=${e.status}, ${e.statusText}`);return Object.assign(Object.assign({},yield e.json()),{is404:404==e.status})}catch(t){if(i.k.logError(t.message),e)throw Error(t.message);return null}}))}updatePdpLayoutPreference(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(a.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update layout preference setting call`;throw new Error(t)}}catch(e){return i.k.logError(e.message),!1}return!0}))}updateSegmentCardsEnableStatus(e,t=null){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const a=[];if(t){let e;for(e in t)null!=t[e]&&a.push('"'+e+'": '+JSON.stringify(t[e]))}const r=e.map((e=>e.cardType!=g.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),i=a.length>0?'{"segmentCardSettings":"{'+r+'}","userSettings":{'+a.join(", ")+"}}":'{"segmentCardSettings":"{'+r+'}"}';return this.updateUserPreference(i)}))}updateProductivityCardsEnableStatus(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{enterpriseCardsEnabled:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateGamingCardsEnableStatus(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{gamingCards:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateCommunitySettingsOptOutStatus(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t={};e.forEach((e=>{t[e.settingType]=e.optedOut?"1":"0"}));const a={communitySettings:t};return this.updateUserPreference(JSON.stringify(a))}))}updateWidgetSettings(e,t={},a){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const r=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:p.L.Widget,metadata:{prongsv2:{region:e.region,size:v.m[e.size],position:e.position}}})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(r),appError:a})}))}muteWidget(e,t={},a){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const r=e.map((e=>({actionType:"Mute",targetId:e,targetType:p.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(r),appError:a})}))}disableSpotlightCard(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const a={actionType:"Disabled",definitionName:e,targetType:p.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:t})}))}enableSpotlightCard(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(p.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,r.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:a,endpoint:i,method:o,payload:n,appError:l}=e;if(!i||!o)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),l),!1;const p=(0,h.PH)(i);let g;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)})),a&&a.forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));try{JSON.parse(n),g=n}catch(e){g=JSON.stringify(n)}const v={method:o,body:g,headers:yield this.getOneserviceHeaders(t),credentials:"include"},m="GET"==o;try{return yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,v);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${n}`;throw new Error(t)}return!m||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,l),!1}}))}getUserActions(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=[{key:"actionType",value:e}],a=yield this.sendGenericActionRequest({additionalParams:t,endpoint:this.userActionServiceEndPoint,method:"GET"});return a&&a.value}))}setUserAction(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){return!!(yield this.sendGenericActionRequest({endpoint:this.userActionServiceEndPoint,method:"POST",payload:Object.assign({actionType:e},t)}))}))}deleteUserAction(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const a=[{key:"actionType",value:e},{key:"targetId",value:t.targetId},{key:"definitionName",value:t.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:a,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const r=yield this.fetchImpl(a.href,t);if(r.status>=400){const t=`OneService returned error response while updating user preference. Status: ${r.status}, payload: ${e}`;throw new Error(t)}}catch(e){return!1}return!0}))}setPdpTargetTypesForBulkLoad(e){e&&e.length&&!this.bulkGraphActionTargetTypes&&(this.bulkGraphActionTargetTypes=e)}readPdpWithTargetType(e,t=!1,a,i={},n=!0,s=[]){return(0,r.mG)(this,void 0,void 0,(function*(){if(n){const t=yield this.getFromWebWorker(e);if(t)return t}if(this.bulkGraphActionTargetTypes&&this.bulkGraphActionTargetTypes.length)if(this.bulkGraphActionTargetTypes.indexOf(e)>=0){this.bulkGraphActionResultCache=this.bulkGraphActionResultCache||(yield this.bulkGraphActionPromise||(this.bulkGraphActionPromise=this.fetchPdpWithTargetTypes(this.bulkGraphActionTargetTypes,t,a,i,s)));const r=this.bulkGraphActionResultCache.get(e);if(r)return{value:r}}else m.M0.sendAppErrorEvent(Object.assign(Object.assign({},o.srQ),{message:`Received an unknown target type "${e}" that was not in the bulk graph action target types list "${this.bulkGraphActionTargetTypes}". Falling back to new network call. Please update the EntryPoint config's "graphActionsToBulkLoad" property to include this type.`}));const r=(yield this.fetchPdpWithTargetTypes([e],t,a,i,s)).get(e);if(r)return{value:r}}))}deleteFromPdp(e,t,a,i={},o,n="Follow",l,p=[]){return(0,r.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(i),credentials:"include"},v=(0,h.PH)(this.pdpServiceEndpoint),f=(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),b=`targetType eq '${e}'`,w=a.map((e=>`${t} eq '${e}'`)).join(" or ");let C=`actionType eq '${n}' and (${w}) and (${b})`;o&&(C+=` and (degree eq '${o}')`),v.searchParams.set("$filter",C),[...f,...p].forEach((e=>{e.value&&v.searchParams.set(e.key,e.value)}));try{yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(v.href,g);if(t.status>=400){const a=`OneService returned error response. Status: ${t.status} for actionType: ${n}, targetType: ${e}`;throw new Error(a)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return l&&m.M0.sendAppErrorEvent(Object.assign(Object.assign({},l),{pb:Object.assign(Object.assign({},l.pb),{actionType:n,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,a,i={},o=[]){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const n=e.map((e=>`targetType eq '${e}'`)).join(" or "),l=[{key:"$top",value:`${a=a||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${n})`}],p=yield this.getRequestInit({method:"GET"},i);!0===t&&(p.cache="no-store");const g=(0,h.PH)(this.pdpServiceEndpoint);[...l,...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),...o].forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));const v=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,p);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!v.ok)throw Error(`code=${v.status}, ${v.statusText}`);const m=new Map,f=yield v.json();if(!f)return m;if(f.value)for(const e of f.value){let t=m.get(e.targetType);t||m.set(e.targetType,t=[]),t.push(e)}for(const t of e)m.get(t)||m.set(t,[]);return m}))}updateMarketPreference(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(a.href,t);if(!e.ok)throw new Error(`Failed to update market preference: Status: ${e.status}`);return!0}catch(e){return i.k.logError(e.message),!1}}))}getFromWebWorker(e){return(0,r.mG)(this,void 0,void 0,(function*(){let t=null;if(l.yb){const a=this.maptoWebWorkerId(e);if(a&&a.trim()){const a=yield(0,l.ot)({id:this.maptoWebWorkerId(e)});a.fetched&&(t=a.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case p.L.Location:return"weatherpdp";case p.L.League:return"sportsleaguepdp";case p.L.Player:return"sportsplayerpdp";case p.L.Team:return"sportsteampdp";case p.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,r.mG)(this,void 0,void 0,(function*(){const a=yield c.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},a),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const a=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const a=yield this.fetchImpl(t.href,e);if(!a.ok){if(a.status>=400&&a.status<500&&408!=a.status)return a;(0,n.OO)(null,o.G9t,"Error get followed list")}return a}))),"getFollowedLists");return a.ok||(0,n.OO)(null,o.G9t,"Error get followed list"),yield a.json()}catch(e){return i.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,a={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},i=(0,h.PH)(this.userUpdateEndpoint);let o;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{o=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(i.href,a);if(e.status>=400){const a=`OneService returned error response. Status: ${e.status} for actionType: FollowList, targetType: ${t}`;throw new Error(a)}return e.json()}))),"addToFollowedLists")}catch(e){return!1}return!0}))}deleteFromFollowedLists(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,a={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},i=(0,h.PH)(this.userUpdateEndpoint);let o;[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{o=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(i.href,a);if(e.status>=400){const a=`OneService returned error response. Status: ${e.status} for actionType: UnFollowList, targetType: ${t}`;throw new Error(a)}return e.json()}))),"deleteFromFollowedLists")}catch(e){return!1}return!0}))}logError(e,t){t?m.M0.sendAppErrorEvent(Object.assign(Object.assign({},t),{pb:Object.assign(Object.assign({},t.pb),{error:e.message})})):i.k.logError(e.message)}}{constructor(){super((0,f.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===d.jG.AppType||"newsAndInterests"===d.jG.AppType||"winWidgets"===d.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===d.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===d.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===d.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===d.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},71492:function(e,t,a){"use strict";a.d(t,{BZ:function(){return l},EX:function(){return r},Hu:function(){return c},IN:function(){return n},MM:function(){return d}});var r,i=a(12884),o=a(16517);function n(e){return new URLSearchParams((0,i.zp)()).get(e)}function s(e){const t=["modal-offer-ids","modal-image-ids","pid","title","clksrc","modal-ec-ids"];for(let a=0;a<t.length;a++){const r=t[a];e.delete(r)}}function d(e,t=!1){const a=new URLSearchParams(location.search);t&&s(a),e&&e.forEach(((e,t)=>{a.set(t,e)}));const r=new URLSearchParams;return a.getAll("item").forEach((e=>r.append("item",e))),a.delete("item"),`${a}${r.getAll("item").length>0?"&"+decodeURIComponent(r.toString()):""}`}function l(){return`https://${o.jG.NavTargetHostName}`}!function(e){e.ClickSourceQueryParam="clksrc",e.ModalCarouselOfferIdsQueryParam="modal-offer-ids",e.ModalCarouselImageIdsQueryParam="modal-image-ids",e.ModalCarouselECIdsQueryParam="modal-ec-ids",e.gameFirstPositionQueryParam="game-first-position",e.itemQueryParam="item"}(r||(r={}));class c{static getSchemeAndDomain(){return window.location.origin.indexOf("localhost")>-1?window.location.origin:l()}}},30980:function(e,t,a){"use strict";a.d(t,{g:function(){return v}});var r=a(33940),i=a(38156),o=a(26785),n=a.n(o),s=a(81707),d=a(55096),l=a.n(d),c=a(87055),h=a.n(c),u=a(72653),p=a.n(u),g=a(87697);class v extends s.m{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.isShowingEntityList=!1,this.showNavList=!1,this.actionMenuItems=[],this.keyDownHandler=e=>("Escape"===e.code?(this.interestMenuButtonElement&&this.interestMenuButtonElement.focus(),this.showNavList=!1):"Tab"===e.code&&this.customTabEventHandler&&this.customTabEventHandler(this,e),!0),this.showInfoButtonTemplate=()=>{},this.handleInterestMenuMouseEnter=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!0,this.isActionMenuOpen=!1,this.headerData=Object.assign(Object.assign({},this.headerData),{isShowingEntityList:!0})},this.handleInterestMenuMouseLeave=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!1,this.showNavList=!1},this.handleNavigationMouseEnter=e=>{this.showNavList=!0,this.isActionMenuOpen&&this.toggleActionMenu(null)},this.handleNavigationMouseLeave=e=>{setTimeout((()=>{this.isShowingEntityList||(this.showNavList=!1)}),100)},this.interestMenuItemClick=(e,t)=>{this.showNavList=!1,t.onClick(e,t)},this.followInterestsButtonClick=e=>{this.showNavList=!1,this.headerData&&this.headerData.interestMenuData&&this.headerData.interestMenuData.footerMenuItem.onClick(e)},this.getInterestMenuItemTelemetryTag=e=>{var t;return null===(t=this.interestMenuTelemetryTag)||void 0===t?void 0:t.addOrUpdateChild({name:"interest",action:i.Aw.Click,behavior:i.wu.Refresh,type:i.c9.Entity,content:{headline:e.title}}).getMetadataTag()},this.handleClickForActionMenu=e=>{var t;e&&(e.target instanceof v||this.actionsMenuButtonElement&&this.actionsMenuButtonElement.contains((e.path||(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)))[0]))||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code||this.toggleActionMenu(!1,null)},this.actionMenuItemClick=e=>{if(this.headerData.actionMenuData)switch(this.toggleActionMenu(!1,null),e){case 0:return this.headerData.actionMenuData.followInterestsCallback&&this.headerData.actionMenuData.followInterestsCallback();case 1:return this.headerData.actionMenuData.manageInterestsCallback&&this.headerData.actionMenuData.manageInterestsCallback();case 2:return this.headerData.actionMenuData.hideCardCallback&&this.headerData.actionMenuData.hideCardCallback();case 3:return this.headerData.actionMenuData.moreSettingsPersonalizeCallback&&this.headerData.actionMenuData.moreSettingsPersonalizeCallback()}},this.initTelemetry=()=>{var e,t,a,r,o,n,s,d,l,c,h,u;if(!this.headerData)return;const p=this.headerData.telemetryContext;this.headerTelemetryContext=null!==(e=null==p?void 0:p.headerTelemetryObject)&&void 0!==e?e:null===(t=this.parentTelemetryObject)||void 0===t?void 0:t.addOrUpdateChild({name:"header",action:i.Aw.Click,behavior:i.wu.Navigate,content:{headline:this.headerData.title}}),this.actionMenuTelemetryTag=null!==(a=null==p?void 0:p.actionMenuTelemetryTag)&&void 0!==a?a:null===(r=this.headerTelemetryContext)||void 0===r?void 0:r.addOrUpdateChild({name:"cardactionellipsis",action:i.Aw.Click,behavior:i.wu.Open,type:i.c9.ActionButton}),this.interestMenuTelemetryTag=null!==(o=null==p?void 0:p.interestMenuTelemetryTag)&&void 0!==o?o:null===(n=this.parentTelemetryObject)||void 0===n?void 0:n.addOrUpdateChild({name:"interestmenu"}),this.interestMenuButtonTelemetryTag=null!==(d=null===(s=null==p?void 0:p.interestMenuButtonTelemetryTag)||void 0===s?void 0:s.getMetadataTag())&&void 0!==d?d:null===(l=this.parentTelemetryObject)||void 0===l?void 0:l.addOrUpdateChild({name:"interestmenu",action:i.Aw.Hover,behavior:i.wu.Open,type:i.c9.Entity}).getMetadataTag(),this.interestMenuFollowTelemetryTag=null!==(h=null===(c=null==p?void 0:p.interestMenuFollowButtonTelemetryTag)||void 0===c?void 0:c.getMetadataTag())&&void 0!==h?h:null===(u=this.parentTelemetryObject)||void 0===u?void 0:u.addOrUpdateChild({name:"followinterests",action:i.Aw.Click,behavior:i.wu.Refresh,type:i.c9.Entity}).getMetadataTag()}}connectedCallback(){var e,t;if(super.connectedCallback(),this.initTelemetry(),null===(t=null===(e=this.interestMenu)||void 0===e?void 0:e.children)||void 0===t?void 0:t.length){const e=this.interestMenu.children[0].children[1],t=null==e?void 0:e.children[0];setTimeout((()=>{t.focus()}),100)}this.actionMenuItems=this.getBaseActionMenuItems()}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.actionsMenuButtonElement=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.actionsMenuButtonElement=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}getBaseActionMenuItems(){var e,t,a,o,s,d,c,u,g,v,m,f,y,b,w,C,k,T,$,S,O,x,D,P,E,M;if(!this.headerData)return;let A=[];const I=this.headerData.telemetryContext;if(this.headerData.interestMenuData){const n=null!==(t=null===(e=null==I?void 0:I.followInterests)||void 0===e?void 0:e.getMetadataTag())&&void 0!==t?t:null===(a=this.parentTelemetryObject)||void 0===a?void 0:a.addOrUpdateChild({name:"followinterests",action:i.Aw.Click,behavior:i.wu.Follow,type:i.c9.ActionButton}).getMetadataTag(),l=null!==(s=null===(o=null==I?void 0:I.manageInterests)||void 0===o?void 0:o.getMetadataTag())&&void 0!==s?s:null===(d=this.parentTelemetryObject)||void 0===d?void 0:d.addOrUpdateChild({name:"manageinterests",action:i.Aw.Click,behavior:i.wu.Navigate,type:i.c9.ActionButton}).getMetadataTag();A.push({id:"follow",glyph:h(),title:null!==(g=null===(u=null===(c=this.headerData.actionMenuData)||void 0===c?void 0:c.strings)||void 0===u?void 0:u.followInterestsTitle)&&void 0!==g?g:"Follow interests",ariaLabel:"follow interests",onClick:()=>(0,r.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(0)})),telemetryTag:n},{id:"manage",glyph:p(),title:null!==(f=null===(m=null===(v=this.headerData.actionMenuData)||void 0===v?void 0:v.strings)||void 0===m?void 0:m.manageInterestsTitle)&&void 0!==f?f:"Manage interests",onClick:()=>(0,r.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(1)})),telemetryTag:l})}(null===(b=null===(y=this.headerData.actionMenuData)||void 0===y?void 0:y.items)||void 0===b?void 0:b.length)>0&&(A=[...A,...this.headerData.actionMenuData.items],A.length>0&&A.push({isDivider:!0}));const L=null!==(C=null===(w=null==I?void 0:I.hideCard)||void 0===w?void 0:w.getMetadataTag())&&void 0!==C?C:null===(k=this.parentTelemetryObject)||void 0===k?void 0:k.addOrUpdateChild({name:"hidecard",action:i.Aw.Click,behavior:i.wu.Hide,type:i.c9.ActionButton}).getMetadataTag(),U=null!==($=null===(T=null==I?void 0:I.moreSettings)||void 0===T?void 0:T.getMetadataTag())&&void 0!==$?$:null===(S=this.parentTelemetryObject)||void 0===S?void 0:S.addOrUpdateChild({name:"moresettings",action:i.Aw.Click,behavior:i.wu.Navigate,type:i.c9.ActionButton}).getMetadataTag();return A.push({id:"hide",glyph:n(),title:null!==(D=null===(x=null===(O=this.headerData.actionMenuData)||void 0===O?void 0:O.strings)||void 0===x?void 0:x.hideCardTitle)&&void 0!==D?D:"Hide card",ariaLabel:"hide-card",onClick:()=>(0,r.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(2)})),telemetryTag:L},{id:"more",glyph:l(),title:null!==(M=null===(E=null===(P=this.headerData.actionMenuData)||void 0===P?void 0:P.strings)||void 0===E?void 0:E.moreSettingsTitle)&&void 0!==M?M:"More settings",onClick:()=>(0,r.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(3)})),telemetryTag:U}),A}}(0,r.gn)([g.LO],v.prototype,"headerData",void 0),(0,r.gn)([g.LO],v.prototype,"isActionMenuOpen",void 0),(0,r.gn)([g.LO],v.prototype,"isShowingEntityList",void 0),(0,r.gn)([g.LO],v.prototype,"showNavList",void 0),(0,r.gn)([g.LO],v.prototype,"actionMenuItems",void 0),(0,r.gn)([g.LO],v.prototype,"actionMenuTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"headerTelemetryContext",void 0),(0,r.gn)([g.LO],v.prototype,"infoButtonTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"interestMenuButtonTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"interestMenuFollowTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"interestMenuItemTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"interestMenuTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"parentTelemetryObject",void 0),(0,r.gn)([g.LO],v.prototype,"titleTelemetryTag",void 0),(0,r.gn)([g.LO],v.prototype,"interestMenu",void 0)},61671:function(e,t,a){"use strict";a.d(t,{x:function(){return o}});var r=a(32804),i=a(22144);const o=a(53046).i`
    ${i.e} cs-sd-card-header{font-size:var(--sd-card-title-font-size,${r.sNp});
        line-height: var(--sd-card-title-line-height, ${r.vgC});font-weight:var(--sd-card-title-font-weight,normal)}fluent-button:hover{background:rgba(0,0,0,0.04)}.header-icon,.header-icon img{width:var(--sd-header-icon-width,16px);height:var(--sd-header-icon-height,16px)}.interest-menu-button svg{width:12px;height:12px}.nav-list-scroll{overflow-y:scroll}.nav-list-scroll::-webkit-scrollbar{width:6px}.nav-list-scroll::-webkit-scrollbar-thumb{height:82px;background:rgba(0,0,0,0.58);border:1px solid #767676;border-radius:20px}.title-link{color:${r.CHi};text-decoration:none}.topic-menu-nav-content{box-sizing:border-box;display:flex;position:absolute;top:36px;left:20px;padding-top:6px;min-height:40px;max-height:245px;width:276px;border-radius:4px;border:1px solid ${r.akT};
        box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.14);
        background-color: ${r.s55};
        z-index: 3;
        
        overflow-y: auto;
        overflow-x: hidden;
    }
`},8567:function(e,t,a){"use strict";a.d(t,{J:function(){return w}});var r=a(30980),i=a(61671),o=a(39181),n=a(58952),s=a(13988),d=a(11310),l=a.n(d),c=a(9555),h=a.n(c),u=a(50367),p=a.n(u);a(33763).S;const g=o.d`<fluent-button appearance="steaversion https://git-lfs.github.com/spec/v1
oid sha256:1cafa7ca4fde7c2c32a2bffc36d859c2d5f6d6c5e7ce5aa4e173e344b90f964f
size 127041
