"),e.pageTitle&&(document.title=e.pageTitle),j(e),window.REDUX_DATA=e.state,window.SSR=u.b.Completed,v(a.a.PageTimings.completed,!0),Object(l.a)();const n=e.ssrTimings||{};O(n),O(n.configTimings),O(n.pageTimings)}}))}function E(e,t){return t.get(e)||t.get(e.toLowerCase())}function C(e){window.SSR=e,window.RENDER=!0}function H(e,t,n,i,r,o){if(void 0===window.SSR){let c=!1;const{hasSsr:s,isSSRRiver:d}=e.shouldEnableSSR(t,n,i,r,o);if(s){c="true"===E("ssrOnly",t);const r=function(){let e=!1;const t=Object(f.a)()[a.a.PageTimings.inlineStart];if(performance&&performance.timing&&performance.timing.responseStart&&performance.timing.navigationStart&&t){e=t-(performance.timing.responseStart-performance.timing.navigationStart)>a.a.pauseThresholdMS}return e}(),o=h();if(!o&&!r||c)k(c,d);else{const t=o?a.a.SkipDueToHiddenReason.documentHidden:a.a.SkipDueToHiddenReason.hasPaused;y(a.a.PageTimings.skipDueToHiddenReason,t);!!e.shouldInsistSSRWhenHidden&&e.shouldInsistSSRWhenHidden(n,i,t)?k(c,d):(window.SSR=u.b.SkipDueToHidden,window.RENDER=!0)}}else C(u.b.SkipDueToCSROnly)}return!window.RENDER}function k(e,t){window.SSR=u.b.NotStarted,window.RENDER=!1,window.SSRONLY=e,window.RIVER=t}function D(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("rsorigin")&&"true"===t.get("rsorigin"))&&n}(window.location.search,e)&&(t="https://int.msn.com"),t}function P(e){return function(e,t){const n=(e=(e||"").substring(1))+"&"+(t=(t||"").substring(1));return new o.a(n)}(e&&e.queryparams,window.location.search)}function x(e,t,n,i,r,o=s.a,l){if(window.RENDER||window.SSR!==u.b.NotStarted)return;const f=new d.a(o,s.b),g=S(e,function(e,t){const n="true"===E("ssrCdn",e);return(t||(n?"https://assets.msn.com":window.location.origin))+"/render/?fragment=true&"}(e,l),t,n,i,r,f.getSerializedData()),h=new XMLHttpRequest,m=e=>{const t=`Fragment fetch for ${g} failed. Status code: ${h.status}. ${e}`;Object(p.a)(t,34002,{}),window.SSR=u.b.HasFetchError,window.SSR_ERROR=new Error(t)};h.onabort=function(){m("XMLHttpRequest.onabort called.")},h.onerror=function(){m("XMLHttpRequest.onerror called.")},h.onreadystatechange=function(){try{if(4!==h.readyState)return;if(v(a.a.PageTimings.fragmentFetchEnd,!0),y(a.a.PageTimings.fragmentFetchStatusCode,h.status,!1),h.status>=200&&h.status<300){if(!window.RENDER){window.SSR=u.b.InsertingDOM;const e=JSON.parse(h.responseText);if(e.html)v(a.a.PageTimings.injectingDOM,!0),T(e);else{const e=`Fragment fetch for ${g} succeeded but returned empty html.`;Object(p.a)(e,34002,{}),window.SSR=u.b.HasFetchError,window.SSR_ERROR=new Error(e)}}const e=h.getResponseHeader("Date"),t=h.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 r=!1;r=I(i)?void 0!==(o=i).transferSize?0===o.transferSize:void 0!==o.nextHopProtocol?""===o.nextHopProtocol:(Object(p.a)("didUseBrowserCache was called without supporting transferSize or nextHopProtocol",34003,{perfResourceTimingKeys:Object.keys(o||{})}),!1):function(e){const t=Object(c.a)();if(!e||!t)return Object(p.a)("dateResponseHeader was empty or localStorage is not supported",34004,{dateResponseHeader:e}),!1;let n=!1;const i=t.getItem("SSRDateResponseHeader");i&&(n=i===e);n||t.setItem("SSRDateResponseHeader",e);return n}(t);var o;const s=function(e,t){return!e&&"TCP_HIT"===t}(r,n);y(a.a.PageTimings.fragmentBrowserCached,r?1:0,!1),y(a.a.PageTimings.fragmentCDNCached,s?1:0,!1)}(g,e,t)}else m("Response is not OK.")}catch(e){m("Exception occured on XMLHttpRequest.onreadystatechange.\n"+(e.stack||e))}},h.open("GET",g),h.withCredentials=!0;const w=t.aid;h.setRequestHeader(a.a.AIDRequestHeaderName,w),window.SSR=u.b.Fetching,v(a.a.PageTimings.fragmentFetchStart,!0),h.send()}function I(e){return e&&("transferSize"in e||"nextHopProtocol"in e)}function F(){v(a.a.PageTimings.inlineStart,!0)}},"4qkC":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));const i=new Map([["edge","prg-gitcfgs-edge"],["finance","prg-gitcfgs-fi"],["superApp","prg-gitcfgs-t"],["traffic","prg-gitcfgs-traf"],["weather","prg-gitcfgs-wea"]]);function r(e){if(!e||0===e.length)return e;const t=[];return e.forEach(e=>{const n=e.toLocaleLowerCase().trim();n.startsWith("prg-")&&t.push(n)}),t.sort()}function o(e,t,n,o){return!(!o||!e||"v3"!==e)&&(!n||function(e,t){const n=i.get(e);if(n){const e=r(t);return!!(e&&e.length&&e.includes(n))}return!1}(o,t))}},"9i/1":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{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=function e(t){const n=t;return void 0!==n.clientValue?n.clientValue:Object.keys(t).reduce((n,i)=>Object.assign(Object.assign({},n),{[i]:e(t[i])}),{})}(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,r)=>{let o={};if(r===n.length-1)try{o=()=>JSON.parse(e)}catch(e){throw this.memo=void 0,e}Object.prototype.hasOwnProperty.call(i,t)||(i[t]=o),"object"!=typeof o||(i=i[t])})})}getURLSearchParams(){const e=new URLSearchParams,t=(n,i)=>{Object.keys(n).forEach(r=>{const o=n[r],c=[...i,r];"object"!=typeof o?e.append(c.join("."),JSON.stringify(o())):t(o,c)})};return t(this.data,[this.qspPrefix]),e.sort(),e.append(this.verParam,this.spec.ver),e}getSerializedData(){return this.getURLSearchParams().toString()}}},"9i6q":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n("jXSF");function r(){"undefined"!=typeof globalThis?globalThis.untrackedClickHandler=c:window.untrackedClickHandler=c}function o(){"undefined"!=typeof globalThis?document.addEventListener("click",globalThis.untrackedClickHandler):document.addEventListener("click",window.untrackedClickHandler)}function c(){Object(i.a)("Click event occurred before hydration",35800,{})}},AgqX:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c}));const i=[0,656,980,1304];var r=n("Uaaq");const o="rd",c={ver:"0.1.0",spec:{innerWidth:{clientValue:()=>window.innerWidth},innerHeight:{clientValue:()=>window.innerHeight},outerWidth:{clientValue:()=>window.outerWidth},breakpoint:{clientValue:()=>Object(r.c)(window.innerWidth,i)},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}}}},AjCL:function(e,t,n){"use strict";function i(){try{return localStorage}catch(e){return null}}n.d(t,"a",(function(){return i}))},BQg2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{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){e&&("?"===e.charAt(0)&&(e=e.substring(1)),e.split("&").forEach(e=>{const t=e.split("="),n=t[0];this.get(n)||(this.searchParams[n]=t[1])}))}}},CncT:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("xYH4"),r=n("tMmC");class o{constructor(e){this.storage=e}get supported(){return!!this.storage}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=Object(i.b)(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}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 Object(i.b)(t)}setItem(e,t){if(this.supported)try{this.storage.setItem(e,t)}catch(e){r.a.logError(e)}}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n=0;s--)(r=e[s])&&(c=(o<3?r(c):o>3?r(t,n,c):r(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c}function o(e,t,n,i){return new(n||(n=Promise))((function(r,o){function c(e){try{a(i.next(e))}catch(e){o(e)}}function s(e){try{a(i.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,s)}a((i=i.apply(e,t||[])).next())}))}Object.create;Object.create},HDSB:function(e,t,n){"use strict";function i(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,"a",(function(){return i}))},I7rQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={shouldEnableSSR:(e,t,n,i,r)=>{const o={hasSsr:!1,isSSRRiver:!1};if("true"===e.get("csronly"))return o;if(i.some(e=>e.startsWith("prg-fi-csr")||e.startsWith("prg-fi-csrrf")))return o;switch(n){case"finance":case"financestockdetails":case"financecryptocurrencydetails":case"finance::portfolio":case"finance::markets":return{hasSsr:!0,isSSRRiver:!1};default:return o}},shouldInsistSSRWhenHidden:null}},K9Fy:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n("xk7g"),r=n("HDSB");class o{constructor(){Object(r.a)()?(this.isDebugEnabled=(Object(i.a)(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1},this.isDebugEnabled&&!e.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(...e){this.isDebug()&&console.log(...e)}logSingleObject(e,t){this.isDebug()&&console.log(e)}}}).call(this,n("fRV1"))},PDCl:function(e,t,n){"use strict";var i,r;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),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"}(i||(i={})),function(e){e.PureSSR="pssr",e.DSSR="dssr"}(r||(r={}))},Uaaq:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c}));var i=n("yqT/");const r=[0,540,768,1084,1400,1779];function o(e,t=r){for(let n=t.length-1;n>=0;n--)if(e>=t[n])return n}function c(e,t){if(!Object(i.a)())return e[0];const n=t?o(window.innerWidth,t):o(window.innerWidth);return e.slice(0,n+1).pop()}},Uw7R:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n("HDSB");const r=Object(i.a)()?window._pageTimings||(window._pageTimings={}):{},o=Object(i.a)()?window._secondaryPageTimings||(window._secondaryPageTimings={}):{};function c(){return r}function s(){return o}function a(e,t=!0){if(!e||!r||t&&r.TTVR)return;const n=r[e]||(r[e]=0);r[e]=n+1}},VrHr:function(e,t,n){"use strict";n.r(t);var i=n("D57K"),r=n("1/cg"),o=n("PDCl"),c=n("Vy+8"),s=n("jXSF");function a(e){Object(s.a)("Error when loading bundle: "+e,20202,{})}function u(e,t,n,i,r){const o={source:t,customMessage:e,line:n,column:i,stack:r&&r.stack};Object(s.a)("JS Exception",20203,o)}var d=n("faYi");var l=n("9i6q"),f=n("psJq");let g=!1,p=[],h=[];var m;function w(e,t){const n=window.setTimeout(e,t);h.push(n)}function b(){h.forEach(e=>{clearTimeout(e)}),h=[]}function S(){for(const e of p)window.removeEventListener(e.type,e.listener);p=[]}function y(e,t){g=!1;const n=performance.now();if(O(n,m.none,e),g)return;function i(){w(()=>O(n,m.resize,e),5)}function a(){w(()=>O(n,m.pageLoad,e),5)}window.addEventListener("resize",i),p.push({type:"resize",listener:i}),window.addEventListener("load",a),p.push({type:"load",listener:a});w(()=>{try{O(n,m.waitForTimeout,e),g||window.RENDER||(Object(r.i)(o.b.SkipDueToHidden),Object(r.j)(c.a.PageTimings.skipDueToHiddenReason,c.a.SkipDueToHiddenReason.invalidInnerWidth),Object(s.a)("Failed to make ssr fetch call, window.innerWidth was never valid. window.innerWidth: "+window.innerWidth,34008,{}))}catch(e){Object(s.a)(`Unexpected error during finalInnerWidthCallback. window.innerWidth: ${window.innerWidth}\n${e.stack||e}`,34007,{})}finally{S(),b()}},t)}function O(e,t,n){try{if(!g&&window.innerWidth>0){g=!0;const i=performance.now();b(),S(),Object(r.j)(c.a.PageTimings.awaitingInnerWidthTime,i-e),Object(r.j)(c.a.PageTimings.fetchDelayReason,t),n()}}catch(e){Object(s.a)(`Unexpected error during checkForInnerWidth. window.innerWidth: ${window.innerWidth}\n${e.stack||e}`,34007,{})}}!function(e){e[e.none=0]="none",e[e.resize=1]="resize",e[e.pageLoad=2]="pageLoad",e[e.waitForTimeout=3]="waitForTimeout"}(m||(m={}));var v=n("I7rQ"),R=n("ulS/");window.onErrorHandler=a,window.onerror=u,Object(d.b)()&&window.applicationCache&&(window.applicationCache.addEventListener("error",()=>{Object(s.a)("Application Cache threw an error event.",9317,{})},!1),window.applicationCache.addEventListener("obsolete",()=>{Object(s.a)("Application Cache threw an obsolete event.",9318,{})},!1)),Object(l.b)();const j=Object(R.a)();!function(){Object(i.a)(this,void 0,void 0,(function*(){try{if(Object(r.h)(),!window.RENDER){if(j&&window._ssrServiceEntryUrl){const e=Object(r.e)(j),t=Object(r.c)(j,e),n=Object(r.d)(j);Object(r.a)(v.a,e,c.a.AppType.Finance,j.pagetype,t,n)&&y(()=>{!function(e,t,n){const i=()=>"";try{const o=Object(r.f)(t);Object(r.b)(t,e,n,window._ssrServiceEntryUrl,i,f.a,o)}catch(e){Object(r.i)(o.b.HasError),Object(s.a)("Exception occured on fetchSSRPage.\n"+(e.stack||e),34007,{})}}(j,e,t)},200)}else Object(s.a)("Failed SSR inline script due to missing client settings or SSR service entry.",34007,{}),Object(r.i)(o.b.HasError);!function(e=["vendors","common","microsoft"],t="Error when loading bundle(s): ",n){addEventListener("beforeunload",(function(){if(performance.now()<5e3)return;const i=window.webpackJsonp;if(i){const r=i.length,o=e.length+1;if(r{t.length&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)})}try{Object(s.a)(t+e.toString(),20202,{})}finally{n&&n()}}}}))}()}}catch(e){Object(s.a)("Exception occured on SSR inline script.\n"+(e.stack||e),34007,{}),Object(r.i)(o.b.HasError)}}))}()},"Vy+8":function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){let t,n,i;e.AIDRequestHeaderName="pcs-aid",function(e){e.inlineStart="page.inlineStart",e.fragmentFetchStart="ssr.fragmentFetching",e.fragmentFetchEnd="ssr.fragmentFetched",e.fragmentFetchStatusCode="ssr.fragmentFetchStatusCode",e.fragmentBrowserCached="ssr.fragmentBrowserCached",e.fragmentCDNCached="ssr.fragmentCDNCached",e.injectingDOM="ssr.injectingDOM",e.awaitingRAF="ssr.awaitingRAF",e.markersSet="ssr.markersSet",e.completed="ssr.completed",e.CSRTimeout="ssr.CSRTimeout",e.CSROnly="ssr.csrOnly",e.didSSR="ssr.isSSRPagePresent",e.riverEnabled="ssr.riverEnabled",e.ssrState="ssr.state",e.pageTTVR="TTVR",e.fetchDelayReason="ssr.fetchDelayReason",e.awaitingInnerWidthTime="ssr.awaitingInnerWidthTime",e.skipDueToHiddenReason="ssr.skipDueToHiddenReason",e.ssrResponseSize="ssr.responseSize"}(t=e.PageTimings||(e.PageTimings={})),e.Product={mmx:"emmx",edge:"spartan",edgeChromium:"anaheim",hybrid:"spartan",hub:"prime",microsoftNews:"msnews",office:"entnews",weather:"prime"},function(e){e[e.Mmx=0]="Mmx",e[e.Hub=1]="Hub",e[e.Edge=2]="Edge",e[e.Weather=3]="Weather",e[e.Finance=4]="Finance"}(n=e.AppType||(e.AppType={})),function(e){e[e.documentHidden=0]="documentHidden",e[e.hasPaused=1]="hasPaused",e[e.invalidInnerWidth=2]="invalidInnerWidth",e[e.slowFetchStart=3]="slowFetchStart"}(i=e.SkipDueToHiddenReason||(e.SkipDueToHiddenReason={})),e.pauseThresholdMS=1200,e.oneServiceHeaders="1s-headers"}(i||(i={}))},YBLW:function(e,t,n){"use strict";let i;function r(e){if(!e)return null;if(!i){const e=document.cookie.split("; ");i={};const t=e&&e.length;for(let n=0;nthis.maxLength&&this.list.shift()}get data(){return this.list}}},jXSF:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("faYi");let r,o;function c(){if(!r){const e=document.head.getAttribute("data-client-settings");e&&(r=JSON.parse(e))}return r}var s=n("YBLW");let a;const u={mmx:"emmx",edge:"spartan",edgeChromium:"anaheim",hybrid:"spartan",hub:"prime",microsoftNews:"msnews",office:"entnews"},d=new i.a;function l(e,t,n){try{const r=c(),l=function(){if(o)return o;let e=document.head.getAttribute("data-info");const t=c();if(Object(i.c)()){let n;try{const e=window.localStorage.getItem("shd_"+t.pagetype);n=JSON.parse(e)}catch(e){n=null}if(n){const i=n.clientSettings,r=n.info;i&&r&&t.pageGenTime0)return e.substring(0,t)}return""}(f.apikey));const p=function(e,t,n,i,r,o){if(n){r=r||{};const{apptype:c,audienceMode:a,pagetype:d,pageGenTime:l,bundleInfo:f}=n;r.pageGenTime=l,r.build=f&&f.v,r.appType=c;const g="enterprise"===a&&"edgeChromium"===c?"entnews":u[c],p=g||c,h=document.getElementsByTagName("html")[0].getAttribute("lang");let m="";try{getCookieConsentRequired&&"function"==typeof getCookieConsentRequired&&getCookieConsentRequired()||(m=Object(s.a)("muid"))}catch(e){console.log("error fetching muid.")}const w={name:"MS.News.Web.AppError",time:l,ver:"4.0",iKey:"o:"+i,data:{baseData:{},baseType:"MS.News.Web.Base",page:{name:"default",product:p,type:d},browser:{clientId:m},flight:{id:o},request:{activityId:n.aid,requestId:n.aid},locale:{mkt:h},extSchema:{id:e,severity:0,pb:r,message:t}}};return w?JSON.stringify(w):null}return null}(t,e,r,g,n,l);if(f&&p){console.error(p),d.push(p);const e="https://"+a+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}(f);navigator.sendBeacon(e,p)}else console.log("missing parameters in data-client-settings. "+e)}catch(t){console.log("error logging the app error. "+e)}}},psJq:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("AgqX");const r={ver:""+i.a.ver,spec:Object.assign(Object.assign({},i.a.spec),{isDarkModeEnabled:{clientValue:()=>!0===window.matchMedia("(prefers-color-scheme:dark)").matches}})}},tMmC:function(e,t,n){"use strict";function i(e){r=e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));let r=new(n("K9Fy").a)},"ulS/":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("xYH4");function r(){return Object(i.b)(document.head.dataset.clientSettings)}},xYH4:function(e,t,n){"use strict";function i(e){try{return JSON.parse(e)}catch(e){return null}}function r(e,t){const n=parseInt(e);return isNaN(n)?t:n}function o(e){try{return JSON.stringify(e)}catch(e){return null}}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o}))},xk7g:function(e,t,n){"use strict";function i(e,t){const n=t.replace(/[[\]]/g,"\\$&"),i=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)").exec(e);if(!i)return null;const r=i[2];return decodeURIComponent(r.replace(/\+/g," "))||""}n.d(t,"a",(function(){return i}))},"yqT/":function(e,t,n){"use strict";function i(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,"a",(function(){return i}))}});