forked from bombastictranz/bombastictranz
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSSR-extension.3acb37f1091527762c0e.js.download
1 lines (1 loc) · 46.4 KB
/
SSR-extension.3acb37f1091527762c0e.js.download
1
!function(){var e={87322:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",i="hour",s="day",r="week",o="month",a="quarter",c="year",d="date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},w=function(e,t,n){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(n)+e},p={s:w,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),i=Math.floor(n/60),s=n%60;return(t<=0?"+":"-")+w(i,2,"0")+":"+w(s,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),s=t.clone().add(i,o),r=n-s<0,a=t.clone().add(i+(r?-1:1),o);return+(-(i+(n-s)/(r?s-a:a-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return{M:o,y:c,w:r,d:s,D:d,h:i,m:n,s:t,ms:e,Q:a}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",f={};f[g]=h;var m=function(e){return e instanceof C},S=function(e,t,n){var i;if(!e)return g;if("string"==typeof e)f[e]&&(i=e),t&&(f[e]=t,i=e);else{var s=e.name;f[s]=e,i=s}return!n&&i&&(g=i),i||!n&&g},y=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},v=p;v.l=S,v.i=m,v.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function h(e){this.$L=S(e.locale,null,!0),this.parse(e)}var w=h.prototype;return w.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(v.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(u);if(i){var s=i[2]-1||0,r=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],s,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)):new Date(i[1],s,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},w.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},w.$utils=function(){return v},w.isValid=function(){return!("Invalid Date"===this.$d.toString())},w.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},w.isAfter=function(e,t){return y(e)<this.startOf(t)},w.isBefore=function(e,t){return this.endOf(t)<y(e)},w.$g=function(e,t,n){return v.u(e)?this[t]:this.set(n,e)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(e,a){var u=this,l=!!v.u(a)||a,h=v.p(e),w=function(e,t){var n=v.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return l?n:n.endOf(s)},p=function(e,t){return v.w(u.toDate()[e].apply(u.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},g=this.$W,f=this.$M,m=this.$D,S="set"+(this.$u?"UTC":"");switch(h){case c:return l?w(1,0):w(31,11);case o:return l?w(1,f):w(0,f+1);case r:var y=this.$locale().weekStart||0,C=(g<y?g+7:g)-y;return w(l?m-C:m+(6-C),f);case s:case d:return p(S+"Hours",0);case i:return p(S+"Minutes",1);case n:return p(S+"Seconds",2);case t:return p(S+"Milliseconds",3);default:return this.clone()}},w.endOf=function(e){return this.startOf(e,!1)},w.$set=function(r,a){var u,l=v.p(r),h="set"+(this.$u?"UTC":""),w=(u={},u[s]=h+"Date",u[d]=h+"Date",u[o]=h+"Month",u[c]=h+"FullYear",u[i]=h+"Hours",u[n]=h+"Minutes",u[t]=h+"Seconds",u[e]=h+"Milliseconds",u)[l],p=l===s?this.$D+(a-this.$W):a;if(l===o||l===c){var g=this.clone().set(d,1);g.$d[w](p),g.init(),this.$d=g.set(d,Math.min(this.$D,g.daysInMonth())).$d}else w&&this.$d[w](p);return this.init(),this},w.set=function(e,t){return this.clone().$set(e,t)},w.get=function(e){return this[v.p(e)]()},w.add=function(e,a){var d,u=this;e=Number(e);var l=v.p(a),h=function(t){var n=y(u);return v.w(n.date(n.date()+Math.round(t*e)),u)};if(l===o)return this.set(o,this.$M+e);if(l===c)return this.set(c,this.$y+e);if(l===s)return h(1);if(l===r)return h(7);var w=(d={},d[n]=6e4,d[i]=36e5,d[t]=1e3,d)[l]||1,p=this.$d.getTime()+e*w;return v.w(p,this)},w.subtract=function(e,t){return this.add(-1*e,t)},w.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=v.z(this),s=this.$locale(),r=this.$H,o=this.$m,a=this.$M,c=s.weekdays,d=s.months,u=function(e,i,s,r){return e&&(e[i]||e(t,n))||s[i].substr(0,r)},h=function(e){return v.s(r%12||12,e,"0")},w=s.meridiem||function(e,t,n){var i=e<12?"AM":"PM";return n?i.toLowerCase():i},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:v.s(a+1,2,"0"),MMM:u(s.monthsShort,a,d,3),MMMM:u(d,a),D:this.$D,DD:v.s(this.$D,2,"0"),d:String(this.$W),dd:u(s.weekdaysMin,this.$W,c,2),ddd:u(s.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:v.s(r,2,"0"),h:h(1),hh:h(2),a:w(r,o,!0),A:w(r,o,!1),m:String(o),mm:v.s(o,2,"0"),s:String(this.$s),ss:v.s(this.$s,2,"0"),SSS:v.s(this.$ms,3,"0"),Z:i};return n.replace(l,(function(e,t){return t||p[e]||i.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(e,d,u){var l,h=v.p(d),w=y(e),p=6e4*(w.utcOffset()-this.utcOffset()),g=this-w,f=v.m(this,w);return f=(l={},l[c]=f/12,l[o]=f,l[a]=f/3,l[r]=(g-p)/6048e5,l[s]=(g-p)/864e5,l[i]=g/36e5,l[n]=g/6e4,l[t]=g/1e3,l)[h]||g,u?f:v.a(f)},w.daysInMonth=function(){return this.endOf(o).$D},w.$locale=function(){return f[this.$L]},w.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),i=S(e,t,!0);return i&&(n.$L=i),n},w.clone=function(){return v.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},h}(),N=C.prototype;return y.prototype=N,[["$ms",e],["$s",t],["$m",n],["$H",i],["$W",s],["$M",o],["$y",c],["$D",d]].forEach((function(e){N[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),y.extend=function(e,t){return e.$i||(e(t,C,y),e.$i=!0),y},y.locale=S,y.isDayjs=m,y.unix=function(e){return y(1e3*e)},y.en=f[g],y.Ls=f,y.p={},y}()}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){if(void 0!==n){const t=n.e,i={};var e;document.head.getAttribute("data-info");n.e=function(s){return t(s).catch((function(t){const r=i.hasOwnProperty(s)?i[s]:2;if(void 0===e&&(e=!1),e&&2===r&&(n.p=n.p.replace("/assets.","/assets2.")),r<1)throw t;return new Promise((function(e){setTimeout((function(){i[s]=r-1,e(n.e(s))}),100)}))}))}}}(),function(){"use strict";var e,t,i,s,r,o,a,c,d,u,l,h,w,p;!function(e){e.msnews="msnews",e.entnewsntp="entnewsntp",e.msedgdhp="msedgdhp",e.msedgntp="msedgntp",e.chromentpnews="chromentpnews"}(e||(e={})),function(e){e.Stock="Stock",e.L3_Ownership="L3_Ownership",e.L3_Earnings="L3_Earnings",e.L3_Sentiment="L3_Sentiment",e.Index_L3_Sentiment="Index_L3_Sentiment",e.Crypto_L3_Sentiment="Crypto_L3_Sentiment",e.L3_Grades="L3_Grades",e.L3_Financials="L3_Financials",e.L3_History="L3_History",e.L3_Options="L3_Options",e.L3_Related="L3_Related",e.Index_L3_Related="Index_L3_Related",e.L3_Company="L3_Company",e.L3_Analysis="L3_Analysis",e.L3_Events="L3_Events",e.Index="Index",e.ETF="ETF",e.ETF_L3_Ownership="ETF_L3_Ownership",e.ETF_L3_Holdings="ETF_L3_Holdings",e.Fund="Fund",e.Fund_L3_Ownership="Fund_L3_Ownership",e.Fund_L3_Holdings="Fund_L3_Holdings",e.Commodity="Commodity",e.Commodity_L3_Ownership="Commodity_L3_Ownership",e.Currency="Currency",e.CryptocurrencyLanding="CryptocurrencyLanding",e.Cryptocurrency="Cryptocurrency",e.Watchlist="Watchlist",e.WatchlistSummary="WatchlistSummary",e.WatchlistJourney="WatchlistJourney",e.Markets="Markets",e.MarketsOfFunds="Markets_Funds",e.MarketsOfETFs="Markets_ETFs",e.DetailOfCollection="DetailOfCollection",e.Landing="Landing",e.Learn_Cryptocurrencies="Learn_Cryptocurrencies",e.Discover="Discover",e.InvestorDetails="InvestorDetails",e.ListDetails="ListDetails",e.ListOverview="ListOverview",e.MyLists="MyLists",e.InvestingNews="InvestingNews",e.CompaniesNews="CompaniesNews",e.CompanyNews="CompanyNews",e.TopStocksNews="TopStocksNews",e.PersonalFinanceNews="PersonalFinanceNews",e.SpendingNews="SpendingNews",e.RetirementNews="RetirementNews",e.CreditNews="CreditNews",e.TaxesNews="TaxesNews",e.InsuranceNews="InsuranceNews",e.RealEstateNews="RealEstateNews",e.CareersNews="CareersNews",e.EducationNews="EducationNews",e.SmallBusinessNews="SmallBusinessNews",e.BusinessNews="BusinessNews",e.BusinessClassNews="BusinessClassNews",e.TechnologyNews="TechnologyNews",e.EconomyNews="EconomyNews",e.CareerEducationNews="CareerEducationNews",e.VideoNews="VideoNews",e.FinanceNews="FinanceNews",e.ConsolidatedCreditNews="ConsolidatedCreditNews",e.GadgetsNews="GadgetsNews",e.IndepthNews="IndepthNews",e.IncometaxNews="IncometaxNews",e.EntrepreneurNews="EntrepreneurNews",e.MarketexpressNews="MarketexpressNews",e.PropertyNews="PropertyNews",e.SavingInvestingNews="SavingInvestingNews",e.BeursNews="BeursNews",e.LuxuryNews="LuxuryNews",e.StartupNews="StartupNews",e.TarimNews="TarimNews",e.FgtsNews="FgtsNews",e.Events="Events",e.ExploreCenter="ExploreCenter",e.Compare="Compare",e.Ask="Ask",e.Widget="Widget",e.Chart="Chart",e.EntityDetail="EntityDetail",e.Unknown="Unknown"}(t||(t={})),function(e){e.Undefined="Undefined",e.Watchlist_Management="Watchlist_Management",e.Watchlist_Browsing="Watchlist_Browsing",e.CurrencyL1="CurrencyL1",e.CurrencyDetail="CurrencyDetail"}(i||(i={})),function(e){e.Summary="Summary",e.Financials="Financials",e.Analysis="Analysis",e.Options="Options",e.Earnings="Earnings",e.Ownership="Ownership",e.Company="Company",e.History="History",e.Related="Related",e.Sentiment="Sentiment",e.Grades="Grades",e.Holdings="Holdings",e.Events="Events"}(s||(s={})),function(e){e.KeyRatios="KeyRatios",e.IncomeStatement="IncomeStatement",e.BalanceSheet="BalanceSheet",e.CashFlow="CashFlow",e.Unknown="Unknown"}(r||(r={})),function(e){e.Landing="Landing",e.Learn_Cryptocurrencies="Learn_Cryptocurrencies",e.Detail="Detail",e.Cryptocurrencies="Cryptocurrencies",e.CryptocurrencyDetails="CryptocurrencyDetails",e.CryptocurrenciesLanding="CryptocurrenciesLanding",e.CurrencyConverter="CurrencyConverter",e.Detail_L3="Detail_L3",e.Watchlist="Watchlist",e.Markets="Markets",e.Discover="Discover",e.InvestorDetails="InvestorDetails",e.ListDetails="ListDetails",e.InvestingNews="InvestingNews",e.CompaniesNews="CompaniesNews",e.CompanyNews="CompanyNews",e.TopStocksNews="TopStocksNews",e.PersonalFinanceNews="PersonalFinanceNews",e.SpendingNews="SpendingNews",e.RetirementNews="RetirementNews",e.CreditNews="CreditNews",e.TaxesNews="TaxesNews",e.InsuranceNews="InsuranceNews",e.RealEstateNews="RealEstateNews",e.CareersNews="CareersNews",e.EducationNews="EducationNews",e.SmallBusinessNews="SmallBusinessNews",e.BusinessNews="BusinessNews",e.BusinessClassNews="BusinessClassNews",e.TechnologyNews="TechnologyNews",e.EconomyNews="EconomyNews",e.CareerEducationNews="CareerEducationNews",e.VideoNews="VideoNews",e.FinanceNews="FinanceNews",e.ConsolidatedCreditNews="ConsolidatedCreditNews",e.GadgetsNews="GadgetsNews",e.IndepthNews="IndepthNews",e.IncometaxNews="IncometaxNews",e.EntrepreneurNews="EntrepreneurNews",e.MarketexpressNews="MarketexpressNews",e.PropertyNews="PropertyNews",e.SavingInvestingNews="SavingInvestingNews",e.BeursNews="BeursNews",e.LuxuryNews="LuxuryNews",e.StartupNews="StartupNews",e.TarimNews="TarimNews",e.FgtsNews="FgtsNews",e.Events="Events",e.ExploreCenter="ExploreCenter",e.Compare="Compare",e.Ask="Ask",e.Chart="Chart",e.Unknown="Unknown"}(o||(o={})),function(e){e.ManagementView="management",e.QuoteId="id",e.DefaultTab="tab",e.Noti="noti",e.Ocid="ocid",e.L3="l3",e.QnAId="qnaid",e.CollapsibleQuotesActiveIndex="cqai",e.CrashCourseID="crcoid",e.RelatedQuoteId="relatedQuoteId",e.RelatedSource="relatedSource",e.NewWatchlist="isNew",e.TraceId="tid",e.VideoContentID="vdcnid",e.SkipAuth="skipAuth",e.IntEnv="intEnv",e.NoHeader="noheader",e.ScrollTo="scrollTo",e.Sector="sector",e.AddedIds="addedIds",e.MiddleLayerId="miid",e.EventId="eventId",e.EventLevel="eventLevel",e.EntityIdentifier="entityIdentifier",e.Comparison="comps",e.ComparePageView="view",e.SMSImage="smsimg",e.PostId="postId",e.P1src="p1src",e.Scenario="scenario",e.Watchlist="watchlist",e.IndicatorId="indicator"}(a||(a={})),function(e){e.RecentViewed="Recent",e.TopGainers="TopGainers",e.TopLosers="TopLosers",e.MostActives="MostActives",e.Currency="Currency",e.Bond="Bond",e.Crypto="Crypto",e.PopularSearch="PopularSearch",e.PeopleAlsoWatch="peopleAlsoWatch",e.Markets="Markets",e.LargestComponents="largestComponents",e.RelatedIndices="relatedIndices",e.TopHoldings="TopHoldings",e.UpComingEarnings="UpComingEarnings",e.EarningsSurpeise="EarningsSurprise",e.SentimentBullish="SentimentBullish",e.SentimentBearish="SentimentBearish",e.RelatedQuotes="Related",e.TopGradedStocks="TopGradedStocks",e.RecentlyUpgradedStocks="RecentlyUpgradedStocks",e.ListDetails="ListDetails",e.ETFMarkets="ETFMarkets",e.FundMarkets="FundMarkets",e.Projection="Projection"}(c||(c={})),function(e){e.CryptoInsights="CryptoInsights",e.CryptoVideos="CryptoVideos",e.TrendingArticles="TrendingArticles",e.CryptoTutorials="CryptoTutorials",e.TrendingQuestions="TrendingQuestions",e.CryptoPortfolio="CryptoPortfolio",e.CryptoLists="CryptoLists",e.TrendingNews="TrendingNews"}(d||(d={})),function(e){e.CryptoInsights="fdc_cryptoInsights",e.CryptoVideos="fdc_videosFeed",e.CryptoTutorials="fdc_learnCryptoHeader",e.CryptoTutorialsDT="fdc_learnCryptoHeaderDT",e.CryptoTutorialsFromInsights="fdc_learnCryptoHeaderIns",e.CryptoLists="fdc_cryptoLists",e.TrendingQuestions="fdc_financeCryptoQnA",e.TrendingNews="fdc_financeFeeds_cryptol1",e.TrendingNewsGeoPolitical="fdc_financeFeeds_crypto"}(u||(u={})),function(e){e.PriceIncrement="Price_Increase",e.PriceDecrement="Price_Decrease",e.EarningRelease="EarningRelease",e.InstitutionalHolding="InstitutionalHolding",e.TechnicalIndicator="TechnicalIndicator",e.Sentiment="Sentiment"}(l||(l={})),function(e){e.Msn="Msn",e.Windows="Windows",e.WindowsApp="WindowsApp"}(h||(h={})),function(e){e.MlAl="MlAl",e.DomainAl="DomainAl"}(w||(w={}));!function(e){e.Normal="Normal",e.Regex="Regex",e.SEO="SEO",e.END="END"}(p||(p={}));var g,f;function m(){return!("undefined"==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}!function(e){e.InstitutionalHolding="InstitutionalHolding",e.IndividualHolding="IndividualHolding",e.PriceIncrease="Price_Increase",e.PriceDecrease="Price_Decrease",e.Sentiment="Sentiment",e.StockGrade="StockGrade",e.EarningRelease="EarningRelease",e.TechnicalIndicator="TechnicalIndicator"}(g||(g={})),function(e){e.down="down",e.up="up"}(f||(f={}));let S=new Map;const y=Object.freeze({set(e,t){return S.set(e,t),this},get:function(e,t){let n=S.get(e);return void 0===n&&t&&(n=t(),S.set(e,n)),n},clear(){S.clear()},delete:e=>S.delete(e),has:e=>S.has(e)});const v=[0,656,980,1304],C="rd",N={ver:"0.1.0",spec:{innerWidth:{clientValue:()=>window.innerWidth},innerHeight:{clientValue:()=>window.innerHeight},outerWidth:{clientValue:()=>window.outerWidth},breakpoint:{clientValue:()=>function(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n])return n}(window.innerWidth,v)},locationHash:{clientValue:()=>window.location.hash},locationHref:{clientValue:()=>window.location.href},locationHost:{clientValue:()=>window.location.host},locationHostName:{clientValue:()=>window.location.hostname},locationOrigin:{clientValue:()=>window.location.origin},locationPathName:{clientValue:()=>window.location.pathname},locationProtocol:{clientValue:()=>window.location.protocol},locationSearch:{clientValue:()=>window.location.search},screenTop:{clientValue:()=>window.screenTop},screenY:{clientValue:()=>window.screenY},canUseCssGrid:{clientValue:()=>window.CSS&&window.CSS.supports&&CSS.supports("display","grid")||!1},devicePixelRatio:{clientValue:()=>window.devicePixelRatio},language:{clientValue:()=>document.documentElement.lang},direction:{clientValue:()=>document.documentElement.dir}}};const T="__RequestDataInstance__";class b{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=k("OSATE",this.cookie),t=!!e&&"1"===e,n=k("OSAT",this.cookie);if(t&&n||!e&&!n)return this.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer ${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"interactiveLogin":e&&!n?"missOSAT":"missOSATE"}}static getInstance(){const e=y.get(T);return e||(n.g.TEST_ENV?I({href:"http://localhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}):I({href:"http://localhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}))}static resetInstance(e){const t=new b(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return y.set(T,t),t}}function k(e,t){if(t&&e){const n=new RegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);return n&&n.length>1?n[1]:null}return null}const I=b.resetInstance,R=()=>b.getInstance();function E(){return m()?window.location.href:R().url.href}var L;let _;!function(e){e.Stocks="stock",e.Funds="fund",e.Commodity="future",e.Indices="index",e.ETF="etf",e.Currency="currencyPair",e.Cryptocurrency="cryptocurrency"}(L||(L={}));new Promise((e=>{_=e}));let D=null;n(87322);var M,O;!function(e){e.RisingFast="rising fast",e.DroppingFast="dropping fast",e.RoseQuickly="rose quickly",e.DroppedQuickly="dropped quickly",e.EarningsBeat="earnings beat",e.EarningsMiss="earnings miss",e.InvestorSells="investor sells",e.InvestorBuys="investor buys",e.InvestorHolds="investor holds",e.InvestorNew="new investor",e.InvestorsNew="new Investors",e.InvestorExits="investor exits",e.InvestorsExit="investors exit",e.SentimentReinforced="sentiment reinforced",e.SentimentVulnerable="sentiment vulnerable",e.SentimentMentionsIncrease="mentions increase",e.SentimentMentionsDecrease="mentions decrease",e.TechnicalNewHigh="new 52wk high",e.TechnicalNewLow="new 52wk low",e.TechnicalPriceAboveMA="price above ma",e.TechnicalPriceBelowMA="price below ma",e.TechnicalPriceAbove200DMA="above 200 dma",e.TechnicalPriceBelow200DMA="below 200 dma",e.TechnicalPriceAbove50DMA="above 50 dma",e.TechnicalPriceBelow50DMA="below 50 dma",e.Technical200DayMA="200 day ma",e.Technical50DayMA="50 day ma",e.Technical50WeekMA="50 week ma",e.Technical20WeekMA="20 week ma",e.Technical20MonthMA="20 month ma",e.Technical10MonthMA="10 month ma",e.TechnicalOversoldRSI="oversold rsi",e.TechnicalOverboughtRSI="overbought rsi",e.MarketDown="market down",e.MarketUp="market up"}(M||(M={})),function(e){e.overrideByNoti="overrideByNoti",e.moreTI="moreTI",e.ti="ti",e.chartWidth="chartWidth",e.duration="duration"}(O||(O={}));new Map([[g.EarningRelease.toLowerCase(),t.L3_Earnings],[g.IndividualHolding.toLowerCase()+L.Commodity,t.Commodity_L3_Ownership],[g.IndividualHolding.toLowerCase()+L.ETF,t.ETF_L3_Ownership],[g.IndividualHolding.toLowerCase()+L.Funds,t.Fund_L3_Ownership],[g.IndividualHolding.toLowerCase(),t.L3_Ownership],[g.InstitutionalHolding.toLowerCase()+L.Commodity,t.Commodity_L3_Ownership],[g.InstitutionalHolding.toLowerCase()+L.ETF,t.ETF_L3_Ownership],[g.InstitutionalHolding.toLowerCase()+L.Funds,t.Fund_L3_Ownership],[g.InstitutionalHolding.toLowerCase(),t.L3_Ownership],[g.Sentiment.toLowerCase()+L.Stocks,t.L3_Sentiment],[g.Sentiment.toLowerCase()+L.Indices,t.Index_L3_Sentiment],[g.TechnicalIndicator.toLowerCase()+L.Indices,t.Index],[g.TechnicalIndicator.toLowerCase()+L.ETF,t.ETF],[g.TechnicalIndicator.toLowerCase()+L.Funds,t.Fund],[g.TechnicalIndicator.toLowerCase()+L.Commodity,t.Commodity],[g.TechnicalIndicator.toLowerCase()+L.Cryptocurrency,t.Cryptocurrency],[g.TechnicalIndicator.toLowerCase()+L.Currency,t.Currency],[g.TechnicalIndicator.toLowerCase()+L.Stocks,t.Stock],[g.TechnicalIndicator.toLowerCase(),t.Stock]]);function x(e){try{if(e)return JSON.parse(e)}catch(e){}return null}const H={activityId:"x-client-activityid",adsReferer:"ads-referer",authorization:"Authorization",entAuthorization:"Ent-Authorization",muid:"MUID",rpsToken:"UserAuthToken",taboolaSessionId:"taboola-sessionId",xboxToken:"s-xbox-token",traceParent:"traceparent",uniFeatTun:"OneSvc-Uni-Feat-Tun"};var A,P;!function(e){e.Presentation="presentation"}(A||(A={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(P||(P={}));var F,$;!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}(F||(F={})),function(e){e.Init="init",e.Config="config",e.Targeted="targeted",e.Sticky="sticky",e.NoSticky="no_sticky",e.Admin="admin",e.Forced="forced",e.Manual="manual"}($||($={}));new Set(["winp0dash","winp1taskbar","winp1taskbarent","winp1taskbardirect","winp1taskbardirectent","winp1taskbarent","winp2juntaskbar","winp2juntaskbarent","winp2","winp2ent","winp2fp","winp2fpent","winp2fptaskbar","winp2fptaskbarent","winp2fptaskbarhover","winp2fptaskbarhoverent","winp2widget","winp2widgetent"]);const W=new Set(["finance-app-win","weather-app-win","winpstoreapp"]),j=(new Set(["msedgdhp","msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]),new Set(["hpmsn"]));function B(){var e;return m()?x(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void 0===e?void 0:e.getAttribute("data-client-settings"))):null}class U{constructor(e){this.searchParams=Object.create(null),this.parseQueryString(e)}set(e,t){return null!=t&&(this.searchParams[e]=t),this}get(e){return this.searchParams[e]}delete(e){delete this.searchParams[e]}toString(){const e=Object.keys(this.searchParams);return e.length?e.sort().map((e=>`${e}=${this.searchParams[e]}`)).join("&"):""}parseQueryString(e){if(!e)return;const t=e.indexOf("?");t>-1&&(e=e.substring(t+1)),e.split("&").forEach((e=>{const t=e.split("="),n=t[0];this.get(n)||(this.searchParams[n]=t[1])}))}}const V="feed/personalize/settings";function q(e,t){const n=t.replace(/[[\]]/g,"\\$&"),i=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)").exec(e);if(!i)return null;const s=i[2];return decodeURIComponent(s.replace(/\+/g," "))||""}let G=new class{constructor(){m()?(this.isDebugEnabled=(q(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1}||"vp"===(q(window.location.href,"reqsrc")||"").toLowerCase(),this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){return null}isDebug(){return this.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTags(e){}log(e,t){this.isDebug()&&console.info(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.info(e())}logObjects(){this.isDebug()&&console.log(...arguments)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};class z{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=x(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}keys(){return this.supported?Object.keys(this.storage):[]}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return x(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw"Attempted to store null/undefined value: "+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;G.logError(e)}else if(!n)throw new Error("WebStorage not supported")}get length(){if(this.supported)return this.storage.length}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}clear(){this.supported&&this.storage.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n<this.storage.length;n++){const i=this.key(n);i&&i.includes(e)&&t.push(i)}for(let e=0;e<t.length;e++)this.removeItem(t[e])}}let J=new class extends z{constructor(){let e=null;if(m())try{e=localStorage}catch(e){}super(e)}};const Q="1s-tokens";var Y;let K,X,Z;function ee(){return K=ne(),K&&K.accessToken?K:void 0}function te(){if(K=ne(),!K)return"notAvailable";const e=K.expiresOn,t=new Date(e),n="expired";if(!t.getTime())return n;return t>new Date?"valid":n}function ne(){return K=K||void 0===K&&J.getObject(Q)||null,K}function ie(e){try{return decodeURIComponent(e)}catch(e){}}function se(e,t){if(!e)return null;if(t)return function(e){var t;const n=null===(t=document.cookie)||void 0===t?void 0:t.match(`\\b${e}=([^;]*)`);return n?ie(n[1]):null}(e);if(!Z){const e="undefined"!=typeof document&&document.cookie.split("; ");Z={};const t=e&&e.length;for(let n=0;n<t;n++){const t=e[n].indexOf("=");Z[e[n].slice(0,t).toLocaleLowerCase()]=ie(e[n].slice(t+1))}}const n=e.toLocaleLowerCase();return Z[n]||null}function re(e){let t,n=!1;const i=function(){return n||(n=!0,t=e()),t};return i.cache={clear:()=>{n=!1,t=void 0}},i}!function(e){e.NotAvailable="notAvailable",e.Expired="expired",e.Valid="valid"}(Y||(Y={}));const oe="currentaccount",ae=re((()=>{const e=se(oe,!0),t=e&&x(e),{login_hint:n}=t||{};return n&&t})),ce=re((()=>!!se(oe)));function de(){try{return localStorage}catch(e){return null}}const ue="__PageExperimentInstance__";function le(e){y.set(ue,e)}function he(e){if(!y.has(ue)&&m()){var t,n;le(we(document.head.dataset.info||(null===(t=window.document.getElementsByClassName("peregrine-widget-settings")[0])||void 0===t||null===(n=t.dataset)||void 0===n?void 0:n.info)||""))}const i=y.get(ue);return i&&i.has(e)}function we(e){const t=(e||"").replace(/(^f:|;.*$)/g,"").split(",");return new Set(t)}const pe="uxlogin",ge="uxlogout",fe="uxedit",me="useRedirect",Se="uxswitch",ye=re((()=>{const e=de();return e&&"1"===e.getItem(pe)||m()&&location.search&&location.search.includes(`${pe}=1`)}));const ve=re((()=>{const e=function(){try{return sessionStorage}catch(e){return null}}();return e&&!!e.getItem(ge)}));const Ce=re((()=>{const e=de();return e&&"1"===e.getItem(fe)}));const Ne=re((()=>{const e=de(),t=!he("prg-noredirect")&&e&&"1"===e.getItem(me)&&function(){const e=document.head.dataset.clientSettings||"",{browser:t}=x(e)||{},{browserType:n=""}=t||{};return!!/safari/i.test(n)}();return t}));const Te=re((()=>{const e=de();return e&&"1"===e.getItem(Se)}));const be={outlookMobile:"OnOOutlookMobile",officeMobile:"OnOOfficeMobile",sapphire:"OnOStartApp",skype:"OnOSkype",winWeatherApp:"weather-app-win",xiaomiApp:"xmweather-",moto:"moto",swiftKey:"swiftKey",winMoneyApp:"finance-app-win"},ke="superappdhp",Ie=["ios","android","ipados"];let Re=Fe("ocid").toLowerCase(),Ee=Fe("chpltfm"),[Le,_e]=Ee.toLowerCase().split("-");function De(){if(!m())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,i=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!i)}function Me(){const e=Ee&&"outlook"===Le&&Ie.includes(_e),t=Re===be.outlookMobile.toLowerCase();return e||t}function Oe(){const e=Ee&&["office","union"].includes(Le)&&Ie.includes(_e),t=Re===be.officeMobile.toLowerCase();return e||t}function xe(){const e=Re===be.skype.toLowerCase()||"skype"===Le;return m()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function He(){return De()||Re===be.sapphire.toLowerCase()||Re===ke.toLowerCase()}function Ae(){return"3rdp"===Le||Re.startsWith(be.xiaomiApp)||Re===be.moto.toLowerCase()||Re===be.swiftKey.toLowerCase()}const Pe=re((()=>De()||xe()||Oe()||Me()||He()||Re===be.winWeatherApp.toLowerCase()||Re===be.winMoneyApp.toLowerCase()||function(){const e=Fe("edge");return("emmx"===Le||"1"===e)&&He()}()||Ae()));function Fe(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}}const $e=B()||{},We={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1,mmx:1,edgeMobile:1},je={edgeChromium:1},Be={winWidgets:1},Ue={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1},Ve={edge:1,edgeChromium:1,channel:1,cgHomePage:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1},qe=re((()=>$e&&$e.apptype)),Ge=(re((()=>m()&&qe()in Be)),re((()=>m()&&!Pe()&&!(qe()in We)&&!Je()&&!Qe()))),ze=re((()=>Ge()&&!(qe()in je)));re((()=>Ge()&&(!(qe()in je)||!ce()))),re((()=>Ge()&&!Ke()&&!Xe()));const Je=re((()=>{const e=!(qe()in Ue)&&Ze()&&function(){const e=new URLSearchParams(m()?window.location.search:R().url.search).get("ocid")||(null==$e?void 0:$e.ocid),t=null==e?void 0:e.toLowerCase(),n=!j.has(t)&&"homePage"!==qe()&&!W.has(t);return n}()&&!function(){const e="windows"==qe()&&"windowshp"==($e&&$e.pagetype)&&E().includes(`${V}`);return e}();return e})),Qe=()=>m()&&document&&document.body&&document.body.getElementsByClassName("peregrine-widgets").length>0;re((()=>he("prg-1s-workid")||he("prg-1s-twid"))),re((()=>qe()in Ve||Je()));function Ye(){const e=X;if(e)return G.log("dual-auth: tryGet1SAuthToken returned live tokens"),e;const t=ee();if(t)return G.log(`dual-auth: tryGet1SAuthToken returned cached tokens that are ${te()}`),t;G.log("dual-auth: tryGet1SAuthToken returned empty tokens")}function Ke(){return ze()&&ye()||function(){const e=ze()&&!ye()&&ae()&&("expired"==te()||Ce());return e}()||ve()||Ne()}function Xe(){return ze()&&!ae()&&Te()}const Ze=re((()=>{const{browser:e}=$e,{browserType:t=""}=e||{};return!!/edgeChromium/i.test(t)}));re((()=>ze()&&!Je()));const et=Object.freeze({AIDRequestHeaderName:"pcs-aid",Product:Object.freeze({mmx:"emmx",edge:"spartan",edgeChromium:"anaheim",hybrid:"spartan",hub:"prime",microsoftNews:"msnews",office:"entnews",weather:"prime",views:"prime"}),PageTimings:Object.freeze({inlineStart:"page.inlineStart",fragmentFetchStart:"ssr.fragmentFetching",fragmentFetchEnd:"ssr.fragmentFetched",fragmentFetchStatusCode:"ssr.fragmentFetchStatusCode",fragmentBrowserCached:"ssr.fragmentBrowserCached",fragmentCDNCached:"ssr.fragmentCDNCached",injectingDOM:"ssr.injectingDOM",awaitingRAF:"ssr.awaitingRAF",markersSet:"ssr.markersSet",completed:"ssr.completed",CSRTimeout:"ssr.CSRTimeout",CSROnly:"ssr.csrOnly",didSSR:"ssr.isSSRPagePresent",riverEnabled:"ssr.riverEnabled",ssrState:"ssr.state",pageTTVR:"TTVR",fetchDelayReason:"ssr.fetchDelayReason",awaitingInnerWidthTime:"ssr.awaitingInnerWidthTime",skipDueToHiddenReason:"ssr.skipDueToHiddenReason",pssrRejectedReason:"ssr.pssrRejected",ssrResponseSize:"ssr.responseSize",inlineBodyStart:"ssr.inlineBodyStart",pcsEnv:"pcsEnv"}),pauseThresholdMS:1200,oneServiceHeaders:"1s-headers",edgeNTPHeader:"sec-edge-ntp",defaultSSRFeedLayout:"multi"});var tt,nt,it,st;!function(e){e[e.Mmx=0]="Mmx",e[e.Hub=1]="Hub",e[e.Homepage=2]="Homepage",e[e.Edge=3]="Edge",e[e.Weather=4]="Weather",e[e.Finance=5]="Finance",e[e.Community=6]="Community",e[e.Views=7]="Views",e[e.Gaming=8]="Gaming",e[e.Sports=9]="Sports",e[e.Health=10]="Health",e[e.Shopping=11]="Shopping",e[e.CgHomePage=12]="CgHomePage"}(tt||(tt={})),function(e){e[e.documentHidden=0]="documentHidden",e[e.hasPaused=1]="hasPaused",e[e.invalidInnerWidth=2]="invalidInnerWidth",e[e.slowFetchStart=3]="slowFetchStart"}(nt||(nt={})),function(e){e.NotStarted="NotStarted",e.Fetching="Fetching",e.InsertingDOM="InsertingDOM",e.Completed="Completed",e.HasFetchError="HasFetchError",e.HasError="HasError",e.SkipDueToCSROnly="SkipDueToCSROnly",e.SkipDueToHidden="SkipDueToHidden",e.SkipForEarlyAuth="SkipForEarlyAuth",e.PssrRejected="PssrRejected"}(it||(it={})),function(e){e.PureSSR="pssr",e.DSSR="dssr"}(st||(st={}));function rt(e){const t=e;return void 0!==t.clientValue?t.clientValue:Object.keys(e).reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:rt(e[n])})),{})}class ot{constructor(e,t){this.spec=e,this.qspPrefix=t||"rd"}get verParam(){return`${this.qspPrefix}.ver`}get data(){return void 0===this.memo&&(this.memo=rt(this.spec.spec)),this.memo}loadQueryParams(e){if(void 0!==this.memo)throw"overwriting existing query string parameters.";const t=e.get([this.qspPrefix,"ver"].join("."));if(t!==this.spec.ver)throw`unmatched spec version: expected "${this.spec.ver}" but got ${t}.`;this.memo={},e.forEach(((e,t)=>{if(!t.startsWith(this.qspPrefix))return;if(t===this.verParam)return;const n=t.split(".").slice(1);let i=this.memo;n.forEach(((t,s)=>{let r={};if(s===n.length-1)try{r=()=>JSON.parse(e)}catch(e){throw this.memo=void 0,e}Object.prototype.hasOwnProperty.call(i,t)||(i[t]=r),"object"!=typeof r||(i=i[t])}))}))}getURLSearchParams(){const e=new URLSearchParams,t=(n,i)=>{Object.keys(n).forEach((s=>{const r=n[s],o=[...i,s];"object"!=typeof r?e.append(o.join("."),JSON.stringify(r())):t(r,o)}))};return t(this.data,[this.qspPrefix]),e.sort(),e.append(this.verParam,this.spec.ver),e}getSerializedData(){return this.getURLSearchParams().toString()}}var at;let ct,dt,ut;function lt(){if(dt)return dt;const e=document.head.getAttribute("data-info");return dt=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),dt}!function(e){e.JSON="application/json;charset=UTF-8",e.HTML="text/html;charset=UTF-8"}(at=at||(at={}));var ht;!function(e){e[e.Alert=0]="Alert",e[e.NoAlert=1]="NoAlert",e[e.HighImpact=2]="HighImpact",e[e.Critical=3]="Critical"}(ht||(ht={}));const wt=new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;this.maxLength=20,this.list=[],this.maxLength=e}push(e){this.list.push(e),this.list.length>this.maxLength&&this.list.shift()}get data(){return this.list}};function pt(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht.Alert;try{const s=function(){if(!ct){const e=document.head.getAttribute("data-client-settings");e&&(ct=JSON.parse(e))}return ct}(),r=lt(),o=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,i=new Date(n).getTime(),s=!t||["prod","prod-ssr","prod-ssrntp"].includes(t.env);ut=s?"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:s?"0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279":"f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028","upload-time":i,w:"0",anoncknm:"app_anon"}}return null}(s);let a="";o&&o.apikey&&""!==o.apikey&&(a=function(e){if(e){const t=e.indexOf("-");if(t>0)return e.substring(0,t)}return""}(o.apikey));const c=function(e,t,n,i,s,r){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:ht.Alert;if(n){s=s||{};const{apptype:c,audienceMode:d,pagetype:u,pageGenTime:l,bundleInfo:h,deviceFormFactor:w="",fd_muid:p,os:g}=n;s.pageGenTime=l,s.build=h&&h.v,s.appType=c;const f=function(e,t,n){const i=n&&"phone"===n.toLowerCase(),s=t&&"enterprise"===t;return{bingHomepage:"binghomepage",mmx:"emmx",edge:"spartan",edgeChromium:s?"entnews":"anaheim",hybrid:"spartan",hub:i?"prime_mobile":"prime",microsoftNews:"msnews",office:"entnews",views:i?"prime_mobile":"prime",windowsShell:"windowsshell"}[e]}(c,d,w),m=f||c,S=document.getElementsByTagName("html")[0].getAttribute("lang");let y,v="",C="muid";try{if("edgeChromium"===c&&"object"==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);y=e.has("startpage")?"msedgdhp":"msedgntp","enterprise"===d?y="entnewsntp":"xbox"===g&&(y="xboxntp")}window&&window.getCookieConsentRequired&&"function"==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(v=se("muid"))}catch{}v||(v=n.aid,C="aid");const N={name:"MS.News.Web.AppError",time:l,ver:"4.0",iKey:`o:${i}`,data:{baseData:{},baseType:"MS.News.Web.Base",page:{name:"default",product:m,type:gt(u),content:{category:"standaloneError"},ocid:y},browser:{clientId:v,clientIdType:C},flight:{id:r},request:{activityId:n.aid,requestId:n.aid,afdMuid:p},locale:{mkt:S},extSchema:{id:e,severity:o,pb:s,message:t}}};var a;if(v&&"muid"===C)N.ext={...null==N?void 0:N.ext,user:{...null==N||null===(a=N.ext)||void 0===a?void 0:a.user,localId:`t:${v}`}};return N.data.flight.tmpl="",s.isSSRScope&&(N.data.flight.tmpl+="ssrscope:1"),"object"==typeof window&&(window.isSSREnabled&&(N.data.flight.tmpl+=";ssr-enabled:1"),window.isSSRCompleted&&(N.data.flight.tmpl+=";ssr-completed:1")),N?JSON.stringify(N):null}return null}(t,e,s,a,n,r,i);if(o&&c){console.error(c),wt.push(c);const e="https://"+ut+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}(o);navigator.sendBeacon(e,c)}}catch{}}function gt(e){let t=e;switch(e){case"windowsshellhp":t="dhp";break;case"video":t="watch"}return t}function ft(e){pt("Click event occurred before hydration",35800,{})}function mt(){return m()?window._pageTimings||(window._pageTimings={}):y.get("__diagnostics_pageTimings",(()=>({})))}const St="prg-";const yt="undefined",vt="ssrOnly",Ct="rsorigin",Nt="https://int.msn.com";function Tt(){return"hidden"===document.visibilityState}function bt(e,t,n){return e?t+"="+(n||e)+"&":""}function kt(e,t,n,i,s,r){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return t+function(e){return typeof e!==yt?bt(encodeURIComponent(e),"entry"):""}(s)+(0===(a=i).length?"":bt(encodeURIComponent("f:"+a.join(",")+";"),"dataInfo"))+(bt(window.CSS&&window.CSS.supports&&CSS.supports("display","grid")||"false","grid")+bt(document.documentElement.dir,"dir")+bt(document.documentElement.lang,"lang")+bt(window.innerHeight,"innerHeight")+bt(window.devicePixelRatio,"devicePixelRatio")+bt(encodeURIComponent(window.location.href),"href"))+function(e){let t="";if(e)for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"aid"!==n&&"pageGenTime"!==n){let i=e[n];"object"==typeof i&&(i=JSON.stringify(i)),t+=bt(encodeURIComponent(i),n)}return t}(n)+function(e){const t="true"===Mt(vt,e),n=Mt("csrDelay",e);let i="";return t&&(i+=bt("true",vt)),n&&(i+=bt(n,"csrDelay")),i}(e)+r()+o;var a}function It(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now(),n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=mt();e in i||(i[e]=n?Math.round(t):t)}function Rt(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null!==(n=e)&&"object"==typeof n&&!1===Array.isArray(n))for(const[n,i]of Object.entries(e||{}))"number"==typeof i&&It(n,i,t);var n}function Et(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];window.performance.mark(e),t&&It(e)}function Lt(e){for(let t=0;t<e.ttvrFlags.length;t++)e.ttvrFlags[t]===et.PageTimings.pageTTVR?Et(e.ttvrFlags[t],!0):Et(e.ttvrFlags[t]);Et(et.PageTimings.markersSet,!0)}function _t(e){Et(et.PageTimings.awaitingRAF,!0),e.ttvrFlags&&(typeof document.hidden!==yt==!1||Tt()?Lt(e):(window.requestAnimationFrame((function(){setTimeout((function(){Lt(e)}),0)})),document.addEventListener("visibilitychange",(function(){Lt(e)}),{once:!0})))}async function Dt(e){const t=await(n="#root",new Promise((e=>{const t=document.querySelector(n);if(t)return e(t);const i=new MutationObserver((t=>{const i=document.querySelector(n);if(i)return e(i)}));i.observe(document.body,{childList:!0,subtree:!0})})));var n;if(t.innerHTML="",!window.RENDER){e.headInjectionString&&document.head.insertAdjacentHTML("beforeend",e.headInjectionString),t.insertAdjacentHTML("afterbegin",e.html),document.head.insertAdjacentHTML("beforeend",'<style id="ssr-style">'+e.css+"</style>"),e.pageTitle&&(document.title=e.pageTitle),_t(e),window.REDUX_DATA=e.state,window.SSR=it.Completed,Et(et.PageTimings.completed,!0),"undefined"!=typeof globalThis?document.addEventListener("click",globalThis.untrackedClickHandler):document.addEventListener("click",window.untrackedClickHandler);const n=e.ssrTimings||{};Rt(n),Rt(n.configTimings),Rt(n.pageTimings)}}function Mt(e,t){return t.get(e)||t.get(e.toLowerCase())}function Ot(e){window.SSR=e,window.RENDER=!0}function xt(e){Ot(it.HasError),window.SSR_ERROR=e}function Ht(){let e=!1;const t=mt()[et.PageTimings.inlineStart],{responseStart:n}=function(){if(!m())return;const e=(performance.getEntriesByType("navigation")||[])[0],t={};for(const n in e){const i=e[n];t[n]="number"==typeof i?Math.round(i):i}return t}()||{};if(void 0!==n&&t){e=t-n>et.pauseThresholdMS}return e}function At(e,t){window.SSR=it.NotStarted,window.RENDER=!1,window.SSRONLY=e,window.RIVER=t}function Pt(e){let t=window.location.origin;return function(e,t){const n=e.indexOf("item=spalink")>=0&&-1===e.indexOf("item=spalink:latest")&&-1===e.indexOf("item=spalink%3Alatest");return!(t.get(Ct)&&"true"===t.get(Ct))&&n}(window.location.search,e)&&(t=Nt),t}function Ft(e,t,n,i,s){var r;let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:N,a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0;if(window.RENDER||window.SSR!==it.NotStarted)return;const d=null==c||null===(r=c.skipAuth)||void 0===r?void 0:r.call(c);if(!d&&(Xe()||Ke()))return void Ot(it.SkipForEarlyAuth);const u=new ot(o,C),l=function(e,t){const n="true"===Mt("ssrCdn",e);return(t||(n?"https://assets.msn.com":window.location.origin))+"/render/?fragment=true&"}(e,a),h=kt(e,l,t,n,i,s,u.getSerializedData()),w=new XMLHttpRequest,p=e=>{const t=`Fragment fetch for ${h} failed. Status code: ${w.status}. ${e}`;pt(t,34002,{}),window.SSR=it.HasFetchError,window.SSR_ERROR=new Error(t)};w.onabort=function(){p("XMLHttpRequest.onabort called.")},w.onerror=function(){p("XMLHttpRequest.onerror called.")},w.onreadystatechange=function(){try{if(4!==w.readyState)return;if(Et(et.PageTimings.fragmentFetchEnd,!0),It(et.PageTimings.fragmentFetchStatusCode,w.status,!1),w.status>=200&&w.status<300){if(!window.RENDER){window.SSR=it.InsertingDOM;const e=JSON.parse(w.responseText);if(e.html)Et(et.PageTimings.injectingDOM,!0),Dt(e);else{const e=`Fragment fetch for ${h} succeeded but returned empty html.`;pt(e,34002,{}),window.SSR=it.HasFetchError,window.SSR_ERROR=new Error(e)}}const e=w.getResponseHeader("Date"),t=w.getResponseHeader("x-cache");!function(e,t,n){const i=function(e){const t=performance.getEntriesByType("resource").filter((t=>"xmlhttprequest"===t.initiatorType&&t.name===e));return t.length>0?t[0]:null}(e);let s=!1;r=i,s=r&&("transferSize"in r||"nextHopProtocol"in r)?function(e){return void 0!==e.transferSize?0===e.transferSize:void 0!==e.nextHopProtocol?""===e.nextHopProtocol:(pt("didUseBrowserCache was called without supporting transferSize or nextHopProtocol",34003,{perfResourceTimingKeys:Object.keys(e||{})}),!1)}(i):function(e){const t=de();if(!e||!t)return pt("dateResponseHeader was empty or localStorage is not supported",34004,{dateResponseHeader:e}),!1;const n="SSRDateResponseHeader";let i=!1;const s=t.getItem(n);s&&(i=s===e);i||t.setItem(n,e);return i}(t);var r;const o=function(e,t){return!e&&"TCP_HIT"===t}(s,n);It(et.PageTimings.fragmentBrowserCached,s?1:0,!1),It(et.PageTimings.fragmentCDNCached,o?1:0,!1)}(h,e,t)}else{const e="x-msedge-ref",t=w.getResponseHeader(e)||"";p(`Response is not OK. Header: ${e}: ${t}`)}}catch(e){p(`Exception occured on XMLHttpRequest.onreadystatechange.\n${e.stack||e}`)}},w.open("GET",h),w.withCredentials=!d;const g=t.aid;if(w.setRequestHeader(et.AIDRequestHeaderName,g),!d&&ze()){const{accessToken:e}=Ye()||{},t=function(e){const t={};return e&&(t[H.authorization]=`Bearer ${e}`),t}(e);w.setRequestHeader(et.oneServiceHeaders,JSON.stringify(t))}window.SSR=it.Fetching,Et(et.PageTimings.fragmentFetchStart,!0),w.send()}function $t(e){pt("Error when loading bundle: "+e,20202,{})}function Wt(e,t,n,i,s){pt("JS Exception",20203,{source:t,customMessage:e,line:n,column:i,stack:s&&s.stack})}const jt={ver:`${N.ver}`,spec:{...N.spec,isDarkModeEnabled:{clientValue:()=>!0===window.matchMedia("(prefers-color-scheme:dark)").matches}}},Bt={shouldEnableSSR:(e,t,n,i,s)=>{const r={hasSsr:!1,isSSRRiver:!1};if("undefined"!=typeof window&&window.navigator.userAgent&&window.navigator.userAgent.includes("Applebot"))return r;if("true"===e.get("csronly"))return r;if(i.some((e=>e.startsWith("prg-fi-csr")||e.startsWith("prg-fi-csrrf"))))return r;switch(n){case"finance":case"financestockdetails":case"financecryptocurrencydetails":case"finance::cryptocurrencies":case"finance::portfolio":case"finance::markets":case"finance::FinanceTools::FinanceCurrencyConverter":case"finance::compare":case"finance::events":case"money::watchlist":return{hasSsr:!0,isSSRRiver:!1};default:return r}},shouldInsistSSRWhenHidden:(e,t,n)=>n===nt.documentHidden};window.onErrorHandler=$t,window.onerror=Wt,"undefined"!=typeof globalThis?globalThis.untrackedClickHandler=ft:window.untrackedClickHandler=ft;const Ut=B(),Vt=function(e){return t=e&&e.queryparams,n=window.location.search,t=(t||"").substring(1),n=(n||"").substring(1),new U(t+"&"+n);var t,n}(Ut),qt=function(e,t){const n=document.head.dataset.info;let i=((/f:\s*([^;]+)/i.exec(n)||{})[1]||"").toLowerCase().split(",");return i=function(e){const t=St.length,n=[];return e&&e.length&&(e.forEach((e=>{const i=e&&e.trim();i&&i.length>=t&&i.substring(0,t).toLowerCase()===St&&n.push(i.toLowerCase())})),n.sort()),n}(i),i}();function Gt(e,t,n){const i=()=>"",s=()=>{let e=!1;return t.get(a.SkipAuth)&&(e=!0,function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!m()||function(e){return!e||!function(e){return e?e.trim?e.trim():e.replace(/^\s+|\s+$/g,""):e}(e)}(e))return;const i=new URL(E());void 0!==t&&""!==t?i.searchParams.set(e,t):i.searchParams.delete(e);const s=i.toString().replace("%3A",":");window.history.replaceState({},"",s),n&&(null==D||D.updatePageMetadata({page:{url:E()}}))}(a.SkipAuth,void 0)),e};try{const r=Pt(t);Ft(t,e,n,window._ssrServiceEntryUrl,i,jt,r,{skipAuth:s})}catch(e){xt(e),pt(`Exception occured on fetchSSRPage.\n${e.stack||e}`,34007,{})}}function zt(){const e=function(e){return e.locale&&e.locale.language&&e.locale.market?`${e.locale.language}-${e.locale.market}`.toLowerCase():void 0}(Ut);(function(e,t,n,i,s,r){if(void 0===window.SSR){let o=!1;const{hasSsr:a,isSSRRiver:c}=e.shouldEnableSSR(t,n,i,s,r);if(a){o="true"===Mt(vt,t);const s=Ht(),r=Tt();if(!r&&!s||o)At(o,c);else{const t=r?nt.documentHidden:nt.hasPaused;It(et.PageTimings.skipDueToHiddenReason,t),e.shouldInsistSSRWhenHidden&&e.shouldInsistSSRWhenHidden(n,i,t)?At(o,c):(window.SSR=it.SkipDueToHidden,window.RENDER=!0)}}else Ot(it.SkipDueToCSROnly)}return!window.RENDER})(Bt,Vt,tt.Finance,Ut.pagetype,qt,e)&&Gt(Ut,Vt,qt)}window._clientSettings=Ut,window.flights=qt,async function(){try{if(Et(et.PageTimings.inlineStart,!0),!window.RENDER)if(Ut&&window._ssrServiceEntryUrl)window.SSR_Mode=window.SSR_Mode||st.DSSR,window.SSR_Mode===st.DSSR&&zt();else{const e="Failed SSR inline script due to missing client settings or SSR service entry.";pt(e,34007,{}),xt(new Error(e))}}catch(e){xt(e),pt(`Exception occured on SSR inline script.\n${e.stack||e}`,34007,{})}}()}()}();